/* =================================================================
   月影神託局｜深層個別霊視 LP — style.css
   夜 → 影 → 月光 → 輪郭 → 神託 → 現実、と進む背景トーンを
   セクション単位の背景色 + 極薄の月光/霧レイヤーで表現する。
   ================================================================= */

/* ===== 00 reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, figure { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; overflow-x: clip; }
body { overflow-x: clip; min-height: 100vh; }
img, svg, video { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }

/* ===== 01 root tokens（SPEC 2 準拠 / 名称固定） ===== */
:root {
  --bg-deep: #060810;
  --bg-navy: #0A0E1C;
  --bg-section: #101527;
  --bg-soft: #161B2C;
  --text-primary: #F4F1EA;
  --text-secondary: #B8BDCA;
  --text-muted: #7E8494;
  --moon: #E9EDF5;
  --moon-soft: #C8D1E5;
  --gold: #C6A66A;
  --gold-muted: #8E754B;
  --line: rgba(233, 237, 245, .14);
  --line-strong: rgba(233, 237, 245, .26);
  --gold-line: rgba(198, 166, 106, .34);
  /* 拡張トークン */
  --bg-void: #04050B;
  --text-legal: #8E94A4;   /* 注意事項・footer用。#04050Bに対し6.7:1でAAを確保 */
  --shadow-soft: 0 30px 70px -40px rgba(0, 0, 0, .7);
  --glow-moon: 0 0 120px 40px rgba(233, 237, 245, .06);
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-serif: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-sans: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

/* ===== 02 base typography ===== */
body {
  background: var(--bg-deep);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: clamp(15.5px, 0.22vw + 14.68px, 17.5px);
  line-height: 1.95;
  letter-spacing: .02em;
  font-feature-settings: "palt" 1;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: .01em;
  font-feature-settings: normal;
  text-wrap: balance;            /* 見出しの折返しを均等に。1〜2文字だけ落ちるのを防ぐ */
}
/* 日本語の孤立行（最終行が1〜2文字）対策。未対応ブラウザでは無視されるだけで害はない。 */
p, li, .card__text { text-wrap: pretty; }
strong { font-weight: 600; }
.nowrap { white-space: nowrap; }

/* ===== 03 focus ===== */
:focus-visible { outline: 2px solid var(--moon); outline-offset: 3px; }

/* ===== 04 layout utilities ===== */
.wrap { max-width: 1160px; padding-inline: clamp(20px, 5vw, 40px); margin-inline: auto; }
.measure { max-width: 720px; margin-inline: auto; }
.measure--wide { max-width: 880px; }
.prose p { margin-block: 0 clamp(24px, 2.6vw, 34px); color: var(--text-secondary); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text-primary); }

/* ===== 05 reveal アニメーション ===== */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js-reveal .reveal.is-visible { opacity: 1; transform: translateY(0); }
/* 外部JSが読み込めない／IOが止まる場合も、本文を2.6秒以上隠し続けない。 */
.js-reveal-fallback .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ===== 06 セクション外殻 & 背景トーン進行 ===== */
.sec { position: relative; padding-block: clamp(84px, 11vw, 168px); overflow: hidden; }
.sec__num {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: .78rem;
  letter-spacing: .3em;
  font-variant-numeric: tabular-nums;
  margin-bottom: clamp(14px, 1.6vw, 20px);
}
.sec__title { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.6; margin-bottom: clamp(32px, 3.6vw, 48px); }

/* 夜 → 影 → 月光 → 輪郭 → 神託 → 現実 */
.sec--night      { background: var(--bg-navy); }
.sec--shadow     { background: var(--bg-deep); }
.sec--cases      { background: var(--bg-section); }
.sec--exclude    { background: var(--bg-navy); }
.sec--deliver    { background: var(--bg-section); }
.sec--compare    { background: var(--bg-navy); }
.sec--philosophy { background: var(--bg-deep); }
.sec--flow       { background: var(--bg-section); }
.sec--remains    { background: var(--bg-navy); }
.sec--offer      { background: var(--bg-deep); }
.sec--capacity   { background: var(--bg-navy); }
.sec--faq        { background: var(--bg-section); }
.sec--final      { background: var(--bg-deep); }
.sec--notice     { background: var(--bg-void); }

