/* v4.css — 段階4(2026-09-28、docs/design-2026-09-28/HUMAN_FEEL.md「AI が作った感」の解消)。
   stn_r2_enqueue_assets() が v3-diagrams.css の後に読む(?ver=STN_SERVICE_ASSET_VERSION)。上限 16KB、!important 禁止、
   クラスは stnv4- 接頭辞か既存クラスの上書きだけ。節の順序(追記もこの順を守る):
     80 stage4 (4D) — /hikari/ とキャリア別ページ(4D が追記する)
     81 stage4 (4E) — トップ・/campaign/・/mnp/
     82 stage5 (2026-09-29) — 「AI 感」を減らす仕上げ(囲みの型を役割別に3つ・3タイルの定義リスト化・手作り要素・見出しの強弱・余白の非対称) */

/* 80 stage4 (4D) — /hikari/ とキャリア別7社(v2-hikari.php / v2-carrier-pages.php)。確認済み/未確認と編集部の見方は
   81 節の部品(.stnv4-checked / .stnv4-editor-note)をそのまま使い、ここは置き場所の余白だけ。手順の「止まったら」
   「この段の条件」(キャリア別)・「進めないとき」(/hikari/)は 81 節 .stnv4-runbook__stop と同じ見た目(amber の小ラベル)。
   .stnv4-recheck は確認日が方針の日数(14日)を過ぎたときの「要再確認・確認からN日」(DESIGN §4 バッジ)。 */
.stnv2-verdict .stnv4-checked{margin:0 0 20px;font-size:14px;line-height:1.6;color:var(--stnv2-muted-strong)}
.stnv2-section .stnv4-editor-note{margin:14px 0 12px;background:var(--stnv2-cream)}
.stnv4-stop{margin:6px 0 4px;font-size:14px;line-height:1.65;color:var(--stnv2-muted-strong)}
.stnv4-stop b{display:inline-block;margin:0 8px 0 0;padding:1px 8px;border-radius:var(--stnv2-pill);background:var(--stnv2-amber-bg);color:var(--stnv2-amber-text);font-size:12.5px;font-weight:700;white-space:nowrap}
.stnv4-recheck{display:inline-block;padding:1px 8px;border-radius:var(--stnv2-pill);background:var(--stnv2-amber-bg);color:var(--stnv2-amber-text);font-size:12.5px;font-weight:700;line-height:1.5;white-space:nowrap}

/* 81 stage4 (4E) — q=/campaign/ の状況からの入口(:target で該当行だけ表示。:has() 非対応は全行表示のまま)、
   checked=表の下の確認済み/未確認、editor-note=トップの編集部の並べ方、runbook=/mnp/ の実行順 */
