/* LUMÉA — 韓国ラグジュアリー美容液LP（架空ブランドのデモ）
   方針: メリハリ（大小・明暗の差）／大きな動き／整列しすぎない配置
   - 静止状態でも全文が読める。初期状態を隠すのは html.js.motion のときだけ
   - 画像の四辺の実測色をセクション背景にして、写真の枠を見せない（.seamless） */
:root {
  --ivory: #F8F5F1;
  --blush: #EBD9D9;
  --pearl: #D9D0CB;
  --ink: #473E40;
  --white: #FFFFFF;
  --ink-hover: #625457;
  --ink-active: #30292B;

  --serif: "Noto Serif JP", serif;
  --sans: "Noto Sans JP", sans-serif;
  --latin: "Cormorant Garamond", Georgia, serif;

  --expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: 32px;
  --bleed: max(var(--gutter), (100vw - 1120px) / 2);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* JSなしでは固定ヘッダーの下地を常に敷く */
html:not(.js) .site-header { background: rgb(248 245 241 / 0.9); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { position: relative; width: min(1120px, 100% - var(--gutter) * 2); margin-inline: auto; }
.copy { word-break: keep-all; overflow-wrap: anywhere; }
.copy p + p { margin-top: 1em; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 30; padding: 8px 16px; background: var(--ink); color: var(--white); }
.skip:focus { top: 16px; }

/* 画像の四辺を背景になじませる（枠を見せない） */
.seamless img {
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect;
}

/* セクションの背景：上端200pxで前のセクションの色から移り、Blush→Ivory→Whiteへ澄んでいく。
   背景になじませた写真はこの200pxより下に置き、色の境目と重ねない */
[data-bg] { background: linear-gradient(to bottom, var(--prev-bg, var(--sec-bg)), var(--sec-bg) 200px); }
/* はみ出す写真や滑り込む動きで、横スクロールを出さない（clipは固定表示を妨げない） */
.story, .texture, .formula, .ritual, .details { overflow-x: clip; }

/* ---------- 共通部品 ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; transition: background-color 240ms var(--ease); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }
/* ロゴとナビのフォーカス */
.logo:focus-visible, .gnav a:focus-visible, .head-buy:focus-visible, .text-link:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.logo {
  font-family: var(--latin); font-weight: 500; font-size: 36px; line-height: 1.1;
  letter-spacing: 0.12em; color: var(--ink); text-decoration: none;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 224px; height: 52px; padding: 0 28px; border: 0; border-radius: 4px;
  background: var(--ink); color: var(--white);
  font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: 0.02em;
  text-decoration: none; transition: background-color 180ms var(--ease), transform 180ms var(--ease);
}
@media (hover: hover) { .btn:hover { background: var(--ink-hover); } }
.btn:active { background: var(--ink-active); transform: scale(0.98); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.btn:disabled { background: var(--pearl); color: var(--ink); cursor: not-allowed; transform: none; }

.eyebrow {
  font-family: var(--latin); font-weight: 500; font-size: 15px; line-height: 1.4;
  letter-spacing: 0.24em; font-variant-numeric: lining-nums;
}
.h2 { font-family: var(--serif); font-weight: 500; line-height: 1.4; letter-spacing: -0.03em; }
.h2 .line, .fv-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; white-space: nowrap; }
.note { font-size: 13px; line-height: 1.7; }

/* 光の文字：白×overlayでピンクの上では光り、白いボトルの上では消える */
.giant {
  position: absolute; z-index: 2;
  font-family: var(--latin); font-weight: 500; line-height: 1; letter-spacing: 0.02em;
  color: var(--white); mix-blend-mode: overlay; white-space: nowrap; pointer-events: none; user-select: none;
}
.giant span { display: inline-block; }

/* =========================================================
   P01 First View — 巨大な光の文字＋ボトル＋段差の見出し
   ========================================================= */
.fv { position: relative; min-height: max(820px, 100svh); padding-top: 168px; padding-bottom: 96px; overflow: hidden; }
.fv-text { position: relative; }
.fv-label, .fv-title, .fv-lead, .fv-cta { position: relative; z-index: 3; }
.fv-title {
  margin-top: 20px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(56px, 6.4vw, 96px); line-height: 1.32; letter-spacing: -0.03em;
}
.fv-title .line + .line { padding-left: 1.6em; }
.fv-lead { margin-top: 40px; max-width: 30em; font-size: 18px; line-height: 1.9; }
.fv-cta { margin-top: 36px; }
.fv-media { position: absolute; z-index: 1; width: min(940px, 66vw); aspect-ratio: 1 / 1; left: calc(50% - 120px); top: 50%; margin-top: calc(min(940px, 66vw) / -2 + 8px); }
.fv-media .par { width: 100%; height: 100%; will-change: transform; }
.fv-media picture, .fv-media img { width: 100%; height: 100%; }
.fv-media img { object-fit: cover; }
.fv-giant { right: max(-6vw, -86px); bottom: -0.02em; font-size: min(24vw, 345px); will-change: transform; }

/* =========================================================
   P02 Brand Story — はみ出す写真＋縦組みの大見出し
   ========================================================= */
.story { position: relative; padding-block: 160px 200px; }
.story-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.story-media { grid-column: 1 / 7; margin-left: -96px; aspect-ratio: 4 / 5; overflow: hidden; }
.story-media .par { width: 100%; height: 115%; margin-top: -7.5%; will-change: transform; }
.story-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.story-side { grid-column: 8 / 13; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 40px; }
.story-label { grid-column: 1 / -1; margin-top: 40px; }
.story-title {
  grid-column: 2; justify-self: end; margin-top: 40px;
  writing-mode: vertical-rl; text-orientation: mixed;
  font-size: 58px; line-height: 1.5; letter-spacing: 0.04em;
}
.story-title .line + .line { padding-top: 2em; }
.story-body { grid-column: 1 / -1; margin-top: 96px; margin-left: -120px; max-width: 32em; }

/* =========================================================
   P03 Texture — 固定した舞台で一滴が画面いっぱいまで近づく
   ========================================================= */
.texture { position: relative; }
.tx-track { position: relative; }
.tx-stage { position: relative; display: grid; place-items: center; padding-block: 120px; overflow: hidden; }
.tx-drop { width: min(1232px, 96vw); aspect-ratio: 4 / 3; }
.tx-drop picture, .tx-drop img { width: 100%; height: 100%; }
.tx-drop img { object-fit: cover; object-position: 52% 50%; }
/* 雫の写真は光の傾きがあるため、四角ではなく楕円で背景へなじませる */
.tx-drop.seamless img {
  -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent);
  -webkit-mask-composite: source-over;
  mask-image: radial-gradient(closest-side, #000 58%, transparent);
  mask-composite: add;
}
.tx-title { position: absolute; inset: 0; z-index: 2; pointer-events: none; font-size: clamp(48px, 7vw, 108px); line-height: 1.2; }
.tx-title .a, .tx-title .b { position: absolute; white-space: nowrap; will-change: transform; }
.tx-title .a { left: max(var(--gutter), calc(50% - 560px)); top: 18%; }
.tx-title .b { right: max(var(--gutter), calc(50% - 560px)); bottom: 18%; }
.tx-copy {
  position: absolute; z-index: 3; left: max(var(--gutter), calc(50% - 560px)); bottom: 72px;
  max-width: 440px; padding: 32px 36px; background: rgb(248 245 241 / 0.92);
}
.tx-copy .note { margin-top: 16px; }
.tx-label { position: absolute; z-index: 3; right: max(var(--gutter), calc(50% - 560px)); top: 120px; }
html.js.motion .tx-track { height: 300svh; }
html.js.motion .tx-stage { position: sticky; top: 0; height: 100svh; padding: 0; }
html.js.motion .tx-drop { transform: scale(0.5); will-change: transform; }
html.js.motion .tx-copy { opacity: 0; transform: translateY(60px); }

/* =========================================================
   P04 Formula — 右へはみ出すガラスに、濃い情報の面が重なる
   ========================================================= */
.formula { position: relative; padding-block: 200px 180px; }
.fm-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  /* 画像は右半分の全行に直接置き、見出しと濃い面がその左端へ重なる */
  grid-template-areas:
    "label label label label label label .     .     .     .     .     ."
    "head  head  head  head  head  head  head  .     .     .     .     ."
    "body  body  body  body  body  .     .     .     .     .     .     ."
    ".     .     panel panel panel panel panel panel .     .     .     .";
}
.fm-label { grid-area: label; }
.fm-title { grid-area: head; position: relative; z-index: 2; margin-top: 20px; font-size: clamp(44px, 4.8vw, 72px); }
.fm-title .line + .line { padding-left: 2.2em; }
.fm-body { grid-area: body; margin-top: 40px; max-width: 26em; }
.fm-media { grid-area: 1 / 7 / 5 / 13; margin: 0 calc(-1 * var(--bleed)) 0 0; aspect-ratio: 1 / 1; align-self: start; }
.fm-media .par { width: 100%; height: 100%; will-change: transform; }
.fm-media picture, .fm-media img { width: 100%; height: 100%; }
.fm-media img { object-fit: cover; object-position: 50% 50%; }
.fm-panel {
  grid-area: panel; position: relative; z-index: 2; margin-top: 56px;
  padding: 48px 56px; background: var(--ink); color: var(--white);
}
.fm-panel h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.5; }
.fm-panel ol { margin-top: 24px; }
/* =========================================================
   P05 Ritual — 光が差し込むように開く情景に、見出しが食い込む
   ========================================================= */
