/* ==========================================================
   The CellPulu — Copper Peptide Lotion LP
   コンセプト：水面から深海へ潜っていく、没入感のある美容液LP
   ----------------------------------------------------------
   1. Tokens（色・文字サイズ・余白）
   2. Base
   3. Buttons（全ボタン共通）
   4. Header / Hero（FVは今回変更なし）
   5. Section 共通 / 背景画像ブロック
   6. 01 DISCOVER / 02 SCIENCE
   7. 03 INGREDIENTS / 04 HYDRATION
   8. 05 HOW TO USE / 06 VOICE・FAQ
   9. 07 PRODUCT / Footer
   10. Tablet / Desktop
   ========================================================== */

/* ==========================================================
   1. Tokens
   ========================================================== */
:root {
  /* color */
  --navy-deep:   #0A2540;   /* 最深部（08・フッター） */
  --navy:        #123A63;
  --blue-mid:    #3E76A8;
  --blue-deep:   #2C5F8F;   /* 明るい背景上のラベル・番号（コントラスト確保） */
  --aqua:        #A9D3E8;
  --aqua-pale:   #EAF3F8;   /* 明るいセクションの地色 */
  --white:       #FFFFFF;
  --ink:         #23313F;
  --ink-soft:    rgba(35,49,63,0.80);
  --line-light:  rgba(255,255,255,0.5);
  --line-dark:   rgba(35,49,63,0.16);

  /* font */
  --font-serif: "Shippori Mincho", serif;
  --font-sans:  "Noto Sans JP", sans-serif;

  /* type scale（スマホ基準） */
  --fs-display: clamp(60px, 20vw, 100px);   /* 05 FEEL の「ふわっ。」 */
  --fs-h2:      clamp(26px, 7.6vw, 34px);   /* セクション見出し（360〜480pxで1行に収まる） */
  --fs-lead:    16px;   /* サブ見出し・リード */
  --fs-body:    15px;   /* 本文 */
  --fs-small:   13px;   /* 補足・キャプション */
  --fs-label:   12px;   /* 英字ラベル（eyebrow） */

  /* spacing */
  --gutter:     20px;    /* スマホの左右余白（16〜24px） */
  --section-y:  96px;
  --container:  1280px;  /* PCのコンテンツ最大幅 */
  --header-h:   69px;
  --img-h:      clamp(360px, 104vw, 640px);  /* 01・02：スマホで画像を見せる高さ */
}

/* ==========================================================
   2. Base
   ========================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.body-text {
  font-size: var(--fs-body);
  line-height: 2;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* 英字ラベル：小さく・広い字間で、見出しとの強弱をつける */
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.26em;
  line-height: 1.4;
  color: var(--blue-deep);
  margin-bottom: 20px;
}

.latin {
  font-family: var(--font-sans);
  font-weight: 300;
  letter-spacing: 0.08em;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue-mid);
  outline-offset: 3px;
}
.hero a:focus-visible, .block-dark a:focus-visible, .block-navy a:focus-visible,
.site-footer a:focus-visible, .site-footer button:focus-visible {
  outline-color: var(--aqua);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ==========================================================
   Placeholder（ヒーロー写真・商品写真が届くまでの仮置き）
   ========================================================== */
.img-placeholder {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 60%, var(--aqua) 100%);
  border-radius: 2px;
  overflow: hidden;
}
.img-placeholder::after {
  content: attr(data-note);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  background: rgba(10,37,64,0.25);
}

/* ==========================================================
   3. Buttons — 全ボタン共通（高さ・形・余白・文字配置を統一）
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  min-height: 52px;
  min-width: 248px;
  max-width: 100%;
  padding: 0 32px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-align: center;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid currentColor;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* 暗い背景・画像の上（透明感のあるガラス調） */
.btn-outline-light {
  margin-top: 36px;
  color: var(--white);
  border-color: var(--line-light);
  background: rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.8); }

/* 明るい背景 */
.btn-outline-dark {
  margin-top: 36px;
  color: var(--navy);
  border-color: rgba(18,58,99,0.38);
  background: rgba(255,255,255,0.5);
}
.btn-outline-dark:hover { background: var(--white); border-color: var(--navy); }

/* 購入ボタン */
.btn-solid-light {
  margin-top: 36px;
  color: var(--navy-deep);
  background: var(--white);
  border-color: var(--white);
}
.btn-solid-light:hover { background: var(--aqua-pale); border-color: var(--aqua-pale); }

