:root {
  color-scheme: light;
  --paper: #f2f3ec;
  --white: #fffefa;
  --ink: #20251f;
  --muted: #666c62;
  --line: #cbd0c3;
  --red: #e4543b;
  --blue: #2848c7;
  --lime: #d8e96c;
  --content: 1240px;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.8; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--red); }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
::selection { color: var(--ink); background: var(--lime); }
.section-wrap { width: min(var(--content), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: 8px; left: 8px; padding: 8px 12px; transform: translateY(-150%); background: var(--ink); color: var(--white); }
.skip-link:focus { transform: translateY(0); }

.site-header { min-height: 76px; width: min(1360px, calc(100% - 64px)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 700 20px/1 Georgia, "Times New Roman", serif; text-decoration: none; white-space: nowrap; }
.wordmark__mark { display: grid; width: 32px; aspect-ratio: 1; place-items: center; background: var(--red); color: var(--white); font: 700 18px/1 Georgia, serif; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 4vw, 52px); font-size: 13px; font-weight: 700; }
.main-nav a { text-decoration: none; }
.main-nav a span { color: var(--red); }

.hero { min-height: 660px; display: grid; grid-template-columns: minmax(290px, .78fr) minmax(0, 1.22fr); align-items: center; gap: clamp(28px, 5vw, 72px); padding-block: 62px 78px; }
.hero__copy { max-width: 455px; animation: arrive .7s ease-out both; }
.eyebrow { margin: 0 0 16px; color: var(--muted); font: 700 11px/1.5 Arial, sans-serif; letter-spacing: .12em; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 24px; font-size: clamp(38px, 4.5vw, 62px); line-height: 1.28; letter-spacing: 0; }
.hero__lead { max-width: 420px; margin-bottom: 28px; color: #4f554d; font-size: 15px; }
.hero__links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-block: 4px; border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link span { color: var(--red); }
.hero-feature { min-width: 0; animation: arrive .8s .08s ease-out both; }
.hero-feature__link { position: relative; display: block; overflow: hidden; background: #26374b; color: var(--white); text-decoration: none; }
.hero-feature__image { width: 100%; aspect-ratio: 1.08; object-fit: cover; transition: transform .5s ease; }
.hero-feature__link:hover { color: var(--white); }
.hero-feature__link:hover .hero-feature__image { transform: scale(1.025); }
.hero-feature__stamp { position: absolute; top: 18px; right: 18px; padding: 8px 10px; background: var(--lime); color: var(--ink); font: 700 9px/1.4 Arial, sans-serif; letter-spacing: .12em; }
.hero-feature__caption { position: absolute; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 14px; padding: 54px 22px 20px; background: linear-gradient(transparent, rgb(12 20 27 / 78%)); }
.hero-feature__caption > span:first-child { grid-column: 1 / -1; font: 700 10px/1.4 Arial, sans-serif; letter-spacing: .12em; }
.hero-feature__caption strong { font-size: 25px; }
.hero-feature__caption > span:last-child { color: var(--lime); font-size: 22px; }

.products { padding-block: 70px 112px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.section-heading h2, .studio h2, .contact h2 { margin: 0; font-size: 34px; line-height: 1.4; }
.section-heading > p { margin: 0 2vw 4px 0; color: var(--muted); font-size: 14px; }
.product-list--game { display: grid; gap: 92px; margin-bottom: 92px; }
.product--game:nth-child(even) { grid-template-columns: minmax(280px, .87fr) minmax(0, 1.13fr); }
.product--game:nth-child(even) .product__visual { order: 1; }
.product--game { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(280px, .87fr); align-items: center; gap: clamp(32px, 6vw, 82px); }
.product__visual { position: relative; display: block; overflow: hidden; text-decoration: none; }
.product__visual img { width: 100%; }
.product__visual--game { background: #30414a; }
.product__image { aspect-ratio: 1.38; object-fit: cover; transition: transform .45s ease; }
.product__visual:hover .product__image, .product__visual:hover .product__links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.button-link { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 700; text-decoration: none; }
.button-link:hover { background: var(--red); color: var(--white); }
.product__screen { transform: scale(1.02); }
.product__copy { max-width: 480px; }
.product__copy .eyebrow { margin-bottom: 9px; }
.product__roman { margin-bottom: 4px; color: var(--muted); font: 700 10px/1.5 Arial, sans-serif; letter-spacing: .1em; }
.product__copy h3 { margin: 0 0 8px; font-size: 30px; line-height: 1.4; }
.product__tagline { margin-bottom: 14px; font-weight: 700; }
.product__copy > p:not(.eyebrow):not(.product__roman):not(.product__tagline) { margin-bottom: 20px; color: #54594f; font-size: 14px; }
.product-list--software { padding-top: 60px; border-top: 1px solid var(--line); }
.product--software { display: grid; grid-template-columns: minmax(270px, .74fr) minmax(0, 1.26fr); align-items: center; gap: clamp(36px, 8vw, 110px); }
.product__visual--software { padding: 22px; background: #e0e3d8; }
.product__screen { aspect-ratio: 1.58; object-fit: cover; box-shadow: 0 12px 30px rgb(32 37 31 / 13%); transition: transform .45s ease; }

.studio { padding-block: 66px 84px; border-top: 1px solid var(--line); }
.studio__body { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: start; }
.studio__body > div { max-width: 480px; padding-top: 7px; }
.studio__body > div > p:first-child { font-size: 16px; }
.contact { background: var(--red); color: var(--white); }
.contact__inner { min-height: 250px; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 48px; }
.contact .eyebrow { color: rgb(255 255 255 / 78%); }
.contact h2 { margin-bottom: 8px; font-size: 30px; }
.contact__inner > div > p:last-child { margin: 0; color: rgb(255 255 255 / 88%); font-size: 13px; }
.contact__email { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid rgb(255 255 255 / 80%); font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.contact__email:hover { color: var(--lime); }
.site-footer { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; }
.wordmark--footer { font-size: 16px; }
.wordmark--footer .wordmark__mark { width: 26px; font-size: 15px; }
.site-footer > p { margin: 0 auto 0 0; color: var(--muted); font-size: 12px; }
.site-footer > a:not(.wordmark) { font-size: 11px; }
.site-footer small { color: var(--muted); font: 11px Arial, sans-serif; white-space: nowrap; }

.detail-main { min-height: 65vh; padding-block: 30px 100px; }
.back-link { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 34px; color: var(--muted); font-size: 12px; text-decoration: none; }
.detail__heading { max-width: 760px; margin-bottom: 36px; }
.detail__heading .eyebrow { margin-bottom: 10px; }
.detail__heading h1, .legal-main h1 { margin: 0 0 8px; font-size: clamp(38px, 6vw, 64px); line-height: 1.3; }
.detail__tagline { margin-bottom: 20px; font-size: 18px; font-weight: 700; }
.detail__visual { margin: 0; background: #e1e4d9; }
.detail__visual img { width: 100%; max-height: 680px; aspect-ratio: 1.65; object-fit: cover; }
.detail__intro, .detail-problem, .detail-features { max-width: 760px; margin: 74px 0 0; }
.detail__intro h2, .detail-problem h2, .detail-features h2 { margin-bottom: 12px; font-size: 26px; }
.detail__intro > p:last-child, .detail-problem > p:last-child { max-width: 680px; color: #50564c; }
.fact-list { max-width: 760px; margin: 48px 0 0; border-top: 1px solid var(--line); }
.fact-list > div { display: grid; grid-template-columns: minmax(145px, .4fr) 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fact-list dt { color: var(--muted); font-size: 13px; }
.fact-list dd { margin: 0; font-size: 14px; font-weight: 700; }
.detail-features ul { margin: 0; padding-left: 1.2em; }
.detail-features li { padding: 5px 0; }
.detail__visual--sub { margin-top: 48px; }
.detail__cta { margin: 46px 0 0; }
.detail__contact { margin: 46px 0 0; font-size: 14px; }
.detail__contact a { font-weight: 700; }
.not-found { min-height: 380px; padding-block: 50px; }
.not-found h1 { font-size: 36px; }
.loading-note, .no-script { padding: 30px; background: var(--white); }

.legal-main { min-height: 65vh; padding-block: 30px 100px; }
.legal-main > .eyebrow { margin-bottom: 8px; }
.legal-main h1 { margin-bottom: 24px; font-size: 42px; }
.legal-copy { max-width: 820px; }
.legal-copy h2 { margin: 36px 0 8px; font-size: 20px; }
.legal-copy p { margin-bottom: 0; color: #50564c; font-size: 14px; }
.legal-copy a { font-weight: 700; }

@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 820px) {
  .section-wrap, .site-header { width: min(100% - 40px, var(--content)); }
  .hero { min-height: auto; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; padding-block: 52px 64px; }
  .hero h1 { font-size: clamp(36px, 6vw, 50px); }
  .hero-feature__image { aspect-ratio: .9; }
  .hero-feature__caption { padding-inline: 14px; }
  .hero-feature__caption strong { font-size: 20px; }
  .product--game { gap: 34px; }
  .product--software { gap: 38px; }
  .site-footer { flex-wrap: wrap; padding-block: 20px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 16px; }
  body { font-size: 15px; }
  .section-wrap, .site-header { width: calc(100% - 36px); }
  .site-header { min-height: 68px; flex-wrap: wrap; gap: 12px; padding-block: 14px; }
  .wordmark { font-size: 18px; }
  .main-nav { width: 100%; justify-content: space-between; gap: 10px; font-size: 12px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 34px; padding-block: 42px 54px; }
  .hero__copy { max-width: none; }
  .hero h1 { margin-bottom: 16px; font-size: 42px; }
  .hero__lead { margin-bottom: 20px; font-size: 14px; }
  .hero-feature__image { aspect-ratio: 1.05; }
  .hero-feature__stamp { top: 12px; right: 12px; }
  .products { padding-block: 52px 72px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading h2, .studio h2 { font-size: 29px; }
  .section-heading > p { margin-top: 14px; font-size: 13px; }
  .product-list--game { margin-bottom: 58px; }
  .product-list--game { gap: 58px; }
  .product--game, .product--game:nth-child(even), .product--software { grid-template-columns: 1fr; gap: 24px; }
  .product--game .product__visual, .product--game:nth-child(even) .product__visual { order: 0; }
  .product--game .product__copy { order: 1; }
  .product__image { aspect-ratio: 1.15; }
  .product__copy h3 { font-size: 26px; }
  .product__copy > p:not(.eyebrow):not(.product__roman):not(.product__tagline) { font-size: 13px; }
  .product-list--software { padding-top: 42px; }
  .product--software .product__copy { order: 0; }
  .product--software .product__visual { order: 1; padding: 12px; }
  .studio { padding-block: 48px 58px; }
  .studio__body { grid-template-columns: 1fr; gap: 18px; }
  .studio__body > div { padding: 0; }
  .contact__inner { min-height: auto; display: block; padding-block: 42px; }
  .contact h2 { font-size: 26px; }
  .contact__email { max-width: 100%; margin-top: 24px; font-size: 14px; white-space: normal; overflow-wrap: anywhere; }
  .site-footer { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding-block: 22px; }
  .site-footer > p { grid-column: 1 / -1; grid-row: 2; }
  .site-footer > a:not(.wordmark) { grid-column: 1 / -1; }
  .site-footer small { grid-column: 2; grid-row: 1; }
  .detail-main, .legal-main { padding-block: 24px 64px; }
  .back-link { margin-bottom: 26px; }
  .detail__heading h1 { font-size: 42px; }
  .detail__tagline { font-size: 16px; }
  .detail__visual img { aspect-ratio: 1.05; }
  .detail__intro, .detail-problem, .detail-features { margin-top: 46px; }
  .detail__intro h2, .detail-problem h2, .detail-features h2 { font-size: 22px; }
  .fact-list { margin-top: 34px; }
  .fact-list > div { grid-template-columns: 1fr; gap: 1px; }
  .legal-main h1 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}