:root {
  --ink: #252330;
  --muted: #777385;
  --line: #e8e5ee;
  --soft: #f7f6f9;
  --accent: #6754b5;
  --accent-dark: #504196;
  --max: 1040px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
}
.brand small {
  display: block;
  margin-bottom: -2px;
  color: var(--accent);
  font-size: 9px;
  letter-spacing: .18em;
  line-height: 1;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
}
.nav a { text-decoration: none; }
.nav a:hover, .nav a:focus-visible, .link-arrow:hover, .link-arrow:focus-visible { color: var(--accent); }
.page-intro {
  padding: 92px 0 72px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}
.page-intro h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: .02em;
  line-height: 1.35;
}
.lead {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.section { padding: 70px 0; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-heading h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: .03em;
}
.section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.game-count { color: var(--muted); font-size: 12px; }
.game-list { display: grid; gap: 24px; }
.game-item {
  display: grid;
  grid-template-columns: minmax(260px, 390px) 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.game-image-wrap {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 30px;
  background: var(--soft);
}
.game-image {
  display: block;
  width: min(100%, 270px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 28px;
  object-fit: contain;
  box-shadow: 0 12px 28px rgba(37, 35, 48, .12);
}
.game-content { padding: 34px 38px; }
.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}
.game-status {
  padding: 3px 8px;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
}
.game-content h3 {
  margin: 15px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
}
.game-content h3 small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
}
.game-content > p {
  max-width: 560px;
  margin: 18px 0 0;
  color: #5f5b68;
  font-size: 14px;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}
.tag-list span {
  padding: 3px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}
.game-action {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.link-arrow {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.status-note { color: var(--muted); font-size: 13px; }
.empty {
  padding: 24px;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
}
.empty[hidden] { display: none; }
.simple-band {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.simple-band h2 { margin: 0; font-size: 22px; }
.simple-band p { max-width: 680px; margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 20px;
}
.support-links a { color: var(--accent-dark); font-size: 13px; font-weight: 700; }
.site-footer {
  padding: 32px 0 44px;
  color: var(--muted);
  font-size: 11px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 15px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--accent); }
.legal-page { max-width: 760px; }
.legal-page h1 { margin: 0; font-size: 34px; line-height: 1.4; }
.legal-page h2 { margin: 42px 0 10px; font-size: 21px; }
.legal-page p, .legal-page li { color: #5f5b68; font-size: 14px; }
.legal-page ul { padding-left: 1.4em; }
.notice {
  margin: 26px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: var(--soft);
  color: #5f5b68;
  font-size: 13px;
}
.legal-table { width: 100%; border-collapse: collapse; margin-top: 28px; }
.legal-table th, .legal-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 13px; }
.legal-table th { width: 30%; color: var(--ink); font-weight: 700; }
.legal-table td { color: #5f5b68; }
.back-link { display: inline-block; margin-top: 34px; color: var(--accent-dark); font-size: 13px; font-weight: 700; text-decoration: none; }

@media (max-width: 720px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .header-inner { min-height: 68px; align-items: flex-start; padding: 16px 0; }
  .nav { justify-content: flex-end; gap: 9px 14px; font-size: 12px; }
  .page-intro { padding: 62px 0 52px; }
  .section { padding: 52px 0; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 8px; }
  .game-item { grid-template-columns: 1fr; }
  .game-image-wrap { min-height: 0; aspect-ratio: 1; padding: 28px; }
  .game-image { width: min(72%, 260px); min-height: 0; aspect-ratio: 1; }
  .game-content { padding: 25px 22px; }
  .footer-inner { display: block; }
  .footer-links { margin-bottom: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
