@charset "UTF-8";

/* ==========================================================================
   [New Works] Hero Section (共通設計)
   ========================================================================== */
.p-page-hero {
  position: relative;
  width: 100%;
  height: 510px;
  margin-top: 0;
  background-color: var(--bg-gray-light);
  display: flex;
  align-items: center;
}

.p-page-hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.p-page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

/*
.p-page-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.p-page-hero__content {
  width: 50%;
  padding-right: 5%;
}

.p-page-hero__deco {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 20px;
  z-index: 1;
}

.p-page-hero__badge {
  display: inline-block;
  background-color: var(--primary);
  color: var(--bg-white);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 50px;
  position: relative;
  z-index: 2;
}

.p-page-hero__circles {
  height: 40px;
  width: auto;
  margin-left: -1rem;
  position: relative;
  z-index: 1;
}*/

.p-page-hero__title {
  font-family: var(--font-en);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.p-page-hero__title-slash {
  font-family: var(--font-ja);
  font-weight: 400;
}

.p-page-hero__desc {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0;
  color: var(--text-main);
  font-weight: 500;
}

/* ==========================================================================
   [New Works] Breakfast Project Section
   ========================================================================== */
.p-nw-breakfast {
  padding: 100px 0;
  background-color: var(--bg-white);
}

/* 導入部 */
.p-nw-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}
/*.c-sec-title{
    margin-bottom: 0;
}*/

.p-nw-intro__text {
  width: 54%;
}

.p-nw-intro__badge {
  display: inline-block;
  background-color: var(--primary);
  color: var(--bg-white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.p-nw-intro__catch {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.025em;
  color: var(--text-main);
  font-feature-settings:'palt';
}

.p-nw-intro__img {
  width: 48%;
}

.p-nw-intro__img img {
  width: 100%;
  height: auto;
}

/* メリット・ラインナップコンテナ */
.p-nw-merit {
  background-color: var(--bg-gray);
  border-radius: 30px;
  padding: 60px 50px;
  position: relative;
}

.p-nw-merit__head {
  text-align: center;
  margin-bottom: 50px;
}

.p-nw-merit__title {
  font-size: 34px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.p-nw-merit__desc {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-main);
}

.p-nw-merit__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.p-nw-merit__card {
  text-align: center;
}

.p-nw-merit__icon-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.p-nw-merit__num {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-25%, -25%); /* 枠線の左上に被さるように調整 */
  background-color: var(--bg-white);
  color: var(--primary);
  font-family: var(--font-num);
  font-size: 20px;
  font-weight: 700;
  width: 64px; /* サイズを少し大きく調整 */
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary);
  z-index: 2;
}

.p-nw-merit__icon {
  width: 142px; /* ワイヤーに合わせて少し大きく調整 */
  height: 142px;
  object-fit: contain;
  background-color: var(--bg-white);
  border-radius: 50%;
  /* border: 2px solid var(--primary);*/
  /* padding: 22px; アイコンの内側余白を調整 */
}

.p-nw-merit__card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.p-nw-merit__card-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  /* text-align: left;*/
}

.p-nw-merit__line {
  border: none;
  border-top: 1px solid #d1d5db;
  margin: 0 0 50px;
}

/* ラインナップ */
.p-nw-lineup {
  text-align: center;
  position: relative;
}

.p-nw-lineup__title {
  font-size: 34px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.p-nw-lineup__desc {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 40px;
}

.p-nw-lineup__items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

.p-nw-lineup__img {
  width: 150px;
  height: 150px; /* 高さを揃える */
  object-fit: cover;
  border-radius: 50%; /* 画像をきれいな円形にする */
}

.p-nw-lineup__needs {
  width: 120px;
  height: auto;
}

.p-nw-lineup__action {
  position: relative;
  z-index: 2;
}

.p-nw-lineup__deco-img {
  position: absolute;
  bottom:calc(-144/430*100%) ;
  right: calc(-90/1020*100%);
  width: calc(430/1020*100%);
  height: auto;
  z-index: 1;
  min-width: 290px;
}

/* ==========================================================================
   [New Works] Partners Section
   ========================================================================== */
.p-nw-partners {
  padding: 100px 0;
  background-color: var(--primary);
}

.p-nw-partners .c-sec-title__en,
.p-nw-partners .c-sec-title__ja {
  color: var(--bg-white);
}

.p-nw-partners__intro {
  text-align: center;
  color: var(--bg-white);
  font-size: 18px;
  line-height: 2;
  margin-bottom: 60px;
}

.p-nw-partners__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.p-nw-partner-card {
  background-color: var(--bg-white);
  border-radius: 20px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  min-width: 0; /* ★追加: カードが画面幅を押し広げてはみ出すのを防ぐおまじない */
}

.p-nw-partner-card__icon {
  margin-bottom: 20px;
}

.p-nw-partner-card__icon img {
  width: 50px;
  height: 50px;
  padding: 8px;
  background-color: #ebf5f4; /* 薄い黄緑 */
  border-radius: 8px;
  object-fit: contain;
}

.p-nw-partner-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.4;
}

