/* 和文の組版（HP制作の型/組版/組版.css）。サイトの CSS の先頭に、そのまま足して1枚で配る。
   組版.py が生成のときに入れる文節の <wbr> と組で使う。
   - 改行は文節の切れ目（<wbr>）と空白だけ。iPhone の Safari を含む全ブラウザで同じになるよう、
     word-break: auto-phrase（Chrome だけの独自の分け方）は使わず keep-all だけにする
   - 1語が枠より長い時だけ overflow-wrap: anywhere で折る（横スクロールを出さない）
   - 詳細度は :where() で 0 にしてある。サイトの CSS で上書きできる */
:root{--kumihan-measure:40em;--kumihan-leading:1.9;--kumihan-tracking:.04em}
:where(body){word-break:keep-all;overflow-wrap:anywhere;line-break:strict;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-kerning:normal}
:where(h1,h2,h3,h4,h5,h6,caption,figcaption,summary,dt,legend){text-wrap:balance;line-height:1.45}
:where(p,li,dd,blockquote){text-wrap:pretty}
/* 表の中は行が少ないので、行の長さをそろえる（最後の行に1〜2字だけ残さない。iPhone の Safari も同じ） */
:where(td,th){text-wrap:balance}
:where(p,li,dd,blockquote){line-height:var(--kumihan-leading);letter-spacing:var(--kumihan-tracking)}
:where(main p,main li,main dd,main blockquote){max-width:var(--kumihan-measure)}
:where(button,.button,[role=button],input[type=submit],td,th){word-break:keep-all}
:where(a[href^="http"],a[href^="mailto:"]){overflow-wrap:anywhere}
:where(time,data){white-space:nowrap}
.kumihan-nobr{white-space:nowrap}
/* 表の中は anywhere にしない（列が文字の幅まで縮み、1〜2字ずつ割れるため）。長い URL だけは上の a の指定で折れる */
:where(td,th){overflow-wrap:break-word}
@font-face{font-family:SiteSans;src:url('画像/書体/SiteSans.woff2') format('woff2');font-weight:100 900;font-display:swap}
/* 配色（B案）：白い地・黒に近い見出し・少し落とした濃い灰色の本文・黄色の線とボタン（黒文字）。文字と地は4.5:1以上。フッターだけ暗い地 */
:root{color-scheme:light;--bg:#ffffff;--surface:#ffffff;--surface-hover:#fffbe6;--pale:#f7f7f2;--accent-soft:#eef0f3;--fg1:#24272d;--fg2:#4a505a;--muted:#5d636e;--accent:#ffd51a;--accent-hover:#ffcb00;--deep:#111318;--line:#dddcd4;--line-soft:#ebeae4;--line-strong:#8d939e;--on-accent:#111318;--accent-line:#e3c200;--photo-filter:brightness(1.1) contrast(1.05) saturate(1.1);--font:SiteSans,'Hiragino Kaku Gothic ProN','Hiragino Sans','Yu Gothic',Meiryo,sans-serif;--shell:1136px;--r:7px;--r-sm:5px}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:24px;background:var(--bg)}
body{margin:0;overflow-x:clip;background:var(--bg);color:var(--fg1);font-family:var(--font);font-size:16px;line-height:1.8;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,p,figure,ul,ol,dl,dd,blockquote{margin:0}
h1,h2,h3,h4{color:var(--deep)}
img,svg{display:block;max-width:100%}
img{height:auto}
picture{display:contents}
a{color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
a:focus-visible,summary:focus-visible,.table-scroll:focus-visible{outline:2px solid var(--deep);outline-offset:4px}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.skip-link{position:absolute;left:16px;top:0;transform:translateY(-150%);z-index:30;padding:12px 20px;background:var(--accent);color:var(--on-accent);font-weight:600}
.skip-link:focus,.skip-link:focus-visible{transform:translateY(16px)}
.shell{width:min(var(--shell),calc(100% - 112px));margin-inline:auto}

/* ヘッダー：ロゴ・ナビゲーション・PR の表示 */
.site-header{height:96px;border-bottom:4px solid var(--accent);background:var(--bg)}
.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}
.wordmark{display:block;flex-shrink:0}
.site-header .brand-logo{width:228px;height:62px}
.header-right{display:flex;gap:42px;align-items:center}
.header-nav{display:flex;gap:26px;font-size:13px;font-weight:500;color:var(--fg2)}
.header-nav a{display:flex;align-items:center;min-height:44px;transition:color .2s}
.header-nav a:hover,.header-nav a[aria-current]{color:var(--deep);text-decoration:underline;text-underline-offset:6px}
.header-nav+.header-nav{padding-left:26px;border-left:1px solid var(--line)}
.advertising{font-size:12px;color:var(--muted);letter-spacing:0;white-space:nowrap}

/* ボタン：黄色の面に黒い文字 */
.button{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;min-height:56px;padding:14px 24px 14px 26px;border-radius:var(--r-sm);font-size:16px;font-weight:650;line-height:1.6;transition:background .2s,transform .2s,border-color .2s}
.button.primary{background:var(--accent);border:1px solid var(--accent);color:var(--on-accent);box-shadow:inset 0 -3px 0 #0000001f}
.button.primary:hover{background:var(--accent-hover);transform:translateY(-2px)}
.button.secondary{background:transparent;border:1px solid var(--line-strong);color:var(--deep)}
.button.secondary:hover{border-color:var(--deep)}
.button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.text-link,.reading-all,.article-read{color:var(--deep);font-size:14px;font-weight:600;text-decoration:underline;text-decoration-color:var(--line-strong);text-underline-offset:5px}
.text-link:hover,.reading-all:hover,.article-read:hover{text-decoration-color:var(--deep)}
.eyebrow,.section-label{font-size:13px;line-height:1.7;font-weight:500;color:var(--fg2);letter-spacing:.08em}

/* トップのファーストビュー：左にコピー、右に夜のワンルームの写真 */
.hero{position:relative;isolation:isolate;background:var(--bg);min-height:590px;display:grid;align-items:center;max-width:1800px;margin-inline:auto;overflow:hidden}
.hero-photo{position:absolute;inset:0 0 0 32%}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:58% 45%;filter:brightness(1.32) contrast(1.02) saturate(1.12)}
.hero::before{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,#fff 0%,#fff 31%,rgba(255,255,255,.93) 37%,rgba(255,255,255,.55) 45%,rgba(255,255,255,0) 58%);pointer-events:none}
.hero-copy{position:relative;z-index:2;padding-block:45px 60px}
.hero .eyebrow{margin-bottom:22px}
.hero h1{font-size:clamp(42px,4.1vw,54px);line-height:1.48;letter-spacing:-.035em;font-weight:750;text-wrap:initial}
.hero h1>span{display:block;width:max-content;max-width:100%}
.hero .page-ad{margin-top:14px}
.hero-lead{font-size:16px;line-height:1.9;letter-spacing:0;color:var(--fg2);margin-top:23px}
.hero-action{margin-top:29px}
.hero-action .button{gap:40px;min-height:60px;padding:15px 24px 15px 27px}
.hero-photo figcaption{position:absolute;right:24px;bottom:32px;z-index:2;font-size:12px;line-height:1.5;color:#f7f7f8;text-shadow:0 1px 4px #000,0 0 7px #000}
.page-ad{font-size:14px;color:var(--fg2)}

/* よくある困りごと：6枚のカード */
.problems{padding-top:44px;padding-bottom:62px;scroll-margin-top:22px}
.problems:focus{outline:0}
.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:25px}
.section-heading h2,.reading-head h2{font-size:28px;line-height:1.5;letter-spacing:-.025em;font-weight:650}
.section-heading p{font-size:14px;color:var(--fg2);letter-spacing:0}
.problem-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.problem-card{min-width:0;position:relative;display:grid;grid-template-columns:36px minmax(0,1fr) 20px;column-gap:16px;row-gap:13px;align-content:center;align-items:start;min-height:147px;padding:25px 23px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);transition:background .2s,border-color .2s,transform .2s}
.problem-card:hover{background:var(--surface-hover);border-color:var(--accent-line);transform:translateY(-3px);box-shadow:0 6px 18px #0000000f}
.problem-icon{width:32px;height:32px;margin-top:1px;color:#262a31;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
.problem-card h3{font-size:19px;font-weight:650;line-height:1.55;letter-spacing:-.025em;align-self:center;text-wrap:initial}
.card-arrow{width:20px;height:20px;align-self:center;fill:none;stroke:var(--fg2);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.problem-card p{grid-column:2/4;font-size:13px;line-height:1.8;letter-spacing:0;color:var(--fg2)}
.service-note{margin-top:25px;color:var(--muted);font-size:12px;line-height:1.9;letter-spacing:.01em;max-width:none!important}
.service-note span{display:inline-block}
.svg-definitions{position:absolute;width:0;height:0;overflow:hidden}

/* トップ：困りごとから探す（記事の種類ごとの題名の行。各行の左に記事の写真） */
.reading{padding-block:56px 64px;background:var(--pale)}
.reading-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}
.reading-head .section-label{margin-bottom:6px}
.topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}
.topic{min-width:0;padding:22px 23px 12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r)}
.topic h3{font-size:17px;font-weight:650;padding-bottom:12px;border-bottom:1px solid var(--line)}
.topic:not(:has(ul)) {padding-bottom:10px}
.topic:not(:has(ul)) h3{border-bottom:0;padding-bottom:0}
.reading-list{list-style:none;padding:0}
.reading-item+.reading-item{border-top:1px solid var(--line-soft)}
.reading-item a{display:grid;grid-template-columns:minmax(0,1fr) 20px;gap:14px;align-items:center;padding:14px 0;font-size:15px;line-height:1.7;font-weight:500;color:var(--deep)}
.reading-item a:hover .reading-title{text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--line-strong)}
.reading-item a.with-photo{grid-template-columns:92px minmax(0,1fr) 20px;gap:12px}
.reading-photo{display:block;aspect-ratio:3/2;border-radius:6px;overflow:hidden;background:var(--line-soft)}
.reading-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 40%;filter:var(--photo-filter)}
.arrow{color:var(--fg2)}
.title-separator{white-space:nowrap}

