:root {
  --bg: #000;
  --text: #fff;
  --muted: #a8a8a8;
  --line: #2b2b2b;
  --line-strong: #5a5a5a;
  --gutter: clamp(20px, 5vw, 64px);
  --measure: 720px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-underline-offset: 0.25em; text-decoration-color: var(--line-strong); transition: color 0.2s ease, text-decoration-color 0.2s ease; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--text); color: var(--bg); padding: 4px 12px; z-index: 1; }
.skip:focus { left: 8px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px var(--gutter);
}

.site-logo { display: block; flex: none; padding: 10px 0; line-height: 0; }
.site-logo img { width: 92px; }
.logo-missing { display: inline-block; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 12px; line-height: 2; padding: 0 10px; }

.site-nav { display: flex; gap: clamp(14px, 3vw, 32px); margin: 0; padding: 0; list-style: none; font-size: 12px; letter-spacing: 0.14em; }
.site-nav a, .site-footer a { color: var(--muted); text-decoration: none; display: inline-block; padding: 8px 0; }
.site-nav a:hover, .site-footer a:hover, .site-nav a[aria-current], .site-footer a[aria-current] { color: var(--text); }

main { flex: 1; width: 100%; padding: 0 var(--gutter); }

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: clamp(64px, 12vw, 128px);
  padding: 12px var(--gutter);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(96px, 20vh, 208px) 0;
}
.hero img { width: min(60vw, 480px); }
.hero .logo-missing { font-size: 16px; padding: 12px 48px; }

.wrap { max-width: var(--measure); margin: 0 auto; }

.eyebrow { margin: 0 0 16px; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0.14em; }

.home-section { margin-bottom: clamp(48px, 8vw, 80px); }
.home-section p { margin: 0 0 8px; }

.news { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.news li { display: flex; gap: 24px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.news time { flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }

.row-links { border-bottom: 1px solid var(--line); }

.row-link {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  letter-spacing: 0.14em;
  font-size: 14px;
  text-decoration: none;
}
.row-link span { transition: transform 0.2s ease; }
.row-link:hover span { transform: translateX(4px); }

.page-title { margin: clamp(40px, 8vw, 88px) 0 clamp(40px, 7vw, 72px); font-size: 14px; font-weight: 400; letter-spacing: 0.2em; }

.block { margin-bottom: clamp(40px, 7vw, 64px); }
h2 { margin: 0 0 16px; font-size: 20px; font-weight: 500; line-height: 1.6; }
h3 { margin: 24px 0 8px; font-size: 16px; font-weight: 500; }
.block p { margin: 0 0 16px; }
.block ul { margin: 0 0 16px; padding-left: 1.4em; }
.muted { color: var(--muted); }

.game { padding: 32px 0; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.game:last-child { border-bottom: 1px solid var(--line); }
.game img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 24px; background: #111; }
.game h2 { margin-bottom: 4px; }
.game-status { margin: 0 0 16px; color: var(--muted); font-size: 13px; letter-spacing: 0.08em; }
.game p { margin: 0 0 12px; }
.store-link { display: inline-block; margin-top: 8px; padding: 8px 20px; border: 1px solid var(--line-strong); font-size: 14px; text-decoration: none; transition: background-color 0.2s ease, color 0.2s ease; }
.store-link:hover { background: var(--text); color: var(--bg); }

.mail { margin: 16px 0; }
.mail-link { display: inline-block; padding: 10px 0; font-size: 18px; letter-spacing: 0.02em; }

.notice { margin: 0 0 40px; padding: 12px 16px; border: 1px solid var(--line-strong); color: var(--muted); font-size: 14px; }

.service-list { margin: 8px 0 16px; padding: 0; list-style: none; }
.service-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.service-list li:last-child { border-bottom: 1px solid var(--line); }
.service-list a { display: inline-block; padding: 6px 0; }

.not-found { padding: clamp(64px, 16vh, 160px) 0; text-align: center; }
.not-found h1 { margin: 0 0 8px; font-size: 14px; font-weight: 400; letter-spacing: 0.2em; }

.hero img { animation: fade-in 0.6s ease; }
@keyframes fade-in { from { opacity: 0.2; } to { opacity: 1; } }

@media (max-width: 480px) {
  .news li { flex-direction: column; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
