:root {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1a1a1a;
  background: #fff;
  --ink: #1a1a1a;
  --muted: #626264;
  --line: #d9d9d9;
  --blue: #0017c1;
  --blue-dark: #000082;
  --blue-pale: #e8f1ff;
  --coral: #c74738;
  --coral-dark: #8f271d;
  --coral-pale: #fff0ed;
  --yellow: #ffd43b;
  --surface: #fff;
  --accent: var(--blue);
  --accent-dark: var(--blue-dark);
  --accent-pale: var(--blue-pale);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100svh; background: var(--surface); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body[data-track="japan-export"] { --accent: var(--coral); --accent-dark: var(--coral-dark); --accent-pale: var(--coral-pale); }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--blue-dark); text-decoration-thickness: .14em; }
.wrap { width: min(1080px, calc(100% - 48px)); margin: auto; }
.mast { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 72px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 17px; font-weight: 700; line-height: 1; text-decoration: none; }
.brand svg { width: 40px; height: 38px; overflow: visible; }
.brand:hover { color: var(--ink); text-decoration: underline; }
.lang { display: flex; align-items: center; gap: 8px; }
.lang a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.lang a[aria-current="page"] { border-color: var(--accent); background: var(--accent); color: #fff; }
.lang a:hover { border-color: var(--accent); background: var(--accent-pale); color: var(--accent-dark); }
.lang a[aria-current="page"]:hover { background: var(--accent-dark); color: #fff; }
.mast a:focus-visible, .play:focus-visible, .series a:focus-visible { outline: 4px solid var(--yellow); outline-offset: 4px; }
.hero { padding: 40px 0 32px; border-bottom: 1px solid var(--line); }
.kicker { display: inline-flex; margin-bottom: 12px; padding: 4px 12px; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); font-size: 14px; font-weight: 700; line-height: 1.4; letter-spacing: .02em; }
h1 { max-width: 760px; margin: 0; font-size: clamp(40px, 5.2vw, 58px); font-weight: 700; line-height: 1.1; letter-spacing: 0; }
.lead { max-width: 700px; margin: 12px 0 0; color: #383838; line-height: 1.6; }
.catalog-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 28px 0 16px; }
.catalog-head h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.4; }
.catalog-head p { max-width: 470px; margin: 0; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-bottom: 56px; }
.grid:has(.card:only-child) { grid-template-columns: minmax(0, 680px); }
.card { position: relative; display: flex; min-height: 330px; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, var(--accent-pale), #fff 42%); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--accent); }
.meta { margin: 0 0 20px; color: var(--accent); font-size: 14px; font-weight: 700; line-height: 1.5; letter-spacing: .02em; }
.card h2 { margin: 0; font-size: clamp(28px, 4vw, 40px); line-height: 1.25; letter-spacing: 0; }
.card p:not(.meta) { margin: 16px 0 0; color: #383838; line-height: 1.7; }
.news-summary { margin-top: 18px; padding: 14px 16px; border-left: 4px solid var(--accent); background: rgba(255, 255, 255, .78); }
.news-summary b { color: var(--accent); font-size: 13px; line-height: 1.4; letter-spacing: .04em; }
.card .news-summary p { margin: 4px 0 0; line-height: 1.6; }
.card .game-hook { margin-top: 12px; font-size: 15px; font-weight: 700; line-height: 1.6; }
.play { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; gap: 9px; min-height: 50px; margin-top: auto; padding: 10px 20px; border: 2px solid var(--accent); border-radius: 8px; background: var(--accent); color: #fff; font-weight: 700; line-height: 1; text-decoration: none; }
.play::before { content: ""; width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid currentColor; }
.play:hover { border-color: var(--accent-dark); background: var(--accent-dark); color: #fff; text-decoration: none; }
.series { margin: 0 0 56px; padding: 22px 24px; border-left: 5px solid var(--accent); background: #f7f7f7; }
.series a { font-weight: 700; }
.foot { display: flex; justify-content: space-between; gap: 24px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.6; }
.foot p { margin: 0; }
.foot b { color: var(--ink); }

@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, 1080px); }
  .mast { align-items: center; }
  .brand span { display: none; }
  .hero { padding: 32px 0 24px; }
  h1 { font-size: 40px; }
  .catalog-head { padding-top: 24px; }
  .catalog-head p { margin-top: 8px; }
  .grid { grid-template-columns: 1fr; }
  .foot { display: block; }
  .foot p + p { margin-top: 8px; }
}

@media (max-width: 600px) {
  .hero { padding: 26px 0 20px; }
  .lead { margin-top: 10px; }
  .catalog-head { display: block; padding-top: 20px; }
}

@media (max-width: 420px) {
  h1 { font-size: 36px; }
  .lang a { min-height: 38px; padding-inline: 9px; }
  .card { min-height: 310px; padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