/* ===== 07 月・霧・極細線の装飾レイヤー ===== */
.moon-stage { position: relative; isolation: isolate; }
.moon-stage__moon, .moon-stage__fog, .hero__moon, .hero__fog, .hero__stars,
.shadow-figure, .hairline, .panel__moon, .flow__icon, .sec__num { pointer-events: none; }

.moon-stage__moon {
  position: absolute; inset: 0; margin: auto; z-index: -2;
  width: min(46vw, 420px); aspect-ratio: 1; border-radius: 50%;
  opacity: .1; filter: blur(2px);
  background: radial-gradient(circle at 50% 50%, #FFFFFF 0%, var(--moon) 38%, rgba(200, 209, 229, .35) 62%, transparent 72%);
  transition: opacity 600ms var(--ease);
}
.moon-stage__fog {
  position: absolute; inset: -12% -10%; z-index: -1; filter: blur(40px);
  background:
    radial-gradient(ellipse 55% 38% at 22% 30%, rgba(200, 209, 229, .07), transparent 70%),
    radial-gradient(ellipse 48% 34% at 78% 68%, rgba(198, 166, 106, .04), transparent 70%);
  animation: fogDrift 55s ease-in-out infinite alternate;
}

/* s-offer: LP中で最も強い月光 */
.sec--offer .moon-stage__moon { opacity: .16; width: min(58vw, 520px); }
.sec--offer .moon-stage__fog { opacity: 1.1; }
/* s-philosophy: 大きな月光の余白 */
.sec--philosophy .moon-stage__moon { width: min(70vw, 640px); opacity: .07; filter: blur(6px); }
/* s-final: 最も静かな細い月 */
.sec--final .moon-stage__moon {
  /* 本文の真上に月が乗ると読めなくなるため、セクション上部へ逃がして光量も落とす */
  inset: clamp(44px, 6vw, 88px) 0 auto 0; margin: 0 auto;
  width: min(26vw, 170px); opacity: .34; background: none; filter: none;
  display: grid; place-items: center;
}
.sec--final .moon-stage__moon svg { width: 100%; height: auto; filter: drop-shadow(0 0 26px rgba(233, 237, 245, .28)); }
.sec--final .moon-stage__fog { opacity: .6; }

@keyframes fogDrift {
  from { transform: translate(0, 0); }
  to   { transform: translate(28px, -18px); }
}

.hairline {
  --hairline-w: 1px;
  --hairline-h: 64px;
  width: var(--hairline-w);
  height: var(--hairline-h);
  background: var(--gold-line);
  margin-inline: auto;
  margin-block: clamp(24px, 3vw, 40px);
}

/* ===== 07b 月デバイス（Hero=満月 / 影=半月 / Offer=凸月 / Final=三日月） =====
   同じ表面・同じ縁・同じ質感のまま、位相だけが変化していく。「影」の反復装置。 */
.tk-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.moon-device { display: block; width: 100%; height: auto; }
.moon-phase {
  position: absolute; left: 50%; transform: translateX(-50%);
  z-index: -1; pointer-events: none; line-height: 0;
}
.sec--offer .moon-phase { top: clamp(36px, 4.5vw, 76px); width: min(21vw, 132px); opacity: .62; }
.sec--final .moon-phase { top: clamp(40px, 5vw, 84px);  width: min(23vw, 148px); opacity: .5; }
.sec--offer .moon-phase .moon-device,
.sec--final .moon-phase .moon-device { filter: drop-shadow(0 0 26px rgba(200, 209, 229, .2)); }

/* ===== 08 CTA & ボタン ===== */
.cta { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; margin-top: clamp(40px, 4vw, 56px); }
.cta__note { color: var(--text-muted); font-size: .82rem; letter-spacing: .01em; max-width: 34em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 58px; padding-inline: clamp(32px, 6vw, 48px);
  width: min(100%, 340px);
  border-radius: 999px;
  background: linear-gradient(135deg, #D4BB82, #A88750);
  color: #090B11;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(15px, 1.4vw, 16.5px);
  letter-spacing: .06em;
  box-shadow: 0 0 0 1px rgba(198, 166, 106, .35), 0 18px 40px -22px rgba(198, 166, 106, .55);
  transition: transform 180ms var(--ease), filter 180ms var(--ease);
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn:focus-visible { outline: 2px solid var(--moon); outline-offset: 3px; }
@media (min-width: 768px) { .btn { min-height: 64px; } }

/* ===== 09 プライスカード（hero / offer / final 共通） ===== */
.price { position: relative; text-align: center; padding-block: clamp(20px, 2.4vw, 28px); }
.price::before, .price::after { content: ""; display: block; width: 120px; height: 1px; margin-inline: auto; background: var(--gold-line); }
.price::before { margin-bottom: clamp(16px, 2vw, 22px); }
.price::after  { margin-top: clamp(16px, 2vw, 22px); }
.price__brand { font-family: var(--font-serif); color: var(--moon); font-size: .88rem; letter-spacing: .14em; margin-bottom: clamp(10px, 1.4vw, 16px); }
.price__amount { font-family: var(--font-serif); color: var(--text-primary); }
.price__num { font-size: clamp(34px, 5vw, 52px); font-weight: 600; text-shadow: 0 0 40px rgba(233, 237, 245, .22); }
.price__unit { font-size: .95rem; margin-left: .4em; color: var(--text-secondary); }
/* s-offer のみ強調版 */
.price--emphasis::before, .price--emphasis::after { background: var(--gold); opacity: .75; }
.price--emphasis .price__num { text-shadow: 0 0 60px rgba(233, 237, 245, .4); }

/* ===== 10 HERO ===== */
.hero {
  position: relative; display: flex; align-items: center; overflow: hidden;
  min-height: 100vh; padding-block: clamp(196px, 26vh, 240px) clamp(72px, 11vw, 128px);
}
@supports (height: 100svh) {
  .hero { min-height: 100svh; }
}
.hero__sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__moon {
  position: absolute; left: 50%; top: clamp(92px, 11.5vh, 140px); transform: translate(-50%, -50%);
  width: min(38vw, 29vh, 216px); aspect-ratio: 1; line-height: 0;
  animation: moonPulse 11s ease-in-out infinite;
}
.hero__moon .moon-device { filter: drop-shadow(0 0 14px rgba(200, 209, 229, .16)); }
/* 月の外へ広がるにじみ。halo は月本体より必ず繊細に保つ。 */
.hero__moon::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 220%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle at 50% 50%, rgba(190, 202, 226, .07) 0%, rgba(180, 194, 222, .025) 38%, transparent 66%);
}
@keyframes moonPulse { 0%, 100% { opacity: .82; } 50% { opacity: .94; } }
.hero__fog {
  position: absolute; inset: -20% -10%; filter: blur(40px);
  background:
    radial-gradient(ellipse 52% 30% at 28% 72%, rgba(200, 209, 229, .07), transparent 70%),
    radial-gradient(ellipse 42% 28% at 76% 22%, rgba(198, 166, 106, .04), transparent 70%);
  animation: fogDrift 46s ease-in-out infinite alternate;
}
.hero__stars {
  position: absolute; inset: 0; opacity: .35;
  background-image:
    radial-gradient(1.6px 1.6px at 20% 26%, rgba(244, 241, 234, .8), transparent 60%),
    radial-gradient(1.2px 1.2px at 76% 16%, rgba(244, 241, 234, .7), transparent 60%),
    radial-gradient(1.6px 1.6px at 64% 56%, rgba(244, 241, 234, .6), transparent 60%);
  animation: starTwinkle 12s ease-in-out infinite;
}
@keyframes starTwinkle { 0%, 100% { opacity: .25; } 50% { opacity: .4; } }

.hero__inner { position: relative; z-index: 1; width: 100%; max-width: 900px; margin-inline: auto; text-align: center; }
.hero__brand { font-family: var(--font-serif); color: var(--moon-soft); letter-spacing: .28em; font-size: .85rem; margin-bottom: clamp(20px, 3vw, 28px); }
.hero__rule { width: 1px; height: 48px; background: var(--gold-line); margin-inline: auto; margin-bottom: clamp(24px, 3vw, 32px); }
.hero__title {
  font-size: clamp(24px, 6.4vw, 44px); line-height: 1.62; letter-spacing: 0;
  margin-bottom: clamp(28px, 3.4vw, 40px);
  text-shadow: 0 0 22px rgba(6, 8, 16, .9), 0 0 56px rgba(6, 8, 16, .65);
}
.hero__lede { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: clamp(32px, 4vw, 44px); }
.hero__inner .price, .hero__inner .cta { margin-inline: auto; }
.hero__scroll {
  position: absolute; left: 50%; bottom: clamp(20px, 4vw, 36px); transform: translateX(-50%);
  width: 1px; height: 40px; background: linear-gradient(var(--gold-line), transparent);
}

/* ===== 11 共通テキストコンポーネント ===== */
.qlines { display: flex; flex-direction: column; gap: clamp(14px, 1.8vw, 20px); margin-block: clamp(24px, 2.6vw, 34px); }
.qlines__item { position: relative; padding-left: 20px; color: var(--text-secondary); }
.qlines__item::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 1px; background: var(--gold-line); }

