/* サイト共通スタイルシート(スマホ優先) */
:root {
  --bg: #f5f6fa;
  --surface: #ffffff;
  --ink: #141a2e;
  --muted: #5b6478;
  --line: #e3e6ef;
  --brand: #4f46e5;
  --brand-ink: #4338ca;
  --brand-weak: #eef0ff;
  --accent: #f4511e;
  --accent-ink: #ffffff;
  --good: #0b8457;
  --good-bg: #ecfdf5;
  --bad: #c2410c;
  --bad-bg: #fff4ed;
  --star: #f59e0b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 26, 46, .06), 0 8px 24px rgba(20, 26, 46, .06);
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1220;
    --surface: #181c2e;
    --ink: #eef0f7;
    --muted: #a3abc2;
    --line: #2a3048;
    --brand: #8b8cff;
    --brand-ink: #a5a6ff;
    --brand-weak: #22264a;
    --good: #34d399;
    --good-bg: #0f2a22;
    --bad: #fb923c;
    --bad-bg: #2e1a12;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand-ink); }
h1, h2, h3 { line-height: 1.4; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 780px; }
main { display: block; padding-bottom: 56px; }

/* ---------- ヘッダー ---------- */
.prbar { margin: 0; padding: 4px 16px; background: #141a2e; color: #cfd4e6; font-size: 11px; text-align: center; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 10px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 800; font-size: 21px; letter-spacing: .02em; text-decoration: none; }
.logo span { color: var(--ink); }
.logo__mark { flex: none; }
.site-header__tag { margin: 0; color: var(--muted); font-size: 12px; display: none; }
.gnav { border-top: 1px solid var(--line); }
.gnav__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 6px; padding-bottom: 6px; }
.gnav__in::-webkit-scrollbar { display: none; }
.gnav a { flex: none; padding: 6px 12px; border-radius: 999px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.gnav a:hover { background: var(--brand-weak); color: var(--brand-ink); }
@media (min-width: 720px) { .site-header__tag { display: block; } }

/* ---------- 共通部品 ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.chip { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--brand-weak); color: var(--brand-ink); font-size: 12px; font-weight: 700; text-decoration: none; line-height: 1.7; }
.chip--plain { background: transparent; border: 1px solid var(--line); color: var(--muted); font-weight: 600; }
.chips--lg { gap: 10px; }
.chip--lg { padding: 8px 18px; font-size: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.chip--lg:hover { border-color: var(--brand); color: var(--brand-ink); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; line-height: 1.7; }
.badge--played { background: var(--good-bg); color: var(--good); }
.prtag { display: inline-block; margin-right: 6px; padding: 0 6px; border: 1px solid var(--muted); border-radius: 4px; font-size: 10px; font-weight: 700; line-height: 1.6; vertical-align: 1px; }
.sec-title { margin: 40px 0 16px; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.sec-title::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: linear-gradient(180deg, var(--brand), #ec4899); }
.page-title { margin: 8px 0 24px; font-size: 24px; }
.more { margin: 14px 0 0; text-align: right; font-weight: 700; font-size: 14px; }
.more a::after, .rank__more a::after { content: " ›"; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 22px; border-radius: 12px; font-weight: 800; font-size: 15px; line-height: 1.3; text-decoration: none; text-align: center; transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--main { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 16px rgba(244, 81, 30, .28); }
.btn--ios { background: #141a2e; color: #fff; }
.btn--android { background: #0b8457; color: #fff; }
@media (prefers-color-scheme: dark) { .btn--ios { background: #e9ebf5; color: #141a2e; } }

.appicon { flex: none; border-radius: 22%; box-shadow: 0 2px 8px rgba(20, 26, 46, .18); background: var(--line); object-fit: cover; }
.appicon--ph { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; font-weight: 800; font-size: 13px; }
.stars { margin: 2px 0 0; font-size: 14px; line-height: 1.5; }
.stars__icon { color: var(--star); margin-right: 2px; }
.stars__meta { margin-left: 6px; color: var(--muted); font-size: 12px; }

/* ---------- トップ ---------- */
.hero { background: radial-gradient(1200px 400px at 10% -10%, rgba(236, 72, 153, .16), transparent 60%), linear-gradient(135deg, #1e1b4b, #4338ca 60%, #6d28d9); color: #fff; padding: 44px 0 48px; }
.hero__eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; opacity: .85; }
.hero h1 { margin: 0 0 14px; font-size: clamp(28px, 6.4vw, 44px); letter-spacing: .01em; }
.hero__lead { margin: 0 0 24px; max-width: 34em; opacity: .92; font-size: 15px; }

.topranks { display: grid; gap: 10px; }
.toprank { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.toprank__body { display: flex; flex-direction: column; min-width: 0; line-height: 1.5; }
.toprank__body strong { font-size: 15px; }
.toprank__body span { color: var(--muted); font-size: 13px; }
@media (min-width: 860px) { .topranks { grid-template-columns: repeat(3, 1fr); } }

.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .14s ease; }
.card:hover { transform: translateY(-3px); }
.card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { margin: 0; font-size: 15.5px; line-height: 1.55; }
.card__date { margin: 0; color: var(--muted); font-size: 12px; }
.thumb { position: relative; display: flex; align-items: center; justify-content: flex-end; aspect-ratio: 16 / 7; padding: 0 18px; background: linear-gradient(135deg, var(--c1), var(--c2)); overflow: hidden; }
.thumb__mark { position: absolute; left: 16px; bottom: -6px; color: rgba(255, 255, 255, .26); font-weight: 900; font-size: clamp(40px, 12vw, 58px); line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.thumb .appicon { position: relative; box-shadow: 0 6px 18px rgba(0, 0, 0, .28); }
.aboutbox p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }

/* ---------- 記事 ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 16px 0 12px; color: var(--muted); font-size: 12px; }
.crumbs a { color: var(--muted); }
.crumbs span:last-child { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.post { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 18px 28px; }
@media (min-width: 720px) { .post { padding: 36px 44px 44px; } }
.post__head h1 { margin: 10px 0 12px; font-size: clamp(22px, 5.2vw, 30px); }
.post__meta { display: flex; flex-wrap: wrap; gap: 0 14px; margin: 0; color: var(--muted); font-size: 12.5px; }
.post__meta span { white-space: nowrap; }
.post__pr { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.post__about { margin: 32px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; line-height: 1.8; }

.prose { margin-top: 22px; }
.prose > p { margin: 0 0 1.2em; }
.prose h2 { margin: 2.4em 0 .9em; padding: 12px 16px; border-radius: 10px; background: var(--brand-weak); border-left: 6px solid var(--brand); font-size: 20px; scroll-margin-top: 12px; }
.prose h3 { margin: 2em 0 .7em; padding-bottom: 6px; border-bottom: 2px solid var(--line); font-size: 17.5px; scroll-margin-top: 12px; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose li { margin: .3em 0; }
.prose mark { background: linear-gradient(transparent 60%, #fde68a 60%); color: inherit; }
.prose blockquote { margin: 0 0 1.2em; padding: 4px 16px; border-left: 4px solid var(--line); color: var(--muted); }
@media (prefers-color-scheme: dark) { .prose mark { background: linear-gradient(transparent 60%, #7c5e10 60%); } }

.summary { margin: 0 0 20px; padding: 16px 18px; border: 2px solid var(--brand); border-radius: var(--radius); background: var(--surface); }
.box__title { margin: 0 0 6px; font-weight: 800; font-size: 14.5px; }
.summary .box__title { color: var(--brand-ink); }
.summary ul, .box ul { margin: 0; padding-left: 1.3em; }
.box { margin: 0 0 14px; padding: 14px 18px; border-radius: var(--radius); }
.box--good, .box--fit { background: var(--good-bg); }
.box--good .box__title, .box--fit .box__title { color: var(--good); }
.box--bad, .box--unfit { background: var(--bad-bg); }
.box--bad .box__title, .box--unfit .box__title { color: var(--bad); }
.note, .playnote { margin: 0 0 1.2em; padding: 14px 18px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); font-size: 14.5px; }
.note p, .playnote p { margin: 0 0 .8em; }
.note p:last-child, .playnote p:last-child { margin-bottom: 0; }
.playnote { border-color: var(--good); }

.toc { margin: 26px 0 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.toc__title { margin: 0 0 4px; font-weight: 800; font-size: 14px; }
.toc ol { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.toc li { margin: .15em 0; }
.toc__l3 { padding-left: 1.2em; font-size: 13px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--brand-ink); text-decoration: underline; }

.gamecard { margin: 0 0 16px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gamecard__head { display: flex; align-items: center; gap: 14px; padding: 16px; }
.gamecard__name, .pick__name { margin: 0; font-weight: 800; font-size: 17px; line-height: 1.4; }
.gamecard__genre { margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.spec { margin: 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.spec > div { display: grid; grid-template-columns: 8.2em 1fr; gap: 8px; padding: 8px 16px; }
.spec > div:nth-child(odd) { background: var(--bg); }
.spec dt { color: var(--muted); font-weight: 700; }
.spec dd { margin: 0; }

/* 公式スクリーンショット(横スクロール) */
.shots { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; padding: 2px 2px 10px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.shots img { flex: none; height: auto; border-radius: 12px; background: var(--line); scroll-snap-align: start; }
.shots--land img { width: min(82%, 480px); }
.shots--port img { width: min(44%, 220px); }
.rank .shots, .pick .shots { margin: 12px 0 4px; }
.rank .shots--land img, .pick .shots--land img { width: min(86%, 360px); }
.rank .shots--port img, .pick .shots--port img { width: min(38%, 170px); }

/* 公式PV */
.video { margin: 0 0 1.4em; }
.video__link, .video iframe { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.video__link img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video__badge { position: absolute; left: 12px; top: 12px; padding: 3px 10px; border-radius: 6px; background: rgba(20, 26, 46, .82); color: #fff; font-size: 12px; font-weight: 800; line-height: 1.6; }
.video__play { position: absolute; inset: 0; margin: auto; width: 72px; height: 50px; border-radius: 14px; background: rgba(20, 26, 46, .82); transition: background .12s ease; }
.video__play::after { content: ""; position: absolute; left: 29px; top: 14px; border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent #fff; }
.video__link:hover .video__play { background: var(--accent); }
.video figcaption { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.video figcaption a { color: var(--muted); }

.cta { margin: 0 0 22px; padding: 18px; border-radius: var(--radius); background: var(--brand-weak); text-align: center; }
.cta__lead { margin: 0 0 12px; font-size: 14.5px; }
.cta__btns { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }
.cta__btns .btn { padding-left: 10px; padding-right: 10px; }
.cta__btns .btn { white-space: nowrap; }
@media (max-width: 400px) { .cta__btns .btn { font-size: 13px; } }
.cta__note { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.cta--compact { margin: 12px 0 0; padding: 0; background: none; }

.ratings { margin: 0 0 16px; display: grid; gap: 8px; }
.rating { display: grid; grid-template-columns: 10.5em 1fr 2.6em; align-items: center; gap: 10px; font-size: 13.5px; }
.rating__label { font-weight: 700; }
.rating__bar { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.rating__bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), #ec4899); }
.rating__num { font-weight: 800; text-align: right; }
.rating__num small { color: var(--muted); font-weight: 600; font-size: 11px; }
.ratings__note { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.rank, .pick { margin: 0 0 20px; padding: 18px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); scroll-margin-top: 12px; }
.rank__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rank__title { min-width: 0; }
.rank__title h3 { margin: 0; padding: 0; border: 0; font-size: 17px; line-height: 1.4; }
.rank__no { flex: none; display: inline-flex; align-items: baseline; justify-content: center; width: 44px; height: 44px; padding-top: 7px; border-radius: 50%; background: var(--muted); color: #fff; font-weight: 900; font-size: 20px; line-height: 1; }
.rank__no small { font-size: 10px; margin-left: 1px; }
.rank__no--1 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.rank__no--2 { background: linear-gradient(135deg, #94a3b8, #64748b); }
.rank__no--3 { background: linear-gradient(135deg, #c2814f, #9a5b2e); }
.rank__catch { margin: 10px 0 6px; font-weight: 800; font-size: 15.5px; line-height: 1.6; }
.prose .rank__points { margin: 0 0 14px; font-size: 14.5px; }
.rank .ratings { margin-bottom: 4px; }
.rank__more { margin: 12px 0 0; font-size: 14px; font-weight: 700; text-align: right; }

.table-wrap { margin: 0 0 1.2em; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { background: var(--bg); font-size: 12.5px; white-space: nowrap; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.kv th { width: 11em; background: var(--bg); font-size: 13px; white-space: nowrap; }
@media (max-width: 480px) { .kv th { width: 8.4em; white-space: normal; } }
.compare { min-width: 640px; }
.compare th:first-child { position: sticky; left: 0; z-index: 1; width: 8.6em; min-width: 8.6em; background: var(--surface); box-shadow: 1px 0 0 var(--line); }
.compare thead th:first-child { background: var(--bg); }
.compare td { white-space: nowrap; }
.st { color: var(--star); letter-spacing: -1px; }
.st i { color: var(--line); font-style: normal; }

.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: var(--surface); }
.faq summary { padding: 12px 16px; font-weight: 700; cursor: pointer; }
.faq summary::before { content: "Q."; margin-right: 6px; color: var(--brand-ink); font-weight: 900; }
.faq__a { padding: 0 16px 12px; font-size: 14.5px; }
.faq__a p { margin: 0; }

.ad { margin: 24px 0; }
.adph { margin: 24px 0; padding: 22px 12px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); font-size: 12.5px; text-align: center; }
.related { margin-top: 12px; }

/* ---------- フッター ---------- */
.site-footer { background: #141a2e; color: #cfd4e6; padding: 36px 0 28px; font-size: 13px; }
.logo--footer span { color: #fff; }
.logo--footer { color: #8b8cff; }
.fnav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0; }
.fnav a { color: #e6e9f5; }
.site-footer__legal { margin: 0 0 12px; color: #9aa2ba; font-size: 11.5px; line-height: 1.8; }
.copy { margin: 0; color: #9aa2ba; font-size: 12px; }
