/* 用途: CM3/CP1の分野別比較表。単一の表を600px未満では4列に組み替える。 */
.category-page{max-width:1480px;margin:auto;padding:0 24px}.category-hero{background:linear-gradient(120deg,var(--blue-pale),#fff);border-radius:12px;padding:20px;margin-bottom:16px}.category-title-row{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.category-title-row h1{display:flex;align-items:center;gap:12px;font-size:32px}.category-title-row .symbol{width:34px;height:34px;color:var(--blue)}.category-title-row .advertising{margin:0}.category-lead{margin:14px 0 18px}.category-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0}.category-summary>div{display:grid;grid-template-columns:32px minmax(0,1fr);gap:0 12px;align-items:center;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fff}.category-summary .symbol{grid-row:1/3;width:30px;height:30px;color:var(--blue)}.category-summary dt{font-size:14px;font-weight:650}.category-summary dd{margin:0;font-size:30px;font-weight:750;color:var(--blue);line-height:1.5}.category-summary dd>span:last-child{margin-left:5px;font-size:14px;color:var(--ink);white-space:nowrap}.category-notice{display:flex;align-items:flex-start;gap:12px;color:var(--muted);font-size:14px;margin:20px 0}.category-notice .symbol{width:22px;height:22px;flex:none;margin-top:2px}.category-table{width:100%;border:1px solid var(--line);border-spacing:0;border-radius:12px;overflow:hidden;table-layout:fixed;background:#fff;font-size:14px;line-height:1.65}.category-table caption{position:absolute}.category-table th,.category-table td{padding:14px 12px;text-align:left;vertical-align:middle;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.category-table th:last-child,.category-table td:last-child{border-right:0}.category-table tbody tr:last-child>*{border-bottom:0}.category-table thead{background:var(--blue-pale)}.category-table th{font-weight:700}.category-col-service{width:19%}.category-col-official{width:22%}.category-col-iap{width:16%}.category-col-reviews{width:12%}.category-col-link{width:16%}.category-identity{display:flex;gap:10px;align-items:center;min-width:0}.category-identity .app-icon{width:40px;height:40px;border-radius:10px}.category-identity>div{min-width:0}.category-product-name{font-size:16px;word-break:keep-all;overflow-wrap:normal}.category-plan{display:block;font-size:12px;font-weight:400;word-break:keep-all;overflow-wrap:normal}.category-table .top-amount{display:block;font-size:17px;line-height:1.5}.category-table .top-monthly{display:block;font-size:12px;font-weight:400;white-space:normal}.category-table .top-monthly>.nowrap{display:inline-block}.category-table .top-regular{display:inline-block;max-width:100%;font-size:12px;background:var(--blue-pale);border-radius:20px;padding:1px 8px;word-break:keep-all}.category-table .top-regular [data-number]{white-space:nowrap}.category-review-count{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.category-review-count .symbol{width:22px;height:22px;color:var(--blue)}.category-term-text{display:inline-block;text-decoration:underline}.category-term-arrow{display:inline-flex;align-items:center;justify-content:center;flex:none;line-height:1;text-decoration:none;font-size:20px;align-self:center}.category-product-link{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;background:linear-gradient(145deg,#086bd8,#0866ca);color:#fff;border-radius:8px;padding:10px 8px;font-size:12px;font-weight:650;white-space:nowrap}.category-product-link:hover{background:var(--blue-dark)}.category-notes-list{padding:20px 24px 20px 38px;border:1px solid var(--line);border-radius:12px;list-style:disc}.category-notes-list li+li{margin-top:12px}.category-sources ul{border:1px solid var(--line);border-radius:12px;overflow:hidden}.category-sources li{display:grid;grid-template-columns:minmax(130px,24%) minmax(0,1fr);gap:20px;padding:14px 20px;background:#fff}.category-sources li+li{border-top:1px solid var(--line)}.category-sources .source-line{margin:0;overflow-wrap:anywhere}.category-others>div{display:flex;gap:12px;flex-wrap:wrap}.category-other-link{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--line);border-radius:8px;min-height:44px;padding:10px 16px;background:#fff}
@media(min-width:600px) and (max-width:1099px){.category-table{font-size:12px}.category-table th,.category-table td{padding:12px 6px}.category-identity{display:block}.category-identity .app-icon{margin-bottom:6px}.category-table .top-amount{font-size:14px}.category-product-name{font-size:14px}.category-product-link{white-space:normal;word-break:keep-all}.category-col-service{width:18%}.category-col-official{width:22%}.category-col-iap{width:17%}.category-col-reviews{width:11%}.category-col-link{width:15%}.category-summary>div{padding:12px 10px;gap:0 8px}.category-summary dt{font-size:12px}}
@media(max-width:599px){.category-page{padding:0 10px}.category-hero{padding:14px 2px;background:var(--blue-pale)}.category-title-row{gap:8px}.category-title-row h1{font-size:23px;gap:8px}.category-title-row .symbol{width:26px;height:26px}.category-title-row .advertising{margin-left:4px}.category-lead{font-size:14px;margin:12px 4px 18px}.category-summary{gap:0;border:1px solid var(--line);border-radius:12px;background:var(--blue-pale);padding:12px 0}.category-summary>div{grid-template-columns:1fr;padding:0 8px;gap:5px;border:0;border-radius:0;background:none;align-content:start}.category-summary>div+div{border-left:1px solid var(--line)}.category-summary .symbol{grid-row:auto;width:24px;height:24px}.category-summary dt{font-size:12px;min-height:40px}.category-summary dd{font-size:26px;color:var(--ink)}.category-summary dd>span:last-child{font-size:12px;margin-left:2px}.category-notice{font-size:12px;background:var(--blue-pale);border-radius:12px;padding:12px;gap:8px;margin:16px 0}.category-notice .symbol{width:18px;height:18px}.category-table{display:block;table-layout:auto;font-size:12px}.category-table thead,.category-table tbody{display:block}.category-table tr{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,1.2fr) minmax(0,1.05fr) minmax(0,.8fr)}.category-table th,.category-table td{min-width:0;padding:10px 4px;border-bottom:0}.category-table thead th{width:auto;text-align:center;word-break:keep-all;padding:10px 3px}.category-table .category-col-link{position:absolute;clip-path:inset(50%);width:1px;height:1px;padding:0;overflow:hidden}.category-table tbody tr{border-top:1px solid var(--line)}.category-table tbody .category-action{grid-column:1/-1;border-right:0}.category-table tbody .category-action{padding:10px 8px 14px}.category-product-link{font-size:14px;min-height:44px}.category-identity{display:block}.category-identity .app-icon{width:32px;height:32px;margin:0 0 7px}.category-product-name{font-size:13px;line-height:1.5}.category-plan{font-size:12px;line-height:1.6}.category-table .top-amount{font-size:13px}.category-table .top-monthly{font-size:12px;word-break:keep-all}.category-table .top-regular{font-size:12px;background:none;border-radius:0;padding:0;line-height:1.5;word-break:keep-all}.category-table .top-amount>.nowrap{white-space:normal;word-break:keep-all;display:block}.category-table .top-amount>.nowrap [data-number]{white-space:nowrap;display:inline-block}.category-table .top-monthly>.nowrap{white-space:nowrap}.category-review-count{display:block;text-align:center}.category-review-count .symbol{display:block;margin:0 auto 4px;width:20px;height:20px}.category-sources li{display:block;padding:14px}.category-sources .source-line{display:block;margin-top:6px}.category-notes-list{padding:16px 16px 16px 30px;font-size:14px}.category-others>div{display:grid;grid-template-columns:1fr}.category-other-link{font-size:14px}}

/* 狭い列は語を分けた単位で折る。ラベルの文字サイズは維持する。 */
.category-col-reviews>.nowrap,.category-col-iap>.nowrap{display:inline-block}
@media(min-width:600px) and (max-width:1099px){.category-product-link{display:block;text-align:center;padding:8px 4px}.category-col-service{width:21%}.category-col-official{width:20%}.category-col-iap{width:15%}.category-col-reviews{width:10%}.category-col-link{width:17%}}
@media(max-width:599px){.category-table tr{grid-template-columns:minmax(0,33fr) minmax(0,26fr) minmax(0,24fr) minmax(0,17fr)}.category-table thead th{padding-inline:2px}.category-table .top-regular{word-break:normal}.category-table .top-regular [data-number]{display:inline-block}}

.category-plan-word{display:inline-block;white-space:nowrap}.category-plan{word-break:normal;line-break:strict}

.category-product-name>.nowrap{display:inline-block}.category-product-link{gap:0}.category-product-link>span[aria-hidden]{margin-left:8px}
@media(min-width:1100px){.category-product-name{font-size:18px}.category-plan{font-size:13px}.category-table thead th{font-size:16px}.category-table .top-amount{font-size:18px}.category-table .top-monthly{font-size:13px}.category-product-link{font-size:14px}}

@media(min-width:600px) and (max-width:767px){.category-col-service{width:21%}.category-col-official{width:18%}.category-col-iap{width:15%}.category-col-reviews{width:12%}.category-col-link{width:17%}.category-table .top-amount>.nowrap{white-space:normal;word-break:keep-all}.category-table .top-amount [data-number]{white-space:nowrap;display:inline-block}.category-term-text>.nowrap{display:inline-block}.category-product-link{padding-inline:2px}}
@media(min-width:1100px){.category-summary{grid-template-columns:minmax(0,.7fr) minmax(0,1.1fr) minmax(0,1.2fr)}.category-summary>div{display:flex;gap:12px}.category-summary dt{white-space:nowrap}.category-summary dd{white-space:nowrap}.category-summary .symbol{flex:none}}

/* 追補1: 文言を変えず、語と文末と括弧を同じ行に保つ。 */
.category-title-row h1{min-width:0;max-width:100%}.category-title-row h1>.symbol{flex:none}.category-title-text{min-width:0;word-break:keep-all;overflow-wrap:normal}.category-title-text>.nowrap,.category-summary-part,.category-sentence-end{display:inline-block;white-space:nowrap}.category-notice>span{min-width:0}
@media(max-width:599px){.category-summary-part{display:block}}

/* 追補3: 表前の案内、更新額、口コミへの文字リンクと問いの見出し。 */
.category-notice-content{display:grid;gap:8px;min-width:0}.category-notice-content p{margin:0}.category-sources-jump{display:flex;align-items:center;gap:6px;min-height:44px;width:fit-content;max-width:100%;font-size:14px;text-decoration:none}.category-sources-jump:hover{text-decoration:none}.category-table .category-renewal{font-weight:400}.category-heading-text{word-break:keep-all;overflow-wrap:normal}.category-heading-text>.nowrap{display:inline-block;white-space:nowrap}a.category-review-count{min-height:44px;text-decoration:none}a.category-review-count strong{text-decoration:underline}
@media(max-width:599px){.category-sources-jump{font-size:13px}}

/* 段階8e: 320px付近はサービス名と口コミの列を広く取る。 */
@media(max-width:350px){
 .category-table tr{grid-template-columns:minmax(0,36fr) minmax(0,26fr) minmax(0,18fr) minmax(0,20fr)}
 .category-table th,.category-table td{padding-inline:1px}
}
/* 実測で不足した商品62の行だけ、名前をアイコンの下へ置く。 */
@media(min-width:1100px) and (max-width:1125px){
 .category-table tr:has(.category-product-link[href="/p/62/"]) .category-identity{display:block}
 .category-table tr:has(.category-product-link[href="/p/62/"]) .category-identity .app-icon{margin-bottom:10px}
}
/* 2026-11-19 VPN の「1年・3年使うと合計いくら？」の表 */
.category-period-lead{margin:0 0 14px;font-size:14px;color:var(--muted)}
.category-period-table{width:100%;border:1px solid var(--line);border-spacing:0;border-radius:12px;overflow:hidden;table-layout:fixed;background:#fff;font-size:14px;line-height:1.6}
.category-period-table th,.category-period-table td{padding:10px 12px;text-align:left;vertical-align:middle;border-bottom:1px solid var(--line)}
.category-period-table tbody tr:last-child>*{border-bottom:0}
.category-period-table thead{background:var(--blue-pale)}
.category-period-table thead th{font-weight:700;word-break:keep-all}
.category-period-table thead th:first-child{width:28%}
.category-period-table tbody th{font-weight:650;word-break:keep-all;overflow-wrap:anywhere}
.category-period-table tbody th a{display:inline-block}
.period-line{display:block}
.period-years{display:inline-block;min-width:2.6em;font-size:12px;color:var(--muted)}
.period-line strong{font-size:15px}
.category-period-table .price-tax{font-size:12px;color:var(--muted)}
.category-period-notes{margin-top:14px;padding:16px 20px 16px 34px;border:1px solid var(--line);border-radius:12px;list-style:disc;font-size:14px}
.category-period-notes li+li{margin-top:8px}
@media(max-width:599px){
 .category-period-lead{font-size:13px;margin:0 4px 12px}
 .category-period-table{display:block;font-size:12px}
 .category-period-table thead,.category-period-table tbody{display:block}
 /* スマホでは、サービス名を1行目に全幅で置き、公式サイトとアプリ内課金を2列で並べる。 */
 .category-period-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .category-period-table th,.category-period-table td{min-width:0;padding:8px}
 .category-period-table thead th:first-child{position:absolute;clip-path:inset(50%);width:1px;height:1px;padding:0;overflow:hidden}
 .category-period-table tbody th{grid-column:1/-1;padding-bottom:0;border-bottom:0;font-size:14px}
 .period-years{min-width:2.4em}
 .period-line strong{font-size:13px}
 .category-period-table .price-tax{display:block;font-size:12px;line-height:1.4;margin-bottom:2px}
 .category-period-notes{padding:12px 12px 12px 26px;font-size:13px}
}
