/* 紹介ページ。色はアプリ本体（style.css）に合わせる */
:root {
  --bg: #0f1b2d; --bg2: #13233a; --panel: #172a44; --line: rgba(255,255,255,.12);
  --text: #f3f6fa; --muted: #b9c4d2; --accent: #2f8cff; --accent-press: #1f6fd6;
  --yellow: #ffc65c; --radius: 16px;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px); --safe-r: env(safe-area-inset-right, 0px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text);
  font-family: system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  font-size: 16px; line-height: 1.75; -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
a { color: #9cc8ff; }
img { max-width: 100%; height: auto; display: block; }
.small { font-size: .85rem; color: var(--muted); }
:focus-visible { outline: 3px solid #9cc8ff; outline-offset: 2px; }

/* 上の帯 */
.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(10px + var(--safe-t)) calc(16px + var(--safe-r)) 10px calc(16px + var(--safe-l));
  background: rgba(15, 27, 45, .88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.brand img { border-radius: 8px; }
.topnav { display: flex; align-items: center; gap: 14px; }
.topnav a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.topnav a:hover { color: var(--text); }
.topnav .lang-link { display: inline-flex; align-items: center; font-size: .85rem; color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 12px; min-height: 34px; cursor: pointer; }
.topnav .lang-link:hover { border-color: rgba(255,255,255,.35); }

main { max-width: 1080px; margin: 0 auto; padding: 0 calc(20px + var(--safe-r)) 0 calc(20px + var(--safe-l)); }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px;
  border-radius: 12px; border: 1px solid var(--line); background: #22344f; color: var(--text); font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; }
.btn:hover { background: #2a3f5f; }
.btn.primary { background: var(--accent); border-color: transparent; }
.btn.primary:hover { background: #4a9bff; }
.btn.primary:active { background: var(--accent-press); }
.btn.big { min-height: 56px; padding: 12px 36px; font-size: 1.1rem; }

/* 最初の見出し */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 56px 0 32px; }
.eyebrow { margin: 0 0 8px; color: var(--yellow); font-weight: 700; letter-spacing: .08em; font-size: .9rem; }
.hero h1 { margin: 0 0 16px; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.4; letter-spacing: .01em; }
.hero h1 span { display: inline-block; }
.lead { margin: 0 0 22px; color: #d6deea; font-size: 1.05rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.hero-shot { margin: 0; position: relative; }
.hero-shot iframe { display: block; width: 100%; height: auto; min-height: 200px; aspect-ratio: 16 / 9;
  background: #000; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 0 6px rgba(47,140,255,.08); }
.hero-shot figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px;
  margin-top: 10px; font-size: .85rem; color: var(--muted); }
.hero-shot::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -10px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent); opacity: .7; }

.notice { margin: 8px 0 0; padding: 14px 18px; border-radius: 12px; background: rgba(255, 198, 92, .08);
  border-left: 4px solid var(--yellow); color: #f3e7cf; font-size: .95rem; }

/* 各節 */
.block { padding: 48px 0 8px; }
.block h2 { margin: 0 0 18px; font-size: 1.5rem; display: flex; align-items: center; gap: 12px; }
.block h2::before { content: ""; width: 6px; height: 1.2em; border-radius: 3px; background: var(--accent); }
.block h3 { font-size: 1.05rem; margin: 0 0 8px; }

.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mode { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.mode > img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.pair-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.pair-shots img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: 100%; }
.pair-shots .map-shot { object-fit: contain; background: #101a2a; }
.mode-body { padding: 18px 20px 20px; }
.mode-body h3 { display: flex; align-items: baseline; gap: 10px; font-size: 1.2rem; }
.mode-body h3 small { color: var(--muted); font-size: .85rem; font-weight: 400; }
.mode-body p { margin: 0; color: #d6deea; }

.place-groups { display: grid; gap: 18px; margin: 4px 0 14px; }
.place-group h3 { color: var(--muted); font-size: .95rem; font-weight: 600; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); font-size: .95rem; }
.chips li.closed { opacity: .6; border-style: dashed; }
.chips li small { display: block; color: var(--yellow); font-size: .78rem; }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { counter-increment: s; position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 52px 18px 18px; }
.steps li::before { content: counter(s); position: absolute; top: 14px; left: 18px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); font-weight: 700; font-size: .95rem; }
.steps strong { display: block; margin-bottom: 4px; }
.steps span { color: #d6deea; font-size: .95rem; }

.install-state { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: rgba(125, 219, 160, .12); color: #c9f1d6; }
#install-btn { margin-bottom: 18px; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 14px; }
.platform { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.platform ol { margin: 0; padding-left: 1.3em; color: #d6deea; font-size: .95rem; }
.platform li + li { margin-top: 6px; }

.plain { margin: 0 0 18px; padding-left: 1.2em; color: #d6deea; }
.plain li + li { margin-top: 6px; }
#notes h3 { margin-top: 12px; }

.final { text-align: center; padding: 48px 0 56px; }
.footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; padding: 22px 16px calc(22px + var(--safe-b));
  border-top: 1px solid var(--line); background: var(--bg2); font-size: .9rem; }

/* 幅の狭い画面（スマートフォン） */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
  .hero-shot { order: -1; }
  .modes, .steps, .platforms { grid-template-columns: 1fr; }
  .block { padding-top: 36px; }
}
@media (max-width: 480px) {
  .topnav a:not(.lang-link) { display: none; }
  .cta .btn { flex: 1 1 100%; }
  .brand span { font-size: .95rem; }
}
