/* =========================================================
   単男講習 — 男性向け。黒に金、太い見出し、縦長の英数字。スマホ基準（375px）
   動き（見出しのポップ、ふわっと出る、レベルアップ、日程の自動表示）は /js/cute.js
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d0c10; --bg-2: #15131a; --card: #1a1820; --card-2: #22202a;
  --line: rgba(255, 255, 255, .09);
  --ink: #f2eee6; --dim: #aaa3ae; --mute: #6f6875;
  --gold: #e8b84a; --gold-2: #ffd77a; --gold-deep: #b98a24;
  --neon: #ff2fb4; --red: #ff5a5a;
  --cat: #000;
  --display: 'Dela Gothic One', 'Hiragino Sans', sans-serif;
  --jp: 'Zen Kaku Gothic New', 'Hiragino Sans', sans-serif;
  --en: 'Bebas Neue', 'Dela Gothic One', sans-serif;
  --gutter: 20px;
  --dock-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--jp); font-size: 15px; line-height: 1.85; letter-spacing: .02em;
  overflow-x: clip; word-break: auto-phrase; -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; }
section[id] { scroll-margin-top: 64px; }
em { font-style: normal; color: var(--gold); }

/* うっすら方眼。黒一色にしないための質感 */
.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(60% 40% at 80% 0%, rgba(232, 184, 74, .12), transparent 70%);
}
main, .ft, .hd { position: relative; z-index: 2; }

/* 紙吹雪（レベルアップのとき）— 金と白で */
.burst { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.burst i { position: absolute; width: 8px; height: 14px; margin: -7px 0 0 -4px; border-radius: 1px; background: var(--gold); font-style: normal; animation: pop 1.2s cubic-bezier(.2, .7, .3, 1) forwards; }
.burst i:nth-child(3n) { background: #fff; }
.burst i:nth-child(3n+1) { background: var(--gold-2); }
.burst i.is-heart { width: auto; height: auto; background: none; color: var(--gold); font-size: 16px; line-height: 1; }
@keyframes pop {
  0% { transform: translate(0, 0) scale(0) rotate(0); opacity: 1; }
  15% { transform: translate(calc(var(--dx) * .3), calc(var(--dy) * .3)) scale(var(--s)) rotate(calc(var(--r) * .2)); }
  100% { transform: translate(var(--dx), calc(var(--dy) + 140px)) scale(var(--s)) rotate(var(--r)); opacity: 0; }
}

/* ---------- header ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter); padding-top: calc(10px + env(safe-area-inset-top)); transition: background .4s; }
.hd.is-solid { background: rgba(13, 12, 16, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hd-brand img { width: 84px; }
.hd-nav { display: flex; gap: 14px; margin-left: auto; font-size: 13px; font-weight: 700; color: var(--dim); }
.hd-nav a:hover { color: var(--gold); }
.hd-cta { display: none; }

/* ---------- 共通 ---------- */
.sec { padding: 84px var(--gutter); max-width: 1000px; margin: 0 auto; position: relative; }
.sec-tight { padding-top: 30px; padding-bottom: 30px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--en); font-size: 20px; letter-spacing: .18em; color: var(--gold); line-height: 1; }
.eyebrow b { font-weight: 400; padding: 4px 8px 2px; border: 1px solid var(--gold); color: var(--gold); letter-spacing: .05em; }
.eyebrow::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); opacity: .5; }
.h2 { margin-top: 18px; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 9vw, 58px); line-height: 1.32; letter-spacing: .01em; }
.h3 { margin: 40px 0 14px; font-family: var(--display); font-weight: 400; font-size: 20px; }
.lead { margin-top: 14px; color: var(--dim); }
.note { margin-top: 16px; font-size: 12.5px; color: var(--mute); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 24px; border-radius: 4px;
  font-weight: 900; font-size: 15px; letter-spacing: .04em; transition: transform .25s var(--ease), background .3s, box-shadow .3s;
}
.btn:active { transform: scale(.97); }
.btn i { font-style: normal; }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-deep)); color: #15110a; box-shadow: 0 10px 30px -10px rgba(232, 184, 74, .7), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-gold:hover { box-shadow: 0 14px 36px -10px rgba(232, 184, 74, .9), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-line { border: 1px solid rgba(232, 184, 74, .55); color: var(--gold); }
.btn-wide { display: flex; width: 100%; margin-top: 12px; }

