:root {
  color-scheme: light;
  --ink: #252c29;
  --muted: #56615b;
  --rose: #b22253;
  --mint: #e6f3ec;
  --line: #d9e0dc;
  --header-height: 72px;
}
* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; font-size: 16px; line-height: 1.85; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--rose); }
button, .button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 5px; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
button, .icon { flex-shrink: 0; }
.icon { width: 20px; height: 20px; }
.container { width: min(100% - 64px, 1160px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 8px 16px; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(100% - 48px, 1320px); min-height: var(--header-height); margin-inline: auto; }
.site-brand { flex-shrink: 0; font-size: 18px; font-weight: 800; line-height: 1.3; text-decoration: none; }
.site-brand span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { font-size: 13px; font-weight: 700; text-decoration: none; }
.site-nav .nav-sales { color: var(--rose); }
.menu-toggle { display: none; }
.hero { position: relative; isolation: isolate; height: calc(84svh - var(--header-height)); min-height: 560px; max-height: 730px; overflow: hidden; }
.hero-image { position: absolute; z-index: -2; inset: 0; background: url('images/package-front.png') calc(50% + 22vw) 60% / cover no-repeat; }
.hero::before { position: absolute; z-index: -1; inset: 0 auto 0 0; width: 62%; background: rgba(255, 255, 255, 0.97); clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%); content: ''; }
.hero-inner { display: flex; align-items: center; height: 100%; padding-block: 36px; }
.hero-copy { width: 52%; max-width: 550px; }
.platform { margin-bottom: 12px; color: var(--muted); font-size: 12px; font-weight: 700; }
.hero h1 { line-height: 1; }
.hero-logo { width: 100%; height: 200px; object-fit: cover; object-position: 50% 47%; }
.hero-volume { display: block; padding-right: 12px; text-align: right; font-size: 40px; font-weight: 800; }
.hero-lead { margin-top: 24px; font-size: 21px; font-weight: 700; }
.hero-description { margin-top: 10px; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; max-width: 100%; padding: 10px 20px; border: 1px solid transparent; border-radius: 4px; font-size: 14px; font-weight: 700; line-height: 1.5; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.button-primary { color: #fff; background: var(--rose); }
.button-primary:hover { color: #fff; background: #8d163d; }
.button-primary .icon { filter: invert(1); }
.button-secondary { color: var(--ink); border-color: #84958b; background: #fff; }
.button-secondary:hover { color: var(--ink); background: var(--mint); }
.release-note { margin-top: 16px; color: var(--rose); font-size: 12px; font-weight: 700; }
.release-band { background: var(--mint); border-bottom: 1px solid var(--line); }
.release-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 22px; }
.band-label { display: block; color: var(--muted); font-size: 10px; font-weight: 700; }
.release-inner strong { font-size: 22px; font-weight: 800; }
.release-inner strong span { padding-left: 16px; font-size: 18px; }
.release-place { color: var(--muted); font-size: 13px; }
.release-place strong { padding-left: 10px; color: var(--ink); font-size: 16px; }
.release-inner > a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.section { padding-block: 88px; scroll-margin-top: 96px; }
.section-heading { max-width: 780px; margin-bottom: 36px; }
.eyebrow { margin-bottom: 10px; color: var(--rose); font-size: 11px; font-weight: 800; }
.section-heading h2 { font-size: 32px; font-weight: 800; line-height: 1.5; overflow-wrap: anywhere; }
.section-heading > p:last-child:not(.eyebrow) { margin-top: 16px; color: var(--muted); }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; scroll-margin-top: 96px; }
.game { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.game-art { aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line); background-repeat: no-repeat; }
.game-art-maid { background-image: url('images/package-front.png'); background-size: 170%; background-position: 0% 84%; }
.game-art-magical { background-image: url('images/package-back.png'); background-size: 280%; background-position: 100% 64%; }
.game-copy { padding: 28px; }
.game-category { margin-bottom: 10px; color: var(--muted); font-size: 11px; font-weight: 700; }
.game-category span { margin-right: 12px; color: var(--rose); font-size: 16px; }
.game-copy h3 { font-size: 28px; line-height: 1.4; }
.game-copy > p:not(.game-category):not(.game-footnote) { margin-top: 16px; color: var(--muted); font-size: 15px; }
.game-copy .game-footnote { margin-top: 20px; color: var(--muted); font-size: 11px; }
.game-screenshots { padding: 0 28px 28px; }
.game-screen-thumbnails { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; margin-top: 20px; }
.game-screen-thumbnails .gallery-link { aspect-ratio: 1; background: #f7f8f7; }
.game-screen-thumbnails .gallery-link > img { width: 100%; height: 100%; object-fit: contain; }
.game-screen-thumbnails figcaption { margin-top: 8px; overflow-wrap: anywhere; }
.upgrade-section { background: #f0f5f2; border-block: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.feature-number { display: inline-block; margin-bottom: 12px; padding-bottom: 5px; color: var(--rose); border-bottom: 3px solid #cfbb56; font-size: 15px; font-weight: 800; }
.feature h3 { margin-bottom: 12px; font-size: 20px; line-height: 1.5; }
.feature p { color: var(--muted); font-size: 15px; }
.package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gallery-link { position: relative; display: block; color: var(--ink); }
.gallery-link > img { width: 100%; height: auto; border: 1px solid var(--line); }
.gallery-link:hover > img { border-color: var(--rose); }
.zoom-mark { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; }
.specs-section { background: #f7f8f7; border-block: 1px solid var(--line); }
.specs-layout { display: grid; grid-template-columns: 1fr 1.7fr; gap: 64px; }
.platform-logo { width: 190px; height: auto; margin-top: 32px; }
.specs > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; padding-block: 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs > div:first-child { border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { font-weight: 600; overflow-wrap: anywhere; }
.screenshot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.screenshot-grid .gallery-link { aspect-ratio: 1; background: #f0f5f2; }
.screenshot-grid .gallery-link > img { width: 100%; height: 100%; object-fit: contain; }
.pixel-image { image-rendering: pixelated; }
.sales-section { color: var(--ink); background: var(--mint); }
.sales-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.sales-layout .section-heading { margin: 0; }
.event-details > div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 18px; margin-bottom: 12px; font-size: 15px; }
.event-details dt { color: var(--muted); }
.event-details dd { font-weight: 700; }
.sales-button { margin-top: 20px; }
.sales-note, .planned-price { margin-top: 20px; color: var(--muted); font-size: 13px; }
.sales-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.sales-price span { color: var(--muted); font-size: 13px; }
.sales-price strong { font-size: 26px; line-height: 1.5; }
.site-footer { padding-block: 36px; border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.footer-brand { font-size: 17px; font-weight: 800; text-decoration: none; }
.footer-inner > p { color: var(--muted); font-size: 12px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; font-size: 12px; }
.icon-button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.image-viewer { width: min(1200px, calc(100% - 32px)); height: min(94svh, 1000px); max-height: calc(100% - 32px); padding: 16px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: #fff; }
.image-viewer::backdrop { background: rgba(0, 0, 0, 0.68); }
.image-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px; }
.viewer-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.viewer-heading h2 { font-size: 15px; font-weight: 700; line-height: 1.5; }
.viewer-image { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.viewer-original { display: inline-flex; align-items: center; justify-self: end; gap: 8px; font-size: 13px; }
.viewer-open { overflow: hidden; }
@media (max-width: 1100px) {
  .site-nav { gap: 16px; }
  .hero-lead { font-size: 19px; }
  .hero-copy { width: 54%; }
  .specs-layout, .sales-layout { gap: 40px; }
}
@media (max-width: 899px) {
  :root { --header-height: 64px; }
  .header-inner { flex-wrap: wrap; gap: 12px; width: calc(100% - 40px); padding-block: 12px; }
  .site-nav { flex-wrap: wrap; width: 100%; gap: 12px 20px; padding-block: 12px; }
  .js .menu-toggle { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
  .js .site-nav { position: absolute; top: 100%; right: 0; display: none; width: min(320px, calc(100vw - 40px)); padding: 16px; border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: 0 8px 24px rgba(25, 40, 31, 0.12); }
  .js .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: 10px 8px; }
  .hero { height: auto; min-height: 0; max-height: none; padding-top: 230px; }
  .hero-image { bottom: auto; height: 290px; background-size: auto 680px; background-position: 72% 72%; }
  .hero::before { inset: 230px 0 0; width: 100%; background: #fff; clip-path: none; }
  .hero-inner { padding-block: 28px 36px; }
  .hero-copy { width: 100%; max-width: 600px; margin-inline: auto; }
  .platform { margin-bottom: 0; }
  .hero-logo { width: min(100%, 460px); height: 170px; }
  .hero-volume { width: min(100%, 460px); font-size: 30px; }
  .hero-lead { margin-top: 16px; font-size: 18px; }
  .hero-actions { margin-top: 20px; }
  .desktop-break { display: none; }
  .release-inner { flex-wrap: wrap; gap: 16px 24px; }
  .release-inner > a { margin-left: auto; }
  .section { padding-block: 64px; }
  .section-heading h2 { font-size: 28px; }
  .feature-grid { gap: 28px; }
  .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .package-grid > figure:last-child { max-width: 480px; }
  .specs-layout, .sales-layout { grid-template-columns: 1fr; gap: 24px; }
  .specs-layout .section-heading { margin-bottom: 0; }
  .platform-logo { width: 150px; margin-top: 16px; }
  .footer-inner nav { width: 100%; margin-left: 0; }
}
@media (max-width: 599px) {
  .container { width: calc(100% - 40px); }
  .hero { padding-top: 180px; }
  .hero-image { height: 230px; background-size: auto 530px; }
  .hero::before { top: 180px; }
  .hero-inner { padding-block: 20px 28px; }
  .hero-logo { width: 100%; height: 130px; }
  .hero-volume { width: 100%; padding: 0; font-size: 28px; }
  .hero-lead { margin-top: 16px; font-size: 16px; }
  .hero-description { font-size: 14px; line-height: 1.8; }
  .hero-actions { gap: 8px; margin-top: 18px; }
  .hero-actions .button { flex: 1; padding-inline: 10px; font-size: 12px; }
  .hero-actions .button .icon { width: 16px; height: 16px; }
  .release-note { margin-top: 12px; font-size: 11px; }
  .release-inner { padding-block: 20px; }
  .release-inner strong { font-size: 20px; }
  .release-place { font-size: 12px; }
  .release-inner > a { margin-left: 0; }
  .section { padding-block: 48px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { font-size: 24px; }
  .section-heading > p:last-child:not(.eyebrow) { font-size: 14px; }
  .section-heading br { display: none; }
  .game-grid, .feature-grid, .screenshot-grid { grid-template-columns: 1fr; }
  .game-copy { padding: 24px; }
  .game-screenshots { padding: 0 24px 24px; }
  .game-screen-thumbnails { gap: 16px 12px; margin-top: 16px; }
  .game-screen-thumbnails .zoom-mark { right: 6px; bottom: 6px; width: 28px; height: 28px; }
  .game-screen-thumbnails .zoom-mark .icon { width: 16px; height: 16px; }
  .game-copy h3 { font-size: 24px; }
  .game-copy > p:not(.game-category):not(.game-footnote) { font-size: 14px; }
  .feature { padding-top: 20px; border-top: 1px solid var(--line); }
  .feature:first-child { padding-top: 0; border-top: 0; }
  .feature h3 { font-size: 18px; }
  .feature p { font-size: 14px; }
  .package-grid { grid-template-columns: 1fr; gap: 28px; }
  .specs > div { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; font-size: 13px; }
  .event-details > div { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; font-size: 14px; }
  .site-footer { padding-block: 28px; }
  .footer-inner { gap: 16px; }
  .footer-inner > p { width: 100%; }
  .image-viewer { padding: 12px; }
  .viewer-heading h2 { font-size: 13px; }
}
@media (min-width: 900px) and (max-height: 740px) {
  .hero { height: auto; min-height: 0; }
  .hero-inner { padding-block: 28px; }
  .hero-logo { width: min(100%, 400px); height: 160px; }
  .hero-volume { max-width: 400px; font-size: 32px; }
  .hero-lead { margin-top: 16px; font-size: 19px; }
  .hero-description { font-size: 14px; }
  .hero-actions { margin-top: 20px; }
  .release-note { margin-top: 12px; }
}
@media (max-width: 599px) and (max-height: 760px) {
  .hero { padding-top: 112px; }
  .hero-image { height: 162px; background-size: auto 470px; }
  .hero::before { top: 112px; }
  .hero-inner { padding-block: 16px 20px; }
  .hero-logo { width: min(100%, 300px); height: 104px; }
  .hero-volume { width: min(100%, 300px); }
  .hero-actions { margin-top: 14px; }
  .release-note { margin-top: 8px; }
}
@media (min-width: 600px) and (max-width: 899px) and (max-height: 900px) {
  .hero { padding-top: 150px; }
  .hero-image { height: 210px; }
  .hero::before { top: 150px; }
  .hero-logo { width: min(100%, 380px); height: 145px; }
  .hero-volume { width: min(100%, 380px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
