:root { --ink:#232326; --muted:#626268; --line:#e5e5e7; --soft:#f6f6f7; --brand-red:#fc0000; --red:#c00000; --width:1120px; }
* { box-sizing:border-box; }
html { color-scheme:light; scroll-padding-top:2rem; }
body { margin:0; background:#fff; color:var(--ink); font-family:Arial,Helvetica,sans-serif; font-size:1rem; line-height:1.65; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-underline-offset:.25em; }
a:hover { color:var(--red); }
a:focus-visible { outline:3px solid var(--red); outline-offset:5px; border-radius:2px; }
main:focus { outline:none; }
::selection { background:#f7d9dd; color:var(--ink); }
.container { width:min(var(--width),calc(100% - 4rem)); margin-inline:auto; }
.skip-link { position:absolute; z-index:2; top:.75rem; left:1rem; background:var(--ink); color:#fff; padding:.7rem 1rem; transform:translateY(-200%); }
.skip-link:focus { transform:translateY(0); color:#fff; }
.site-header { min-height:104px; display:flex; align-items:center; justify-content:space-between; gap:2rem; border-bottom:1px solid var(--line); }
/* Preserve the full approved PNG, including its transparent margins.
   Use a darker shade of the logo red for accessible text and controls. */
.wordmark { display:block; flex-shrink:0; width:176px; max-width:100%; text-decoration:none; }
.wordmark img { display:block; width:100%; height:auto; }
/* The artwork starts 431px into the 1672px transparent canvas. Align its
   visible edge with the content; preserve the full image and header height. */
.site-header .wordmark img { transform:translateX(-25.78%); }
nav ul { display:flex; align-items:center; flex-wrap:wrap; list-style:none; gap:.3rem 1.7rem; padding:0; margin:0; }
nav a { display:inline-block; padding:.65rem 0; font-size:.9rem; text-decoration:none; }
nav a[aria-current=page] { color:var(--red); text-decoration:underline; text-decoration-thickness:2px; }
h1,h2,h3,p { margin-top:0; }
h1,h2,h3 { line-height:1.12; font-weight:700; letter-spacing:-.045em; overflow-wrap:break-word; }
h1 { font-size:clamp(2.7rem,6.1vw,5.25rem); max-width:1000px; margin-bottom:1.65rem; }
h2 { font-size:clamp(1.8rem,3vw,2.6rem); margin-bottom:1.25rem; }
h3 { font-size:1.6rem; }
p { color:var(--muted); }
.eyebrow { font-size:.875rem; letter-spacing:.09em; text-transform:uppercase; font-weight:600; margin-bottom:1.4rem; }
.hero { padding:6.5rem 0 5rem; }
.hero h1 { font-size:clamp(2.7rem,6.1vw,4.625rem); }
.hero .eyebrow,.page-intro .eyebrow { color:var(--red); }
.accent { color:var(--red); }
.lead { font-size:1.2rem; line-height:1.65; max-width:610px; margin-bottom:2rem; }
.actions { display:flex; flex-wrap:wrap; gap:.75rem; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:.7rem 1.4rem; border:1px solid #cfcfd2; border-radius:4px; font-weight:600; font-size:.95rem; text-decoration:none; transition:background .15s,border-color .15s; }
.button:hover { background:var(--soft); border-color:var(--ink); color:var(--ink); }
.button.primary { background:var(--ink); color:#fff; border-color:var(--ink); }
.button.primary:hover { background:var(--red); border-color:var(--red); }
.hero-note { margin:2.25rem 0 0; font-size:.875rem; }
.section { padding:4rem 0; border-top:1px solid var(--line); }
.section-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:2rem; margin-bottom:2rem; }
.section-heading h2 { margin-bottom:0; }
.section-heading .eyebrow { margin-bottom:.75rem; }
.section-heading>p { margin:0; font-size:.95rem; }
.product-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem; }
.product { display:flex; flex-direction:column; align-items:flex-start; padding:2rem; border:1px solid var(--line); border-radius:6px; background:#fff; scroll-margin-top:2rem; }
.product-top { width:100%; display:flex; justify-content:space-between; flex-wrap:wrap; align-items:center; gap:.8rem; margin-bottom:2.75rem; }
.product-top .eyebrow { margin:0; font-size:.8rem; }
.status { display:inline-block; background:var(--soft); color:#59595e; border:1px solid var(--line); font-size:.875rem; line-height:1.4; border-radius:100px; padding:.3rem .75rem; white-space:nowrap; }
.status--released { white-space:normal; }
.product .release-date { font-size:.875rem; margin-bottom:.75rem; }
/* Keep Apple's artwork unmodified with at least one-quarter badge-height clear space. */
.app-store-badge { display:inline-block; margin:12px 12px 16px; flex-shrink:0; }
.app-store-badge img { display:block; width:auto; height:48px; }
.product h2,.product h3 { font-size:1.6rem; margin-bottom:.8rem; }
.product p { margin-bottom:1.75rem; max-width:380px; }
.text-link { display:inline-block; font-size:.95rem; font-weight:600; padding:.25rem 0; }
.product .text-link { margin-top:auto; }
.about-strip { display:grid; grid-template-columns:1fr 2fr; gap:3rem; }
.about-strip>div { max-width:650px; }
.about-strip p:not(.eyebrow) { max-width:550px; }
.contact-strip { background:var(--soft); border-radius:6px; padding:2.5rem 3rem; display:flex; align-items:center; justify-content:space-between; gap:2rem; margin:0 0 4.5rem; }
.contact-strip .eyebrow { margin-bottom:.7rem; }
.contact-strip h2 { margin-bottom:.8rem; }
.contact-strip p { margin-bottom:0; }
.contact-strip .button { flex-shrink:0; background:#fff; }
.page-intro { padding:5.5rem 0 4rem; }
.page-intro .lead { margin-bottom:0; }
.page-intro--product h1 { font-size:clamp(2.4rem,4.2vw,3.5rem); text-wrap:balance; word-break:keep-all; overflow-wrap:break-word; }
.page-intro--apps h1 { font-size:clamp(2.4rem,5.1vw,4.375rem); }
.catalog { padding-bottom:5rem; }
.catalog-note { margin:2rem 0 0; font-size:.95rem; }
.game-feature { background:var(--soft); display:grid; grid-template-columns:1fr 2fr; align-items:start; gap:3rem; padding:2.5rem; border-radius:6px; }
.game-feature>.eyebrow { padding-top:.5rem; }
.editorial { display:grid; grid-template-columns:1fr 2fr; gap:3rem; }
.editorial>div { max-width:620px; }
.support-contact { margin-bottom:4rem; }
.support-contact p { max-width:700px; }
.support-list,.policy-list { border-top:1px solid var(--line); }
.support-item,.policy-item { display:grid; grid-template-columns:1fr 1.2fr; gap:3rem; padding:2rem 0; border-bottom:1px solid var(--line); }
.support-item h3,.policy-item h3 { font-size:1.2rem; line-height:1.4; margin-bottom:0; }
.support-item p { margin:1rem 0 0; }
.support-item .text-link { margin-top:.75rem; }
.policy-item p { margin:0; }
.policy-intro { max-width:700px; margin-bottom:2rem; }
.site-footer { border-top:1px solid var(--line); padding:2.5rem 0; display:grid; grid-template-columns:1fr auto; gap:1rem 2rem; align-items:start; }
.footer-brand { display:inline-block; font-size:1.125rem; line-height:1.4; font-weight:600; letter-spacing:-.025em; text-decoration:none; }
.footer-note,.copyright { font-size:.875rem; margin:.5rem 0 0; }
.copyright { grid-column:1/-1; }
.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; }
@media (max-width:800px) {
 .site-header .wordmark { width:144px; }
 .site-header { align-items:flex-start; flex-direction:column; padding:1.5rem 0 1rem; gap:.7rem; }
 nav ul { gap:.2rem 1.4rem; }
 .hero { padding:4.5rem 0 3.5rem; }
 .section-heading { align-items:flex-start; flex-direction:column; gap:1rem; }
 .product { padding:1.5rem; }
 .product-top { margin-bottom:2rem; }
 .contact-strip { padding:2rem; align-items:flex-start; flex-direction:column; }
 .about-strip,.editorial { grid-template-columns:1fr; gap:1.2rem; }
 .game-feature { grid-template-columns:1fr; gap:1rem; padding:1.5rem; }
 .page-intro { padding:4rem 0 3rem; }
}
@media (max-width:540px) {
 .container { width:calc(100% - 2.5rem); }
 nav ul { gap:.1rem 1.2rem; }
 .hero { padding:3.5rem 0; }
 .desktop-break { display:none; }
 .lead { font-size:1.1rem; }
 .section { padding:2.75rem 0; }
 .product-grid { grid-template-columns:1fr; }
 .product-top { margin-bottom:1.75rem; }
 .contact-strip { padding:1.5rem; margin-bottom:3rem; }
 .support-item,.policy-item { grid-template-columns:1fr; gap:.8rem; }
 .site-footer { grid-template-columns:1fr; gap:1rem; }
 .page-intro { padding:3.5rem 0 2.75rem; }
}
@media (prefers-reduced-motion:reduce) { * { transition:none !important; } }

/* Shared bilingual header and Japanese text support. */
.site-header { flex-wrap:wrap; column-gap:1.5rem; }
.site-header>nav:not(.language-switch) { flex:1; }
.language-switch { white-space:nowrap; font-size:.8rem; }
.language-switch a { padding:.35rem .1rem; font-size:inherit; }
.language-switch a[aria-current=true] { color:var(--red); text-decoration:underline; }
html[lang=ja] body { font-family:Arial,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif; line-break:strict; overflow-wrap:anywhere; }
html[lang=ja] h1,html[lang=ja] h2,html[lang=ja] h3 { line-height:1.4; letter-spacing:0; }
html[lang=ja] .eyebrow { letter-spacing:.06em; }
html[lang=ja] .status { white-space:normal; }
.translation-note { font-size:.875rem; max-width:700px; margin-top:1.5rem; }
