/* =========================================================
   AIO Strategy LP — v4 “HUD” layer
   Apple-like motion × SF HUD. 白ベース・蛍光ピンク・ラウくんMC
   style.css の上に重ねて読み込みます。
   ========================================================= */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --col: 520px;
  --rail: 104px;
  --glass: rgba(255, 255, 255, .7);
  --glass-hi: rgba(255, 255, 255, .86);
  --glass-line: rgba(255, 255, 255, .95);
  --hud-line: rgba(220, 0, 120, .34);
  --hud-ink: #141016;
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-io: cubic-bezier(.65, 0, .35, 1);
  --e-spring: cubic-bezier(.34, 1.56, .64, 1);
  --sh-glass: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 0 0 1px rgba(40, 20, 50, .06), 0 10px 30px rgba(40, 20, 50, .08);
}

.backdrop { background: url("../img/bg-body.jpg") center / cover no-repeat; }

/* =========================================================
   1. CTA — glass × metallic
   ========================================================= */
.btn { isolation: isolate; border: 0; transition: transform .3s var(--e-out), box-shadow .3s var(--e-out), background-color .3s; -webkit-tap-highlight-color: transparent; }
.btn::after {
  content: ""; position: absolute; inset: -3px; z-index: -1; border-radius: inherit; padding: 3px;
  background: conic-gradient(from var(--ang), transparent 0deg 200deg, rgba(255, 60, 170, .0) 200deg, rgba(255, 60, 170, .75) 318deg, #fff 350deg, rgba(255, 255, 255, 0) 360deg);
  filter: drop-shadow(0 0 5px rgba(255, 60, 170, .85));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; pointer-events: none;
}
.btn:hover::after, .btn:focus-visible::after { opacity: 1; animation: ring-run .9s var(--e-io) both; }
@keyframes ring-run { from { --ang: 0deg; } to { --ang: 360deg; } }

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #FF52B4 0%, #E8008A 46%, #C4006C 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 6px rgba(110, 0, 50, .28), 0 1px 2px rgba(120, 0, 60, .25), 0 12px 28px rgba(220, 0, 120, .3);
}
.btn-primary::before {
  content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .14) 42%, rgba(255, 255, 255, 0) 52%),
              radial-gradient(120% 140% at 50% 120%, rgba(255, 170, 220, .45), transparent 60%);
}
.btn-primary:hover { background: linear-gradient(180deg, #FF62BC 0%, #F0068F 46%, #CC0070 100%); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 6px rgba(110, 0, 50, .28), 0 2px 4px rgba(120, 0, 60, .25), 0 18px 36px rgba(220, 0, 120, .38); }
.btn-primary:active { transform: translateY(0) scale(.975); transition-duration: .12s; }

.btn-ghost {
  color: var(--hud-ink); border: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(246, 244, 248, .78));
  box-shadow: inset 0 0 0 1.5px rgba(20, 16, 22, .82), inset 0 2px 0 rgba(255, 255, 255, .9), 0 8px 22px rgba(40, 20, 50, .08);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-ghost:hover { border: 0; transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--pink), inset 0 2px 0 #fff, 0 12px 26px rgba(220, 0, 120, .14); color: var(--pink); }
.btn-ghost:active { transform: scale(.975); }

/* 矢印：スライドして入れ替わる */
.ico-arrow { overflow: hidden; background: rgba(255, 255, 255, .96); box-shadow: 0 2px 6px rgba(120, 0, 60, .25); }
.ico-arrow::before, .ico-arrow::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -4px 0 0 -5.5px;
  border-top: 2px solid var(--pink); border-right: 2px solid var(--pink); transform: rotate(45deg);
  transition: transform .34s var(--e-out), opacity .34s;
}
.ico-arrow::before { transform: translateX(-16px) rotate(45deg); opacity: 0; }
.btn:hover .ico-arrow::after, a:hover > .ico-arrow::after { transform: translateX(16px) rotate(45deg); opacity: 0; }
.btn:hover .ico-arrow::before, a:hover > .ico-arrow::before { transform: translateX(0) rotate(45deg); opacity: 1; }
.btn-primary:hover .ico-arrow::after { left: 50%; }
.btn-ghost .ico-arrow { width: 28px; height: 28px; background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; margin-left: 4px; }
.btn-ghost .ico-arrow::before, .btn-ghost .ico-arrow::after { border-color: currentColor; }

/* クリック：エネルギーが収束 */
.btn-burst { position: absolute; left: var(--bx, 50%); top: var(--by, 50%); width: 0; height: 0; pointer-events: none; z-index: 2; }
.btn-burst i { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.btn-burst .r1 { width: 260px; height: 260px; border: 2px solid rgba(255, 92, 190, .9); box-shadow: 0 0 24px rgba(255, 60, 170, .6), inset 0 0 18px rgba(255, 255, 255, .7); animation: converge .42s var(--e-io) forwards; }
.btn-burst .r2 { width: 160px; height: 160px; border: 1px solid rgba(255, 255, 255, .9); animation: converge .42s .05s var(--e-io) forwards; opacity: 0; }
.btn-burst .core { width: 10px; height: 10px; background: #fff; box-shadow: 0 0 18px 8px rgba(255, 120, 200, .9); animation: core .5s .26s var(--e-out) both; }
@keyframes converge { 0% { transform: translate(-50%, -50%) scale(1); opacity: 0; } 25% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(0); opacity: .9; } }
@keyframes core { 0% { transform: translate(-50%, -50%) scale(0); opacity: 1; } 40% { transform: translate(-50%, -50%) scale(2.2); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(5); opacity: 0; } }

.sticker { background: var(--hud-ink); color: #fff; }

.btn-sm { min-height: 46px; padding: 0 18px 0 22px; font-size: 14px; gap: 10px; }
.btn-sm .ico-arrow { width: 22px; height: 22px; }

/* FV の大きいCTA（PDFサムネつき） */
.btn-xl { min-height: 76px; padding: 0 128px 0 30px; justify-content: flex-start; gap: 16px; border-radius: 22px; }
.btn-xl .btn-label { display: grid; gap: 2px; text-align: left; font-size: 18px; line-height: 1.25; letter-spacing: .06em; }
.btn-xl .btn-label small { font-family: var(--f-body); font-weight: 500; font-size: 11.5px; letter-spacing: .08em; opacity: .82; }
.btn-xl .ico-arrow { width: 34px; height: 34px; margin-left: auto; }
.btn-thumb { position: absolute; right: -18px; top: 50%; width: 112px; transform: translateY(-50%) rotate(7deg); border-radius: 10px; padding: 5px; background: rgba(255, 255, 255, .72); box-shadow: 0 0 0 1px rgba(255, 255, 255, .95), 0 14px 28px rgba(40, 20, 50, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .5s var(--e-out); }
.btn-thumb img { border-radius: 6px; width: 100%; }
.btn-thumb em { position: absolute; right: 8px; top: -9px; padding: 1px 7px; border-radius: 5px; background: #6E6873; color: #fff; font-style: normal; font-family: var(--f-latin); font-weight: 700; font-size: 10px; letter-spacing: .08em; }
.btn-xl:hover .btn-thumb { transform: translateY(-56%) rotate(3deg) scale(1.04); }

/* =========================================================
   2. メニュー：円形コントローラー
   ========================================================= */
.menu-btn {
  width: 60px; height: 60px; gap: 0; overflow: visible;
  background: radial-gradient(circle at 50% 30%, #3E3742 0%, #18131B 62%, #0E0B10 100%);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .55), 0 0 0 6px rgba(255, 255, 255, .95), 0 0 0 7px rgba(40, 20, 50, .08), 0 14px 30px rgba(20, 10, 30, .28), inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -6px 14px rgba(0, 0, 0, .45);
  transition: transform .3s var(--e-out), box-shadow .3s;
}
.menu-btn:hover { transform: scale(1.05); }
.menu-btn .mb-ring { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); fill: none; pointer-events: none; }
.menu-btn .mb-outer circle { stroke: rgba(220, 0, 120, .28); stroke-width: 1; }
.menu-btn .mb-outer .tick { stroke: var(--pink); stroke-width: 2.4; stroke-dasharray: 2 9.6; stroke-linecap: round; opacity: .7; }
.menu-btn .mb-inner { inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); }
.menu-btn .mb-inner circle { stroke: rgba(255, 255, 255, .0); }
.menu-btn .mb-inner path { stroke: var(--pink); stroke-width: 2; stroke-linecap: round; }
.menu-btn .mb-outer { animation: spin 18s linear infinite; }
.menu-btn:hover .mb-outer { animation-duration: 6s; }
@keyframes spin { to { transform: rotate(360deg); } }
.menu-btn .mb-core { display: grid; gap: 5px; width: auto; height: auto; background: none; border-radius: 0; transform: none !important; opacity: 1 !important; place-items: center; }
.menu-btn .mb-core span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .45s var(--e-out), opacity .2s, width .3s; }
.menu-btn .mb-core span:nth-child(2) { width: 14px; justify-self: end; background: var(--pink); box-shadow: 0 0 8px rgba(255, 60, 170, .9); }
.menu-btn[aria-expanded="true"] .mb-core span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .mb-core span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn[aria-expanded="true"] .mb-core span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-btn[aria-expanded="true"] { box-shadow: 0 0 0 5px rgba(255, 220, 240, .7), 0 0 0 6px var(--pink), 0 0 26px rgba(255, 60, 170, .55), 0 14px 30px rgba(20, 10, 30, .28), inset 0 1px 0 rgba(255, 255, 255, .28); }
.menu-label { position: fixed; z-index: 80; display: none; font-family: var(--f-latin); font-weight: 600; font-size: 10px; letter-spacing: .3em; color: var(--fg-3); margin: 0; }

/* ナビゲーションパネル */
.drawer-scrim { background: rgba(28, 16, 34, .16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.drawer-panel.hud-panel {
  top: 14px; right: 14px; bottom: 14px; left: auto; width: min(480px, calc(100vw - 28px));
  padding: 26px 26px 24px; gap: 18px; border-radius: 30px;
  background: rgba(255, 255, 255, .84); border: 1px solid #fff;
  -webkit-backdrop-filter: blur(28px) saturate(1.5); backdrop-filter: blur(28px) saturate(1.5);
  box-shadow: 0 30px 80px rgba(30, 10, 40, .22), inset 0 1px 0 #fff;
  transform: none; clip-path: circle(0px at calc(100% - 48px) 48px);
  transition: clip-path .7s var(--e-out);
}
.drawer.is-open .drawer-panel.hud-panel { clip-path: circle(160% at calc(100% - 48px) 48px); }
.hud-panel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(20, 10, 30, .022) 0 1px, transparent 1px 4px); }
.hp-head { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; padding-right: 74px; font-family: var(--f-latin); font-size: 10.5px; font-weight: 600; letter-spacing: .24em; color: var(--fg-3); }
.hp-sys { display: inline-flex; align-items: center; gap: 8px; color: var(--pink); }
.hp-sys i { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.hp-rau { display: flex; align-items: center; gap: 12px; }
.hp-rau img { width: 62px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .18)); }
.hp-rau p { position: relative; padding: 9px 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--pink); font-weight: 700; font-size: 13.5px; }
.hp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.drawer-nav.hp-list a { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; padding: 9px 12px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(40, 20, 50, .07); font-size: 13px; line-height: 1.35; transition: background-color .25s, box-shadow .25s, transform .25s var(--e-out); }
.drawer-nav.hp-list a:hover { color: inherit; background: #fff; box-shadow: inset 0 0 0 1px var(--hud-line), 0 6px 16px rgba(220, 0, 120, .1); transform: translateX(2px); }
.hp-n { font-family: var(--f-latin); font-weight: 700; font-size: 11px; color: var(--pink); letter-spacing: .06em; }
.hp-list b { font-weight: 700; font-family: var(--f-body); }
.hp-list em { grid-column: 2; font-style: normal; font-family: var(--f-latin); font-size: 9.5px; font-weight: 600; letter-spacing: .14em; color: var(--fg-3); }
.hp-list a.is-now { background: #fff; box-shadow: inset 0 0 0 1.5px var(--pink), 0 6px 18px rgba(220, 0, 120, .14); }
.hp-list a.is-now::after { content: "NOW"; position: absolute; right: 10px; top: 9px; font-family: var(--f-latin); font-weight: 700; font-size: 9px; letter-spacing: .14em; color: var(--pink); }
.drawer-cta { gap: 10px; }
.drawer-cta .btn { min-height: 52px; }

/* =========================================================
   3. 英語見出し：信号の復号＋スキャンライン
   ========================================================= */
.sec-en { position: relative; display: inline-block; justify-self: start; }
.sec-en::after {
  content: ""; position: absolute; left: -2px; right: -2px; top: 56%; bottom: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .62) 0 1px, transparent 1px 3.5px);
}
.sec-en::before {
  content: ""; position: absolute; left: -6px; right: -6px; top: 0; height: 2px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--pink) 30%, #fff 50%, var(--pink) 70%, transparent);
  box-shadow: 0 0 12px rgba(255, 60, 170, .8);
}
.sec-en.is-decoding::before { animation: scanbar .75s var(--e-io) forwards; }
@keyframes scanbar { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.sec-en .glitch { color: var(--pink); opacity: .75; }

/* =========================================================
   4. カードUI：グラス＋細い発光ライン／順次読み込み／反応
   ========================================================= */
.card, .issue, .step, .faq details, .whys li, .process li > div, .opts li, .plan, .how li > div, .cycle li, .goals li, .chips li, .form-panel, .versus {
  --hl: 0%;
  background: linear-gradient(90deg, transparent, rgba(220, 0, 120, .7) 50%, transparent) top center / var(--hl) 1px no-repeat, rgba(255, 255, 255, .8);
  border: 0; box-shadow: var(--sh-glass);
  transition: background-size .9s var(--e-out), box-shadow .3s var(--e-out), transform .3s var(--e-out);
}
.is-loaded { --hl: 86%; }
.card.is-loaded, .issue.is-loaded, .step.is-loaded, .plan.is-loaded, .form-panel.is-loaded { background-size: 86% 1px, auto; }
.card, .issue, .step, .faq details, .whys li, .process li > div, .opts li, .plan, .how li > div, .cycle li, .goals li, .form-panel, .versus { background-size: var(--hl) 1px, auto; }
.issue:hover, .opts li:hover, .whys li:hover { box-shadow: 0 1px 0 #fff inset, 0 0 0 1px var(--hud-line), 0 14px 30px rgba(220, 0, 120, .1); }
.issue:has(input:checked) { background-color: #FFF6F7; box-shadow: 0 1px 0 #fff inset, 0 0 0 1.5px var(--red), 0 10px 26px rgba(229, 72, 77, .14); }
.checks label { background: rgba(255, 255, 255, .85); border: 0; box-shadow: inset 0 0 0 1px rgba(40, 20, 50, .08); }
.checks label:has(input:checked) { background: #FFF2F9; box-shadow: inset 0 0 0 1.5px var(--pink), 0 6px 16px rgba(220, 0, 120, .12); }
.price-card.is-key, .plan { box-shadow: var(--sh-glass), 0 0 0 1.5px var(--pink), 0 16px 34px rgba(220, 0, 120, .14); }
.one-free { box-shadow: var(--sh-glass); border: 1.5px dashed var(--pink); }

/* 選択時のシステム反応 */
.sys-ping { animation: sys-ping .7s var(--e-out); }
@keyframes sys-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 60, 170, .55), var(--sh-glass); } 100% { box-shadow: 0 0 0 14px rgba(255, 60, 170, 0), var(--sh-glass); } }
.sys-tag { position: absolute; right: 12px; top: -10px; z-index: 3; padding: 2px 9px; border-radius: 6px; background: var(--hud-ink); color: #fff; font-family: var(--f-latin); font-weight: 700; font-size: 10px; letter-spacing: .16em; pointer-events: none; white-space: nowrap; box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 6px 14px rgba(0, 0, 0, .18); }
.sys-tag::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 8px var(--pink); vertical-align: 1px; }
.issue, .checks label, .pick label { position: relative; }

/* =========================================================
   FV（右カード上部）
   ========================================================= */
.fv-eyebrow { font-weight: 700; letter-spacing: .32em; }
.fv-title em { text-shadow: none; }
.fv-points { gap: 10px; }
.fv-points li { padding: 0; border: 0; background: none; }
.fv-points li::before { content: none; }
.fv-points a {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; align-items: center; gap: 14px;
  padding: 8px 16px 8px 8px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14.5px;
  background: rgba(255, 255, 255, .82); box-shadow: var(--sh-glass);
  transition: transform .3s var(--e-out), box-shadow .3s var(--e-out);
}
.fv-points a:hover { transform: translateX(3px); box-shadow: 0 1px 0 #fff inset, 0 0 0 1px var(--hud-line), 0 12px 26px rgba(220, 0, 120, .12); }
.fp-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #fff, #F7EFF4); box-shadow: inset 0 0 0 1px rgba(220, 0, 120, .16), 0 2px 6px rgba(220, 0, 120, .12); }
.fp-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--pink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fp-chev { width: 9px; height: 9px; border-top: 2px solid var(--hud-ink); border-right: 2px solid var(--hud-ink); transform: rotate(45deg); transition: transform .3s var(--e-out); }
.fv-points a:hover .fp-chev { transform: translateX(3px) rotate(45deg); border-color: var(--pink); }
.fv-cta { gap: 12px; margin-top: 6px; }
.fv-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 11.5px; color: var(--fg-3); }
.fv-trust li { display: inline-flex; align-items: center; gap: 6px; }
.fv-trust li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.2px var(--fg-3); background: radial-gradient(circle, transparent 0 0); flex: none; }