.stack-lines { display: flex; flex-direction: column; gap: .5em; margin-block: clamp(24px, 2.6vw, 34px); text-align: left; }

.em { color: var(--moon); font-weight: 600; }
.em--gold { color: var(--gold); font-weight: 600; letter-spacing: .08em; }

.dashlist { display: flex; flex-direction: column; gap: clamp(12px, 1.6vw, 18px); margin-block: clamp(24px, 2.6vw, 34px); }
.dashlist li { position: relative; padding-left: 26px; color: var(--text-secondary); }
.dashlist li::before { content: ""; position: absolute; left: 0; top: .9em; width: 14px; height: 1px; background: var(--gold-line); }

/* ===== 12 s-shadow（ブランドの心臓） ===== */
.shadow-figure {
  width: min(44vw, 286px); aspect-ratio: 1; line-height: 0;
  margin-inline: auto; margin-bottom: clamp(44px, 5.5vw, 72px);
  filter: drop-shadow(0 0 54px rgba(200, 209, 229, .14));
}
.shadow-figure svg, .shadow-figure img { width: 100%; height: 100%; }

.creed {
  position: relative; isolation: isolate;
  padding: clamp(48px, 6vw, 76px) clamp(8px, 3vw, 32px);
  margin-block: clamp(56px, 6.5vw, 88px);
}
/* 背後にごく淡い月光だけを置く。箱で囲わない。 */
.creed::marker { content: none; }
.creed > .creed__glow {
  position: absolute; inset: -12% -6%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 62% 58% at 50% 46%, rgba(200, 209, 229, .085), transparent 72%);
}
.creed::before, .creed::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: min(84%, 260px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line) 22%, var(--gold-line) 78%, transparent);
}
.creed::before { top: 0; }
.creed::after  { bottom: 0; }
.creed__line { font-family: var(--font-serif); font-size: clamp(18px, 2.2vw, 24px); line-height: 1.75; color: var(--text-primary); text-align: center; text-wrap: balance; }
.creed__line + .creed__line { margin-top: clamp(16px, 2vw, 24px); }

