/* 比較ページ専用。寸法はここで管理。TOP3: 390 - 左右12×2 = 366px。 */
:root {
  --blue: #0B3C8C;
  --yellow: #FFE600;
  --cta-orange: #F26A1B;
  --white: #FFFFFF;
  --surface: #F2F5FA;
  --line: #CCD3DD;
  --ink: #111827;
  --first-surface: #FFFBD6;
  --muted: color-mix(in srgb, var(--ink) 65%, var(--white));
  --gold: #B99732;
  --silver: #8B96A8;
  --bronze: #A77850;
  --page-width: 480px;
  --header-height: 44px;
  --sticky-height: 60px;
  --font-body: 15px;
  --font-note: 12px;
  --font-pr: 11px;
  --font-h1: 34px;
  --font-h2: 20px;
  --font-h3: 19px;
  --font-h4: 15px;
  --font-total: 48px;
  --font-unit: 24px;
  --font-hero-band: 16px;
  --font-brand: 18px;
  --font-top: 10px;
  --font-top-company: 12px;
  --font-top-money: 14px;
  --font-top-button: 11px;
  --font-top-note: 9px;
  --font-fact-money: 24px;
  --font-breakdown: 10px;
  --font-sticky: 12px;
  --font-close: 20px;
  --line-body: 1.7;
  --line-heading: 1.4;
  --line-table: 1.5;
  --line-cta: 1.5;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-section: 28px;
  --gutter: 12px;
  --card-padding: 12px;
  --border: 1px;
  --first-border: 3px;
  --medium-border: 4px;
  --cta-radius: 8px;
  --cta-height: 52px;
  --cta-shadow: 4px;
  --hero-ratio: 3 / 2;
  --hero-copy-inset: 16px;
  --hero-copy-bottom: 20px;
  --hero-eyebrow-width: 190px;
  --hero-title-width: 350px;
  --hero-title-tracking: -0.04em;
  --section-overhang: -12px;
  --top-company-width: 25%;
  --top-type-width: 12%;
  --top-total-width: 21%;
  --top-cancel-width: 19%;
  --top-cta-width: 23%;
  --top-cell-padding-x: 3px;
  --top-cell-padding-y: 10px;
  --top-cta-padding-x: 3px;
  --top-cta-height: 44px;
  --top-arrow-width: 7px;
  --top-arrow-height: 12px;
  --compare-label-width: 108px;
  --compare-company-width: 164px;
  --compare-width: 928px; /* 108 + 164 × 5 */
  --fact-col-width: 50%;
  --break-company-width: 27%;
  --break-init-width: 14%;
  --break-pay-width: 23%;
  --break-cancel-width: 17%;
  --break-total-width: 19%;
  --break-cell-padding: 2px;
  --pick-image-width: 88px;
  --pick-image-height: 116px;
  --type-image-height: 144px;
  --milk-image-height: 210px;
  --crown-width: 26px;
  --crown-height: 22px;
  --check-size: 18px;
  --arrow-width: 12px;
  --arrow-height: 20px;
  --focus-offset: 3px;
  --close-size: 24px;
  --sticky-close-inset: 4px;
  --sticky-arrow-width: 10px;
  --sticky-z: 10;
}
* { box-sizing: border-box; }
html { background: var(--surface); color: var(--ink); scroll-padding-bottom: calc(var(--sticky-height) + var(--space-4)); }
body { max-width: var(--page-width); margin: 0 auto; background: var(--white); font-family: 'Noto Sans JP', system-ui, sans-serif; font-size: var(--font-body); font-weight: 500; line-height: var(--line-body); font-variant-numeric: tabular-nums; }
a { color: var(--blue); text-underline-offset: var(--focus-offset); }
a:hover { text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: var(--first-border) solid var(--blue); outline-offset: var(--focus-offset); }
button { font: inherit; cursor: pointer; }
strong, b, th, h1, h2, h3, h4 { font-weight: 700; }
p, ul, ol, figure { margin: 0 0 var(--space-3); }
ul, ol { padding-left: var(--space-5); }
h1, h2, h3, h4 { margin: 0; line-height: var(--line-heading); }
h3 { color: var(--blue); font-size: var(--font-h3); }
h4 { color: var(--blue); font-size: var(--font-h4); }
small, figcaption { font-size: var(--font-note); }
svg { flex-shrink: 0; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { display: block; padding: var(--space-2); background: var(--white); }
.site-header { height: var(--header-height); border-bottom: var(--border) solid var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; padding: 0 var(--space-4); }
.brand { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--blue); text-decoration: none; font-size: var(--font-brand); font-weight: 900; }
.brand-mark { display: inline-block; width: var(--space-4); height: var(--space-5); border: var(--border) solid var(--blue); border-left-width: var(--medium-border); }
.promotion { margin: 0; padding: var(--space-1) var(--gutter); color: var(--muted); font-size: var(--font-pr); text-align: right; }
.hero { position: relative; aspect-ratio: var(--hero-ratio); background: var(--surface); overflow: hidden; }
.image-frame { display: block; background: var(--surface); overflow: hidden; }
.image-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero > .image-frame { position: absolute; inset: 0; }
.hero h1 { position: absolute; inset: auto var(--hero-copy-inset) var(--hero-copy-bottom); color: var(--blue); }
.hero-eyebrow { display: block; width: var(--hero-eyebrow-width); max-width: 100%; padding: var(--space-1) var(--space-2); background: var(--white); font-size: var(--font-body); }
.hero-title { display: block; max-width: var(--hero-title-width); width: fit-content; margin-bottom: var(--space-2); padding: var(--space-1) var(--space-2); background: var(--white); font-size: var(--font-h1); font-weight: 900; letter-spacing: var(--hero-title-tracking); line-height: var(--line-heading); }
.hero-band { display: block; padding: var(--space-2); background: var(--blue); color: var(--white); font-size: var(--font-hero-band); text-align: center; }
.article-body { padding: 0 var(--gutter); }
.article-body > section { margin-top: var(--space-section); }
.article-body > .conclusion-box { margin-top: 0; margin-inline: var(--section-overhang); padding: var(--space-3) var(--space-5); background: var(--surface); text-align: center; border-bottom: var(--border) solid var(--line); }
.conclusion-label { color: var(--blue); font-size: var(--font-h3); }
.conclusion-main { line-height: var(--line-heading); margin-bottom: var(--space-2); color: var(--blue); font-size: var(--font-h3); }
.conclusion-main strong { display: block; }
.big-number { display: table; margin: var(--space-1) auto 0; padding: 0 var(--space-2); background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 91%, transparent 91%); font-size: var(--font-total); font-weight: 900; line-height: var(--line-heading); }
.big-number { white-space: nowrap; }
.number-unit { font-size: var(--font-unit); }
.conclusion-sub, .conclusion-detail { margin-bottom: var(--space-2); font-size: var(--font-note); }
.conclusion-detail { color: var(--blue); font-weight: 700; }
.section-title { margin: 0 var(--section-overhang) var(--space-4); padding: var(--space-3) var(--space-2); background: var(--blue); color: var(--white); font-size: var(--font-h2); text-align: center; }
.section-lead, .table-note { font-size: var(--font-note); }
.amount, .money { white-space: nowrap; font-variant-numeric: tabular-nums; }
.money { font-weight: 700; }
.comparison-cta { margin-top: var(--space-3); position: relative; }
.cta { display: flex; align-items: center; justify-content: center; gap: var(--space-2); width: 100%; min-height: var(--cta-height); padding: var(--space-2) var(--space-3); border: 0; border-radius: var(--cta-radius); color: var(--white); background: var(--cta-orange); box-shadow: 0 var(--cta-shadow) 0 color-mix(in srgb, var(--cta-orange) 65%, var(--ink)); text-decoration: none; font-weight: 700; line-height: var(--line-cta); }
.cta:hover { filter: brightness(1.05); }
.cta:active { transform: translateY(var(--border)); box-shadow: 0 var(--border) 0 color-mix(in srgb, var(--cta-orange) 65%, var(--ink)); }
.cta-label { min-width: 0; }
.cta-arrow { width: var(--arrow-width); height: var(--arrow-height); }
.offer-note { margin: var(--space-2) 0 0; color: var(--muted); font-size: var(--font-note); text-align: center; }
/* 計測用の1×1画像は表示寸法を保ち、CTAのレイアウトから除外。 */
.comparison-cta > img { position: absolute; width: 1px; height: 1px; }
table { width: 100%; table-layout: fixed; border-collapse: collapse; line-height: var(--line-table); }
caption { color: var(--blue); font-weight: 700; text-align: left; padding-bottom: var(--space-2); }
th, td { border: var(--border) solid var(--line); padding: var(--space-2); vertical-align: middle; overflow-wrap: anywhere; }
thead th { background: var(--blue); color: var(--white); text-align: center; }
.top3-table + .section-lead { margin-top: var(--space-2); }
.top3-table { font-size: var(--font-top); text-align: center; }
.top-col-company { width: var(--top-company-width); }
.top-col-type { width: var(--top-type-width); }
.top-col-total { width: var(--top-total-width); }
.top-col-cancel { width: var(--top-cancel-width); }
.top-col-cta { width: var(--top-cta-width); }
.top3-table th, .top3-table td { padding: var(--top-cell-padding-y) var(--top-cell-padding-x); }
.top3-table thead th { padding-block: var(--space-2); }
.top3-table .money { font-size: var(--font-top-money); white-space: nowrap; }
.top3-table td:nth-child(4) .money { font-size: var(--font-top-company); }
.top3-table small { display: block; margin-top: var(--space-1); font-size: var(--font-top); line-height: var(--line-heading); }
.top3-table .comparison-cta { margin-top: 0; }
.top3-table .cta { min-height: var(--top-cta-height); padding: var(--space-1) var(--top-cta-padding-x); gap: var(--space-1); font-size: var(--font-top-button); }
.top3-table .cta-arrow { width: var(--top-arrow-width); height: var(--top-arrow-height); }
.top3-table .offer-note { font-size: var(--font-top-note); line-height: var(--line-heading); }
.top-company { display: block; font-size: var(--font-top-company); font-weight: 700; }
.rank { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1); font-size: var(--font-top-company); white-space: nowrap; }
.rank svg { width: var(--crown-width); height: var(--crown-height); }
.rank-gold svg { color: var(--gold); }
.rank-silver svg { color: var(--silver); }
.rank-bronze svg { color: var(--bronze); }
.rank-blue svg { color: var(--blue); }
.first-tag { display: block; margin: var(--space-1) 0; background: var(--yellow); color: var(--blue); font-size: var(--font-top); font-weight: 700; }
.top-pick.is-first > * { background: var(--first-surface); border-top: var(--first-border) solid var(--yellow); border-bottom: var(--first-border) solid var(--yellow); }
.top-pick.is-first > :first-child { border-left: var(--first-border) solid var(--yellow); }
.top-pick.is-first > :last-child { border-right: var(--first-border) solid var(--yellow); }
.duration-item { display: grid; grid-template-columns: var(--pick-image-width) minmax(0, 1fr); gap: var(--space-3); border: var(--border) solid var(--line); margin-top: var(--space-3); padding: var(--card-padding); }
.duration-item.is-first { border: var(--first-border) solid var(--yellow); background: var(--first-surface); }
.duration-item > .image-frame { height: var(--pick-image-height); }
.duration-item .image-frame img { object-fit: contain; }
.duration-copy h3 { font-size: var(--font-body); margin-bottom: var(--space-2); }
.duration-tag { display: block; font-size: var(--font-note); margin-bottom: var(--space-1); }
.duration-copy p { font-size: var(--font-note); }
.duration-copy .cta { font-size: var(--font-note); min-height: var(--top-cta-height); padding: var(--space-2); }
.company-card { border: var(--border) solid var(--line); margin-top: var(--space-4); padding: 0 var(--card-padding) var(--card-padding); }
.company-card.is-first { border: var(--first-border) solid var(--yellow); }
.company-card > h3 { border-left: var(--medium-border) solid var(--blue); border-bottom: var(--border) solid var(--blue); margin: 0 calc(0px - var(--card-padding)) var(--space-3); padding: var(--space-3) var(--space-2); background: var(--surface); }
.company-card.is-first > h3 { background: var(--first-surface); }
.company-card > h3 > .rank { margin-right: var(--space-2); color: var(--ink); vertical-align: middle; }
.company-card h3 small { display: block; margin-top: var(--space-1); font-weight: 500; }
.type-figure { margin-bottom: var(--space-3); }
.type-figure .image-frame { height: var(--type-image-height); }
.type-figure img { object-fit: contain; }
figcaption { color: var(--muted); text-align: right; }
.fact-col { width: var(--fact-col-width); }
.company-facts { margin-bottom: var(--space-3); }
.company-facts td { text-align: center; padding: var(--space-2); }
.fact-label { display: block; color: var(--blue); font-size: var(--font-note); font-weight: 700; }
.company-facts .money { display: block; font-size: var(--font-fact-money); }
.company-facts small { display: block; }
.fact-total { background: var(--surface); }
.company-card.is-first .fact-total { background: var(--first-surface); }
.company-description { font-size: var(--font-body); }
.company-description p { margin-bottom: var(--space-2); }
.fit-title { margin-bottom: var(--space-2); color: var(--blue); font-weight: 700; }
.fit-list { list-style: none; padding: 0; font-size: var(--font-note); }
.fit-list li { display: flex; gap: var(--space-2); margin-bottom: var(--space-1); align-items: flex-start; }
.fit-list li:first-child > span { background: linear-gradient(transparent 62%, var(--yellow) 62%); font-weight: 700; }
.check-icon { color: var(--blue); width: var(--check-size); height: var(--check-size); margin-top: var(--space-1); }
.caution { padding: var(--space-2); border: var(--border) solid var(--line); background: var(--surface); color: var(--muted); font-size: var(--font-note); }
.table-scroll { overflow-x: auto; overscroll-behavior-x: contain; border: var(--border) solid var(--line); }
.comparison-table { width: var(--compare-width); font-size: var(--font-note); }
.col-label { width: var(--compare-label-width); }
.col-company { width: var(--compare-company-width); }
.comparison-table tr > :first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); border-right: var(--border) solid var(--line); }
.comparison-table thead tr > :first-child { background: var(--blue); z-index: 2; }
.comparison-table .col-top { background: var(--first-surface); border-left: var(--first-border) solid var(--yellow); border-right: var(--first-border) solid var(--yellow); }
.comparison-table thead .col-top { color: var(--blue); border-top: var(--first-border) solid var(--yellow); }
.comparison-table tbody tr:last-child .col-top { border-bottom: var(--first-border) solid var(--yellow); }
.comparison-table .is-lowest { background: var(--yellow); font-weight: 900; }
.period-row td { white-space: nowrap; font-weight: 700; }
.table-cta .cta { font-size: var(--font-note); }
.table-note { margin-top: var(--space-2); color: var(--muted); }
.milk-figure .image-frame { height: var(--milk-image-height); }
.milk-list { list-style: none; padding: 0; font-size: var(--font-note); }
.milk-list li { padding: var(--space-2) 0; border-bottom: var(--border) solid var(--line); }
.faq-item { border: var(--border) solid var(--line); margin-bottom: var(--space-2); background: var(--white); }
summary { cursor: pointer; }
.faq-item summary { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3); color: var(--blue); font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; margin-left: auto; color: var(--blue); }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 var(--space-3); font-size: var(--font-note); }
.summary-list { list-style: none; padding: 0; }
.summary-list li { padding: var(--space-2) 0; border-bottom: var(--border) solid var(--line); }
.calculation, .references { background: var(--surface); font-size: var(--font-note); }
.article-body > .calculation { margin-inline: var(--section-overhang); padding: 0 var(--gutter) var(--space-4); }
.calc-list li { margin-bottom: var(--space-2); }
.breakdown-table { font-size: var(--font-breakdown); text-align: center; }
.break-col-company { width: var(--break-company-width); }
.break-col-init { width: var(--break-init-width); }
.break-col-pay { width: var(--break-pay-width); }
.break-col-cancel { width: var(--break-cancel-width); }
.break-col-total { width: var(--break-total-width); }
.breakdown-table th, .breakdown-table td { padding: var(--space-2) var(--break-cell-padding); }
.references { padding: var(--space-4) var(--gutter); }
.references > h2 { border-left: var(--medium-border) solid var(--blue); border-bottom: var(--border) solid var(--blue); padding: var(--space-2); color: var(--blue); font-size: var(--font-h3); margin-bottom: var(--space-3); }
.source-group { border-bottom: var(--border) solid var(--line); }
.source-group summary { padding: var(--space-2) 0; color: var(--blue); font-weight: 700; }
.source-group ul { margin-top: var(--space-2); }
.source-group li { margin-bottom: var(--space-2); }
.source-url { overflow-wrap: anywhere; color: var(--muted); }
.source-date { color: var(--muted); }
.article-meta { padding: var(--space-3) var(--gutter); background: var(--surface); color: var(--muted); font-size: var(--font-note); }
.breadcrumb ol { display: flex; gap: var(--space-2); list-style: none; padding: 0; margin-bottom: var(--space-2); }
.breadcrumb li + li::before { content: '/'; margin-right: var(--space-2); }
.updated { margin: 0; }
.byline { margin-left: var(--space-2); }
.article-end { padding: var(--space-4) var(--gutter); font-size: var(--font-note); }
.site-footer { border-top: var(--border) solid var(--line); padding: var(--space-5) var(--gutter); background: var(--surface); font-size: var(--font-note); }
.footer-brand { font-weight: 900; color: var(--blue); font-size: var(--font-brand); }
.site-footer ul { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); list-style: none; padding: 0; }
.sticky-bar { position: fixed; z-index: var(--sticky-z); inset: auto 0 0; width: min(100%, var(--page-width)); height: calc(var(--sticky-height) + env(safe-area-inset-bottom, 0px)); margin: 0 auto; padding: 0 0 env(safe-area-inset-bottom, 0px); background: var(--white); }
.sticky-bar[hidden] { display: none; }
.sticky-bar .comparison-cta { margin: 0; }
.cta-sticky { min-height: 0; height: var(--sticky-height); border-radius: 0; padding: var(--space-1) calc(var(--close-size) + var(--space-2)) var(--space-1) var(--space-2); font-size: var(--font-body); box-shadow: inset 0 var(--border) 0 var(--white); }
.cta-sticky .cta-label { text-align: center; }
.sticky-heading { display: block; font-size: var(--font-sticky); white-space: nowrap; }
.cta-sticky .cta-arrow { width: var(--sticky-arrow-width); }
.sticky-close { position: absolute; z-index: 1; top: var(--sticky-close-inset); right: var(--sticky-close-inset); width: var(--close-size); height: var(--close-size); padding: 0; border: 0; background: transparent; color: var(--ink); font-size: var(--font-close); line-height: 1; }
.sticky-bar .offer-note { position: absolute; margin: 0; right: var(--space-2); bottom: var(--space-1); font-size: var(--font-top-note); color: var(--white); }
@media (min-width: 601px) { .sticky-bar { display: none; } }
@media (max-width: 374px) {
  :root { --gutter: 8px; --section-overhang: -8px; --font-h1: 30px; --font-hero-band: 14px; --font-top-money: 12px; --font-top-company: 11px; --font-top-button: 10px; --pick-image-width: 68px; --font-sticky: 10px; }
}

/* 2026-10-03 撮影して直した点 */
.hero-eyebrow, .hero-title { background: none; padding-inline: 0; text-shadow: 0 0 6px var(--white), 0 0 6px var(--white), 0 0 12px var(--white); }
.hero-title { font-size: 22px; max-width: 210px; }
.type-figure .image-frame, .duration-item > .image-frame { background: var(--white); }
.top3-table tbody th { word-break: keep-all; overflow-wrap: anywhere; }
.duration-item .cta { font-size: 13px; padding-inline: var(--space-2); gap: var(--space-1); }
