/* 紹介ページ（/about）とプレスページ（/press）。ゲーム本体の CSS は読まない静的なページ。
   まだ出ていないストアのボタンは class に pending を足すと「近日公開」になる（出たら外す） */
:root {
  color-scheme: dark;
  --bg: #0b0f1c;
  --bg2: #10162a;
  --panel: #141c36;
  --line: #2a3557;
  --text: #e6ecf8;
  --muted: #9aa7c4;
  --brass: #f2c97a;
  --brass-deep: #b98a3c;
  --link: #7fd4ff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.85 "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* 上の帯 */
.topbar { position: absolute; inset: 0 0 auto; z-index: 5; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.topbar .brand { color: var(--brass); text-decoration: none; font-weight: 700; letter-spacing: .14em; font-size: 13px; }
.topbar nav a { text-shadow: 0 1px 6px #000; color: var(--text); text-decoration: none; font-size: 13px; margin-left: 18px; opacity: .85; }
.topbar nav a:hover { opacity: 1; color: var(--brass); }

/* キービジュアル */
.hero { position: relative; min-height: min(100svh, 860px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero .bg { position: absolute; inset: 0; z-index: -3; background: #070a14 url(/art/title/kv/bg.webp) center 30% / cover no-repeat; }
.hero .ship { position: absolute; z-index: -2; width: min(780px, 92vw); right: -6vw; top: 12%; opacity: .95; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); }
.hero .ciel { -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 85%, transparent); position: absolute; z-index: -1; height: min(88%, 760px); width: auto; max-width: none; left: max(-40px, calc(50% - 560px)); bottom: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 15, 28, 0) 35%, rgba(11, 15, 28, .75) 70%, var(--bg) 100%); pointer-events: none; }
.hero .copy { width: 100%; padding: 0 16px 56px; text-align: right; }
.hero .logo { width: min(460px, 78vw); margin: 0 0 12px auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .6)); }
.hero .lead { margin: 0 0 6px; font-size: clamp(18px, 2.6vw, 26px); font-weight: 700; letter-spacing: .04em; text-shadow: 0 2px 10px #000; }
.hero .sub { margin: 0 0 22px; color: var(--muted); text-shadow: 0 1px 6px #000; }

.cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 15px; line-height: 1.3; }
/* 主役は App Store（真鍮の大きいボタン）。ブラウザ版は下の小さな文字のリンク */
.btn.store.main { min-height: 60px; padding: 10px 30px; font-size: 20px; border: none; background: linear-gradient(180deg, #ffe2a6, var(--brass) 45%, var(--brass-deep)); color: #1b1407; box-shadow: 0 6px 20px rgba(242, 201, 122, .25); }
.btn.store.main small { color: #4a3a17; font-weight: 700; }
.cta .web { flex: 1 1 100%; text-align: right; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 6px 2px; }
.final .cta .web { text-align: center; }
.btn.store { background: rgba(10, 14, 26, .75); color: var(--text); border: 1px solid var(--line); }
.btn.store small { display: block; font-size: 10px; font-weight: 400; color: var(--muted); letter-spacing: .06em; }
.btn .soon { display: none; }
.btn.store.pending { pointer-events: none; opacity: .7; }
.btn.store.pending .soon { display: inline; color: var(--brass); font-size: 11px; margin-left: 4px; }

/* 節 */
section.block { padding: 72px 0; }
section.block.alt { background: var(--bg2); }
.kicker { color: var(--brass); font-size: 12px; letter-spacing: .24em; font-weight: 700; margin: 0 0 6px; }
h2 { margin: 0 0 18px; font-size: clamp(22px, 3.4vw, 30px); line-height: 1.45; }
.intro { max-width: 680px; color: var(--text); }
.intro .dry { color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.feature h3 { margin: 0 0 8px; font-size: 17px; color: var(--brass); line-height: 1.5; }
.feature p { margin: 0; font-size: 14px; }
.feature p + p { margin-top: 6px; color: var(--muted); font-size: 13px; }

/* スクショ（横に流す） */
.shots { display: flex; gap: 14px; overflow-x: auto; padding: 6px 0 14px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.shots figure { flex: 0 0 auto; width: min(240px, 62vw); margin: 0; scroll-snap-align: start; }
.shots img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.shots figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; }

/* 人物 */
.cast { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 28px; }
.person { background: linear-gradient(180deg, var(--panel), #0d1326); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; }
.person div { padding: 10px 12px 14px; }
.person b { display: block; font-size: 14px; }
.person span { display: block; font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 2px; }

/* 最後の呼びかけ */
.final { text-align: center; padding: 80px 0; background: radial-gradient(ellipse at 50% 0%, #1b2547, var(--bg) 70%); }
.final .cta { justify-content: center; margin-top: 20px; }
.final p { color: var(--muted); margin: 0; }

footer.site { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); font-size: 13px; }
footer.site a { display: inline-block; margin: 0 16px 8px 0; white-space: nowrap; }

/* プレスページ */
.press main { max-width: 860px; margin: 0 auto; padding: 84px 16px 64px; }
.press h1 { margin: 0 0 4px; font-size: clamp(24px, 4vw, 32px); line-height: 1.4; }
.press h2 { margin: 48px 0 12px; padding-left: 10px; border-left: 3px solid var(--brass); font-size: 19px; }
.press h3 { margin: 24px 0 6px; font-size: 16px; color: var(--brass); }
.press .lang { color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.press table { width: 100%; border-collapse: collapse; }
.press th, .press td { padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.press th { width: 30%; background: var(--panel); color: var(--brass); font-size: 14px; }
.press .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.press .grid a { display: block; text-decoration: none; color: var(--muted); font-size: 12px; }
.press .grid img { width: 100%; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); aspect-ratio: 1; object-fit: contain; }
.press .grid img.tall { aspect-ratio: 9 / 16; object-fit: cover; }
.press pre { white-space: pre-wrap; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px; font: 14px/1.8 inherit; font-family: inherit; }

@media (max-width: 760px) {
  .features { grid-template-columns: 1fr; }
  .hero { min-height: 100svh; }
  .hero .ship { width: 110vw; right: -30vw; top: 10%; opacity: .7; }
  .hero .ciel { height: 62%; top: 48px; bottom: auto; left: -14vw; }
  .hero::after { background: linear-gradient(180deg, rgba(11, 15, 28, 0) 45%, rgba(11, 15, 28, .85) 66%, var(--bg) 100%); }
  .hero .logo { width: 62vw; }
  .hero .copy { text-align: center; }
  .hero .logo { margin: 0 auto 10px; }
  .cta { justify-content: center; }
  .btn { flex: 1 1 100%; }
  .cta .web { text-align: center; }
  .topbar nav a { margin-left: 12px; }
  .press th, .press td { display: block; width: 100%; }
  .press th { border-bottom: none; }
  .press td { border-top: none; }
}
.note { color: var(--muted); font-size: 13px; }
.press .videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.press .videos figure { margin: 0; }
.press .videos video { width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; border: 1px solid var(--line); background: #000; display: block; }
.press .videos figcaption { margin-top: 6px; font-size: 12px; }
.press .tracks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.press .tracks li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px) auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.press .tracks .tk { min-width: 0; }
.press .tracks .tk b { display: block; font-size: 15px; }
.press .tracks .tk span { display: block; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.press .tracks audio { width: 100%; height: 36px; }
.press .tracks a { font-size: 12px; white-space: nowrap; }
@media (max-width: 640px) {
  .press .tracks li { grid-template-columns: minmax(0, 1fr) auto; }
  .press .tracks audio { grid-column: 1 / -1; grid-row: 2; }
}