/* トップ：早見表への入口 */
.compare-cta-band{padding-bottom:48px}
.compare-cta{display:grid;grid-template-columns:56px minmax(0,1fr);gap:22px;align-items:start;padding:26px 28px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r)}
.compare-cta-figure svg{width:44px;height:44px;fill:none;stroke:#262a31;stroke-width:1.6}
.compare-cta-label{font-size:20px;font-weight:650;color:var(--deep);line-height:1.5}
.compare-cta-lead{margin-top:6px;font-size:15px;color:var(--fg2)}
.compare-cta .button{margin-top:18px}

/* 動画配信サービスの案内（トップ・記事の途中・記事の終わり） */
.annai{padding:30px 30px 26px;background:var(--surface);border:2px solid var(--accent);border-radius:var(--r)}
.annai-home{margin-bottom:72px}
.annai-heading{font-size:22px;line-height:1.5;font-weight:650;letter-spacing:-.02em}
.annai-lead{margin-top:10px;font-size:16px;line-height:1.9;color:var(--fg1)}
.annai-cards{list-style:none;padding:0;margin-top:20px;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,400px),1fr));gap:14px}
.annai-card{position:relative;display:flex;flex-direction:column;gap:14px;padding:20px 20px 20px;background:var(--pale);border:1px solid var(--line);border-radius:var(--r)}
.annai-card .pr-label{position:absolute;top:16px;right:18px;margin:0;padding:0;background:none;border:0;font-size:16px;line-height:1.6;color:var(--fg1);font-weight:400}
.annai-card-name{font-size:18px;font-weight:650;color:var(--deep);line-height:1.5}
.annai-card-facts{display:grid;gap:0}
.annai-card-facts div{display:grid;grid-template-columns:5.5em minmax(0,1fr);gap:12px;padding:9px 0;border-top:1px solid var(--line-soft)}
.annai-card-facts dt{font-size:14px;color:var(--muted)}
.annai-card-facts dd{font-size:16px;color:var(--deep);font-weight:600}
.annai-button{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;margin-top:auto;padding:13px 18px 13px 20px;background:var(--accent);border:1px solid var(--accent);border-radius:var(--r-sm);color:var(--on-accent);font-size:16px;font-weight:650;line-height:1.55;box-shadow:inset 0 -3px 0 #0000001f;transition:background .2s,transform .2s}
.annai-button:hover{background:var(--accent-hover);transform:translateY(-2px)}
.annai-arrow{flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.annai-note{margin-top:14px;font-size:14px;line-height:1.8;color:var(--fg2)}
.imp-tag{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}

/* ページの見出し（記事一覧・早見表・運営者情報など） */
.page-heading{padding-block:52px 34px}
.page-heading .eyebrow{margin-bottom:10px}
.page-heading h1{font-size:clamp(30px,3vw,40px);line-height:1.45;letter-spacing:-.03em;font-weight:700}
.listing-heading h1{display:inline;background:linear-gradient(transparent 62%,var(--accent) 62%,var(--accent) 92%,transparent 92%);font-weight:800}
.page-heading .lead{margin-top:14px;font-size:16px;color:var(--fg2);line-height:1.9}

/* 記事一覧 */
.category-nav{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}
.category-nav a{display:inline-flex;align-items:center;min-height:44px;padding:8px 18px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--deep);font-size:14px;font-weight:500}
.category-nav a:hover{border-color:var(--accent-line);background:var(--surface-hover)}
.article-category{padding-top:40px;scroll-margin-top:16px}
.article-category h2{font-size:24px;font-weight:650;margin-bottom:18px}
/* 種類の見出し：横長の写真の帯の左下に黄色の札 */
.category-band{position:relative;isolation:isolate;display:flex;align-items:flex-end;height:clamp(112px,13vw,168px);margin-bottom:18px;border-radius:8px;overflow:hidden;background:var(--line-soft)}
.category-photo{position:absolute;inset:0;z-index:-1}
.category-photo img{width:100%;height:100%;object-fit:cover;object-position:center 34%;filter:brightness(1.12) contrast(1.04) saturate(1.1)}
.article-category .category-band h2{margin:0;padding:6px 18px 7px 16px;background:var(--accent);color:var(--on-accent);font-size:23px;font-weight:900;line-height:1.4;border-radius:0 8px 0 0}
.listing-page main .shell{padding-bottom:72px}
.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.article-card{min-width:0;display:flex;flex-direction:column;gap:8px;padding:0 0 20px;background:var(--surface);border:1px solid var(--line);border-radius:8px;overflow:hidden;transition:border-color .2s}
.article-card:hover{border-color:#cfcabb}
.article-card>a:first-child{position:relative;display:block;aspect-ratio:3/2;container-type:inline-size;overflow:hidden;background:var(--pale)}
.article-card>a:first-child img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%;filter:var(--photo-filter);transition:transform .35s}
.article-card:hover>a:first-child img{transform:scale(1.03)}
.article-card .card-noimage{position:absolute;inset:0;background:var(--pale)}
.article-card>.eyebrow{margin:10px 20px 0}
.article-card h3{margin:0 20px;font-size:17px;line-height:1.6;font-weight:650}
.article-card h3 a:hover{text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--line-strong)}
.article-card>p:not(.eyebrow){margin:0 20px;font-size:14px;line-height:1.8;color:var(--fg2)}
.article-card .article-read{margin:4px 20px 0;align-self:flex-start}
/* サムネイルの言葉（一覧のカード・記事ページのアイキャッチ）：写真の下端に黄色の帯、黒の極太の一言を1行で。言葉は データ/サムネの言葉.json */
.thumb-label{position:absolute;z-index:1;left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:.6cqi;padding:2.4cqi 4.2cqi 2.8cqi;background:var(--accent);color:var(--on-accent);font-family:var(--font);font-feature-settings:"palt";box-shadow:0 -1px 0 #00000014}
.thumb-label>span{display:flex}
.thumb-label>span>span{display:block;white-space:nowrap}
.thumb-label wbr{display:none}
.thumb-sub{flex-wrap:wrap;column-gap:.3em;font-size:max(12px,4.2cqi);font-weight:800;line-height:1.3}
.thumb-word{font-size:min(9.6cqi,88cqi / var(--wa));font-weight:900;line-height:1.14;letter-spacing:-.02em}

/* 記事：左に本文、右に目次（追従）。本文は白い地で長く読める大きさ・行間・濃さ */
.article-shell{display:grid;grid-template-columns:minmax(0,740px) 272px;justify-content:space-between;column-gap:56px;padding-bottom:80px}
.article-shell>*{grid-column:1;min-width:0}
.article-side{grid-column:2;grid-row:1/5;padding-top:52px}
.toc{position:sticky;top:24px}
.toc details{padding:18px 20px;background:var(--pale);border:1px solid var(--line);border-radius:var(--r)}
.toc summary{cursor:pointer;font-size:15px;font-weight:650;color:var(--deep);list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:32px}
.toc summary::-webkit-details-marker{display:none}
.toc summary::after{content:"";width:8px;height:8px;border-right:1.6px solid var(--fg2);border-bottom:1.6px solid var(--fg2);transform:rotate(45deg) translateY(-3px)}
.toc details[open] summary::after{transform:rotate(-135deg) translateY(-2px)}
.toc ul{list-style:none;padding:0;margin-top:10px;counter-reset:toc}
.toc li{counter-increment:toc;border-top:1px solid var(--line-soft)}
.toc a{position:relative;display:block;padding:10px 0 10px 30px;font-size:14px;line-height:1.7;color:var(--fg2)}
.toc a::before{content:counter(toc,decimal-leading-zero);position:absolute;left:0;top:10px;color:var(--muted);font-size:12px;line-height:2}
.toc a:hover{color:var(--deep)}
.breadcrumbs{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding-top:28px;font-size:13px;color:var(--muted)}
.breadcrumbs a{color:var(--fg2);text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:4px}
.breadcrumbs a:hover{color:var(--deep)}
.article-heading{padding-block:22px 28px;border-bottom:1px solid var(--line-soft)}
.article-heading .eyebrow{margin-bottom:10px}
.article-heading h1{font-size:clamp(28px,2.6vw,34px);line-height:1.5;letter-spacing:-.03em;font-weight:700}
.ad-notice{margin-top:12px;font-size:16px;color:var(--fg1)}
.updated{margin-top:12px;font-size:13px;color:var(--muted)}
.article-description{margin-top:18px;padding:18px 20px;background:var(--pale);border-left:3px solid var(--line-strong);border-radius:0 var(--r-sm) var(--r-sm) 0}
.article-description p{font-size:15px;line-height:1.9;color:var(--fg1);max-width:none}
.article-description p+p{margin-top:8px}
.article-eyecatch-figure{position:relative;margin-top:22px;border-radius:var(--r);overflow:hidden;container-type:inline-size}
.article-eyecatch{width:100%;aspect-ratio:3/2;object-fit:cover;filter:var(--photo-filter)}
.article-eyecatch-figure .thumb-label{padding:2cqi 3.6cqi 2.3cqi}
.article-eyecatch-figure .thumb-sub{font-size:clamp(13px,3.4cqi,18px)}
.article-eyecatch-figure .thumb-word{font-size:min(7.4cqi,88cqi / var(--wa),40px)}
.article-eyecatch-figure figcaption{position:absolute;z-index:2;right:14px;top:10px;font-size:12px;color:#f7f7f8;text-shadow:0 1px 4px #000,0 0 7px #000}
.article-body{font-size:17px;line-height:1.95;color:var(--fg1)}
.article-body p,.article-body li,.article-body dd,.article-body blockquote{max-width:none;line-height:1.95}
.article-lead{padding-top:28px}
.article-body>*+*{margin-top:1.15em}
.article-body h2{margin-top:2.6em;padding-top:28px;border-top:1px solid var(--line);font-size:25px;line-height:1.5;letter-spacing:-.025em;font-weight:700;scroll-margin-top:20px}
.article-body h3{margin-top:2em;font-size:20px;line-height:1.55;font-weight:650;scroll-margin-top:20px}
.article-body h2+*,.article-body h3+*{margin-top:.8em}
.heading-number{margin-right:2px;color:var(--fg2)}
.article-body a:not(.button):not(.annai-button){color:var(--deep);text-decoration:underline;text-decoration-color:var(--line-strong);text-underline-offset:5px}
.article-body a:not(.button):not(.annai-button):hover{text-decoration-color:var(--deep)}
.article-body strong{color:var(--deep);font-weight:700}
.article-body ul{padding-left:1.3em}
.article-body ul li::marker{color:var(--muted)}
.article-body li+li{margin-top:.45em}
/* 手順の番号：丸の中の数字 */
.article-body ol{list-style:none;padding:0;counter-reset:step}
.article-body ol li{position:relative;padding-left:44px;counter-increment:step}
.article-body ol li::before{content:counter(step);position:absolute;left:0;top:.2em;width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--line-strong);border-radius:50%;background:var(--surface);color:var(--deep);font-size:14px;font-weight:650;line-height:1}
.article-body ol li+li{margin-top:.8em}
.article-body blockquote{padding:14px 20px;border-left:3px solid var(--line-strong);background:var(--pale);color:var(--fg1)}
/* 表：白い面・細い線。見出しの行は薄い面。入りきらない時は表ごと横にスクロール */
.table-help{font-size:13px;color:var(--muted)}
.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r);background:var(--surface)}
.article-body .table-help+.table-scroll{margin-top:6px}
.table-scroll table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.7}
.table-scroll th,.table-scroll td{padding:12px 14px;border-bottom:1px solid var(--line-soft);text-align:left;vertical-align:top;color:var(--fg1)}
.table-scroll tr:last-child>*{border-bottom:0}
.table-scroll thead th{background:var(--pale);color:var(--deep);font-weight:650;font-size:14px;border-bottom:1px solid var(--line);white-space:nowrap}
.table-scroll tbody th{color:var(--deep);font-weight:600}
.article-table-scroll table[data-columns="4"],.article-table-scroll table[data-columns="5"]{min-width:640px}
.article-table-scroll table[data-columns="6"],.article-table-scroll table[data-columns="7"]{min-width:760px}
.article-table-scroll td,.article-table-scroll tbody th{min-width:8em}
.article-table-notices{margin-top:8px!important}
.article-checked-text{font-size:13px;color:var(--muted)}
.sources{margin-top:2.6em!important;padding:22px 24px;background:var(--pale);border:1px solid var(--line);border-radius:var(--r);font-size:14px;line-height:1.8}
.sources p,.sources li{font-size:14px;line-height:1.8}
.sources ul{margin-top:10px}
.sources li+li{margin-top:.35em}
.next-step{margin-top:2.6em!important;padding:28px 30px;background:var(--pale);border:1px solid var(--line);border-radius:var(--r)}
.next-step .eyebrow{margin-bottom:6px}
.next-step h2{margin:0;padding:0;border:0;font-size:22px}
.next-step .button{margin-top:18px}
.article-body>.annai{margin-top:2em}
.article-body .annai-heading{margin:0;padding:0;border:0;font-size:22px}
.article-body>.annai+*{margin-top:2em}
.related{grid-column:1/-1;margin-top:64px;padding-top:40px;border-top:1px solid var(--line)}
.related h2{font-size:24px;font-weight:650;margin-bottom:20px}
.related .text-link{display:inline-block;margin-top:22px}