/* ===== 13 s-cases（editorial list：箱で囲わず、極細の罫と余白で並べる） ===== */
.entries { margin-block: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); }
.entry {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding: clamp(20px, 2.2vw, 26px) 0 clamp(20px, 2.2vw, 26px) 34px;
}
/* 行頭の小さな月。金ではなく月光で、装飾を1段静かにする。 */
.entry__mark {
  position: absolute; left: 6px; top: calc(clamp(20px, 2.2vw, 26px) + .98em);
  transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, var(--moon) 0%, var(--moon-soft) 54%, rgba(139, 150, 177, .5) 100%);
  opacity: .6;
}
.entry__text { color: var(--text-secondary); transition: color 220ms var(--ease); }
.entry:hover .entry__text { color: var(--text-primary); }
@media (min-width: 900px) {
  .entries { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 5vw, 72px); }
}

/* ===== 14 s-exclude（パネル） ===== */
.panel {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 40px);
  margin-block: clamp(32px, 3.6vw, 48px);
}
.panel--quiet { background: linear-gradient(180deg, rgba(22, 27, 44, .55), rgba(16, 21, 39, .25)); border-color: var(--line); }
.panel--quiet .dashlist { margin-block: 0; }
.panel__moon {
  position: absolute; top: clamp(18px, 2vw, 24px); right: clamp(18px, 2vw, 24px);
  width: 26px; height: 26px; opacity: .5;
}

