/* FLIP CLASH の紹介ページ専用 CSS（site/ 内で完結。アプリには依存しない）。
   方針: ゲームと同じ明るい紙の地に、2 陣営の色（青・橙）を差す。見出しは太いゴシックで勢いを、本文は静かに。
   動画は画面幅いっぱい、スクリーンショットは枠つきのカード。 */

:root {
  --paper: #f7f5f0;
  --paper-2: #efece4;
  --ink: #1d2430;
  --ink-muted: #5f6675;
  --line: #ddd8cc;
  --p1: #3f7fbf;     /* P1 青（ゲームの theme-color） */
  --p2: #e0762f;     /* P2 橙 */
  --night: #0f1420;
  --night-fg: #e9edf5;
  --night-muted: #a9b3c6;
  --sans: system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", Roboto, sans-serif;
  --display: "Segoe UI Black", "Arial Black", "Hiragino Sans W8", "Yu Gothic UI", system-ui, sans-serif;
  --body-lh: 1.95;
}
html[lang="en"] { --body-lh: 1.7; }

* { box-sizing: border-box; }
/* hidden 属性を必ず効かせる。.cta-ghost の display: inline-block が勝って、販売前に隠したはずの「購入する」が見えていた（2026-09-22） */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: var(--body-lh);
  -webkit-text-size-adjust: 100%;
}
a { color: var(--p1); }
img, video { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; }

.wrap { max-width: 1040px; margin-inline: auto; padding-inline: 24px; }