.ritual { position: relative; padding-block: 180px 200px; }
.rt-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  grid-template-areas:
    "label label label label label label media media media media media media"
    "head  head  head  head  head  head  media media media media media media"
    "body  body  body  body  body  .     media media media media media media"
    "steps steps steps steps steps steps media media media media media media";
  grid-template-rows: auto auto auto 1fr;
}
.rt-label { grid-area: label; margin-top: 64px; }
.rt-title { grid-area: head; position: relative; z-index: 2; margin-top: 20px; margin-right: -160px; font-size: clamp(44px, 5.4vw, 80px); }
.rt-title .line + .line { padding-left: 4.6em; }
.rt-media { grid-area: media; margin-right: -96px; aspect-ratio: 4 / 5; overflow: hidden; }
.rt-media .par { width: 100%; height: 115%; margin-top: -7.5%; will-change: transform; }
.rt-media picture, .rt-media img { width: 100%; height: 100%; }
.rt-media img { object-fit: cover; object-position: 50% 45%; }
.rt-body { grid-area: body; margin-top: 40px; max-width: 26em; }
.rt-body .note { margin-top: 16px; }
/* =========================================================
   P06 Product Details — 商品写真は止まり、情報が順に並ぶ
   ========================================================= */
.details { position: relative; padding-block: 200px 180px; }
.dt-title { font-size: clamp(44px, 6vw, 92px); position: relative; z-index: 2; }
.dt-title .line + .line { text-align: right; }
.dt-label { margin-bottom: 24px; }
.dt-grid { display: grid; grid-template-columns: minmax(0, 456fr) minmax(0, 616fr); column-gap: 48px; align-items: start; margin-top: -40px; }
.dt-media { position: sticky; top: 96px; aspect-ratio: 4 / 5; }
.dt-media picture, .dt-media img { width: 100%; height: 100%; }
.dt-media img { object-fit: cover; object-position: 50% 50%; }
/* 商品写真は中央が明るいため、楕円で背景へなじませる（2本のボトルは内側74%に収まる） */
.dt-media.seamless img {
  -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent);
  -webkit-mask-composite: source-over;
  mask-image: radial-gradient(closest-side, #000 74%, transparent);
  mask-composite: add;
}
.dt-info { padding-top: 160px; }
.dt-lead { font-size: 18px; }
.dt-table { margin-top: 32px; }
.dt-table > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); column-gap: 24px; align-items: center; padding-block: 18px; border-top: 1px solid var(--pearl); }
.dt-table > div:last-child { border-bottom: 1px solid var(--pearl); }
.dt-table dt { font-size: 16px; font-weight: 600; }
/* =========================================================
   P07 Final CTA — 背景がFVの色へ戻り、光の文字が余韻として広がる
   ========================================================= */
.final { position: relative; padding-block: 220px 320px; overflow: hidden; }
.fn-title { position: relative; z-index: 3; font-size: clamp(44px, 6.2vw, 96px); }
.fn-title .line + .line { padding-left: 3em; }
.fn-cta { position: relative; z-index: 3; margin-top: 48px; padding-left: calc(clamp(44px, 6.2vw, 96px) * 3); }
.fn-giant { left: 50%; bottom: -0.08em; font-size: min(26vw, 375px); transform: translateX(-50%); }

/* ---------- フッター ---------- */
.site-footer { background: var(--ink); color: var(--white); padding-block: 96px 48px; }
.ft-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 48px; row-gap: 40px; }
.ft-logo { font-family: var(--latin); font-weight: 500; font-size: 36px; line-height: 1.1; letter-spacing: 0.12em; }
.ft-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; }
.ft-info dt { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; }
.ft-info dd { margin-top: 4px; font-size: 13px; }
.ft-note, .ft-copy { grid-column: 1 / -1; font-size: 12px; line-height: 1.7; }
.ft-note { padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.22); }

