/* =============================================================
   ナイトボーイズチャット 公式ガイド  styles.css
   ── ゲイ専用アダルトライブチャットの高級ガイド（プロ仕様リデザイン）
   構成:
     1. フォント & デザイントークン（ダーク/ライト）
     2. リセット・ベース・背景演出（グロー/グレイン）
     3. 共通パーツ（ボタン・見出しキッカー・罫線）
     4. ヘッダー / 目次ドロワー / パンくず
     5. ヒーロー / 特徴カード
     6. カード・注意ボックス・用語注釈
     7. STEP・スクショ枠・注釈（赤枠/吹き出し）
     8. 料金テーブル・報酬フロー
     9. FAQ アコーディオン
    10. フッター
    11. ライトボックス
    12. アニメーション
    13. レスポンシブ
   ============================================================= */

/* ---------- 1. フォント & デザイントークン ---------- */
:root {
  --font-serif:   "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-sans:    "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;

  /* 金の箔押しグラデーション */
  --gold:         #c6a15b;
  --gold-bright:  #f0d79b;
  --gold-deep:    #8a6a34;
  --grad-gold:    linear-gradient(103deg, #f6e7b6 0%, #d9b876 26%, #b98f45 52%, #f0d79b 74%, #a97e3c 100%);
  --pink:         #ff4da3;
  --purple:       #9b6bff;

  /* ダーク（既定） */
  --bg:        #040507;
  --bg-navy:   #080d18;
  --surface:   #0c1322;
  --surface-2: #111a2c;
  --border:    rgba(255,255,255,.09);
  --border-gold: rgba(198,161,91,.34);
  --text:      #f4efe4;
  --text-soft: #cfc8ba;
  --text-muted:#8f8a7e;
  --shadow:    0 24px 60px -20px rgba(0,0,0,.7);
  --shadow-sm: 0 10px 30px -12px rgba(0,0,0,.6);
  --radius:    18px;
  --radius-lg: 26px;
  --maxw:      1040px;
  --readw:     920px;
  --header-h:  62px;
}

:root[data-theme="light"] {
  --bg:        #f7f2e8;
  --bg-navy:   #efe7d6;
  --surface:   #fffdf8;
  --surface-2: #f6efe1;
  --border:    rgba(60,45,20,.14);
  --border-gold: rgba(150,116,52,.4);
  --text:      #211b12;
  --text-soft: #4a4235;
  --text-muted:#847a63;
  --gold-bright:#a67c2e;
  --shadow:    0 22px 50px -22px rgba(90,70,30,.28);
  --shadow-sm: 0 10px 26px -14px rgba(90,70,30,.22);
}

/* ---------- 2. リセット・ベース ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-bright); text-decoration: none; }
strong { font-weight: 700; color: var(--text); }

/* 背景：多層グロー + ヴィネット + 微細グレイン */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(48% 34% at 82% -2%, rgba(155,107,255,.16), transparent 60%),
    radial-gradient(42% 32% at 4% 12%, rgba(255,77,163,.12), transparent 60%),
    radial-gradient(60% 40% at 50% 100%, rgba(198,161,91,.10), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-navy) 55%, var(--bg) 100%);
}
body::after { /* グレイン（紙質感） */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .045;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="light"] body::after { opacity: .5; mix-blend-mode: multiply; }

