@charset "UTF-8";
/* なな徹トップ 第2版（2026-11-20）。kaiseki/index.php の #ntp・#ntp2（広告スライダーの前後に分かれている）と、サイドバーの #ntp-side だけに効く */

:is(#ntp, #ntp2), #ntp-side { --red: #e50012; --ink: #1f1f1f; --sub: #6b6b6b; --line: #e6e6e6; --bg: #f4f4f4; --link: #1a4fb0; --th: 96px; color: var(--ink); line-height: 1.5; text-align: left; }
:is(#ntp, #ntp2) { font-size: 15px; background: var(--bg); padding: 0 0 8px; }
#ntp-side { font-size: 14px; margin: 0 0 10px; }
:is(#ntp, #ntp2) *, #ntp-side * { box-sizing: border-box; }
:is(#ntp, #ntp2) a, #ntp-side a { color: inherit; text-decoration: none; }
:is(#ntp, #ntp2) ul, :is(#ntp, #ntp2) ol, #ntp-side ol { margin: 0; padding: 0; list-style: none; }
:is(#ntp, #ntp2) [hidden] { display: none !important; }
:is(#ntp, #ntp2) .s, #ntp-side .s { background: #fff; margin: 0 0 10px; padding: 14px 12px; }
:is(#ntp, #ntp2) .h, #ntp-side .h { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; gap: 8px; }
:is(#ntp, #ntp2) .h h2, #ntp-side .h h2 { margin: 0; padding: 0; border: 0; background: none; font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--ink); display: flex; align-items: center; gap: 6px; }
#ntp-side .h h2 { font-size: 16px; }
:is(#ntp, #ntp2) .h h2:before, #ntp-side .h h2:before { content: ""; width: 4px; height: 18px; background: var(--red); border-radius: 2px; }
:is(#ntp, #ntp2) .more { font-size: 13px; color: var(--sub); white-space: nowrap; }
:is(#ntp, #ntp2) .more:after { content: " ›"; }
:is(#ntp, #ntp2) .num, #ntp-side .num { font-size: 12px; color: var(--sub); }
:is(#ntp, #ntp2) .h .hr { display: inline-flex; align-items: center; gap: 10px; }
:is(#ntp, #ntp2) .clr { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 3px 10px; font: inherit; font-size: 11px; color: var(--sub); cursor: pointer; }
:is(#ntp, #ntp2) .seg { display: inline-flex; background: var(--bg); border-radius: 999px; padding: 3px; flex: none; }
:is(#ntp, #ntp2) .seg button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--sub); padding: 5px 12px; border-radius: 999px; cursor: pointer; }
:is(#ntp, #ntp2) .seg button.on { background: #fff; color: var(--red); box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
:is(#ntp, #ntp2) .seg button:disabled { opacity: .35; cursor: default; }
:is(#ntp, #ntp2) .seg small { font-size: 10px; margin-left: 2px; font-weight: 400; }
:is(#ntp, #ntp2) [data-pane] { display: none; }
:is(#ntp, #ntp2) [data-pane].on { display: block; }
:is(#ntp, #ntp2) .new { color: #fff; background: var(--red); font-size: 10px; font-weight: 700; border-radius: 3px; padding: 0 4px; margin-left: 4px; vertical-align: 1px; }
:is(#ntp, #ntp2) .btn { display: block; width: 100%; margin-top: 12px; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 10px; font: inherit; font-size: 14px; font-weight: 700; text-align: center; color: var(--ink); cursor: pointer; }
/* 横長サムネイルはどこでも 16:10 */
:is(#ntp, #ntp2) .th, #ntp-side .th { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; background: var(--bg); }
:is(#ntp, #ntp2) .clamp2, #ntp-side .clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 検索 */
:is(#ntp, #ntp2) .search { position: relative; padding-top: 12px; padding-bottom: 12px; }
:is(#ntp, #ntp2) .sbox { display: flex; border: 2px solid var(--red); border-radius: 10px; overflow: hidden; background: #fff; margin: 0; }
:is(#ntp, #ntp2) .sbox input { flex: 1; border: 0; font-size: 16px; padding: 11px 12px; outline: 0; min-width: 0; background: #fff; }
:is(#ntp, #ntp2) .sbox button { border: 0; background: var(--red); color: #fff; font-size: 15px; font-weight: 700; padding: 0 16px; cursor: pointer; }
:is(#ntp, #ntp2) .sugg { position: absolute; left: 12px; right: 12px; top: 100%; margin-top: -6px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); z-index: 50; max-height: 60vh; overflow: auto; display: none; }
:is(#ntp, #ntp2) .sugg.on { display: block; }
:is(#ntp, #ntp2) .sugg a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--line); }
:is(#ntp, #ntp2) .sugg .th { width: 64px; flex: none; }
:is(#ntp, #ntp2) .sugg .n { font-size: 14px; font-weight: 700; line-height: 1.35; }
:is(#ntp, #ntp2) .sugg .d { font-size: 11px; color: var(--sub); }
:is(#ntp, #ntp2) .sugg .all { display: block; text-align: center; color: var(--red); font-size: 13px; font-weight: 700; border: 0; }
:is(#ntp, #ntp2) .sugg .msg { padding: 12px; font-size: 13px; color: var(--sub); }
:is(#ntp, #ntp2) .quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; } /* 横スクロールにせず折り返して全部見せる（11-20 ユーザー指示） */
:is(#ntp, #ntp2) .quick a { flex: none; font-size: 12px; font-weight: 700; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; background: #fff; }
:is(#ntp, #ntp2) .quick .k { display: inline-block; font-size: 10px; line-height: 1.5; color: #fff; background: #2b6cd4; border-radius: 3px; padding: 0 4px; margin-right: 5px; vertical-align: 1px; }
:is(#ntp, #ntp2) .quick .k.pk { background: #e07a00; }

/* 横スクロール（人気機種ランキング） */
:is(#ntp, #ntp2) .row { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 12px; margin: 0 -12px; padding: 0 12px 4px; scrollbar-width: none; }
:is(#ntp, #ntp2) .row:after { content: ""; flex: 0 0 4px; }
:is(#ntp, #ntp2) .row::-webkit-scrollbar, :is(#ntp, #ntp2) .quick::-webkit-scrollbar, :is(#ntp, #ntp2) .days::-webkit-scrollbar { display: none; }
:is(#ntp, #ntp2) .rk { flex: none; width: 96px; scroll-snap-align: start; position: relative; }
:is(#ntp, #ntp2) .rk img, :is(#ntp, #ntp2) .pc img { width: 100%; height: auto; aspect-ratio: 384 / 580; object-fit: cover; border-radius: 6px; display: block; background: var(--bg); }
:is(#ntp, #ntp2) .rk .no { position: absolute; left: 0; top: 0; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; min-width: 26px; text-align: center; padding: 2px 5px; border-radius: 6px 0 6px 0; }
:is(#ntp, #ntp2) .rk:nth-child(1) .no { background: #c9a227; }
:is(#ntp, #ntp2) .rk:nth-child(2) .no { background: #9a9a9a; }
:is(#ntp, #ntp2) .rk:nth-child(3) .no { background: #b0703c; }
:is(#ntp, #ntp2) .rk .n { font-size: 12px; font-weight: 700; line-height: 1.3; margin-top: 4px; }
:is(#ntp, #ntp2) .rk .up { color: var(--red); }
:is(#ntp, #ntp2) .rk .down { color: #2b6cd4; }
:is(#ntp, #ntp2) .scw { position: relative; }
:is(#ntp, #ntp2) .scb { display: none; }
@media (hover: hover) and (pointer: fine) {
    :is(#ntp, #ntp2) .scb { display: flex; align-items: center; justify-content: center; position: absolute; top: 58px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .95); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); cursor: pointer; padding: 0; }
    :is(#ntp, #ntp2) .scb:before { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
    :is(#ntp, #ntp2) .scb.prev { left: -6px; }
    :is(#ntp, #ntp2) .scb.prev:before { transform: rotate(135deg); margin-left: 4px; }
    :is(#ntp, #ntp2) .scb.next { right: -6px; }
    :is(#ntp, #ntp2) .scb.next:before { transform: rotate(-45deg); margin-right: 4px; }
    :is(#ntp, #ntp2) .scb[disabled] { display: none; }
}

/* 最近見たページ（縦一覧） */
:is(#ntp, #ntp2) .pl li a { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
:is(#ntp, #ntp2) .pl li:first-child a { border-top: 0; padding-top: 0; }
:is(#ntp, #ntp2) .pl .pth { flex: none; width: 64px; }
:is(#ntp, #ntp2) .pl .pb { flex: 1; min-width: 0; display: block; }
:is(#ntp, #ntp2) .pl .tt { font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--link); }
:is(#ntp, #ntp2) .pl .mn { display: block; font-size: 11px; color: var(--sub); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:is(#ntp, #ntp2) .pl .ago { flex: none; font-size: 11px; color: var(--sub); align-self: flex-start; padding-top: 2px; }
/* 最近見た機種（グリッド） */
:is(#ntp, #ntp2) .mg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; }
:is(#ntp, #ntp2) .mg .n { font-size: 12px; font-weight: 700; line-height: 1.3; margin-top: 4px; }

/* よく読まれている解析（SP 本文・PC サイドバー共通） */
:is(#ntp, #ntp2) .pr li a, #ntp-side .pr li a { display: flex; gap: 8px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--line); }
:is(#ntp, #ntp2) .pr li:first-child a, #ntp-side .pr li:first-child a { border-top: 0; padding-top: 2px; }
:is(#ntp, #ntp2) .pr .no, #ntp-side .pr .no { flex: none; width: 20px; font-size: 15px; font-weight: 700; color: var(--sub); text-align: center; line-height: 1.3; }
:is(#ntp, #ntp2) .pr li:nth-child(-n+3) .no, #ntp-side .pr li:nth-child(-n+3) .no { color: var(--red); }
:is(#ntp, #ntp2) .pr .th { flex: none; width: 72px; border-radius: 4px; }
#ntp-side .pr .th { flex: none; width: 64px; border-radius: 4px; }
:is(#ntp, #ntp2) .pr .bd, #ntp-side .pr .bd { flex: 1; min-width: 0; }
:is(#ntp, #ntp2) .pr .mn, #ntp-side .pr .mn { display: block; font-size: 10px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:is(#ntp, #ntp2) .pr .tt { font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--link); }
#ntp-side .pr .tt { font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--link); }

/* 更新情報（機種ごと） */
:is(#ntp, #ntp2) .ug { border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-top: 10px; }
:is(#ntp, #ntp2) .ug:first-child { margin-top: 0; }
:is(#ntp, #ntp2) .ug .hd { display: flex; gap: 10px; align-items: center; }
:is(#ntp, #ntp2) .ug .hd .thw { flex: none; width: var(--th); }
:is(#ntp, #ntp2) .ug .hd .tt { font-size: 14px; font-weight: 700; line-height: 1.35; }
:is(#ntp, #ntp2) .ug .hd .meta { display: block; font-size: 11px; color: var(--sub); margin-top: 3px; }
:is(#ntp, #ntp2) .ug .cnt { display: inline-block; font-size: 11px; font-weight: 700; color: var(--red); border: 1px solid var(--red); border-radius: 999px; padding: 0 7px; margin-left: 6px; }
:is(#ntp, #ntp2) .ug ul { margin-top: 8px; border-top: 1px dashed var(--line); padding-top: 6px; }
:is(#ntp, #ntp2) .ug li a { display: flex; gap: 8px; font-size: 13px; line-height: 1.45; padding: 4px 0; color: var(--link); }
:is(#ntp, #ntp2) .ug li .d { flex: none; color: var(--sub); font-size: 11px; width: 34px; padding-top: 2px; }
:is(#ntp, #ntp2) .ug .rest { display: block; width: 100%; margin-top: 6px; border: 0; border-top: 1px dashed var(--line); background: none; font: inherit; font-size: 12px; font-weight: 700; color: var(--sub); text-align: center; padding: 8px 0 2px; cursor: pointer; }
:is(#ntp, #ntp2) .ug .rest:after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 7px; vertical-align: 3px; }
:is(#ntp, #ntp2) .ug .rest[aria-expanded="true"]:after { transform: rotate(-135deg); vertical-align: -1px; }

/* 厳選攻略情報 */
:is(#ntp, #ntp2) .feat { display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 10px; }
:is(#ntp, #ntp2) .feat .th { border-radius: 0; }
:is(#ntp, #ntp2) .feat .b { display: block; padding: 8px 10px 10px; }
:is(#ntp, #ntp2) .feat .lab { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: var(--red); border-radius: 3px; padding: 1px 6px; margin-bottom: 4px; }
:is(#ntp, #ntp2) .feat .n { display: block; font-size: 16px; font-weight: 700; line-height: 1.35; }
:is(#ntp, #ntp2) .feat .t { font-size: 13px; color: #444; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
:is(#ntp, #ntp2) .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 8px; }
:is(#ntp, #ntp2) .grid .n { font-size: 13px; font-weight: 700; line-height: 1.3; margin-top: 4px; }

/* 新台 */
:is(#ntp, #ntp2) .days { display: flex; gap: 6px; overflow-x: auto; margin: 0 -12px 10px; padding: 0 12px 2px; scrollbar-width: none; }
:is(#ntp, #ntp2) .days button { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 6px 0 5px; width: 64px; font: inherit; text-align: center; line-height: 1.15; color: var(--ink); cursor: pointer; }
:is(#ntp, #ntp2) .days button .w { font-size: 10px; color: var(--sub); display: block; }
:is(#ntp, #ntp2) .days button .d { font-size: 16px; font-weight: 700; display: block; }
:is(#ntp, #ntp2) .days button .c { font-size: 10px; color: var(--sub); display: block; margin-top: 1px; }
:is(#ntp, #ntp2) .days button.past .d { color: var(--sub); }
:is(#ntp, #ntp2) .days button.on { border-color: var(--red); background: var(--red); color: #fff; }
:is(#ntp, #ntp2) .days button.on .w, :is(#ntp, #ntp2) .days button.on .c, :is(#ntp, #ntp2) .days button.on .d { color: #fff; }
:is(#ntp, #ntp2) .dayhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 8px; }
:is(#ntp, #ntp2) .dayhead .lbl { font-size: 14px; font-weight: 700; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
:is(#ntp, #ntp2) .dayhead .lbl em { font-style: normal; color: var(--red); font-size: 11px; border: 1px solid var(--red); border-radius: 999px; padding: 0 6px; line-height: 1.5; }
:is(#ntp, #ntp2) .dayhead .seg button { padding: 4px 9px; font-size: 12px; }
:is(#ntp, #ntp2) .pcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; }
:is(#ntp, #ntp2) .pc { position: relative; min-width: 0; display: block; }
:is(#ntp, #ntp2) .pc .tag { position: absolute; left: 0; top: 0; font-size: 10px; font-weight: 700; color: #fff; background: #2b6cd4; border-radius: 6px 0 6px 0; padding: 1px 5px; }
:is(#ntp, #ntp2) .pc.pk .tag { background: #e07a00; }
:is(#ntp, #ntp2) .pc .n { font-size: 12px; font-weight: 700; line-height: 1.3; margin-top: 4px; }
:is(#ntp, #ntp2) .pc .mk { display: block; font-size: 10px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:is(#ntp, #ntp2) .pcs .empty { grid-column: 1 / -1; font-size: 13px; color: var(--sub); padding: 12px 0; text-align: center; }

/* 50音表: 縦に あいうえお、横に あかさたな…わ */
:is(#ntp, #ntp2) .kana { display: grid; grid-template-columns: repeat(10, 1fr); grid-template-rows: repeat(5, auto); grid-auto-flow: column; gap: 4px; }
:is(#ntp, #ntp2) .kana a, :is(#ntp, #ntp2) .kana span { text-align: center; font-size: 14px; font-weight: 700; padding: 7px 0; border-radius: 4px; }
:is(#ntp, #ntp2) .kana a { background: var(--bg); }

/* PC 幅（今のサイトが 2 段組みになる 769px 以上） */
@media (min-width: 769px) {
    :is(#ntp, #ntp2) .sp-only { display: none; }
    /* 人気機種ランキング: PC は横スクロールにせず 5 列 × 2 行で全部見せる（11-20 ユーザー指示） */
    :is(#ntp, #ntp2) .row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px 10px; overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; }
    :is(#ntp, #ntp2) .row:after { display: none; }
    :is(#ntp, #ntp2) .rk { width: auto; }
    :is(#ntp, #ntp2) .scw .scb { display: none; }
    :is(#ntp, #ntp2) .mg { grid-template-columns: repeat(5, 1fr); }
    :is(#ntp, #ntp2) .pcs { grid-template-columns: repeat(4, 1fr); }
    :is(#ntp, #ntp2) .grid { grid-template-columns: repeat(3, 1fr); }
    :is(#ntp, #ntp2) .days { display: grid; grid-template-columns: repeat(auto-fit, minmax(56px, 1fr)); overflow: visible; margin: 0 0 10px; padding: 0; }
    :is(#ntp, #ntp2) .days button { width: auto; }
    :is(#ntp, #ntp2) .ug { position: relative; padding: 14px 16px 12px 222px; min-height: 154px; }
    :is(#ntp, #ntp2) .ug .hd .thw { position: absolute; left: 14px; top: 14px; width: 192px; }
    :is(#ntp, #ntp2) .ug .hd .tt { font-size: 16px; }
    :is(#ntp, #ntp2) .ug .hd .meta { font-size: 12px; }
    :is(#ntp, #ntp2) .ug li a { font-size: 14px; }
    :is(#ntp, #ntp2) .ug li .d { width: 40px; font-size: 12px; }
}
@media (max-width: 768px) {
    #ntp-side { display: none; }
}