/* ヘッダー内のみコンパクト（形・字間・文字配置は共通） */
.btn-header {
  min-height: 40px;
  min-width: 0;
  padding: 0 20px;
  font-size: 12px;
  color: var(--white);
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}
.btn-header:hover { background: var(--navy); border-color: var(--navy); }

/* ==========================================================
   4. Header / Hero
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px max(var(--gutter), calc((100% - var(--container)) / 2));
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-dark);
}
.logo { font-family: var(--font-serif); font-size: 15px; letter-spacing: 0.03em; }
.global-nav { display: none; } /* モバイル基準では非表示。要ハンバーガー実装 */

/* Hero：ヒーロー画像（.hero-media）を全面に敷き、その上にキャッチコピーを重ねる（今回は変更なし） */
.hero {
  position: relative;
  min-height: 640px;
  min-height: max(640px, calc(100vh - var(--header-h)));
  min-height: max(640px, calc(100svh - var(--header-h)));
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;   /* ボトルが右に寄っているので、右側を残してトリミング */
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* 明るい空の上でも白い文字が読めるよう、文字側（左・上）に深い青を薄く重ねる */
  background:
    linear-gradient(90deg, rgba(10,37,64,0.22) 0%, rgba(10,37,64,0.13) 42%, rgba(10,37,64,0) 72%),
    linear-gradient(180deg, rgba(10,37,64,0.14) 0%, rgba(10,37,64,0) 55%),
    /* 下端は次のセクション（DISCOVER）の深い青へなじませる */
    linear-gradient(0deg, var(--navy-deep) 0, rgba(10,37,64,0.7) 24px, rgba(10,37,64,0) 110px);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  text-shadow: 0 1px 4px rgba(10,37,64,0.35), 0 2px 22px rgba(10,37,64,0.5);
  z-index: 2;
  max-width: 64%;
  padding: 56px var(--gutter) 96px;
}
.hero h1 { font-size: 34px; }
.hero-sub { margin-top: 18px; font-size: 14px; letter-spacing: 0.04em; color: rgba(255,255,255,0.9); }
.hero-lead { margin-top: 20px; font-size: 13px; line-height: 2; color: rgba(255,255,255,0.92); }
.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 20px;
  left: max(var(--gutter), calc((100% - var(--container)) / 2));
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
}

/* ==========================================================
   5. Section 共通 / 背景画像ブロック
   ========================================================== */
.block {
  /* 背景は全幅、中身は最大 --container に収める */
  padding: var(--section-y) max(var(--gutter), calc((100% - var(--container)) / 2));
}

.block-dark  { background: var(--navy-deep); color: var(--white); }
.block-navy  { background: var(--navy);      color: var(--white); }
.block-aqua  { background: var(--aqua-pale); color: var(--ink); }
.block-light { background: var(--aqua-pale); color: var(--ink); }

.block-dark .eyebrow,
.block-navy .eyebrow { color: var(--aqua); }

.block h2 { font-size: var(--fs-h2); }
.block-dark h2,
.block-navy h2 { color: var(--white); }

.sub-heading {
  margin-top: 14px;
  font-size: var(--fs-lead);
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.92);
}

h2 + .body-text,
.sub-heading + .body-text { margin-top: 24px; }

/* 日本語は文節で折り返し、行末に1〜2文字だけ残らないようにする */
.block-bg--discover .body-text,
.block-bg--science .body-text {
  word-break: auto-phrase;
  text-wrap: balance;
}

/* 手動の改行（<br>）で行末が孤立しないよう、01・02の本文は自然な折り返しに任せる */
.block-bg--discover .body-text br,
.block-bg--science .body-text br { display: none; }

.block-dark .body-text,
.block-navy .body-text { color: rgba(255,255,255,0.88); }

/* 背景画像ブロック共通：画像は background-image で敷き、上下をグラデーションで隣と溶かす */
.block-bg {
  position: relative;
  background-repeat: no-repeat;
}

/* ==========================================================
   6. 01 DISCOVER / 02 SCIENCE
   スマホ：文字は上（暗くなじませた領域）、画像は下に大きく見せる
   ========================================================== */