/* =========================================================
   初期状態と出現（html.js.motion のときだけ）
   ========================================================= */
html.js.motion .char { display: inline-block; transform: translateY(115%); transition: transform 1300ms var(--expo); transition-delay: calc(var(--i) * 55ms + var(--d, 0ms)); }
html.js.motion .story-title .char { transform: translateY(-115%); }
html.js.motion .is-in .char { transform: none; }

html.js.motion [data-reveal="up"] { opacity: 0; transform: translateY(64px); transition: opacity 1100ms var(--ease), transform 1300ms var(--expo); transition-delay: var(--d, 0ms); }
html.js.motion [data-reveal="up"].is-in { opacity: 1; transform: none; }

/* 液面が満ちるように下から現れる */
html.js.motion [data-reveal="liquid"] { clip-path: inset(100% 0 0 0); transition: clip-path 1500ms var(--expo); transition-delay: var(--d, 0ms); }
html.js.motion [data-reveal="liquid"] img { transform: scale(1.35); transition: transform 2200ms var(--expo); transition-delay: var(--d, 0ms); }
html.js.motion [data-reveal="liquid"].is-in { clip-path: inset(0 0 0 0); }
html.js.motion [data-reveal="liquid"].is-in img { transform: none; }

/* 光が差し込むように右から開く */
html.js.motion [data-reveal="wipe"] { clip-path: inset(0 0 0 100%); transition: clip-path 1600ms var(--expo); transition-delay: var(--d, 0ms); }
html.js.motion [data-reveal="wipe"] img { transform: scale(1.3) translateX(8%); transition: transform 2200ms var(--expo); transition-delay: var(--d, 0ms); }
html.js.motion [data-reveal="wipe"].is-in { clip-path: inset(0 0 0 0); }
html.js.motion [data-reveal="wipe"].is-in img { transform: none; }

/* ガラスが横から滑り込む */
html.js.motion [data-reveal="glide"] { opacity: 0; transform: translateX(18vw) rotate(4deg); transition: opacity 1200ms var(--ease), transform 1800ms var(--expo); }
html.js.motion [data-reveal="glide"].is-in { opacity: 1; transform: none; }

/* 一覧は1行ずつ右から入る */
html.js.motion [data-reveal="rows"] > * { opacity: 0; transform: translateX(80px); transition: opacity 900ms var(--ease), transform 1200ms var(--expo); transition-delay: calc(var(--i) * 90ms + var(--d, 0ms)); }
html.js.motion [data-reveal="rows"].is-in > * { opacity: 1; transform: none; }

/* 濃い情報の面は下から大きくせり上がる */
html.js.motion [data-reveal="rise"] { opacity: 0; transform: translateY(160px); transition: opacity 1000ms var(--ease), transform 1600ms var(--expo); transition-delay: var(--d, 0ms); }
html.js.motion [data-reveal="rise"].is-in { opacity: 1; transform: none; }

/* FVの登場：ボトルが大きく浮かび上がり、光の文字が下から立ち上がる */
html.js.motion .fv-media img { opacity: 0; transform: translateY(140px) scale(1.35); transition: opacity 1400ms var(--ease), transform 2000ms var(--expo); }
html.js.motion .fv.is-in .fv-media img { opacity: 1; transform: none; }
html.js.motion .giant span { transform: translateY(70%); opacity: 0; transition: transform 1800ms var(--expo), opacity 1200ms var(--ease); transition-delay: calc(300ms + var(--i) * 90ms); }
html.js.motion .is-in .giant span, html.js.motion .giant.is-in span { transform: none; opacity: 1; }
html.js.motion .fv-label, html.js.motion .fv-lead, html.js.motion .fv-cta { opacity: 0; transform: translateY(48px); transition: opacity 1000ms var(--ease), transform 1200ms var(--expo); }
html.js.motion .fv-label { transition-delay: 100ms; }
html.js.motion .fv-lead { transition-delay: 700ms; }
html.js.motion .fv-cta { transition-delay: 850ms; }
html.js.motion .fv.is-in :is(.fv-label, .fv-lead, .fv-cta) { opacity: 1; transform: none; }

/* =========================================================
   SP（〜959px）：縮小ではなく組み替え
   ========================================================= */