.stnv4-q__t{display:block;height:0;scroll-margin-top:72px}
.stnv4-q{margin:0 0 12px}
.stnv4-q__lead{margin:0 0 8px;font-size:14px;line-height:1.6;color:var(--stnv2-muted-strong)}
.stnv4-q__list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.stnv4-q__list a{display:flex;align-items:center;justify-content:space-between;gap:10px;box-sizing:border-box;min-height:48px;padding:10px 14px;border:1px solid var(--stnv2-line);border-radius:0;background:var(--stnv2-white);color:var(--stnv2-ink);font-size:15px;font-weight:700;line-height:1.4;text-decoration:none}
.stnv4-q__list a:hover{background:var(--stnv2-sky)}
.stnv4-q__list small{flex:none;font-size:13px;font-weight:600;color:var(--stnv2-muted-strong);font-variant-numeric:tabular-nums}
.stnv4-q__reset{display:none;margin:8px 0 0}
.stnv4-q__reset .stnv2-jump{display:inline-flex;align-items:center;min-height:48px}
@media (min-width:768px){.stnv4-q__list{grid-template-columns:repeat(3,minmax(0,1fr))}}
.stnv2-board:has(.stnv4-q__t:target) .stnv4-q__reset{display:block}
.stnv2-board:has(.stnv4-q__t:target) .stnv2-board-more{display:none}
.stnv2-board:has(#q-ending:target) a[href="#q-ending"],.stnv2-board:has(#q-sim:target) a[href="#q-sim"],.stnv2-board:has(#q-device:target) a[href="#q-device"]{border-color:var(--stnv2-blue);background:var(--stnv2-sky)}
.stnv2-board:has(#q-ending:target) .stnv2-table--board tbody>tr:not(.stnv2-table__row--ending):not(.stnv2-table__group--ending):not(.stnv3-dg-row),
.stnv2-board:has(#q-sim:target) .stnv2-table--board tbody>tr:not([data-stnv2-category="sim_only"]),
.stnv2-board:has(#q-device:target) .stnv2-table--board tbody>tr:not([data-stnv2-category="with_device"]){display:none}
.stnv2-board:has(#q-sim:target) .stnv2-table--board tbody>tr.stnv2-is-folded[data-stnv2-category="sim_only"],
.stnv2-board:has(#q-device:target) .stnv2-table--board tbody>tr.stnv2-is-folded[data-stnv2-category="with_device"]{display:table-row}
@media (max-width:1023px){
.stnv2-board:has(#q-sim:target) .stnv2-table--board tbody>tr.stnv2-is-folded[data-stnv2-category="sim_only"],
.stnv2-board:has(#q-device:target) .stnv2-table--board tbody>tr.stnv2-is-folded[data-stnv2-category="with_device"]{display:flex}
}
.stnv4-checked{display:grid;gap:12px}
.stnv4-checked__line{display:block}
.stnv4-checked__label{display:block;width:max-content;margin:0 0 6px;padding:1px 8px;border-radius:var(--stnv2-pill);background:var(--stnv2-green-bg);color:var(--stnv2-green-text);font-size:12.5px;font-weight:700;line-height:1.5;white-space:nowrap}
.stnv4-checked__label--pending{background:var(--stnv2-chip-bg);color:var(--stnv2-muted-strong)}
.stnv4-editor-note{margin:8px 0 0;padding:10px 12px;border-left:3px solid var(--stnv2-navy);background:var(--stnv2-cream);font-size:14px;line-height:1.7;color:var(--stnv2-ink)}
.stnv4-editor-note__label{display:block;margin:0 0 2px;font-size:12.5px;font-weight:700;color:var(--stnv2-muted-strong)}
.stnv4-editor-note .stnv2-jump{display:flex;align-items:center;width:fit-content;min-height:44px;margin:0}
.stnv4-runbook{margin:16px 0 0;padding:0;list-style:none;counter-reset:none}
.stnv4-runbook__step{margin:0;padding:14px 0;border-top:1px solid var(--stnv2-line)}
.stnv4-runbook__step:last-child{border-bottom:1px solid var(--stnv2-line)}
.stnv4-runbook__head{display:flex;align-items:center;gap:10px;margin:0 0 6px;font-size:17px;line-height:1.4}
.stnv4-runbook__no{flex:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--stnv2-navy);color:#fff;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}
.stnv4-runbook__do{margin:0 0 8px;font-size:15.5px;line-height:1.7}
.stnv4-runbook__stop,.stnv4-runbook__where{margin:4px 0 0;font-size:14px;line-height:1.65;color:var(--stnv2-muted-strong)}
.stnv4-runbook__stop b,.stnv4-runbook__where b{display:inline-block;margin:0 8px 0 0;font-size:12.5px;font-weight:700;white-space:nowrap}
.stnv4-runbook__stop b{padding:1px 8px;border-radius:var(--stnv2-pill);background:var(--stnv2-amber-bg);color:var(--stnv2-amber-text)}
.stnv4-runbook__where b{color:var(--stnv2-ink)}
.stnv4-runbook__title{margin:20px 0 0;font-size:17px;line-height:1.4}
.stnv4-runbook__title+.stnv4-runbook{margin-top:10px}

/* 82 stage5 (2026-09-29) — 「もう少し AI 感のないレイアウト」。均一な角丸・薄枠・淡い地・影を役割ごとに分ける。
   ・条件表/定義リスト/カード類 = 角丸なし+1px 罫線だけ。結論・要約 = 上下の二重罫線(3px double navy)+白地。CTA と警告だけ角丸 8px。
   ・淡い地は sky の1色。cream は「今月で終わる」と編集部ブロックだけ。影は付けない。
   ・(2026-10-09 書体整理で撤去: H2 の連番・蛍光ペン風の下線・確認日の回転。確認日の枠線は残す)。Zen Kaku Gothic は H1/H2/サイト名の 700 だけ(金額・ラベル・バッジ・H3 は本文の字体)。
   トークンを直す(カード角丸 0・pill 4px・影なし・soft 白)ので、v2/v3 の部品の大半は書き換えずに追従する。 */
:root{--stnv4-font-body:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;--stnv2-radius-card:0;--stnv2-radius-table:0;--stnv2-pill:4px;--stnv2-shadow-1:none;--stnv2-soft:#fff;--stnv2-warn-bg:#fff}
html:root{--stn-shadow-level-1:none;--stn-radius-pill:8px}
.stnv2-eyebrow,.stnv3-offer__kind,.stnv4-checked__label,.stnv4-editor-note__label,.stnv3-except__label,.stnv3-fit__head{font-family:var(--stnv4-font-body);font-weight:700}
.stnv2-eyebrow{letter-spacing:.04em}
body .stnv2-h3,body .wp-site-blocks h3,.stnv2-plan__name,.stnv3-brand{font-family:var(--stnv4-font-body)}
.stnv2-hero,.stnv2-hero img{border-radius:0}
/* 型A 条件表・定義リスト・カード: 角丸なし+1px 罫線。表頭と区切り行だけ sky */
.stnv2-table thead th,.stnv2-table__group>th,.stnv2-table tr.is-total>*{background:var(--stnv2-sky)}
@media (hover:hover){.stnv2-table .stnv2-table__row:hover>*{background:var(--stnv2-sky)}}
.stnv2-callout{border-radius:0}
.stnv3-fit__col,.stnv3-dg--tiers,.stnv3-dg--bars,.stnv3-dg--family,.stnv3-brand--logo{border-radius:0}
.stnv3-dg--family{border:1px solid var(--stnv2-line);background:var(--stnv2-white)}
.stnv2-badge--muted{border-radius:var(--stnv2-radius-tag)}
body .sn-table-scroll:not(.stn-service-table-wrap):not(.stn-rakuten-campaign-table) tr{border:1px solid var(--stnv2-line);border-radius:0;box-shadow:none}
/* 「今月で終わる」だけ cream。警告(minicard--warn・対象外の枠)は白地+amber の罫線+角丸 8px */
.stnv2-table__row--ending,.stnv2-table__row--ending>*,.stnv3-dg-row .stnv3-dg--timeline{background:var(--stnv2-cream)}
@media (max-width:1023px){.stnv2-table__row--ending>*{background:transparent}}
/* 見出し帯・節の淡い地(#f4f8fc)は sky に寄せる(帯 cream は使わない) */
body .stn-r2-hero,body .stn-r2-page>.stn-r2-band{background:var(--stnv2-sky)}
body .stn-r2-page>.stn-r2-section:nth-of-type(even){background:var(--stnv2-white)}
.stnv3-dg-row .stnv3-dg--timeline{border-color:var(--stnv2-warn-line);border-radius:8px}
.stnv2-minicard--warn,.stnv3-stop{border:1px solid var(--stnv2-amber);border-radius:8px;background:var(--stnv2-white)}
/* 型B 結論・要約: 上下の二重罫線+白地。左右は 20px の本文端に揃える(箱の内側に字を寄せない) */
.stnv2-verdict,body.single-post .wp-block-post-content .stnv2-verdict.stnv2-verdict--article{padding:14px 0;border:0;border-top:3px double var(--stnv2-navy);border-bottom:3px double var(--stnv2-navy);border-radius:0;background:var(--stnv2-white)}
/* 型C CTA: 角丸 8px(pill をやめる。高さ・幅は v2 のまま) */
.stnv2-cta__btn,.stnv2-go__btn{border-radius:8px}
/* 見出し: 本文の H2 は左の縦棒をやめ、飾りなし(2026-10-09: 蛍光ペン風の下線と 01 形式の連番を撤去。連番のための padding-top 22px も外す) */
body :is(.entry-content>h2.wp-block-heading:not(.sn-section-title),.stnv2-section>h2,.stn-r2-section__head>h2){position:relative;padding-left:0}
body :is(.entry-content>h2.wp-block-heading:not(.sn-section-title),.stnv2-section>h2,.stn-r2-section__head>h2)::before{content:none}
/* 確認日は 1.5px の navy 枠(2026-10-09: 回転はやめた)。「確認日 YYYY-MM-DD」のバッジだけに当てる。
   記事の結論ボックス・署名行の「公式確認日 YYYY年M月D日」(.stnv2-verdict__confirm / .stn-post-byline-confirm)と
   訂正記録の日付(.stnv2-log__meta)は除外し、下の規則で小さい本文の文字にする(2026-09-29 反証の採用)。 */
body main .stnv2-badge--confirm.stnv2-badge--confirm.stnv2-badge--confirm.stnv2-badge--confirm:not(:is(.stnv2-verdict__confirm,.stn-post-byline-confirm,.stnv2-log__meta)>*){display:inline-block;box-sizing:border-box;margin:3px 4px 3px 2px;padding:2px 8px;border:1.5px solid var(--stnv2-navy);border-radius:4px;background:none;color:var(--stnv2-navy);font-weight:700;letter-spacing:.02em}
body main :is(.stnv2-verdict__confirm,.stn-post-byline-confirm)>.stnv2-badge--confirm.stnv2-badge--confirm.stnv2-badge--confirm.stnv2-badge--confirm{display:inline;margin:0;padding:0;border:0;border-radius:0;background:none;color:#526579;font-size:14px;font-weight:400;letter-spacing:0;transform:none}
/* 余白の非対称: 節の上 48px・下 32px(≤359px は 40/24。2026-09-29 密度調整)(左右 20px の統一は v2 のまま) */
body.stn-edge20 .stnv2-section{padding-top:48px;padding-bottom:32px}
@media (max-width:359px){body.stn-edge20 .stnv2-section{padding-top:40px;padding-bottom:24px}}
.stnv3-summary__sub{display:block;margin:6px 0 0}

/* 83 density (2026-09-29 ユーザー「文字の配置がギチギチで見づらい」): 本文 1.85・段落間 1.4em・リスト 10px・隣接ブロック 20px 以上・H2 下 16px。
   320px も同じ値(節 padding だけ 40/24)。表・カード・CTA・14px の注記は対象外。
   .stn-r2-page 内の p/li と hero の内側 padding は本体 inline CSS が !important 固定なので、そこだけ !important で上書きする */
:root{--stnv4-lh:1.85;--stnv4-pm:1.4em;--stnv4-row:18px}
body main :is(p,li):not(:is(table,nav,.stnv2-scroll,.sn-table-scroll,.stnv2-board,.stnv3-dg,.stnv2-cta,.affiliate-text-slot-wrap,.stnv2-toc,.stnv2-faq summary,.stnv2-disclosure,.stnv5-signature,.stnv3-summary,.stnv2-entries,.stnv2-minicard,.stnv2-plan) *):not(.stnv2-sub,.stnv2-legend,.stnv2-meta,.stnv2-cta__pr,.stnv2-cta__note,.stnv5-dateline,.stnv2-callout,.stn-cta-assurance,.affiliate-disclosure){line-height:var(--stnv4-lh)}
body.stn-r2-enabled.stn-edge20 .stn-r2-page :is(p,li):not(:is(table,nav,.stnv2-scroll,.sn-table-scroll,.stnv2-board,.stnv3-dg,.stnv2-cta,.affiliate-text-slot-wrap,.stnv2-toc,.stnv2-faq summary,.stnv2-disclosure,.stnv5-signature,.stnv3-summary,.stnv2-entries,.stnv2-minicard,.stnv2-plan) *):not(.stnv2-sub,.stnv2-legend,.stnv2-meta,.stnv2-cta__pr,.stnv2-cta__note,.stnv5-dateline,.stnv2-callout,.stn-cta-assurance,.affiliate-disclosure){line-height:var(--stnv4-lh)!important}
body main p:not(:is(table,nav,.stnv2-scroll,.sn-table-scroll,.stnv2-board,.stnv3-dg,.stnv2-cta,.affiliate-text-slot-wrap,.stnv2-toc,.stnv2-faq summary,.stnv2-disclosure,.stnv5-signature,.stnv3-summary,.stnv2-entries,.stnv2-minicard,.stnv2-plan) *):not(.stnv2-sub,.stnv2-legend,.stnv2-meta,.stnv2-cta__pr,.stnv2-cta__note,.stnv5-dateline,.stnv2-callout,.stn-cta-assurance,.affiliate-disclosure):not(:last-child){margin-bottom:var(--stnv4-pm)}
body.single-post .wp-block-post-content .stnv2-verdict :is(p,li):not(.stnv2-eyebrow):not(.stnv2-verdict__confirm){line-height:var(--stnv4-lh)}
.stnv2-list>li{padding-top:5px;padding-bottom:5px}
body main :is(ul,ol):not(.stnv2-list):not([class*="stnv"])>li+li{margin-top:10px}
body :is(.entry-content>h2.wp-block-heading:not(.sn-section-title),.stnv2-section>h2,.stn-r2-section__head>h2){margin-bottom:16px}
.stnv2-cta{margin:20px 0}
.stnv2-verdict__confirm{margin:20px 0 0}
@media (max-width:1023px){body.stn-r2-enabled.stn-edge20 .stn-r2-hero>.stn-r2-hero__inner{padding-block:32px!important}}
