:root {
  --paper: #f4f0e6;
  --ink: #242420;
  --muted: #66645e;
  --red: #c93d2c;
  --line: #d7d2c6;
  --white: #fffcf5;
  color-scheme: light;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible, iframe:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
p { line-height: 1.9; }
.page-width, .header-inner { width: min(1260px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: 12px; left: 12px; transform: translateY(-180%); padding: 12px 20px; background: var(--ink); color: white; }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 13px; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 18px; font-weight: 800; letter-spacing: -.6px; }
.brand small { display: block; margin-top: 3px; font-family: "Hiragino Sans", Meiryo, sans-serif; font-size: 10px; font-weight: 500; letter-spacing: .12em; }
.brand-mark { display: grid; place-items: center; position: relative; width: 39px; height: 39px; background: var(--red); color: var(--white); font-size: 17px; letter-spacing: -.7px; }
.brand-mark span { position: absolute; bottom: -4px; right: -4px; height: 10px; width: 10px; background: var(--ink); border: 2px solid var(--paper); }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 12px; font-weight: 700; }
.main-nav a:not(.nav-play):hover { color: var(--red); }
.nav-play { display: flex; gap: 26px; padding: 11px 17px; border: 1px solid var(--ink); }
.nav-play:hover { background: var(--ink); color: var(--white); }

