:root {
  --bg: #fff6ec;
  --text: #2a1f1c;
  --link: #b04a32;
  --coral: #e58b70;
  --coral-deep: #d5755c;
  --sakura: #fab2a8;
  --ink: #121014;
  --muted: #6e5a52;
  --card: #ffffff;
  --line: #f1dccb;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", "M PLUS Rounded 1c", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  line-height: 1.8;
}
a { color: var(--link); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-head { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-head .wrap { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); line-height: 1.3; }
.site-head nav { margin-left: auto; display: flex; gap: 16px; font-size: 14px; }
.site-head nav a { text-decoration: none; }

/* hero */
.hero { padding: 40px 0 24px; text-align: center; }
.hero h1 { font-size: clamp(22px, 5vw, 34px); line-height: 1.4; margin: 0 0 12px; }
.hero p { margin: 0 auto; max-width: 640px; }
.hero .en { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* game cards */
.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; padding: 16px 0 48px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 63 / 50; object-fit: cover; width: 100%; }
.card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h2 { margin: 0; font-size: 20px; }
.card p { margin: 0; }
.card .en { color: var(--muted); font-size: 13px; }
.card .actions { margin-top: auto; display: flex; gap: 12px; align-items: center; padding-top: 8px; }

.btn { display: inline-block; background: var(--coral-deep); color: #fff; text-decoration: none; font-weight: 700; padding: 10px 22px; border-radius: 999px; }
.btn:hover { background: var(--link); }
.btn.big { font-size: 18px; padding: 14px 32px; }

/* game page */
.game-head { padding: 32px 0 8px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.game-head img { border-radius: 16px; border: 1px solid var(--line); }
.game-head h1 { margin: 0 0 8px; font-size: clamp(24px, 4.5vw, 34px); line-height: 1.3; }
.game-head .lead { font-size: 17px; }
.game-head .note { font-size: 13px; color: var(--muted); margin-top: 8px; }
@media (max-width: 720px) { .game-head { grid-template-columns: 1fr; } }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.shots img { border-radius: 12px; border: 1px solid var(--line); }
.prose { max-width: 720px; padding-bottom: 32px; }
.prose h2 { font-size: 19px; margin: 32px 0 8px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.prose .en { color: var(--muted); }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 14px; color: var(--muted); }
.site-foot .links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 8px; }
.site-head nav a { white-space: nowrap; }
@media (max-width: 480px) {
  .brand small { display: none; }
  .site-head nav { gap: 12px; font-size: 13px; }
}
