/* ネット回線比較 */
body .npc {
  --npc-blue: #0b57c9;
  --npc-blue-d: #08439c;
  --npc-blue-bg: #e8f0fc;
  --npc-orange: #c2410c;
  --npc-orange-bg: #fff2e6;
  --npc-green: #0f6e3a;
  --npc-text: #1a1d21;
  --npc-sub: #555b63;
  --npc-line: #dfe2e6;
  --npc-line2: #c5cad1;
  --npc-mute: #6b7178;
  --npc-head: #f7f8fa;
  --npc-grey: #f1f2f4;
  color: var(--npc-text);
  font-size: 14px;
  line-height: 1.6;
  margin: 1.5em 0;
}
body .npc *, body .npc *::before, body .npc *::after { box-sizing: border-box; }
body .npc [hidden] { display: none !important; }
body .npc p { margin: 0; }
body .npc button { font: inherit; cursor: pointer; }
body .npc a { color: var(--npc-blue); }
body .npc a:hover { color: var(--npc-blue-d); }
body .npc .npc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body .npc .npc-intro { background: var(--npc-blue-bg); border: 1px solid var(--npc-line); border-bottom: 0; border-radius: 12px 12px 0 0; padding: 16px 24px 14px; }
body .npc .npc-intro + .npc-filters { border-top-left-radius: 0; border-top-right-radius: 0; }
body .npc .npc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 16px; flex-wrap: wrap; margin: 0 0 4px; }
body .npc .npc-title { font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--npc-blue-d); margin: 0; }
body .npc .npc-lead { font-size: 13px; color: var(--npc-text); line-height: 1.75; margin: 0 0 8px; }
body .npc .npc-pts { margin: 0; }
body .npc .npc-pts-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body .npc .npc-pts ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; }
body .npc .npc-pts li { font-size: 12px; line-height: 1.6; color: var(--npc-sub); padding-left: 1.3em; position: relative; margin: 0; }
body .npc .npc-pts li::before { content: "✓"; position: absolute; left: 0; color: var(--npc-blue); font-weight: 700; }
body .npc .npc-updated { font-size: 13px; color: var(--npc-sub); }
body .npc button:focus-visible, body .npc select:focus-visible, body .npc a:focus-visible, body .npc input:focus-visible { outline: 3px solid #f0b400; outline-offset: 2px; }

/* 条件 */
body .npc .npc-filters { background: #fff; border: 1px solid var(--npc-line); border-radius: 12px; padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
body .npc .npc-frow { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
body .npc .npc-flabel { width: 96px; flex: none; font-size: 13px; font-weight: 700; color: var(--npc-text); line-height: 1.4; }
body .npc .npc-flabel-in { width: auto; }
body .npc .npc-fgrp { display: inline-flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
body .npc .npc-fsep { width: 1px; height: 24px; background: var(--npc-line); flex: none; }
body .npc .npc-fhint { font-size: 11px; color: var(--npc-mute); }
body .npc .npc-indent { padding-left: 112px; }
body .npc .npc-fdiv { height: 1px; background: #eef0f2; }
body .npc .npc-chips { display: flex; gap: 8px; flex-wrap: wrap; }
/* 1.1.10：選ぶボタン・選択欄の見た目をiPhone価格比較に合わせた（枠線だけの丸いボタン、選んだものは青い太枠＋薄い青） */
body .npc .npc-chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--npc-line2); background: #fff; color: var(--npc-text); font-size: 13px; line-height: 1.2; white-space: nowrap; }
body .npc .npc-chip[aria-pressed="true"] { border: 2px solid var(--npc-blue); background: var(--npc-blue-bg); color: var(--npc-blue); font-weight: 700; }
body .npc .npc-chip-sm { min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 13px; }
body .npc .npc-sel { min-height: 44px; height: auto; padding: 0 10px; border: 1px solid var(--npc-line2); border-radius: 8px; font: inherit; font-size: 14px; color: var(--npc-text); background: #fff; max-width: 100%; }
body .npc .npc-inl { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--npc-sub); max-width: 100%; }
body .npc .npc-inl .npc-sel { min-width: 0; }
body .npc .npc-curinfo { background: var(--npc-head); border-radius: 8px; padding: 10px 14px; font-size: 13px; color: var(--npc-sub); line-height: 1.7; }
body .npc .npc-curinfo strong { color: var(--npc-text); }
body .npc .npc-areanote { font-size: 12px; color: var(--npc-sub); line-height: 1.7; border-left: 3px solid var(--npc-line); padding-left: 10px; }

/* 件数・並べ替え・期間 */
body .npc .npc-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap; margin: 16px 0 8px; }
body .npc .npc-count { font-size: 14px; }
body .npc .npc-count-n { font-size: 24px; font-weight: 900; color: var(--npc-blue); margin-right: 2px; }
body .npc .npc-ctrls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--npc-sub); }
body .npc .npc-ctl-period { margin-left: 8px; }
/* 1.1.10：並び替えはiPhone価格比較と同じ選択欄に。使う期間は選ぶボタンと同じ丸いボタン */
body .npc .npc-seg { display: flex; gap: 6px; flex-wrap: wrap; }
body .npc .npc-seg button { min-height: 40px; padding: 0 14px; border: 1px solid var(--npc-line2); border-radius: 999px; background: #fff; color: var(--npc-text); font-size: 13px; line-height: 1.2; white-space: nowrap; }
body .npc .npc-seg button[aria-pressed="true"] { border: 2px solid var(--npc-blue); background: var(--npc-blue-bg); color: var(--npc-blue); font-weight: 700; }
body .npc .npc-sort-seg { display: none !important; }
body .npc .npc-sort-sel { display: block; }
body .npc .npc-note-top { font-size: 12px; color: var(--npc-sub); margin-bottom: 10px; line-height: 1.7; }

/* 表 */
body .npc .npc-table-wrap { background: #fff; border: 1px solid var(--npc-line); border-radius: 12px; overflow-x: auto; }
body .npc .npc-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 0; border: 0; font-size: 14px; }
body .npc .npc-table th, body .npc .npc-table td { border: 0; border-bottom: 1px solid var(--npc-line); padding: 16px 8px; text-align: left; vertical-align: middle; background: none; word-break: normal; overflow-wrap: anywhere; }
body .npc .npc-table tbody tr:last-child td { border-bottom: 0; }
body .npc .npc-table thead th { background: var(--npc-head); font-size: 12px; font-weight: 700; color: var(--npc-sub); padding: 12px 8px; white-space: nowrap; overflow-wrap: normal; }
body .npc .npc-table thead th.npc-sorted { color: var(--npc-blue); }
body .npc .npc-table thead th.npc-sorted::after { content: " ▼"; }
body .npc .npc-table th.npc-c-mon, body .npc .npc-table th.npc-c-cb, body .npc .npc-table th.npc-c-real,
body .npc .npc-table td.npc-c-mon, body .npc .npc-table td.npc-c-cb, body .npc .npc-table td.npc-c-real { text-align: center; }   /* 10/20 右寄せだとサービス名との間が空くので中央に */
body .npc .npc-table th.npc-c-mon, body .npc .npc-table th.npc-c-cb, body .npc .npc-table td.npc-c-mon, body .npc .npc-table td.npc-c-cb { text-align: left; padding-left: 12px; }   /* 10/20 サービス名の続きに読めるよう左寄せ（iPhoneのツールと同じ） */
body .npc .npc-table .npc-mon-wrap { align-items: flex-start; }
body .npc .npc-table .npc-c-cmp { width: 52px; text-align: center; padding-left: 4px; padding-right: 4px; }
body .npc .npc-table .npc-c-svc { width: 17%; }
body .npc .npc-table .npc-c-dev { width: 15%; }
body .npc .npc-table .npc-c-mon { width: 13%; }
body .npc .npc-table .npc-c-cb { width: 13%; }
body .npc .npc-table .npc-c-real { width: 13%; white-space: nowrap; overflow-wrap: normal; }
body .npc .npc-table .npc-c-diff { width: 18%; }
body .npc .npc-table .npc-c-cta { width: auto; padding-left: 12px; padding-right: 12px; }
body .npc.npc-is-mobile .npc-table .npc-c-svc { width: 17%; }
body .npc.npc-is-mobile .npc-table .npc-c-mon, body .npc.npc-is-mobile .npc-table .npc-c-cb { width: 10.5%; }
body .npc.npc-is-mobile .npc-table .npc-c-diff { width: 16%; }
body .npc.npc-is-hikari .npc-c-dev { display: none !important; }
body .npc.npc-nodiff .npc-c-diff { display: none !important; }
body .npc .npc-lbl { display: none; }
body .npc .npc-cmp-l { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; cursor: pointer; gap: 6px; }
body .npc .npc-cmp-l span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body .npc .npc-cmp { width: 18px; height: 18px; accent-color: var(--npc-blue); margin: 0; }
body .npc .npc-c-svc > span, body .npc .npc-c-svc > strong { display: block; }
body .npc .npc-bestb { display: inline-block !important; width: fit-content; font-size: 12px; font-weight: 700; color: #fff; background: var(--npc-orange); border-radius: 999px; padding: 3px 10px; margin-bottom: 6px; line-height: 1.5; white-space: nowrap; letter-spacing: .02em; }
body .npc .npc-altb { display: inline-block !important; font-size: 11px; color: var(--npc-sub); border: 1px solid var(--npc-line); border-radius: 4px; padding: 0 6px; margin-bottom: 4px; }
body .npc .npc-name { font-size: 15px; font-weight: 700; line-height: 1.4; }
body .npc .npc-sub { font-size: 12px; color: var(--npc-sub); line-height: 1.5; margin-top: 2px; }
body .npc .npc-note { font-size: 11px; color: var(--npc-sub); line-height: 1.5; margin-top: 2px; }
body .npc .npc-warn { font-size: 11px; color: var(--npc-text); line-height: 1.5; background: #fff8e6; border-radius: 4px; padding: 2px 6px; margin-top: 4px; }
body .npc .npc-alt-btn { display: inline-flex; align-items: center; min-height: 32px; margin-top: 4px; padding: 0; border: 0; background: none; color: var(--npc-blue); font-size: 12px; text-decoration: underline; text-align: left; }
body .npc .npc-alt td { background: #fafbfc; }
body .npc .npc-dev-t { display: block; font-size: 15px; font-weight: 700; line-height: 1.4; }
body .npc .npc-dev-s { display: block; font-size: 12px; color: var(--npc-sub); line-height: 1.5; margin-top: 2px; }
body .npc .npc-mon-wrap { display: flex; flex-direction: column; align-items: center; }
body .npc .npc-strike { font-size: 12px; color: var(--npc-sub); }
body .npc .npc-amt { font-size: 16px; font-weight: 700; white-space: nowrap; }
body .npc .npc-g { color: var(--npc-green); }
body .npc .npc-setb { display: block; font-size: 11px; color: var(--npc-green); }
body .npc .npc-setmsg { display: none; font-size: 11px; color: var(--npc-green); }
body .npc .npc-nil { font-size: 14px; color: var(--npc-sub); }
body .npc .npc-realwrap { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
body .npc .npc-real { font-size: 24px; font-weight: 700; color: var(--npc-text); line-height: 1.2; }   /* 1.1.10：iPhone価格比較と同じく、オレンジは一番安い行だけ */
body .npc .npc-best .npc-real { color: var(--npc-orange); }
body .npc .npc-real small { font-size: 13px; font-weight: 700; }
body .npc .npc-dm { display: block; font-size: 13px; color: var(--npc-sub); }
body .npc .npc-dm strong { font-size: 16px; color: var(--npc-text); }
body .npc .npc-dm.npc-cheap { color: var(--npc-text); }
body .npc .npc-dm.npc-cheap strong { color: var(--npc-blue); }
body .npc .npc-dm-p { display: none; }
body .npc .npc-dt { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 12px; font-weight: 700; color: var(--npc-sub); }
body .npc .npc-dt.npc-good { color: var(--npc-blue); }
body .npc .npc-cta { display: flex; align-items: center; justify-content: center; min-height: 44px; text-align: center; background: var(--npc-blue); color: #fff !important; text-decoration: none !important; border-radius: 8px; padding: 6px 6px; font-size: 13px; font-weight: 700; line-height: 1.35; }
body .npc .npc-cta:hover { background: #083f92; }
body .npc .npc-best .npc-cta { background: var(--npc-orange); }
body .npc .npc-best .npc-cta:hover { background: #9a3412; }
body .npc .npc-cover { display: block; font-size: 11px; color: var(--npc-sub); margin-top: 6px; line-height: 1.5; }
body .npc .npc-none { padding: 24px; text-align: center; color: var(--npc-sub); }
body .npc .npc-more { display: block; width: calc(100% - 24px); margin: 12px auto; min-height: 48px; border: 1px solid var(--npc-blue); border-radius: 8px; background: #fff; color: var(--npc-blue); font-size: 15px; font-weight: 700; }
body .npc .npc-foot { font-size: 12px; color: var(--npc-sub); margin-top: 12px; line-height: 1.7; }
body .npc .npc-foot p + p { margin-top: 2px; }
body .npc.npc-nodiff .npc-foot-diff { display: none; }
body .npc .npc-ssr .npc-c-cmp { padding: 0; }

/* 「?」 */
body .npc .npc-tip { display: inline-flex; vertical-align: middle; position: relative; }
/* 1.1.10：「?」はiPhone価格比較と同じ（灰色の枠、押すと青） */
body .npc .npc-tip-btn { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--npc-line2); background: #fff; color: var(--npc-sub); font-size: 12px; font-weight: 700; line-height: 20px; padding: 0; text-align: center; flex: none; }
body .npc .npc-tip-btn::after { content: ""; position: absolute; left: -11px; top: -11px; right: -11px; bottom: -11px; }
body .npc .npc-tip.npc-open .npc-tip-btn, body .npc .npc-tip-btn:hover { border-color: var(--npc-blue); color: var(--npc-blue); }
body .npc .npc-tip-body { display: none; position: fixed; z-index: 100000; overflow: auto; background: #fff; border: 1px solid var(--npc-line); border-radius: 12px; box-shadow: 0 8px 24px rgba(26, 29, 33, .16); padding: 14px 16px; font-size: 12px; font-weight: 400; color: var(--npc-text); line-height: 1.7; text-align: left; white-space: normal; cursor: auto; }
body .npc .npc-tip.npc-open .npc-tip-body { display: block; }
body .npc .npc-tt { display: block; font-weight: 700; font-size: 13px; margin-bottom: 4px; }
body .npc .npc-tg { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; }
body .npc .npc-tv { text-align: right; white-space: nowrap; }
body .npc .npc-tl-b { font-weight: 700; }
body .npc .npc-tv-o { color: var(--npc-orange); }
body .npc .npc-tv-b { color: var(--npc-blue); }
body .npc .npc-tv-g { color: var(--npc-green); }
body .npc .npc-tn { display: block; margin-top: 6px; color: var(--npc-sub); }

/* 比較リスト */
body .npc .npc-cmpbar { position: sticky; bottom: 12px; z-index: 50; margin-top: 12px; display: flex; justify-content: center; }
body .npc .npc-cmpbar-in { background: #1a1d21; color: #fff; border-radius: 12px; padding: 8px 10px 8px 20px; display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); max-width: 100%; }
body .npc .npc-cmpbar-n { font-weight: 400; }
body .npc .npc-cmpbar-n.npc-warn-t { color: #ffd27a; }
body .npc .npc-cmpbar-items { display: flex; gap: 6px; flex-wrap: wrap; }
body .npc .npc-cmpbar-item { background: #33373d; color: #fff; border: 0; border-radius: 999px; padding: 4px 12px; font-size: 12px; min-height: 32px; }
body .npc .npc-cmpbar-clear { background: none; border: 0; color: #fff; text-decoration: underline; font-size: 12px; min-height: 44px; }
body .npc .npc-cmpbar-open { background: #fff; color: #1a1d21; border: 0; border-radius: 8px; padding: 0 16px; min-height: 44px; font-weight: 700; }
body .npc .npc-cmpbar-open:disabled { opacity: .5; cursor: default; }
body .npc .npc-dialog { border: 0; border-radius: 12px; padding: 0; max-width: min(960px, calc(100vw - 24px)); width: 100%; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: hidden; color: var(--npc-text); }
body .npc .npc-dialog::backdrop { background: rgba(0, 0, 0, .45); }
body .npc .npc-dialog-in { display: flex; flex-direction: column; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
body .npc .npc-dialog-head { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--npc-line); }
body .npc .npc-dialog-close { background: none; border: 0; font-size: 22px; min-width: 44px; min-height: 44px; }
body .npc .npc-dialog-body { padding: 12px 16px 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; }
body .npc .npc-cmpt-wrap { overflow-x: auto; }
body .npc .npc-cmpt { border-collapse: collapse; width: 100%; font-size: 13px; margin: 0; }
body .npc .npc-cmpt th, body .npc .npc-cmpt td { border: 0; border-bottom: 1px solid var(--npc-line); padding: 10px; text-align: left; vertical-align: top; min-width: 150px; }
body .npc .npc-cmpt th { color: var(--npc-sub); font-weight: 700; min-width: 110px; background: var(--npc-head); }
body .npc .npc-cmpt .npc-real { font-size: 18px; color: var(--npc-text); }
body .npc .npc-cmpt .npc-min { color: var(--npc-orange); }
body .npc .npc-cmpt small { color: var(--npc-sub); }
html.npc-lock, html.npc-lock body { overflow: hidden !important; }

body .npc .npc-empty { padding: 12px; border: 1px dashed #c00; color: #c00; font-size: 13px; }

body .npc.npc-price { container-type: inline-size; container-name: npcw; }

/* 本文幅 760〜979px：詰めた表（2段） */
@container npcw (min-width: 760px) and (max-width: 979px) {
  body .npc .npc-filters { padding: 16px 18px; }
  body .npc .npc-table, body .npc .npc-table thead, body .npc .npc-table tbody { display: block; }
  body .npc .npc-table tr { display: grid; grid-template-columns: 40px minmax(150px, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) 128px; grid-template-areas: "cmp svc mon cb real cta" "cmp dev diff diff real cta"; align-items: center; border-bottom: 1px solid var(--npc-line); }
  body .npc .npc-table tbody tr:last-child { border-bottom: 0; }
  body .npc .npc-table th, body .npc .npc-table td { border: 0; padding: 10px 8px; width: auto !important; }
  body .npc .npc-table thead th.npc-c-dev, body .npc .npc-table thead th.npc-c-diff { display: none; }
  body .npc .npc-table .npc-c-cmp { grid-area: cmp; align-self: stretch; display: flex; align-items: center; justify-content: center; }
  body .npc .npc-table .npc-c-svc { grid-area: svc; }
  body .npc .npc-table .npc-c-dev { grid-area: dev; padding-top: 0; }
  body .npc .npc-table .npc-c-mon { grid-area: mon; }
  body .npc .npc-table .npc-c-cb { grid-area: cb; }
  body .npc .npc-table .npc-c-real { grid-area: real; }
  body .npc .npc-table .npc-c-diff { grid-area: diff; padding-top: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 2px 12px; }
  body .npc .npc-table .npc-c-cta { grid-area: cta; align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 10px 10px 10px 4px; }
  body .npc .npc-table thead .npc-c-cta { display: block; }
  body .npc .npc-table td.npc-c-dev:empty, body .npc .npc-table td.npc-c-diff:empty { display: none; }
  body .npc .npc-dev-t { display: inline; font-size: 13px; margin-right: 6px; }
  body .npc .npc-dev-s { display: inline; }
  body .npc .npc-dev-t::before { content: "端末："; font-weight: 400; color: var(--npc-sub); font-size: 12px; }
  body .npc .npc-real { font-size: 22px; }
  body .npc .npc-cta { font-size: 12px; }
  body .npc .npc-alt { background: #fafbfc; }
  body .npc .npc-alt td { background: none; }
}

/* 本文幅 760px未満（スマホ・狭い本文）：カード */
@container npcw (max-width: 759px) {
  body .npc .npc-head { flex-direction: column; align-items: flex-start; gap: 0; }
  body .npc .npc-intro { padding: 14px 16px 12px; }
  body .npc .npc-title { font-size: 16px; }
  body .npc .npc-pts ul { flex-direction: column; gap: 2px; }
  body .npc .npc-updated { font-size: 12px; }
  body .npc .npc-filters { padding: 16px; gap: 12px; }
  body .npc .npc-frow { flex-direction: column; align-items: stretch; gap: 8px; }
  body .npc .npc-flabel { width: auto; font-size: 13px; }
  body .npc .npc-fsep { display: none; }
  body .npc .npc-indent { padding-left: 0; }
  body .npc .npc-chips-cat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .npc .npc-chips-cat .npc-chip { padding: 0 8px; font-size: 14px; }
  body .npc .npc-chips-use { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body .npc .npc-chips-use .npc-chip { padding: 0 4px; font-size: 13px; white-space: nowrap; }
  body .npc .npc-chip, body .npc .npc-chip-sm { height: auto; min-height: 44px; border-radius: 999px; white-space: normal; }
  /* 1.1.10：「すべて」が並ぶので、速度・回線・端末にも見出しを出す */
  body .npc .npc-fgrp { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
  body .npc .npc-f-hikari, body .npc .npc-f-mobile { gap: 12px; }
  body .npc .npc-f-use .npc-flabel { font-size: 13px; color: var(--npc-text); }
  body .npc .npc-f-use .npc-flabel::after { content: "（乗り換えの比較）"; font-weight: 400; font-size: 12px; color: var(--npc-sub); }
  body .npc .npc-sel { height: 44px; font-size: 16px; width: 100%; }
  body .npc .npc-inl { flex-direction: column; align-items: stretch; gap: 6px; font-size: 12px; }
  body .npc .npc-curinfo { font-size: 12px; padding: 10px 12px; }

  body .npc .npc-bar { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 8px; margin: 16px 0 10px; }
  body .npc .npc-ctrls { display: contents; }
  body .npc .npc-ctl-l, body .npc .npc-sort-seg { display: none; }
  body .npc .npc-ctl-period { display: block; grid-row: 1; grid-column: 1; margin: 0; font-size: 13px; font-weight: 700; color: var(--npc-sub); }
  body .npc .npc-period-seg { grid-row: 1; grid-column: 2; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  body .npc .npc-period-seg button { min-height: 44px; padding: 0; font-size: 13px; }
  body .npc .npc-count { grid-row: 2; grid-column: 1; }
  body .npc .npc-sort-sel { display: block; grid-row: 2; grid-column: 2; justify-self: end; width: auto; max-width: 100%; padding: 0 10px; }
  body .npc .npc-note-top { font-size: 11px; line-height: 1.6; }

  body .npc .npc-table-wrap { background: none; border: 0; border-radius: 0; overflow: visible; }
  body .npc .npc-table { display: block; table-layout: auto; }
  body .npc .npc-table thead { display: none; }
  body .npc .npc-tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
  body .npc .npc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "svc cmp" "real real" "mon mon" "cb cb" "dev dev" "diff diff" "cta cta"; gap: 8px 10px; background: #fff; border: 1px solid var(--npc-line); border-radius: 12px; padding: 16px; align-content: start; }
  body .npc .npc-row.npc-best { border: 2px solid var(--npc-orange); }
  body .npc .npc-row.npc-alt { background: #fafbfc; border-style: dashed; }
  body .npc .npc-table td { display: block; padding: 0 !important; border: 0; background: none !important; width: auto !important; min-width: 0; text-align: left; }
  body .npc .npc-table td.npc-c-mon, body .npc .npc-table td.npc-c-cb { text-align: right; }
  body .npc .npc-table td.npc-c-real { text-align: left; }
  body .npc .npc-c-svc { grid-area: svc; }
  body .npc .npc-name { font-size: 17px; }
  body .npc .npc-alt-btn { min-height: 44px; font-size: 13px; }
  body .npc .npc-c-cmp { grid-area: cmp; }
  body .npc .npc-table td.npc-c-cmp { text-align: right; }
  body .npc .npc-cmp-l { font-size: 12px; color: var(--npc-sub); }
  body .npc .npc-cmp-l span { position: static; width: auto; height: auto; clip: auto; overflow: visible; }
  body .npc .npc-cmp { width: 20px; height: 20px; }
  body .npc .npc-c-real { grid-area: real; align-self: end; padding-top: 4px !important; }
  body .npc .npc-c-real .npc-lbl { display: block; font-size: 12px; color: var(--npc-sub); }
  body .npc .npc-real { font-size: 30px; }
  body .npc .npc-real small { font-size: 14px; }
  body .npc .npc-realwrap { padding-right: 11px; }
  body .npc .npc-c-mon { grid-area: mon; font-size: 12px; }
  body .npc .npc-c-cb { grid-area: cb; font-size: 12px; }
  body .npc .npc-table td.npc-c-mon, body .npc .npc-table td.npc-c-cb { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; column-gap: 8px; border-top: 1px solid var(--npc-line); padding-top: 8px !important; }
  body .npc .npc-table td.npc-c-mon > .npc-lbl, body .npc .npc-table td.npc-c-cb > .npc-lbl { margin-right: auto !important; }
  body .npc .npc-table td.npc-c-mon > .npc-setmsg, body .npc .npc-table td.npc-c-cb > .npc-cbk { flex-basis: 100%; text-align: right; }
  body .npc .npc-c-mon .npc-lbl, body .npc .npc-c-cb .npc-lbl { display: inline; color: var(--npc-sub); margin-right: 8px; }
  body .npc .npc-mon-wrap { display: inline; }
  body .npc .npc-strike { margin-right: 4px; }
  body .npc .npc-c-mon .npc-amt, body .npc .npc-c-cb .npc-amt { font-size: 14px; }
  body .npc .npc-setb { display: none; }
  body .npc .npc-setmsg { display: block; }
  body .npc .npc-nil { font-size: 13px; }
  body .npc .npc-c-dev { grid-area: dev; background: var(--npc-head); border-radius: 8px; padding: 8px 12px !important; }
  body .npc .npc-c-dev:empty { display: none !important; }
  body .npc .npc-c-dev .npc-lbl { display: inline; font-size: 12px; color: var(--npc-sub); margin-right: 8px; }
  body .npc .npc-dev-t { display: inline; font-size: 14px; }
  body .npc .npc-c-diff { grid-area: diff; display: flex !important; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 8px; background: var(--npc-grey) !important; border-radius: 8px; padding: 10px 12px !important; }
  body .npc .npc-c-diff:empty { display: none !important; }
  body .npc .npc-row:has(.npc-dm.npc-cheap) .npc-c-diff { background: var(--npc-blue-bg) !important; }
  body .npc .npc-dm-p { display: inline; }
  body .npc .npc-c-cta { grid-area: cta; display: flex !important; flex-direction: column; gap: 8px; }
  body .npc .npc-cover { order: -1; margin: 0; font-size: 12px; }
  body .npc .npc-cta { min-height: 48px; font-size: 15px; padding: 10px; }
  body .npc .npc-more { width: 100%; }
  body .npc .npc-foot { font-size: 11px; }
  body .npc .npc-cmpbar { bottom: 8px; }
  body .npc .npc-cmpbar-in { width: 100%; justify-content: space-between; padding: 8px 8px 8px 16px; }
  body .npc .npc-cmpbar-items, body .npc .npc-cmpbar-clear { display: none; }
}

/* さらに狭いとき（本文幅360px未満）：実質月額と月額料金を縦に並べる */
@container npcw (max-width: 359px) {
  body .npc .npc-row { grid-template-areas: "svc cmp" "real real" "mon mon" "cb cb" "dev dev" "diff diff" "cta cta"; }
  body .npc .npc-table td.npc-c-mon, body .npc .npc-table td.npc-c-cb { text-align: left; }
  body .npc .npc-c-mon .npc-lbl, body .npc .npc-c-cb .npc-lbl { display: inline-block; min-width: 7.5em; }
}

/* コンテナクエリ非対応の古いブラウザ向け：狭い画面では横にスクロールする表 */
@supports not (container-type: inline-size) {
  @media (max-width: 767px) {
    body .npc .npc-table { min-width: 760px; }
    body .npc .npc-indent { padding-left: 0; }
    body .npc .npc-flabel { width: auto; }
  }
}

@media (max-width: 767px) {
  body .npc select { font-size: 16px; }
}
body .npc .npc-intro > :last-child { margin-bottom: 0; }
body .npc .npc-cbk { display: block; font-size: 11px; color: var(--npc-sub); font-weight: 400; line-height: 1.4; }
body .npc .npc-table thead th .npc-th-sub { display: block; font-size: 10px; font-weight: 400; color: var(--npc-sub); line-height: 1.3; }

/* 10/20 背景の色（iPhone価格比較と同じ色づかい）：実質月額の列・一番安い行・並べ替え中の見出し */
body .npc .npc-table thead th.npc-sorted { background: var(--npc-blue-bg); }
body .npc .npc-table td.npc-c-real { background: #f7f9fd; }
body .npc .npc-table tr.npc-best td { background: #fff8f2; }
body .npc .npc-table tr.npc-best td.npc-c-real { background: var(--npc-orange-bg); }
@container npcw (min-width: 760px) and (max-width: 979px) {
  body .npc .npc-table tr.npc-best { background: #fff8f2; }
  body .npc .npc-table td.npc-c-real { grid-row: 1 / -1; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  body .npc .npc-table thead tr { grid-template-areas: "cmp svc mon cb real cta"; align-items: stretch; }
  body .npc .npc-table thead th { display: block; align-self: stretch; }
  body .npc .npc-table thead th.npc-c-dev, body .npc .npc-table thead th.npc-c-diff { display: none; }
  body .npc .npc-table thead th.npc-c-real { text-align: center; }
  body .npc .npc-table thead th.npc-c-cmp { display: flex; align-items: center; justify-content: center; }
  body .npc .npc-table th.npc-c-mon, body .npc .npc-table th.npc-c-cb, body .npc .npc-table td.npc-c-mon, body .npc .npc-table td.npc-c-cb { text-align: left; padding-left: 12px; }
  body .npc .npc-table .npc-mon-wrap { align-items: flex-start; }
}
@container npcw (max-width: 759px) {
  body .npc .npc-row.npc-best { background: #fff8f2; }
  body .npc .npc-table td.npc-c-real { background: none !important; }
}
/* 10/21 ロゴ（Excelの「ロゴ」シートにURLがあるサービスだけ。名前も文字で残す） */
body .npc .npc-logo { display: block; width: auto; height: auto; max-height: 28px; max-width: min(160px, 100%); object-fit: contain; margin: 0 0 4px; }
@container npcw (max-width: 759px) {
  body .npc .npc-logo { max-height: 30px; max-width: min(160px, 100%); }
}

/* 1.1.10：「役に立った」ボタン（iPhone価格比較と同じ見た目） */
body .npc .npc-like { margin: 16px 0 0 !important; padding: 14px 12px; border: 1px solid var(--npc-line); border-radius: 12px; text-align: center; background: #fff; }
body .npc .npc-like-q { margin: 0 0 8px !important; font-size: 14px; color: var(--npc-sub); }
body .npc .npc-like-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 20px; border: 2px solid var(--npc-blue); border-radius: 999px; background: #fff; color: var(--npc-blue); font-size: 15px; font-weight: 700; cursor: pointer; }
body .npc .npc-like-btn:hover { background: var(--npc-blue-bg); }
body .npc .npc-like-btn[aria-pressed="true"] { background: var(--npc-blue-bg); cursor: default; }
body .npc .npc-like-btn:disabled { opacity: 1; }
body .npc .npc-like-i { display: flex; width: 20px; height: 20px; line-height: 1; }   /* iPhone価格比較 1.1.27 と同じ親指の線のアイコン */
body .npc .npc-like-i svg { display: block; width: 20px; height: 20px; }
body .npc .npc-like-n { font-variant-numeric: tabular-nums; padding-left: 6px; border-left: 1px solid currentColor; margin-left: 2px; }
body .npc .npc-like-thx { margin: 8px 0 0 !important; font-size: 13px; color: var(--npc-sub); }

/* 1.1.13：掲載している会社の数と一覧 */
body .npc .npc-svcs { margin: 6px 0 0; font-size: 13px; color: var(--npc-sub); display: flex; align-items: center; flex-wrap: wrap; }
body .npc .npc-svcs strong { font-size: 15px; color: var(--npc-blue); margin: 0 1px 0 4px; }
body .npc .npc-svcs .npc-tip { margin-left: 6px; }
body .npc .npc-svlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; margin: 4px 0 2px; }
body .npc .npc-svlist span { display: block; font-size: 12px; line-height: 1.6; }
