/* 六四鉄道 響本線 — 紹介サイト
   テーマカラー：紺 #0E1D31・金 #DEA63D・水色 #689FBB（ゲームの Theme.cs と同じ） */

:root {
  --navy: #0E1D31;
  --navy-2: #13253D;
  --navy-3: #1B3150;
  --gold: #DEA63D;
  --gold-soft: #E9C47E;
  --blue: #689FBB;
  --ink: #F0EBDE;          /* 紙のような白（ゲームの Theme.Ink） */
  --ink-dim: #B9BFC8;
  --paper: #F6F3EC;
  --paper-ink: #1A2333;
  --line: rgba(240, 235, 222, 0.14);
  --radius: 14px;
  --max: 1120px;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --dot: "DotGothic16", var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.85;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-soft); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 29, 49, 0.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand-name { font-family: var(--serif); font-size: 18px; letter-spacing: 0.08em; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: 0.2em; color: var(--blue); }
.nav { display: flex; gap: 4px; }
.nav a {
  color: var(--ink); text-decoration: none; font-size: 14px;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,0.07); color: var(--gold-soft); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--ink);
  border-radius: 8px; width: 44px; height: 40px; font-size: 20px; cursor: pointer;
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: var(--navy); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
}

/* ---------- キービジュアル ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(92vh, 820px);
  display: flex; align-items: center;
  background:
    radial-gradient(ellipse 90% 60% at 70% 110%, rgba(222,166,61,0.28), transparent 60%),
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(104,159,187,0.22), transparent 60%),
    linear-gradient(180deg, #0B1626 0%, var(--navy) 55%, #142844 100%);
}
/* 背景の写真は下の「2026-11-25」の所で指定（images/screenshots/hero.jpg） */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: var(--hero-image, none) center / cover no-repeat;
  opacity: 0.55;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,29,49,0.92) 0%, rgba(14,29,49,0.55) 55%, rgba(14,29,49,0.2) 100%);
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 96px; }
.hero-eyebrow { font-size: 12px; letter-spacing: 0.32em; color: var(--blue); margin: 0 0 18px; }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(44px, 9vw, 92px); line-height: 1.1; letter-spacing: 0.16em;
  margin: 0 0 8px;
}
.hero .line-en { font-size: 13px; letter-spacing: 0.42em; color: var(--gold); margin: 0 0 28px; }
.hero .catch { font-family: var(--serif); font-size: clamp(18px, 3.4vw, 24px); line-height: 1.9; margin: 0 0 12px; }
.hero .catch-en { font-size: 13px; color: var(--ink-dim); letter-spacing: 0.04em; margin: 0 0 32px; }
.hero-mark { justify-self: center; width: min(100%, 360px); filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5)); }
.hero-rails {
  position: absolute; left: 0; right: 0; bottom: 0; height: 64px; z-index: 1;
  background:
    linear-gradient(transparent 0 28px, rgba(222,166,61,0.85) 28px 31px, transparent 31px 40px, rgba(104,159,187,0.85) 40px 43px, transparent 43px);
  opacity: 0.55;
}
@media (max-width: 720px) {
  .hero { min-height: auto; }
  .hero .wrap { grid-template-columns: 1fr; gap: 8px; padding-top: 40px; padding-bottom: 88px; }
  .hero-mark { order: -1; width: 128px; justify-self: start; }
}