/* 文字エリア（上）は濃紺で固定、画像エリア（下 = --img-h）は下端基準で見せる */
/* 01 DISCOVER */
.block.block-bg--discover {
  padding-top: 104px;
  padding-bottom: var(--img-h);
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(0deg,   var(--navy-deep) 0, var(--navy-deep) 24px, rgba(10,37,64,0) 150px),
    linear-gradient(180deg, var(--navy-deep) 0, var(--navy-deep) calc(100% - var(--img-h) + 40px), rgba(10,37,64,0) calc(100% - var(--img-h) * 0.62)),
    url("../img/discover_bg.webp");
  background-size: 100% 100%, 100% 100%, auto var(--img-h);
  background-position: 0 0, 0 0, 12% 100%;
}

/* 02 SCIENCE */
.block.block-bg--science {
  padding-top: 104px;
  padding-bottom: var(--img-h);
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(180deg, var(--navy-deep) 0, rgba(10,37,64,0) 150px),
    linear-gradient(180deg, var(--navy-deep) 0, var(--navy-deep) calc(100% - var(--img-h) + 40px), rgba(10,37,64,0) calc(100% - var(--img-h) * 0.62)),
    url("../img/science_bg.webp");
  background-size: 100% 100%, 100% 100%, auto var(--img-h);
  background-position: 0 0, 0 0, 100% 100%;
}

/* ==========================================================
   7. 03 INGREDIENTS / 04 HYDRATION（中央寄せ）
   ========================================================== */
#ingredients,
#hydration { text-align: center; }

#ingredients h2,
#hydration h2,
#hydration .body-text {
  text-wrap: balance;
  word-break: auto-phrase;
}

/* 03 INGREDIENTS */
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1040px;
  margin: 64px auto 0;
  text-align: center;
  align-items: start;
}
.ingredient-thumb {
  width: min(132px, 100%);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 24px;
  /* 気泡のような白い縁とやわらかな影 */
  box-shadow: 0 0 0 5px rgba(255,255,255,0.75), 0 14px 30px rgba(44,95,143,0.22);
}
.ingredient-name {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: balance;
}
#howto, #voice { padding-top: 112px; padding-bottom: 120px; }
#ingredients { padding-top: 112px; padding-bottom: 120px; }
#ingredients .btn-outline-dark { margin-top: 64px; }
.ingredient-sub {
  margin-top: 10px;
  font-size: var(--fs-small);
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 04 HYDRATION：上下を地色に溶かして、気泡の写真が水面から浮かぶように */
.block.block-bg--hydration {
  padding-top: 128px;
  padding-bottom: 176px;
  background-color: var(--aqua-pale);
  background-image:
    linear-gradient(180deg, var(--aqua-pale) 0, rgba(234,243,248,0) 140px),
    linear-gradient(0deg,   var(--aqua-pale) 0, rgba(234,243,248,0) 140px),
    radial-gradient(ellipse 70% 46% at 50% 30%, rgba(234,243,248,0.78) 0%, rgba(234,243,248,0) 100%),
    url("../img/hydration_bg.webp");
  background-size: 100% 100%, 100% 100%, 100% 100%, cover;
  background-position: 0 0, 0 0, 0 0, 60% 50%;
}
#hydration h2 { color: var(--ink); }
#hydration .body-text {
  max-width: 30em;
  margin-left: auto;
  margin-right: auto;
  color: rgba(35,49,63,0.88);
}

/* ==========================================================
   8. 05 HOW TO USE / 06 VOICE・FAQ
   ========================================================== */

/* 04 HYDRATION に統合した旧FEEL の締めのコピー：以前の「ふわっ。」と同じ書体・水のグラデーション文字 */
#hydration .feel-line { margin-top: 28px; }
.feel-quote {
  margin-top: 72px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 8.4vw, 40px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-wrap: balance;
  color: var(--blue-deep);
  background: linear-gradient(100deg, #4A8AC0 0%, var(--blue-deep) 55%, var(--navy) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 05 HOW TO USE */
.step-list {
  --thumb: clamp(88px, 27vw, 128px);
  --step-gap: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--step-gap);
  margin-top: 64px;
  text-align: center;
}
.step-list li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-thumb {
  width: var(--thumb);
  height: var(--thumb);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 22px;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.75), 0 10px 24px rgba(44,95,143,0.18);
}
/* ステップ間をつなぐ点線（手順の流れ）：スマホは画像が列幅いっぱいなので非表示、768px以上で表示 */
.step-list li:not(:last-child)::after {
  display: none;
  content: "";
  position: absolute;
  top: calc(var(--thumb) / 2);
  left: calc(50% + var(--thumb) / 2 + 10px);
  width: calc(100% + var(--step-gap) - var(--thumb) - 20px);
  border-top: 1px dashed rgba(44,95,143,0.38);
}
.step-num {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1;
  color: var(--blue-deep);
  margin-bottom: 10px;
}
.step-list p {
  font-size: var(--fs-small);
  line-height: 1.8;
  color: var(--ink);
  text-wrap: balance;
}
@media (max-width: 400px) { .step-list p { font-size: 12px; } }