/* ===== 15 s-deliver（タイムライン 01〜06） ===== */
.steps { position: relative; display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); margin-block: clamp(40px, 4.4vw, 56px); padding-left: 56px; }
.steps::before { content: ""; position: absolute; left: 27px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.step { position: relative; }
.step__marker { position: absolute; left: -56px; top: 2px; width: 56px; display: flex; justify-content: center; }
.step__num { font-family: var(--font-serif); color: var(--gold); font-size: .82rem; letter-spacing: .12em; }
.step__title { font-size: clamp(18px, 2vw, 22px); margin-bottom: .6em; }
.step__body p { color: var(--text-secondary); }

/* 05｜神託 だけ神秘性を一段上げる */
.step--oracle .step__body {
  position: relative;
  background: var(--bg-navy);
  background-image: radial-gradient(ellipse 80% 70% at 50% 25%, rgba(233, 237, 245, .06), transparent 72%);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px);
}
.step--oracle .step__body::before, .step--oracle .step__body::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 60%; height: 1px; background: var(--gold-line);
}
.step--oracle .step__body::before { top: 0; }
.step--oracle .step__body::after  { bottom: 0; }

@media (max-width: 359px) {
  .steps { padding-left: 0; }
  .steps::before { display: none; }
  .step__marker { position: static; width: auto; justify-content: flex-start; margin-bottom: 8px; }
}

/* ===== 16 s-compare（上下比較） ===== */
.panel--free { background: transparent; border-color: var(--line); }

.versus { display: flex; flex-direction: column; margin-block: clamp(32px, 3.6vw, 48px); }
.versus__row { padding: clamp(28px, 3.4vw, 36px); text-align: center; border: 1px solid var(--line); }
.versus__row p { color: inherit; }
.versus__row--free {
  background: var(--bg-section); color: var(--text-secondary);
  border-bottom: none; border-radius: var(--radius) var(--radius) 0 0;
}
.versus__row--paid {
  background: var(--bg-navy); color: var(--text-primary);
  border-top: none; border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: inset 0 30px 50px -40px rgba(200, 209, 229, .12);
}
.versus__sep { height: 1px; background: var(--gold-line); margin-inline: clamp(24px, 4vw, 60px); }

/* ===== 17 s-philosophy ===== */
.sec--philosophy .wrap { position: relative; z-index: 1; }
.pull {
  position: relative; text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.75;
  color: var(--text-primary);
  padding-block: clamp(40px, 5vw, 56px);
  margin-block: clamp(40px, 5vw, 56px);
}
.pull::before, .pull::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 80px; height: 1px; background: var(--gold-line);
}
.pull::before { top: 0; }
.pull::after  { bottom: 0; }

/* ===== 18 s-flow（editorial：箱をやめ、細いレールと番号・アイコンで進行を見せる） ===== */
.flow {
  position: relative; display: grid; grid-template-columns: 1fr;
  gap: 0; margin-block: clamp(40px, 4.4vw, 56px); padding-left: 34px;
}
/* 左を縦に通る、ごく淡い月光の線 */
.flow::before {
  content: ""; position: absolute; left: 11px; top: .8em; bottom: .8em; width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent);
  pointer-events: none;
}
.flow__item {
  position: relative; display: grid; grid-template-columns: auto 1fr;
  column-gap: 14px; row-gap: 4px; align-items: baseline;
  padding-block: clamp(20px, 2.2vw, 28px);
  border-bottom: 1px solid var(--line);
}
.flow__item:last-child { border-bottom: 0; }
/* レール上の節点 */
.flow__item::before {
  content: ""; position: absolute; left: -28px; top: calc(clamp(20px, 2.2vw, 28px) + .9em);
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: .6;
}
.flow__icon {
  grid-row: 1 / span 2; align-self: start; margin-top: .25em;
  width: 22px; height: 22px; color: var(--moon-soft); opacity: .55;
}
.flow__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.25; }
.flow__num {
  font-family: var(--font-serif); color: var(--gold);
  letter-spacing: .16em; font-size: .78rem; grid-column: 2;
}
.flow__text { color: var(--text-primary); grid-column: 2; }
.flow__note { color: var(--text-muted); font-size: .85rem; grid-column: 2; margin-top: 4px; }
@media (min-width: 900px) {
  .flow { grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 5vw, 72px); }
  .flow::before { display: none; }
  .flow__item::before { left: -28px; }
}