/* =========================================================
   次へチップ・ページ遷移（共通）
   ========================================================= */
.next-chip { display: none; }

.scan { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; pointer-events: none; visibility: hidden; opacity: 0;
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.scan.is-on { visibility: visible; }
.scan::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(20, 10, 30, .03) 0 1px, transparent 1px 4px); }
.scan-sweep { position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none; transform: translateY(-100%);
  background: linear-gradient(180deg, transparent, rgba(255, 60, 170, .05) 80%, rgba(255, 60, 170, .35) 99%, #fff 100%); height: 46px; }
.scan-panel { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: center; width: min(400px, calc(100% - 48px)); padding: 22px 24px; border-radius: 22px; background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba(220, 0, 120, .12), 0 24px 60px rgba(40, 20, 50, .16); }
.scan-corner { position: absolute; width: 14px; height: 14px; border: 2px solid var(--pink); }
.scan-corner.c1 { left: -6px; top: -6px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.scan-corner.c2 { right: -6px; top: -6px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.scan-corner.c3 { left: -6px; bottom: -6px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.scan-corner.c4 { right: -6px; bottom: -6px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.scan-face { width: 76px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .18)); }
.scan-body { display: grid; gap: 6px; min-width: 0; }
.scan-state { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-latin); font-weight: 700; font-size: 12px; letter-spacing: .26em; color: var(--pink); }
.scan-state b { font-size: 12px; letter-spacing: .06em; color: var(--hud-ink); font-variant-numeric: tabular-nums; }
.scan-bar { display: block; height: 3px; border-radius: 3px; background: rgba(40, 20, 50, .08); overflow: hidden; }
.scan-bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--pink); box-shadow: 0 0 10px rgba(255, 60, 170, .8); }
.scan-to { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; font-family: var(--f-latin); font-weight: 800; font-size: 22px; line-height: 1.1; color: var(--hud-ink); white-space: nowrap; overflow: hidden; }
.scan-no { font-size: 13px; color: var(--pink); }
.scan-ja { font-weight: 700; font-size: 13px; color: var(--fg-2); }
.scan-steps { display: flex; gap: 6px; margin-top: 4px; }
.scan-steps li { flex: 1; padding: 3px 0; border-radius: 6px; text-align: center; font-family: var(--f-latin); font-weight: 600; font-size: 8.5px; letter-spacing: .14em; color: var(--fg-3); background: rgba(40, 20, 50, .05); transition: background-color .2s, color .2s; }
.scan-steps li.is-on { background: var(--hud-ink); color: #fff; }
.scan-steps li.is-done { background: var(--pink-soft); color: var(--pink); }

/* data-reveal は GSAP が担当 */
.has-gsap [data-reveal].is-play { animation: none; }
.gs-run { transition: background-size .9s var(--e-out) !important; }

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 1079.98px) {
  .topbar { background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
  /* スマホ：メニューボタン1.5倍（46px→69px）・ヘッダー下線なし */
  :root { --topbar: 84px; }
  .topbar { border-bottom: 0; box-shadow: none; }
  .menu-btn { width: 69px; height: 69px; top: calc(env(safe-area-inset-top, 0px) + 7.5px); right: calc(env(safe-area-inset-right, 0px) + 16px); }
  .menu-btn .mb-ring.mb-outer { inset: -13px; width: calc(100% + 26px); height: calc(100% + 26px); }
  .menu-btn .mb-inner { inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); }
  .menu-btn .mb-core { gap: 7px; }
  .menu-btn .mb-core span { width: 26px; height: 3px; }
  .menu-btn .mb-core span:nth-child(2) { width: 17px; }
  .menu-btn[aria-expanded="true"] .mb-core span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .mb-core span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
  .topbar { padding-right: calc(max(16px, env(safe-area-inset-right, 0px)) + 98px); }
  .hp-head { padding-right: 104px; }
  .sec { background: rgba(255, 255, 255, .9); }
  .sec:nth-of-type(even) { background: rgba(250, 250, 251, .92); }
  .fv { background: #fff; }
  .btn-xl { padding-right: 104px; padding-left: 22px; gap: 10px; container-type: inline-size; }
  /* 「資料をダウンロード」を1行に。ボタンの幅に合わせて文字を縮める（9文字＋字間 ≒ 9.6文字分、矢印＋余白 44px） */
  .btn-xl .btn-label { white-space: nowrap; font-size: clamp(14px, calc((100cqi - 44px) / 9.6), 18px); }
  .btn-thumb { width: 92px; right: -10px; }
  .hp-list { grid-template-columns: 1fr; }
  .drawer-panel.hud-panel { overflow-y: auto; }
  .fv-rau { filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .22)); }
}

