/* about・クレジットなど、ゲーム以外のページの共通スタイル（ゲーム画面の色に合わせる） */
:root {
  --bg: #15171b; --panel: #1f242d; --ink: #f4f1ea; --dim: #9fb0c4; --accent: #e8b400; --link: #9fd8ff; --line: rgba(255,255,255,.12);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.85 "Noto Sans JP", system-ui, sans-serif; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
header.site .logo { color: var(--ink); text-decoration: none; font-weight: 900; letter-spacing: .04em; display: flex; align-items: center; gap: 8px; }
header.site .logo img { width: 28px; height: 28px; }
header.site nav { display: flex; gap: 16px; font-size: 14px; flex-wrap: wrap; }
header.site nav a { color: var(--dim); text-decoration: none; }
header.site nav a[aria-current="page"], header.site nav a:hover { color: var(--ink); }

main.wrap { padding-top: 40px; padding-bottom: 56px; }
h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.3; margin: 0 0 8px; font-weight: 900; }
h1 small { display: block; font-size: 13px; letter-spacing: .3em; color: var(--accent); font-weight: 700; }
h2 { font-size: 22px; margin: 48px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); }
h3 { font-size: 17px; margin: 28px 0 6px; }
p, ul, dl { margin: 0 0 16px; }
ul { padding-left: 1.3em; }
li { margin: 4px 0; }
.lead { font-size: 18px; }
.dim { color: var(--dim); font-size: 14px; }
.cta { display: inline-block; margin: 12px 0 8px; padding: 12px 28px; background: var(--accent); color: #111; font-weight: 700; border-radius: 8px; text-decoration: none; }
.cta:hover { color: #111; filter: brightness(1.1); }
figure { margin: 24px 0; }
figure img { width: 100%; height: auto; border-radius: 8px; display: block; }
figcaption { color: var(--dim); font-size: 13px; margin-top: 6px; }

table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 16px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--dim); font-weight: 500; white-space: nowrap; }
.table-scroll { overflow-x: auto; }

.card { background: var(--panel); border-radius: 10px; padding: 16px 20px; margin: 0 0 16px; }
.card h3 { margin-top: 0; }
.quote { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; color: var(--ink); font-size: 14px; }
dl.faq dt { font-weight: 700; margin-top: 20px; }
dl.faq dd { margin: 4px 0 0; }
[lang="en"] { font-family: system-ui, sans-serif; }

footer.site { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--dim); font-size: 12px; line-height: 1.7; }
footer.site p { margin: 0 0 8px; }
