/* ============================================================
   コンビニ陣営大戦 LP — 煽り系ド派手スタイル
   2トーン: A=ネオン闘技場 / B=ポップ祭り
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Faction army colors (tone-independent) ---------- */
:root {
  --f1: #e8182f;  --f1d: #a50d1e;   /* セブン軍 紅蓮 */
  --f2: #1f6dff;  --f2d: #0f3fb0;   /* ローソン軍 蒼 */
  --f3: #0fae62;  --f3d: #097843;   /* ファミマ軍 翠 */
  --f4: #9333e8;  --f4d: #641ca5;   /* その他連合 紫紺 */
}

/* ============================================================
   TONE A — ネオン闘技場（黒×ネオン）
   ============================================================ */
.page[data-tone="a"] {
  --bg: #07070f;
  --band: #0e0e1b;
  --band2: #12122a;
  --ink: #ffffff;
  --ink-soft: #b8b8d8;
  --hot: #ffd400;       /* 黄 */
  --fire: #ff2733;      /* 赤 */
  --magenta: #ff2bd6;   /* マゼンタ */
  --card: #14142a;
  --card-line: rgba(255,255,255,.12);
  --display: "Dela Gothic One", sans-serif;
  background: var(--bg);
  color: var(--ink);
}
.page[data-tone="a"] {
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -5%, rgba(255,43,214,.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 105%, rgba(255,212,0,.10), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(255,255,255,.018) 38px 39px);
}

/* ============================================================
   TONE B — ポップ祭り（クリーム×極太黒縁）
   ============================================================ */