/* 06 VOICE：スマホは横スクロール（次のカードが少し見える）、PCは3列 */
.voice-grid {
  display: flex;
  gap: 14px;
  margin: 48px calc(var(--gutter) * -1) -24px;
  padding: 4px var(--gutter) 48px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.voice-grid::-webkit-scrollbar { display: none; }
.voice-grid li {
  flex: 0 0 84%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 26px 24px;
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(44,95,143,0.1);
}
.voice-text { font-size: 16px; line-height: 1.95; color: var(--ink); }
.voice-attr {
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  color: var(--blue-deep);
}

/* FAQ（アコーディオン） */
.accordion { margin-top: 56px; border-top: 1px solid var(--line-dark); }
.accordion-trigger {
  width: 100%;
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s ease;
}
.accordion-trigger:hover { color: var(--blue-deep); }
.accordion-icon { flex: none; font-size: 22px; font-weight: 300; line-height: 1; color: var(--blue-deep); }
.accordion-panel { padding: 4px 4px 22px; font-size: var(--fs-body); line-height: 1.95; color: var(--ink-soft); }
.accordion-panel[hidden] { display: none; }

/* ==========================================================
   9. 07 PRODUCT / Footer
   ========================================================== */

/* 07 PRODUCT：深海の背景。上は水面の明るさを地色から溶かし、下はフッターの紺へ沈める */
.block.block-bg--product {
  padding-top: 136px;
  padding-bottom: 152px;
  text-align: left;
  overflow: hidden;
  overflow: clip;
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(180deg, var(--aqua-pale) 0, rgba(234,243,248,0) 72px),
    linear-gradient(0deg,   var(--navy-deep) 0, var(--navy-deep) 40px, rgba(10,37,64,0) 340px),
    linear-gradient(180deg, rgba(10,37,64,0.7) 0%, rgba(10,37,64,0.38) 22%, rgba(10,37,64,0) 38%, rgba(10,37,64,0) 55%, rgba(10,37,64,0.4) 100%),
    url("../img/product_bg.webp");
  background-size: 100% 100%, 100% 100%, 100% 100%, cover;
  background-position: 0 0, 0 0, 0 0, 50% 0;
}

/* 商品写真エリア：ボトル写真が届いたら .bottle-slot を <img class="product-photo"> に差し替えるだけ */
.product-img { margin: 40px 0; aspect-ratio: 3 / 4; }
.product-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 水面から差し込む光（写真が届いた後も残る） */
.product-visual::before {
  content: "";
  position: absolute;
  inset: -8% -16%;
  background: radial-gradient(ellipse 52% 50% at 50% 40%, rgba(150,225,245,0.30) 0%, rgba(150,225,245,0) 100%);
  pointer-events: none;
}
.bottle-slot {
  position: relative;
  z-index: 1;
  width: 54%;
  aspect-ratio: 1 / 2;
  background: rgba(255,255,255,0.08);
  border: 1px dashed rgba(255,255,255,0.45);
}
.bottle-slot::after { background: transparent; }
.product-visual > .product-photo {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 70%;
  max-height: 90%;
  object-fit: contain;
  /* 背景になじませる控えめな調整（画像ファイル自体は未加工）：明るさ・コントラストをわずかに下げ、周囲に水の青を薄くにじませる */
  filter:
    brightness(0.95) contrast(0.94) saturate(0.98)
    drop-shadow(0 0 22px rgba(70,150,215,0.26))
    drop-shadow(0 26px 34px rgba(4,24,52,0.42));
}

.product-name  { margin-top: 8px; font-family: var(--font-serif); font-size: 24px; line-height: 1.4; letter-spacing: 0.03em; }
.product-line  { margin-top: 6px; font-size: var(--fs-lead); color: rgba(255,255,255,0.88); }
.product-tag   { margin-top: 14px; font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.22em; color: var(--aqua); }
.product-size  { margin-top: 4px; font-size: var(--fs-small); color: rgba(255,255,255,0.72); }
.product-info .body-text { margin-top: 24px; color: rgba(255,255,255,0.88); }

/* Footer：最深部。中央寄せ */
.site-footer {
  background: var(--navy-deep);
  color: var(--white);
  text-align: center;
  padding: 112px var(--gutter) 72px;
  /* PRODUCTの深海から続く紺。上端は継ぎ目が出ないよう同じ色から始め、中ほどにごく淡い光だけを足す */
  background-image: radial-gradient(56% 40% at 50% 46%, rgba(62,118,168,0.16) 0%, rgba(62,118,168,0) 100%);
}
.footer-lead  { font-family: var(--font-serif); font-size: 22px; line-height: 1.8; letter-spacing: 0.06em; }
.footer-mark  { margin: 36px 0; }
.footer-mark img { width: 40px; height: auto; margin: 0 auto; opacity: 0.92; }
.footer-brand { font-family: var(--font-serif); font-size: 18px; letter-spacing: 0.03em; }
.footer-tagline { margin-top: 10px; font-size: 11px; letter-spacing: 0.2em; color: rgba(255,255,255,0.62); }
.footer-copy  { margin-top: 28px; font-size: var(--fs-body); line-height: 2; color: rgba(255,255,255,0.85); }
.footer-cta   { margin-top: 44px; text-align: center; }
.footer-cta .btn-solid-light { margin-top: 0; }
.copyright    { margin-top: 56px; font-size: 11px; color: rgba(255,255,255,0.5); }

/* ==========================================================
   10. Tablet / Desktop
   ========================================================== */
@media (min-width: 768px) {
  :root {
    --gutter:     40px;
    --section-y:  160px;
    --fs-display: 120px;
    --fs-h2:      clamp(40px, 4.2vw, 56px);
    --fs-lead:    19px;
    --fs-body:    17px;
    --fs-small:   15px;
    --fs-label:   13px;
  }

  /* ボタン：PCは少し大きく（幅は長くしない） */
  .btn { min-height: 56px; min-width: 264px; font-size: 15px; }
  .btn-header { min-height: 40px; min-width: 0; font-size: 12px; }
  .step-list li:not(:last-child)::after { display: block; }

  .global-nav { display: flex; gap: 28px; font-size: 12px; letter-spacing: 0.06em; }

  /* Hero（今回変更なし） */
  .hero {
    min-height: max(720px, calc(100vh - var(--header-h)));
    min-height: max(720px, calc(100svh - var(--header-h)));
  }
  .hero-copy {
    max-width: 52%;
    padding-top: clamp(120px, 16vh, 200px);
    padding-left: max(var(--gutter), calc((100% - var(--container)) / 2));
  }
  .hero h1 { font-size: clamp(48px, 5.2vw, 72px); }
  .hero-sub { font-size: 18px; }
  .hero-lead { font-size: 15px; }

  .eyebrow { margin-bottom: 24px; }

  /* 03 INGREDIENTS：3つの成分を大きく、余白をたっぷり */
  #ingredients { padding-top: 176px; padding-bottom: 184px; }
  .ingredient-grid { gap: 64px; margin: 88px auto 0; }
  .ingredient-thumb { width: min(240px, 100%); margin-bottom: 32px; box-shadow: 0 0 0 7px rgba(255,255,255,0.75), 0 24px 52px rgba(44,95,143,0.22); }
  .ingredient-name { font-size: 15px; }
  .ingredient-sub { margin-top: 12px; }
  #ingredients .btn-outline-dark { margin-top: 88px; }

  /* 04 HYDRATION：背景写真を大きく見せる */
  .block.block-bg--hydration {
    padding-top: 208px;
    padding-bottom: 232px;
    background-position: 0 0, 0 0, 0 0, 50% 50%;
  }
  #hydration .body-text { max-width: 38em; }

  /* 04 に統合した旧05：グラデーション文字のコピーを大きく */
  #hydration .feel-line { margin-top: 36px; }
  .feel-quote { margin-top: 112px; font-size: clamp(44px, 4.6vw, 64px); }

  /* 05 HOW TO USE：3ステップを幅いっぱいに均等配置 */
  #howto, #voice { padding-top: 176px; padding-bottom: 184px; }
  .step-list { --thumb: 220px; --step-gap: 64px; margin-top: 88px; }
  .step-thumb { margin-bottom: 30px; box-shadow: 0 0 0 6px rgba(255,255,255,0.75), 0 20px 44px rgba(44,95,143,0.18); }
  .step-num { font-size: 28px; margin-bottom: 12px; }
  .step-list p { font-size: 17px; }

  /* 06 VOICE：3列 */
  .voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 80px 0 0;
    padding: 0;
    overflow: visible;
  }
  .voice-grid li { flex: none; gap: 28px; padding: 48px 40px 34px; border-radius: 8px; }
  .voice-text { font-size: 18px; }
  .voice-attr { font-size: 13px; }
  .accordion { margin-top: 112px; }
  .accordion-trigger { min-height: 84px; font-size: 19px; }
  .accordion-icon { font-size: 26px; }

  /* 07 PRODUCT：左に商品写真、右に見出しと商品情報 */
  .block.block-bg--product {
    padding-top: 176px;
    padding-bottom: 200px;
    min-height: min(max(900px, 70vw), 1080px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto auto auto 1fr;
    gap: 0 96px;
    align-items: start;
    background-image:
      linear-gradient(180deg, var(--aqua-pale) 0, rgba(234,243,248,0) 96px),
      linear-gradient(0deg,   var(--navy-deep) 0, var(--navy-deep) 60px, rgba(10,37,64,0) 440px),
      linear-gradient(90deg,  rgba(10,37,64,0) 28%, rgba(10,37,64,0.5) 60%, rgba(10,37,64,0.6) 100%),
      linear-gradient(180deg, rgba(10,37,64,0.55) 0%, rgba(10,37,64,0) 28%, rgba(10,37,64,0) 55%, rgba(10,37,64,0.45) 100%),
      url("../img/product_bg.webp");
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, cover;
    background-position: 0 0, 0 0, 0 0, 0 0, 50% 0;
  }
  .product-block .product-img  { grid-column: 1; grid-row: 1 / -1; align-self: center; margin: 0; }
  .product-block .eyebrow      { grid-column: 2; grid-row: 2; }
  .product-block h2            { grid-column: 2; grid-row: 3; margin-bottom: 12px; }
  .product-block .product-info { grid-column: 2; grid-row: 4; }
  .product-name { margin-top: 32px; font-size: clamp(30px, 3vw, 40px); }
  .product-line { font-size: 20px; }
  .product-size { font-size: 15px; }

  .site-footer { padding-top: 176px; padding-bottom: 104px; }
  .footer-lead { font-size: clamp(28px, 3vw, 40px); }
  .footer-brand { font-size: 22px; }
  .footer-mark img { width: 48px; }
  .footer-tagline { font-size: 12px; }
  .footer-copy { margin-top: 36px; }
  .cart-form { margin-top: 56px; }
}

/* 01 DISCOVER / 02 SCIENCE：横幅が十分あるときは「画像＋横に文字」の構成 */
@media (min-width: 900px) {
  /* 01：球体（左）を見せるため、文字は右側に左寄せで置く */
  .block.block-bg--discover {
    min-height: min(max(760px, 64vw), 980px);
    padding-top: 216px;
    padding-bottom: 216px;
    padding-left: calc(50% + 64px);
    padding-right: max(var(--gutter), calc((100% - var(--container)) / 2));
    background-image:
      /* FV・02との間に、深い青の余白（画像が静かに現れ、静かに沈む） */
      linear-gradient(180deg, var(--navy-deep) 0, var(--navy-deep) 40px, rgba(10,37,64,0) 240px),
      linear-gradient(0deg,  var(--navy-deep) 0, var(--navy-deep) 40px, rgba(10,37,64,0) 260px),
      linear-gradient(90deg, rgba(10,37,64,0) 28%, rgba(10,37,64,0.66) 52%, rgba(10,37,64,0.88) 100%),
      url("../img/discover_bg.webp");
    background-size: 100% 100%, 100% 100%, 100% 100%, cover;
    background-position: 0 0, 0 0, 0 0, 50% 80%;
  }

  /* 02：文字は左の狭い幅に収め、分子（右）と重ねない */
  .block.block-bg--science {
    min-height: min(max(760px, 62vw), 960px);
    padding-top: 216px;
    padding-bottom: 176px;
    background-image:
      linear-gradient(180deg, var(--navy-deep) 0, var(--navy-deep) 40px, rgba(10,37,64,0) 260px),
      linear-gradient(90deg, rgba(10,37,64,0.86) 0%, rgba(10,37,64,0.58) 40%, rgba(10,37,64,0) 66%),
      url("../img/science_bg.webp");
    background-size: 100% 100%, 100% 100%, cover;
    background-position: 0 0, 0 0, 50% 50%;
  }
  .block-bg--science > * { max-width: 560px; }
  .block-bg--science h2.latin { max-width: 640px; font-size: clamp(34px, 3.4vw, 46px); }
}

/* 十分な幅があるときは、01・02の本文を元の文の区切り（<br>）どおりに見せる */
@media (min-width: 1200px) {
  .block.block-bg--discover { padding-left: calc(50% + 40px); }
  .block-bg--discover .body-text br,
  .block-bg--science .body-text br { display: inline; }
}


/* ==========================================================
   11. 成分ページ（ingredients.html）
   ========================================================== */
.page-hero {
  text-align: center;
  padding-top: 112px;
  padding-bottom: 136px;
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(0deg, var(--aqua-pale) 0, rgba(234,243,248,0) 120px),
    linear-gradient(180deg, rgba(10,37,64,0.78) 0%, rgba(10,37,64,0.62) 100%),
    url("../img/science_bg.webp");
  background-size: 100% 100%, 100% 100%, cover;
  background-position: 0 0, 0 0, 60% 50%;
}
.block.page-hero .eyebrow { color: var(--aqua); }
.page-hero h2 { text-wrap: balance; }

.ing-page { padding-top: 48px; padding-bottom: 112px; }
.ing-list { display: grid; gap: 88px; max-width: 1040px; margin: 0 auto; }
.ing-item { display: grid; gap: 32px; justify-items: center; text-align: center; }
.ing-item .ingredient-thumb { width: min(220px, 62vw); margin: 0; }
.ing-text { width: 100%; max-width: 520px; }
.ing-text .ingredient-name { font-size: 14px; }
.ing-text .ingredient-sub { margin-top: 10px; font-size: var(--fs-body); }
.ing-desc { margin-top: 24px; font-size: var(--fs-body); line-height: 2; text-align: left; color: var(--ink-soft); }

/* 仮置き（文章が届いたら差し替え） */
.is-placeholder {
  padding: 18px 20px;
  border: 1px dashed rgba(44,95,143,0.4);
  border-radius: 6px;
  background: rgba(255,255,255,0.55);
  color: rgba(35,49,63,0.55);
  font-size: var(--fs-small);
  text-align: center;
}

.all-ing { text-align: center; padding-top: 104px; padding-bottom: 120px; }
.all-ing-box {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 40px 24px;
  border-radius: 12px;
  background: rgba(255,255,255,0.7);
  font-size: var(--fs-body);
  line-height: 2.1;
  letter-spacing: 0.03em;
  text-align: left;
  color: var(--ink);
}
.all-ing .btn-outline-dark { margin-top: 64px; }

@media (min-width: 768px) {
  .page-hero { padding-top: 176px; padding-bottom: 200px; }
  .ing-page { padding-top: 72px; padding-bottom: 176px; }
  .ing-list { gap: 128px; }
  .ing-item { grid-template-columns: 1fr 1fr; gap: 80px; text-align: left; justify-items: stretch; align-items: center; }
  .ing-item .ingredient-thumb { width: min(320px, 100%); justify-self: center; }
  .ing-item:nth-child(even) .ingredient-thumb { order: 2; }
  .ing-text { max-width: none; }
  .ing-text .ingredient-name { font-size: 15px; }
  .ing-text .ingredient-sub { font-size: var(--fs-lead); }
  .all-ing { padding-top: 160px; padding-bottom: 184px; }
  .all-ing-box { margin-top: 56px; padding: 56px 56px; text-align: center; }
  .all-ing .btn-outline-dark { margin-top: 88px; }
}


/* ==========================================================
   12. 商品スペック・カートフォーム（07 PRODUCT）
   ========================================================== */
.spec-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  max-width: 460px;
  margin-top: 32px;
  border-radius: 14px;
  background: rgba(255,255,255,0.1);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  overflow: hidden;
}
.spec-bar > div { padding: 14px 10px 13px; text-align: center; }
.spec-bar > div + div { border-left: 1px solid rgba(255,255,255,0.22); }
.spec-bar dt { font-size: 10px; letter-spacing: 0.18em; line-height: 1.4; color: rgba(255,255,255,0.78); }
.spec-bar dd { margin-top: 4px; font-family: var(--font-serif); font-size: 16px; line-height: 1.4; color: var(--white); }
.spec-bar small { font-family: var(--font-sans); font-size: 10px; opacity: 0.85; }

