@charset "UTF-8";

/* ==========================================================================
   Header Overrides for Subpage
   ========================================================================== */
/* 共通ヘッダーはstyle.cssに依存し、index.htmlと同じく透明背景を維持させるため、
   ここでの上書きは削除しました。 */

/* ==========================================================================
   [Food Products] Hero Section
   ========================================================================== */
.p-page-hero {
  position: relative;
  width: 100%;
  height: 510px; /* PCは510px固定 */
  margin-top: 0; /* PCでも画面上部から背景画像が始まるように修正 */
  background-color: var(--bg-gray-light);
  display: flex;
  align-items: center;
}

/* PC時の画像配置 (全画面に修正) */
.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;
}

/*.styleへ*/
/*.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%;
}*/

/* タイトル上の装飾 (badge + circle) */
/*.p-page-hero__deco {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 20px;
  z-index: 1;
}*/

/*.styleへ*/
/*.p-page-hero__badge {
  display: inline-block;
  background-color: var(--primary);
  color: var(--bg-white);
  font-size: clamp(12px,0.97vw, 14px);
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  position: relative;
  z-index: 2; 
}*/

/*.styleへ*/
/*.p-page-hero__circles {
  height: 60px;
  width: auto;
  margin-left: -2rem; 
  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__desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-main);
  font-weight: 500;
}
*/

/* ==========================================================================
   [Food Products] Features Section
   ========================================================================== */
.p-fp-features {
  padding: 120px 0;
  background-color: var(--bg-white);
}

.p-fp-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 120px;
}

/* 偶数番目は左右反転（ジグザグ配置） */
.p-fp-block:nth-child(even) {
  flex-direction: row-reverse;
}
.p-fp-block:last-child {
  margin-bottom: 0;
}

.p-fp-block__content {
  width: 45%;
}

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

.p-fp-block__title {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
}

.p-fp-block__desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-sub);
  margin-bottom: 30px;
}

/* チェックリスト */
.p-fp-list {
  list-style: none;
  margin-left: 1.5rem;
}
.p-fp-list li {
  display: flex;
  align-items: flex-start;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
}
.p-fp-list li img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  margin-top: 2px;
}

/* 画像と装飾枠 */
.p-fp-block__img-wrap {
  width: 48%;
  position: relative;
}
.p-fp-block__main-img {
  width: 100%;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* 画像の上のサークル装飾 */
.p-fp-block__circles {
  position: absolute;
  z-index: 3;
  width: calc(258/560*100%);
  height: auto;
}
.p-fp-block:nth-child(odd) .p-fp-block__circles {
  top: calc(-30/236*100%);
  right: calc(20/330*100%);
}
.p-fp-block:nth-child(even) .p-fp-block__circles {
  top: calc(-30/236*100%);
  left: calc(20/330*100%);
}

/* 英語の大きな文字装飾 (左下に左寄せ配置) */
.p-fp-block__en-title {
  position: absolute;
  bottom: -20px;
  left: -20px;
  text-align: left;
  font-family: var(--font-en);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  z-index: 4;
  /* 白のシャープな縁取り（ぼかし無しのドロップシャドウ）*/
  text-shadow: 
    1px 1px 0 var(--bg-white),
    -1px 1px 0 var(--bg-white),
    1px -1px 0 var(--bg-white),
    -1px -1px 0 var(--bg-white),
    0px 1px 0 var(--bg-white),
    0px -1px 0 var(--bg-white),
    1px 0px 0 var(--bg-white),
    -1px 0px 0 var(--bg-white);
}

/* 偶数番目も左寄せを維持 */
.p-fp-block:nth-child(even) .p-fp-block__en-title {
  left: -20px;
  right: auto;
  text-align: left;
}

/* ==========================================================================
   [Common] CTA Section
   ========================================================================== */
.p-cta {
  background-color: var(--primary);
  padding: 80px 0;
  text-align: center;
  color: var(--bg-white);
}
.p-cta__title {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  margin-bottom: 30px;
}

/* ==========================================================================
   Responsive (SP)
   ========================================================================== */
@media screen and (max-width: 767px) {
  
  /* Hero SP Layout */
  .p-page-hero {
    margin-top: 0; /* 画面のTOPから表示 */
    height: auto; /* 高さは画像の比率（成り行き）に任せる */
    display: block; /* Flexを解除 */
    background-color: transparent;
  }

  .p-page-hero__bg {
    position: relative; /* 背景画像をドキュメントフローに含め、成り行きの高さを確保 */
    width: 100%;
    height: auto;
  }

  .p-page-hero__bg img {
    width: 100%;
    height: auto;
    display: block;
  }
    
/*styleへ*/
/*  .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;
  }
*/
  /* Features SP Layout */
  .p-fp-features {
    padding: 60px 0 100px;
  }

  .p-fp-block, .p-fp-block:nth-child(even) {
    flex-direction: column;
    margin-bottom: 80px;
  }

  .p-fp-block__content {
    width: 100%;
    margin-bottom: 40px;
  }

  .p-fp-block__img-wrap {
    width: 95%;
    margin: 0 auto;
  }

  /* SP時の英語タイトル位置微調整 */
  .p-fp-block__en-title,
  .p-fp-block:nth-child(even) .p-fp-block__en-title {
    left: -10px;
  }
}