.page[data-tone="b"] {
  --bg: #fff3d6;
  --band: #fffaf0;
  --band2: #ffe6b0;
  --ink: #18141f;
  --ink-soft: #5a5240;
  --hot: #ffc400;
  --fire: #ff2e1f;
  --magenta: #ff2e1f;
  --card: #ffffff;
  --card-line: #18141f;
  --display: "Dela Gothic One", sans-serif;
  background: var(--bg);
  color: var(--ink);
}
.page[data-tone="b"] {
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255,46,31,.07) 0 2px, transparent 2px),
    radial-gradient(circle at 12% 8%, transparent 0, transparent 100%);
  background-size: 18px 18px, 100% 100%;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.page {
  position: relative;
  min-height: 100vh;
}
.wrap {            /* centered LP column */
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.band {            /* full-bleed colored section */
  position: relative;
  padding: 64px 22px;
  overflow: hidden;
}
.band-inner { max-width: 676px; margin: 0 auto; position: relative; z-index: 2; }
.band--alt { background: var(--band); }
.band--alt2 { background: var(--band2); }
@media (min-width: 1100px) {
  .band { padding: 88px 22px; }
}

/* ---------- Typography ---------- */
.display { font-family: var(--display); font-weight: 400; line-height: 1.12; letter-spacing: .01em; }
.eyebrow {
  font-family: var(--display);
  font-size: clamp(11px, 2.6vw, 14px);
  letter-spacing: .18em;
  color: var(--fire);
  margin: 0 0 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 22px; height: 3px; background: var(--fire); }
.sec-title {
  font-family: var(--display);
  font-size: clamp(26px, 6.6vw, 44px);
  line-height: 1.18;
  margin: 0 0 10px;
  text-wrap: balance;
}
.sec-lead { font-size: clamp(14px, 3.6vw, 17px); color: var(--ink-soft); font-weight: 600; margin: 0; }
.hl { color: var(--hot); }
.hl-fire { color: var(--fire); }

/* mark highlighter for tone B */
.page[data-tone="b"] .marker {
  background: linear-gradient(transparent 55%, var(--hot) 55%);
  padding: 0 .1em;
}
.page[data-tone="a"] .marker { color: var(--hot); }

/* ============================================================
   BUTTONS / CTA
   ============================================================ */
.cta {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(17px, 4.4vw, 23px);
  color: #1a0a00;
  background: var(--hot);
  padding: 20px 30px;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  transition: transform .12s ease, box-shadow .2s ease;
  width: 100%;
  max-width: 520px;
}
.page[data-tone="a"] .cta {
  box-shadow: 0 0 0 2px rgba(255,212,0,.5), 0 0 34px rgba(255,212,0,.55), 0 10px 0 var(--f1d);
}
.page[data-tone="b"] .cta {
  color: #fff; background: var(--fire);
  border: 4px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
}
.page[data-tone="b"] .cta .cta-arrow { color: var(--hot); }
.cta:hover { transform: translateY(-3px); }
.page[data-tone="b"] .cta:hover { box-shadow: 4px 4px 0 var(--ink); transform: translate(2px,2px); }
.cta:active { transform: translateY(0); }
.cta-arrow { font-size: 1.1em; }

.cta-sub {
  margin: 14px 0 0; font-size: 13px; font-weight: 700;
  color: var(--ink-soft); letter-spacing: .04em;
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.cta-sub span { display: inline-flex; align-items: center; gap: 5px; }
.cta-sub span::before { content: "✓"; color: var(--f3); font-weight: 900; }

/* ============================================================
   TONE TOGGLE (fixed)
   ============================================================ */
.tone-toggle {
  position: fixed; top: 14px; right: 14px; z-index: 200;
  display: flex; gap: 4px; padding: 5px;
  border-radius: 999px;
  background: rgba(12,12,24,.82); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.tone-toggle button {
  font-family: "Noto Sans JP", sans-serif; font-weight: 800;
  font-size: 12px; color: #c9c9e0;
  padding: 8px 13px; border-radius: 999px; white-space: nowrap;
  transition: all .2s ease;
}
.tone-toggle button.on { background: var(--hot); color: #1a0a00; }
.page[data-tone="b"] .tone-toggle button.on { background: var(--fire); color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 96px 22px 70px;
  text-align: center;
  overflow: hidden;
}
.hero-inner { max-width: 676px; margin: 0 auto; position: relative; z-index: 3; }
.hero-badge {
  display: inline-block;
  font-family: var(--display); font-size: 13px; letter-spacing: .12em;
  padding: 9px 18px; border-radius: 999px; margin-bottom: 22px;
  transform: rotate(-2deg);
}
.page[data-tone="a"] .hero-badge { background: var(--fire); color: #fff; box-shadow: 0 0 22px rgba(255,39,51,.6); }
.page[data-tone="b"] .hero-badge { background: var(--ink); color: var(--hot); border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--fire); }

.hero-period {
  display: inline-block; font-family: "Roboto Mono", monospace; font-weight: 700;
  font-size: 12px; letter-spacing: .08em; color: var(--ink-soft); margin: 0 0 6px;
}
.hero-period::before { content: "▸ "; color: var(--fire); }

.hero-h1 {
  font-family: var(--display);
  font-size: clamp(34px, 9.6vw, 76px);
  line-height: 1.08; margin: 0 0 8px;
  text-wrap: balance;
}
.page[data-tone="a"] .hero-h1 { text-shadow: 0 0 30px rgba(255,212,0,.35); }
.hero-h1 .pop {
  display: inline-block; color: var(--fire);
}
.page[data-tone="a"] .hero-h1 .pop { text-shadow: 0 0 26px rgba(255,39,51,.7); }
.page[data-tone="b"] .hero-h1 .pop {
  color: #fff;
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
}
.hero-sub {
  font-family: var(--display);
  font-size: clamp(15px, 4.2vw, 24px);
  color: var(--hot); margin: 18px 0 0; line-height: 1.3;
}
.page[data-tone="b"] .hero-sub { color: var(--ink); }
.hero-lead {
  font-size: clamp(13px, 3.4vw, 16px); font-weight: 600;
  color: var(--ink-soft); margin: 16px auto 32px; max-width: 30em;
}

/* hero key visual */
.hero-kv {
  position: relative; margin: 26px auto 4px; max-width: 620px;
  border-radius: 18px; overflow: hidden;
  aspect-ratio: 16 / 9;
}
.page[data-tone="a"] .hero-kv { box-shadow: 0 0 0 2px rgba(255,212,0,.35), 0 0 44px rgba(255,43,214,.4); }
.page[data-tone="b"] .hero-kv { border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.hero-kv .kv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-kv .kv-b { display: none; }
.page[data-tone="b"] .hero-kv .kv-a { display: none; }
.page[data-tone="b"] .hero-kv .kv-b { display: block; }
.hero-cta-wrap { display: flex; flex-direction: column; align-items: center; }

/* hero decorative diagonal banner */
.diag-banner {
  position: absolute; left: -20%; width: 140%;
  font-family: var(--display); white-space: nowrap;
  font-size: clamp(40px, 12vw, 100px);
  opacity: .06; pointer-events: none; z-index: 1;
  transform: rotate(-8deg);
}
.diag-banner.t { top: 4%; }
.diag-banner.b { bottom: 2%; }
.page[data-tone="b"] .diag-banner { opacity: .05; }

/* burst star behind hero */
.hero-burst {
  position: absolute; z-index: 0; pointer-events: none;
  width: min(120%, 720px); aspect-ratio: 1; left: 50%; top: 42%;
  transform: translate(-50%,-50%);
  background:
    conic-gradient(from 0deg,
      transparent 0 8deg, rgba(255,212,0,.05) 8deg 12deg,
      transparent 12deg 20deg, rgba(255,212,0,.05) 20deg 24deg);
  border-radius: 50%;
}
.page[data-tone="b"] .hero-burst {
  background:
    conic-gradient(from 0deg, var(--hot) 0 6deg, transparent 6deg 12deg);
  opacity: .14;
}

/* ============================================================
   OVERVIEW — 3 icons
   ============================================================ */
.ov-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .ov-grid { grid-template-columns: repeat(3, 1fr); } }
.ov-card {
  position: relative; text-align: center; padding: 36px 20px 28px;
  border-radius: 20px; background: var(--card);
}
.page[data-tone="a"] .ov-card { border: 1px solid var(--card-line); box-shadow: inset 0 0 0 1px rgba(255,255,255,.03); }
.page[data-tone="b"] .ov-card { border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.ov-num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  font-family: var(--display); font-size: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--fire); color: #fff;
}
.page[data-tone="b"] .ov-num { border: 3px solid var(--ink); }
.ov-icon {
  font-size: 46px; line-height: 1; margin: 6px 0 14px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.3));
  display: none;
}
.ov-kw {
  font-family: var(--display); font-size: clamp(22px, 5.5vw, 30px);
  line-height: 1; margin: 16px 0 12px; color: var(--hot);
}
.page[data-tone="b"] .ov-kw { color: var(--fire); }
.ov-card h3 { font-family: var(--display); font-size: clamp(15px, 3.6vw, 18px); margin: 0; line-height: 1.4; }
.ov-card h3 b { color: var(--hot); }
.page[data-tone="b"] .ov-card h3 b { color: var(--fire); }

/* ============================================================
   STEPS
   ============================================================ */
.steps { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.step {
  position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 18px;
  align-items: center; padding: 22px; border-radius: 18px; background: var(--card);
}
.page[data-tone="a"] .step { border: 1px solid var(--card-line); }
.page[data-tone="b"] .step { border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.step-no {
  font-family: var(--display);
  width: 64px; height: 64px; border-radius: 14px;
  display: grid; place-items: center; line-height: 1;
  background: var(--fire); color: #fff; font-size: 13px; text-align: center;
}
.page[data-tone="b"] .step-no { border: 3px solid var(--ink); }
.step-no b { font-size: 30px; display: block; }
.step h4 { font-family: var(--display); font-size: clamp(16px,4vw,20px); margin: 0 0 5px; }
.step p { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.step-arrow {
  position: absolute; bottom: -16px; left: 38px; z-index: 3;
  font-size: 22px; color: var(--hot);
}
.note-flag {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-size: clamp(13px,3.4vw,17px);
  padding: 13px 20px; border-radius: 12px;
  background: var(--hot); color: #1a0a00;
  transform: rotate(-1.2deg);
}
.page[data-tone="b"] .note-flag { border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.note-flag .x2 { font-size: 1.5em; }

/* ============================================================
   FACTIONS + SCORE BARS
   ============================================================ */
.live-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--display); font-size: 12px; letter-spacing: .1em;
  padding: 6px 13px; border-radius: 999px; margin-bottom: 14px;
  background: var(--fire); color: #fff;
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: pulse 1.1s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.faction-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 600px) { .faction-grid { grid-template-columns: repeat(3, 1fr); } }

.fcard {
  position: relative; border-radius: 20px; padding: 22px 20px 20px;
  background: var(--card); overflow: hidden;
  transition: transform .18s ease, box-shadow .2s ease;
  --fc: var(--f1);
}
.fcard.f1 { --fc: var(--f1); --fcd: var(--f1d); }
.fcard.f2 { --fc: var(--f2); --fcd: var(--f2d); }
.fcard.f3 { --fc: var(--f3); --fcd: var(--f3d); }
.fcard.f4 { --fc: var(--f4); --fcd: var(--f4d); }
.page[data-tone="a"] .fcard { border: 1px solid var(--card-line); }
.page[data-tone="b"] .fcard { border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.fcard::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 7px; background: var(--fc);
}
.fcard.selected { transform: translateY(-2px); }
.page[data-tone="a"] .fcard.selected { box-shadow: 0 0 0 2px var(--fc), 0 0 34px color-mix(in srgb, var(--fc) 60%, transparent); }
.page[data-tone="b"] .fcard.selected { box-shadow: 6px 6px 0 var(--fc), 0 0 0 4px var(--ink); }

.fcard-hero {
  position: relative; height: 168px; margin-bottom: 10px; border-radius: 14px;
  display: grid; place-items: end center; overflow: hidden;
  background: radial-gradient(circle at 50% 78%, color-mix(in srgb, var(--fc) 42%, transparent), transparent 68%);
}
.page[data-tone="b"] .fcard-hero { background: radial-gradient(circle at 50% 78%, color-mix(in srgb, var(--fc) 26%, transparent), transparent 70%); border: 2px dashed color-mix(in srgb, var(--fc) 50%, transparent); }
.fcard-mascot {
  height: 178px; width: auto; object-fit: contain; margin-bottom: -6px;
  filter: drop-shadow(0 10px 12px rgba(0,0,0,.45));
  transition: transform .25s ease;
}
.fcard:hover .fcard-mascot { transform: translateY(-4px) scale(1.03); }
.fcard-logo {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  width: 40px; height: 40px; border-radius: 9px; background: #fff; padding: 2px;
  box-shadow: 0 3px 8px rgba(0,0,0,.3); object-fit: contain;
}
.fcard-rankbadge {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  font-family: var(--display); font-size: 12px; color: #fff;
  padding: 5px 10px; border-radius: 999px; background: var(--fc);
  box-shadow: 0 3px 0 var(--fcd);
}
.fcard-head { text-align: center; margin-bottom: 6px; }
.fcard-name { font-family: var(--display); font-size: clamp(16px,4.4vw,20px); margin: 0; line-height: 1.15; }
.fcard-rank { font-size: 11px; font-weight: 800; color: var(--ink-soft); letter-spacing: .06em; }
.fcard-copy { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin: 6px 0 14px; min-height: 2.6em; text-align: center; }

/* bonus code chip */
.bonus-chip {
  display: flex; align-items: center; gap: 8px; justify-content: flex-start;
  margin: 0 0 14px; padding: 7px 8px 7px 12px; border-radius: 10px;
  background: color-mix(in srgb, var(--fc) 14%, transparent);
}
.page[data-tone="b"] .bonus-chip { border: 2px solid var(--ink); background: color-mix(in srgb, var(--fc) 14%, #fff); }
.bc-lab { font-size: 10px; font-weight: 800; letter-spacing: .06em; color: var(--ink-soft); white-space: nowrap; flex: none; }
.bc-code { font-family: var(--display); font-size: 13px; color: var(--fc); letter-spacing: .03em; }
.page[data-tone="b"] .bc-code { color: var(--ink); }
.bc-copy {
  margin-left: auto; flex: none; font-family: "Noto Sans JP", sans-serif; font-weight: 800;
  font-size: 11px; color: #fff; background: var(--fc); padding: 7px 11px; border-radius: 8px;
  white-space: nowrap; transition: filter .15s ease, transform .1s ease;
}
.page[data-tone="b"] .bc-copy { border: 2px solid var(--ink); }
.bc-copy:hover { filter: brightness(1.08); }
.bc-copy:active { transform: translateY(1px); }
.bonus-chip.copied .bc-copy { background: var(--f3); }
.page[data-tone="b"] .bonus-chip.copied .bc-copy { background: var(--f3); color: #fff; }

.score-val em { font-size: .62em; font-style: normal; opacity: .85; }

.join-foot { margin-top: 24px; text-align: center; font-size: 13px; font-weight: 700; color: var(--ink-soft); }

/* prize amount banner */
.prize-amount { margin: 24px 0 8px; text-align: center; padding: 26px 24px; border-radius: 18px; background: var(--card); }
.page[data-tone="a"] .prize-amount { border: 1px solid var(--card-line); box-shadow: 0 0 44px rgba(255,212,0,.14); }
.page[data-tone="b"] .prize-amount { border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.prize-amount .lab { display: block; font-size: 12px; font-weight: 800; color: var(--ink-soft); letter-spacing: .1em; }
.prize-amount .big { font-family: var(--display); font-size: clamp(38px,11vw,68px); color: var(--hot); line-height: 1; margin: 8px 0; }
.page[data-tone="b"] .prize-amount .big { color: var(--fire); }
.prize-amount .yen { font-size: .55em; }
.prize-amount .pct { font-family: var(--display); color: var(--fire); font-weight: 400; }
.join-note { font-size: 12px; color: var(--ink-soft); opacity: .85; }

.score-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.score-label { font-size: 11px; font-weight: 800; color: var(--ink-soft); letter-spacing: .06em; }
.score-val { font-family: var(--display); font-size: clamp(15px,4vw,19px); color: var(--fc); }
.page[data-tone="b"] .score-val { color: var(--ink); }
.score-bar {
  height: 14px; border-radius: 999px; overflow: hidden;
  background: rgba(128,128,128,.18);
}
.page[data-tone="b"] .score-bar { border: 2px solid var(--ink); height: 18px; }
.score-fill {
  height: 100%; border-radius: 999px; width: 0;
  background: linear-gradient(90deg, var(--fcd), var(--fc));
  transition: width 1.4s cubic-bezier(.22,.9,.3,1);
  position: relative;
}
.score-fill::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  animation: sheen 2.2s infinite;
}
@keyframes sheen { 0% { transform: translateX(-100%);} 60%,100% { transform: translateX(100%);} }

.fjoin {
  margin-top: 16px; width: 100%;
  font-family: var(--display); font-size: 14px;
  padding: 13px; border-radius: 12px;
  background: var(--fc); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: filter .15s ease, transform .1s ease;
  box-shadow: 0 5px 0 var(--fcd);
}
.page[data-tone="b"] .fjoin { border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); color: #fff; }
.fjoin:hover { filter: brightness(1.08); }
.fjoin:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--fcd); }
.fcard.selected .fjoin { background: var(--ink); color: var(--hot); box-shadow: 0 5px 0 rgba(0,0,0,.4); }
.page[data-tone="b"] .fcard.selected .fjoin { background: var(--ink); color: var(--hot); }

/* total prize meter */
.prize-meter {
  margin-top: 30px; text-align: center;
  padding: 24px; border-radius: 18px;
  background: var(--card);
}
.page[data-tone="a"] .prize-meter { border: 1px solid var(--card-line); }
.page[data-tone="b"] .prize-meter { border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.prize-meter .lab { font-size: 12px; font-weight: 800; color: var(--ink-soft); letter-spacing: .1em; }
.prize-meter .big { font-family: var(--display); font-size: clamp(34px,9vw,60px); color: var(--hot); line-height: 1; margin: 6px 0; }
.page[data-tone="b"] .prize-meter .big { color: var(--fire); }
.prize-meter .yen { font-size: .5em; }

/* ============================================================
   PRIZES
   ============================================================ */

/* ---- 優勝陣営ボーナス ヒーローブロック ---- */
.prize-hero {
  margin-top: 28px;
  border-radius: 20px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page[data-tone="a"] .prize-hero {
  background: linear-gradient(135deg, #1a0a00 0%, #2a1500 50%, #1a0a00 100%);
  border: 2px solid rgba(255,212,0,.55);
  box-shadow: 0 0 48px rgba(255,212,0,.22), inset 0 0 60px rgba(255,212,0,.06);
}
.page[data-tone="b"] .prize-hero {
  background: var(--hot);
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}
.prize-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0px, transparent 10px,
    rgba(255,212,0,.04) 10px, rgba(255,212,0,.04) 11px
  );
  pointer-events: none;
}
.prize-hero-kicker {
  display: inline-block;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: .14em;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.page[data-tone="a"] .prize-hero-kicker {
  background: rgba(255,212,0,.15);
  border: 1px solid rgba(255,212,0,.5);
  color: var(--hot);
}
.page[data-tone="b"] .prize-hero-kicker {
  background: var(--ink);
  color: var(--hot);
  border: 2px solid var(--ink);
}
.prize-hero-main {
  margin-bottom: 20px;
}
.prize-hero-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  opacity: .7;
  margin-bottom: 4px;
}
.page[data-tone="a"] .prize-hero-label { color: var(--ink-soft); }
.page[data-tone="b"] .prize-hero-label { color: var(--ink); }
.prize-hero-amount {
  font-family: var(--display);
  font-size: clamp(42px, 12vw, 76px);
  line-height: 1;
  color: var(--hot);
}
.page[data-tone="b"] .prize-hero-amount {
  color: var(--ink);
}
.prize-hero-yen { font-size: .55em; }

/* 5% 訴求ブロック */
.prize-hero-rule {
  margin: 0 auto 20px;
  max-width: 400px;
}
.prize-hero-pct-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px 20px;
  border-radius: 14px;
  flex-wrap: wrap;
}
.page[data-tone="a"] .prize-hero-pct-wrap {
  background: rgba(255,39,51,.18);
  border: 1px solid rgba(255,39,51,.5);
}
.page[data-tone="b"] .prize-hero-pct-wrap {
  background: var(--fire);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.prize-hero-pct-num {
  font-family: var(--display);
  font-size: clamp(44px, 12vw, 88px);
  line-height: 1;
  color: var(--fire);
  flex: none;
}
.page[data-tone="b"] .prize-hero-pct-num {
  color: #fff;
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
}
.prize-hero-pct-sign {
  font-size: .55em;
}
.prize-hero-pct-desc {
  font-family: var(--display);
  font-size: clamp(13px, 3.4vw, 16px);
  line-height: 1.4;
  text-align: left;
  max-width: 10em;
}
.page[data-tone="a"] .prize-hero-pct-desc { color: #fff; }
.page[data-tone="b"] .prize-hero-pct-desc { color: #fff; }

.prize-hero-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
}
.prize-hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: .03em;
}
.page[data-tone="a"] .prize-hero-badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
}
.page[data-tone="b"] .prize-hero-badge {
  background: rgba(0,0,0,.75);
  color: #fff;
  border: 2px solid rgba(0,0,0,.9);
}

/* 計算例 */
.prize-hero-example {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 10px;
  margin-top: 4px;
}
.page[data-tone="a"] .prize-hero-example {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--ink-soft);
}
.page[data-tone="b"] .prize-hero-example {
  background: rgba(0,0,0,.08);
  border: 2px solid var(--ink);
  color: var(--ink);
}
.prize-hero-ex-label {
  font-weight: 900;
  opacity: .6;
}
.prize-hero-example strong {
  color: var(--fire);
}
.page[data-tone="b"] .prize-hero-example strong {
  color: var(--fire);
}

.prize-list { display: grid; gap: 16px; margin-top: 32px; }
.prize-item {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start;
  padding: 22px 20px; border-radius: 16px; background: var(--card);
}
.page[data-tone="a"] .prize-item { border: 1px solid var(--card-line); }
.page[data-tone="b"] .prize-item { border: 4px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.prize-medal {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-size: 15px; color: #1a0a00; flex: none;
  background: var(--hot); box-shadow: 0 5px 0 var(--f1d);
  margin-top: 2px;
}
.page[data-tone="b"] .prize-medal { border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.prize-item h4 { font-family: var(--display); font-size: 16px; margin: 0 0 3px; }
.prize-item p { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.prize-tbd { color: var(--fire); font-weight: 800; }

/* ---- MVP Secret card ---- */
.prize-item--secret {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
  border: 1px solid rgba(255,212,0,.35) !important;
  box-shadow: 0 0 28px rgba(255,212,0,.18), inset 0 0 40px rgba(255,212,0,.04) !important;
  position: relative;
  overflow: hidden;
}
.page[data-tone="b"] .prize-item--secret {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%) !important;
  border: 3px solid #ffd400 !important;
  box-shadow: 6px 6px 0 #ffd400 !important;
}
.prize-item--secret::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent 0px, transparent 8px,
    rgba(255,212,0,.04) 8px, rgba(255,212,0,.04) 9px
  );
  pointer-events: none;
}
.prize-medal--secret {
  background: linear-gradient(135deg, #2a2a4a, #1a1a3a) !important;
  border: 2px solid rgba(255,212,0,.6) !important;
  box-shadow: 0 0 16px rgba(255,212,0,.4), 0 5px 0 rgba(0,0,0,.4) !important;
  font-size: 22px !important;
  color: #ffd400 !important;
  animation: secret-pulse 2.4s ease-in-out infinite;
  margin-top: 2px;
}
@keyframes secret-pulse {
  0%, 100% { box-shadow: 0 0 16px rgba(255,212,0,.4), 0 5px 0 rgba(0,0,0,.4); }
  50% { box-shadow: 0 0 32px rgba(255,212,0,.8), 0 5px 0 rgba(0,0,0,.4); }
}
.prize-secret-body { flex: 1; }
.prize-secret-title {
  font-family: var(--display);
  font-size: 15px;
  margin: 0 0 8px;
  color: #ffd400;
  letter-spacing: .04em;
}
.prize-secret-blur {
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,212,0,.2);
  border-radius: 10px;
  padding: 10px 14px;
  position: relative;
}
.prize-secret-label {
  display: inline-block;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .18em;
  color: #ffd400;
  background: rgba(255,212,0,.12);
  border: 1px solid rgba(255,212,0,.4);
  border-radius: 4px;
  padding: 2px 7px;
  margin-bottom: 6px;
}
.prize-secret-text {
  margin: 0 0 4px;
  font-size: 15px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.15);
  filter: blur(3px);
  user-select: none;
}
.prize-secret-hint {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,212,0,.7);
  letter-spacing: .04em;
}

/* ---- SNS Share hashtag tags ---- */
.prize-hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.prize-hashtag {
  display: inline-block;
  background: linear-gradient(135deg, #1da1f2 0%, #0d7abf 100%);
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 20px;
  letter-spacing: .02em;
}
.prize-item--sns {
  border: 2px solid #1da1f2 !important;
}
.prize-howto {
  margin-top: 8px;
  font-size: .78rem;
  color: var(--hot);
  font-weight: 700;
  line-height: 1.5;
}
.page[data-tone="b"] .prize-howto {
  color: var(--fire);
}
.prize-timing {
  text-align: center;
  margin-top: 28px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: .02em;
  padding: 12px 18px;
  border-radius: 10px;
}
.page[data-tone="a"] .prize-timing {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
}
.page[data-tone="b"] .prize-timing {
  background: rgba(0,0,0,.05);
  border: 2px solid var(--ink);
}
.page[data-tone="a"] .prize-item--sns {
  background: linear-gradient(135deg, #0a1a2e 0%, #0e1e38 100%) !important;
  box-shadow: 0 0 20px rgba(29,161,242,.25) !important;
}
.page[data-tone="b"] .prize-item--sns {
  background: linear-gradient(135deg, #e8f5fd 0%, #fff 100%) !important;
  border: 4px solid #1da1f2 !important;
  box-shadow: 5px 5px 0 #1da1f2 !important;
}
.page[data-tone="b"] .prize-item--sns h4 { color: #0d7abf; }
.page[data-tone="b"] .prize-item--sns p { color: #1a1a1a; }
.page[data-tone="a"] .prize-item--sns h4 { color: #fff; }
.page[data-tone="a"] .prize-item--sns p { color: #b0c8e8; }

/* ============================================================
   WHY CONBINI
   ============================================================ */
.why-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin: 28px 0; }
.why-card {
  padding: 24px 18px 20px; border-radius: 16px; text-align: center; background: var(--card);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.page[data-tone="a"] .why-card { border: 1px solid var(--card-line); }
.page[data-tone="b"] .why-card { border: 4px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.why-card .why-check {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  margin: 0 auto 10px; border-radius: 50%;
  font-size: 22px; font-weight: 900; line-height: 1;
  color: #fff; background: var(--fire);
}
.page[data-tone="b"] .why-card .why-check { border: 3px solid var(--ink); }
.why-card b { font-family: var(--display); font-size: clamp(14px,3.8vw,17px); display: block; line-height: 1.3; }
.why-card span { font-size: 12px; font-weight: 600; color: var(--ink-soft); }

/* ============================================================
   HOW-TO (manga strip)
   ============================================================ */
.manga-wrap {
  margin: 28px auto 0; max-width: 540px; border-radius: 16px; overflow: hidden;
}
.page[data-tone="a"] .manga-wrap { box-shadow: 0 0 0 2px rgba(255,212,0,.3), 0 0 40px rgba(255,43,214,.3); }
.page[data-tone="b"] .manga-wrap { border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.manga-img { width: 100%; display: block; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-list { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: 14px; overflow: hidden; background: var(--card); }
.page[data-tone="a"] .faq-item { border: 1px solid var(--card-line); }
.page[data-tone="b"] .faq-item { border: 4px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 20px; text-align: left; font-family: "Noto Sans JP"; font-weight: 800;
  font-size: clamp(14px,3.8vw,16px); color: var(--ink);
}
.faq-q .qm {
  font-family: var(--display); color: var(--fire); flex: none;
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  font-size: 15px; background: color-mix(in srgb, var(--fire) 16%, transparent);
}
.faq-q .qtext { flex: 1; }
.faq-q .chev { transition: transform .25s ease; font-size: 20px; color: var(--ink-soft); flex: none; }
.faq-item.open .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 20px 20px 62px; font-size: 14px; font-weight: 600; color: var(--ink-soft); line-height: 1.7; }
.faq-a-inner .tbd { color: var(--fire); font-weight: 800; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
  text-align: center; position: relative;
  padding: 80px 22px 70px; overflow: hidden;
}
.page[data-tone="a"] .final { background: linear-gradient(180deg, #16002a, #07070f); }
.page[data-tone="b"] .final { background: var(--ink); color: #fff; }
.final-inner { position: relative; z-index: 3; max-width: 676px; margin: 0 auto; }
.final h2 {
  font-family: var(--display); font-size: clamp(28px,7.6vw,52px);
  line-height: 1.16; margin: 0 0 26px; text-wrap: balance;
}
.page[data-tone="b"] .final h2 { color: #fff; }
.final h2 em { font-style: normal; color: var(--hot); }
.final-note { margin-top: 22px; font-size: 13px; font-weight: 700; color: var(--ink-soft); opacity: .85; }
.page[data-tone="b"] .final-note { color: rgba(255,255,255,.65); }

/* sticky army banner */
.army-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  display: flex; align-items: center; gap: 12px; justify-content: center;
  padding: 12px 16px; transform: translateY(120%); transition: transform .3s ease;
  background: rgba(10,10,20,.92); backdrop-filter: blur(8px);
  border-top: 2px solid var(--fc, var(--hot));
}
.army-bar.show { transform: translateY(0); }
.army-bar .lab { font-size: 12px; font-weight: 800; color: #c9c9e0; }
.army-bar .nm { font-family: var(--display); font-size: 15px; color: var(--fc, var(--hot)); }
.army-code { font-family: "Roboto Mono", monospace; font-size: 11px; font-weight: 700; color: #c9c9e0; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.08); }
@media (max-width: 420px) { .army-code { display: none; } }
.army-bar .go {
  font-family: var(--display); font-size: 13px; color: #1a0a00; background: var(--hot);
  padding: 10px 18px; border-radius: 999px; text-decoration: none;
}

/* footer */
.foot { padding: 40px 22px 80px; text-align: center; font-size: 11px; color: var(--ink-soft); font-weight: 600; }
.foot .brand { font-family: var(--display); color: var(--ink); font-size: 16px; margin-bottom: 8px; }
.foot-period { margin-top: 6px; font-size: 11px; opacity: .6; }

/* reveal on scroll (parent gets .revealed via React state) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.revealed .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .score-fill, .army-bar, .cta { transition: none; }
}