/* ---------- 3. 共通パーツ ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { max-width: var(--readw); margin: 0 auto; padding: 68px 20px 8px; scroll-margin-top: var(--header-h); }

/* 見出しキッカー：番号 + 英字ラベル（編集的） */
main { counter-reset: sec; }
.eyebrow {
  counter-increment: sec;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: .32em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.eyebrow::before {
  content: counter(sec, decimal-leading-zero);
  font-size: 1.15rem; letter-spacing: 0; color: var(--gold-bright);
  padding-right: 12px; border-right: 1px solid var(--border-gold);
}

.section-title, h1, .card h3, .step-head h3 {
  font-family: var(--font-serif);
}
.section-title {
  font-size: clamp(1.6rem, 6vw, 2.35rem); font-weight: 800; line-height: 1.4;
  letter-spacing: .02em; color: var(--text);
}
.section-title .accent {
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gold-line {
  position: relative; width: 100%; max-width: 240px; height: 1px; margin: 20px 0 26px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.gold-line::before {
  content: ""; position: absolute; left: 0; top: -3.5px; width: 8px; height: 8px;
  background: var(--grad-gold); transform: rotate(45deg); box-shadow: 0 0 12px rgba(240,215,155,.6);
}
.lead-block { color: var(--text-soft); margin: 2px 0 10px; font-size: 1.02rem; }

/* ボタン：ピル + 箔グラデ + 光沢スイープ */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 700; font-size: 1rem; letter-spacing: .04em;
  padding: 15px 30px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease; text-align: center; isolation: isolate;
}
.btn::after { /* シャイン */
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn:hover::after { left: 130%; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--grad-gold); color: #241a08; box-shadow: 0 12px 32px -10px rgba(217,184,118,.65); }
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(217,184,118,.85); transform: translateY(-2px); }
.btn-cast { background: linear-gradient(115deg, var(--pink), var(--purple)); color: #fff; box-shadow: 0 12px 32px -10px rgba(255,77,163,.6); }
.btn-cast:hover { box-shadow: 0 16px 40px -10px rgba(255,77,163,.8); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-gold); }

/* ---------- 4. ヘッダー / 目次 / パンくず ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 18px; gap: 12px;
  background: rgba(4,5,7,.62); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
:root[data-theme="light"] .site-header { background: rgba(255,253,248,.72); }
.site-header .logo { height: 40px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border-gold);
  background: var(--surface); color: var(--text); font-size: 1.05rem; cursor: pointer;
  display: grid; place-items: center; transition: background .2s, border-color .2s, transform .15s;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--gold); transform: translateY(-1px); }

.toc-panel {
  position: fixed; top: 0; right: 0; z-index: 200; height: 100dvh; width: min(86vw, 350px);
  background: linear-gradient(180deg, var(--bg-navy), var(--bg)); border-left: 1px solid var(--border-gold);
  transform: translateX(100%); transition: transform .38s cubic-bezier(.4,0,.2,1); overflow-y: auto;
  padding: 22px 20px 44px; box-shadow: var(--shadow);
}
.toc-panel.open { transform: translateX(0); }
.toc-panel h2 { font-family: var(--font-serif); font-size: 1.15rem; color: var(--gold-bright); margin-bottom: 18px; letter-spacing: .04em; }
.toc-panel ol { list-style: none; counter-reset: toc; }
.toc-panel li { counter-increment: toc; }
.toc-panel a {
  display: flex; gap: 12px; align-items: baseline; color: var(--text-soft);
  padding: 11px 12px; border-radius: 12px; font-size: .96rem; transition: background .2s, color .2s;
}
.toc-panel a::before {
  content: counter(toc, decimal-leading-zero); font-family: var(--font-display);
  color: var(--gold); font-size: .95rem; font-weight: 600; min-width: 24px; letter-spacing: .05em;
}
.toc-panel a:hover, .toc-panel a.active { background: var(--surface); color: var(--gold-bright); }
.toc-close { position: absolute; top: 15px; right: 15px; }
.overlay { position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,.66); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: .34s; }
.overlay.show { opacity: 1; visibility: visible; }

.breadcrumb { max-width: var(--readw); margin: 0 auto; padding: 14px 20px 0; font-family: var(--font-display); font-size: .92rem; letter-spacing: .06em; color: var(--text-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; }
.breadcrumb li::after { content: "／"; margin-left: 8px; color: var(--border-gold); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb li:last-child span { color: var(--gold); }

/* ---------- 5. ヒーロー / 特徴 ---------- */
.hero { position: relative; text-align: center; max-width: var(--readw); margin: 0 auto; padding: 34px 20px 26px; }
.hero-ribbon {
  display: inline-block; font-family: var(--font-display); font-weight: 600; letter-spacing: .35em;
  font-size: .92rem; color: var(--gold-bright); padding: 4px 4px 4px 6px; margin-bottom: 6px;
  border-top: 1px solid var(--border-gold); border-bottom: 1px solid var(--border-gold);
}
.badge-18 {
  display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .03em;
  color: var(--pink); border: 1px solid rgba(255,77,163,.55); border-radius: 999px; padding: 5px 14px; margin: 14px 0 20px;
  background: rgba(255,77,163,.08);
}
.hero-kicker { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.hero h1 {
  font-family: var(--font-serif); font-size: clamp(2.1rem, 9vw, 3.4rem); line-height: 1.32; font-weight: 800; letter-spacing: .02em;
  color: var(--text);
}
.hero h1 .hl { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-brand-name { font-family: var(--font-display); letter-spacing: .18em; color: var(--text-muted); margin-top: 16px; font-size: 1rem; }
.hero .lead { color: var(--text-soft); font-size: 1.04rem; margin: 18px auto 4px; max-width: 40ch; }
.hero-cta { display: flex; flex-direction: column; gap: 13px; margin: 28px auto 0; max-width: 360px; }

.hero-phone-wrap { position: relative; margin: 38px auto 0; max-width: 244px; }
.hero-phone-wrap::before {
  content: ""; position: absolute; inset: -14% -8% -4%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(198,161,91,.28), transparent 72%); filter: blur(6px);
}
.hero-phone { margin: 0 auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); }

.features { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 10px; }
.feature {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 22px; display: flex; gap: 16px; align-items: flex-start; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feature::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad-gold); opacity: .0; transition: opacity .25s; }
.feature:hover { transform: translateY(-4px); border-color: var(--border-gold); box-shadow: var(--shadow-sm); }
.feature:hover::before { opacity: 1; }
.feature .fi {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; background: linear-gradient(160deg, var(--surface-2), rgba(198,161,91,.10));
  border: 1px solid var(--border-gold);
}
.feature h3 { font-family: var(--font-serif); font-size: 1.1rem; color: var(--gold-bright); margin-bottom: 5px; }
.feature p { font-size: .92rem; color: var(--text-muted); }

/* ---------- 6. カード・注意・用語 ---------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; margin: 16px 0; box-shadow: var(--shadow-sm);
}
.card h3 { font-family: var(--font-serif); color: var(--gold-bright); font-size: 1.18rem; margin-bottom: 12px; display: flex; gap: 9px; align-items: center; letter-spacing: .02em; }
.card ul.checklist li { position: relative; padding-left: 28px; margin: 9px 0; font-size: .98rem; color: var(--text-soft); }
.card ul.checklist li::before {
  content: ""; position: absolute; left: 4px; top: .55em; width: 8px; height: 8px; transform: rotate(45deg);
  background: var(--grad-gold);
}

.term { border-bottom: 1px dotted var(--gold); cursor: help; color: var(--gold-bright); }
.term-note { display: block; font-size: .85rem; color: var(--text-muted); background: var(--surface-2); border-left: 2px solid var(--purple); padding: 10px 14px; border-radius: 10px; margin: 12px 0; }

.notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; margin: 16px 0; font-size: .94rem; color: var(--text-soft); }
.notice .ni { font-size: 1.25rem; line-height: 1.4; }
.notice.info { background: rgba(155,107,255,.10); border: 1px solid rgba(155,107,255,.4); }
.notice.warn { background: rgba(255,77,163,.10); border: 1px solid rgba(255,77,163,.4); }
.notice.soon { background: rgba(198,161,91,.10); border: 1px solid var(--border-gold); }

/* ---------- 7. STEP・スクショ枠・注釈 ---------- */
.steps { display: grid; gap: 24px; margin-top: 24px; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow-sm); transition: border-color .25s;
}
.step:hover { border-color: var(--border-gold); }
.step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.step-num {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 16px; position: relative;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: #241a08;
  background: var(--grad-gold); box-shadow: 0 10px 24px -8px rgba(217,184,118,.6);
}
.step.cast .step-num { background: linear-gradient(150deg, var(--pink), var(--purple)); color: #fff; box-shadow: 0 10px 24px -8px rgba(255,77,163,.55); }
.step-head h3 { font-family: var(--font-serif); font-size: 1.22rem; color: var(--text); letter-spacing: .02em; }
.step-body { display: grid; gap: 18px; }
.step p { font-size: .98rem; color: var(--text-soft); }

.shot { position: relative; margin: 8px auto 0; max-width: 264px; }
.shot-frame {
  position: relative; border-radius: 34px; padding: 9px; background: #05070d;
  border: 1px solid #1c2740; box-shadow: 0 18px 40px -14px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.04);
}
:root[data-theme="light"] .shot-frame { background: #17130c; border-color: #2a2417; }
.shot-frame::before { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 80px; height: 6px; border-radius: 6px; background: #26334d; z-index: 3; }
.shot-frame img { border-radius: 26px; cursor: zoom-in; }
.shot figcaption { text-align: center; font-size: .85rem; color: var(--text-muted); margin-top: 12px; font-family: var(--font-display); letter-spacing: .08em; }
.shot .zoom-hint { position: absolute; right: 15px; bottom: 15px; background: rgba(0,0,0,.62); color: #fff; font-size: .7rem; padding: 3px 9px; border-radius: 999px; z-index: 4; }

.shot.placeholder .shot-frame { box-shadow: 0 18px 40px -14px rgba(0,0,0,.7), inset 0 0 0 1.5px var(--gold-deep); }
.shot.placeholder::after {
  content: "スクショ差替え可"; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  font-size: .66rem; color: var(--gold-bright); background: rgba(0,0,0,.6); padding: 2px 9px; border-radius: 999px; z-index: 5; letter-spacing: .04em;
}

.annot { position: absolute; z-index: 6; pointer-events: none; }
.annot-box { border: 2.5px solid var(--pink); border-radius: 12px; box-shadow: 0 0 0 3px rgba(255,77,163,.22); animation: pulseBox 1.9s ease-in-out infinite; }
.annot-callout {
  background: var(--grad-gold); color: #241a08; font-size: .72rem; font-weight: 700; padding: 5px 11px;
  border-radius: 9px; white-space: nowrap; box-shadow: 0 6px 14px -4px rgba(0,0,0,.5);
}
.annot-callout::after { content: ""; position: absolute; width: 0; height: 0; }
.annot-callout.down::after { bottom: -7px; left: 18px; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 8px solid #d9b876; }
.annot-callout.up::after   { top: -7px; left: 18px; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 8px solid #f6e7b6; }

/* ---------- 8. 料金テーブル・報酬フロー ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border-gold); margin: 18px 0; -webkit-overflow-scrolling: touch; }
table.price { width: 100%; border-collapse: collapse; min-width: 480px; font-size: .95rem; }
table.price th, table.price td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
table.price thead th { background: linear-gradient(180deg, var(--surface-2), var(--surface)); color: var(--gold); font-family: var(--font-serif); font-weight: 700; letter-spacing: .04em; }
table.price tbody tr:last-child td { border-bottom: none; }
table.price tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }
:root[data-theme="light"] table.price tbody tr:nth-child(even) { background: rgba(0,0,0,.02); }
table.price td .price-tag { color: var(--gold-bright); font-weight: 700; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .03em; }

.flow { display: grid; gap: 12px; margin: 20px 0; }
.flow-step { display: flex; align-items: center; gap: 15px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 15px 17px; transition: border-color .25s; }
.flow-step:hover { border-color: var(--border-gold); }
.flow-step .fnum { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--gold-bright); font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; border: 1px solid var(--border-gold); }
.flow-step .ftext strong { color: var(--text); }
.flow-step .ftext span { color: var(--text-muted); font-size: .9rem; }
.flow .arrow { text-align: center; color: var(--gold); font-size: 1rem; line-height: 0; }

/* ---------- 9. FAQ ---------- */
.faq-list { display: grid; gap: 12px; margin-top: 22px; }
.faq { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color .25s; }
.faq.open { border-color: var(--border-gold); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--text);
  font-family: var(--font-sans); font-size: 1rem; font-weight: 700; padding: 18px 48px 18px 50px; cursor: pointer; position: relative; line-height: 1.65;
}
.faq-q::before { content: "Q"; position: absolute; left: 18px; top: 16px; color: var(--gold); font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }
.faq-q::after { content: "＋"; position: absolute; right: 18px; top: 17px; color: var(--gold); transition: transform .3s; }
.faq.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .38s ease; }
.faq-a-inner { padding: 0 20px 18px 50px; color: var(--text-muted); font-size: .95rem; position: relative; }
.faq-a-inner::before { content: "A"; position: absolute; left: 18px; top: -2px; color: var(--pink); font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }

/* ---------- 10. フッター ---------- */
.site-footer { margin-top: 64px; border-top: 1px solid var(--border-gold); background: linear-gradient(180deg, transparent, rgba(0,0,0,.35)); padding: 42px 0 56px; }
.site-footer .container { max-width: var(--readw); display: grid; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 44px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--text-muted); font-size: .92rem; transition: color .2s; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-note { font-size: .8rem; color: var(--text-muted); line-height: 1.9; }

/* ---------- 11. ライトボックス ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 26px; opacity: 0; visibility: hidden; transition: .25s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.7); }
.lightbox .lb-close { position: absolute; top: 20px; right: 20px; font-size: 1.5rem; }
.lightbox .lb-cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #fff; font-size: .92rem; font-family: var(--font-display); letter-spacing: .08em; }

/* ---------- 12. アニメーション ---------- */
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pulseBox { 0%,100% { box-shadow: 0 0 0 3px rgba(255,77,163,.22); } 50% { box-shadow: 0 0 0 7px rgba(255,77,163,.06); } }
.hero-phone { animation: floatY 4.4s ease-in-out infinite; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .09s; }
.reveal.d2 { transition-delay: .18s; }
.reveal.d3 { transition-delay: .27s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 13. レスポンシブ ---------- */
@media (min-width: 640px) {
  .features { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: row; justify-content: center; max-width: none; }
  .hero-cta .btn { flex: 0 1 260px; }
}
@media (min-width: 900px) {
  body { font-size: 17px; }
  .hero { padding-top: 48px; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .step-body { grid-template-columns: 1fr 288px; align-items: center; }
  .step.reverse .step-body { grid-template-columns: 288px 1fr; }
  .step.reverse .shot { order: -1; }
  .shot { max-width: 288px; }
}
