/* ============================================================
   スペ順 — 公開ページ共通スタイル
   ブランド: 会場の誘導サイン。明るい灰の地、黒の札、誘導の緑ひとつ。
   色は design.md §2-1 のトークン（ライト／ダーク）
   ============================================================ */

:root {
  --bg: #f3f5f1;
  --surface: #ffffff;
  --surface2: #e6eae4;
  --ink: #121614;
  --ink-sub: #48514b;
  --line: #d5dad4;
  --signal: #00754a;
  --on-signal: #ffffff;
  --signal-text: #00673f;
  --signal-wash: #ddf2e6;
  --plate: #121614;
  --on-plate: #ffffff;
  --plate-signal: #3ce08f;
  --soldout: #c22b2b;
  --later: #ffb21e;
  --shot-bg: #00754a;
  --shot-sub: #b8f5d2;
  --radius: 14px;
  --maxw: 1080px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c100e;
    --surface: #161c19;
    --surface2: #212924;
    --ink: #edf2ee;
    --ink-sub: #a9b4ad;
    --line: #2a322d;
    --signal: #3cd98a;
    --on-signal: #06140c;
    --signal-text: #5be39d;
    --signal-wash: #123524;
    --plate: #edf2ee;
    --on-plate: #0c100e;
    --plate-signal: #00673f;
    --soldout: #ff6b63;
    --later: #ffc24d;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Hiragino Sans",
    "Noto Sans JP", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }

/* ---------- ナビ ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 18px; font-size: 14px; font-weight: 700; color: var(--ink-sub); }
.nav-links a:hover { color: var(--signal-text); }
@media (max-width: 520px) { .nav-links .hide-sm { display: none; } }

/* ---------- スペース札（部品） ---------- */
.plate {
  display: inline-flex; align-items: stretch;
  background: var(--plate); color: var(--on-plate);
  border-radius: 8px; overflow: hidden;
  font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1;
  border: 2px solid var(--plate);
}
.plate span { padding: .32em .5em; }
.plate .area { color: var(--plate-signal); }
.plate .num { border-left: 2px solid color-mix(in srgb, var(--on-plate) 70%, transparent); }
.plate .sub { background: var(--surface2); color: var(--ink); }

/* ---------- ヒーロー（全面の緑） ---------- */
.hero { background: var(--shot-bg); color: #fff; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  padding: 72px 0 0;
}
.hero h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 900; line-height: 1.25; letter-spacing: .01em; }
.hero .lead { margin-top: 18px; font-size: 18px; color: var(--shot-sub); font-weight: 600; }
.hero .examples { margin-top: 28px; display: grid; gap: 10px; font-size: 17px; }
.hero .examples .row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero .examples .raw {
  background: #fffdf5; color: #121614; border-radius: 8px; padding: 4px 12px; font-weight: 600;
  min-width: 10.5em;
}
.hero .examples .arrow { font-weight: 900; }
.hero .plate { background: #121614; color: #fff; border-color: #121614; font-size: 18px; }
.hero .plate .area { color: #3ce08f; }
.hero .plate .num { border-left-color: rgba(255,255,255,.7); }
.hero .plate .sub { background: #e6eae4; color: #121614; }
.cta-row { display: flex; align-items: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #121614; color: #fff; border-radius: 12px; padding: 10px 18px;
  font-weight: 800; font-size: 17px; line-height: 1.2;
}
.badge small { display: block; font-size: 11px; font-weight: 600; opacity: .8; }
.hero-note { font-size: 14px; color: var(--shot-sub); }
.hero-phone { align-self: end; justify-self: center; width: min(340px, 80vw); }
.phone {
  background: #121614; border-radius: 44px 44px 0 0; padding: 12px 12px 0;
}
.phone img { border-radius: 34px 34px 0 0; }
.hero-phone .phone img { aspect-ratio: 603 / 1000; object-fit: cover; object-position: top; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 48px; }
}

/* ---------- セクション ---------- */
.section { padding: 88px 0; }
.section-label {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .06em;
  color: var(--signal-text); background: var(--signal-wash);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.section h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 900; line-height: 1.35; }
.desc { margin-top: 14px; color: var(--ink-sub); font-size: 16px; }
.center { text-align: center; }

.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  margin-top: 96px;
}
.feature.reverse > :first-child { order: 2; }
.feature-media { justify-self: center; width: min(300px, 76vw); }
.feature-media .phone { border-radius: 40px; padding: 10px; }
.feature-media .phone img { border-radius: 30px; }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 28px; margin-top: 72px; }
  .feature.reverse > :first-child { order: 0; }
}