.p-nw-partner-card__title-sub {
/* display: block;*/
  font-size: 14px;
 /* font-weight: 500;*/
  color: var(--text-sub);
}

.p-nw-partner-card__list {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.p-nw-partner-card__list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-main);
}

/* リストの緑の丸アイコン */
.p-nw-partner-card__list li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
}

.p-nw-partner-card__btn {
  width: 100%;
  font-size: 16px; /* 基本の文字サイズ（大きめ） */
  padding: 14px 10px;
  white-space: nowrap; /* テキストが2行に折り返すのを防ぐ */
}

/* ==========================================================================
   Responsive (SP)
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .p-nw-partners__cards {
    gap: 20px;
  }
  .p-nw-partner-card {
    padding: 30px 20px;
  }
  .p-nw-partner-card__title {
    font-size: 18px;
  }
  
  /* タブレットサイズ（3列維持で窮屈になる幅）でのボタン調整 */
  .p-nw-partner-card__btn {
    font-size: clamp(12px, 1.3vw, 14px); /* はみ出ないように文字を滑らかに縮小 */
    padding: 12px 5px;
  }

  .p-nw-lineup__items {
    flex-wrap: wrap;
  }

  /* ★追加: タイトルのフォントサイズ調整（タブレット） */
  .p-nw-merit__title,
  .p-nw-lineup__title {
    font-size: 28px;
  }
}

@media screen and (max-width: 767px) {
  
  /* Hero SP Layout */
  .p-page-hero {
    margin-top: 0;
    height: auto;
    display: block;
    background-color: transparent;
  }

  .p-page-hero__bg {
    position: relative;
    width: 100%;
    height: auto;
  }

  .p-page-hero__bg img {
    width: 100%;
    height: auto;
    display: block;
  }

/*  .p-page-hero__inner {
    position: absolute;
    top: 110px;
    left: 0;
    align-items: flex-start;
  }

  .p-page-hero__content {
    width: 100%;
    padding-right: 0;
  }

  .p-page-hero__title {
    font-size: 42px;
  }

  .p-page-hero__desc {
    font-size: 14px;
  }
*/
    
  /* Breakfast Section SP Layout */
  .p-nw-breakfast {
    padding: 60px 0;
  }
  .p-nw-intro {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
  }
  .p-nw-intro__text,
  .p-nw-intro__img {
    width: 100%;
  }

  .p-nw-merit {
    padding: 40px 20px 60px;
  }

  /* ★追加: タイトルのフォントサイズ調整（スマホ） */
  .p-nw-merit__title,
  .p-nw-lineup__title {
    font-size: clamp(22px, 6vw, 26px); /* はみ出ないように縮小 */
  }

  .p-nw-merit__cards {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .p-nw-merit__card {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .p-nw-merit__icon-wrap {
    margin-bottom: 15px;
  }
  
  .p-nw-lineup__deco-img {
    display: none; /* SPでは右下の装飾画像は非表示 */
  }

  /* Partners Section SP Layout */
  .p-nw-partners {
    padding: 60px 0;
  }
  .p-nw-partners__intro {
    text-align: left;
  }
  .p-nw-partners__cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* SPで1列になったら横幅に余裕ができるのでボタンの文字を大きく戻す */
  .p-nw-partner-card__btn {
    font-size: 16px;
    padding: 14px 10px;
    max-width: 100%;
  }
}

@media screen and (max-width: 450px) {
    
    .p-nw-merit__desc, .p-nw-lineup__desc, .p-nw-merit__card-text{
        text-align: justify;
    }
}