.hero { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); align-items: start; gap: 44px; padding-block: 48px 52px; }
.hero-copy { padding-top: 21px; min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 700; letter-spacing: .07em; }
.red-dot { width: 7px; height: 7px; background: var(--red); }
h1 { margin-top: 24px; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.35; font-weight: 900; letter-spacing: -.07em; white-space: nowrap; }
.hero-catch { margin-top: 24px; font-size: 24px; font-weight: 800; line-height: 1.65; letter-spacing: -.03em; }
.intro { margin-top: 22px; font-size: 13px; color: var(--muted); }
.feature-tags { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 20px 0 26px; }
.feature-tags li { border: 1px solid var(--line); padding: 5px 8px; font-size: 10px; font-weight: 600; }
.primary-link { display: inline-flex; justify-content: space-between; align-items: center; min-width: 180px; min-height: 49px; padding: 12px 20px; background: var(--red); color: white; font-size: 13px; font-weight: 800; gap: 35px; transition: background 150ms; }
.primary-link:hover { background: #a82d20; }
.primary-link span { font-size: 20px; font-weight: 400; line-height: 1; }
.start-note { margin-top: 10px; font-size: 10px; color: var(--muted); }
.pixel-art { width: 220px; height: 135px; margin-top: 39px; position: relative; }
.pixel-bricks { display: grid; grid-template-columns: repeat(4, 38px); gap: 5px; transform: rotate(-5deg); width: max-content; }
.pixel-bricks i { display: block; height: 13px; background: var(--ink); }
.pixel-bricks i:nth-child(-n+4) { background: var(--red); }
.pixel-bricks i:nth-child(9), .pixel-bricks i:nth-child(12) { opacity: 0; }
.pixel-bricks i:nth-child(10) { transform: translate(-9px, 10px) rotate(-14deg); }
.pixel-ball { position: absolute; top: 80px; left: 108px; width: 9px; height: 9px; background: var(--red); }
.pixel-trail { position: absolute; top: 67px; left: 91px; width: 25px; height: 1px; background: var(--red); transform: rotate(45deg); }
.pixel-paddle { position: absolute; bottom: 17px; left: 82px; width: 60px; height: 6px; background: var(--ink); }
.pixel-caption { position: absolute; bottom: 0; left: 74px; font: 8px ui-monospace, monospace; letter-spacing: .1em; }

.arcade { min-width: 0; border: 2px solid var(--ink); background: var(--ink); box-shadow: 7px 7px 0 var(--line); scroll-margin-top: 18px; }
.arcade-top, .arcade-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.arcade-top { color: var(--white); height: 42px; padding: 0 17px; font: 10px ui-monospace, monospace; letter-spacing: .06em; }
.arcade-top > span:first-child { display: flex; align-items: center; gap: 8px; }
.status-light { display: inline-block; width: 6px; height: 6px; background: #a9f04f; }
.arcade-number { color: #aaa59a; }
.play-frame { display: block; border: 0; width: 100%; height: 560px; background: #161512; }
.arcade-bottom { min-height: 44px; padding: 10px 15px; background: var(--white); font-size: 10px; }
.arcade-bottom > span { color: var(--muted); }
.arcade-bottom a { font-weight: 700; }
.arcade-bottom a:hover { color: var(--red); }
.arcade-bottom a span { margin-left: 7px; }

.ticker { overflow: hidden; border-block: 1px solid var(--ink); background: var(--red); color: var(--white); padding-block: 13px; }
.ticker div { display: flex; gap: 40px; width: max-content; font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.ticker span { font-size: 8px; align-self: center; }
.section { padding-block: 74px; }
.section-number { margin-bottom: 15px; color: var(--red); font: 10px ui-monospace, monospace; letter-spacing: .11em; }
h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.5; letter-spacing: -.03em; }
.section-heading > p:last-child { color: var(--muted); font-size: 13px; margin-top: 13px; max-width: 690px; }
.how-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.control-card { border: 1px solid var(--line); padding: 28px; background: var(--white); }
.control-label { font-size: 11px; font-weight: 700; color: var(--red); }
.key-art, .touch-art { display: flex; align-items: center; gap: 10px; min-height: 80px; }
.key-art span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--ink); box-shadow: 0 3px 0 var(--line); font: 16px ui-monospace, monospace; }
.key-art b { font-size: 11px; margin-inline: 3px; font-weight: 400; }
.touch-art span { font-size: 25px; }
.touch-art b { padding: 9px 18px; border: 1px dashed var(--muted); font-size: 12px; font-weight: 500; }
h3 { font-size: 16px; line-height: 1.6; }
.control-card > p { margin-top: 12px; font-size: 13px; color: var(--muted); }
.control-card > .control-foot { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; font-size: 11px; color: var(--ink); }
.rules { margin: 26px 0 0; padding: 0; list-style: none; counter-reset: rule; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.rules li { counter-increment: rule; font-size: 12px; color: var(--muted); line-height: 1.85; }
.rules li > span { display: block; color: var(--ink); font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.rules li > span::before { content: "0" counter(rule); margin-right: 10px; color: var(--red); font: 11px ui-monospace, monospace; }

.items-section { background: #eae5d9; border-block: 1px solid var(--line); }
.item-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 32px; border: 1px solid #c8c1b1; }
.item-card { padding: 28px 24px 30px; }
.item-card + .item-card { border-left: 1px solid #c8c1b1; }
.item-symbol { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--ink); font-size: 33px; line-height: 1; background: var(--white); box-shadow: 3px 3px 0 #d2cabb; margin-bottom: 24px; }
.life-symbol { color: #4e6928; }
.wide-symbol { color: #186075; }
.slow-symbol { color: #856217; }
.multi-symbol { color: var(--red); }
.item-kind { font: 9px ui-monospace, monospace; color: var(--muted); letter-spacing: .1em; margin-bottom: 8px; }
.item-card h3 { font-size: 15px; }
.item-card > p:last-child { margin-top: 10px; color: var(--muted); font-size: 12px; }

.tips-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; margin-top: 34px; }
.tip { border-top: 2px solid var(--ink); padding-top: 22px; }
.tip-number { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid var(--red); color: var(--red); font-family: "Yu Mincho", serif; font-size: 18px; margin-bottom: 20px; }
.tip h3 { font-size: 15px; }
.tip p { font-size: 13px; color: var(--muted); margin-top: 12px; }
.tip-note { display: inline-block; padding: 10px 14px; font-size: 11px; margin-top: 25px; border-left: 2px solid var(--red); background: #eae5d9; }

.faq-section { border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 50px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--ink); }
.faq-list summary { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 21px 0; list-style: none; cursor: pointer; font-size: 13px; font-weight: 700; line-height: 1.8; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--red); flex-shrink: 0; font: 20px ui-monospace, monospace; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 28px 21px 0; color: var(--muted); font-size: 12px; }
.last-play { border-top: 1px solid var(--ink); padding-block: 35px 52px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.last-play p { font-size: 22px; font-weight: 800; line-height: 1.65; }
.site-footer { background: var(--ink); color: var(--white); padding-block: 30px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-inner strong { display: block; font: 700 15px ui-sans-serif, system-ui, sans-serif; }
.footer-inner p > span { font-size: 10px; color: #c9c4b8; }
.language-nav { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 11px; }
.language-nav a { padding-block: 7px; }
.language-nav a:hover, .language-nav a[aria-current="page"] { color: #ff9c81; }

@media (max-width: 1100px) {
  .page-width, .header-inner { width: calc(100% - 48px); }
  .hero { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 28px; }
  h1 { font-size: 38px; }
  .hero-catch { font-size: 21px; }
  .play-frame { height: 530px; }
  .item-card { padding-inline: 18px; }
}

@media (max-width: 850px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 30px 38px; }
  .hero-copy { padding-top: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; }
  .eyebrow, h1, .intro, .feature-tags { grid-column: 1; }
  h1 { font-size: 46px; margin-top: 12px; }
  .hero-catch { display: none; }
  .intro { max-width: 470px; margin-top: 12px; }
  .feature-tags { margin-block: 13px 0; }
  .hero-copy .primary-link { grid-column: 2; grid-row: 2; align-self: center; }
  .hero-copy .start-note { grid-column: 2; grid-row: 3; max-width: 180px; }
  .pixel-art { display: none; }
  .play-frame { height: 520px; }
  .section { padding-block: 50px; }
  .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .item-card:nth-child(3) { border-left: 0; }
  .item-card:nth-child(n+3) { border-top: 1px solid #c8c1b1; }
  .tips-grid { gap: 22px; }
  .faq-section { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-inner { align-items: start; flex-direction: column; gap: 18px; }
}

@media (max-width: 560px) {
  .page-width, .header-inner { width: calc(100% - 32px); }
  .header-inner { min-height: 66px; gap: 10px; }
  .brand { font-size: 14px; gap: 9px; }
  .brand-mark { width: 31px; height: 31px; font-size: 14px; }
  .brand small { font-size: 8px; letter-spacing: .04em; }
  .main-nav { gap: 0; }
  .main-nav > a:not(.nav-play) { display: none; }
  .nav-play { padding: 9px 11px; gap: 12px; font-size: 11px; }
  .hero { gap: 19px; padding-block: 24px 30px; }
  .hero-copy { display: block; }
  .eyebrow { font-size: 10px; }
  h1 { font-size: clamp(32px, 9vw, 44px); margin-top: 11px; letter-spacing: -.05em; }
  .intro { font-size: 12px; line-height: 1.85; margin-top: 11px; }
  .feature-tags { gap: 5px; margin-block: 12px 0; }
  .feature-tags li { padding: 4px 6px; font-size: 9px; }
  .hero-copy .primary-link, .hero-copy .start-note { display: none; }
  .arcade { box-shadow: 4px 4px 0 var(--line); }
  .arcade-top { height: 34px; padding-inline: 10px; font-size: 9px; }
  .play-frame { height: 480px; }
  .arcade-bottom { padding: 10px; min-height: 42px; font-size: 9px; }
  .arcade-bottom > span { display: none; }
  .arcade-bottom a { margin-left: auto; }
  .ticker { padding-block: 10px; }
  .ticker div { font-size: 11px; gap: 24px; }
  .section { padding-block: 40px; }
  .section-number { font-size: 9px; margin-bottom: 10px; }
  h2 { font-size: 23px; }
  .section-heading > p:last-child { font-size: 12px; margin-top: 10px; }
  .how-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 24px; }
  .control-card { padding: 21px; }
  .key-art, .touch-art { min-height: 72px; }
  .control-card > p { font-size: 12px; }
  .rules { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 23px; }
  .rules li > span { margin-bottom: 4px; }
  .item-grid { margin-top: 24px; }
  .item-card { padding: 20px 13px; }
  .item-symbol { margin-bottom: 20px; width: 42px; height: 42px; font-size: 28px; }
  .item-card h3 { font-size: 13px; }
  .item-card > p:last-child { font-size: 11px; }
  .item-card br { display: none; }
  .tips-grid { grid-template-columns: minmax(0, 1fr); gap: 25px; margin-top: 24px; }
  .tip { padding-top: 18px; }
  .tip-number { float: left; margin: 0 13px 8px 0; }
  .tip h3 { min-height: 33px; display: flex; align-items: center; font-size: 14px; }
  .tip p { clear: both; margin-top: 10px; font-size: 12px; }
  .tip-note { font-size: 10px; }
  .faq-list summary { font-size: 12px; gap: 18px; padding-block: 18px; }
  .last-play { padding-block: 28px 36px; }
  .last-play p { font-size: 16px; }
  .last-play .primary-link { min-width: 126px; gap: 20px; padding-inline: 13px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