.product-info .cart-form { margin-top: 28px; }
.qty-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-deep);
}
.qty-label { font-size: 14px; font-weight: 700; letter-spacing: 0.1em; }
.qty-unit  { font-size: 14px; font-weight: 700; }
.qty-select {
  height: 36px;
  padding: 0 28px 0 12px;
  border: 1px solid rgba(18,58,99,0.3);
  border-radius: 6px;
  background-color: var(--white);
  color: var(--navy-deep);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.qty-select:focus-visible { outline: 2px solid var(--blue-mid); outline-offset: 2px; }
.ship-pill {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(10,37,64,0.55);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.94);
}
.product-info .cart-form .btn-solid-light { display: flex; margin-top: 20px; }
.cart-note {
  max-width: 34em;
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255,255,255,0.78);
}

@media (min-width: 768px) {
  .spec-bar > div { padding: 16px 12px 15px; }
  .spec-bar dd { font-size: 18px; }
  .ship-pill { font-size: 13px; }
  .cart-note { font-size: 13px; }
}


/* ==========================================================
   13. 成分ページ：読みもの（ABOUT COPPER / STEMCELL）
   ========================================================== */
.story { text-align: center; }
.story h2 { text-wrap: balance; }
.story-lead { max-width: 640px; margin: 40px auto 0; display: grid; gap: 20px; text-align: left; }
.story-lead .body-text, .story-intro { color: rgba(255,255,255,0.9); }
.story-sub { margin-top: 72px; font-family: var(--font-serif); font-size: 20px; line-height: 1.6; font-weight: 500; letter-spacing: 0.04em; }
.story-intro { max-width: 640px; margin: 20px auto 0; text-align: left; }
.story-steps { display: grid; gap: 16px; max-width: 1040px; margin: 40px auto 0; text-align: left; counter-reset: none; }
.story-card {
  padding: 28px 24px 30px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.story-num { display: block; font-family: var(--font-serif); font-size: 28px; line-height: 1; letter-spacing: 0.06em; color: var(--aqua); }
.story-card h4 { margin-top: 14px; font-family: var(--font-serif); font-size: 18px; line-height: 1.6; font-weight: 500; }
.story-card p { margin-top: 12px; font-size: 14px; line-height: 2; color: rgba(255,255,255,0.88); }
.story-note { max-width: 640px; margin: 24px auto 0; font-size: 12px; line-height: 1.8; text-align: left; color: rgba(255,255,255,0.68); }
.story-summary { margin-top: 72px; }
.story-summary-lead { display: block; font-size: 14px; letter-spacing: 0.12em; color: var(--aqua); }
.story-summary .grad-text { display: inline-block; margin-top: 14px; font-family: var(--font-serif); font-size: clamp(26px, 7vw, 40px); line-height: 1.6; font-weight: 600; letter-spacing: 0.04em; }
.grad-text {
  background: linear-gradient(100deg, #FFFFFF 0%, var(--aqua) 55%, #7FB7DA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.story-stem { border-top: 1px solid rgba(255,255,255,0.12); }
.stem-stat { margin-top: 56px; }
.stem-stat-label { font-size: 13px; letter-spacing: 0.12em; color: var(--aqua); }
.stem-stat-num { margin-top: 6px; font-family: var(--font-serif); font-size: clamp(96px, 28vw, 168px); line-height: 1.1; font-weight: 600; }
.stem-stat-num small { font-size: 0.4em; margin-left: 4px; }
.stem-stat-text { margin-top: 4px; font-size: 14px; letter-spacing: 0.4em; color: rgba(255,255,255,0.9); }
.stem-after { max-width: 640px; margin: 40px auto 0; color: rgba(255,255,255,0.9); }

@media (min-width: 768px) {
  .story-lead { margin-top: 56px; gap: 24px; }
  .story-sub { margin-top: 112px; font-size: 26px; }
  .story-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
  .story-card { padding: 40px 32px 44px; }
  .story-card h4 { font-size: 20px; }
  .story-card p { font-size: 15px; }
  .story-note { font-size: 13px; }
  .story-summary { margin-top: 112px; }
  .story-summary-lead { font-size: 16px; }
  .stem-stat { margin-top: 80px; }
  .stem-stat-label { font-size: 15px; }
  .stem-stat-text { font-size: 16px; }
}