/* ---------- 見出し ---------- */
.eyebrow { font-size: 12.5px; letter-spacing: 0.22em; color: var(--p2); font-weight: 700; margin: 0 0 12px; }
h2.statement {
  font-family: var(--sans); font-weight: 800; font-synthesis: none;
  font-size: clamp(26px, 3.6vw, 38px); line-height: 1.45; letter-spacing: 0.01em;
  margin: 0 0 22px; text-wrap: balance;
}
.ink h2.statement { color: #fff; }

/* ---------- CTA ---------- */
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta {
  display: inline-block; background: var(--p2); color: #fff; text-decoration: none;
  font-weight: 800; font-size: 18px; padding: 15px 36px; border-radius: 999px;
  box-shadow: 0 12px 30px -10px rgba(224, 118, 47, 0.6);
  transition: transform 0.12s, filter 0.15s;
}
.cta:hover { filter: brightness(1.06); transform: translateY(-1px); }
.cta-ghost {
  display: inline-block; color: inherit; text-decoration: none; font-weight: 700;
  font-size: 15px; padding: 12px 26px; border-radius: 999px; border: 1.5px solid currentColor; opacity: 0.85;
}
.cta-ghost:hover { opacity: 1; }
.cta:focus-visible, .cta-ghost:focus-visible, a:focus-visible { outline: 3px solid var(--p1); outline-offset: 3px; }
.cta-note { font-size: 13.5px; margin: 16px 0 0; opacity: 0.9; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; min-height: 92svh; display: flex; align-items: flex-end;
  isolation: isolate; overflow: hidden; background: var(--night); color: var(--night-fg);
}
.hero video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 20, 32, 0.82) 0%, rgba(15, 20, 32, 0.5) 40%, rgba(15, 20, 32, 0.05) 70%),
    linear-gradient(0deg, rgba(15, 20, 32, 0.9) 0%, rgba(15, 20, 32, 0.3) 45%, rgba(15, 20, 32, 0) 70%);
}
.hero-inner { width: 100%; padding-block: 72px 64px; }
.hero .brandline { margin: 0 0 28px; }
.hero .brandline img { height: 20px; width: auto; }
.hero .wordmark {
  font-family: var(--display); font-weight: 900; letter-spacing: 0.08em;
  font-size: clamp(13px, 1.6vw, 16px); color: var(--p2); margin: 0 0 8px;
}
.hero h1 {
  font-family: var(--sans); font-weight: 900; font-synthesis: none;
  font-size: clamp(40px, 7vw, 76px); line-height: 1.25; letter-spacing: 0.01em;
  margin: 0 0 18px; text-wrap: balance; text-shadow: 0 2px 28px rgba(0, 0, 0, 0.7);
}
.hero .lead { font-size: clamp(15px, 2vw, 18px); color: #d6dde9; max-width: 34em; margin: 0 0 28px; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.8); }
.hero .quiet-facts { margin: 22px 0 0; font-size: 13.5px; color: var(--night-muted); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8); }
.hero .cta-ghost { color: #fff; }
.lang-box { position: absolute; top: 16px; right: 18px; font-size: 13px; color: var(--night-muted); }
.lang-box select { font: inherit; background: rgba(0, 0, 0, 0.4); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 8px; padding: 4px 8px; }

/* ---------- セクション共通 ---------- */
.sec { padding: 92px 0; border-top: 1px solid var(--line); }
.sec.paper { background: var(--paper-2); }
.sec.ink { background: var(--night); color: var(--night-fg); border-top: none; }
.sec.ink .eyebrow { color: #ffb27a; }
.sec.ink p { color: #cdd5e3; }
.sec-head { max-width: 760px; }
.vsec .bleed { width: 100%; margin-top: 40px; }
.cap { font-size: 13.5px; color: var(--night-muted); margin-top: 12px; }

/* ---------- 3 コマ ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.step { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.25); }
.step img { aspect-ratio: 16 / 9; object-fit: cover; }
.step figcaption { padding: 18px 20px 22px; }
.step .num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--p1); color: #fff; font-weight: 800; margin-right: 10px; vertical-align: middle;
}
.step:nth-child(2) .num { background: var(--p2); }
.step:nth-child(3) .num { background: #2c9a6a; }
.step strong { font-size: 19px; font-weight: 800; vertical-align: middle; }
.step p { margin: 10px 0 0; color: var(--ink-muted); font-size: 15px; }

/* ---------- 遊び方いろいろ ---------- */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.way { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.way .ico { font-size: 26px; line-height: 1; display: block; margin-bottom: 10px; }
.way strong { display: block; font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.way p { margin: 0; color: var(--ink-muted); font-size: 15px; }
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.themes figure { margin: 0; }
.themes img { border-radius: 14px; border: 1px solid var(--line); aspect-ratio: 16 / 9; object-fit: cover; }
.themes figcaption { font-size: 13.5px; color: var(--ink-muted); margin-top: 8px; }

/* ---------- 2 段組（戦評・スマホ） ---------- */
.two { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: center; }
.two.rev { grid-template-columns: 0.7fr 1.3fr; }
.shot { margin: 0; }
.shot img { border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.35); }
.phone { margin: 0; justify-self: center; }
.phone img { width: min(300px, 70vw); border-radius: 28px; border: 8px solid #1d2430; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5); }

/* ---------- 料金 ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 8px; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 12px; }
.price-card strong { font-size: 22px; font-weight: 800; }
.price-card ul { margin: 0; padding-left: 1.2em; color: var(--ink-muted); }
.price-card li { margin: 4px 0; }
.price-card .cta, .price-card .cta-ghost { align-self: flex-start; margin-top: 8px; }
.soon { font-size: 13.5px; color: var(--ink-muted); margin: 6px 0 0; }

/* ---------- 始めるには・FAQ・作った人・フッター ---------- */
ol.start { padding-left: 1.4em; font-size: 17px; }
ol.start li { margin: 10px 0; }
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 16.5px; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 0; color: var(--p2); font-weight: 800; }
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 0; color: var(--ink-muted); }
.maker-logo { height: 22px; width: auto; opacity: 0.8; }
.foot { background: var(--night); color: var(--night-muted); padding: 44px 0 56px; font-size: 14px; }
.foot a { color: #fff; }
.foot-logo { height: 20px; width: auto; margin-bottom: 14px; opacity: 0.9; }

/* ---------- 画面幅 ---------- */
@media (max-width: 900px) {
  .steps, .ways, .themes { grid-template-columns: 1fr 1fr; }
  .two, .two.rev { grid-template-columns: 1fr; }
  .two.rev .phone { order: -1; }
  .price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sec { padding: 64px 0; }
  .steps, .ways, .themes { grid-template-columns: 1fr; }
  .hero-inner { padding-block: 56px 48px; }
  /* 見出し 3 行（2026-09-26「形勢まで塗り替える。」の 10 文字）が 1 行ずつ収まる大きさ。375px で約 31px、320px で 26px */
  .hero h1 { font-size: clamp(26px, 8.4vw, 40px); }
  .cta { width: 100%; text-align: center; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-ghost { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta { transition: none; }
}
