/* ゲームの紹介ページ（/games/<id>/）。共通デザイン（2026-11-11〜）：6色パレット・もちっとポップ。 */
:root{
  --butter:#F2D98F;--lavender:#B4A0DD;--mint:#9ACDC3;--pink:#E8A6A6;--ivory:#F8F3EA;--charcoal:#47404A;
  --butter-soft:#F5E6B9;--lavender-soft:#E3DAEF;--mint-soft:#D4E8E0;--charcoal-soft:#6E6670;--pink-deep:#C98C8E;
  color-scheme:light;
}
html{font-synthesis:none;-webkit-text-size-adjust:100%}
*{box-sizing:border-box}
body.sg{margin:0;background:#F1ECE4;color:var(--charcoal);font:15px/1.9 'Mochiy Pop One','Hiragino Maru Gothic ProN','Hiragino Sans',sans-serif;overflow-wrap:anywhere}
.sg a{color:inherit}
.sg img{max-width:100%;height:auto;display:block}
.sg-header,.sg-main,.sg-footer{max-width:760px;margin:0 auto;padding:0 16px}
.sg-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:14px;padding-bottom:6px}
.sg-brand{font-size:15px;letter-spacing:.06em;text-decoration:none;white-space:nowrap}
.sg-header nav{display:flex;gap:14px;font-size:13px}
.sg-header nav a{text-decoration:none;padding:6px 2px}
.sg-crumb{font-size:12px;margin:8px 0 0}
.sg-crumb a{text-decoration:none}
.sg-crumb a:hover,.sg-header nav a:hover{text-decoration:underline}
.sg-hero{background:var(--butter-soft);border-radius:22px;padding:18px 16px 20px;margin:12px 0 22px;box-shadow:0 6px 0 var(--butter)}
.sg h1{font-size:clamp(22px,6.4vw,32px);line-height:1.35;margin:0 0 6px;font-weight:400}
.sg-lead{margin:0 0 14px;font-size:14px;line-height:1.8}
.sg-shot{display:block;border-radius:16px;overflow:hidden;background:var(--ivory);max-width:420px;margin:0 auto}
.sg-facts{display:flex;flex-wrap:wrap;gap:6px 8px;margin:14px 0 4px;font-size:12px;line-height:1.5}
.sg-facts span{background:var(--ivory);border-radius:999px;padding:4px 10px}
.sg-play{display:inline-block;margin-top:12px;background:var(--pink);color:var(--charcoal);text-decoration:none;font-size:17px;line-height:1.4;padding:12px 26px 11px;border-radius:16px;box-shadow:0 6px 0 var(--pink-deep);transition:transform .08s,box-shadow .08s}
.sg-play:active{transform:translateY(5px);box-shadow:0 1px 0 var(--pink-deep)}
.sg-section{background:var(--ivory);border-radius:20px;padding:4px 18px 10px;margin:0 0 16px;box-shadow:0 5px 0 var(--lavender-soft)}
.sg-section:nth-of-type(2n){box-shadow:0 5px 0 var(--mint-soft)}
.sg-section h2{font-size:18px;font-weight:400;margin:14px 0 4px;display:flex;align-items:center;gap:8px}
.sg-section h2::before{content:'';width:12px;height:12px;border-radius:4px;background:var(--lavender);flex:none}
.sg-section:nth-of-type(2n) h2::before{background:var(--mint)}
.sg-section p{margin:8px 0}
.sg-section ul{margin:8px 0;padding-left:1.3em}
.sg-section li{margin:4px 0}
.sg-section li::marker{color:var(--lavender)}
.sg-section figure{margin:12px 0}
.sg-section figure img{border-radius:14px;max-height:560px;width:auto;margin:0 auto}
.sg-section figcaption{font-size:12px;text-align:center;margin-top:4px}
.sg-section a{text-decoration:underline}
.sg-again{text-align:center;margin:22px 0 30px}
.sg-others h2{font-size:17px;font-weight:400;margin:0 0 10px}
.sg-others ul{list-style:none;margin:0 0 28px;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px}
.sg-others a{display:block;text-decoration:none;font-size:13px;line-height:1.5}
.sg-others img{border-radius:14px;margin-bottom:6px;background:var(--mint-soft)}
.sg-others a:hover span{text-decoration:underline}
.sg-footer{padding-top:18px;padding-bottom:28px;font-size:12px}
.sg-footer nav{display:flex;flex-wrap:wrap;gap:6px 16px}
.sg-footer nav a{text-decoration:none;padding:4px 0}
.sg-footer nav a:hover{text-decoration:underline}
.sg-footer p{margin:10px 0 0}
.sg-page h1{margin:18px 0 10px}
@media (prefers-reduced-motion:reduce){.sg-play{transition:none}}