@media (max-width: 959px) {
  :root { --gutter: 16px; }
  .site-header .wrap { height: 64px; }
  .logo { font-size: 27px; }
  .btn { padding: 0 24px; transition-duration: 120ms; }

  .fv { min-height: 0; padding-top: 104px; padding-bottom: 72px; }
  .fv-title { margin-top: 12px; font-size: min(46px, calc((100vw - 32px) / 7.7)); line-height: 1.38; }
  .fv-title .line + .line { padding-left: 0.5em; }
  .fv-media { position: relative; left: auto; top: auto; margin: -40px -16px 0; width: calc(100% + 32px); max-width: none; }
  .fv-giant { right: -6vw; bottom: 8%; font-size: 30vw; }
  .fv-lead { margin-top: 8px; font-size: 17px; }
  .fv-cta { margin-top: 28px; }
  .fv-cta .btn, .fn-cta .btn { width: 100%; max-width: 358px; }
  html.js.motion .fv-media img { transform: translateY(80px) scale(1.25); }

  .story { padding-block: 96px 120px; }
  .story-grid { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; }
  .story-media { grid-column: 1; grid-row: 2; margin-left: -16px; margin-top: 24px; }
  .story-side { display: contents; }
  .story-label { grid-column: 1 / -1; grid-row: 1; margin-top: 0; }
  .story-title { grid-column: 2; grid-row: 2; margin-top: -24px; font-size: 36px; }
  .story-body { grid-column: 1 / -1; grid-row: 3; margin: 48px 0 0 24px; font-size: 15px; }

  .tx-drop { width: 100vw; }
  .tx-title { font-size: min(48px, calc((100vw - 32px) / 6.4)); }
  .tx-title .a { top: 14%; }
  .tx-title .b { bottom: 30%; }
  .tx-copy { left: 16px; right: 16px; bottom: 24px; max-width: none; padding: 20px; font-size: 15px; }
  .tx-label { top: 88px; }
  html.js.motion .tx-track { height: 240svh; }

  .formula { padding-block: 120px 96px; }
  .fm-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "label" "head" "body" "media" "panel"; }
  .fm-title { font-size: min(36px, calc((100vw - 32px) / 9.6)); }
  .fm-title .line + .line { padding-left: 1em; }
  .fm-body { margin-top: 24px; font-size: 15px; }
  .fm-media { grid-area: media; margin: 32px -16px 0; width: calc(100% + 32px); }
  .fm-panel { margin: -72px 0 0 16px; padding: 28px 20px; }
  html.js.motion [data-reveal="glide"] { transform: translateX(30vw) rotate(4deg); }

  .ritual { padding-block: 96px 120px; }
  .rt-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "label" "head" "media" "body" "steps"; grid-template-rows: none; }
  .rt-label { margin-top: 0; }
  .rt-title { margin-right: 0; font-size: min(40px, calc((100vw - 32px) / 7.4)); }
  .rt-title .line + .line { padding-left: 1.6em; }
  .rt-media { margin: -16px -16px 0 32px; }
  .rt-body { margin-top: 32px; font-size: 15px; }
    
  .details { padding-block: 120px 96px; }
  .dt-title { font-size: min(40px, calc((100vw - 32px) / 8.4)); }
  .dt-grid { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .dt-media { position: relative; top: auto; margin-inline: 24px; }
  .dt-info { padding-top: 32px; }
  .dt-lead { font-size: 17px; }
  .dt-table > div { grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; }
  .dt-table dt { font-size: 15px; }

  .final { padding-block: 120px 200px; }
  .fn-title { font-size: min(40px, calc((100vw - 32px) / 10.6)); }
  .fn-title .line + .line { padding-left: 1em; }
  .fn-cta { padding-left: 0; margin-top: 40px; }
  .fn-giant { font-size: 32vw; bottom: 0; }

  .site-footer { padding-block: 64px 40px; }
  .ft-grid { grid-template-columns: minmax(0, 1fr); }
  .ft-logo { font-size: 27px; }
  .ft-info { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* 動きを減らす設定：完成状態をそのまま表示（固定スクロールもしない） */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =========================================================
   v2：情報を埋め、細部を作り込む追加分
   ========================================================= */
/* 紙のような細かな粒子を全体に薄く重ね、のっぺりしたデジタル感を消す */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 35; pointer-events: none; opacity: 0.06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.kr { font-family: "Noto Sans KR", sans-serif; font-size: 13px; letter-spacing: 0.2em; }

/* ヘッダー：ナビと購入方法ボタン。今いるセクションに下線 */
.gnav { display: flex; gap: 28px; margin-left: auto; margin-right: 32px; }
.gnav a { position: relative; padding: 8px 0; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--ink); text-decoration: none; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--expo); }
.gnav a[aria-current="true"]::after { transform: none; }
@media (hover: hover) { .gnav a:hover::after { transform: none; } }
.head-buy {
  display: inline-flex; align-items: center; height: 40px; padding: 0 22px; border-radius: 999px;
  background: var(--ink); color: var(--white); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-decoration: none;
  transition: background-color 180ms var(--ease);
}
@media (hover: hover) { .head-buy:hover { background: var(--ink-hover); } }

