:root {
  color-scheme: light;
  font-family: Inter, "Noto Sans JP", sans-serif;
  --home-bg: #f5f2eb;
  --home-paper: #fbfaf6;
  --home-ink: #242321;
  --home-muted: #6e6a63;
  --home-rule: #282724;
  --home-accent: #735848;
  --home-blue: #173d67;
  --home-max: 1512px;
}

* { box-sizing: border-box; }
html { background: var(--home-bg); scroll-behavior: smooth; }
body.mori-home { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--home-bg); color: var(--home-ink); }
body.mori-home :is(a, button) { font: inherit; }
body.mori-home img { max-width: 100%; }

.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; min-height: 48px; padding: 12px 16px; translate: 0 -160%; background: var(--home-ink); color: var(--home-paper); font-weight: 800; }
.skip-link:focus { translate: 0; }
.arcade-header { position: sticky; z-index: 30; top: 0; background: rgba(245, 242, 235, .96); backdrop-filter: blur(14px); }
.arcade-header__inner, .arcade-main, .arcade-footer > div, .home-ad { width: min(var(--home-max), calc(100% - 80px)); margin-inline: auto; }
.arcade-header__inner { display: flex; min-height: 104px; align-items: center; justify-content: space-between; gap: 26px; }
.arcade-brand, .arcade-footer__brand { display: flex; min-width: max-content; min-height: 48px; align-items: center; gap: 13px; color: var(--home-ink); text-decoration: none; }
.arcade-brand img { width: 43px; height: 43px; }
.arcade-brand :is(strong, small) { display: block; }
.arcade-brand strong { font-size: 1.08rem; letter-spacing: -.02em; }
.arcade-brand small { margin-top: 3px; color: var(--home-muted); font-size: .62rem; letter-spacing: .1em; }
.arcade-nav { display: flex; align-items: center; gap: 3px; }
.arcade-nav a { display: grid; min-height: 48px; place-items: center; padding: 0 12px; color: var(--home-ink); font-size: .88rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.arcade-nav a:not(.arcade-nav__cta):hover, .arcade-nav a:not(.arcade-nav__cta):focus-visible { color: var(--home-accent); text-decoration: underline; text-underline-offset: 6px; }
.arcade-nav__cta { margin-left: 10px; padding-inline: 19px !important; border: 2px solid var(--home-ink); border-radius: 999px; }
.arcade-nav__cta:hover, .arcade-nav__cta:focus-visible { background: var(--home-ink); color: var(--home-paper); }
.arcade-menu-button { display: none; width: 48px; height: 48px; border: 1px solid var(--home-rule); background: transparent; color: var(--home-ink); cursor: pointer; }
.arcade-menu-button .ph { font-size: 24px; }
.arcade-menu-button .ph-x { display: none; }
.arcade-menu-button[aria-expanded="true"] .ph-list { display: none; }
.arcade-menu-button[aria-expanded="true"] .ph-x { display: inline-block; }

.arcade-hero { min-height: 720px; display: grid; grid-template-columns: minmax(620px, 1.05fr) minmax(0, .95fr); grid-template-rows: minmax(0, 1fr); align-items: stretch; gap: clamp(34px, 4vw, 72px); padding: 108px 0 82px; border-bottom: 1px solid var(--home-rule); }
.arcade-hero__copy { display: flex; min-width: 0; max-width: 680px; flex-direction: column; justify-content: end; }
.home-eyebrow { margin: 0 0 30px; color: var(--home-accent); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.arcade-hero h1, .home-section-heading h2, .arcade-support h2 { margin: 0; color: var(--home-ink); font-family: "Noto Serif JP", Georgia, serif; font-weight: 600; letter-spacing: -.075em; }
.arcade-hero h1 { font-size: clamp(3.8rem, 4.8vw, 6rem); line-height: 1.07; }
.arcade-hero h1 span { color: #121316; }
.arcade-hero__lead { max-width: 820px; margin: 38px 0 0; overflow-wrap: anywhere; word-break: break-word; color: #44413d; font-family: "Noto Serif JP", Georgia, serif; font-size: clamp(1rem, 1.65vw, 1.3rem); line-height: 1.9; }
.arcade-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 42px; }
.home-primary-cta, .home-secondary-cta, .home-card-cta { display: flex; min-height: 58px; align-items: center; justify-content: center; gap: 11px; font-weight: 800; text-decoration: none; }
.home-primary-cta { padding: 0 23px; background: var(--home-ink); color: var(--home-paper); }
.home-primary-cta:hover, .home-primary-cta:focus-visible { background: var(--home-blue); }
.home-primary-cta .ph-arrow-right { margin-left: 12px; }
.home-secondary-cta { padding: 0 21px; border: 1px solid var(--home-rule); color: var(--home-ink); }
.home-secondary-cta:hover, .home-secondary-cta:focus-visible { background: #eae5dc; }
.arcade-trust-list { display: flex; flex-wrap: wrap; gap: 22px; margin: 28px 0 0; padding: 0; list-style: none; }
.arcade-trust-list li { display: flex; align-items: center; gap: 7px; color: var(--home-muted); font-size: .82rem; font-weight: 700; }
.arcade-trust-list .ph { color: var(--home-accent); font-size: 19px; }
.arcade-hero__visual { position: relative; display: grid; min-height: 0; overflow: hidden; align-self: stretch; background: #17191e; color: #fff; text-decoration: none; }
.arcade-hero__visual picture { position: absolute; inset: 0; display: block; min-height: 0; }
.arcade-hero__visual img { display: block; min-height: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; filter: saturate(.94) contrast(1.06); transition: transform .5s ease, filter .5s ease; }
.arcade-hero__visual::after { position: absolute; inset: 0; background: rgba(10,12,17,.24); content: ""; pointer-events: none; }
.arcade-hero__visual:hover img, .arcade-hero__visual:focus-visible img { transform: scale(1.025); filter: saturate(1.08) contrast(1.06); }
.arcade-hero__visual-label { position: absolute; z-index: 1; right: clamp(22px, 3vw, 46px); bottom: clamp(22px, 3vw, 42px); left: clamp(22px, 3vw, 46px); display: grid; gap: 7px; max-width: 320px; padding: 18px; background: rgba(10,12,17,.78); }
.arcade-hero__visual-label small { color: #7fe8e3; font-size: .66rem; font-weight: 800; letter-spacing: .15em; }
.arcade-hero__visual-label strong { font-family: Georgia, "Noto Serif JP", serif; font-size: clamp(2rem, 3.4vw, 3.7rem); letter-spacing: -.035em; }
.arcade-hero__visual-label span { color: #e4e8ed; font-family: "Noto Serif JP", Georgia, serif; font-size: .84rem; line-height: 1.7; }
.arcade-hero__visual-label b { display: flex; align-items: center; gap: 8px; margin-top: 9px; font-size: .83rem; }

.home-section { padding: 110px 0; border-bottom: 1px solid var(--home-rule); }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.home-section-heading h2 { font-size: clamp(2.7rem, 4.5vw, 5rem); line-height: 1.14; }
.home-section-heading > p { max-width: 445px; margin: 0; color: var(--home-muted); font-family: "Noto Serif JP", Georgia, serif; line-height: 1.9; }
.home-section-heading--compact { align-items: center; }
.arcade-game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--home-rule); border-left: 1px solid var(--home-rule); }
.arcade-game-card { display: flex; flex-direction: column; border-right: 1px solid var(--home-rule); border-bottom: 1px solid var(--home-rule); background: var(--home-paper); }
.arcade-game-card__image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #d9d4ca; }
.arcade-game-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.04); transition: transform .35s ease, filter .35s ease; }
.arcade-game-card:hover .arcade-game-card__image img { transform: scale(1.025); filter: saturate(1); }
.arcade-game-card__copy { display: flex; min-height: 276px; flex-direction: column; padding: 26px; }
.arcade-game-card__kicker { margin: 0 0 10px; color: var(--home-accent); font-size: .66rem; font-weight: 800; letter-spacing: .13em; }
.arcade-game-card h3 { margin: 0; font-family: Georgia, "Noto Serif JP", serif; font-size: 1.8rem; letter-spacing: .02em; }
.arcade-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.arcade-tags span { padding: 4px 8px; border: 1px solid #9e9689; color: #625b53; font-size: .68rem; font-weight: 700; }
.arcade-game-card__description { margin: 17px 0 20px; color: var(--home-muted); font-family: "Noto Serif JP", Georgia, serif; font-size: .9rem; line-height: 1.72; }
.home-card-cta { width: 100%; margin-top: auto; padding: 0 14px; border: 1px solid var(--home-rule); color: var(--home-ink); }
.home-card-cta .ph-arrow-right { margin-left: auto; }
.home-card-cta:hover, .home-card-cta:focus-visible { background: var(--home-ink); color: var(--home-paper); }
.arcade-quick { padding-block: 78px; }
.arcade-quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--home-rule); border-left: 1px solid var(--home-rule); }
.arcade-quick-grid a { display: flex; min-height: 126px; align-items: center; gap: 14px; padding: 24px; border-right: 1px solid var(--home-rule); border-bottom: 1px solid var(--home-rule); color: var(--home-ink); font-family: "Noto Serif JP", Georgia, serif; font-weight: 700; text-decoration: none; }
.arcade-quick-grid a .ph:first-child { font-size: 26px; }
.arcade-quick-grid a .ph-arrow-right { margin-left: auto; font-size: 20px; }
.arcade-quick-grid a:hover, .arcade-quick-grid a:focus-visible { background: #eae5dc; }
.arcade-updates { border-top: 1px solid var(--home-rule); }
.arcade-updates a { display: grid; min-height: 88px; grid-template-columns: 118px 96px minmax(0, 1fr) 24px; align-items: center; gap: 14px; border-bottom: 1px solid var(--home-rule); color: var(--home-ink); text-decoration: none; }
.arcade-updates time { color: var(--home-muted); font-size: .78rem; }
.arcade-updates span { color: var(--home-accent); font-size: .68rem; font-weight: 800; letter-spacing: .09em; }
.arcade-updates strong { font-family: "Noto Serif JP", Georgia, serif; font-size: 1rem; }
.arcade-updates .ph { font-size: 19px; }
.arcade-updates a:hover strong, .arcade-updates a:focus-visible strong { text-decoration: underline; text-underline-offset: 6px; }
.home-text-link { display: flex; min-height: 48px; align-items: center; gap: 8px; color: var(--home-ink); font-weight: 800; text-decoration: none; }
.home-text-link:hover, .home-text-link:focus-visible { color: var(--home-accent); }
.home-ad { margin-block: 0 88px; padding: 24px; border-top: 1px solid var(--home-rule); border-bottom: 1px solid var(--home-rule); text-align: center; }
.home-ad > p { margin: 0 0 12px; color: var(--home-muted); font-size: .7rem; letter-spacing: .1em; }
.home-ad .ad-slot__creative { display: grid; min-height: 90px; place-items: center; }

.arcade-footer { background: var(--home-blue); color: #f7f5ef; }
.arcade-support { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 64px 0; }
.arcade-footer .home-eyebrow { color: #cbd8e3; }
.arcade-support h2 { max-width: 600px; color: #fff; font-size: 1.8rem; }
.arcade-support__links { display: flex; flex-wrap: wrap; gap: 9px; }
.arcade-support__links a { display: flex; min-height: 48px; align-items: center; gap: 9px; padding: 0 14px; border: 1px solid rgba(255,255,255,.6); color: #fff; font-size: .78rem; font-weight: 750; text-decoration: none; }
.arcade-support__links a:hover, .arcade-support__links a:focus-visible { background: #fff; color: var(--home-blue); }
.arcade-footer__bottom { display: flex; min-height: 92px; align-items: center; gap: 18px; border-top: 1px solid rgba(255,255,255,.45); color: #dce6f1; }
.arcade-footer__brand { color: #fff; }
.arcade-footer__brand img { width: 34px; height: 34px; }
.arcade-footer__brand strong { font-size: .85rem; }
.arcade-socials { display: flex; gap: 4px; }
.arcade-socials a { display: grid; width: 48px; height: 48px; place-items: center; color: #fff; }
.arcade-socials a:hover, .arcade-socials a:focus-visible { background: rgba(255,255,255,.12); }
.arcade-socials .ph { font-size: 21px; }
.arcade-footer__nav { display: flex; gap: 18px; margin-left: auto; }
.arcade-footer__nav a { display: grid; min-height: 48px; place-items: center; color: #dce6f1; font-size: .78rem; text-decoration: none; }
.arcade-footer__nav a:hover, .arcade-footer__nav a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.arcade-footer__bottom small { white-space: nowrap; }
.arcade-mobile-actions { display: none; }
body.mori-home a:focus-visible, body.mori-home button:focus-visible { outline: 3px solid #9a785d; outline-offset: 3px; }

@media (max-width: 1260px) {
  .arcade-header__inner, .arcade-main, .arcade-footer > div, .home-ad { width: min(var(--home-max), calc(100% - 48px)); }
  .arcade-nav a { padding-inline: 8px; font-size: .79rem; }
  .arcade-brand small { display: none; }
  .arcade-hero { min-height: 650px; grid-template-columns: minmax(0, .95fr) minmax(340px, .9fr); gap: 42px; padding-top: 138px; }
}
@media (max-width: 900px) {
  .arcade-header__inner { min-height: 82px; }
  .arcade-menu-button { display: grid; place-items: center; }
  .arcade-nav { position: absolute; top: 82px; right: 0; left: 0; display: none; padding: 12px 24px 20px; border-block: 1px solid var(--home-rule); background: var(--home-bg); }
  .arcade-nav[data-open="true"] { display: grid; }
  .arcade-nav a { justify-content: start; padding-inline: 12px; font-size: .94rem; }
  .arcade-nav__cta { margin: 8px 0 0; }
  .arcade-hero { min-height: 0; grid-template-columns: 1fr; grid-template-rows: none; gap: 42px; padding-top: 124px; }
  .arcade-hero__copy { max-width: 720px; }
  .arcade-hero__visual { min-height: min(62vw, 500px); }
  .home-section { padding-block: 78px; }
  .arcade-game-grid { grid-template-columns: 1fr 1fr; }
  .arcade-game-card:first-child { grid-column: 1 / -1; }
  .arcade-support { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  body.mori-home { padding-bottom: 68px; }
  .arcade-header__inner, .arcade-main, .arcade-footer > div, .home-ad { width: calc(100% - 32px); }
  .arcade-brand img { width: 38px; height: 38px; }
  .arcade-brand strong { font-size: .95rem; }
  .arcade-hero { min-height: 0; gap: 34px; padding: 96px 0 64px; }
  .home-eyebrow { margin-bottom: 22px; font-size: .62rem; }
  .arcade-hero h1 { max-width: 100%; overflow-wrap: anywhere; word-break: break-all; font-size: clamp(2.25rem, 9.5vw, 3.5rem); line-height: 1.16; }
  .arcade-hero__lead { max-width: 22em; margin-top: 25px; font-size: .98rem; line-height: 1.8; }
  .arcade-hero__actions { align-items: stretch; flex-direction: column; margin-top: 30px; }
  .arcade-hero__visual { min-height: 94vw; margin-right: -16px; }
  .arcade-hero__visual-label { right: 22px; bottom: 22px; left: 22px; }
  .arcade-hero__visual-label strong { font-size: 2.3rem; }
  .home-primary-cta, .home-secondary-cta { width: 100%; min-height: 56px; }
  .arcade-trust-list { gap: 11px; }
  .arcade-trust-list li { font-size: .73rem; }
  .home-section { padding-block: 62px; }
  .home-section-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 30px; }
  .home-section-heading h2 { font-size: 2.55rem; }
  .arcade-game-grid, .arcade-quick-grid { grid-template-columns: 1fr; }
  .arcade-game-card:first-child { grid-column: auto; }
  .arcade-game-card__copy { min-height: 0; }
  .arcade-quick-grid a { min-height: 94px; }
  .arcade-updates a { min-height: 0; grid-template-columns: 86px 74px minmax(0, 1fr); gap: 8px; padding: 14px 0; }
  .arcade-updates a .ph { display: none; }
  .arcade-updates strong { font-size: .88rem; }
  .arcade-support { padding: 48px 0; }
  .arcade-support__links { display: grid; width: 100%; grid-template-columns: 1fr; }
  .arcade-footer__bottom { flex-wrap: wrap; padding: 18px 0; }
  .arcade-footer__nav { order: 4; width: 100%; margin: 0; gap: 13px; }
  .arcade-footer__bottom small { margin-left: auto; }
  .arcade-mobile-actions { position: fixed; z-index: 40; right: 0; bottom: 0; left: 0; display: grid; min-height: 68px; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--home-rule); background: rgba(245,242,235,.97); backdrop-filter: blur(14px); }
  .arcade-mobile-actions :is(a,button) { display: flex; min-width: 48px; min-height: 48px; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: transparent; color: var(--home-ink); font-size: .64rem; font-weight: 700; text-decoration: none; }
  .arcade-mobile-actions .ph { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* Exhibition redesign: keep the editorial paper surface, make the real game playfield the hero. */
@media (min-width: 901px) {
  .arcade-hero {
    grid-template-columns: minmax(0, .79fr) minmax(560px, 1.21fr);
    min-height: 720px;
    gap: clamp(44px, 6vw, 106px);
    padding: clamp(118px, 10vw, 164px) 0 116px;
  }
  .arcade-hero__copy { align-self: center; max-width: 548px; }
  .arcade-hero h1 { font-size: clamp(4.2rem, 5.35vw, 6.8rem); line-height: 1.02; letter-spacing: -.075em; }
  .arcade-hero h1 span { display: block; padding-left: .15em; color: var(--home-accent); }
  .arcade-hero__lead { max-width: 25em; margin-top: 32px; font-size: clamp(1rem, 1.28vw, 1.16rem); }
  .arcade-hero__actions { margin-top: 34px; }
  .arcade-hero__visual { min-height: 530px; align-self: center; box-shadow: 22px 22px 0 #c7d1dc, 0 0 0 1px #111822; }
  .arcade-hero__visual::before { position: absolute; z-index: 2; top: 21px; left: 24px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.55); color: #fff; content: "PLAYFIELD / 01"; font-size: .6rem; font-weight: 800; letter-spacing: .16em; }
  .arcade-hero__visual-label { right: 0; bottom: 0; left: auto; width: min(74%, 420px); max-width: none; padding: 26px 30px; background: #111822; }
  .arcade-hero__visual-label strong { font-size: clamp(2.25rem, 3vw, 3.7rem); }
  .arcade-trust-list { border-top: 1px solid var(--home-rule); padding-top: 18px; }
  .arcade-game-grid { grid-template-columns: 1.14fr .93fr .93fr; }
  .arcade-game-card:first-child .arcade-game-card__copy { padding: 32px; }
  .arcade-game-card:first-child h3 { font-size: 2.2rem; }
}

@media (max-width: 900px) {
  .arcade-hero__visual { box-shadow: 14px 14px 0 #c7d1dc; }
  .arcade-hero__visual::before { position: absolute; z-index: 2; top: 15px; left: 16px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.55); color: #fff; content: "PLAYFIELD / 01"; font-size: .55rem; font-weight: 800; letter-spacing: .14em; }
}

@media (max-width: 640px) {
  .arcade-hero { gap: 38px; }
  .arcade-hero h1 span { display: block; padding-left: .08em; color: var(--home-accent); }
  .arcade-hero__visual { min-height: 102vw; margin-right: 0; }
  .arcade-hero__visual-label { right: 0; bottom: 0; left: 18px; max-width: none; padding: 17px; }
  .arcade-hero__visual-label small { font-size: .58rem; }
  .arcade-hero__visual-label strong { font-size: 2.15rem; }
}