/* =========================================================
   Desktop：左ステージ（HUD）＋右グラスカード
   ========================================================= */
@media (min-width: 1080px) {
  .backdrop { background-image: url("../img/bg-chapter.jpg"); }
  body::before { display: none; }

  /* --- 右：グラスカード --- */
  .column {
    width: var(--col); margin: 22px var(--rail) 22px auto; padding-top: 0;
    background: rgba(255, 255, 255, .66);
    -webkit-backdrop-filter: blur(26px) saturate(1.5); backdrop-filter: blur(26px) saturate(1.5);
    border-radius: 34px; overflow: clip;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .95), 0 0 0 2px rgba(220, 0, 120, .06), 0 30px 80px rgba(40, 20, 50, .14), inset 0 1px 0 #fff;
  }
  .column::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 1px; z-index: 3; background: linear-gradient(90deg, transparent, rgba(255, 60, 170, .9), transparent); box-shadow: 0 0 10px rgba(255, 60, 170, .7); }
  .sec, .sec:nth-of-type(even), .fv, .sec-contact { background: transparent; border-radius: 0; margin-top: 0; }
  .sec + .sec { border-top: 1px solid rgba(40, 20, 50, .07); }
  .sec-inner { padding-left: 34px; padding-right: 34px; padding-block: 64px 72px; }
  .fv-inner { padding-top: 64px; }
  .part-band { margin: 14px 14px 0; height: 200px; border-radius: 22px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .9); }
  .part-band + .sec-inner { padding-top: 36px; }
  .footer { background: rgba(245, 243, 247, .7); border-radius: 0; margin-top: 0; }
  .meter { top: 16px; background: rgba(255, 255, 255, .9); box-shadow: var(--sh-glass), 0 0 0 1px var(--hud-line); }

  /* --- メニュー位置 --- */
  .menu-btn { top: 30px; right: calc((var(--rail) - 60px) / 2); }
  .menu-label { display: block; top: 104px; right: calc(var(--rail) / 2 - 22px); }
  .rail-copy { right: calc(var(--rail) / 2 - 8px); }

  /* --- ステージ --- */
  .stage { right: calc(var(--col) + var(--rail) + 8px); background: none; }
  .stage::after { content: none; }
  .stage-bg { display: none; }
  .stage-inner { padding: 30px 44px 30px 48px; display: block; }
  .stage .brand { position: absolute; left: 48px; top: 36px; }
  .stage .brand img { height: 28px; }

  .hud-steps { position: absolute; left: 50%; top: 36px; transform: translateX(-38%); width: min(520px, 58%); }
  .hud-steps ol { display: flex; justify-content: space-between; gap: 6px; }
  .hud-steps li { flex: 1; }
  .hud-steps a { display: flex; gap: 8px; align-items: baseline; justify-content: center; padding: 2px 4px 12px; text-decoration: none; font-family: var(--f-body); font-weight: 500; font-size: 12px; color: var(--fg-3); white-space: nowrap; transition: color .3s; }
  .hud-steps a b { font-family: var(--f-latin); font-weight: 700; font-size: 11px; letter-spacing: .06em; }
  .hud-steps a:hover { color: var(--hud-ink); }
  .hud-steps li.is-now a { color: var(--hud-ink); font-weight: 700; }
  .hud-steps li.is-now a b { color: var(--pink); }
  .hud-steps-line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(40, 20, 50, .05), rgba(40, 20, 50, .18), rgba(40, 20, 50, .05)); }
  .hud-steps-line i { position: absolute; top: 50%; left: 12.5%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 0 12px rgba(255, 60, 170, .9); transition: left .6s var(--e-out); }

  .stage-title { position: absolute; left: 7%; top: 13%; margin: 0; text-align: left; display: grid; gap: 0; z-index: 3; }
  .stage-eyebrow { font-family: var(--f-body); font-weight: 500; font-size: 14px; letter-spacing: .16em; color: var(--fg-2); }
  .stage-name { margin-top: 6px; font-family: var(--f-latin); font-weight: 800; font-size: clamp(54px, 6.4vw, 108px); line-height: .98; letter-spacing: -.025em; color: var(--hud-ink); text-shadow: none; white-space: nowrap; }
  .stage-name .sn-a { color: var(--hud-ink); text-shadow: none; }
  .stage-name .sn-num {
    background: linear-gradient(180deg, #FF8AD2 0%, #FF2BA6 30%, #D4007A 58%, #FF4FB8 78%, #FFC2E6 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
    filter: drop-shadow(0 6px 18px rgba(220, 0, 120, .28));
  }
  .stage-sub { margin-top: 14px; font-family: var(--f-latin); font-weight: 500; font-size: 12px; letter-spacing: .62em; color: var(--fg-3); white-space: nowrap; }
  .stage-tag { margin-top: 16px; font-family: var(--f-body); font-weight: 700; font-size: clamp(15px, 1.35vw, 19px); line-height: 1.7; letter-spacing: .14em; color: var(--hud-ink); }

  /* 浮遊HUDオブジェクト */
  .stage-world { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
  .stage-gl { display: none; }
  .hud-obj { position: absolute; will-change: transform; }
  .hud-disk { left: 4%; top: 49%; width: clamp(110px, 10.5vw, 160px); aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; gap: 2px; text-align: center;
    background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .35) 55%, rgba(240, 225, 240, .5));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .95), inset -8px -10px 22px rgba(200, 160, 200, .25), 0 18px 40px rgba(40, 20, 50, .14);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transform: rotate(-14deg); }
  .hud-disk svg { width: 70%; justify-self: center; fill: none; stroke: var(--pink); stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 0 3px rgba(255, 60, 170, .6)); }
  .hud-disk span { font-family: var(--f-latin); font-weight: 600; font-size: 10px; line-height: 1.25; letter-spacing: .16em; color: rgba(60, 50, 70, .55); }
  .hud-chip { left: 61%; top: 33%; width: 150px; padding: 10px 12px 9px; border-radius: 10px; display: grid; gap: 6px;
    background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .95), 0 14px 30px rgba(40, 20, 50, .12);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transform: perspective(600px) rotateY(-14deg); }
  .hc-label { font-family: var(--f-latin); font-weight: 600; font-size: 10px; letter-spacing: .16em; color: var(--fg-2); }
  .hc-bars { display: flex; align-items: flex-end; gap: 3px; height: 26px; border-left: 2px solid var(--pink); padding-left: 6px; }
  .hc-bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 1px; background: rgba(220, 0, 120, .55); transform-origin: bottom; }
  .hc-bars i:nth-last-child(-n+3) { background: var(--pink); box-shadow: 0 0 6px rgba(255, 60, 170, .7); }
  .hc-pin { position: absolute; right: 100%; top: 18px; width: 46px; height: 1px; background: var(--pink); }
  .hc-pin::before { content: ""; position: absolute; left: -4px; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); }
  .hud-num { left: 71%; top: 42%; font-family: var(--f-latin); font-weight: 800; font-size: clamp(64px, 7.4vw, 124px); line-height: 1; letter-spacing: -.04em;
    color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, 1);
    background: linear-gradient(170deg, rgba(255, 255, 255, .95) 10%, rgba(255, 210, 236, .55) 55%, rgba(255, 255, 255, .85) 90%); -webkit-background-clip: text; background-clip: text;
    filter: drop-shadow(0 0 1px rgba(220, 0, 120, .55)) drop-shadow(0 14px 22px rgba(220, 0, 120, .16)); transform: perspective(700px) rotateY(-22deg); }
  .hud-slab { left: -3%; top: 66%; width: clamp(220px, 22vw, 330px); padding: 18px 20px 18px 26px; border-radius: 16px; display: flex; gap: 16px; align-items: center;
    background: linear-gradient(160deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .25)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .95), 0 20px 40px rgba(40, 20, 50, .12);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transform: perspective(700px) rotateY(24deg) rotateZ(6deg); }
  .hs-bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
  .hs-bars i { width: 5px; background: var(--pink); border-radius: 1px; box-shadow: 0 0 6px rgba(255, 60, 170, .6); }
  .hs-bars i:nth-child(1) { height: 50%; } .hs-bars i:nth-child(2) { height: 100%; } .hs-bars i:nth-child(3) { height: 72%; }
  .hs-txt { font-family: var(--f-latin); font-weight: 600; font-size: 12.5px; line-height: 1.35; letter-spacing: .14em; color: rgba(40, 30, 50, .62); }
  .hud-status { left: 78%; top: 70%; display: grid; gap: 4px; font-family: var(--f-latin); font-weight: 500; font-size: 10px; letter-spacing: .3em; color: rgba(60, 50, 70, .45); }
  .hud-status em { font-style: normal; animation: blink 1.2s steps(2) infinite; }

  /* 軌道リング（Three.js が無いときのフォールバック） */
  .stage-orbit { position: absolute; left: 50%; top: 76%; width: 62%; height: 22%; transform: translate(-50%, -50%) rotate(-10deg); fill: none; overflow: visible; }
  .stage-orbit ellipse { stroke: rgba(255, 60, 170, .75); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(255, 60, 170, .8)); vector-effect: non-scaling-stroke; }
  .stage-orbit .o2 { stroke: rgba(255, 255, 255, .9); stroke-width: 1; filter: none; }
  .has-gl .stage-orbit { display: none; }

  /* ラウくん（MC） */
  .stage-actor { position: absolute; left: 50%; bottom: 13vh; width: auto; transform: translateX(-46%); display: grid; justify-items: center; gap: 0; z-index: 2; }
  .rau-gl { position: absolute; left: -100%; top: 74%; width: 300%; aspect-ratio: 2.4 / 1; margin-top: -62.5%; pointer-events: none; }
  .rau-gl canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
  .rau-gl .gl-back { z-index: 0; }
  .rau-gl .gl-front { z-index: 3; }
  .stage-body { position: relative; z-index: 1; transform-style: preserve-3d; perspective: 900px; }
  .stage-rau { height: clamp(260px, 44vh, 470px); width: auto; filter: drop-shadow(0 22px 20px rgba(40, 10, 40, .28)); animation: none; }
  .stage-rau.is-swap { animation: none; }
  .stage-rau[data-pose="alert"] { height: clamp(150px, 24vh, 240px); margin-top: clamp(80px, 14vh, 160px); }
  .stage-shadow { position: relative; z-index: 0; width: 70%; height: 26px; margin-top: -14px; background: radial-gradient(ellipse at center, rgba(60, 20, 60, .3), transparent 70%); }
  .stage-bubble-wrap { position: absolute; z-index: 4; right: 66%; top: -4%; display: flex; align-items: center; gap: 10px; width: max-content; max-width: 330px; }
  .stage-face { width: 46px; flex: none; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .2)); }
  .stage-bubble {
    position: relative; max-width: 270px; padding: 13px 18px; border-radius: 16px; text-align: left;
    background: rgba(255, 255, 255, .94); border: 0; box-shadow: inset 0 0 0 1.5px var(--pink), 0 14px 30px rgba(40, 20, 50, .14);
    font-family: var(--f-body); font-weight: 700; font-size: 13.5px; line-height: 1.65; transform: rotate(-3deg);
  }
  .stage-bubble::after { left: auto; right: 34px; bottom: -7px; width: 12px; height: 12px; background: #fff; border-right: 1.5px solid var(--pink); border-bottom: 1.5px solid var(--pink); }
  .stage-bubble .caret { display: inline-block; width: 7px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--pink); animation: blink .8s steps(2) infinite; }

  /* 下部：PLAY・進捗・CTA */
  .stage-foot { position: absolute; left: 48px; right: 44px; bottom: 30px; margin: 0; width: auto; display: flex; align-items: center; gap: 26px; z-index: 4; }
  .play-intro { display: inline-flex; align-items: center; gap: 14px; padding: 8px 22px 8px 8px; border-radius: 999px; text-align: left;
    background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .6)); box-shadow: var(--sh-glass), 0 0 0 1px rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .3s var(--e-out), box-shadow .3s; }
  .play-intro:hover { transform: translateY(-2px); box-shadow: var(--sh-glass), 0 0 0 1px var(--hud-line), 0 14px 28px rgba(220, 0, 120, .14); }
  .pi-ico { position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #FF52B4, #D6007C); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 14px rgba(220, 0, 120, .35); }
  .pi-ico i { width: 0; height: 0; margin-left: 3px; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; transition: all .25s; }
  .play-intro[aria-pressed="true"] .pi-ico i { margin-left: 0; width: 12px; height: 12px; border: 0; background: #fff; border-radius: 2px; }
  .play-intro[aria-pressed="true"] .pi-ico::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--pink); animation: pulse 1.4s var(--e-out) infinite; }
  @keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
  .pi-txt { display: grid; line-height: 1.15; font-family: var(--f-latin); font-weight: 700; font-size: 12px; letter-spacing: .16em; color: var(--hud-ink); }
  .pi-txt small { margin-top: 3px; font-family: var(--f-body); font-weight: 500; font-size: 10.5px; letter-spacing: .04em; color: var(--fg-3); }
  .stage-progress { flex: 1; max-width: 340px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 4px; align-items: center; }
  .sp-num { font-size: 12px; }
  .sp-num b { font-size: 18px; }
  .sp-bar { grid-column: 2; grid-row: 1; height: 2px; background: rgba(40, 20, 50, .12); }
  .sp-bar i { background: var(--pink); box-shadow: 0 0 8px rgba(255, 60, 170, .7); }
  .sp-name { grid-column: 1 / -1; font-family: var(--f-body); font-weight: 700; font-size: 12px; color: var(--fg-2); }
  .stage-cta { margin-left: auto; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .4s var(--e-out), transform .4s var(--e-out), visibility .4s; }
  .is-past-fv .stage-cta { opacity: 1; visibility: visible; transform: none; }
  .scroll-hint { position: absolute; left: 20px; bottom: 30px; display: grid; justify-items: start; gap: 6px; font-family: var(--f-latin); font-weight: 600; font-size: 8.5px; line-height: 1.4; letter-spacing: .22em; color: var(--fg-3); writing-mode: horizontal-tb; }
  .scroll-hint { left: auto; right: auto; display: none; }

  /* 次へチップ */
  .next-chip {
    position: fixed; z-index: 60; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px;
    padding: 6px 10px 6px 6px; border-radius: 999px; text-decoration: none; color: var(--hud-ink);
    background: rgba(255, 255, 255, .84); box-shadow: var(--sh-glass), 0 0 0 1px #fff, 0 18px 40px rgba(40, 20, 50, .16);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: transform .35s var(--e-out), box-shadow .35s;
  }
  .next-chip:hover { transform: translateY(-3px); box-shadow: var(--sh-glass), 0 0 0 1px var(--hud-line), 0 20px 40px rgba(220, 0, 120, .16); }
  .next-chip.is-hidden, html:not(.is-past-fv) .next-chip { opacity: 0; pointer-events: none; transform: translateY(12px); visibility: hidden; }
  .next-chip { transition: transform .35s var(--e-out), box-shadow .35s, opacity .4s, visibility .4s; }
  .nc-face { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: linear-gradient(180deg, #2A2230, #0F0B12); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .9); }
  .nc-face img { width: 62px; max-width: none; margin-top: 8px; }
  .nc-txt { display: grid; line-height: 1.35; padding-right: 6px; }
  .nc-txt small { font-size: 11px; color: var(--fg-3); }
  .nc-txt b { font-size: 13.5px; }
  .next-chip .ico-arrow { width: 30px; height: 30px; box-shadow: inset 0 0 0 1.5px var(--hud-ink); background: transparent; }
  .next-chip .ico-arrow::before, .next-chip .ico-arrow::after { border-color: var(--hud-ink); }

  /* ページ遷移：右カードの上だけを読み込む */
  .scan { inset: 22px var(--rail) 22px auto; width: var(--col); border-radius: 34px; overflow: hidden; }
}

@media (min-width: 1080px) and (max-height: 760px) {
  .stage-title { top: 11%; }
  .stage-name { font-size: clamp(48px, 5.4vw, 84px); }
  .stage-tag { display: none; }
  .stage-rau { height: clamp(220px, 40vh, 320px); }
  .stage-actor { bottom: 14vh; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-btn .mb-outer { animation: none; }
  .scan { display: none; }
}

/* =========================================================
   ラウくん 3D（rau3d.js）
   ========================================================= */
.rau3d { display: block; pointer-events: none; opacity: 0; transition: opacity .5s cubic-bezier(.16, 1, .3, 1); }
.rau3d.is-on { opacity: 1; }
.stage-world .rau3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.has-rau3d .stage-rau, .has-rau3d .stage-shadow { opacity: 0 !important; transition: opacity .5s; }
.has-rau3d .stage-face { display: none; }
.has-rau3d .rau-gl { display: none; }
.fv-media .rau3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
/* 3Dを表示している間は2D画像を完全に隠す（登場アニメーションのopacityに上書きされないように） */
.has-rau3d .fv-media.has-3d .fv-rau, .has-rau3d .fv-media.has-3d .fv-shadow { animation: none !important; opacity: 0 !important; visibility: hidden; }
/* スマホのメインビジュアル：背景画像なし・ラウくん中央・吹き出しは上で数秒ごとに切り替え */
.fv-media { aspect-ratio: 10 / 9; background: #fff; }
.fv-rau { left: 0; right: 0; margin: 0 auto; bottom: 8%; height: 64%; }
.fv-shadow { left: 0; right: 0; margin: 0 auto; width: 46%; bottom: 5%; }
.fv-bubble { top: 6%; left: 0; right: 0; margin: 0 auto; width: max-content; max-width: calc(100% - 40px); text-align: center; font-size: 14px; }
.fv-bubble::after { right: auto; top: auto; left: 50%; bottom: -7px; margin: 0 0 0 -6px; border: 0; border-right: 1.5px solid var(--pink); border-bottom: 1.5px solid var(--pink); }
.fvb-txt { display: inline-block; }
.navi .rau3d { grid-column: 1; grid-row: 1; align-self: end; width: 100%; height: 104px; }
.navi.has-3d .navi-img { display: none; }
@media (max-width: 1079.98px) {
  .navi { grid-template-columns: 104px minmax(0, 1fr); min-height: 104px; }
  .navi-img, .navi-alert .navi-img { width: 92px; justify-self: center; }
}
/* 小さい画面（320px前後）：文字が途中で切れないよう、まわりを少し詰めて幅を確保する */
@media (max-width: 359.98px) {
  .topbar .brand img { height: 19px; } /* 大きいメニューボタンと「資料DL」を1行に収める */
  .btn-xl .ico-arrow { display: none; }
  .btn-xl .btn-label { font-size: clamp(14px, calc(100cqi / 9.6), 18px); }
  .navi { grid-template-columns: 80px minmax(0, 1fr); min-height: 84px; gap: 10px; }
  .navi-img, .navi-alert .navi-img { width: 76px; }
  .navi .rau3d { height: 84px; }
  .navi-bubble { font-size: 13.5px; padding: 12px 14px; }
  .checks label { gap: 8px; padding: 12px; }
  .checks label span { font-size: 13.5px; }
  .step-name { font-size: 15.5px; }
  .meter-label { white-space: nowrap; font-size: 12px; }
}

/* =========================================================
   FVタイトルの登場アニメーション（hud.js）
   ========================================================= */
.js-title .fv-title[data-title-anim] { visibility: hidden; animation: tt-failsafe 0s 2.6s forwards; }
@keyframes tt-failsafe { to { visibility: visible; } }
.has-gsap .fv-title[data-title-anim] { animation: none; position: relative; }
.fv-title .tt-line { display: block; overflow: hidden; padding: .04em .1em .1em 0; margin: -.04em -.1em -.1em 0; }
.fv-title .tt-in { display: inline-block; }
.fv-title .tt-c { display: inline-block; will-change: transform; }
.fv-title .tt-em { position: relative; display: inline-block; isolation: isolate; }
.fv-title .tt-em::after {
  content: ""; position: absolute; inset: -6% -10%; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .95) 48%, rgba(255, 200, 235, .9) 52%, transparent 70%) no-repeat;
  background-size: 260% 100%; background-position: 140% 0;
}
.fv-title.is-lit .tt-em::after { animation: tt-shine 1.1s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes tt-shine { 0% { opacity: 1; background-position: 140% 0; } 100% { opacity: 1; background-position: -40% 0; } }
.fv-title .tt-scan {
  position: absolute; left: -8px; right: -8px; top: 0; height: 2px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--pink) 25%, #fff 50%, var(--pink) 75%, transparent);
  box-shadow: 0 0 14px rgba(255, 60, 170, .85);
}