/* ---------- ストアのボタン ---------- */
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 200px; padding: 10px 18px;
  border-radius: 12px; text-decoration: none;
  background: #000; color: #fff; border: 1px solid rgba(255,255,255,0.28);
  transition: transform .15s ease, border-color .15s ease;
}
.store-btn:hover { color: #fff; transform: translateY(-2px); border-color: var(--gold); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn span { display: block; line-height: 1.25; }
.store-btn small { display: block; font-size: 11px; opacity: 0.8; }
.store-btn strong { font-size: 17px; font-weight: 700; }
.store-btn.is-soon { opacity: 0.85; }
.release-note { font-size: 13px; color: var(--ink-dim); margin: 14px 0 0; }
.release-note b { color: var(--gold-soft); font-weight: 700; }

/* ---------- セクション共通 ---------- */
section { padding: 96px 0; }
@media (max-width: 640px) { section { padding: 64px 0; } }
.section-alt { background: var(--navy-2); }
.section-paper { background: var(--paper); color: var(--paper-ink); }
.section-paper a { color: #8A5A0B; }
.sec-head { margin-bottom: 44px; }
.sec-en { font-size: 12px; letter-spacing: 0.36em; color: var(--blue); text-transform: uppercase; margin: 0 0 6px; }
.sec-head h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 5vw, 40px); letter-spacing: 0.1em; line-height: 1.4; margin: 0;
}
.sec-head h2::after {
  content: ""; display: block; width: 56px; height: 3px; margin-top: 14px;
  background: linear-gradient(90deg, var(--gold) 0 60%, var(--blue) 60%);
}
.sec-lead { max-width: 720px; color: var(--ink-dim); margin: 18px 0 0; }
.section-paper .sec-lead { color: #4A5567; }

/* ---------- 特長 ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.feature {
  background: linear-gradient(180deg, var(--navy-3), var(--navy-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.feature .shot { aspect-ratio: 16 / 9; }
.feature-body { padding: 20px 22px 24px; }
.feature-no { font-family: var(--dot); color: var(--gold); font-size: 14px; letter-spacing: 0.1em; }
.feature h3 { font-size: 20px; margin: 2px 0 8px; letter-spacing: 0.04em; line-height: 1.5; }
.feature p { margin: 0; color: var(--ink-dim); font-size: 15px; }
/* 横いっぱいの大きな特長（運転と車掌・天候） */
.feature.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
.feature.wide > .shot, .feature.wide .shot-pair { min-height: 300px; }
.feature.wide .feature-body { padding: 28px 30px 30px; display: flex; flex-direction: column; justify-content: center; }
.feature.wide h3 { font-size: 24px; }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; gap: 2px; background: var(--navy); }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.roles > div {
  font-size: 14px; color: var(--ink-dim); line-height: 1.75;
  border-top: 2px solid var(--gold); padding-top: 10px;
}
.roles > div + div { border-top-color: var(--blue); }
.roles b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }
.roles .tag { margin: 0 0 4px; }
.chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: 13px; padding: 4px 14px; border-radius: 99px;
  border: 1px solid var(--blue); color: var(--ink);
}
.chips li.t { border-color: var(--gold); }
.features-more { margin: 28px 0 0; color: var(--ink-dim); font-size: 15px; text-align: center; }
@media (max-width: 760px) {
  .feature.wide { grid-template-columns: 1fr; }
  .feature.wide > .shot, .feature.wide .shot-pair { min-height: 0; aspect-ratio: 16 / 9; }
  .feature.wide .feature-body { padding: 20px 22px 24px; }
  .roles { grid-template-columns: 1fr; }
}
.tag {
  display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 99px; margin-left: 6px; vertical-align: 2px;
  border: 1px solid var(--gold); color: var(--gold-soft); letter-spacing: 0.06em;
}

/* スクリーンショットの置き場（画像が無いあいだは枠と説明を出す） */
.shot {
  position: relative; background: #0A1524; overflow: hidden;
  display: grid; place-items: center;
}
.shot img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.shot .shot-ph {
  font-size: 12px; color: rgba(240,235,222,0.5); text-align: center; padding: 12px;
  font-family: var(--dot); letter-spacing: 0.06em;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 10px, transparent 10px 20px);
  width: 100%; height: 100%; display: grid; place-items: center;
}

