/* =========================================================
   麻雀大富豪 ダウンロードガイドページ
   和紙（クリーム）× 深夜藍 × 金箔
   ========================================================= */
:root {
  --indigo: #151b33;
  --indigo-2: #232c52;
  --gold: #c9a45c;
  --gold-bright: #e6c98b;
  --washi: #f7f3ea;
  --ink: #2b2b2b;
  --ink-light: #6b6b6b;
  --font-serif: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--washi);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
.container { width: min(1080px, 92%); margin-inline: auto; }
.container.narrow { width: min(760px, 92%); }

/* ---------- 共通バー ---------- */
.bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 9px max(4%, 16px);
  background: rgba(21, 27, 51, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 164, 92, .22);
}
.bar-brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  color: #fff; font-family: var(--font-serif); font-size: 16px; font-weight: 700; letter-spacing: .06em;
}
.bar-brand img { width: 30px; height: 30px; border-radius: 7px; }
.bar-cta {
  background: linear-gradient(135deg, var(--gold), #a8823e);
  color: #1b1b1b; text-decoration: none;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  padding: 7px 16px; border-radius: 999px; white-space: nowrap;
}
.bar-cta:hover { filter: brightness(1.08); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  padding: clamp(44px, 8vh, 84px) 6% clamp(72px, 12vh, 116px);
  background: radial-gradient(ellipse at 50% 0%, #2b3765 0%, var(--indigo) 58%, #0d1124 100%);
}
.seigaiha {
  position: absolute; left: 0; right: 0; bottom: -6px; height: 180px; opacity: .14; pointer-events: none;
  background:
    radial-gradient(circle at 50% 100%, transparent 24%, var(--gold) 25%, transparent 27%, transparent 44%, var(--gold) 45%, transparent 47%, transparent 64%, var(--gold) 65%, transparent 67%) 0 0/120px 60px repeat-x,
    radial-gradient(circle at 50% 100%, transparent 24%, var(--gold) 25%, transparent 27%, transparent 44%, var(--gold) 45%, transparent 47%, transparent 64%, var(--gold) 65%, transparent 67%) 60px 30px/120px 60px repeat-x;
}
.app-icon {
  width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}
.hero-title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(28px, 6vw, 42px); letter-spacing: .1em; margin-bottom: 12px;
}
.hero-pitch { font-size: 15px; color: rgba(255, 255, 255, .84); margin-bottom: 30px; }
.btn-store {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fffdf4; color: #111; text-decoration: none;
  border-radius: 14px; padding: 12px 28px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
  transition: transform .2s, box-shadow .2s;
}
.btn-store:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 0, 0, .45); }
.btn-store small { display: block; font-size: 9.5px; letter-spacing: .1em; color: #555; line-height: 1.4; }
.btn-store strong { font-size: 18px; letter-spacing: .02em; }
.hero-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 28px;
  margin-top: 36px; position: relative;
}
.qr {
  width: 104px; height: 104px; padding: 6px;
  background: #fffdf4; border-radius: 12px; box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; max-width: 440px; }
.facts li {
  font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--gold-bright);
  border: 1px solid rgba(201, 164, 92, .45); border-radius: 999px; padding: 3px 12px;
}
.facts-soon { color: rgba(255, 255, 255, .5); border-color: rgba(255, 255, 255, .18); }