.text-link { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid currentColor; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.text-link span { transition: transform 300ms var(--expo); }
@media (hover: hover) { .text-link:hover span { transform: translateX(6px); } }

.sub-title { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.5; letter-spacing: -0.01em; }

/* FV：商品名・仕様の帯・写真への注記 */
.fv { padding-top: 148px; }
.fv-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
.fv-lead { margin-top: 32px; }
.fv-name { position: relative; z-index: 3; margin-top: 24px; display: flex; flex-direction: column; }
.fv-name .en { font-family: var(--latin); font-size: 26px; line-height: 1.2; letter-spacing: 0.04em; }
.fv-name .ja { font-size: 12px; letter-spacing: 0.2em; }
.fv-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 28px; }
.fv-media .par { position: relative; }
.callout { position: absolute; z-index: 3; padding-left: 18px; font-size: 12px; line-height: 1.6; }
.callout b { display: block; font-size: 13px; font-weight: 600; }
.callout::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 6px rgb(255 255 255 / 0.55); }
.callout.c1 { left: 61%; top: 56%; }
.callout.c2 { left: 58%; top: 25%; }
.fv-spec { position: relative; z-index: 3; margin-top: 72px; }
.fv-spec dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: rgb(248 245 241 / 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.fv-spec dl > div { padding: 20px 24px; }
.fv-spec dl > div + div { border-left: 1px solid rgb(71 62 64 / 0.16); }
.fv-spec dt { font-family: var(--latin); font-size: 13px; letter-spacing: 0.24em; }
.fv-spec dd { margin-top: 4px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.fv-spec small { display: block; font-size: 12px; font-weight: 400; }
html.js.motion .callout, html.js.motion .fv-name, html.js.motion .fv-spec { opacity: 0; transform: translateY(32px); transition: opacity 1000ms var(--ease), transform 1200ms var(--expo); }
html.js.motion .fv-name { transition-delay: 800ms; }
html.js.motion .callout { transition-delay: 1400ms; }
html.js.motion .callout.c2 { transition-delay: 1550ms; }
html.js.motion .fv-spec { transition-delay: 1100ms; }
html.js.motion .fv.is-in :is(.callout, .fv-name, .fv-spec) { opacity: 1; transform: none; }

/* P02：3つのこだわり。階段状にずらして並べる */
.story .sub-title { margin-top: 176px; }
.promises { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.promises li:nth-child(2) { margin-top: 96px; }
.promises li:nth-child(3) { margin-top: 192px; }
.promises .num { display: block; font-family: var(--latin); font-size: 96px; line-height: 0.9; font-variant-numeric: lining-nums; }
.promises h4 { margin: 20px 0 0; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.5; }
.promises p { margin-top: 12px; font-size: 15px; }

/* P03：使用感の詳しい情報（写真は左端まで、右に目盛り） */
.tx-detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 72px; align-items: center; padding-block: 160px 200px; }
.tx-swipe { margin-left: calc(-1 * var(--bleed)); aspect-ratio: 4 / 3; overflow: hidden; }
.tx-swipe .par { width: 100%; height: 115%; margin-top: -7.5%; will-change: transform; }
.tx-swipe picture, .tx-swipe img { width: 100%; height: 100%; }
.tx-swipe img { object-fit: cover; }
.tx-info > .copy { margin-top: 20px; }
.meters { margin-top: 36px; }
.meters > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; column-gap: 16px; padding-block: 14px; border-top: 1px solid var(--pearl); }
.meters dt { font-size: 14px; font-weight: 600; }
.meter {
  display: block; height: 8px;
  background: linear-gradient(to right, var(--ink) calc(var(--v) * 20%), rgb(71 62 64 / 0.14) 0);
  -webkit-mask-image: repeating-linear-gradient(to right, #000 0 calc(20% - 4px), transparent 0 20%);
  mask-image: repeating-linear-gradient(to right, #000 0 calc(20% - 4px), transparent 0 20%);
}
.ends { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; line-height: 1.4; }
.facts { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.facts > div { padding: 16px 18px; background: rgb(255 255 255 / 0.7); }
.facts dt { font-size: 12px; }
.facts dd { margin-top: 2px; font-family: var(--serif); font-size: 19px; line-height: 1.4; }
.tx-info > .note { margin-top: 16px; }

/* P04：注目成分のパネル・6つのフリー・全成分 */
.fm-panel h3 .eyebrow { display: block; margin-bottom: 6px; font-size: 13px; }
.fm-panel ol li { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 20px; padding-block: 20px; border-top: 1px solid rgb(255 255 255 / 0.22); }
.fm-panel .dose { font-family: var(--latin); font-size: 52px; line-height: 1; font-variant-numeric: lining-nums; }
.fm-panel .dose small { font-size: 26px; }
.fm-panel .en { font-family: var(--latin); font-size: 22px; line-height: 1.2; letter-spacing: 0.04em; }
.fm-panel .ja { margin-top: 4px; font-size: 15px; font-weight: 600; }
.fm-panel .role { display: inline-block; margin-left: 10px; padding: 1px 10px; border-radius: 999px; background: rgb(255 255 255 / 0.16); font-size: 11px; font-weight: 400; vertical-align: 2px; }
.fm-panel .copy { margin-top: 6px; font-size: 14px; line-height: 1.8; }
.fm-panel sup { font-size: 0.6em; }
.panel-note { margin-top: 8px; font-size: 11px; }
.free { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 72px; align-items: center; margin-top: 176px; }
.free-num { font-family: var(--latin); font-size: 36px; line-height: 1; letter-spacing: 0.3em; text-align: center; }
.free-num span { display: block; font-size: 240px; line-height: 0.8; letter-spacing: 0; font-variant-numeric: lining-nums; }
.free-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.free-list li { padding: 10px 22px; border: 1px solid var(--ink); border-radius: 999px; font-size: 14px; font-weight: 600; }
.free-body .note { margin-top: 16px; }
.inci { margin-top: 96px; border-block: 1px solid var(--pearl); }
.inci summary, .faq-list summary { list-style: none; cursor: pointer; }
.inci summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.inci summary { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 15px; font-weight: 600; }
.inci summary::after, .faq-list summary::after { content: "+"; font-family: var(--latin); font-size: 28px; line-height: 1; font-weight: 400; transition: transform 400ms var(--expo); }
.inci[open] summary::after, .faq-list details[open] summary::after { transform: rotate(45deg); }
.inci p { padding-bottom: 24px; font-size: 14px; }
.inci summary:focus-visible, .faq-list summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

/* P05：朝と夜・手順（写真は止まり、手順が流れる） */
.when { margin-top: 28px; }
.when li { display: flex; align-items: baseline; gap: 18px; padding-block: 12px; border-top: 1px solid var(--pearl); font-size: 15px; }
.when b { font-family: var(--serif); font-weight: 500; font-size: 22px; }
.steps-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 80px; align-items: start; margin-top: 176px; }
.steps-media { position: sticky; top: 120px; aspect-ratio: 1 / 1; }
.steps-media picture, .steps-media img { width: 100%; height: 100%; }
.steps-media img { object-fit: cover; }
.steps ol { margin-top: 24px; }
.steps li { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 24px; padding-block: 28px; border-top: 1px solid var(--pearl); }
.steps li:nth-child(even) { margin-left: 72px; }
.steps .num { grid-row: span 2; font-family: var(--latin); font-size: 15px; letter-spacing: 0.2em; font-variant-numeric: lining-nums; }
.steps b { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.5; }
.steps .copy { margin-top: 6px; font-size: 15px; }
.steps > .note { margin-top: 20px; }

/* P06：仕様表と購入方法の選択 */
.dt-table dd { font-size: 15px; }
/* 購入の場所は、パッケージ写真の背景色（実測 #F9EDEC）の帯で区切り、白い選択面を浮かせる */
.buy {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: center;
  margin-top: 176px; padding-block: 96px; scroll-margin-top: 64px;
  background: #F9EDEC; box-shadow: 0 0 0 100vmax #F9EDEC; clip-path: inset(0 -100vmax);
}
.buy-media { aspect-ratio: 1 / 1; margin-left: -64px; }
.buy-media picture, .buy-media img { width: 100%; height: 100%; }
.buy-media img { object-fit: cover; }
.buy-form { padding: 48px; background: var(--white); }
.buy-form fieldset { margin: 24px 0 0; padding: 0; border: 0; display: grid; gap: 14px; }
.plan { position: relative; display: block; cursor: pointer; }
.plan input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plan-body {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 2px;
  padding: 22px 24px 22px 56px; border: 1px solid var(--pearl); border-radius: 4px; transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.plan-body::before { content: ""; position: absolute; left: 20px; top: 26px; width: 18px; height: 18px; border: 1.5px solid var(--ink); border-radius: 50%; }
.plan input:checked + .plan-body { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.plan input:checked + .plan-body::before { background: radial-gradient(var(--ink) 0 4px, transparent 5px); }
.plan input:focus-visible + .plan-body { outline: 3px solid var(--ink); outline-offset: 3px; }
.plan-tag { grid-column: 1 / -1; justify-self: start; margin-bottom: 6px; padding: 1px 10px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 600; }
.plan-name { font-size: 16px; font-weight: 600; }
.plan-price { grid-column: 2; grid-row: 1 / span 3; align-self: center; font-family: var(--latin); font-size: 34px; line-height: 1; font-variant-numeric: lining-nums; }
.plan-tag ~ .plan-price { grid-row: 2 / span 2; }
.plan-price small { font-family: var(--sans); font-size: 11px; }
.plan-note { font-size: 12px; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.buy-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--pearl); font-size: 14px; }
.buy-total b { margin-left: auto; font-family: var(--latin); font-size: 40px; font-weight: 500; line-height: 1; font-variant-numeric: lining-nums; }
.buy-total small { font-size: 12px; }
.btn-wide { width: 100%; height: 60px; margin-top: 20px; font-size: 16px; }
.buy-form > .note { margin-top: 12px; text-align: center; }

/* P07：よくある質問（見出しは止まり、質問が開く） */
.faq { position: relative; padding-block: 200px 180px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 64px; align-items: start; }
.faq-head { position: sticky; top: 140px; }
.faq-title { margin-top: 20px; font-size: clamp(44px, 5vw, 76px); }
.faq-title .line + .line { padding-left: 1.4em; }
.faq-list details { border-top: 1px solid var(--pearl); }
.faq-list details:last-child { border-bottom: 1px solid var(--pearl); }
.faq-list summary { display: grid; grid-template-columns: 44px minmax(0, 1fr) 28px; align-items: baseline; padding: 26px 0; font-size: 17px; font-weight: 600; line-height: 1.6; }
.faq-list summary::before { content: "Q"; font-family: var(--latin); font-size: 26px; font-weight: 400; line-height: 1; }
.faq-list p { position: relative; padding: 0 28px 28px 44px; font-size: 15px; }
.faq-list p::before { content: "A"; position: absolute; left: 0; top: -0.1em; font-family: var(--latin); font-size: 26px; line-height: 1.2; }
html.js.motion .faq-list details[open] p { animation: faq-open 600ms var(--expo); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-8px); } }

/* P08 */
.fn-kr { position: relative; z-index: 3; margin-bottom: 24px; }
.fn-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }

/* フッター */
.ft-tagline { margin-top: 12px; font-size: 13px; }
.ft-info dd { line-height: 1.7; }

/* 購入ボタンを押したときのお知らせ */
.toast { position: fixed; left: 50%; bottom: 32px; z-index: 40; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 14px 24px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 14px; line-height: 1.6; box-shadow: 0 12px 32px rgb(71 62 64 / 0.24); }
.toast[hidden] { display: none; }

@media (max-width: 959px) {
  .gnav { display: none; }
  .head-buy { height: 36px; padding: 0 16px; font-size: 12px; }
  .fv { padding-top: 84px; }
  .kr { font-size: 12px; }
  /* スマホは最初の画面にCTAを入れるため、商品名は商品情報の表に任せる */
  .fv-name { display: none; }
  .fv .fv-media { margin: -56px 0 0; width: 100%; }
  .callout { display: none; }
  .fv-spec { margin-top: 40px; }
  .fv-spec dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fv-spec dl > div { padding: 16px; }
  .fv-spec dl > div + div { border-left: 0; }
  .fv-spec dl > div:nth-child(even) { border-left: 1px solid rgb(71 62 64 / 0.16); }
  .fv-spec dl > div:nth-child(n + 3) { border-top: 1px solid rgb(71 62 64 / 0.16); }
  .fv-spec dd { font-size: 15px; }

  .story .sub-title { margin-top: 96px; }
  .sub-title { font-size: 22px; }
  .promises { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 32px; }
  .promises li:nth-child(2) { margin: 0 0 0 32px; }
  .promises li:nth-child(3) { margin: 0 0 0 64px; }
  .promises .num { font-size: 64px; }
  .promises h4 { font-size: 20px; margin-top: 12px; }

  .tx-detail { grid-template-columns: minmax(0, 1fr); row-gap: 40px; padding-block: 96px 120px; }
  .tx-swipe { margin-inline: -16px 0; }
  .facts dd { font-size: 17px; }

  .fm-panel ol li { grid-template-columns: 64px minmax(0, 1fr); column-gap: 12px; }
  .fm-panel .dose { font-size: 38px; }
  .fm-panel .dose small { font-size: 20px; }
  .fm-panel .en { font-size: 19px; }
  .free { grid-template-columns: minmax(0, 1fr); row-gap: 24px; margin-top: 96px; }
  .free-num { text-align: left; font-size: 28px; }
  .free-num span { font-size: 160px; }
  .free-list li { padding: 8px 16px; font-size: 13px; }
  .inci { margin-top: 64px; }

  .steps-wrap { grid-template-columns: minmax(0, 1fr); row-gap: 32px; margin-top: 96px; }
  .steps-media { position: relative; top: auto; margin-inline: -16px; }
  .steps li { grid-template-columns: minmax(0, 1fr); padding-block: 22px; }
  .steps li:nth-child(even) { margin-left: 24px; }
  .steps .num { grid-row: auto; font-size: 13px; }
  .steps b { font-size: 20px; }

  .buy { grid-template-columns: minmax(0, 1fr); row-gap: 8px; margin-top: 96px; padding-block: 48px 64px; }
  .buy-media { margin: 0 -16px; }
  .buy-form { padding: 28px 16px; }
  .plan-body { padding: 20px 16px 20px 48px; }
  .plan-body::before { left: 16px; top: 24px; }
  /* スマホは金額を名前の下へ置き、名前を途中で折らない */
  .plan-body { grid-template-columns: minmax(0, 1fr); }
  .plan-price, .plan-tag ~ .plan-price { grid-column: 1; grid-row: auto; margin-block: 6px 2px; font-size: 28px; }
  .buy-total b { font-size: 34px; }

  .faq { padding-block: 120px 96px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .faq-head { position: static; }
  .faq-title { font-size: min(44px, calc((100vw - 32px) / 6)); }
  .faq-list summary { grid-template-columns: 36px minmax(0, 1fr) 24px; padding: 22px 0; font-size: 16px; }
  .faq-list p { padding: 0 0 24px 36px; }
}

/* =========================================================
   v3：世界観のあしらい（光・乳白ガラス・ボトルの肩・雫）とCTA
   ========================================================= */
/* 雫のしるし：外箱の型押しと同じ形。見出し・ボタン・安心材料に使う */
.drop { display: inline-block; flex: none; width: 9px; height: 9px; background: currentColor; border-radius: 0 50% 50% 50%; transform: rotate(45deg); }

/* セクションの見出し：雫＋番号＋英語＋韓国語 */
.sec-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; line-height: 1.4; }
.sec-head .num { font-family: var(--latin); font-size: 15px; letter-spacing: 0.2em; font-variant-numeric: lining-nums; }
.sec-head .num::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 14px; background: currentColor; vertical-align: middle; }
.sec-head .en { font-family: var(--latin); font-size: 15px; letter-spacing: 0.24em; text-transform: uppercase; }
.sec-head .kr { font-size: 12px; letter-spacing: 0.12em; }
.sec-head.small { margin-bottom: 10px; }
.fv-label .drop { margin-right: -8px; }