/* 早見表：サービス名の列を固定して横にスクロール */
.hayami-page main .shell{padding-bottom:72px}
.comparison-scroll{margin-top:8px}
.comparison-scroll table{min-width:1100px}
.comparison-scroll thead th:nth-child(1){width:11em}
.comparison-scroll thead th:nth-child(2){width:11em}
.comparison-scroll thead th:nth-child(3),.comparison-scroll thead th:nth-child(7){width:9em}
.comparison-scroll thead th:nth-child(4){width:16em}
.comparison-scroll thead th:nth-child(5){width:6.5em}
.comparison-scroll thead th:nth-child(6){width:14em}
.comparison-scroll tbody th{position:sticky;left:0;z-index:1;background:var(--surface);min-width:9em;white-space:nowrap;box-shadow:1px 0 0 var(--line)}
.comparison-scroll thead th:first-child{position:sticky;left:0;z-index:2;background:var(--pale);box-shadow:1px 0 0 var(--line)}
.comparison-scroll tbody tr:hover>*{background:var(--accent-soft)}
.cell-note{display:block;margin-top:4px;font-size:13px;line-height:1.7;color:var(--fg2)}
.comparison-notices{margin-top:20px;display:grid;gap:8px}
.checked-text,.unknown-note{font-size:14px;color:var(--fg2);max-width:none!important}
.source-heading{margin-top:28px;font-size:20px;font-weight:650}
.source-list{list-style:none;padding:0;margin-top:8px;border-top:1px solid var(--line)}
.source-list li{display:block;padding:12px 0;border-bottom:1px solid var(--line-soft);font-size:14px;line-height:1.8;max-width:none}
.source-list a{color:var(--deep);text-decoration:underline;text-decoration-color:var(--line-strong);text-underline-offset:4px}
.source-fields{display:block;color:var(--deep);font-weight:600}
.source-checked{display:block;color:var(--muted)}