/* ---------- スクリーンショット ---------- */
.shots { padding: clamp(40px, 7vh, 62px) 0 clamp(46px, 8vh, 68px); }
.shots-title {
  text-align: center; font-family: var(--font-serif); color: var(--gold);
  font-size: 14px; font-weight: 700; letter-spacing: .3em; margin-bottom: 26px;
}
.rail {
  display: flex; gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 2px max(4%, calc((100vw - 1080px) / 2)) 12px;
  scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.shot {
  flex: 0 0 min(78vw, 440px); scroll-snap-align: center;
  background: var(--indigo); border-radius: 14px; padding: 10px 10px 0;
  box-shadow: 0 8px 24px rgba(21, 27, 51, .14);
}
.shot img { width: 100%; height: auto; border-radius: 8px; }
.shot figcaption {
  font-family: var(--font-serif); font-size: 13px; letter-spacing: .04em;
  color: var(--gold-bright); text-align: center; padding: 10px 4px 12px;
}
.rail-hint { text-align: center; font-size: 12px; color: var(--ink-light); margin-top: 10px; }
@media (hover: none) { .rail-hint { display: none; } }

/* ---------- フッター ---------- */
.foot {
  background: #0d1124; color: rgba(255, 255, 255, .7);
  padding: 32px 6% 38px; text-align: center;
}
.foot-op { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: .04em; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 14px 0 18px; }
.foot-nav a { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: 12.5px; }
.foot-nav a:hover { color: var(--gold-bright); }
.foot-legal { font-size: 11.5px; line-height: 1.9; color: rgba(255, 255, 255, .45); max-width: 640px; margin: 0 auto 12px; }
.foot-copy { font-size: 11px; color: rgba(255, 255, 255, .35); }

/* ---------- 約款ページ（プライバシーポリシー） ---------- */
.legal-hero {
  position: relative; padding: 76px 6% 74px; text-align: center; color: #fff;
  background: radial-gradient(ellipse at 50% 0%, #2b3765 0%, var(--indigo) 60%, #0d1124 100%);
}
.legal-kicker { font-size: 12px; letter-spacing: .3em; color: var(--gold-bright); }
.legal-hero h1 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(26px, 5vw, 38px); letter-spacing: .12em; margin: 6px 0 12px;
}
.legal-date { font-size: 12.5px; color: rgba(255, 255, 255, .6); letter-spacing: .1em; }
.legal-body { padding: 54px 0 72px; }
.legal-lead {
  font-size: 13.5px; line-height: 2.1;
  background: #fff; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0;
  padding: 24px 26px; margin-bottom: 38px; box-shadow: 0 6px 22px rgba(21, 27, 51, .06);
}
.legal-toc {
  background: #fff; border: 1px solid #e9e2d0; border-radius: 14px;
  padding: 22px 26px; margin-bottom: 44px;
}
.legal-toc h2 { font-family: var(--font-serif); font-size: 15px; letter-spacing: .2em; margin-bottom: 10px; }
.legal-toc ol { list-style: none; columns: 2; gap: 40px; }
.legal-toc li { margin-bottom: 6px; font-size: 13.5px; }
.legal-toc a { color: var(--indigo-2); text-decoration: none; border-bottom: 1px dashed rgba(201, 164, 92, .6); }
.legal-toc a:hover { color: var(--gold); }
.legal-section { margin-bottom: 44px; scroll-margin-top: 76px; }
.legal-section h2 {
  font-family: var(--font-serif); font-size: 20px; font-weight: 700; letter-spacing: .06em;
  padding-bottom: 10px; margin-bottom: 18px; border-bottom: 2px solid var(--gold); display: inline-block;
}
.legal-section p { font-size: 13.5px; line-height: 2.1; margin-bottom: 14px; }
.legal-list { list-style: none; }
.legal-list li { font-size: 13.5px; line-height: 2.1; margin-bottom: 11px; padding-left: 1.6em; position: relative; }
.legal-list li::before { content: "▪"; position: absolute; left: 0; color: var(--gold); font-size: 11px; top: .35em; }
.legal-back { text-align: center; margin-top: 52px; }
.back-link {
  display: inline-block; padding: 11px 30px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #a8823e);
  color: #1b1b1b; text-decoration: none; font-size: 13px; font-weight: 700;
}

@media (max-width: 680px) {
  .legal-toc ol { columns: 1; }
  .legal-lead { padding: 20px 18px; }
  .hero-pitch { font-size: 14px; }
  .qr { width: 88px; height: 88px; }
}
