:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #000;
  --muted: #626262;
  --line: #dedede;
  --surface: #f5f5f3;
  --font: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(.22, .68, 0, 1.1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.75 var(--font); -webkit-font-smoothing: antialiased; }
body, button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
button { font: inherit; cursor: pointer; touch-action: manipulation; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3 { margin: 0; }
button, a { outline-offset: 6px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); }
main:focus { outline: none; }
::selection { background: var(--ink); color: var(--paper); }
.wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 20px; background: var(--ink); color: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); outline-color: var(--paper); }
.site-header { min-height: 112px; display: flex; justify-content: space-between; align-items: center; gap: 32px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { width: 52px; height: 52px; }
.brand-name { display: block; font-size: 18px; line-height: 1.4; font-weight: 700; letter-spacing: .015em; }
.brand-english { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: .02em; }
.navigation { display: flex; align-items: center; gap: 32px; }
.navigation a { display: inline-flex; align-items: center; min-height: 48px; border-bottom: 1px solid transparent; font-size: 14px; transition: border-color 180ms ease; }
.navigation a:hover { border-color: var(--ink); }
.hero { display: grid; grid-template-columns: 1.32fr 1fr; align-items: center; gap: 20px; min-height: 680px; padding-block: 80px 104px; }
.hero-copy { min-width: 0; position: relative; z-index: 1; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; margin-bottom: 28px; }
h1 { font-size: clamp(42px, 4.7vw, 67px); font-weight: 800; line-height: 1.28; letter-spacing: -.045em; }
h1 span { display: block; white-space: nowrap; }
.hero-description { max-width: 365px; margin-top: 30px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 13px 24px; border: 1px solid var(--ink); border-radius: 3px; font-size: 14px; font-weight: 500; line-height: 1.5; transition: background 180ms ease, color 180ms ease; }
.button > span[aria-hidden] { font-size: 22px; line-height: 1; }
.button-primary { background: var(--ink); color: var(--paper); margin-top: 34px; }
.button-primary:hover { background: #333; }
.button-primary:active { background: #555; }
.hero-art { min-width: 0; position: relative; padding-bottom: 36px; }
.mascot { width: 100%; display: block; overflow: hidden; border: 0; padding: 0; background: transparent; border-radius: 12px; }
.mascot img { width: 100%; aspect-ratio: 1; object-fit: contain; transform: rotate(var(--rotation, 0deg)); transition: transform 300ms var(--ease); }
.mascot:hover img { transform: rotate(calc(var(--rotation, 0deg) - 7deg)); }
.mascot-hint { position: absolute; bottom: 0; right: 8%; color: var(--muted); font-size: 12px; letter-spacing: .03em; }
.mascot-hint span { margin-left: 10px; font-size: 20px; }
.studio-section { border-top: 1px solid var(--ink); padding-block: 104px 112px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.section-label { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.section-heading h2 { font-size: clamp(32px, 3.1vw, 44px); line-height: 1.35; font-weight: 650; letter-spacing: -.04em; }
.studio-copy { padding-top: 42px; }
.large-copy { font-size: clamp(23px, 2.2vw, 30px); line-height: 1.6; letter-spacing: -.025em; }
.studio-copy p + p { max-width: 460px; margin-top: 26px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.games-section { padding-bottom: 112px; }
.games-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 30px; }
.games-heading h2 { font-size: 26px; font-weight: 650; letter-spacing: -.035em; }
.games-heading > span { font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.games-note { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 30px; background: var(--surface); padding: 44px 40px; border-radius: 3px; }
.note-symbol { font-size: 58px; line-height: 1; font-weight: 300; }
.games-note h3 { font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.games-note p { margin-top: 10px; color: var(--muted); max-width: 500px; font-size: 14px; }
.button-secondary { font-size: 13px; background: transparent; gap: 18px; white-space: nowrap; }
.button-secondary:hover { background: var(--ink); color: var(--paper); }
.site-footer { border-top: 1px solid var(--ink); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-block: 64px 72px; }
.footer-top p { font-size: clamp(36px, 5vw, 64px); font-weight: 650; letter-spacing: -.05em; line-height: 1.4; }
.footer-top p > a { display: inline-flex; align-items: center; gap: 28px; border-bottom: 2px solid var(--ink); }
.footer-top p > a:hover { color: var(--muted); border-color: var(--muted); }
.back-top { display: inline-flex; align-items: center; gap: 22px; min-height: 48px; font-size: 13px; border-bottom: 1px solid var(--line); }
.back-top:hover { border-color: var(--ink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-block: 24px; font-size: 12px; color: var(--muted); }
@media (min-width: 1600px) { .hero { min-height: 750px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .hero { min-height: 610px; gap: 0; padding-block: 70px 80px; }
  h1 { font-size: clamp(38px, 4.5vw, 50px); }
  .studio-section { gap: 50px; padding-block: 80px; }
  .games-note { grid-template-columns: 44px 1fr; padding: 32px; gap: 24px; }
  .games-note .button { grid-column: 2; justify-self: start; }
  .note-symbol { font-size: 44px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 88px; gap: 14px; }
  .brand { gap: 7px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-name { font-size: 14px; }
  .brand-english { font-size: 10px; margin-top: 3px; }
  .navigation { gap: 14px; }
  .navigation a { font-size: 12px; min-height: 44px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: 58px 54px; gap: 30px; }
  .eyebrow { margin-bottom: 22px; font-size: 11px; letter-spacing: .1em; }
  h1 { font-size: clamp(33px, 7.8vw, 56px); line-height: 1.35; letter-spacing: -.065em; }
  .hero-description { margin-top: 22px; max-width: 410px; font-size: 15px; }
  .button-primary { margin-top: 24px; min-height: 52px; }
  .hero-art { width: min(370px, 86%); margin: 8px auto 0; padding-bottom: 30px; }
  .mascot-hint { right: 0; font-size: 11px; }
  .studio-section { grid-template-columns: 1fr; padding-block: 56px 64px; gap: 32px; }
  .section-label { margin-bottom: 14px; }
  .section-heading h2 { font-size: 34px; }
  .studio-copy { padding-top: 0; }
  .large-copy { font-size: 25px; }
  .studio-copy p + p { margin-top: 20px; font-size: 15px; }
  .games-section { padding-bottom: 64px; }
  .games-heading { margin-bottom: 22px; }
  .games-heading h2 { font-size: 23px; }
  .games-heading > span { font-size: 10px; letter-spacing: .04em; }
  .games-note { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .note-symbol { font-size: 38px; }
  .games-note h3 { font-size: 21px; }
  .games-note p { font-size: 14px; }
  .games-note .button { grid-column: 1; margin-top: 4px; }
  .footer-top { padding-block: 44px; align-items: flex-start; }
  .footer-top p { font-size: 37px; }
  .footer-top p > a { gap: 10px; }
  .back-top { font-size: 12px; gap: 12px; }
  .footer-bottom { flex-wrap: wrap; font-size: 11px; padding-block: 22px; gap: 4px 20px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .brand-english { display: none; }
  .brand-logo { width: 34px; height: 34px; }
  .brand-name { font-size: 13px; }
  .navigation { gap: 10px; }
  h1 { font-size: 30px; }
  .footer-top { flex-direction: column; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mascot img, .mascot:hover img { transform: none; }
}