/* 運営者情報・プライバシーポリシー */
.legal-shell{max-width:820px;padding-bottom:80px}
.legal-content section{padding-block:26px;border-top:1px solid var(--line)}
.legal-content h2{font-size:20px;font-weight:650;margin-bottom:10px}
.legal-content p,.legal-content li{font-size:16px;line-height:1.95;color:var(--fg1);max-width:none}
.legal-content p+p,.legal-content p+.legal-list,.legal-list+p{margin-top:.6em}
.legal-list{list-style:none;padding:0}
.legal-list li{padding-left:1em;text-indent:-1em}
.legal-content a{color:var(--deep);text-decoration:underline;text-decoration-color:var(--line-strong);text-underline-offset:4px}

/* 404 */
.not-found{min-height:60vh;display:grid;align-items:center;padding-block:64px}
.error-code{font-size:14px;letter-spacing:.2em;color:var(--muted)}
.not-found h1{margin-top:10px;font-size:clamp(30px,3vw,40px);line-height:1.45}
.not-found p:not(.error-code){margin-top:14px;color:var(--fg2)}
.error-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}

/* フッター */
.site-footer{--fg2:#c0c3cb;--muted:#a9adb7;--deep:#f7f7f8;--line:#444852;border-top:0;background:#0c0d10;color:#dcdee3;padding-block:40px 48px}
.site-footer a:focus-visible{outline-color:#f7f7f8}
.footer-inner{display:flex;justify-content:space-between;gap:40px;align-items:flex-start}
.footer-wordmark .brand-logo{width:184px;height:50px}
.footer-brand p{margin-top:10px;font-size:13px;color:var(--muted)}
.footer-links nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px 24px;font-size:14px;color:var(--fg2)}
.footer-links nav a{display:inline-flex;align-items:center;min-height:44px}
.footer-links nav a:hover{color:var(--deep)}
.footer-contact{margin-top:8px;font-size:13px;color:var(--muted);text-align:right}
.footer-contact a{color:var(--fg2);text-decoration:underline;text-underline-offset:4px}

/* スマホの追従CTA：早見表へのボタン1本（早見表のページには出さない） */
.mobile-compare{display:none}

@media(min-width:1600px){.hero{min-height:660px}.hero-photo{left:36%}}
@media(max-width:1100px) and (min-width:761px){
  .shell{width:calc(100% - 64px)}
  .header-right{gap:20px}.header-nav{gap:18px}
  .hero{min-height:560px}.hero-copy{padding-block:42px 50px}.hero h1{font-size:44px}.hero-lead{max-width:400px}.hero-photo{left:29%}
  .hero::before{background:linear-gradient(90deg,#fff 0%,#fff 30%,rgba(255,255,255,.9) 40%,rgba(255,255,255,.3) 64%,transparent 86%)}
  .problem-card{padding:22px 17px;grid-template-columns:28px minmax(0,1fr) 16px;column-gap:12px}.problem-icon{width:27px;height:27px}.problem-card h3{font-size:17px}.problem-card p{font-size:12px}.section-heading p{font-size:13px}
  .topic-grid,.article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .article-shell{grid-template-columns:minmax(0,1fr) 240px;column-gap:36px}
}
@media(max-width:1100px){.header-nav.desktop-nav{display:none}}
@media(max-width:760px){
  html{scroll-padding-top:20px}
  .shell{width:calc(100% - 40px)}
  .site-header{height:80px}
  .header-inner{gap:10px}
  .site-header .brand-logo{width:218px;height:auto}
  .header-nav{display:none}
  .header-right{gap:0}
  .hero{display:flex;flex-direction:column;align-items:stretch;min-height:0;overflow:visible}
  .hero::before{display:none}
  .hero-copy{padding-block:26px 25px;position:relative;z-index:1}
  .hero .eyebrow{font-size:12px;letter-spacing:.045em;margin-bottom:13px}
  .hero h1{font-size:clamp(30px,8.7vw,39px)}
  .hero-lead{margin-top:17px;max-width:23em}
  .hero-action{margin-top:21px}
  .hero-action .button{width:100%;min-height:56px;padding:13px 21px}
  .hero-photo{position:relative;inset:auto;z-index:0;height:250px;overflow:hidden;border-bottom:6px solid var(--accent)}
  .hero-photo img{object-position:center 39%}
  .hero-photo figcaption{bottom:15px;right:20px}
  .problems{padding-top:26px;padding-bottom:36px}
  .section-heading{display:block;margin-bottom:19px}
  .section-heading h2,.reading-head h2{font-size:24px}
  .section-heading p{font-size:16px;margin-top:7px}
  .problem-grid{grid-template-columns:1fr;gap:10px}
  .problem-card{grid-template-columns:32px minmax(0,1fr) 20px;column-gap:16px;row-gap:6px;min-height:115px;padding:19px}
  .problem-icon{width:30px;height:30px;grid-row:1/3;align-self:center}
  .problem-card h3{font-size:18px;line-height:1.5}
  .problem-card p{font-size:16px;line-height:1.75;grid-column:2/3}
  .card-arrow{grid-column:3;grid-row:1/3}
  .service-note{margin-top:20px;line-height:2}
  .reading{padding-block:40px 44px}
  .reading-head{display:block}
  .reading-all{display:inline-block;margin-top:10px}
  .topic-grid,.article-grid{grid-template-columns:1fr;gap:12px}
  .topic{padding:18px 18px 8px}
  .reading-item a{font-size:16px}
  .reading-item a.with-photo{grid-template-columns:88px minmax(0,1fr) 16px;gap:12px}
  .compare-cta{grid-template-columns:1fr;gap:12px;padding:22px 20px}
  .compare-cta-figure svg{width:36px;height:36px}
  .compare-cta .button{display:flex;width:100%;gap:12px;padding-inline:18px}
  .annai{padding:22px 18px 20px}
  .annai-home{margin-bottom:48px}
  .annai-heading,.article-body .annai-heading{font-size:20px}
  .annai-card{padding:18px 16px}
  .page-heading{padding-block:34px 24px}
  .article-category{padding-top:30px}
  .article-category h2{font-size:21px}
  .article-category .category-band h2{font-size:20px}
  .article-shell{display:block;padding-bottom:56px}
  .article-side{padding-top:24px}
  .toc{position:static}
  .breadcrumbs{padding-top:20px}
  .article-heading h1{font-size:clamp(24px,6.6vw,28px)}
  .article-body{font-size:16px}
  .article-body p,.article-body li{letter-spacing:.03em}
  .article-body h2{font-size:22px;padding-top:22px}
  .article-body h3{font-size:18px}
  .article-page .shell{width:calc(100% - 34px)}
  .article-body ol li{padding-left:22px;letter-spacing:.02em;font-feature-settings:"palt";text-wrap:balance}
  .article-body ol li::before{width:auto;height:auto;top:.15em;border:0;background:none;font-size:15px;font-weight:700;line-height:1.95;place-items:start}
  .table-scroll table{font-size:14px}
  .next-step{padding:22px 18px}
  .next-step h2{font-size:20px}
  .next-step .button{display:flex;width:100%;gap:12px;padding-inline:18px}
  .sources{padding:18px}
  .related{margin-top:48px;padding-top:32px}
  .related h2{font-size:21px}
  .legal-content h2{font-size:18px}
  .error-links .button{width:100%}
  .footer-inner{flex-direction:column;gap:20px}
  .footer-links nav{justify-content:flex-start;gap:0 20px}
  .footer-contact{text-align:left}
  .site-footer{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
  .error-page .site-footer,.hayami-page .site-footer{padding-bottom:48px}
}
@media(max-width:700px){
  .mobile-compare{display:block;position:fixed;inset:auto 0 0;z-index:20;padding:8px 16px calc(8px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.96);border-top:1px solid var(--line);box-shadow:0 -4px 14px #0000000f}
  .mobile-compare .button{display:flex;width:100%;min-height:48px;padding:10px 18px;justify-content:center;gap:12px}
  .mobile-compare[hidden]{display:none}
}
@media(max-width:359px){.shell{width:calc(100% - 32px)}.site-header .brand-logo{width:190px}.problem-card{padding-inline:15px;column-gap:12px}.hero-photo{height:218px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
@media print{html,body{background:#fff;color:#111}.site-header,.hero{print-color-adjust:exact;-webkit-print-color-adjust:exact}.mobile-compare,.hero-action,.toc{display:none}.problem-card,.annai,.topic,.article-card{break-inside:avoid}}