/* 光の層：光の写真から明るい光のすじだけを透明画像に取り出し、左上から差し込む光として各セクションに敷く */
.light { position: absolute; z-index: 0; pointer-events: none; opacity: 0.9; will-change: transform; }
.light img { width: 100%; height: auto; }
.light-fv { top: -6%; left: -8%; width: min(1500px, 112vw); opacity: 0.75; }
.light-fm { top: 0; left: -12%; width: min(1400px, 100vw); }
.light-dt { top: 40px; left: -10%; width: min(1500px, 110vw); opacity: 0.6; }
.light-faq { top: 0; left: -6%; width: min(1200px, 92vw); }
.light-fn { top: -4%; left: -8%; width: min(1500px, 112vw); opacity: 0.7; }
[data-bg] > .wrap, [data-bg] > .dt-panel, .tx-track { position: relative; z-index: 1; }
.faq { overflow: clip; }

/* 背景の大きな英字：余白に奥行きをつくる */
.bg-word {
  position: absolute; z-index: 0; margin: 0; pointer-events: none; user-select: none; white-space: nowrap;
  font-family: var(--latin); font-weight: 500; font-size: min(19vw, 280px); line-height: 0.8; letter-spacing: -0.01em; color: var(--white);
}
.bw-story { top: 64px; right: -3vw; }
.wrap > .bg-word { z-index: -1; color: var(--blush); }
.bw-formula { top: -150px; right: -6vw; }
.bw-ritual { top: -210px; right: -4vw; }
.free, .steps-wrap { position: relative; }

