:root {
  --bg: #FBFAF7;
  --bg-alt: #F3F0EA;
  --ink: #1B1A22;
  --muted: #6B6874;
  --faint: #8C8894;
  --line: #E2DED6;
  --accent: #5B4CF0;
  --accent-2: #FF7A5C;
  --grad: linear-gradient(120deg, #5B4CF0 0%, #A855F7 50%, #FF7A5C 100%);
  --tile-dark: #16142B;
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro JP", "SF Pro Text", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Helvetica Neue", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt";
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container { width: min(980px, 100% - 44px); margin-inline: auto; }

/* Header — frosted glass bar */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 250, 247, 0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 52px;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  color: var(--ink);
  font-weight: 600; font-size: 1rem; letter-spacing: 0.12em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 26px; height: 26px; }
.nav { display: flex; gap: 30px; }
.nav a { color: var(--ink); opacity: 0.8; font-size: 0.8rem; transition: opacity .2s; }
.nav a:hover { opacity: 1; text-decoration: none; }

/* Hero */
.hero {
  text-align: center;
  padding: 140px 0 150px;
  background:
    radial-gradient(600px 360px at 20% 10%, rgba(168, 85, 247, 0.14) 0%, rgba(168, 85, 247, 0) 70%),
    radial-gradient(600px 360px at 85% 30%, rgba(255, 122, 92, 0.14) 0%, rgba(255, 122, 92, 0) 70%),
    var(--bg);
}
.eyebrow {
  display: inline-block;
  font-size: 0.85rem; font-weight: 600; color: var(--accent);
  letter-spacing: 0.04em; margin-bottom: 22px;
  padding: 6px 16px; border-radius: 999px;
  background: rgba(91, 76, 240, 0.08); border: 1px solid rgba(91, 76, 240, 0.18);
}
.hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  line-height: 1.18; margin: 0 0 28px;
  font-weight: 700; letter-spacing: -0.01em;
  color: var(--ink);
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  max-width: 600px; margin: 0 auto; color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.8;
}
.hero-links {
  margin-top: 40px; display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap;
}
.btn {
  display: inline-block; background: var(--grad); color: #fff;
  padding: 12px 26px; border-radius: 980px; font-size: 0.95rem; font-weight: 600;
  box-shadow: 0 8px 24px rgba(91, 76, 240, 0.28);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(91, 76, 240, 0.36); text-decoration: none; }
.link-arrow { font-size: 0.95rem; }
.link-arrow::after { content: " ›"; }

/* Sections */
section { padding: 120px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 56px; text-align: center; }
.section-head .en {
  display: block; font-size: 0.85rem; font-weight: 700; color: var(--accent);
  letter-spacing: 0.16em; margin-bottom: 10px;
}
.section-head h2 {
  margin: 0; font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 700;
  letter-spacing: -0.005em; line-height: 1.2;
}

/* About */
.about-grid { max-width: 760px; margin: 0 auto; text-align: center; }
.about-lead {
  font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.5;
  margin: 0 0 28px; letter-spacing: 0;
}
.about-body p { margin: 0 0 1em; color: var(--muted); font-size: 1.05rem; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 72px; }
.value {
  background: var(--bg); border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.value:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(91, 76, 240, 0.12); }
.value .num { font-size: 0.9rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.value h3 { margin: 10px 0 10px; font-size: 1.2rem; font-weight: 700; }
.value p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Games — dark product tile */
.coming {
  background: var(--tile-dark); color: #F5F5F7;
  border-radius: 28px; padding: 96px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.coming::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%;
  background:
    radial-gradient(closest-side at 30% 50%, rgba(168, 85, 247, 0.45), rgba(0, 0, 0, 0)),
    radial-gradient(closest-side at 75% 50%, rgba(255, 122, 92, 0.35), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.coming > * { position: relative; }
.coming .badge {
  display: inline-block; font-size: 0.8rem; font-weight: 700; color: #fff;
  margin-bottom: 16px; letter-spacing: 0.14em;
  padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.12);
}
.coming h3 { margin: 0 0 16px; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.25; }
.coming p { margin: 0 auto; max-width: 520px; color: #BDB8D6; font-size: 1.02rem; }

/* Company */
.company-table {
  width: 100%; max-width: 760px; margin: 0 auto; border-collapse: collapse;
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
}
.company-table th, .company-table td {
  text-align: left; padding: 22px 32px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.98rem;
}
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }
.company-table th { width: 28%; color: var(--muted); font-weight: 500; }
.company-table ul { margin: 0; padding-left: 1.2em; }

/* Footer — Apple-like light footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); color: var(--muted); padding: 28px 0 32px; font-size: 0.78rem; }
.footer-top {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.footer-brand { color: var(--ink); font-weight: 600; letter-spacing: 0.1em; display: flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.footer-brand img { width: 22px; height: 22px; }
.footer-contact { margin-top: 6px; }
.footer-contact a { color: var(--muted); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.footer-links li + li::before { content: "|"; color: var(--line); margin: 0 12px; }
.footer-links a { color: var(--ink); }
.copyright { margin: 16px 0 0; color: var(--faint); text-align: center; }

/* Legal pages */
.legal { padding: 80px 0 120px; background: var(--bg-alt); }
.legal .doc {
  background: var(--bg); border-radius: var(--radius);
  padding: 64px clamp(24px, 6vw, 80px);
  max-width: 860px; margin-inline: auto;
  background: #fff; border: 1px solid var(--line);
}
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; margin: 0 0 10px; letter-spacing: 0; }
.legal .updated { color: var(--faint); font-size: 0.88rem; margin: 0 0 44px; }
.legal h2 { font-size: 1.15rem; font-weight: 700; margin: 44px 0 12px; }
.legal p, .legal li { font-size: 0.95rem; color: #333336; }
.legal ol, .legal ul { padding-left: 1.4em; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.legal table th, .legal table td {
  border-bottom: 1px solid var(--line); padding: 16px 12px; text-align: left; vertical-align: top; font-size: 0.93rem;
}
.legal table tr:first-child th, .legal table tr:first-child td { border-top: 1px solid var(--line); }
.legal table th { width: 30%; color: var(--muted); font-weight: 500; }
.legal .signature { margin-top: 48px; text-align: right; }

@media (max-width: 780px) {
  .nav { display: none; }
  .hero { padding: 96px 0 104px; }
  section { padding: 88px 0; }
  .values { grid-template-columns: 1fr; }
  .coming { padding: 72px 24px; }
  .company-table th, .company-table td { display: block; width: 100%; padding: 16px 22px; }
  .company-table th { border-bottom: none; padding-bottom: 2px; }
  .legal table th, .legal table td { display: block; width: 100%; }
  .legal table th { border-bottom: none; padding-bottom: 2px; }
  .legal table tr:first-child td { border-top: none; }
  .footer-links { flex-direction: column; gap: 8px; }
  .footer-links li + li::before { content: none; }
}