/* ---------- ストーリー ---------- */
.episodes { display: grid; gap: 24px; }
.episode {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 30px rgba(14,29,49,0.10);
}
.episode .shot { min-height: 240px; }
.episode-body { padding: 28px 30px 30px; }
.episode-no { font-family: var(--serif); color: #9A6B15; letter-spacing: 0.2em; font-size: 14px; margin: 0; }
.episode h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 4vw, 30px); margin: 2px 0 4px; letter-spacing: 0.1em; }
.episode .route { font-family: var(--dot); font-size: 14px; color: #2B5E78; margin: 0 0 16px; }
.episode .synopsis { font-family: var(--serif); font-size: 16px; line-height: 2.05; margin: 0 0 14px; }
.episode .note { font-size: 13px; color: #5A6475; margin: 0; }
.episode.night { background: #101B2E; color: var(--ink); }
.episode.night .episode-no { color: var(--gold); }
.episode.night .route { color: var(--blue); }
.episode.night .note { color: var(--ink-dim); }
@media (max-width: 760px) {
  .episode { grid-template-columns: 1fr; }
  .episode .shot { min-height: 0; aspect-ratio: 16 / 9; }
  .episode-body { padding: 22px 20px 24px; }
}
@media (max-width: 480px) { .episode .synopsis br { display: none; } }
.route-hint { display: none; font-size: 12px; color: #6A7484; margin: 0 0 6px; }
@media (max-width: 1000px) { .route-hint { display: block; } }
.after-story {
  margin-top: 28px; padding: 22px 24px; border-radius: var(--radius);
  border: 1px dashed #B8A27A; background: #FBF8F1;
}
.after-story h3 { margin: 0 0 6px; font-size: 17px; }
.after-story p { margin: 0; font-size: 15px; color: #4A5567; }

/* ---------- 車両 ---------- */
.cars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .cars { grid-template-columns: 1fr; } }
/* タブレット（縦）：車両は写真を左、説明を右に並べる */
@media (min-width: 600px) and (max-width: 900px) {
  .cars .car { display: grid; grid-template-columns: 0.9fr 1.1fr; grid-template-rows: auto 1fr; }
  .cars .car .car-stripe { grid-column: 1 / -1; }
  .cars .car .shot { aspect-ratio: auto; min-height: 220px; }
}
/* タブレット：ヒーローを少し詰める */
@media (min-width: 721px) and (max-width: 1024px) {
  .hero { min-height: auto; }
  .hero .wrap { padding-top: 64px; padding-bottom: 104px; gap: 24px; }
  .nav a { padding: 8px 9px; }
}
.car {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--navy-3); display: flex; flex-direction: column;
}
.car .shot { aspect-ratio: 16 / 10; }
.car-stripe { height: 6px; }
.car-body { padding: 20px 22px 24px; }
.car-name { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.car-name h3 { font-size: 30px; margin: 0; font-family: var(--serif); letter-spacing: 0.06em; }
.car-name span { font-size: 13px; color: var(--blue); }
.car p { color: var(--ink-dim); font-size: 15px; margin: 10px 0 14px; }
.spec { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.spec li { display: flex; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); }
.spec li b { flex: none; width: 5.5em; color: var(--gold-soft); font-weight: 500; }

/* ---------- 路線図 ---------- */
.route-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 28px; font-size: 14px; color: #4A5567; }
.route-meta b { color: var(--paper-ink); font-size: 22px; font-family: var(--serif); margin-right: 4px; }
.route-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
.route-line {
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(10, minmax(96px, 1fr)); min-width: 960px;
}
.route-line::before {
  content: ""; position: absolute; left: 5%; right: 5%; top: 34px; height: 8px; border-radius: 4px;
  background: linear-gradient(90deg, var(--blue) 0 38%, #5C8A55 38% 72%, var(--blue) 72% 100%);
}
.route-line li { position: relative; text-align: center; padding-top: 0; }
.route-line .km { display: block; font-family: var(--dot); font-size: 12px; color: #6A7484; height: 22px; }
.route-line .dot {
  position: relative; z-index: 1; display: block; margin: 0 auto 10px;
  width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--navy);
}
.route-line li.loop .dot { border-color: var(--gold); }
.route-line li.terminal .dot { width: 28px; height: 28px; margin-top: -3px; margin-bottom: 7px; border-width: 6px; }
.route-line .name { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: 0.08em; }
.route-line .kana { display: block; font-size: 11px; color: #6A7484; }
.route-line .roma { display: block; font-size: 10px; color: #2B5E78; letter-spacing: 0.06em; }
.route-line .badge { display: inline-block; margin-top: 6px; font-size: 10px; padding: 1px 6px; border-radius: 4px; background: var(--navy); color: var(--ink); }
.route-line .badge.ep { background: var(--gold); color: var(--navy); }
.route-sections {
  display: grid; grid-template-columns: 38fr 34fr 28fr; min-width: 960px; margin-top: 14px;
  font-size: 12px; color: #4A5567; text-align: center;
}
.route-sections div { border-top: 2px solid; padding-top: 6px; margin: 0 6px; }
.route-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: 13px; color: #4A5567; }
.route-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--navy); vertical-align: -1px; margin-right: 6px; }
.route-legend i.g { border-color: var(--gold); }
.stations { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 40px; }
.station { background: #fff; border-radius: 12px; padding: 16px 18px; box-shadow: 0 4px 14px rgba(14,29,49,0.06); }
.station h3 { margin: 0; font-family: var(--serif); font-size: 19px; letter-spacing: 0.08em; }
.station h3 small { font-family: var(--sans); font-size: 11px; color: #6A7484; letter-spacing: 0; margin-left: 6px; }
.station p { margin: 6px 0 0; font-size: 14px; color: #4A5567; line-height: 1.75; }
.map-figure { margin: 48px 0 0; }
.map-figure details { background: #fff; border-radius: 12px; padding: 14px 18px; }
.map-figure summary { cursor: pointer; font-weight: 700; }
.map-figure .map-img { max-height: 80vh; overflow: auto; margin-top: 12px; border-radius: 8px; border: 1px solid #E2DCCD; }
.map-figure figcaption { font-size: 12px; color: #6A7484; margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 700; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q."; color: var(--gold); font-family: var(--serif); margin-right: 10px; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 16px; font-size: 22px; color: var(--blue); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 22px 30px; color: var(--ink-dim); font-size: 15px; }
.faq .answer p { margin: 0 0 8px; }

/* ---------- 下の段（お知らせ・リンク） ---------- */
.cta {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(222,166,61,0.22), transparent 70%),
    var(--navy);
}
.cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 4.6vw, 34px); letter-spacing: 0.1em; margin: 0 0 10px; }
.cta p { color: var(--ink-dim); margin: 0 0 28px; }
.cta .store-buttons { justify-content: center; }

.site-footer { background: #091322; border-top: 1px solid var(--line); padding: 44px 0 36px; font-size: 13px; color: var(--ink-dim); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img { width: 44px; height: 44px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-note { margin-top: 24px; font-size: 12px; line-height: 1.8; opacity: 0.8; }

/* ---------- 文書ページ（プライバシー・クレジット・お問い合わせ） ---------- */
.page-head { padding: 72px 0 40px; background: linear-gradient(180deg, #0B1626, var(--navy)); border-bottom: 1px solid var(--line); }
.page-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 5vw, 40px); letter-spacing: 0.1em; margin: 0; }
.page-head p { margin: 8px 0 0; color: var(--ink-dim); font-size: 14px; }
.doc { padding: 56px 0 96px; }
.doc .wrap { max-width: 860px; }
.doc h2 {
  font-size: 21px; margin: 48px 0 12px; padding-left: 14px; border-left: 4px solid var(--gold); line-height: 1.5;
}
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 17px; margin: 28px 0 8px; color: var(--gold-soft); }
.doc p, .doc li { color: #D8D6CF; font-size: 15px; }
.doc ul { padding-left: 1.4em; }
.doc li { margin: 4px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0 8px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--gold-soft); font-weight: 700; white-space: nowrap; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 560px; }
/* 特定商取引法に基づく表記：見出しの列は折り返し、スマホでは縦に積む */
.doc table.spec th { white-space: normal; width: 11em; }
.table-scroll table.spec { min-width: 0; }
@media (max-width: 600px) { .doc table.spec th, .doc table.spec td { display: block; width: auto; } .doc table.spec th { border-bottom: 0; padding-bottom: 2px; } .doc table.spec td { padding-top: 2px; } }
.doc .muted { color: var(--ink-dim); font-size: 13px; }
.notice {
  border: 1px solid rgba(222,166,61,0.5); background: rgba(222,166,61,0.08);
  border-radius: 10px; padding: 14px 18px; margin: 0 0 28px; font-size: 14px;
}
.credit-group { margin: 0 0 8px; }
.credit-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 12px 0;
  background: var(--navy-2);
}
.credit-card h3 { margin: 0 0 4px; color: var(--ink); font-size: 16px; }
.credit-card .lic { display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 99px; border: 1px solid var(--blue); color: var(--blue); margin-left: 6px; vertical-align: 2px; }
.credit-card p { margin: 6px 0 0; font-size: 14px; }
.contact-box {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--navy-2); margin: 20px 0;
}
.contact-box .addr { font-size: 18px; font-weight: 700; word-break: break-all; }
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 10px; text-decoration: none; font-weight: 700;
  background: var(--gold); color: var(--navy);
}
.btn:hover { background: var(--gold-soft); color: var(--navy); }

/* 動きを減らす設定の人には動かさない */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store-btn { transition: none; }
}

/* ---------- 2026-11-25：いまのゲームに合わせて足した部分 ---------- */
/* 「運行する」 */
.free-run {
  margin-top: 28px; padding: 26px 30px; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(135deg, var(--navy-3), var(--navy-2));
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center;
}
.free-run h3 { font-size: 22px; margin: 2px 0 8px; }
.free-run p { margin: 0; color: var(--ink-dim); font-size: 15px; }
.free-run .chips { margin: 0; }
@media (max-width: 760px) { .free-run { grid-template-columns: 1fr; padding: 22px 20px; } }

/* 話ごとの無料・追加購入の札 */
.price {
  display: inline-block; margin-left: 10px; padding: 1px 9px; border-radius: 99px; vertical-align: 2px;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.04em;
  border: 1px solid #B8862B; color: #8A5A0B; background: #FFF6E2;
}
.price.free { border-color: #2B5E78; color: #2B5E78; background: #EAF4F9; }
.episode.night .price { background: transparent; color: var(--gold-soft); border-color: var(--gold); }
.episode.night .price.free { color: var(--blue); border-color: var(--blue); }
.episode.snow { background: #EEF1F5; }

/* 車両は 2 つ */
.cars.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .cars.two { grid-template-columns: 1fr; } }

/* ゲーム画面 */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; background: #0A1524; border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery figcaption { padding: 8px 12px 10px; font-size: 13px; color: var(--ink-dim); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* ゲームの中の路線図 */
.game-map { margin: 36px 0 0; }
.game-map img { width: 100%; border-radius: 12px; box-shadow: 0 8px 24px rgba(14,29,49,0.18); }
.game-map figcaption { font-size: 13px; color: #4A5567; margin-top: 8px; }

/* キービジュアルの背景の写真（url は CSS からの相対パス。差し替えは images/screenshots/hero.jpg を同じ名前で） */
.hero::before { background-image: url(../images/screenshots/hero.jpg); background-position: 60% center; opacity: 0.8; }
/* 横いっぱいの特長の写真は、枠の高さいっぱいに */
.feature.wide .shot { aspect-ratio: auto; min-height: 300px; height: 100%; }
.feature.wide .shot-pair .shot { min-height: 0; }
@media (max-width: 760px) {
  .feature.wide > .shot { aspect-ratio: 16 / 9; min-height: 0; height: auto; }
  .feature.wide .shot-pair .shot { aspect-ratio: 16 / 9; height: auto; }
  .feature.wide .shot-pair { aspect-ratio: auto; }
}

/* ---------- キービジュアルの動く映像（PC だけ。js/main.js が読み込む） ---------- */
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-video.ready { opacity: 0.85; }
.hero .catch-sub { font-size: 15px; color: var(--ink); opacity: 0.85; line-height: 1.9; margin: -2px 0 18px; }
@media (max-width: 720px) { .hero-video { display: none; } .hero .catch-sub { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