/* ボトルの肩の形の枠と、レンズのような丸窓 */
.shoulder { border-radius: 34% 34% 0 0 / 22% 22% 0 0; overflow: hidden; }
.story-media-wrap { position: relative; grid-column: 1 / 7; }
.story-media { grid-column: auto; }
.story-sub {
  position: absolute; z-index: 2; right: -64px; bottom: -72px; width: 240px; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 10px rgb(255 255 255 / 0.55), 0 32px 64px -32px rgb(71 62 64 / 0.4);
}
.story-sub picture, .story-sub img, .rt-sub picture, .rt-sub img { width: 100%; height: 100%; }
.story-sub img, .rt-sub img { object-fit: cover; }
.rt-sub {
  position: absolute; z-index: 3; left: 43%; top: 58%; width: 220px; aspect-ratio: 4 / 5;
  box-shadow: 0 0 0 10px rgb(255 255 255 / 0.6), 0 32px 64px -32px rgb(71 62 64 / 0.4);
}
.tx-swipe { border-radius: 0 260px 0 0 / 0 200px 0 0; }
html.js.motion [data-reveal="pop"] { opacity: 0; transform: translateY(60px) scale(0.86); transition: opacity 1000ms var(--ease), transform 1400ms var(--expo); transition-delay: var(--d, 0ms); }
html.js.motion [data-reveal="pop"].is-in { opacity: 1; transform: none; }

/* 乳白ガラスの面：ボトルと同じ素材で情報を載せる */
.glass {
  background: linear-gradient(145deg, rgb(255 255 255 / 0.84), rgb(255 255 255 / 0.5));
  -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: inset 1px 1px 0 rgb(255 255 255 / 0.95), inset 0 -1px 0 rgb(71 62 64 / 0.05), 0 28px 56px -34px rgb(71 62 64 / 0.3);
  border-radius: 20px;
}
.fv-spec dl.glass { overflow: hidden; }
.promises li.glass { padding: 36px 32px 40px; border-radius: 24px; }
.facts > div.glass { border-radius: 14px; }
.tx-copy.glass { border-radius: 22px; }
.buy-form.glass { border-radius: 28px; }
.faq-list.glass { padding: 8px 36px; border-radius: 28px; }
.faq-list details:first-child { border-top: 0; }
.faq-list details:last-child { border-bottom: 0; }
.faq-contact { margin-top: 32px; max-width: 18em; font-size: 14px; }

/* ボタン：ピル型＋丸い矢印。ホバーと数秒おきに光が走る */
.btn {
  position: relative; overflow: hidden; isolation: isolate; justify-content: space-between; gap: 20px;
  min-width: 252px; height: 60px; padding: 0 8px 0 30px; border-radius: 999px; letter-spacing: 0.06em;
  box-shadow: 0 18px 36px -18px rgb(71 62 64 / 0.55);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.24) 50%, transparent 70%); transform: translateX(-120%);
}
.btn-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--blush); color: var(--ink); transition: transform 500ms var(--expo); }
.btn-ico svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 500ms var(--expo); }
@media (hover: hover) {
  .btn:hover::before { transform: translateX(120%); transition: transform 900ms var(--expo); }
  .btn:hover .btn-ico { transform: scale(1.08); }
  .btn:hover .btn-ico svg { transform: translateX(2px); }
  .fv-cta .btn:hover .btn-ico svg { transform: translateY(2px); }
}
.btn:focus-visible { outline-offset: 4px; }
.btn-lg { min-width: 290px; height: 68px; padding-left: 36px; font-size: 16px; }
.btn-lg .btn-ico { width: 52px; height: 52px; }
.btn-wide { justify-content: space-between; }
html.js.motion .btn::before { animation: btn-sheen 6s var(--ease) 2.4s infinite; }
@keyframes btn-sheen { 0% { transform: translateX(-120%); } 22%, 100% { transform: translateX(120%); } }
.head-buy { gap: 8px; }
.head-buy .drop { width: 7px; height: 7px; background: var(--blush); }
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 16px; font-size: 12px; }
.assure li { display: flex; align-items: center; gap: 8px; }
.assure .drop { width: 7px; height: 7px; }

/* FV：光が一度ボトルを通り抜け、雫が落ちる合図 */
.fv-media .par::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / 0.65) 50%, transparent 62%); mix-blend-mode: soft-light;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
}
html.js.motion .fv.is-in .fv-media .par::after { animation: light-pass 2600ms var(--ease) 1300ms both; }
@keyframes light-pass { 0% { transform: translateX(-130%); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateX(130%); opacity: 0; } }
.fv-spec { position: relative; }
.scroll-cue { position: absolute; right: 0; bottom: calc(100% + 40px); display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--latin); font-size: 11px; letter-spacing: 0.3em; writing-mode: vertical-rl; }
.scroll-cue .fall { position: relative; width: 1px; height: 56px; background: rgb(71 62 64 / 0.25); }
.scroll-cue .fall::after { content: ""; position: absolute; left: -3px; top: 0; width: 7px; height: 7px; background: var(--ink); border-radius: 0 50% 50% 50%; transform: rotate(45deg); }
html.js.motion .scroll-cue .fall::after { animation: fall 2.4s var(--ease) infinite; }
@keyframes fall { 0% { top: -4px; opacity: 0; } 20% { opacity: 1; } 80% { top: 50px; opacity: 1; } 100% { top: 54px; opacity: 0; } }

/* P06：ボトルの肩の形をした面の中に商品情報。購入方法は外箱の背景色の上 */
.details { padding-block: 120px 160px; }
.dt-panel {
  width: min(1360px, 100% - 32px); margin-inline: auto; padding-block: 120px 96px; background: #FAF4F4;
  border-radius: 280px 280px 40px 40px / 200px 200px 40px 40px;
  box-shadow: inset 1px 1px 0 rgb(255 255 255 / 0.9), 0 40px 80px -48px rgb(71 62 64 / 0.25);
}
.buy { background: none; box-shadow: none; clip-path: none; margin-top: 120px; padding-block: 0; }