/* 文字が下から突き上がる（男っぽく、跳ねすぎない） */
[data-pop] .ch { display: inline-block; opacity: 0; transform: translateY(.7em) skewY(6deg); transition: opacity .4s ease, transform .6s var(--ease); transition-delay: calc(var(--i) * 28ms); }
[data-pop].is-in .ch { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- HERO（ゲームのタイトル画面） ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: calc(76px + env(safe-area-inset-top)) var(--gutter) 34px;
  background: radial-gradient(70% 50% at 50% 42%, rgba(232, 184, 74, .22), transparent 70%), radial-gradient(120% 60% at 50% 100%, rgba(255, 47, 180, .08), transparent 60%);
}
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(transparent 0 3px, rgba(0, 0, 0, .18) 3px 4px); opacity: .5; }
.hero > * { position: relative; z-index: 2; }

/* 立ちのぼる金の火花 */
.sparks { position: absolute !important; inset: 0; z-index: 1 !important; pointer-events: none; }
.sparks i { position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 8px var(--gold), 0 0 2px #fff; animation: rise 5s linear infinite; }
.sparks i:nth-child(1) { left: 8%; animation-delay: 0s; } .sparks i:nth-child(2) { left: 18%; animation-delay: 1.4s; animation-duration: 6s; }
.sparks i:nth-child(3) { left: 27%; animation-delay: 2.8s; } .sparks i:nth-child(4) { left: 36%; animation-delay: .6s; animation-duration: 7s; }
.sparks i:nth-child(5) { left: 46%; animation-delay: 3.6s; } .sparks i:nth-child(6) { left: 55%; animation-delay: 2s; animation-duration: 5.5s; }
.sparks i:nth-child(7) { left: 63%; animation-delay: 4.2s; } .sparks i:nth-child(8) { left: 71%; animation-delay: 1s; animation-duration: 6.5s; }
.sparks i:nth-child(9) { left: 80%; animation-delay: 3s; } .sparks i:nth-child(10) { left: 88%; animation-delay: .3s; animation-duration: 5.2s; }
.sparks i:nth-child(11) { left: 94%; animation-delay: 2.4s; } .sparks i:nth-child(12) { left: 4%; animation-delay: 4.6s; animation-duration: 6.2s; }
@keyframes rise { 0% { transform: translate(0, 0) scale(1); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate(18px, -105svh) scale(.4); opacity: 0; } }

/* 後ろに大きく浮かぶ、目の光るくろねこ */
.boss { position: absolute !important; z-index: 1 !important; left: 50%; top: 37%; width: min(118vw, 640px); translate: -50% -50%; opacity: .9; animation: bossIn 1.6s var(--ease) both; }
.boss-head { fill: #050406; stroke: rgba(232, 184, 74, .18); stroke-width: 1.5; }
.boss-eye { fill: var(--gold); opacity: .38; filter: drop-shadow(0 0 6px rgba(232, 184, 74, .6)); animation: eyeGlow 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.boss-pupil { fill: #050406; transform-box: fill-box; transform-origin: center; animation: eyeGlow 3.6s ease-in-out infinite; }
@keyframes bossIn { from { opacity: 0; transform: scale(1.15); } to { opacity: .9; transform: none; } }
@keyframes eyeGlow { 0%, 88%, 100% { transform: scaleY(1); } 92% { transform: scaleY(.08); } }

/* 上の HUD */
.hud { position: absolute !important; top: calc(66px + env(safe-area-inset-top)); left: var(--gutter); right: var(--gutter); display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 14px; font-family: var(--en); letter-spacing: .1em; text-align: left; }
.hud small { display: block; font-size: 11px; color: var(--mute); line-height: 1; }
.hud-player { font-family: var(--jp); font-weight: 900; font-size: 14px; }
.hud-player small { font-family: var(--en); }
.hud-lv { display: flex; align-items: baseline; gap: 2px; color: var(--gold); }
.hud-lv small { display: inline; font-size: 14px; color: var(--gold); }
.hud-lv b { font-weight: 400; font-size: 26px; line-height: 1; }
.hud-exp span { display: block; height: 6px; margin-top: 4px; background: var(--card-2); border: 1px solid var(--line); }
.hud-exp i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold-2)); box-shadow: 0 0 10px var(--gold); transition: width 1.4s var(--ease); }

.kicker { display: flex; align-items: center; justify-content: center; font-family: var(--en); font-size: 14px; letter-spacing: .4em; color: var(--dim); animation: fadeUp .8s var(--ease) .2s both; }
.game-title { margin-top: 6px; font-family: var(--display); line-height: 1.02; letter-spacing: .02em; }
.gt-line { display: block; font-size: clamp(64px, 22vw, 170px); animation: slam .7s cubic-bezier(.2, 1.4, .4, 1) both; }
.gt-line:nth-child(1) { animation-delay: .35s; }
.gt-line:nth-child(2) { animation-delay: .6s; }
.gt-gold {
  background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold) 30%, #fff6d8 46%, var(--gold-2) 52%, var(--gold) 70%, var(--gold-deep) 100%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #000) drop-shadow(0 4px 18px rgba(232, 184, 74, .45));
  animation: slam .7s cubic-bezier(.2, 1.4, .4, 1) .6s both, shine 4s ease-in-out 1.6s infinite;
}
@keyframes slam { 0% { opacity: 0; transform: scale(2.6); filter: blur(10px); } 60% { opacity: 1; filter: none; } 100% { transform: scale(1); } }
@keyframes shine { 0%, 55% { background-position: 100% 0; } 100% { background-position: -50% 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero.is-shake .title-wrap { animation: shake .4s linear; }
@keyframes shake { 20% { transform: translate(-6px, 3px); } 40% { transform: translate(5px, -4px); } 60% { transform: translate(-4px, 2px); } 80% { transform: translate(3px, -1px); } }
.hero-sub { margin-top: 14px; text-shadow: 0 2px 12px #000, 0 0 4px #000; font-family: var(--display); font-size: clamp(19px, 5.6vw, 30px); line-height: 1.5; animation: fadeUp .8s var(--ease) 1.1s both; }
.hero-sub b { font-weight: 400; color: var(--gold); }
.h1 { margin-top: 12px; font-weight: 700; font-size: 12.5px; color: var(--dim); letter-spacing: .08em; line-height: 1.5; animation: fadeUp .8s var(--ease) 1.3s both; }
.h1 small { display: block; font-size: 11px; color: var(--mute); }

.chips { display: flex; justify-content: center; gap: 8px; margin-top: 22px; animation: fadeUp .8s var(--ease) 1.5s both; }
.chips li { display: grid; justify-items: center; min-width: 92px; padding: 8px 10px 6px; border: 1px solid rgba(232, 184, 74, .45); background: rgba(13, 12, 16, .7); }
.chips b { font-family: var(--en); font-weight: 400; font-size: 26px; line-height: 1; color: var(--gold); }
.chips li:nth-child(3) b { font-family: var(--display); font-size: 17px; line-height: 1.5; }
.chips small { font-size: 12px; font-weight: 900; color: var(--gold); margin-left: 1px; }
.chips span { font-family: var(--en); font-size: 12px; letter-spacing: .14em; color: var(--dim); }
.press {
  margin-top: 24px; padding: 14px 36px 12px; border: 2px solid var(--gold); background: rgba(232, 184, 74, .1); color: var(--gold); cursor: pointer;
  font-family: var(--en); font-size: 28px; letter-spacing: .24em; line-height: 1;
  box-shadow: 0 0 0 0 rgba(232, 184, 74, .5); animation: fadeUp .8s var(--ease) 1.7s both, pressPulse 1.6s ease-in-out 2.5s infinite;
}
.press i { font-style: normal; display: inline-block; animation: blinkT 1s steps(2) infinite; }
.press:active { transform: scale(.96); }
@keyframes pressPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232, 184, 74, .45); } 50% { box-shadow: 0 0 0 12px rgba(232, 184, 74, 0); background: rgba(232, 184, 74, .2); } }
.hero-link { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--dim); text-decoration: underline; text-underline-offset: 4px; animation: fadeUp .8s var(--ease) 1.9s both; }

