/* わちゃ LP (https://wacha.aisaba.net)。正典: .designs/20261109-lp.md §4。token は DESIGN.md §1〜§3 */
:root {
  color-scheme: light dark;
  --ink: #2B2140;
  --c1: #4FE3BE; --c2: #5CC6FF; --c3: #B18CFF; --c4: #FFE45C; --c5: #FF8F7E;
  --night: #1A2140; --line-night: #B9B3D6;
  --bg: #EAF3FF; --surface: #FFFFFF; --text: #2B2140; --sub: #5A5070;
  --depth-card: 0 4px 0 rgba(43, 33, 64, .18);
  --gap: 64px;
  --phone-w: 220px;
  --font: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", ui-rounded, "BIZ UDPGothic", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1A2140; --surface: #283058; --text: #F6F3FF; --sub: #B9B3D6; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-weight: 500; line-break: strict; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; border-radius: 8px; }
figure { margin: 0; }
.c1 { --c: var(--c1); } .c2 { --c: var(--c2); } .c3 { --c: var(--c3); } .c4 { --c: var(--c4); } .c5 { --c: var(--c5); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.site-header { height: 64px; display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; font-size: 1.375rem; font-weight: 900; letter-spacing: .04em; }
.brand img { width: 40px; height: 40px; border-radius: 22%; }

/* 見出しの段: h1 > h2 = .row-title > h3。見出しも本文も空白の位置でだけ折り返す (wacha の文言は句の間に半角空白を置く。数字と単位の間は &nbsp;) */
h1, h2, h3, p, li { word-break: keep-all; }
h1, h2, .row-title { margin: 0; font-weight: 900; line-height: 1.3; letter-spacing: .02em; }
h1 { font-size: 1.75rem; }
h2, .row-title { font-size: 1.5rem; }
h3 { margin: 0; font-size: 1.125rem; line-height: 1.5; font-weight: 800; }
.center { text-align: center; }
p, li { text-wrap: pretty; }
.chip { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border: 2px solid var(--ink); border-radius: 9999px; background: var(--c); color: var(--ink); font-size: .875rem; line-height: 1.5; font-weight: 800; }
.tagline { margin: 4px 0 0; font-size: 1.125rem; line-height: 1.5; font-weight: 800; color: var(--sub); }
.sub { margin: 12px 0 0; font-size: 1.125rem; line-height: 1.5; font-weight: 800; }
.lead { margin: 16px 0 0; font-size: 1rem; line-height: 1.8; max-width: 34em; }
.note, .aside { margin: 12px 0 0; font-size: .875rem; line-height: 1.6; color: var(--sub); }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.soon { display: inline-flex; align-items: center; min-height: 52px; margin: 0; padding: 0 24px; border: 3px solid var(--ink); border-radius: 9999px; background: var(--surface); color: var(--text); box-shadow: var(--depth-card); font-size: 1.0625rem; font-weight: 800; }
.store-badge { display: inline-block; line-height: 0; }
.store-badge img { height: 48px; width: auto; }

.sec { padding: calc(var(--gap) / 2) 0; }
.hero { padding: 16px 0 calc(var(--gap) / 2); }

/* 端末: 実画面 (枠なし) を CSS の枠で囲む。比率は mocks/store/index.html の .frame を縮小 */
.stage { display: flex; justify-content: center; margin-top: 32px; padding: 32px 16px; border-radius: 32px; background: var(--c); }
.stage.night { background: var(--night); box-shadow: inset 0 0 0 3px var(--line-night); --frame: var(--line-night); }
.phone { display: block; width: var(--phone-w); border: 4px solid var(--frame, var(--ink)); border-radius: 18px; overflow: hidden; box-shadow: var(--depth-card); background: var(--ink); }
.phone img { width: 100%; }

/* 通話は いつものまま */
.cards { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.card { padding: 20px; border: 3px solid var(--ink); border-radius: 24px; background: var(--surface); box-shadow: var(--depth-card); }
.card p { margin: 8px 0 0; font-size: 1rem; line-height: 1.7; }

/* ゲーム・はじめかた・スタンプ (交互 2 カラム) */
.row { display: grid; margin-top: 48px; }
.games .row:first-of-type { margin-top: 24px; }
.steps { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: start; }
.step p { margin: 4px 0 0; font-size: 1rem; line-height: 1.7; }
.num { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 3px solid var(--ink); border-radius: 50%; background: var(--c1); color: var(--ink); font-size: 1.125rem; font-weight: 900; line-height: 1; }
.sub-title { margin-top: 24px; }
.points { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.points li { position: relative; padding-left: 24px; font-size: 1rem; line-height: 1.7; }
.points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 4px; background: var(--c2); }

/* 最終 CTA */
.closing { padding: calc(var(--gap) / 2) 0 var(--gap); text-align: center; }
.closing-icon { width: 80px; height: 80px; margin: 0 auto 16px; border-radius: 22%; }
.closing .cta { justify-content: center; }

/* フッター */
.site-footer { padding: 24px 0 48px; border-top: 2px solid var(--sub); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 48px; font-size: .9375rem; text-decoration: underline; text-underline-offset: 3px; }
.contact { margin: 4px 0 0; font-size: .9375rem; line-height: 1.6; }
.copy { margin: 8px 0 0; font-size: .8125rem; line-height: 1.6; color: var(--sub); }

@media (min-width: 960px) {
  :root { --gap: 96px; --phone-w: 280px; }
  .wrap { padding: 0 40px; }
  .site-header { height: 80px; }
  h1 { font-size: 2.5rem; }
  h2, .row-title { font-size: 2.25rem; }
  h3 { font-size: 1.25rem; }
  .chip { font-size: 1rem; }
  .tagline, .sub { font-size: 1.375rem; }
  .lead { font-size: 1.0625rem; }
  .store-badge img { height: 56px; }
  .hero { padding-top: 32px; }
  .split, .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: center; }
  .split { display: grid; }
  .hero .split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .stage { margin-top: 0; padding: 48px 24px; }
  .row { margin-top: var(--gap); }
  .games .row:first-of-type { margin-top: 48px; }
  .row.reverse .stage { order: -1; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
  .card { padding: 28px; }
  .closing-icon { width: 96px; height: 96px; }
}
@media (min-width: 1200px) {
  h1 { font-size: 2.75rem; }
}