/* ===== 18b trust row（offerのprice/CTA間。本文に既出の条件を視覚的に再提示） ===== */
.trust {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 0 clamp(12px, 1.6vw, 18px);
  margin-top: clamp(20px, 2.4vw, 28px);
  color: var(--text-secondary); font-size: .84rem; letter-spacing: .02em; text-align: center;
}
.trust__item { position: relative; padding-block: 4px; }
.trust__item + .trust__item::before {
  content: "｜"; color: var(--line-strong); margin-right: clamp(12px, 1.6vw, 18px);
}
@media (max-width: 400px) { .trust { font-size: .8rem; gap: 0 10px; } .trust__item + .trust__item::before { margin-right: 10px; } }

/* ===== 19 s-faq ===== */
.faq { display: flex; flex-direction: column; margin-block: clamp(32px, 3.6vw, 48px); border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__btn {
  width: 100%; min-height: 56px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding-block: clamp(18px, 2vw, 22px); text-align: left;
}
.faq__q { margin: 0; font-size: inherit; font-weight: inherit; }
.faq__qtext { font-family: var(--font-serif); color: var(--text-primary); font-size: clamp(15.5px, 1.6vw, 17px); line-height: 1.7; }
.faq__icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--gold); transition: transform 240ms var(--ease);
}
.faq__icon::before { width: 14px; height: 1px; transform: translate(-50%, -50%); }
.faq__icon::after { width: 1px; height: 14px; transform: translate(-50%, -50%); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms var(--ease), visibility 0s linear 260ms;
}
.faq__panel-inner { min-height: 0; overflow: hidden; visibility: hidden; }
.faq__panel-inner p { padding-bottom: clamp(20px, 2.4vw, 28px); max-width: 680px; color: var(--text-secondary); }
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; transition: grid-template-rows 260ms var(--ease); }
.faq__item.is-open .faq__panel-inner { visibility: visible; transition: visibility 0s linear 0s; }

/* ===== 20 s-notice / footer ===== */
.sec--notice { padding-block: clamp(48px, 6vw, 72px); }
.sec--notice .prose { position: relative; padding-top: clamp(32px, 4vw, 40px); color: var(--text-legal); font-size: .9rem; }
.sec--notice .prose::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.sec--notice .prose p { color: var(--text-legal); }

.site-footer { background: var(--bg-void); padding-block: clamp(48px, 6vw, 64px); }
.site-footer__brand { text-align: center; font-family: var(--font-serif); color: var(--moon-soft); letter-spacing: .2em; font-size: .85rem; margin-bottom: clamp(24px, 3vw, 32px); }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: center; column-gap: clamp(16px, 2vw, 28px); row-gap: 0; margin-bottom: clamp(16px, 2vw, 24px); }
.site-footer__links a {
  display: inline-flex; align-items: center; min-height: 44px;   /* 指で押せる高さを確保 */
  color: var(--text-legal); font-size: .85rem;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms var(--ease), color 180ms var(--ease);
}
.site-footer__links a:hover { color: var(--text-secondary); border-color: var(--line); }
.site-footer__copy { text-align: center; color: var(--text-legal); font-size: .8rem; letter-spacing: .05em; }

/* ===== 21 prefers-reduced-motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js-reveal .reveal { opacity: 1; transform: none; }
}

/* ===== 22 print ===== */
@media print {
  /* 重要: これが無いと、印刷・PDF化の時点で画面外にあった .reveal 要素
     （ヒーローの価格とCTAを含む）が opacity:0 のまま出力されてしまう。 */
  .js-reveal .reveal { opacity: 1 !important; transform: none !important; }
  body { background: #fff; color: #000; }
  .hero__sky, .moon-stage__moon, .moon-phase, .moon-stage__fog,
  .hero__stars, .hero__scroll, .sec__num, .shadow-figure, .creed__glow { display: none; }
  .sec, .hero { padding-block: 24px; background: none; overflow: visible; min-height: 0; }
  h1, h2, h3, p, li, .entry__text, .flow__text, .creed__line { color: #000 !important; }
  .hero__title { text-shadow: none; }
  a { color: #000; text-decoration: underline; }
  .btn { background: none; color: #000; border: 1px solid #000; box-shadow: none; width: auto; }
  .trust__item, .cta__note { color: #333 !important; }
  .entry, .flow__item, .faq__item { break-inside: avoid; }
  .faq__panel { grid-template-rows: 1fr !important; }
  .faq__panel-inner { visibility: visible !important; }
}
