:root {
  color-scheme: light;
  --paper: #f4f5ff;
  --ink: #171b3b;
  --muted: #525a75;
  --purple: #573bf2;
  --blue: #1763ee;
  --lime: #d9fc50;
  --line: #171b3b;
  font-family:
    "Arial", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background-image: radial-gradient(#dce0f1 1px, transparent 1px);
  background-size: 20px 20px;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
p {
  line-height: 1.85;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 6px;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.site-header,
main,
footer {
  max-width: 1240px;
  margin: auto;
  padding-inline: 44px;
}
.site-header {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--ink);
}
.logo {
  display: flex;
  align-items: center;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -1.5px;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 9px;
  background: var(--purple);
  color: white;
  font-size: 34px;
  line-height: 1;
  margin-right: 10px;
  padding-bottom: 6px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-7deg);
}
.logo-dot {
  color: var(--purple);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 800;
}
.languages {
  display: flex;
  border: 2px solid var(--ink);
  padding: 4px;
  border-radius: 10px;
  gap: 3px;
  background: white;
}
.languages a {
  padding: 8px 12px;
  border-radius: 5px;
}
.languages a[aria-current] {
  background: var(--ink);
  color: white;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 60px 0 66px;
  gap: 42px;
}
.hero-copy {
  min-width: 0;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 900;
  line-height: 1.6;
  margin-bottom: 17px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--lime);
  border: 2px solid var(--ink);
  padding: 7px 12px;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-2deg);
}
.hero h1 {
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.4;
  letter-spacing: -0.05em;
  font-weight: 900;
  margin: 7px 0 20px;
}
.hero h1 span {
  color: var(--purple);
}
.hero-lead {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 50px;
  padding: 13px 21px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}