/* フッター：ボトルの底のように肩を丸めて、最後のCTAに重ねる */
.site-footer { position: relative; z-index: 2; margin-top: -120px; border-radius: 200px 200px 0 0 / 120px 120px 0 0; padding-top: 120px; }
.ft-tagline .kr { display: block; margin-top: 4px; font-size: 11px; }

/* スマホ下部の購入バー */
.sp-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 20px; border-radius: 999px; color: var(--ink); text-decoration: none;
  transform: translateY(160%); transition: transform 500ms var(--expo);
}
.sp-bar[hidden] { display: none !important; }
.sp-bar.is-show { transform: none; }
.sp-bar-txt { display: flex; align-items: baseline; gap: 4px; font-size: 11px; }
.sp-bar-txt b { font-family: var(--latin); font-size: 26px; font-weight: 500; line-height: 1; font-variant-numeric: lining-nums; }
.sp-bar-btn { display: grid; place-items: center; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 600; }
.sp-bar:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

@media (max-width: 959px) {
  .sec-head { gap: 4px 10px; }
  .sec-head .num::after { width: 16px; margin-left: 10px; }
  .light-fv, .light-fn { width: 180vw; left: -40vw; }
  .light-fm, .light-dt, .light-faq { width: 170vw; left: -40vw; }
  .bg-word { font-size: 30vw; }
  .bw-story { top: 24px; }
  .bw-formula { top: -88px; }
  .bw-ritual { top: -100px; }
  .story-media-wrap { grid-column: 1; grid-row: 2; }
  .story-media { margin-left: -16px; margin-top: 24px; }
  .story-sub { width: 132px; right: -24px; bottom: -40px; box-shadow: 0 0 0 6px rgb(255 255 255 / 0.55), 0 20px 40px -20px rgb(71 62 64 / 0.4); }
  .rt-sub { left: auto; right: 0; top: auto; bottom: -48px; width: 132px; box-shadow: 0 0 0 6px rgb(255 255 255 / 0.6), 0 20px 40px -20px rgb(71 62 64 / 0.4); }
  .rt-media { position: relative; }
  .rt-grid { position: relative; }
  .tx-swipe { border-radius: 0 160px 0 0 / 0 120px 0 0; }
  .promises li.glass { padding: 28px 24px 32px; }
  .faq-list.glass { padding: 4px 20px; border-radius: 22px; }
  .btn { min-width: 0; height: 58px; padding-left: 24px; }
  .btn-lg { height: 62px; }
  .btn-lg .btn-ico { width: 46px; height: 46px; }
  .scroll-cue { display: none; }
  .details { padding-block: 72px 112px; }
  .dt-panel { width: calc(100% - 16px); padding-block: 80px 48px; border-radius: 140px 140px 24px 24px / 96px 96px 24px 24px; }
  .buy { margin-top: 72px; }
  .site-footer { margin-top: -56px; padding-top: 88px; border-radius: 96px 96px 0 0 / 56px 56px 0 0; }
  .sp-bar { display: flex; }
  .toast { bottom: 92px; }
}
/* 丸窓の写真と本文が重ならないよう、本文は右の列の中に収める */
.story-body { margin-left: 0; }
@media (max-width: 959px) { .story-body { margin: 72px 0 0 24px; } }
@media (max-width: 959px) { .story-title { margin-top: 16px; } }
/* スマホ：固定した舞台の説明文を、下部の購入バーより上に置く */
@media (max-width: 959px) { .tx-copy { bottom: 92px; } }
/* スマホ：スポイトの写真は大きい写真の左下に重ね、本文はその下から始める */
@media (max-width: 959px) {
  .rt-grid { grid-template-areas: "label" "head" "media" "sub" "body"; }
  .rt-sub { grid-area: sub; position: relative; left: auto; right: auto; top: auto; bottom: auto; justify-self: start; margin: -112px 0 0 8px; }
  .rt-body { margin-top: 32px; }
}
/* 質問文を語の途中で折らない */
.faq-list summary { word-break: keep-all; overflow-wrap: anywhere; }
.fn-kr { display: flex; align-items: center; gap: 12px; }
/* タブレット幅：写真だけが大きくならないよう上限を設け、見出しを大きくする */
@media (min-width: 600px) and (max-width: 959px) {
  .fv-title { font-size: min(68px, calc((100vw - 32px) / 7.7)); }
  .fv .fv-media { width: min(100%, 600px); margin-inline: auto; }
  .fv-giant { font-size: 26vw; }
}

/* P03：動きを減らす設定・JSなしでは画面を固定しないので、見出し・雫・説明を重ねずに順に並べる */
html:not(.motion) .tx-stage { display: flex; flex-direction: column; padding-block: 96px 64px; }
html:not(.motion) .tx-label { order: 0; }
html:not(.motion) .tx-title { order: 1; }
html:not(.motion) .tx-drop { order: 2; }
html:not(.motion) .tx-copy { order: 3; }
html:not(.motion) .tx-label, html:not(.motion) .tx-title { position: static; width: min(1120px, 100% - var(--gutter) * 2); margin-inline: auto; }
html:not(.motion) .tx-title { margin-top: 24px; }
html:not(.motion) .tx-title .a, html:not(.motion) .tx-title .b { position: static; display: block; }
html:not(.motion) .tx-title .b { text-align: right; }
html:not(.motion) .tx-drop { margin: 16px auto 0; }
html:not(.motion) .tx-copy { position: static; width: min(520px, 100% - var(--gutter) * 2); max-width: none; margin: -40px auto 0; }

/* 修理（2026-10-29）：重なり・折り返し・中間の画面幅 */
/* 背景の英字「Afterglow」は、こだわりのカードの段差の空き（右上）に置き、見出しやラベルと重ねない */
.promises-wrap { position: relative; }
.bw-story { top: 40px; right: -4vw; }
@media (max-width: 959px) { .bw-story { top: 64px; right: -6vw; } }
/* 語の途中で折らない */
.sub-title, .dt-table dd, .plan-name { word-break: keep-all; overflow-wrap: anywhere; }
/* ノートPC幅：購入方法の金額は名前の下に置く */
@media (max-width: 1199px) {
  .plan-body { grid-template-columns: minmax(0, 1fr); }
  .plan-price, .plan-tag ~ .plan-price { grid-column: 1; grid-row: auto; margin-block: 6px 2px; }
}
/* ノートPC幅：FVの光の文字をボタンの下から外し、スクロールの合図は隠す */
@media (min-width: 960px) and (max-width: 1279px) {
  .fv-giant { font-size: 19vw; right: -2vw; bottom: -0.12em; }
  .scroll-cue { display: none; }
}