.route {
  display: flex; align-items: center; gap: 8px; margin-top: 22px; flex-wrap: wrap;
  font-weight: 800; font-variant-numeric: tabular-nums;
}
.route .zone {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 10px;
  background: var(--plate); color: var(--plate-signal); font-size: 22px;
}
.route .zone.first { background: var(--signal); color: var(--on-signal); }
.route .leg { color: var(--signal-text); font-size: 15px; }

.coins { display: flex; gap: 14px; margin-top: 22px; align-items: center; flex-wrap: wrap; font-weight: 800; font-size: 20px; }
.coins .bill { border: 2px solid var(--ink); border-radius: 6px; padding: 2px 10px; font-size: 14px; background: var(--surface2); }
.coins .coin { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-size: 13px; background: var(--surface2); }

/* ---------- 無料と Plus ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; text-align: left; }
.plan { background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.plan.plus { border: 2px solid var(--signal); }
.plan h3 { font-size: 20px; font-weight: 900; }
.plan .price { font-size: 15px; color: var(--ink-sub); margin-top: 2px; }
.plan ul { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.plan li { padding-left: 28px; position: relative; }
.plan li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--signal-text); font-weight: 900;
}
.note { margin-top: 20px; font-size: 14px; color: var(--ink-sub); }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }

/* ---------- データを集めない ---------- */
.privacy-band { background: var(--plate); color: var(--on-plate); padding: 80px 0; text-align: center; }
.privacy-band h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 900; line-height: 1.4; }
.privacy-band p { margin-top: 12px; opacity: .85; }
.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.pcard { border: 1px solid color-mix(in srgb, var(--on-plate) 25%, transparent); border-radius: var(--radius); padding: 22px 12px; }
.pcard b { display: block; font-size: 16px; color: var(--plate-signal); }
.pcard span { font-size: 13px; opacity: .85; }
@media (max-width: 720px) { .privacy-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA ---------- */
.cta { background: var(--shot-bg); color: #fff; text-align: center; padding: 80px 0; }
.cta .icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 20px; }
.cta h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 900; }
.cta p { color: var(--shot-sub); margin-top: 10px; }
.cta .cta-row { justify-content: center; }

/* ---------- フッター ---------- */
.footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--ink-sub); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--signal-text); }

/* ---------- 文書ページ（プライバシー・規約・サポート） ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 16px 88px; }
.doc h1 { font-size: clamp(28px, 5vw, 36px); font-weight: 900; line-height: 1.35; }
.doc h2 { font-size: 20px; font-weight: 900; margin-top: 40px; padding-left: 12px; border-left: 5px solid var(--signal); line-height: 1.4; }
.doc h3 { font-size: 17px; font-weight: 800; margin-top: 28px; }
.doc p, .doc ul, .doc ol { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 1.4em; }
.doc li { margin-top: 4px; }
.doc .updated { color: var(--ink-sub); font-size: 14px; margin-top: 6px; }
.doc .callout {
  margin-top: 24px; background: var(--signal-wash); border-radius: var(--radius); padding: 18px 20px;
}
.back-home { display: inline-block; margin-bottom: 20px; font-size: 14px; font-weight: 700; color: var(--signal-text); }
a.inline { color: var(--signal-text); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
code, kbd { font-family: ui-monospace, "SF Mono", Menlo, monospace; background: var(--surface2); border-radius: 5px; padding: 1px 6px; font-size: .92em; }