.button:hover {
  background: #e7ff86;
  text-decoration: none;
  transform: translate(-1px, -2px);
  box-shadow: 4px 5px 0 var(--ink);
}
.button:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}
.button.primary {
  background: var(--purple);
  color: white;
  margin-top: 8px;
  min-height: 54px;
}
.button.primary:hover {
  background: #4528d5;
}
.button span {
  font-size: 22px;
  line-height: 1;
}
.hero-feature {
  display: block;
  min-width: 0;
  background: var(--blue);
  border: 3px solid var(--ink);
  border-radius: 15px;
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(2deg);
  transition: transform 0.2s;
}
.hero-feature:hover {
  text-decoration: none;
  transform: rotate(0deg) translateY(-3px);
}
.feature-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 20px;
  color: white;
}
.feature-bar > span:first-child {
  font-size: 28px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.04em;
}
.feature-bar > span:last-child {
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 800;
}
.feature-bar > span:last-child > span {
  margin-left: 8px;
  font-size: 21px;
}
.hero-image {
  position: relative;
  border-block: 3px solid var(--ink);
  background: #d4e9ff;
}
.feature-sticker {
  position: absolute;
  bottom: 16px;
  right: 18px;
  display: grid;
  place-content: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--lime);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  transform: rotate(-12deg);
}
.feature-caption {
  padding: 16px 20px 19px;
  color: white;
}
.feature-caption strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
}
.feature-caption > span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.06em;
  margin-top: 6px;
  font-weight: 700;
}
.collection {
  scroll-margin-top: 28px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.section-heading .eyebrow {
  margin-bottom: 9px;
  color: var(--purple);
}
.section-heading h2 {
  font-size: 29px;
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.04em;
}
.count {
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: white;
  padding: 7px 11px;
}
.game-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.game-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: white;
  border: 3px solid var(--ink);
  border-radius: 13px;
  box-shadow: 5px 5px 0 var(--ink);
  overflow: hidden;
}
.game-art {
  position: relative;
  overflow: hidden;
  background: #e9ffc2;
}
.driving .game-art {
  background: #d4e9ff;
}
.art-link {
  display: block;
  border-bottom: 3px solid var(--ink);
}
.art-link:hover img {
  transform: scale(1.035);
}
.game-art img {
  transition: transform 0.25s;
}
.art-brand {
  position: absolute;
  left: 20px;
  top: 18px;
  padding: 6px 12px;
  background: var(--lime);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 5px;
  font-size: 16px;
  letter-spacing: 0.12em;
  font-weight: 900;
  z-index: 1;
  transform: rotate(-3deg);
}
.driving .art-brand {
  background: var(--blue);
  color: white;
  font-style: italic;
  font-size: 23px;
  letter-spacing: 0.06em;
}
.art-caption {
  position: absolute;
  bottom: 11px;
  right: 12px;
  font-size: 9px;
  color: var(--ink);
  background: #fffffff0;
  border-radius: 4px;
  padding: 3px 6px;
}
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px;
}
.card-body .eyebrow {
  font-size: 11px;
  margin-bottom: 11px;
  color: var(--purple);
}
.driving .card-body .eyebrow {
  color: var(--blue);
}
.card-body h3 {
  font-size: 25px;
  letter-spacing: -0.04em;
  font-weight: 900;
  margin-bottom: 13px;
}
.card-description {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
.tags {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: auto 0 24px;
}
.tags li {
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #d4d8e8;
  border-radius: 5px;
  padding: 5px 9px;
  background: #f0f2ff;
}
.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 2px solid #e2e5f0;
  padding-top: 21px;
}
.text-link {
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.about-strip {
  margin: 58px 0 52px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--lime);
  padding: 28px 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 5px 5px 0 var(--ink);
}
.about-icon {
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 2px solid var(--ink);
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  font-size: 26px;
  background: white;
  transform: rotate(-6deg);
}
.about-strip h2 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 9px;
}
.about-strip p {
  font-size: 14px;
  margin: 0;
}
.little-star {
  margin-left: auto;
  font-size: 60px;
  color: var(--purple);
}
footer {
  display: flex;
  align-items: center;
  gap: 23px;
  padding-bottom: 30px;
  font-size: 12px;
  color: var(--muted);
}
.footer-logo {
  font-size: 26px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -1px;
}
footer p {
  margin: 0;
}
footer > span {
  margin-left: auto;
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -90px;
  z-index: 10;
  padding: 12px;
  background: var(--ink);
  color: white;
}
.skip-link:focus {
  top: 15px;
}
.back-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 750;
  margin: 27px 0;
}
.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 22px 0 52px;
}
.detail-hero > div {
  min-width: 0;
}
.detail-hero h1 {
  font-size: clamp(29px, 3.2vw, 43px);
  line-height: 1.35;
  letter-spacing: -0.04em;
  font-weight: 900;
  margin-bottom: 17px;
}
.detail-hero .eyebrow {
  color: var(--purple);
}
.detail-hero .game-art {
  border: 3px solid var(--ink);
  border-radius: 13px;
  box-shadow: 6px 6px 0 var(--ink);
}
.tagline {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 12px;
}
.detail-lead,
.intro {
  font-size: 15px;
  color: var(--muted);
}
.detail-section {
  padding: 39px 0;
  border-top: 3px solid var(--ink);
}
.detail-section > .eyebrow {
  color: var(--purple);
}
.detail-section h2,
.play-guide h2,
.related h2 {
  font-size: 28px;
  font-weight: 900;
}
.intro {
  max-width: 800px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
  margin-top: 29px;
}
.features article {
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: white;
  padding: 23px 20px;
}
.feature-number {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--lime);
  font-size: 16px;
  font-weight: 900;
}
.features article:nth-child(2) .feature-number {
  background: #d7e6ff;
}
.features article:nth-child(3) .feature-number {
  background: #e2dcff;
}
.features h3 {
  font-size: 19px;
  margin: 18px 0 12px;
}
.features p,
.play-guide p,
.play-guide li {
  font-size: 14px;
  color: var(--muted);
}
.features p {
  margin-bottom: 0;
}
.play-guide {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding: 32px;
  background: #e8e2ff;
  border: 3px solid var(--ink);
  border-radius: 12px;
  margin: 5px 0 48px;
}
.play-guide ol {
  padding-left: 23px;
  margin-bottom: 0;
}
.play-guide li {
  padding-left: 8px;
  line-height: 1.85;
  margin-top: 13px;
}
.play-guide li::marker {
  color: var(--purple);
  font-weight: 900;
}
.play-guide aside {
  padding-left: 28px;
  border-left: 2px solid #c5bbee;
}
.play-guide h3 {
  font-size: 18px;
}
.related {
  margin-bottom: 55px;
}
.compact {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  max-width: 900px;
}
.compact .art-link {
  display: flex;
  align-items: center;
  border-bottom: 0;
  border-right: 3px solid var(--ink);
  background: #e9ffc2;
}
.compact.driving .art-link {
  background: #d4e9ff;
}
.compact .tags {
  display: none;
}
.compact .card-actions {
  margin-top: auto;
}
.error-page {
  min-height: 65vh;
  padding-block: 100px;
}
.error-page h1 {
  font-size: 38px;
}
@media (max-width: 950px) {
  .site-header,
  main,
  footer {
    padding-inline: 28px;
  }
  .hero {
    gap: 25px;
    padding-block: 45px 55px;
  }
  .hero h1 {
    font-size: 37px;
  }
  .hero-lead {
    font-size: 14px;
  }
  .feature-caption strong {
    font-size: 16px;
  }
  .card-body {
    padding: 22px;
  }
  .card-body h3 {
    font-size: 22px;
  }
  .card-actions .button {
    gap: 16px;
    padding-inline: 15px;
  }
  .detail-hero {
    gap: 26px;
  }
  .features {
    gap: 16px;
  }
  .features article {
    padding: 20px 16px;
  }
  .play-guide {
    gap: 26px;
    padding: 26px;
  }
}
@media (max-width: 700px) {
  .site-header,
  main,
  footer {
    padding-inline: 20px;
  }
  .site-header {
    height: 82px;
  }
  .logo {
    font-size: 29px;
  }
  .logo-mark {
    width: 31px;
    height: 31px;
    font-size: 30px;
  }
  .header-right {
    gap: 16px;
  }
  .languages a {
    font-size: 12px;
    padding: 7px 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 35px 0 46px;
    gap: 30px;
  }
  .hero h1 {
    font-size: clamp(33px, 7.4vw, 48px);
    line-height: 1.4;
    margin-bottom: 15px;
  }
  .hero-lead {
    font-size: 14px;
  }
  .hero-lead br {
    display: none;
  }
  .hero-feature {
    transform: none;
    box-shadow: 5px 5px 0 var(--ink);
    width: 100%;
    max-width: 500px;
    justify-self: center;
  }
  .feature-bar {
    padding: 10px 16px;
  }
  .feature-bar > span:first-child {
    font-size: 25px;
  }
  .feature-caption {
    padding: 13px 16px 15px;
  }
  .feature-caption strong {
    font-size: 17px;
  }
  .feature-sticker {
    width: 68px;
    height: 68px;
    font-size: 17px;
    bottom: 12px;
    right: 15px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 23px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .game-grid {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .card-body {
    padding: 24px;
  }
  .card-body h3 {
    font-size: 25px;
  }
  .card-actions {
    flex-wrap: wrap;
  }
  .card-actions .button {
    gap: 18px;
  }
  .about-strip {
    margin-block: 40px;
    padding: 24px 20px;
    gap: 15px;
  }
  .about-strip h2 {
    font-size: 20px;
    line-height: 1.5;
  }
  .about-strip p {
    font-size: 13px;
  }
  .about-icon {
    width: 42px;
    height: 42px;
    font-size: 19px;
  }
  .little-star {
    display: none;
  }
  footer {
    gap: 12px;
    flex-wrap: wrap;
  }
  footer p {
    font-size: 11px;
  }
  .detail-hero {
    grid-template-columns: 1fr;
    padding-top: 7px;
    padding-bottom: 36px;
    gap: 24px;
  }
  .detail-hero h1 {
    font-size: 34px;
  }
  .tagline {
    font-size: 19px;
  }
  .detail-section {
    padding-block: 30px;
  }
  .detail-section h2 {
    font-size: 25px;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .features article {
    padding: 22px;
  }
  .play-guide {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 23px 20px;
  }
  .play-guide aside {
    padding: 22px 0 0;
    border-left: 0;
    border-top: 2px solid #c5bbee;
  }
  .compact {
    grid-template-columns: 1fr;
  }
  .compact .art-link {
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }
  .back-link {
    margin-bottom: 15px;
  }
}
@media (max-width: 380px) {
  .site-header,
  main,
  footer {
    padding-inline: 16px;
  }
  .nav-games {
    display: none;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-badge {
    font-size: 11px;
  }
  .card-body {
    padding: 20px;
  }
  .card-body h3 {
    font-size: 23px;
  }
  .card-actions .text-link {
    font-size: 12px;
  }
  .about-strip {
    padding: 22px 16px;
  }
  .about-icon {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.hero-game-types {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
  margin-bottom: 12px;
}
.breadcrumbs {
  margin: 25px 0 14px;
  font-size: 13px;
  line-height: 1.8;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 0;
  margin: 0;
}
.breadcrumbs li + li::before {
  content: "/";
  color: var(--muted);
  margin-right: 12px;
}
.breadcrumbs a {
  font-weight: 800;
}
.breadcrumbs [aria-current] {
  color: var(--muted);
}
.common-questions {
  margin: 0 0 48px;
}
.common-questions h2 {
  font-size: 28px;
  font-weight: 900;
}
.common-questions details {
  background: white;
  border: 2px solid var(--ink);
  border-radius: 9px;
  margin-top: 13px;
  padding: 18px 22px;
}
.common-questions summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
}
.common-questions summary:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 5px;
}
.common-questions details p {
  font-size: 14px;
  color: var(--muted);
  margin: 15px 0 0;
}
