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

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

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

/* 表 */
body .ksc .ksc-table-wrap { background: #fff; border: 1px solid var(--ksc-line); border-radius: 12px; overflow-x: auto; }
body .ksc .ksc-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 0; border: 0; font-size: 14px; }
body .ksc .ksc-table th, body .ksc .ksc-table td { border: 0; border-bottom: 1px solid var(--ksc-line); padding: 16px 8px; text-align: left; vertical-align: middle; background: none; word-break: normal; overflow-wrap: anywhere; }
body .ksc .ksc-table tbody tr:last-child td { border-bottom: 0; }
body .ksc .ksc-table thead th { background: var(--ksc-head); font-size: 12px; font-weight: 700; color: var(--ksc-sub); padding: 12px 8px; white-space: nowrap; overflow-wrap: normal; }
body .ksc .ksc-table thead th.ksc-sorted { color: var(--ksc-blue); }
body .ksc .ksc-table thead th.ksc-sorted .ksc-th-main::after { content: " ▼"; }   /* 1.1.14：▼は見出しの1行目のすぐ後ろ */
body .ksc .ksc-table th.ksc-c-mon, body .ksc .ksc-table th.ksc-c-cb, body .ksc .ksc-table th.ksc-c-real,
body .ksc .ksc-table td.ksc-c-mon, body .ksc .ksc-table td.ksc-c-cb, body .ksc .ksc-table td.ksc-c-real { text-align: center; }   /* 10/20 右寄せだとサービス名との間が空くので中央に */
body .ksc .ksc-table th.ksc-c-mon, body .ksc .ksc-table th.ksc-c-cb, body .ksc .ksc-table td.ksc-c-mon, body .ksc .ksc-table td.ksc-c-cb { text-align: left; padding-left: 12px; }   /* 10/20 サービス名の続きに読めるよう左寄せ（iPhoneのツールと同じ） */
body .ksc .ksc-table .ksc-mon-wrap { align-items: flex-start; }
body .ksc .ksc-table .ksc-c-cmp { width: 52px; text-align: center; padding-left: 4px; padding-right: 4px; }
body .ksc .ksc-table .ksc-c-svc { width: 17%; }
body .ksc .ksc-table .ksc-c-dev { width: 15%; }
body .ksc .ksc-table .ksc-c-mon { width: 13%; }
body .ksc .ksc-table .ksc-c-cb { width: 13%; }
body .ksc .ksc-table .ksc-c-real { width: 13%; white-space: nowrap; overflow-wrap: normal; }
body .ksc .ksc-table .ksc-c-diff { width: 18%; }
body .ksc .ksc-table .ksc-c-cta { width: auto; padding-left: 12px; padding-right: 12px; }
body .ksc.ksc-is-mobile .ksc-table .ksc-c-svc { width: 17%; }
body .ksc.ksc-is-mobile .ksc-table .ksc-c-mon, body .ksc.ksc-is-mobile .ksc-table .ksc-c-cb { width: 10.5%; }
body .ksc.ksc-is-mobile .ksc-table .ksc-c-diff { width: 16%; }
body .ksc.ksc-is-hikari .ksc-c-dev { display: none !important; }
/* 1.1.14 速度の列（光回線だけ。PCの表のとき）。表のときはサービス名の下のラベルは出さない */
body .ksc .ksc-table .ksc-c-spd { width: 7%; text-align: center; white-space: nowrap; }
/* 1.1.14 光回線の表（端末の列がない）：サービスを広く、金額の列を少し詰める */
/* 1.1.14（11/02）列の中身どうしの間隔をそろえるため、列の幅は中身に合わせた固定幅。余った幅は申し込みボタンの列へ（表のときだけ） */
/* 速度・月額料金・キャッシュバックは同じ幅で中央寄せ（列の間隔をそろえる。表のときだけ） */
@container kscw (min-width: 760px) {
  body .ksc.ksc-price.ksc-is-pocket .ksc-table .ksc-sub-gb { display: none; }   /* 表ではデータ量は列に出す */
  body .ksc.ksc-price:not(.ksc-is-hikari) .ksc-table td.ksc-c-svc, body .ksc.ksc-price:not(.ksc-is-hikari) .ksc-table th.ksc-c-svc { padding-right: 20px; }
  body .ksc.ksc-price .ksc-table td.ksc-c-cta { padding-left: 8px; padding-right: 8px; }
  body .ksc.ksc-price .ksc-table th.ksc-c-spd, body .ksc.ksc-price .ksc-table td.ksc-c-spd,
  body .ksc.ksc-price .ksc-table th.ksc-c-gb, body .ksc.ksc-price .ksc-table td.ksc-c-gb,
  body .ksc.ksc-price .ksc-table th.ksc-c-mon, body .ksc.ksc-price .ksc-table td.ksc-c-mon,
  body .ksc.ksc-price .ksc-table th.ksc-c-cb, body .ksc.ksc-price .ksc-table td.ksc-c-cb { text-align: center; padding-left: 8px; padding-right: 8px; }
  body .ksc.ksc-price .ksc-table thead th.ksc-c-spd, body .ksc.ksc-price .ksc-table thead th.ksc-c-mon, body .ksc.ksc-price .ksc-table thead th.ksc-c-cb { padding-left: 2px; padding-right: 2px; }
  body .ksc.ksc-price .ksc-table .ksc-mon-wrap { align-items: center; }
}
body .ksc .ksc-nw { white-space: nowrap; }
body .ksc .ksc-multi-note { display: block; font-weight: 400; font-size: 11px; color: var(--ksc-sub); }
body .ksc .ksc-spd-v { font-size: 15px; font-weight: 700; }
body .ksc:not(.ksc-is-hikari) .ksc-c-spd { display: none !important; }
body .ksc:not(.ksc-is-pocket) .ksc-c-gb { display: none !important; }   /* 1.1.14 データ量の列はポケット型WiFiだけ */
body .ksc .ksc-table .ksc-c-svc > span.ksc-spd { display: none; }
body .ksc.ksc-nodiff .ksc-c-diff { display: none !important; }
body .ksc .ksc-lbl { display: none; }
body .ksc .ksc-cmp-l { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; cursor: pointer; gap: 6px; }
body .ksc .ksc-cmp-l span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body .ksc .ksc-cmp { width: 18px; height: 18px; accent-color: var(--ksc-blue); margin: 0; }
body .ksc .ksc-c-svc > span, body .ksc .ksc-c-svc > strong { display: block; }
body .ksc .ksc-bestb { display: inline-block !important; width: fit-content; font-size: 12px; font-weight: 700; color: #fff; background: var(--ksc-orange); border-radius: 999px; padding: 3px 10px; margin-bottom: 6px; line-height: 1.5; white-space: nowrap; letter-spacing: .02em; }
body .ksc .ksc-altb { display: inline-block !important; font-size: 11px; color: var(--ksc-sub); border: 1px solid var(--ksc-line); border-radius: 4px; padding: 0 6px; margin-bottom: 4px; }
body .ksc .ksc-name { font-size: 15px; font-weight: 700; line-height: 1.4; }
/* 1.1.14：光回線の速度ラベル（サービス名の下） */
body .ksc .ksc-c-svc > span.ksc-spd, body .ksc .ksc-spd { display: block; width: fit-content; font-size: 12px; font-weight: 700; line-height: 1.5; color: var(--ksc-blue); background: var(--ksc-blue-bg); border-radius: 999px; padding: 1px 10px; margin: 4px 0 2px; white-space: nowrap; }
body .ksc .ksc-sub { font-size: 12px; color: var(--ksc-sub); line-height: 1.5; margin-top: 2px; }
body .ksc .ksc-note { font-size: 11px; color: var(--ksc-sub); line-height: 1.5; margin-top: 2px; }
body .ksc .ksc-warn { font-size: 11px; color: var(--ksc-text); line-height: 1.5; background: #fff8e6; border-radius: 4px; padding: 2px 6px; margin-top: 4px; }
body .ksc .ksc-alt-btn { display: inline-flex; align-items: center; min-height: 32px; margin-top: 4px; padding: 0; border: 0; background: none; color: var(--ksc-blue); font-size: 12px; text-decoration: underline; text-align: left; }
body .ksc .ksc-alt td { background: #fafbfc; }
body .ksc .ksc-dev-t { display: block; font-size: 15px; font-weight: 700; line-height: 1.4; }
body .ksc .ksc-dev-s { display: block; font-size: 12px; color: var(--ksc-sub); line-height: 1.5; margin-top: 2px; }
body .ksc .ksc-mon-wrap { display: flex; flex-direction: column; align-items: center; }
body .ksc .ksc-strike { font-size: 12px; color: var(--ksc-sub); }
body .ksc .ksc-amt { font-size: 16px; font-weight: 700; white-space: nowrap; }
body .ksc .ksc-g { color: var(--ksc-green); }
body .ksc .ksc-setb { display: block; font-size: 11px; color: var(--ksc-green); }
body .ksc .ksc-setmsg { display: none; font-size: 11px; color: var(--ksc-green); }
body .ksc .ksc-nil { font-size: 14px; color: var(--ksc-sub); }
body .ksc .ksc-realwrap { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
body .ksc .ksc-real { font-size: 24px; font-weight: 700; color: var(--ksc-text); line-height: 1.2; }   /* 1.1.10：iPhone価格比較と同じく、オレンジは一番安い行だけ */
body .ksc .ksc-best .ksc-real { color: var(--ksc-orange); }
body .ksc .ksc-real small { font-size: 13px; font-weight: 700; }
body .ksc .ksc-dm { display: block; font-size: 13px; color: var(--ksc-sub); }
body .ksc .ksc-dm strong { font-size: 16px; color: var(--ksc-text); }
body .ksc .ksc-dm.ksc-cheap { color: var(--ksc-text); }
body .ksc .ksc-dm.ksc-cheap strong { color: var(--ksc-blue); }
body .ksc .ksc-dm-p { display: none; }
body .ksc .ksc-dt { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 12px; font-weight: 700; color: var(--ksc-sub); }
body .ksc .ksc-dt.ksc-good { color: var(--ksc-blue); }
body .ksc .ksc-cta { display: flex; align-items: center; justify-content: center; min-height: 44px; text-align: center; background: var(--ksc-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 .ksc .ksc-cta:hover { background: #083f92; }
body .ksc .ksc-best .ksc-cta { background: var(--ksc-orange); }
body .ksc .ksc-best .ksc-cta:hover { background: #9a3412; }
body .ksc .ksc-cover { display: block; font-size: 11px; color: var(--ksc-sub); margin-top: 6px; line-height: 1.5; }
body .ksc .ksc-none { padding: 24px; text-align: center; color: var(--ksc-sub); }
body .ksc .ksc-more { display: block; width: calc(100% - 24px); margin: 12px auto; min-height: 48px; border: 1px solid var(--ksc-blue); border-radius: 8px; background: #fff; color: var(--ksc-blue); font-size: 15px; font-weight: 700; }
body .ksc .ksc-foot { font-size: 12px; color: var(--ksc-sub); margin-top: 12px; line-height: 1.7; }
body .ksc .ksc-foot p + p { margin-top: 2px; }
body .ksc.ksc-nodiff .ksc-foot-diff { display: none; }
body .ksc .ksc-ssr .ksc-c-cmp { padding: 0; }

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

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

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

body .ksc.ksc-price { container-type: inline-size; container-name: kscw; }

/* 本文幅 760〜979px：詰めた表（2段） */
@container kscw (min-width: 760px) and (max-width: 979px) {
  body .ksc .ksc-filters { padding: 16px 18px; }
  body .ksc .ksc-table, body .ksc .ksc-table thead, body .ksc .ksc-table tbody { display: block; }
  body .ksc .ksc-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(--ksc-line); }
  body .ksc .ksc-table tbody tr:last-child { border-bottom: 0; }
  body .ksc .ksc-table th, body .ksc .ksc-table td { border: 0; padding: 10px 8px; width: auto !important; }
  body .ksc .ksc-table thead th.ksc-c-dev, body .ksc .ksc-table thead th.ksc-c-diff { display: none; }
  body .ksc.ksc-is-hikari .ksc-table tr { grid-template-columns: 40px minmax(160px, 168px) 84px 96px 116px 124px minmax(136px, 1fr); grid-template-areas: "cmp svc spd mon cb real cta" "cmp diff spd mon cb real cta"; }   /* 「今の月額と比べて」はサービスの下。ほかの列は2段ぶんの高さの中央 */
  body .ksc .ksc-table .ksc-c-spd { grid-area: spd; }
  /* 1.1.14 光回線以外：端末を2段目ではなく列に（ユーザー指示 11/02） */
  body .ksc:not(.ksc-is-hikari) .ksc-table tr { grid-template-columns: 40px minmax(124px, 160px) minmax(112px, 170px) minmax(84px, 96px) minmax(100px, 116px) minmax(116px, 124px) minmax(136px, 1fr); grid-template-areas: "cmp svc dev mon cb real cta" "cmp diff dev mon cb real cta"; }   /* サービスを1段目だけにして、端末・月額・CBと高さの中央をそろえる */
  body .ksc:not(.ksc-is-hikari) .ksc-table thead th.ksc-c-dev { display: block; align-self: stretch; padding: 10px 8px; }
  body .ksc:not(.ksc-is-hikari) .ksc-table thead tr { grid-template-areas: "cmp svc dev mon cb real cta"; }   /* 見出しは1段 */
  body .ksc.ksc-is-hikari .ksc-table thead tr { grid-template-areas: "cmp svc spd mon cb real cta"; }
  /* 「今の月額と比べて」を出さないときは1段にして、全部の列の高さの中央をそろえる */
  body .ksc.ksc-nodiff.ksc-is-hikari .ksc-table tr { grid-template-areas: "cmp svc spd mon cb real cta"; }
  body .ksc.ksc-nodiff:not(.ksc-is-hikari) .ksc-table tr { grid-template-areas: "cmp svc dev mon cb real cta"; }
  body .ksc.ksc-price.ksc-is-pocket .ksc-table tr { grid-template-columns: 40px minmax(108px, 140px) minmax(60px, 76px) minmax(104px, 136px) minmax(84px, 92px) minmax(100px, 116px) minmax(116px, 124px) minmax(136px, 1fr); grid-template-areas: "cmp svc gb dev mon cb real cta" "cmp diff gb dev mon cb real cta"; }
  body .ksc.ksc-price.ksc-is-pocket .ksc-table thead tr, body .ksc.ksc-price.ksc-nodiff.ksc-is-pocket .ksc-table tr { grid-template-areas: "cmp svc gb dev mon cb real cta"; }
  body .ksc .ksc-table .ksc-c-gb { grid-area: gb; }
  body .ksc:not(.ksc-is-hikari) .ksc-table td.ksc-c-dev { padding-top: 10px; }
  body .ksc:not(.ksc-is-hikari) .ksc-dev-t { display: inline; font-size: 14px; margin-right: 0; }
  body .ksc:not(.ksc-is-hikari) .ksc-dev-s { display: block; font-size: 12px; color: var(--ksc-sub); line-height: 1.5; }
  body .ksc:not(.ksc-is-hikari) .ksc-dev-t::before { content: none; }
  body .ksc .ksc-table .ksc-c-cmp { grid-area: cmp; align-self: stretch; display: flex; align-items: center; justify-content: center; }
  body .ksc .ksc-table .ksc-c-svc { grid-area: svc; }
  body .ksc .ksc-table .ksc-c-dev { grid-area: dev; padding-top: 0; }
  body .ksc .ksc-table .ksc-c-mon { grid-area: mon; }
  body .ksc .ksc-table .ksc-c-cb { grid-area: cb; }
  body .ksc .ksc-table .ksc-c-real { grid-area: real; }
  body .ksc .ksc-table .ksc-c-diff { grid-area: diff; padding-top: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 2px 12px; }
  body .ksc .ksc-table .ksc-c-cta { grid-area: cta; align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 10px 10px 10px 4px; }
  body .ksc .ksc-table thead .ksc-c-cta { display: block; }
  body .ksc .ksc-table td.ksc-c-dev:empty, body .ksc .ksc-table td.ksc-c-diff:empty { display: none; }
  body .ksc .ksc-dev-t { display: inline; font-size: 13px; margin-right: 6px; }
  body .ksc .ksc-dev-s { display: inline; }
  body .ksc .ksc-dev-t::before { content: "端末："; font-weight: 400; color: var(--ksc-sub); font-size: 12px; }
  body .ksc .ksc-real { font-size: 22px; }
  body .ksc .ksc-cta { font-size: 12px; }
  body .ksc .ksc-alt { background: #fafbfc; }
  body .ksc .ksc-alt td { background: none; }
}

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

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

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

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

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

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

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

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

/* 1.1.13：掲載している会社の数と一覧 */
body .ksc .ksc-svcs { margin: 6px 0 0; font-size: 13px; color: var(--ksc-sub); display: flex; align-items: center; flex-wrap: wrap; }
body .ksc .ksc-svcs strong { font-size: 15px; color: var(--ksc-blue); margin: 0 1px 0 4px; }
body .ksc .ksc-svcs .ksc-tip { margin-left: 6px; }
body .ksc .ksc-svlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; margin: 4px 0 2px; }
body .ksc .ksc-svlist span { display: block; font-size: 12px; line-height: 1.6; }
/* 1.1.14 広い表（980px〜）：列の幅を固定して間隔をそろえる。余りは申し込みボタンの列 */
@container kscw (min-width: 980px) {
  body .ksc.ksc-price .ksc-table .ksc-c-cmp { width: 52px; }
  body .ksc.ksc-price .ksc-table .ksc-c-svc { width: 180px; }
  body .ksc.ksc-price.ksc-is-hikari .ksc-table .ksc-c-svc { width: 176px; }
  body .ksc.ksc-price .ksc-table .ksc-c-spd { width: 92px; }
  body .ksc.ksc-price .ksc-table .ksc-c-gb { width: 92px; }
  body .ksc.ksc-price .ksc-table .ksc-c-dev { width: 170px; }
  body .ksc.ksc-price .ksc-table .ksc-c-mon { width: 104px; }
  body .ksc.ksc-price .ksc-table .ksc-c-cb { width: 124px; }
  body .ksc.ksc-price .ksc-table .ksc-c-real { width: 136px; }
  body .ksc.ksc-price .ksc-table .ksc-c-diff { width: 150px; }
  body .ksc.ksc-price .ksc-table .ksc-c-cta { width: auto; }
}
/* 1.1.14（11/02 ユーザー指摘「見出しの文字が水平になっていない・左詰めと中央揃えが混ざっている」）
   表のとき（760px〜）は、見出しも中身もすべて中央揃え。見出しの1行目は全部同じ高さ（上そろえ・同じ余白） */
@container kscw (min-width: 760px) {
  body .ksc.ksc-price .ksc-table thead th { vertical-align: top; text-align: center !important; padding: 12px 4px 10px !important; white-space: nowrap; line-height: 1.4; }
  body .ksc.ksc-price .ksc-table tbody td { text-align: center !important; }
  body .ksc.ksc-price .ksc-table td.ksc-c-svc > *, body .ksc.ksc-price .ksc-table td.ksc-c-dev > * { margin-left: auto; margin-right: auto; }
  body .ksc.ksc-price .ksc-table td.ksc-c-svc .ksc-logo { margin-left: auto; margin-right: auto; }
  body .ksc.ksc-price .ksc-table td.ksc-c-svc, body .ksc.ksc-price .ksc-table td.ksc-c-dev { padding-left: 8px !important; padding-right: 8px !important; }
  body .ksc.ksc-price .ksc-table .ksc-c-diff { justify-content: center !important; }
  body .ksc.ksc-price .ksc-table .ksc-mon-wrap { align-items: center !important; justify-content: center; }
  body .ksc.ksc-price .ksc-table td.ksc-c-real { align-items: center; }
}
@container kscw (min-width: 760px) and (max-width: 979px) {
  body .ksc.ksc-price .ksc-table thead th { display: block; align-self: stretch; }
  body .ksc.ksc-price .ksc-table thead th.ksc-c-cmp { display: block !important; }
}
@container kscw (min-width: 760px) and (max-width: 819px) {
  body .ksc.ksc-price .ksc-table thead th { font-size: 11px; letter-spacing: -.02em; padding-left: 2px !important; padding-right: 2px !important; }
}
/* 1.1.14（11/02 ユーザー指示「中央揃えと左詰めをルール化」）
   ルール：見出し（先頭行）はすべて中央。中身はサービスの列だけ左詰め、ほかの列はすべて中央。端末の列は1行だけ（説明は「?」） */
@container kscw (min-width: 760px) {
  body .ksc.ksc-price .ksc-table tbody td.ksc-c-svc { text-align: left !important; }
  body .ksc.ksc-price .ksc-table td.ksc-c-svc > *, body .ksc.ksc-price .ksc-table td.ksc-c-svc .ksc-logo { margin-left: 0; margin-right: 0; }
  body .ksc.ksc-price .ksc-table .ksc-c-diff { justify-content: flex-start !important; }
  body .ksc.ksc-price .ksc-table td.ksc-c-dev .ksc-dev-t { white-space: nowrap; }
}
/* 1.1.14 見出しを押して並び替え */
body .ksc .ksc-table thead th[data-sort] { cursor: pointer; user-select: none; }
body .ksc .ksc-table thead th[data-sort]:hover { color: var(--ksc-blue); text-decoration: underline; text-underline-offset: 3px; }
body .ksc .ksc-table thead th[data-sort]:focus-visible { outline: 2px solid var(--ksc-blue); outline-offset: -2px; }
/* 端末の「?」 */
body .ksc .ksc-tip-dev { margin-left: 4px; vertical-align: middle; }

/* 申し込みボタン：「申し込みサイトで」「確認する」のあいだでだけ折り返す */
body .ksc .ksc-cta .ksc-nw { display: inline-block; white-space: nowrap; }
body .ksc .ksc-cta { flex-wrap: wrap; justify-content: center; align-content: center; column-gap: 0; }

/* 端末の列：金額の下に「購入／レンタル」 */
body .ksc .ksc-dev-k { display: block; font-size: 12px; color: var(--ksc-sub); line-height: 1.5; margin-top: 2px; }

/* 1.1.15：優待コード（申し込みボタンの上）。1行目「優待コード ?」、2行目「コード ［コピー］」で固定（押しても形が変わらない） */
body .ksc .ksc-code { display: flex; flex-direction: column; align-items: center; gap: 3px; margin: 0 0 6px; padding: 5px 6px; border: 1px dashed var(--ksc-line2); border-radius: 8px; background: #fff; font-size: 11px; line-height: 1.3; color: var(--ksc-sub); width: 100%; box-sizing: border-box; }
body .ksc .ksc-code-h, body .ksc .ksc-code-row { display: flex; align-items: center; justify-content: center; gap: 4px 6px; white-space: nowrap; }
body .ksc .ksc-code-v { font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--ksc-text); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
body .ksc .ksc-code-copy { min-width: 6.4em; min-height: 24px; padding: 2px 6px; border: 1px solid var(--ksc-blue); border-radius: 999px; background: #fff; color: var(--ksc-blue); font-size: 11px; font-weight: 700; line-height: 1.2; cursor: pointer; white-space: nowrap; text-align: center; }
body .ksc .ksc-code-copy:hover { background: #eef4fd; }
body .ksc .ksc-code-copy.ksc-copied { background: var(--ksc-blue); color: #fff; }
body .ksc .ksc-code .ksc-tip-btn { width: 18px; height: 18px; line-height: 16px; font-size: 11px; }
/* 1.1.15：見出し「本ページ限定 優待コード」（ユーザー決定 11/02 案B）。狭いときは「本ページ限定／優待コード ?」で2行に */
body .ksc .ksc-code-h { flex-wrap: wrap; white-space: normal; text-align: center; }
body .ksc .ksc-code-l .ksc-nw { display: inline-block; white-space: nowrap; }



/* 見本用の追加（格安SIM向け） */
body .ksc .ksc-c-mon .ksc-ini { display: block; font-size: 12px; color: var(--ksc-sub); margin-top: 2px; white-space: nowrap; }
body .ksc .ksc-c-mon .ksc-opt { display: block; font-size: 12px; color: var(--ksc-text); margin-top: 2px; white-space: nowrap; }
body .ksc .ksc-tk { display: block; font-size: 13px; font-weight: 700; color: var(--ksc-green); line-height: 1.5; }
body .ksc .ksc-tk + .ksc-tk { margin-top: 2px; }
body .ksc .ksc-tkx { display: block; font-size: 11px; color: var(--ksc-mute); line-height: 1.5; margin-top: 2px; }
body .ksc .ksc-kind { display: inline-block; font-size: 11px; color: var(--ksc-sub); border: 1px solid var(--ksc-line); border-radius: 4px; padding: 0 6px; margin: 0 0 4px 6px; vertical-align: 2px; }
body .ksc.lay-a .ksc-frow { flex-direction: column; align-items: stretch; gap: 8px; }
body .ksc.lay-a .ksc-flabel { width: auto; }
body .ksc.lay-a .ksc-filters .ksc-sel { align-self: flex-start; min-width: 260px; }
body .ksc.lay-b .ksc-flabel { width: 150px; }
body .ksc.lay-b .ksc-indent { padding-left: 166px; }
body .ksc.lay-c .ksc-ms { display: block; font-size: 11px; font-weight: 400; color: var(--ksc-sub); }
body .ksc .ksc-table .ksc-c-svc, body .ksc .ksc-table .ksc-c-dev, body .ksc .ksc-table .ksc-c-mon, body .ksc .ksc-table .ksc-c-cb, body .ksc .ksc-table .ksc-c-real { width: 16%; }
@container kscw (min-width: 760px) and (max-width: 979px) {
  body .ksc .ksc-table tr { grid-template-columns: 40px repeat(5, minmax(0, 1fr)) 128px; grid-template-areas: "cmp svc dev mon cb real cta"; }
  body .ksc .ksc-table thead tr { grid-template-areas: "cmp svc dev mon cb real cta"; }
  body .ksc .ksc-table thead th.ksc-c-dev { display: block; padding: 12px 8px; }
  body .ksc .ksc-table td.ksc-c-dev { padding-top: 10px; }
}
@container kscw (max-width: 759px) {
  body .ksc .ksc-row { grid-template-areas: "svc cmp" "real real" "dev dev" "mon mon" "cb cb" "diff diff" "cta cta"; }
  body .ksc .ksc-table td.ksc-c-dev { display: flex; justify-content: flex-end; align-items: baseline; background: none !important; border-radius: 0; border-top: 1px solid var(--ksc-line); padding: 8px 0 0 !important; font-size: 12px; }
  body .ksc .ksc-table td.ksc-c-dev > .ksc-lbl { margin-right: auto !important; }
  body .ksc .ksc-c-dev .ksc-amt { font-size: 14px; }
}
body .ksc .ksc-kb { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 4px; padding: 1px 8px; margin-bottom: 4px; line-height: 1.6; }
body .ksc .ksc-kb.mnp { background: var(--ksc-blue); color: #fff; }
body .ksc .ksc-kb.new { background: #fff; color: #0f6e3a; border: 1.5px solid #0f6e3a; }
body .ksc .ksc-kl { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
body .ksc .ksc-kl + .ksc-kl { margin-top: 6px; }
body .ksc .ksc-kl .ksc-kb { margin: 0; font-size: 11px; padding: 0 6px; min-width: 52px; text-align: center; }
body .ksc .ksc-kl .ksc-real { font-size: 20px; }
body .ksc .ksc-tkm { display: block; font-size: 11px; color: var(--ksc-sub); font-weight: 400; }
body .ksc .ksc-table .ksc-c-svc > span.ksc-ty { display: table; font-size: 11px; color: var(--ksc-sub); border: 1px solid var(--ksc-line2); border-radius: 4px !important; padding: 0 6px !important; margin: 0 4px 4px 0 !important; line-height: 1.6; background: #fff; }
body .ksc .ksc-table .ksc-c-svc > span.ksc-ty2 { display: block; font-size: 11px; font-weight: 700; color: var(--ksc-mute); letter-spacing: .04em; margin-bottom: 2px; }
body .ksc .ksc-table .ksc-c-svc > span.ksc-ty3 { display: table; font-size: 11px; font-weight: 700; border-radius: 4px; padding: 0 7px; margin-bottom: 4px; line-height: 1.7; }
body .ksc .ksc-ty3.ty-mno { background: #e8f0fc; color: #08439c; }
body .ksc .ksc-ty3.ty-sub { background: #f3e8fd; color: #6a2ba0; }
body .ksc .ksc-ty3.ty-online { background: #e6f6f4; color: #0b6b60; }
body .ksc .ksc-ty3.ty-mvno { background: #f1f2f4; color: #3c4043; }
body .ksc .ksc-nwb { display: inline-block; white-space: nowrap; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 8px; margin-top: 4px; line-height: 1.6; color: #fff; }
body .ksc .ksc-nwb.nw-docomo { background: #c4002b; }
body .ksc .ksc-nwb.nw-au { background: #eb5505; }
body .ksc .ksc-nwb.nw-sb { background: #6b7178; }
body .ksc .ksc-nwb.nw-rk { background: #bf0000; }
body .ksc .ksc-table thead th { text-align: center !important; }
@container kscw (min-width: 760px) {
  body .ksc .ksc-table td.ksc-c-dev, body .ksc .ksc-table td.ksc-c-mon, body .ksc .ksc-table td.ksc-c-cb, body .ksc .ksc-table td.ksc-c-real { text-align: center !important; }
  body .ksc .ksc-table td.ksc-c-mon .ksc-mon-wrap { align-items: center; }
  body .ksc .ksc-table td.ksc-c-real .ksc-kl { justify-content: center; }
  body .ksc .ksc-table td.ksc-c-real .ksc-realwrap { justify-content: center; }
}
@container kscw (min-width: 760px) and (max-width: 979px) {
  body .ksc.rv-a .ksc-table tr { grid-template-columns: 40px repeat(4, minmax(0, 1fr)) minmax(0, 1.45fr) 128px; }
}
@container kscw (min-width: 980px) {
  body .ksc.rv-a .ksc-table .ksc-c-real { width: 21%; }
  body .ksc.rv-a .ksc-table .ksc-c-svc, body .ksc.rv-a .ksc-table .ksc-c-dev, body .ksc.rv-a .ksc-table .ksc-c-mon, body .ksc.rv-a .ksc-table .ksc-c-cb { width: 14%; }
}
@container kscw (min-width: 760px) {
  body .ksc.rv-b .ksc-table .ksc-kl { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 4px; row-gap: 2px; }
  body .ksc.rv-b .ksc-table .ksc-kl .ksc-kb { grid-column: 1 / -1; justify-self: center; min-width: 0; margin: 0 !important; }
  body .ksc.rv-b .ksc-table .ksc-kl + .ksc-kl { margin-top: 8px; }
}
body .ksc.cv-a .ksc-kb.new { color: #3c4043; border-color: #9aa0a6; }
body .ksc.cv-b .ksc-kb.mnp, body .ksc.cv-b .ksc-kb.new { background: #fff; color: #3c4043; border: 1.5px solid #9aa0a6; }
body .ksc .ksc-tkm2 { display: table; font-size: 10px; font-weight: 700; background: var(--ksc-blue); color: #fff; border-radius: 3px; padding: 0 5px; margin: 0 auto 2px; }
@container kscw (max-width: 759px) { body .ksc .ksc-tkm2 { display: inline-block; margin: 0 4px 0 0; } }
body .ksc .ksc-tkb1 { display: table; margin: 0 auto 4px !important; font-size: 11px !important; padding: 0 6px !important; min-width: 52px; text-align: center; }
body .ksc .ksc-tkb2 { display: block; font-size: 11px; font-weight: 700; color: var(--ksc-blue); margin-bottom: 1px; }
@container kscw (max-width: 759px) { body .ksc .ksc-tkb1 { display: inline-block; margin: 0 6px 0 0 !important; } body .ksc .ksc-tkb2 { display: inline; margin-right: 6px; } }
body .ksc .ksc-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 24px; align-items: start; }
@container kscw (max-width: 759px) { body .ksc .ksc-pair { grid-template-columns: minmax(0, 1fr); } }
body .ksc .ksc-pair .ksc-sel { max-width: 100%; }
body .ksc .ksc-dm-note { font-size: 10px; color: var(--ksc-mute); font-weight: 400; margin-left: 4px; }
body .ksc .ksc-kb.cmn { background: #fff; color: #3c4043; border: 1.5px solid #9aa0a6; }
body .ksc.cb-a .ksc-kb.cmn { background: #5f6368; color: #fff; border: 1.5px solid #5f6368; }
body .ksc.cb-b .ksc-kb.cmn { background: #e8eaed; color: #3c4043; border: 1.5px solid #e8eaed; }
body .ksc .ksc-tkh { display: block; font-size: 11px; font-weight: 700; color: #6b7178; margin: 6px 0 2px; }
body .ksc .ksc-tkh:first-child { margin-top: 0; }
body .ksc .ksc-tkg + .ksc-tkg { margin-top: 8px; }
body .ksc .ksc-tkd { text-align: left; }
body .ksc .ksc-kb2 { display: inline-flex; flex-direction: column; gap: 2px; }
body .ksc .ksc-kl .ksc-kb2 .ksc-kb { min-width: 52px; }
body .ksc .ksc-spdw { margin-top: 2px; }
body .ksc .ksc-spdw .ksc-tip-btn { transform: scale(.85); }
body .ksc .ksc-spdtag { display: inline-block; font-size: 12px; font-weight: 700; color: #6b7178; text-align: center; white-space: nowrap; margin-top: 2px; }
body .ksc .ksc-altag { display: table; font-size: 11px; font-weight: 700; color: #8a4b00; background: #fff4e5; border: 1px solid #f0c48a; border-radius: 4px; padding: 0 6px; margin: 2px 0 4px; line-height: 1.6; }
body .ksc.tc-a .ksc-c-cb .ksc-tk { color: #3c4043; font-weight: 400; }
body .ksc.tc-a .ksc-c-cb .ksc-tka { color: var(--ksc-green); font-weight: 700; }
body .ksc.tc-b .ksc-c-cb .ksc-tk { color: #3c4043; font-weight: 400; }
body .ksc.tc-b .ksc-c-cb .ksc-tka { color: #202124; font-weight: 700; }
body .ksc .ksc-tkd + .ksc-tkd { margin-top: 6px; }
body .ksc .ksc-tkd .ksc-kb { font-size: 11px; padding: 0 6px; margin: 0 6px 0 0; vertical-align: 1px; }
body .ksc .ksc-tkd .ksc-kb.mnp + .ksc-kb.new { margin-left: -3px; }
body .ksc .ksc-tksum { display: block; font-size: 13px; font-weight: 700; color: var(--ksc-green); line-height: 1.6; }

/* 1.1.0：申し込みボタン「お申込み／公式サイトへ ›」（2026/11/04 決定） */
body .ksc a.ksc-cta { position: relative; flex-direction: column; justify-content: center; line-height: 1.25; padding: 6px 22px 6px 8px; }
body .ksc a.ksc-cta .ksc-cta-1 { display: block; font-size: 14px; font-weight: 800; }
body .ksc a.ksc-cta .ksc-cta-2 { display: block; font-size: 10px; font-weight: 700; opacity: .92; }
body .ksc a.ksc-cta .ksc-cta-ar { position: absolute; right: 9px; top: 50%; transform: translateY(-55%); font-size: 18px; font-weight: 700; line-height: 1; }

/* 1.1.0：スマホのカード（見本「見本_ツールのスマホのカード_案5b」） */
@container kscw (max-width: 759px) {
  body .ksc .ksc-tbody { gap: 12px; }
  body .ksc .ksc-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "svc svc svc" "real real real" "dev mon mon" "cb cb cb" "diff diff diff" "cmp cta cta"; gap: 0; padding: 16px; border: 1px solid #e3e6ea; border-radius: 14px; box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08); }
  body .ksc .ksc-row.ksc-best { border: 1.5px solid var(--ksc-orange); background: #fff; }
  /* 上：バッジ・種類・会社名・プラン・回線、右上にロゴ */
  body .ksc .ksc-table td.ksc-c-svc { position: relative; min-height: 32px; }
  body .ksc .ksc-table td.ksc-c-svc:has(.ksc-logo) { padding-right: 130px !important; }
  body .ksc .ksc-c-svc .ksc-bestb { border-radius: 4px; font-size: 11px; padding: 2px 7px; margin: 0 6px 4px 0; vertical-align: middle; }
  body .ksc .ksc-table .ksc-c-svc > span.ksc-ty2 { display: inline-block; vertical-align: middle; margin-bottom: 4px; }
  body .ksc .ksc-c-svc .ksc-logo { position: absolute; top: 50%; right: 0; transform: translateY(-50%); max-width: 120px; max-height: 44px; margin: 0; }
  body .ksc .ksc-name { display: block; font-size: 18px; }
  body .ksc .ksc-nwb { background: #fff !important; border: 1px solid currentColor; padding: 0 6px; font-size: 10px; border-radius: 4px; }
  body .ksc .ksc-nwb.nw-docomo { color: #c4002b; }
  body .ksc .ksc-nwb.nw-au { color: #eb5505; }
  body .ksc .ksc-nwb.nw-sb { color: #555b63; }
  body .ksc .ksc-nwb.nw-rk { color: #bf0000; }
  /* 区切り線の下：左に「実質月額（2年）」と乗り換え・新規、右に大きな金額 */
  body .ksc .ksc-table td.ksc-c-real { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px; margin-top: 14px; padding-top: 12px !important; border-top: 1px solid #e6e8eb; }
  body .ksc .ksc-c-real > .ksc-lbl { grid-column: 1; grid-row: 1; font-size: 12px; color: var(--ksc-sub); }
  body .ksc .ksc-c-real:not(:has(.ksc-kl + .ksc-kl)) > .ksc-kl { display: contents; }
  body .ksc .ksc-c-real:not(:has(.ksc-kl + .ksc-kl)) > .ksc-kl > .ksc-kb2, body .ksc .ksc-c-real:not(:has(.ksc-kl + .ksc-kl)) > .ksc-kl > .ksc-kb { grid-column: 1; grid-row: 2; align-self: start; }
  body .ksc .ksc-c-real:not(:has(.ksc-kl + .ksc-kl)) > .ksc-kl > .ksc-real { grid-column: 2; grid-row: 1 / span 2; }
  body .ksc .ksc-c-real:not(:has(.ksc-kl + .ksc-kl)) > .ksc-kl > .ksc-tip { grid-column: 3; grid-row: 1 / span 2; }
  body .ksc .ksc-table td.ksc-c-real:not(:has(.ksc-kl + .ksc-kl)) { grid-template-columns: minmax(0, 1fr) auto auto; }
  body .ksc .ksc-c-real:has(.ksc-kl + .ksc-kl) > .ksc-kl { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
  body .ksc .ksc-c-real:has(.ksc-kl + .ksc-kl) > .ksc-kl > .ksc-real { margin-left: auto; font-size: 30px; }
  body .ksc .ksc-c-real:has(.ksc-kl + .ksc-kl) > .ksc-kl { gap: 8px; }
  body .ksc .ksc-kb2 { display: flex; flex-direction: row; gap: 4px; margin-top: 4px; }
  body .ksc .ksc-kl .ksc-kb { min-width: 0; font-size: 11px; padding: 1px 7px; }
  body .ksc .ksc-c-real .ksc-real { font-size: 36px; letter-spacing: -.01em; line-height: 1; }
  body .ksc .ksc-row:not(.ksc-best) .ksc-c-real .ksc-real { color: var(--ksc-text); }
  body .ksc .ksc-c-real .ksc-real small { font-size: 14px; }
  /* 薄い灰色の帯：データ容量｜月額料金｜初期費用 */
  body .ksc .ksc-table td.ksc-c-dev, body .ksc .ksc-table td.ksc-c-mon { margin-top: 14px; background: #f7f8fa !important; border: 0 !important; padding: 10px 4px !important; display: flex !important; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; }
  body .ksc .ksc-table td.ksc-c-dev { border-radius: 10px 0 0 10px; }
  body .ksc .ksc-table td.ksc-c-mon { border-radius: 0 10px 10px 0; }
  body .ksc .ksc-table td.ksc-c-dev > .ksc-lbl, body .ksc .ksc-table td.ksc-c-mon > .ksc-lbl { display: block; margin: 0 !important; font-size: 10px; font-weight: 700; color: #8a9097; letter-spacing: .04em; }
  body .ksc .ksc-c-dev .ksc-realwrap { padding-right: 0; }
  body .ksc .ksc-c-dev .ksc-amt, body .ksc .ksc-c-mon .ksc-amt { font-size: 17px; margin-top: 0; line-height: 1.3; }
  body .ksc .ksc-table td.ksc-c-dev { gap: 3px; }
  body .ksc .ksc-table td.ksc-c-mon { display: grid !important; grid-template-columns: 1fr 1fr; align-items: start; justify-items: center; row-gap: 3px; }
  body .ksc .ksc-table td.ksc-c-mon > .ksc-lbl { grid-column: 1; grid-row: 1; }
  body .ksc .ksc-table td.ksc-c-mon .ksc-mon-wrap { display: contents; }
  body .ksc .ksc-table td.ksc-c-mon .ksc-mon-wrap > .ksc-amt { grid-column: 1; grid-row: 2; margin-top: 0; }
  body .ksc .ksc-table td.ksc-c-mon .ksc-mon-wrap > .ksc-strike { grid-column: 1; grid-row: 3; font-size: 10px; }
  body .ksc .ksc-table td.ksc-c-mon .ksc-mon-wrap > .ksc-opt { grid-column: 1; grid-row: 3; font-size: 10px; }
  body .ksc .ksc-table td.ksc-c-mon .ksc-ini { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: center; gap: 3px; width: 100%; font-size: 0; border-left: 1px solid #e1e4e8; }
  body .ksc .ksc-table td.ksc-c-mon .ksc-ini::before { content: "初期費用"; font-size: 10px; font-weight: 700; color: #8a9097; letter-spacing: .04em; }
  body .ksc .ksc-table td.ksc-c-mon .ksc-iniv { font-size: 17px; font-weight: 800; color: var(--ksc-text); line-height: 1.3; }
  body .ksc .ksc-table td.ksc-c-dev { position: relative; }
  body .ksc .ksc-table td.ksc-c-dev::after { content: ""; position: absolute; right: 0; top: 18%; height: 64%; border-right: 1px solid #e1e4e8; }
  /* 特典 */
  body .ksc .ksc-table td.ksc-c-cb { border-top: 0 !important; padding: 10px 2px 0 !important; font-size: 12px; }
  /* 下：比較＋ボタン */
  body .ksc .ksc-table td.ksc-c-cmp { margin-top: 14px; display: flex !important; align-items: stretch; padding-right: 8px !important; }
  body .ksc .ksc-cmp-l { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; border: 1px solid #d5d9de; border-radius: 10px; font-size: 12px; font-weight: 700; padding: 0 8px; }
  body .ksc .ksc-cmp { width: 16px; height: 16px; }
  body .ksc .ksc-table td.ksc-c-cta { margin-top: 14px; }
  body .ksc a.ksc-cta { min-height: 46px; border-radius: 10px; }
}
@container kscw (max-width: 759px) {
  body .ksc .ksc-table td.ksc-c-dev > .ksc-lbl, body .ksc .ksc-table td.ksc-c-mon > .ksc-lbl, body .ksc .ksc-table td.ksc-c-mon .ksc-ini::before { line-height: 16px !important; height: 16px; }
  body .ksc .ksc-table td.ksc-c-dev .ksc-amt, body .ksc .ksc-table td.ksc-c-mon .ksc-amt, body .ksc .ksc-table td.ksc-c-mon .ksc-iniv { line-height: 24px !important; font-size: 17px !important; }
  body .ksc .ksc-table td.ksc-c-dev .ksc-realwrap { line-height: 24px; }
  body .ksc .ksc-table td.ksc-c-mon .ksc-ini, body .ksc .ksc-table td.ksc-c-mon .ksc-amt, body .ksc .ksc-table td.ksc-c-dev .ksc-amt { margin: 0 !important; padding-top: 0 !important; }
  body .ksc .ksc-table td.ksc-c-mon .ksc-ini { gap: 1.5px !important; }
  body .ksc .ksc-table td.ksc-c-mon { row-gap: 2.5px !important; }
}

/* 1.1.0：容量別ランキング [sim_rank]（見本「見本_容量別12_pc」「見本_容量別15_sp」） */
body .ksc.ksr { container-type: inline-size; container-name: ksrw; margin: 1em 0 1.5em; color: var(--ksc-text); font-size: 13px; }
body .ksc.ksr .ksr-date { font-size: 12px; color: var(--ksc-sub); margin: 0 0 6px !important; }
body .ksc.ksr .ksr-table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 0; font-size: 13px; }
body .ksc.ksr .ksr-table th, body .ksc.ksr .ksr-table td { border: 1px solid var(--ksc-line2); padding: 10px 8px; text-align: center; vertical-align: middle; background: #fff; color: var(--ksc-text); }
body .ksc.ksr .ksr-table thead th { background: #eef3fa; font-weight: 700; white-space: nowrap; }
body .ksc.ksr .ksr-table tr.ksr-best td { background: #fff8f2; }
body .ksc.ksr .ksr-c-co { width: 42%; } body .ksc.ksr .ksr-c-gb { width: 13%; } body .ksc.ksr .ksr-c-sp { width: 11%; } body .ksc.ksr .ksr-c-p { width: 16%; } body .ksc.ksr .ksr-c-bt { width: 18%; }
body .ksc.ksr .ksr-co { display: flex; align-items: center; gap: 10px; text-align: left; }
body .ksc.ksr .ksr-rk { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #555b63; color: #fff; font-size: 11px; font-weight: 800; }
body .ksc.ksr tr.ksr-best .ksr-rk { background: var(--ksc-orange); }
body .ksc.ksr .ksr-logo { flex: none; display: block; width: auto; max-width: 90px; max-height: 30px; object-fit: contain; margin: 0; }
body .ksc.ksr .ksr-nm { min-width: 0; line-height: 1.4; }
body .ksc.ksr .ksr-nm strong { display: block; font-size: 13px; }
body .ksc.ksr .ksr-pl { display: block; font-size: 12px; color: var(--ksc-sub); }
body .ksc.ksr .ksr-gb { font-size: 15px; font-weight: 800; white-space: nowrap; }
body .ksc.ksr .ksr-mk { display: inline-block; vertical-align: middle; }
body .ksc.ksr .ksr-mk0 { font-size: 18px; color: var(--ksc-mute); }
body .ksc.ksr .ksr-p { display: block; font-size: 18px; font-weight: 800; color: var(--ksc-orange); line-height: 1.2; white-space: nowrap; }
body .ksc.ksr .ksr-p small { font-size: .6em; margin-left: 1px; }
body .ksc.ksr .ksr-cta { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; padding: 5px 20px 5px 8px; border-radius: 8px; background: var(--ksc-blue); color: #fff !important; text-decoration: none !important; line-height: 1.25; }
body .ksc.ksr tr.ksr-best .ksr-cta { background: var(--ksc-orange); }
body .ksc.ksr .ksr-cta-1 { font-size: 13px; font-weight: 800; }
body .ksc.ksr .ksr-cta-2 { font-size: 10px; font-weight: 700; }
body .ksc.ksr .ksr-cta-ar { position: absolute; right: 8px; top: 50%; transform: translateY(-55%); font-size: 17px; font-weight: 700; line-height: 1; }
body .ksc.ksr .ksr-sp { display: none; }
body .ksc.ksr .ksr-note { font-size: 12px; color: var(--ksc-sub); margin: 6px 0 0 !important; }
@container ksrw (max-width: 600px) {
  body .ksc.ksr .ksr-pc { display: none !important; }
  body .ksc.ksr .ksr-sp { display: inline; }
  body .ksc.ksr span.ksr-sp:has(.ksr-cta) { display: block; }
  body .ksc.ksr .ksr-table th, body .ksc.ksr .ksr-table td { padding: 8px 6px; }
  body .ksc.ksr .ksr-c-co { width: 37%; } body .ksc.ksr .ksr-c-gb { width: 18%; } body .ksc.ksr .ksr-c-sp { width: 12%; } body .ksc.ksr .ksr-c-p { width: 33%; }
  body .ksc.ksr .ksr-c-gb { padding-left: 2px !important; padding-right: 2px !important; }
  body .ksc.ksr .ksr-co { flex-wrap: wrap; align-items: flex-start; gap: 4px 6px; }
  body .ksc.ksr .ksr-rk { width: 18px; height: 18px; font-size: 10px; margin-top: 1px; }
  body .ksc.ksr .ksr-logo { max-width: calc(100% - 24px); max-height: 26px; object-position: left center; }
  body .ksc.ksr .ksr-nm { flex: 1; }
  body .ksc.ksr .ksr-co:has(.ksr-logo) .ksr-nm { flex-basis: 100%; padding-left: 24px; }
  body .ksc.ksr .ksr-nm strong { font-size: 12px; font-weight: 700; }
  body .ksc.ksr .ksr-pl { font-size: 11px; }
  body .ksc.ksr .ksr-gb { font-size: 13px; letter-spacing: -.02em; }
  body .ksc.ksr .ksr-cta { margin-top: 5px; padding: 7px 16px 7px 6px; }
  body .ksc.ksr .ksr-cta-2 { font-size: 12px; font-weight: 800; white-space: nowrap; }
  body .ksc.ksr .ksr-cta-ar { right: 6px; font-size: 16px; }
}

/* 1.2.0 比べる会社・除く */
body .ksc .ksc-chip-br { flex-basis: 100%; height: 0; }
body .ksc .ksc-exb { display: table; margin: 4px 0 2px; padding: 2px 10px; min-height: 0; border: 1px solid var(--ksc-line2); border-radius: 999px; background: #fff; color: #6b7178; font-size: 12px; line-height: 1.5; cursor: pointer; }
body .ksc .ksc-exb:hover { border-color: #c2410c; color: #c2410c; }
body .ksc .ksc-exr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 10px; padding: 8px 12px; border-radius: 8px; background: #f7f8fa; font-size: 13px; }
body .ksc .ksc-exr[hidden] { display: none; }
body .ksc .ksc-exr-l { color: #6b7178; font-weight: 700; }
body .ksc .ksc-exr-c { padding: 2px 10px; border: 1px solid var(--ksc-line2); border-radius: 999px; background: #fff; color: var(--ksc-text); font-size: 13px; line-height: 1.5; cursor: pointer; }
body .ksc .ksc-exr-all { padding: 0; border: 0; background: none; color: var(--ksc-blue); font-size: 13px; text-decoration: underline; cursor: pointer; }

/* 1.2.0：総合ランキング [sim_score]（[sim_rank] と同じ見た目） */
body .ksc.ksr-score .ksr-c-co { width: 34%; } body .ksc.ksr-score .ksr-c-p { width: 14%; } body .ksc.ksr-score .ksr-c-st { width: 32%; } body .ksc.ksr-score .ksr-c-bt { width: 20%; }
body .ksc.ksr-score .ksr-stl { display: block; font-size: 12px; line-height: 1.6; white-space: nowrap; }
body .ksc.ksr-score .ksr-stl b { color: var(--ksc-blue); }
body .ksc.ksr .ksr-table tr.ksr-hide { display: none; }
body .ksc.ksr .ksr-more { display: block; width: 100%; margin: 10px 0 0; min-height: 44px; border: 1px solid var(--ksc-blue); border-radius: 8px; background: #fff; color: var(--ksc-blue); font-size: 14px; font-weight: 700; cursor: pointer; }
@container ksrw (max-width: 600px) {
  body .ksc.ksr-score .ksr-c-co { width: 36%; } body .ksc.ksr-score .ksr-c-p { width: 34%; } body .ksc.ksr-score .ksr-c-st { width: 30%; }
  body .ksc.ksr-score .ksr-stl { font-size: 11px; white-space: normal; }
}

/* 1.2.0：閉じておく条件（比べる会社・詳しい条件） */
body .ksc .ksc-tgl { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px dashed var(--ksc-blue); background: #fff; color: var(--ksc-blue); font-size: 13px; font-weight: 700; cursor: pointer; }
body .ksc .ksc-more-cond { display: block; width: 100%; min-height: 44px; margin: 4px 0 8px; border: 1px solid var(--ksc-line2); border-radius: 8px; background: #f7f8fa; color: var(--ksc-blue); font-size: 14px; font-weight: 700; cursor: pointer; }
body .ksc.ksr .ksr-kt { display: block; font-size: 10px; color: var(--ksc-sub); line-height: 1.3; }

/* 1.2.2：容量の切り替え（iPhone記事の .ipc-bt-pick と同じ見た目）・かけ放題の内訳 */
body .ksc.ksr .ksr-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
body .ksc.ksr .ksr-pick-b { display: flex; align-items: center; justify-content: center; min-width: 96px; min-height: 44px; margin: 0; padding: 6px 12px; border: 2px solid #d0d5dd; border-radius: 8px; background: #fff; color: #1a1d21; font-size: 14px; font-weight: 700; cursor: pointer; }
body .ksc.ksr .ksr-pick-b[aria-pressed="true"] { border-color: #2a56c6; background: #eef3ff; box-shadow: 0 0 0 1px #2a56c6; }
body .ksc.ksr .ksr-pane[hidden] { display: none; }
body .ksc.ksr .ksr-bd { display: block; margin-top: 2px; font-size: 11px; color: var(--ksc-sub); line-height: 1.4; }
@container ksrw (max-width: 600px) {
  body .ksc.ksr .ksr-pick { gap: 6px; }
  body .ksc.ksr .ksr-pick-b { flex: 1 1 0; min-width: 0; padding: 6px 4px; }
  body .ksc.ksr .ksr-bd { font-size: 10px; }
}
body .ksc.ksr .ksr-bd > span { display: inline-block; white-space: nowrap; }

/* 1.3.0：格安SIMさがし（見出し・1問ずつの質問） */
body .ksc .ksc-intro2 { background: #fff; border: 1px solid #dfe3ea; border-bottom: 1px solid #edf0f4; border-radius: 14px 14px 0 0; padding: 20px 24px 16px; }
body .ksc .ksc-head2 { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
body .ksc .ksc-title2 { margin: 0 !important; font-size: 22px; font-weight: 800; letter-spacing: .04em; line-height: 1.3; color: #0f1d33; }
body .ksc .ksc-title2 small { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: #2557d6; }
body .ksc .ksc-lead2 { margin: 6px 0 0 !important; font-size: 13px; line-height: 1.7; color: #5b6577; }
body .ksc .ksc-meta2 { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; flex: none; }
body .ksc .ksc-meta2 span { padding: 4px 10px; border-radius: 999px; background: #f3f5f9; font-size: 11px; color: #5b6577; white-space: nowrap; }
body .ksc.ksc-wz-on .ksc-filters, body .ksc.ksc-wz-on .ksc-bar, body .ksc.ksc-wz-on .ksc-note-top, body .ksc.ksc-wz-on .ksc-table-wrap, body .ksc.ksc-wz-on .ksc-foot, body .ksc.ksc-wz-on .ksc-exr, body .ksc.ksc-wz-on .ksc-none, body .ksc.ksc-wz-on .ksc-more, body .ksc.ksc-wz-on .ksc-cmpbar { display: none !important; }
body .ksc .ksc-wz { padding: 22px 24px 24px; border: 1px solid #dfe3ea; border-top: 0; border-radius: 0 0 14px 14px; background: #fff; color: #1b2433; }
body .ksc .ksc-wz[hidden] { display: none; }
body .ksc .kwz-st { display: flex; gap: 4px; margin: 0 0 6px; }
body .ksc .kwz-st i { flex: 1; height: 4px; border-radius: 2px; background: #e4e8ef; }
body .ksc .kwz-st i.d { background: #2557d6; } body .ksc .kwz-st i.n { background: #9db6f0; }
body .ksc .kwz-sl { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 18px; font-size: 12px; color: #7a8496; }
body .ksc .kwz-sl b { color: #2557d6; }
body .ksc .kwz-row { display: flex; gap: 24px; align-items: flex-start; }
body .ksc .kwz-q { flex: 1; min-width: 0; }
body .ksc .kwz-qt { margin: 0 0 14px !important; font-size: 20px; font-weight: 800; line-height: 1.4; color: #1b2433; }
body .ksc .kwz-sub { margin: 14px 0 8px !important; font-size: 13px; font-weight: 700; color: #5b6577; }
body .ksc .kwz-ch { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
body .ksc .kwz-ch.kwz-ch-w { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
body .ksc .kwz-ch button { min-height: 46px; margin: 0; padding: 6px 10px; border: 1px solid #d5dbe5; border-radius: 8px; background: #fff; color: #1b2433; font-size: 14px; font-weight: 600; line-height: 1.35; cursor: pointer; }
body .ksc .kwz-ch button:hover { border-color: #2557d6; color: #2557d6; }
body .ksc .kwz-ch button.on { border: 1.5px solid #2557d6; background: #f2f6ff; color: #2557d6; }
body .ksc .kwz-age { display: flex; align-items: center; gap: 8px; font-size: 15px; }
body .ksc .kwz-age input { width: 110px; height: 46px; padding: 0 12px; border: 1px solid #d5dbe5; border-radius: 8px; font-size: 18px; }
body .ksc .kwz-next { height: 46px; margin-left: 8px; padding: 0 20px; border: 1px solid #2557d6; border-radius: 8px; background: #fff; color: #2557d6; font-size: 14px; font-weight: 700; cursor: pointer; }
body .ksc .kwz-ans { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; }
body .ksc .kwz-ans span { padding: 5px 10px; border: 1px solid #e1e6ee; border-radius: 6px; background: #fafbfd; font-size: 12px; color: #3c475a; }
body .ksc .kwz-ans b { margin-right: 4px; font-weight: 600; color: #7a8496; }
body .ksc .kwz-cnt { flex: none; width: 170px; padding: 16px; border-radius: 12px; background: #0f1d33; color: #fff; }
body .ksc .kwz-cnt p { margin: 0 !important; font-size: 12px; color: rgba(255,255,255,.8); }
body .ksc .kwz-cnt b { display: block; margin: 6px 0 2px; font-size: 40px; font-weight: 800; line-height: 1; color: #fff; }
body .ksc .kwz-cnt b small { margin-left: 4px; font-size: 14px; color: rgba(255,255,255,.85); }
body .ksc .kwz-bar { height: 4px; margin-top: 10px; border-radius: 2px; background: rgba(255,255,255,.2); }
body .ksc .kwz-bar i { display: block; height: 100%; border-radius: 2px; background: #7fb0ff; transition: width .3s; }
body .ksc .kwz-cnt em { display: block; margin-top: 6px; font-size: 11px; font-style: normal; color: rgba(255,255,255,.7); }
body .ksc .kwz-nav { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #edf0f4; }
body .ksc .kwz-bk { margin-right: auto; padding: 0; border: 0; background: none; color: #5b6577; font-size: 14px; font-weight: 600; cursor: pointer; }
body .ksc .kwz-sk { min-height: 44px; padding: 0 18px; border: 1px solid #d5dbe5; border-radius: 8px; background: #fff; color: #1b2433; font-size: 14px; font-weight: 700; cursor: pointer; }
body .ksc .kwz-en { min-height: 44px; padding: 0 22px; border: 0; border-radius: 8px; background: #2557d6; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
@container kscw (max-width: 600px) {
  body .ksc .ksc-intro2 { padding: 16px; }
  body .ksc .ksc-head2 { flex-direction: column; align-items: flex-start; }
  body .ksc .ksc-meta2 { justify-content: flex-start; }
  body .ksc .ksc-wz { padding: 16px; }
  body .ksc .kwz-sl span + span { display: none; }
  body .ksc .kwz-row { flex-direction: column-reverse; gap: 14px; }
  body .ksc .kwz-cnt { width: auto; display: flex; align-items: baseline; gap: 8px; padding: 12px 14px; }
  body .ksc .kwz-cnt b { margin: 0; font-size: 30px; }
  body .ksc .kwz-bar, body .ksc .kwz-cnt em { display: none; }
  body .ksc .kwz-qt { font-size: 18px; }
  body .ksc .kwz-ch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .ksc .kwz-ch.kwz-ch-w { grid-template-columns: 1fr; }
  body .ksc .kwz-nav { flex-wrap: wrap; }
  body .ksc .kwz-sk, body .ksc .kwz-en { flex: 1; padding: 0 8px; }
  body .ksc .kwz-bk { order: 3; flex-basis: 100%; margin: 4px 0 0; text-align: center; }
}
body .ksc .ksc-intro2 ~ .ksc-filters { border-top: 0 !important; border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; }
body .ksc .kwz-ch button, body .ksc .kwz-sk, body .ksc .kwz-en, body .ksc .kwz-next { font-family: inherit; letter-spacing: .01em; }
body .ksc .kwz-redo { display: flex; justify-content: flex-end; margin: 14px 0 0; }
body .ksc .kwz-redo[hidden], body .ksc.ksc-wz-on .kwz-redo { display: none; }
body .ksc .kwz-redo button { min-height: 40px; padding: 0 16px; border: 1px solid #2557d6; border-radius: 8px; background: #fff; color: #2557d6; font-size: 14px; font-weight: 700; font-family: inherit; cursor: pointer; }
/* 1.4.0 条件を変更（窓）・選択肢の件数 */
body .ksc .ksc-chip .ksc-cn { margin-left: 3px; font-style: normal; font-size: 11px; font-weight: 400; color: #7a8496; }
body .ksc .ksc-chip[aria-pressed="true"] .ksc-cn { color: inherit; opacity: .8; }
body .ksc .ksc-chip.ksc-chip-0, body .ksc .ksc-chip:disabled { color: #b9bfc8; border-color: #e6e9ee; background: #fafbfc; cursor: default; }
body .ksc .ksc-chip.ksc-chip-0 .ksc-cn { color: #c9ced6; }
body .ksc.ksc-mdm .ksc-intro2 { border-bottom: 1px solid var(--ksc-line); border-radius: 12px; }
body .ksc .ksc-sum { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 0; padding: 11px 14px; border: 1px solid #cdd3dc; border-radius: 10px; background: #fff; color: #1b2433; text-align: left; font-family: inherit; cursor: pointer; }
body .ksc .ksc-sum:hover { border-color: #2557d6; }
body .ksc .ksc-sum-t { font-size: 13px; font-weight: 700; line-height: 1.5; }
body .ksc .ksc-sum-t span { display: block; font-size: 12px; font-weight: 400; color: #5b6577; }
body .ksc .ksc-sum-b { flex: none; white-space: nowrap; color: #2557d6; font-size: 13px; font-weight: 700; }
body.ksc-md-lock, html.ksc-md-lock, html.ksc-md-lock body { overflow: hidden; }
body .ksc.ksc-md { position: fixed; inset: 0; z-index: 100000; margin: 0; container-type: normal; }
body .ksc.ksc-md[hidden] { display: none !important; }
body .ksc .ksc-md-bg { position: absolute; inset: 0; background: rgba(15, 29, 51, .5); }
body .ksc .ksc-md-box { position: absolute; left: 50%; top: 40px; bottom: 40px; transform: translateX(-50%); width: min(820px, calc(100% - 32px)); display: flex; flex-direction: column; background: #fff; border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.25); overflow: hidden; container-type: inline-size; container-name: kscw; }
body .ksc .ksc-md-hd { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid #edf0f4; }
body .ksc .ksc-md-hd p { font-size: 16px; font-weight: 800; color: #1b2433; }
body .ksc .ksc-md-hd button { padding: 6px 4px; border: 0; background: none; color: #5b6577; font-size: 14px; font-weight: 600; font-family: inherit; }
body .ksc .ksc-md-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
body .ksc .ksc-md-body .ksc-filters { border: 0 !important; border-radius: 0 !important; }
body .ksc .ksc-md-ft { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-top: 1px solid #e3e7ee; background: #fff; }
body .ksc .ksc-md-ft p { font-size: 14px; }
body .ksc .ksc-md-ft b { font-size: 24px; font-weight: 800; color: #2557d6; margin: 0 2px; }
body .ksc .ksc-md-ft button { min-height: 46px; padding: 0 28px; border: 0; border-radius: 10px; background: #2557d6; color: #fff; font-size: 15px; font-weight: 700; font-family: inherit; }
@media (max-width: 600px) {
  body .ksc .ksc-md-box { left: 0; right: 0; top: 48px; bottom: 0; width: auto; transform: none; border-radius: 16px 16px 0 0; }
}
body .ksc.ksc-wz-on .ksc-sum { display: none !important; }
/* 1.4.1 下に固定の「条件を変更」 */
body .ksc.ksc-fb { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99999; margin: 0; container-type: normal; background: #fff; border-top: 1px solid #dfe3ea; box-shadow: 0 -4px 16px rgba(15,29,51,.12); }
body .ksc.ksc-fb[hidden] { display: none !important; }
body .ksc .ksc-fb-in { max-width: 820px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
body .ksc .ksc-fb-t { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; color: #5b6577; }
body .ksc .ksc-fb-t b { font-size: 20px; font-weight: 800; color: #2557d6; margin-right: 2px; }
body .ksc .ksc-fb-in button { flex: none; min-height: 44px; padding: 0 20px; border: 0; border-radius: 10px; background: #2557d6; color: #fff; font-size: 14px; font-weight: 700; font-family: inherit; }
/* 1.5.0 今のプラン（推定）・一覧の最後 */
body .ksc .ksc-cpbox { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border: 1px dashed #b8c2d3; border-radius: 10px; background: #f8f9fb; }
body .ksc .ksc-cpbox-h { font-size: 13px; font-weight: 700; color: #1b2433; }
body .ksc .ksc-cp-est { font-size: 13px; color: #5b6577; }
body .ksc .ksc-cp-est b { margin-left: 8px; font-size: 18px; font-weight: 800; color: #1b2433; }
body .ksc .kwz-cp .kwz-sub:first-child { margin-top: 0 !important; }
body .ksc .kwz-cp .ksc-cp-est { margin: 14px 0 0; }
body .ksc .kwz-next:disabled { opacity: .4; cursor: default; }
body .ksc .ksc-cpc { margin: 10px 0 0; padding: 12px 14px; border: 1px dashed #9aa4b5; border-radius: 12px; background: #f6f7f9; }
body .ksc .ksc-cpc-r { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
body .ksc .ksc-cpc-l { font-size: 11px; font-weight: 700; color: #5b6577; }
body .ksc .ksc-cpc-n { font-size: 15px; font-weight: 700; color: #1b2433; }
body .ksc .ksc-cpc-v { flex: none; font-size: 22px; font-weight: 800; color: #1b2433; }
body .ksc .ksc-cpc-v small { font-size: 12px; font-weight: 400; color: #5b6577; margin-left: 2px; }
body .ksc .ksc-cpc-d { margin-top: 4px !important; font-size: 12px; color: #5b6577; }
body .ksc .ksc-cpc-note { margin-top: 4px !important; font-size: 11px; color: #7a8496; }
body .ksc .ksc-dm.ksc-dear strong { color: #b42318; }
body .ksc .ksc-dm-y { display: block; font-size: 12px; color: var(--ksc-sub); }
body .ksc .ksc-row:has(.ksc-dm.ksc-dear) .ksc-c-diff { background: #fdeceb !important; }
body .ksc .ksc-endc { margin: 14px 0 0; padding: 14px 16px; border: 1px solid #dfe3ea; border-radius: 12px; background: #fff; text-align: center; }
body .ksc .ksc-endc-h { margin: 0 0 10px; padding: 0; list-style: none; font-size: 13px; color: #1b2433; }
body .ksc .ksc-endc-h li { margin: 2px 0; }
body .ksc .ksc-endc-h b { color: #2557d6; }
body .ksc .ksc-endc button { min-height: 44px; padding: 0 28px; border: 1px solid #2557d6; border-radius: 10px; background: #fff; color: #2557d6; font-size: 14px; font-weight: 700; font-family: inherit; }
body .ksc.ksc-wz-on .ksc-endc, body .ksc.ksc-wz-on .ksc-cpc { display: none !important; }
@container kscw (min-width: 760px) and (max-width: 979px) {
  body .ksc.ksc-price:not(.ksc-is-hikari):not(.ksc-nodiff) .ksc-table tbody tr { grid-template-areas: "cmp svc dev mon cb real cta" "cmp svc dev mon cb diff cta"; }
  body .ksc.ksc-price:not(.ksc-nodiff) .ksc-table thead th.ksc-c-diff { display: none !important; }
  body .ksc.ksc-price:not(.ksc-nodiff) .ksc-table tbody td.ksc-c-real { grid-area: real !important; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding-bottom: 6px !important; }
  body .ksc.ksc-price:not(.ksc-nodiff) .ksc-table tbody td.ksc-c-diff { align-self: stretch; display: block !important; margin: 0; padding: 0 6px 12px !important; border-radius: 0; background: #f7f9fd !important; text-align: center !important; }
  body .ksc.ksc-price:not(.ksc-nodiff) .ksc-table tbody tr.ksc-best td.ksc-c-diff { background: var(--ksc-orange-bg) !important; }
  body .ksc .ksc-dbox { display: block; padding: 6px 4px; border-radius: 8px; background: var(--ksc-grey); }
  body .ksc .ksc-dbox.up { background: var(--ksc-blue-bg); } body .ksc .ksc-dbox.dn { background: #fdeceb; }
}
body .ksc.ksc-price .ksc-table td.ksc-c-diff .ksc-dm { font-size: 12px; }
body .ksc.ksc-price .ksc-table td.ksc-c-diff .ksc-dm strong { font-size: 15px; }
body .ksc .ksc-row:has(.ksc-dm.ksc-cheap) td.ksc-c-diff { background: var(--ksc-blue-bg) !important; }
body .ksc .ksc-endc-h { display: inline-block; text-align: left; }
@container kscw (max-width: 759px) {
  body .ksc.ksc-price:not(.ksc-nodiff) .ksc-row { grid-template-areas: "svc svc svc" "real real real" "diff diff diff" "dev mon mon" "cb cb cb" "cmp cta cta"; }
  body .ksc.ksc-price .ksc-row td.ksc-c-diff { background: none !important; padding: 0 0 12px !important; display: block !important; }
  body .ksc.ksc-price .ksc-row td.ksc-c-diff:empty { display: none !important; }
  body .ksc .ksc-row .ksc-dbox { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 8px 12px; }
  body .ksc .ksc-row .ksc-dbox .ksc-dm-y { display: inline; }
}
/* 1.5.1 今と比べる：1行目＝月額料金（安い）、2行目＝初期費用・特典込みの合計（お得） */
body .ksc .ksc-dbox .ksc-dm-y { display: flex !important; justify-content: space-between; gap: 6px; flex-wrap: wrap; margin-top: 4px; padding-top: 4px; border-top: 1px solid rgba(0,0,0,.08); font-size: 12px; }
body .ksc .ksc-dm-y.ksc-gain { color: #0f6e3a; } body .ksc .ksc-dm-y.ksc-gain b { color: #0f6e3a; font-size: 14px; }
body .ksc .ksc-dm-y.ksc-loss { color: #b42318; } body .ksc .ksc-dm-y.ksc-loss b { color: #b42318; font-size: 14px; }
@container kscw (max-width: 759px) { body .ksc .ksc-row .ksc-dbox { display: block; } }
@container kscw (min-width: 760px) { body .ksc .ksc-dbox .ksc-dm-y { justify-content: center; } }
@container kscw (min-width: 760px) { body .ksc .ksc-dbox .ksc-dm-y { gap: 0 4px; line-height: 1.5; } }
/* 1.5.2 わからない・支払い額／PCは月額料金の差を月額料金の列に */
body .ksc .ksc-cp-amt { margin-top: 12px; font-size: 13px; }
body .ksc .ksc-cp-amt label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 700; color: #5b6577; }
body .ksc .ksc-cp-in { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; color: #1b2433; }
body .ksc .ksc-cp-amt input { width: 140px; height: 44px; padding: 0 12px; border: 1px solid #d5dbe5; border-radius: 8px; font-size: 18px; text-align: right; font-family: inherit; }
body .ksc .ksc-cp-amt small { display: block; margin-top: 6px; font-size: 11px; color: #7a8496; }
body .ksc .ksc-dmon { display: none; }
@container kscw (min-width: 760px) {
  body .ksc .ksc-dmon { display: block; margin-top: 6px; padding: 5px 6px; border-radius: 8px; background: var(--ksc-grey); font-size: 11px; line-height: 1.5; white-space: normal; }
  body .ksc .ksc-dmon.up { background: var(--ksc-blue-bg); } body .ksc .ksc-dmon.dn { background: #fdeceb; }
  body .ksc .ksc-dmon .ksc-dm { font-size: 11px; } body .ksc .ksc-dmon .ksc-dm strong { font-size: 14px; }
  body .ksc .ksc-dbox > .ksc-dm { display: none; }
  body .ksc .ksc-dbox .ksc-dm-y { margin-top: 0; padding-top: 0; border-top: 0; }
  body .ksc .ksc-dbox.gt { background: #e9f7ef; } body .ksc .ksc-dbox.ls { background: #fdeceb; }
}
/* 1.5.4 除くボタンは右上の小さな×／比べた条件（かけ放題） */
body .ksc .ksc-row { position: relative; }
body .ksc .ksc-exb { position: absolute !important; top: 8px; right: 8px; z-index: 2; display: flex !important; align-items: center; justify-content: center; width: 28px; height: 28px; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 1px solid #d5dbe5 !important; border-radius: 50% !important; background: #fff !important; color: #7a8496 !important; font-size: 16px !important; line-height: 1; }
body .ksc .ksc-exb:hover { border-color: #c2410c !important; color: #c2410c !important; }
body .ksc .ksc-dm-inc { display: block; font-size: 10px; font-weight: 400; color: var(--ksc-mute); }
@container kscw (max-width: 759px) { body .ksc .ksc-table td.ksc-c-svc { position: static; } }
/* 1.9.1 スマホ・タブレットのカード：ロゴはカードの真ん中ではなく、右上の×の下に置く（上の行でtdがstaticになり、ロゴがカード全体の真ん中に出て「2年で〜円お得」に重なっていた） */
@container kscw (max-width: 759px) { body .ksc .ksc-c-svc .ksc-logo { top: 48px; right: 16px; transform: none; } body .ksc .ksc-table td.ksc-c-svc:has(.ksc-logo) { min-height: 84px; } }
/* 1.6.1 受付が終わったプランはプルダウン */
body .ksc .ksc-cpsel { width: 100%; max-width: 520px; min-height: 46px; font-size: 15px; }
body .ksc .ksc-cpsel.on { border: 1.5px solid #2557d6; background: #f2f6ff; color: #2557d6; font-weight: 700; }
body .ksc .kwz-cp .kwz-sub:empty, body .ksc .ksc-cpbox .ksc-flabel:empty { display: none; }
body .ksc .kwz-cp .ksc-cpsel + .kwz-sub + .kwz-ch, body .ksc .kwz-cp .ksc-cpsel ~ .kwz-ch:first-of-type { margin-top: 10px; }
/* 1.6.2 次へとボタンの重なり・戻るを目立たせる・PCの月額料金の列を短く */
body .ksc .kwz-cp + .kwz-age { margin-top: 16px; }
body .ksc .kwz-bk { min-height: 44px; padding: 0 18px !important; border: 1px solid #d5dbe5 !important; border-radius: 8px; background: #fff !important; color: #1b2433 !important; font-size: 14px; font-weight: 700; }
body .ksc .kwz-bk:hover { border-color: #2557d6 !important; color: #2557d6 !important; }
body .ksc span.kwz-bk { visibility: hidden; border: 0 !important; padding: 0 !important; }
@container kscw (min-width: 760px) {
  body .ksc .ksc-dmon .ksc-dm-inc { display: none; }
}
body .ksc .kwz-cp + .kwz-age .kwz-next { margin-left: 0; }
/* 1.6.3 答えの（）の中は2行目に小さく */
body .ksc .kwz-ch button.kwz-2l { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 10px 14px; text-align: left; }
body .ksc .kwz-ch button.kwz-2l b { font-size: 15px; font-weight: 700; }
body .ksc .kwz-ch button.kwz-2l small { font-size: 12px; font-weight: 400; color: #5b6577; line-height: 1.45; }
body .ksc .kwz-ch button.kwz-2l:hover small { color: #2557d6; }
body .ksc .kwz-cp .kwz-sub:empty + .kwz-ch { margin-top: 8px; }

/* ===== 1.7.0 会社名のモーダル ===== */
body .ksc-colink, body .ksc .ksc-colink { all: unset; display: inline; cursor: pointer; font: inherit; color: inherit; font-weight: inherit; text-decoration: underline dotted #8fa3c7 1.5px; text-underline-offset: 3px; }
body .ksc-colink:hover, body .ksc-colink:focus-visible { color: #0b57c9; text-decoration-color: #0b57c9; outline: none; }
body .ksc-colink:focus-visible { box-shadow: 0 0 0 2px #0b57c9; border-radius: 3px; }
html.ksc-co-lock, html.ksc-co-lock body { overflow: hidden; }
.ksc-co-md { position: fixed; inset: 0; z-index: 100005; font-size: 14px; line-height: 1.7; color: #1a1d21; }
.ksc-co-md[hidden] { display: none !important; }
.ksc-co-md .ksc-co-bg { position: absolute; inset: 0; background: rgba(15, 29, 51, .55); }
.ksc-co-md .ksc-co-box { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100% - 24px)); max-height: calc(100% - 48px); display: flex; flex-direction: column; background: #fff; border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.25); overflow: hidden; }
.ksc-co-md .ksc-co-x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 1px solid #d5dbe5; border-radius: 50%; background: #fff; color: #5b6577; font-size: 18px; line-height: 1; cursor: pointer; padding: 0; }
.ksc-co-md .ksc-co-hd { display: flex; gap: 12px; align-items: center; padding: 16px 52px 12px 18px; border-bottom: 1px solid #eef0f4; }
.ksc-co-md .ksc-co-lg { width: 48px; height: 48px; object-fit: contain; border: 1px solid #eef0f4; border-radius: 10px; background: #fff; }
.ksc-co-md .ksc-co-n { margin: 0; font-size: 18px; font-weight: 800; }
.ksc-co-md .ksc-co-who { margin: 2px 0 0; font-size: 12px; color: #0b57c9; font-weight: 700; }
.ksc-co-md .ksc-co-body { padding: 12px 18px; overflow: auto; }
.ksc-co-md .ksc-co-one { margin: 0 0 10px; }
.ksc-co-md .ksc-co-t { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: 13px; }
.ksc-co-md .ksc-co-t th, .ksc-co-md .ksc-co-t td { border: 1px solid #e3e7ee; padding: 7px 10px; text-align: left; vertical-align: top; }
.ksc-co-md .ksc-co-t th { width: 32%; background: #f3f6fb; font-weight: 700; white-space: nowrap; }
.ksc-co-md .ksc-co-h { margin: 10px 0 4px; font-weight: 800; font-size: 13px; }
.ksc-co-md .ksc-co-g { color: #0f6e3a; }
.ksc-co-md .ksc-co-b { color: #b42318; }
.ksc-co-md ul { margin: 0 0 6px; padding-left: 1.3em; }
.ksc-co-md li { margin: 2px 0; }
.ksc-co-md .ksc-co-ft { display: flex; gap: 10px; padding: 12px 18px 16px; border-top: 1px solid #eef0f4; }
.ksc-co-md .ksc-co-ft a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 10px; font-weight: 800; text-decoration: none; }
.ksc-co-md .ksc-co-more { border: 1.5px solid #0b57c9; color: #0b57c9; background: #fff; }
.ksc-co-md .ksc-co-cta { background: #e8590c; color: #fff; }

/* ===== 1.7.0 そろえた比較表（速度・つながりやすさ・条件ごと・全社一覧） ===== */
body .ksc.ksr .ksr-v { font-size: 17px; font-weight: 800; color: var(--ksc-text); }
body .ksc.ksr .ksr-c-v small, body .ksc.ksr .ksr-v2 small { font-size: 11px; margin-left: 2px; color: var(--ksc-sub); font-weight: 400; }
body .ksc.ksr .ksr-v2 { display: block; font-size: 14px; font-weight: 700; margin-top: 2px; }
body .ksc.ksr .ksr-sub2 { display: none; font-size: 11px; color: var(--ksc-sub); }
body .ksc.ksr .ksr-jump { font-size: 11px; font-weight: 700; color: var(--ksc-blue) !important; white-space: nowrap; }
body .ksc.ksr-speed .ksr-c-co { width: 34%; } body .ksc.ksr-speed .ksr-c-sp { width: 10%; } body .ksc.ksr-speed .ksr-c-v { width: 14%; } body .ksc.ksr-speed .ksr-c-bt { width: 14%; }
body .ksc.ksr-net .ksr-c-co { width: 22%; text-align: left; } body .ksc.ksr-net .ksr-c-v { width: 20%; } body .ksc.ksr-net .ksr-c-us { width: 38%; text-align: left; font-size: 12px; }
body .ksc.ksr-net th.ksr-c-co { background: #f3f6fb; font-weight: 700; }
body .ksc.ksr-cases .ksr-c-cd { width: 26%; text-align: left; background: #f3f6fb; font-weight: 700; font-size: 12px; } body .ksc.ksr-cases .ksr-c-co { width: 34%; } body .ksc.ksr-cases .ksr-c-p { width: 22%; } body .ksc.ksr-cases .ksr-c-bt { width: 18%; }
body .ksc.ksr-list .ksr-c-co { width: 34%; } body .ksc.ksr-list .ksr-c-nw { width: 18%; font-size: 12px; } body .ksc.ksr-list .ksr-c-sp { width: 10%; } body .ksc.ksr-list .ksr-c-p { width: 20%; } body .ksc.ksr-list .ksr-c-bt { width: 18%; }
body .ksc.ksr-score .ksr-c-co { width: 42%; }
@container ksrw (max-width: 600px) {
  body .ksc.ksr .ksr-sub2 { display: block; }
  body .ksc.ksr-speed .ksr-c-co { width: 46%; } body .ksc.ksr-speed .ksr-c-sp { width: 14%; } body .ksc.ksr-speed .ksr-c-v { width: 40%; }
  body .ksc.ksr-net .ksr-c-co { width: 26%; } body .ksc.ksr-net .ksr-c-v { width: 22%; } body .ksc.ksr-net .ksr-c-us { width: 30%; font-size: 11px; }
  body .ksc.ksr-cases .ksr-c-cd { width: 30%; } body .ksc.ksr-cases .ksr-c-co { width: 36%; } body .ksc.ksr-cases .ksr-c-p { width: 34%; }
  body .ksc.ksr-list .ksr-c-co { width: 40%; } body .ksc.ksr-list .ksr-c-nw { width: 18%; font-size: 11px; } body .ksc.ksr-list .ksr-c-sp { width: 12%; } body .ksc.ksr-list .ksr-c-p { width: 30%; }
}
body .ksc.ksr-save .ksr-c-co { width: 44%; } body .ksc.ksr-save .ksr-c-p { width: 18%; } body .ksc.ksr-save .ksr-c-v { width: 20%; } body .ksc.ksr-save .ksr-c-bt { width: 18%; }
body .ksc.ksr .ksr-save-v { font-size: 16px; font-weight: 800; color: #0f6e3a; white-space: nowrap; }
@container ksrw (max-width: 600px) { body .ksc.ksr-save .ksr-c-co { width: 46%; } body .ksc.ksr-save .ksr-c-p { width: 30%; } body .ksc.ksr-save .ksr-c-v { width: 24%; } }
body .ksc.ksr-radar .ksr-radar-box { border: 1px solid var(--ksc-line2); border-radius: 12px; padding: 12px 8px 10px; background: #fff; }
body .ksc.ksr-radar .ksr-radar-lg { text-align: center; font-size: 12px; color: var(--ksc-sub); margin: 4px 0 0 !important; }
body .ksc.ksr-radar .ksr-lg-me, body .ksc.ksr-radar .ksr-lg-av { display: inline-block; width: 18px; height: 0; border-top: 3px solid #0b57c9; vertical-align: middle; margin-right: 4px; }
body .ksc.ksr-radar .ksr-lg-av { border-top: 2px dashed #9aa4b5; }

/* ===== 1.7.1 アイコン・仮のロゴ・順位の印 ===== */
body .ksc .ksc-ic { display: inline-block; vertical-align: middle; flex: none; }
body .ksc .ksc-lg { flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid #e3e7ee; }
body .ksc .ksc-lg0 { background: linear-gradient(135deg, var(--lg), color-mix(in srgb, var(--lg) 70%, #000)); color: #fff; border: 0; font-weight: 800; font-size: 13px; letter-spacing: -.02em; line-height: 1; box-shadow: 0 2px 6px rgba(15,29,51,.18); }
body .ksc .ksc-rb { display: inline-flex; align-items: baseline; justify-content: center; min-width: 38px; padding: 3px 8px; border-radius: 999px; background: #eef1f5; color: #475467; font-weight: 800; font-size: 14px; line-height: 1.2; }
body .ksc .ksc-rb small { font-size: 10px; margin-left: 1px; }
body .ksc .ksc-rb1 { background: linear-gradient(135deg, #f7d774, #d4a017); color: #4a3400; }
body .ksc .ksc-rb2 { background: linear-gradient(135deg, #e5e7eb, #a3aab5); color: #1f2937; }
body .ksc .ksc-rb3 { background: linear-gradient(135deg, #f1c39b, #b8743e); color: #3b1d06; }
/* 総合ランキング：項目ごとの列 */
body .ksc.ksr-score .ksr-c-co { width: 27%; } body .ksc.ksr-score .ksr-c-p { width: 11%; } body .ksc.ksr-score .ksr-c-ct { width: 9.2%; padding: 8px 2px; } body .ksc.ksr-score .ksr-c-bt { width: 16%; }
body .ksc.ksr-score .ksr-cth { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: #1d4ed8; }
body .ksc.ksr-score .ksr-cth span { color: var(--ksc-text); }
body .ksc.ksr-score .ksr-ctv { display: block; font-size: 10px; color: var(--ksc-sub); margin-top: 3px; }
body .ksc.ksr-score .ksr-ctv small { font-size: 9px; }
body .ksc.ksr-score .ksr-co .ksc-lg { border-radius: 9px; }
body .ksc.ksr .ksr-chips { display: none; flex-wrap: wrap; gap: 3px; margin-top: 4px; }
body .ksc.ksr .ksr-chip { display: inline-flex; align-items: center; gap: 2px; padding: 1px 5px 1px 3px; border-radius: 999px; background: #eef1f5; color: #475467; font-size: 10px; font-weight: 700; }
body .ksc.ksr .ksr-chip-top { background: #fff4d6; color: #7a5200; }
@container ksrw (max-width: 600px) {
  body .ksc.ksr .ksr-chips.ksr-sp { display: flex !important; }
  body .ksc.ksr-score .ksr-c-co { width: 64%; } body .ksc.ksr-score .ksr-c-p { width: 36%; }
}
/* レーダーチャート */
body .ksc.ksr-rd { border-radius: 18px; background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 60%); border: 1px solid #dbe3f0; padding: 18px 18px 12px; box-shadow: 0 8px 24px rgba(15,29,51,.06); }
body .ksc.ksr-rd .ksr-rd-hd { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 1px dashed #dbe3f0; }
body .ksc.ksr-rd .ksr-rd-nm { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
body .ksc.ksr-rd .ksr-rd-no { align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: linear-gradient(135deg, #f7d774, #d4a017); color: #4a3400; font-size: 12px; font-weight: 800; }
body .ksc.ksr-rd .ksr-rd-nm strong { font-size: 20px; font-weight: 800; }
body .ksc.ksr-rd .ksr-rd-tt { text-align: right; line-height: 1.1; }
body .ksc.ksr-rd .ksr-rd-tt span { display: block; font-size: 11px; color: var(--ksc-sub); }
body .ksc.ksr-rd .ksr-rd-tt b { font-size: 34px; font-weight: 900; color: #1d4ed8; letter-spacing: -.02em; }
body .ksc.ksr-rd .ksr-rd-tt small { font-size: 12px; color: var(--ksc-sub); margin-left: 2px; }
body .ksc.ksr-rd .ksr-rd-bd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 8px 18px; align-items: center; margin-top: 6px; }
body .ksc.ksr-rd .ksr-rd-svg { display: block; width: 100%; height: auto; max-width: 380px; margin: 0 auto; }
body .ksc.ksr-rd .ksr-rd-lg { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 11px; color: var(--ksc-sub); margin: 0 !important; }
body .ksc.ksr-rd .ksr-lg-me, body .ksc.ksr-rd .ksr-lg-av { display: inline-block; width: 18px; height: 0; border-top: 3px solid #1d4ed8; margin-left: 8px; }
body .ksc.ksr-rd .ksr-lg-av { border-top: 2px dashed #94a3b8; }
body .ksc.ksr-rd .ksr-rd-ls { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 12px; }
body .ksc.ksr-rd .ksr-rd-ls li { display: grid; grid-template-columns: 30px 1fr auto auto; grid-template-rows: auto 8px; align-items: center; column-gap: 8px; row-gap: 5px; margin: 0 !important; padding: 0 !important; }
body .ksc.ksr-rd .ksr-rd-ls li::before { display: none !important; }
body .ksc.ksr-rd .ksr-rd-ic { grid-row: 1 / 3; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: #e8efff; color: #1d4ed8; }
body .ksc.ksr-rd .ksr-rd-l { font-size: 13px; font-weight: 700; }
body .ksc.ksr-rd .ksr-rd-v { font-size: 15px; font-weight: 800; }
body .ksc.ksr-rd .ksr-rd-v small { font-size: 10px; color: var(--ksc-sub); font-weight: 400; }
body .ksc.ksr-rd .ksr-rd-bar { grid-column: 2 / 5; position: relative; height: 8px; border-radius: 999px; background: #e9eef6; overflow: visible; }
body .ksc.ksr-rd .ksr-rd-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #60a5fa, #1d4ed8); }
body .ksc.ksr-rd .ksr-rd-bar b { position: absolute; top: -3px; width: 2px; height: 14px; background: #64748b; border-radius: 2px; }
@container ksrw (max-width: 600px) {
  body .ksc.ksr-rd { padding: 14px 12px 10px; }
  body .ksc.ksr-rd .ksr-rd-bd { grid-template-columns: 1fr; }
  body .ksc.ksr-rd .ksr-rd-nm strong { font-size: 17px; }
  body .ksc.ksr-rd .ksr-rd-tt b { font-size: 28px; }
}

/* ===== 1.7.2 6位以下の紹介を隠す ===== */
.ksc-cos-more:not(.is-open) { display: none !important; }
.ksc-cos-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; margin: 24px 0; border: 1.5px solid #0b57c9; border-radius: 12px; background: #fff; color: #0b57c9; font-size: 15px; font-weight: 800; cursor: pointer; }
.ksc-cos-btn::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.ksc-cos-btn[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }
.ksc-cos-btn:hover { background: #f2f6ff; }

/* ===== 1.7.3 記事：そのほかのスペック（開閉） ===== */
details.ksc-art-more { margin: 1.2em 0; border: 1px solid #dbe3f0; border-radius: 12px; background: #fff; }
details.ksc-art-more > summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-weight: 700; color: #1d4ed8; position: relative; }
details.ksc-art-more > summary::-webkit-details-marker { display: none; }
details.ksc-art-more > summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details.ksc-art-more[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
details.ksc-art-more > figure, details.ksc-art-more > p { margin: 0 14px 14px !important; }
details.ksc-art-more table th { background: #f3f6fb; width: 38%; }
/* 1.7.4 総合ランキングの項目の説明（見出しの「?」・スマホの「項目の見方」・モーダル） */
body .ksc.ksr-score button.ksr-catq.ksr-cth { background: none; border: 0; padding: 2px; margin: 0; cursor: pointer; width: 100%; font: inherit; font-size: 11px; color: #1d4ed8; }
body .ksc.ksr-score .ksr-q { display: inline-flex; align-items: center; justify-content: center; width: 13px; height: 13px; margin-left: 2px; border-radius: 50%; background: #1d4ed8; color: #fff; font-size: 9px; font-style: normal; font-weight: 800; vertical-align: 1px; }
body .ksc.ksr-score button.ksr-cth:hover span { text-decoration: underline; }
body .ksc.ksr .ksr-legend { display: none; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 8px; }
body .ksc.ksr .ksr-legend-t { font-size: 12px; font-weight: 800; color: #475467; }
body .ksc.ksr .ksr-legend-b { display: inline-flex; align-items: center; gap: 3px; margin: 0; padding: 4px 9px 4px 6px; border: 1px solid #c7d2fe; border-radius: 999px; background: #f5f7ff; color: #1d4ed8; font-size: 12px; font-weight: 700; line-height: 1.4; cursor: pointer; }
@media (max-width: 767px) { body .ksc.ksr .ksr-legend.ksr-sp { display: flex !important; } }
.ksc-co-md .ksc-cat-ic { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: #eef2ff; }
.ksc-co-md .ksc-co-t .ksc-cat-pt { width: 22%; text-align: right; white-space: nowrap; }
.ksc-co-md .ksc-cat-top { margin: 0; padding: 0; list-style: none; }
.ksc-co-md .ksc-cat-top li { display: flex; gap: 8px; align-items: center; margin: 0; padding: 4px 0; border-bottom: 1px dashed #e3e7ee; }
.ksc-co-md .ksc-cat-top b { display: inline-flex; flex: none; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: #fff4d6; color: #7a5200; font-size: 12px; }
.ksc-co-md .ksc-cat-top span { margin-left: auto; font-weight: 800; }
.ksc-co-md .ksc-cat-note { margin: 8px 0 0; font-size: 12px; color: #5b6577; }
/* 1.7.5 [sim_cases] 条件を列に分け、変えた条件に色を付ける */
body .ksc.ksr-cases-cols .ksr-c-cd { width: auto; text-align: center; background: #fff; font-weight: 500; font-size: 12px; }
body .ksc.ksr-cases-cols .ksr-c-cd.ksr-chg { background: #fff4d6; color: #7a5200; font-weight: 800; }
body .ksc.ksr-cases-cols tr.ksr-base .ksr-c-cd { background: #f3f6fb; font-weight: 700; }
body .ksc.ksr-cases-cols .ksr-c-co { width: 30%; } body .ksc.ksr-cases-cols .ksr-c-p { width: 16%; } body .ksc.ksr-cases-cols .ksr-c-bt { width: 14%; }
@media (max-width: 767px) { body .ksc.ksr-cases-cols .ksr-c-cd { font-size: 11px; padding: 6px 2px; } body .ksc.ksr-cases-cols .ksr-c-co { width: auto; } }
/* 1.7.6 見出しと質問のつながり方を、iPhone最安検索ツールと同じにする（見出しと質問を別々の枠にして、間をあける） */
body .ksc .ksc-intro2, body .ksc.ksc-mdm .ksc-intro2 { border: 1px solid #dfe3ea; border-radius: 12px; }
body .ksc .ksc-wz { margin: 12px 0 0; padding: 14px 16px 16px; border: 1px solid #e1e4e8; border-radius: 12px; }
body .ksc .kwz-st { gap: 3px; margin: 0 0 8px; }
body .ksc .kwz-st i { background: #e1e4e8; }
body .ksc .kwz-sl { justify-content: flex-start; gap: 12px; margin: 0 0 14px; color: #5f6872; }
/* 1.7.7 診断を使わずに条件から探す（iPhone最安検索ツールと同じ） */
body .ksc .kwz-sl { align-items: center; }
body .ksc .kwz-off { margin-left: auto; min-height: 34px; padding: 0 12px; border: 1px solid #d5dbe5; border-radius: 8px; background: #fff; color: #1b2433; font-size: 13px; font-weight: 700; font-family: inherit; white-space: nowrap; cursor: pointer; }
body .ksc .kwz-off:hover { border-color: #2557d6; color: #2557d6; }
/* 1.7.9 ロゴを大きく（横長のロゴを正方形の枠に入れない） */
body .ksc .ksc-lg.ksc-lgi { width: auto; height: auto; border: 0; border-radius: 0; background: none; box-shadow: none; }
body .ksc.ksr .ksr-logo { max-width: 120px; max-height: 36px; }
body .ksc .ksc-logo { max-height: 36px; max-width: min(180px, 100%); }
@container ksrw (max-width: 600px) { body .ksc.ksr .ksr-logo { max-height: 30px; } }
body .ksc.ksr .ksr-co:has(.ksc-lgi), body .ksc.ksr .ksr-co:has(.ksr-logo) { flex-wrap: wrap; row-gap: 2px; }
body .ksc.ksr .ksr-co:has(.ksc-lgi) .ksr-nm, body .ksc.ksr .ksr-co:has(.ksr-logo) .ksr-nm { flex-basis: 100%; padding-left: 26px; }
/* 1.7.11 ロゴの角を丸く切らない */
body .ksc .ksc-lg.ksc-lgi, body .ksc.ksr-score .ksr-co .ksc-lg.ksc-lgi { border-radius: 0 !important; overflow: visible; }
/* 1.7.12 順位のない表（条件を変える表など）は、ロゴと会社名を真ん中にそろえる */
body .ksc.ksr .ksr-co:not(:has(.ksr-rk)) { justify-content: center; text-align: center; }
body .ksc.ksr .ksr-co:not(:has(.ksr-rk)) .ksr-nm { padding-left: 0 !important; }
body .ksc.ksr .ksr-co:not(:has(.ksr-rk)) .ksr-logo { object-position: center; }
/* 1.8.0 時間帯ごとの下り（ボタンで切り替え） */
body .ksc .ksr-ts { margin: 22px 0 0; }
body .ksc .ksr-ts-h { margin: 0 0 8px !important; font-size: 15px; font-weight: 800; color: #0f1d33; }
body .ksc .ksr-ts-r { position: absolute; opacity: 0; pointer-events: none; }
body .ksc .ksr-ts-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 10px; }
body .ksc .ksr-ts-tabs label { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 4px; border: 1px solid #d5dbe5; border-radius: 10px; background: #fff; color: #1b2433; font-size: 14px; font-weight: 800; cursor: pointer; }
body .ksc .ksr-ts-tabs label small { font-size: 10px; font-weight: 500; color: #7a8496; }
body .ksc .ksr-ts-t { display: none; }
body .ksc .ksr-ts-r:nth-of-type(1):checked ~ .ksr-ts-t0, body .ksc .ksr-ts-r:nth-of-type(2):checked ~ .ksr-ts-t1, body .ksc .ksr-ts-r:nth-of-type(3):checked ~ .ksr-ts-t2, body .ksc .ksr-ts-r:nth-of-type(4):checked ~ .ksr-ts-t3 { display: table; }
body .ksc .ksr-ts-r:nth-of-type(1):checked ~ .ksr-ts-tabs label:nth-child(1), body .ksc .ksr-ts-r:nth-of-type(2):checked ~ .ksr-ts-tabs label:nth-child(2), body .ksc .ksr-ts-r:nth-of-type(3):checked ~ .ksr-ts-tabs label:nth-child(3), body .ksc .ksr-ts-r:nth-of-type(4):checked ~ .ksr-ts-tabs label:nth-child(4) { border-color: #2557d6; background: #2557d6; color: #fff; }
body .ksc .ksr-ts-r:nth-of-type(1):checked ~ .ksr-ts-tabs label:nth-child(1) small, body .ksc .ksr-ts-r:nth-of-type(2):checked ~ .ksr-ts-tabs label:nth-child(2) small, body .ksc .ksr-ts-r:nth-of-type(3):checked ~ .ksr-ts-tabs label:nth-child(3) small, body .ksc .ksr-ts-r:nth-of-type(4):checked ~ .ksr-ts-tabs label:nth-child(4) small { color: #dbe5ff; }
body .ksc .ksr-ts-r:focus-visible ~ .ksr-ts-tabs { outline: 2px solid #9db6f0; outline-offset: 2px; }
body .ksc .ksr-ts-bar { display: block; height: 6px; margin: 4px auto 0; max-width: 140px; border-radius: 3px; background: #e7e9ee; overflow: hidden; }
body .ksc .ksr-ts-bar i { display: block; height: 100%; background: #2557d6; border-radius: 3px; }