/* PRESS START のフラッシュ */
.flash { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; pointer-events: none; background: #fff; opacity: 0; }
.flash span { font-family: var(--en); font-size: clamp(56px, 18vw, 140px); letter-spacing: .14em; color: #0d0c10; }
.flash.is-on { animation: flash 1s ease forwards; }
@keyframes flash { 0% { opacity: 0; } 12% { opacity: 1; } 55% { opacity: 1; background: #0d0c10; } 56% { color: var(--gold); } 100% { opacity: 0; background: #0d0c10; } }
.flash.is-on span { animation: flashText 1s ease forwards; }
@keyframes flashText { 0%, 50% { color: #0d0c10; transform: scale(1.3); } 56%, 100% { color: var(--gold); transform: scale(1); } }

/* 流れる英字の帯 */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.marquee-track { display: flex; gap: 22px; width: max-content; padding: 14px 0; animation: marquee 24s linear infinite; font-family: var(--en); font-size: 26px; letter-spacing: .12em; }
.marquee-track i { font-style: normal; color: var(--gold); font-size: 14px; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 01 攻略マップ ---------- */
.route { position: relative; --p: 0; margin-top: 34px; padding-left: 44px; }
.route-line { position: absolute; left: 14px; top: 0; bottom: 0; width: 4px; background: repeating-linear-gradient(var(--card-2) 0 10px, transparent 10px 18px); }
.route-line i { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--p) * 100%); background: linear-gradient(var(--gold-2), var(--gold)); box-shadow: 0 0 14px rgba(232, 184, 74, .7); }
.route-cat { position: absolute; left: 50%; top: calc(var(--p) * 100%); width: 46px; translate: -50% -50%; filter: drop-shadow(0 0 10px rgba(232, 184, 74, .6)); animation: bobCat 1s ease-in-out infinite; }
.route-cat svg { width: 100%; }
@keyframes bobCat { 0%, 100% { margin-top: 0; } 50% { margin-top: -4px; } }
.route ol { display: grid; gap: 22px; }
.stage { position: relative; padding: 18px 16px 16px; background: var(--card); border: 1px solid var(--line); opacity: .35; transform: scale(.97); transition: opacity .5s ease, transform .6s var(--ease), border-color .4s; }
.stage.is-on { opacity: 1; transform: none; }
.stage.is-clear { border-color: rgba(232, 184, 74, .55); }
.stage::before { content: ''; position: absolute; left: -36px; top: 22px; width: 14px; height: 14px; border: 2px solid var(--mute); background: var(--bg); transform: rotate(45deg); transition: background .3s, border-color .3s; }
.stage.is-clear::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 12px var(--gold); }
.st-no { display: flex; align-items: baseline; gap: 6px; font-family: var(--en); font-size: 16px; letter-spacing: .14em; color: var(--dim); }
.st-no b { font-weight: 400; font-size: 34px; line-height: 1; color: var(--gold); }
.stage h3 { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.4; margin: 2px 0 10px; }
.ng, .ok { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; font-size: 13.5px; line-height: 1.6; }
.ng { background: rgba(255, 90, 90, .08); color: #d9b6b6; text-decoration: line-through; text-decoration-color: rgba(255, 90, 90, .55); }
.ok { margin-top: 6px; background: rgba(232, 184, 74, .1); font-weight: 700; }
.ng i, .ok i { flex: none; font-style: normal; font-weight: 900; }
.ng i { color: var(--red); }
.ok i { color: var(--gold); }
.clear { position: absolute; top: 12px; right: 12px; padding: 4px 10px 2px; border: 2px solid var(--gold); color: var(--gold); font-family: var(--en); font-size: 20px; letter-spacing: .12em; line-height: 1; opacity: 0; transform: scale(2.4) rotate(-14deg); }
.stage.is-clear .clear { animation: stampIn .45s var(--spring) forwards; }
@keyframes stampIn { to { opacity: 1; transform: rotate(-8deg); } }
.goal { position: relative; margin-top: 26px; padding: 22px 18px; text-align: center; border: 1px dashed rgba(232, 184, 74, .4); font-family: var(--display); font-size: clamp(18px, 5.4vw, 26px); line-height: 1.5; color: var(--dim); transition: all .5s var(--ease); }
.goal small { display: block; font-family: var(--en); font-size: 34px; letter-spacing: .16em; color: var(--mute); transition: color .4s; }
.goal.is-clear { border-style: solid; border-color: var(--gold); background: linear-gradient(135deg, #2a2210, var(--card)); color: var(--ink); box-shadow: 0 0 40px -10px rgba(232, 184, 74, .6); }
.goal.is-clear small { color: var(--gold); animation: flash 1.2s ease 2; }
@keyframes flash { 50% { text-shadow: 0 0 18px var(--gold-2); } }

/* ---------- 02 単男力チェック ---------- */
.ck { margin-top: 26px; padding: 24px 18px; background: var(--card); border: 1px solid rgba(232, 184, 74, .35); box-shadow: 0 0 0 1px rgba(232, 184, 74, .08) inset; }
.ck-pips { display: flex; gap: 6px; }
.ck-pips i { flex: 1; height: 4px; background: var(--card-2); transition: background .3s; }
.ck-pips i.on { background: var(--gold); }
.ck-pips i.now { background: linear-gradient(90deg, var(--gold), var(--card-2)); }
.ck-no { margin-top: 18px; font-family: var(--en); font-size: 20px; letter-spacing: .1em; color: var(--dim); }
.ck-no b { font-weight: 400; font-size: 46px; line-height: 1; color: var(--gold); }
.ck-no small { font-size: 18px; }
.ck-text { margin-top: 6px; min-height: 3.2em; font-family: var(--display); font-size: clamp(20px, 6vw, 28px); line-height: 1.55; }
.ck-q.is-swap .ck-text, .ck-q.is-swap .ck-no { animation: swapIn .45s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.ck-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.ck-btns button { min-height: 64px; border: 0; cursor: pointer; font-family: var(--en); font-size: 30px; letter-spacing: .14em; transition: transform .15s; }
.ck-btns button:active { transform: scale(.95); }
.ck-yes { background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-deep)); color: #15110a; }
.ck-no-btn { background: var(--card-2); color: var(--ink); border: 1px solid var(--line) !important; }
.ck-res { text-align: center; }
.ck-rank { display: inline-grid; place-items: center; width: 132px; height: 132px; margin: 4px auto 0; border: 3px solid var(--gold); transform: rotate(45deg); }
.ck-rank > * { transform: rotate(-45deg); }
.ck-rank small { display: none; }
.ck-rank b { font-family: var(--en); font-weight: 400; font-size: 92px; line-height: 1; color: var(--gold); text-shadow: 0 0 24px rgba(232, 184, 74, .6); }
.ck-res.is-in .ck-rank { animation: rankIn .7s var(--spring); }
@keyframes rankIn { 0% { transform: rotate(45deg) scale(3); opacity: 0; } 100% { transform: rotate(45deg) scale(1); opacity: 1; } }
.ck-res[data-rank="S"] .ck-rank { border-color: var(--gold-2); box-shadow: 0 0 40px rgba(255, 215, 122, .5); }
.radar { width: min(100%, 300px); margin: 18px auto 0; overflow: visible; }
.rd-grid { fill: none; stroke: var(--line); }
.rd-axis { stroke: var(--line); }
.rd-shape { fill: rgba(232, 184, 74, .25); stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; transform-origin: 120px 118px; animation: growR .8s var(--spring) .2s both; }
@keyframes growR { from { transform: scale(0); } }
.rd-label { text-anchor: middle; fill: var(--ink); font-family: var(--jp); font-weight: 900; font-size: 12px; }
.rd-label.is-low { fill: var(--red); }
.ck-msg { margin-top: 10px; font-family: var(--display); font-size: 17px; line-height: 1.6; }
.ck-grow { margin-top: 8px; font-size: 13.5px; color: var(--dim); }
.ck-grow b { color: var(--gold); }
.ck-acts { display: grid; gap: 10px; margin-top: 18px; }
.ck-acts .btn { width: 100%; cursor: pointer; background-color: transparent; }

/* ---------- 03 武器カード ---------- */
.cards { display: grid; gap: 18px; margin-top: 26px; perspective: 1200px; }
.wcard { --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg; position: relative; height: 470px; cursor: pointer; outline: none; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .2s ease; }
.wc-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s var(--spring); }
.wcard.is-flip .wc-in { transform: rotateY(180deg); }
.wc-face { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; border: 1px solid rgba(232, 184, 74, .5); background: linear-gradient(160deg, #23201a, #121016 60%); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8); }
.wc-front::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: color-dodge; opacity: .45;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .55), transparent 40%),
              linear-gradient(115deg, transparent 20%, rgba(255, 215, 122, .35) 40%, rgba(255, 47, 180, .25) 50%, rgba(120, 200, 255, .3) 60%, transparent 80%) var(--mx) var(--my) / 200% 200%;
}
.wc-rare { border-color: var(--gold-2); box-shadow: 0 0 30px -6px rgba(255, 215, 122, .45), 0 24px 50px -20px rgba(0, 0, 0, .8); }
.wc-back { transform: rotateY(180deg); background: linear-gradient(160deg, #1d1a22, #0f0e12); }
.wc-top { display: flex; justify-content: space-between; font-family: var(--en); font-size: 15px; letter-spacing: .14em; color: var(--gold); border-bottom: 1px solid rgba(232, 184, 74, .3); padding-bottom: 6px; }
.wc-rare .wc-top span:last-child { padding: 0 8px; background: var(--gold-2); color: #15110a; }
.wc-art { display: grid; place-items: center; height: 150px; margin: 14px 0 8px; background: radial-gradient(circle, rgba(232, 184, 74, .18), transparent 65%); }
.wc-art svg { width: 120px; }
.wa-ring { fill: none; stroke: var(--gold); stroke-width: 3; stroke-dasharray: 6 5; animation: spin 14s linear infinite; transform-origin: 60px 60px; }
.wa-needle { fill: var(--gold); animation: needle 3s ease-in-out infinite; transform-origin: 60px 60px; }
.wa-dot { fill: #15110a; stroke: var(--gold-2); stroke-width: 2; }
.wa-tick { stroke: var(--gold-2); stroke-width: 3; stroke-linecap: round; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes needle { 0%, 100% { transform: rotate(-20deg); } 50% { transform: rotate(25deg); } }
.wa-heart { fill: rgba(255, 47, 180, .15); stroke: var(--gold-2); stroke-width: 3; animation: beatH 1.4s ease-in-out infinite; transform-origin: 60px 60px; }
.wa-pulse { fill: none; stroke: var(--neon); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 90; animation: pulse 2s ease-in-out infinite; }
@keyframes beatH { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.08); } }
@keyframes pulse { 0% { stroke-dashoffset: 90; } 60%, 100% { stroke-dashoffset: 0; } }
.wc-name { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.4; }
.wc-sub { font-size: 13px; color: var(--dim); }
.wc-stats { display: grid; gap: 8px; margin-top: 14px; }
.wc-stats div { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 10px; font-size: 12.5px; }
.wc-stats dt { color: var(--dim); font-weight: 700; }
.wc-stats dd { position: relative; height: 8px; background: var(--card-2); }
.wc-stats dd i { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); background: linear-gradient(90deg, var(--gold-deep), var(--gold-2)); }
.wc-stats dd.txt { height: auto; background: none; font-family: var(--en); font-size: 16px; letter-spacing: .08em; color: var(--gold); }
.wc-tap { margin-top: auto; text-align: right; font-family: var(--en); font-size: 15px; letter-spacing: .16em; color: var(--mute); animation: blinkT 1.6s ease-in-out infinite; }
@keyframes blinkT { 50% { opacity: .35; } }
.wc-list { counter-reset: w; display: grid; gap: 12px; margin-top: 14px; }
.wc-list li { counter-increment: w; position: relative; padding-left: 34px; font-size: 13px; line-height: 1.7; color: var(--dim); }
.wc-list li::before { content: counter(w, decimal-leading-zero); position: absolute; left: 0; top: -2px; font-family: var(--en); font-size: 24px; color: var(--gold); }
.wc-list b { display: block; color: var(--ink); font-size: 14.5px; }

/* ---------- 04 掟 ---------- */
.law-list { display: grid; gap: 0; margin-top: 26px; }
.law-list li { display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.law-list li:last-child { border-bottom: 1px solid var(--line); }
.law-list li:nth-child(2) { transition-delay: .08s; } .law-list li:nth-child(3) { transition-delay: .16s; }
.law-list b { grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border: 2px solid var(--gold); font-family: 'Shippori Mincho B1', serif; font-weight: 800; font-size: 28px; color: var(--gold); }
.law-list strong { font-family: var(--display); font-weight: 400; font-size: clamp(19px, 5.6vw, 26px); line-height: 1.45; }
.law-list span { margin-top: 6px; font-size: 13px; color: var(--dim); line-height: 1.75; }

/* PRESS START のボタン */
.btn-start i { animation: blinkT 1s steps(2) infinite; }

/* ---------- 05 日程 ---------- */
.schedule { border-top: 1px solid var(--line); }
.badge { display: inline-block; margin-top: 12px; padding: 4px 12px; background: var(--gold); color: #15110a; font-weight: 900; font-size: 12.5px; }
.next { margin-top: 18px; }
.next-loading, .next-empty { padding: 20px; background: var(--card); border: 1px dashed rgba(232, 184, 74, .4); color: var(--dim); font-size: 14px; }
.next-empty b { display: block; color: var(--ink); font-size: 16px; font-weight: 900; margin-bottom: 4px; }
.next-empty a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.ticket { display: grid; grid-template-columns: 96px 1fr; background: var(--card); border: 1px solid rgba(232, 184, 74, .5); box-shadow: 0 14px 34px -14px rgba(232, 184, 74, .5); }
.ticket + .ticket { margin-top: 12px; }
.ticket-date { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 6px; background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-deep)); color: #15110a; text-align: center; }
.ticket-date b { font-family: var(--en); font-weight: 400; font-size: 42px; line-height: 1; }
.ticket-date small { font-size: 12px; font-weight: 900; }
.ticket-date span { font-family: var(--en); font-size: 15px; letter-spacing: .12em; }
.ticket-body { display: block; padding: 14px 16px; border-left: 2px dashed rgba(232, 184, 74, .4); }
.ticket-label { display: inline-block; font-family: var(--en); font-size: 15px; letter-spacing: .16em; color: var(--gold); }
.ticket-title { display: block; font-weight: 900; font-size: 15px; line-height: 1.5; margin-top: 2px; }
.ticket-time { display: block; font-size: 13px; margin-top: 4px; color: var(--dim); }
.ticket-more { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 900; color: var(--gold); }
.steps { display: grid; gap: 8px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--card); border: 1px solid var(--line); }
.steps i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--gold); color: var(--gold); font-style: normal; font-family: var(--en); font-size: 22px; line-height: 1; }
.steps b { display: block; font-size: 15px; font-weight: 900; }
.steps span { display: block; font-size: 13px; color: var(--dim); margin-top: 2px; }
.steps + .btn-wide { margin-top: 18px; }
.person { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: start; margin-top: 26px; padding: 20px; background: var(--card); border: 1px solid var(--line); transition: border-color .3s; }
.person:hover { border-color: var(--gold); }
.person img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--gold); filter: grayscale(.2); }
.person-body { display: flex; flex-direction: column; }
.person-role { font-family: var(--en); font-size: 15px; letter-spacing: .18em; color: var(--gold); }
.person-name { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.3; }
.person-text { font-size: 13px; color: var(--dim); margin-top: 6px; line-height: 1.75; }
.person-x { margin-top: 8px; font-size: 13px; font-weight: 900; color: var(--gold); }
.past-list li { border-top: 1px solid var(--line); }
.past-list li:last-child { border-bottom: 1px solid var(--line); }
.past-list a { display: flex; gap: 14px; padding: 12px 2px; font-size: 13.5px; color: var(--dim); }
.past-list a:hover { color: var(--ink); }
.past-list time { flex: none; min-width: 80px; font-family: var(--en); font-size: 17px; letter-spacing: .06em; color: var(--gold); }

/* ---------- 診断へ ---------- */
.shindan { display: grid; justify-items: center; gap: 4px; padding: 26px 18px; text-align: center; background: linear-gradient(135deg, #241d10, var(--card) 60%); border: 1px solid rgba(232, 184, 74, .45); transition: border-color .3s; }
.shindan:hover { border-color: var(--gold); }
.shindan-cats { display: flex; margin-bottom: 6px; }
.shindan-cats svg { width: 62px; margin: 0 -5px; filter: saturate(.7); }
.shindan-t { font-size: 12.5px; font-weight: 900; color: var(--dim); }
.shindan b { font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--gold); }
.shindan small { font-size: 12.5px; color: var(--dim); }
.shindan i { margin-top: 10px; padding: 8px 20px; border: 1px solid var(--gold); color: var(--gold); font-style: normal; font-weight: 900; font-size: 13.5px; }

/* ---------- Q&A ---------- */
.qa { margin-top: 22px; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; position: relative; padding: 18px 40px 18px 34px; font-weight: 900; font-size: 15px; line-height: 1.6; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: 'Q'; position: absolute; left: 0; top: 13px; font-family: var(--en); font-size: 26px; color: var(--gold); }
.qa summary::after { content: '+'; position: absolute; right: 4px; top: 13px; font-family: var(--en); font-size: 26px; color: var(--mute); transition: transform .3s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); color: var(--gold); }
.qa details p { padding: 0 6px 20px 34px; font-size: 13.5px; color: var(--dim); }

/* ---------- FINAL ---------- */
.final { text-align: center; padding-bottom: 100px; }
.final-en { font-family: var(--en); font-size: 22px; letter-spacing: .3em; color: var(--mute); }
.final-title { margin-top: 10px; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 9vw, 64px); line-height: 1.35; }
.final .actions { max-width: 420px; margin: 28px auto 0; }

/* ---------- footer / dock ---------- */
.ft { padding: 40px var(--gutter) 30px; text-align: center; color: var(--mute); border-top: 1px solid var(--line); }
.ft img { width: 110px; margin: 0 auto; opacity: .85; }
.ft-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 18px 0; font-size: 13px; color: var(--dim); }
.ft small { font-size: 11px; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 8px; padding: 10px var(--gutter); padding-bottom: calc(10px + env(safe-area-inset-bottom)); background: rgba(13, 12, 16, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.dock a { display: grid; place-items: center; min-height: 54px; font-weight: 900; font-size: 13px; }
.dock > a:first-child { flex: 0 0 104px; border: 1px solid rgba(232, 184, 74, .5); color: var(--gold); }
.dock-main { flex: 1; background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-deep)); color: #15110a; line-height: 1.25; }
.dock-main small { font-size: 10.5px; }
.dock-main b { font-size: 15px; }

/* ---------- 720px〜 ---------- */
@media (min-width: 720px) {
  :root { --gutter: 40px; }
  .hd-cta { display: inline-flex; padding: 7px 16px; background: var(--gold); color: #15110a; font-weight: 900; font-size: 13px; }
  .hd-nav { gap: 24px; }
  .sec { padding-top: 120px; padding-bottom: 120px; }
  .actions { grid-template-columns: auto auto; justify-content: start; }
  .chips li { min-width: 120px; }
  .final .actions { justify-content: center; }
  .cards { grid-template-columns: 1fr 1fr; }
  .route, .ck { max-width: 680px; }
  .ck { margin-inline: 0; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .btn-wide { display: inline-flex; width: auto; margin-right: 8px; }
  .shindan { max-width: 560px; margin: 0 auto; }
}

/* ---------- 1024px〜 ---------- */
@media (min-width: 1024px) {
  .boss { width: 760px; }
  .dock { display: none; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, [data-pop] .ch, .stage { opacity: 1; transform: none; }
  .gt-line, .gt-gold, .hero-sub, .h1, .chips, .press, .hero-link, .kicker { animation: none !important; opacity: 1; }
  .clear { opacity: 1; transform: rotate(-8deg); }
}

/* スマホ・タブレット：すりガラスのぼかしを外して、スクロールを軽く */
@media (hover: none), (pointer: coarse) {
  .hd.is-solid, .dock { background: rgba(13, 12, 16, .97); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
