/* テーマ Okane の見た目（Teller Estimate Sheet）。定義は designs/okane.md、見本は docs/superpowers/specs/assets/2026-11-13-okane/top-final.html。
   見本の <style> をそのまま移し（mock- で始まる見本だけのクラスは移さない）、見本に無いもの（記事の列・目次・本文の表や引用・一覧・検索・相談先の置き場）を
   designs/okane.md 4章「見本に無いものの決まり」で足した。
   下敷き: 金融機関の窓口で渡される返済の試算表と、店頭の手数料表（色で刷った帳票に、墨で数字を入れたもの）
   色: 紙の白・墨・青の3つ（と罫の色・結論の地）。青は罫・見出しの帯・押せる所。数字と名前は墨。赤と黄・影・グラデーションは使わない。角丸はボタンの 4px だけ */
:root{
	--paper:#FFFFFF;
	--ink:#231815;
	--blue:#1D5FA8;
	--blue-deep:#134377;
	--line:#BCC8D8;
	--tint:#E8F0FA;
	--font:"BIZ UDPGothic","Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",Meiryo,sans-serif;
	--shell:1160px;
	--article:760px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.8;overflow-wrap:break-word;line-break:strict}
a{color:var(--blue);text-decoration:underline;text-underline-offset:.2em}
a:hover{text-decoration-thickness:2px}
a:focus-visible,button:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.screen-reader-text{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
a.screen-reader-text:focus{position:static;width:auto;height:auto;margin:0;clip:auto;display:block;padding:10px 16px}
.okt-ph{display:inline-block}

/* 広告の表示。本文と同じ大きさ・同じ濃さ。TOP は頭の上の帯（.okt-adbar）、ほかの画面は見出しのすぐ下の1行 */
.okn-notices{margin:0;font-size:16px;line-height:1.6;color:var(--ink)}
.okn-notices__pr{display:flex;flex-wrap:wrap;align-items:center;column-gap:.8em;min-height:38px}
.okn-notices a{display:inline-flex;align-items:center;min-height:44px}
.okt-adbar{border-bottom:1px solid var(--line)}
.okt-adbar .okn-notices{max-width:var(--shell);margin:0 auto;padding:0 16px}

/* TOP 以外の画面の頭（見出し → 広告の表示 → パンくず → 日付 → 監修） */
.okt-page-head{margin:0 0 20px}
.okt-page-head__title{margin:0;font-size:25px;font-weight:700;line-height:1.4;letter-spacing:.02em;word-break:keep-all;overflow-wrap:anywhere}
.okn-breadcrumb__list{display:flex;flex-wrap:wrap;align-items:center;margin:0;padding:0;list-style:none;font-size:14px;line-height:1.5}
.okn-breadcrumb__item{display:inline-flex;align-items:center;min-height:44px}
.okn-breadcrumb__item:not(:last-child)::after{content:"/";margin:0 .7em}
.okn-breadcrumb__item a{display:inline-flex;align-items:center;min-height:44px;margin:0 -8px;padding:0 8px}
.okn-dates,.okn-byline{margin:0;font-size:14px;line-height:1.8}
.okn-dates__item{display:inline-block;margin-right:1.2em}
.okn-dates__label{color:var(--blue);font-weight:700}

/* [頭] */
.okt-head{border-bottom:4px double var(--blue)}
.okt-head__in{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px;max-width:var(--shell);margin:0 auto;padding:8px 16px 0}
.okt-head__name{margin:0;font-size:21px;font-weight:700;line-height:1.3;letter-spacing:.06em;word-break:keep-all;overflow-wrap:anywhere}
.okt-head__name a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);text-decoration:none}
.okt-side{display:flex}
.okt-side a{display:inline-flex;align-items:center;justify-content:center;min-width:58px;min-height:44px;padding:0 10px;border:2px solid var(--blue);background:var(--paper);color:var(--blue);font-size:15px;font-weight:700;line-height:1.2;text-decoration:none}
.okt-side a + a{margin-left:-2px}
.okt-side a[aria-current="page"]{background:var(--blue);color:#fff}
.okt-nav{grid-column:1 / -1;display:flex;flex-wrap:wrap;column-gap:22px}
.okt-nav a{display:inline-flex;align-items:center;min-width:44px;min-height:44px;font-size:15px;word-break:keep-all;overflow-wrap:anywhere}

/* [1] TOP の見出しと1文 */
.okt-home__in{max-width:var(--shell);margin:0 auto;padding:0 16px}
.okt-home__top{padding:18px 0 4px}
.okt-home__title{margin:0 0 6px;font-size:25px;font-weight:700;line-height:1.4;letter-spacing:.02em}
.okt-home__text{margin:0 0 10px;font-size:16px;line-height:1.7}

/* 総額くらべ: 条件の欄 */
.okn-total__form{margin:0 0 12px;border:2px solid var(--blue);background:var(--paper)}
.okn-total__field{min-width:0;margin:0;padding:0;border:0}
.okn-total__field:not(:last-of-type){border-bottom:2px solid var(--blue)}
.okn-total__legend{float:left;width:100%;padding:4px 10px;border-bottom:1px solid var(--line);color:var(--blue);font-size:14px;font-weight:700;line-height:1.6}
.okn-total__opts{clear:both;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
.okn-total__opt{position:relative;display:block;min-width:0}
.okn-total__opt + .okn-total__opt{border-left:1px solid var(--line)}
.okn-total__opt input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.okn-total__opt span{display:flex;align-items:center;justify-content:center;min-height:46px;padding:0 2px;font-size:15px;font-weight:700;line-height:1.2;white-space:nowrap}
.okn-total__opt input:checked + span{background:var(--blue);color:#fff}
.okn-total__opt input:focus-visible + span{outline:3px solid var(--ink);outline-offset:-4px}
.okn-total__opt:hover span{text-decoration:underline;text-underline-offset:.2em}
.okn-total__submit{display:block;width:calc(100% - 20px);min-height:48px;margin:10px;padding:8px 16px;border:0;border-bottom:4px solid var(--blue-deep);border-radius:4px;background:var(--blue);color:#fff;font:inherit;font-size:16px;font-weight:700;cursor:pointer}
/* okn-core.js が動いたら、送信ボタンに hidden を付ける（JavaScript が無いときは出たまま） */
.okn-total__submit[hidden]{display:none}

/* 総額くらべ: 結果の表。行（li.okn-total__row）は grid のまま（inline にしない。サーバーの行は span の間に空白があり、JS の行には無い） */
.okn-total__list{position:relative;list-style:none;margin:0;padding:0;border:2px solid var(--blue)}
.okn-total__list::before{content:"手段（先に検討する順）";display:block;padding:6px 10px;background:var(--blue);color:#fff;font-size:14px;font-weight:700;line-height:1.6}
.okn-total__list::after{content:"総額の目安";position:absolute;top:0;right:0;padding:6px 10px;color:#fff;font-size:14px;font-weight:700;line-height:1.6}
.okn-total__row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;grid-template-areas:"num name name" "num cost cost" "num apr apr" "num bar bar" "num speed more" "num cond more";border-top:1px solid var(--line)}
.okn-total__row:first-child{border-top:0}
.okn-total__row::before{content:attr(data-order);grid-area:num;display:flex;justify-content:center;padding-top:9px;border-right:1px solid var(--line);color:var(--blue);font-size:19px;font-weight:700;line-height:1.5}
.okn-total__name{grid-area:name;padding:9px 10px 0;font-size:16px;font-weight:700;line-height:1.5}
.okn-total__cost{grid-area:cost;justify-self:end;max-width:100%;padding:0 10px;font-size:clamp(22px,7.2vw,28px);font-weight:700;line-height:1.3;text-align:right;word-break:keep-all;overflow-wrap:anywhere}
.okn-total__apr{grid-area:apr;justify-self:end;max-width:100%;padding:0 10px;font-size:14px;line-height:1.5;text-align:right}
.okn-total__bar{grid-area:bar;display:block;height:9px;margin:5px 10px 0}
/* 0円の行の棒は出さない。2つ目は、JavaScript が長さを書き換えたあとの属性の形（--okn-w: 0%;） */
.okn-total__bar[style*="--okn-w:0%"],.okn-total__bar[style*="--okn-w: 0%"]{display:none}
.okn-total__bar::before{content:"";display:block;width:var(--okn-w);height:100%;background:var(--ink)}
.okn-total__speed{grid-area:speed;padding:8px 10px 0}
.okn-total__cond{grid-area:cond;padding:0 10px 10px}
.okn-total__speed,.okn-total__cond{font-size:14px;line-height:1.65}
.okn-total__speed::before{content:"届くまで";margin-right:.7em;color:var(--blue);font-weight:700}
.okn-total__cond::before{content:"条件";margin-right:.7em;color:var(--blue);font-weight:700}
.okn-total__more{grid-area:more;align-self:end;justify-self:end;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 12px;font-size:15px;font-weight:700;white-space:nowrap}
.okn-total__row.is-over .okn-total__cost,.okn-total__row.is-text .okn-total__cost{padding-top:3px;font-size:16px;line-height:1.6}
.okn-total__row.is-nodata .okn-total__cost{font-size:22px;font-weight:400}
/* 使わない手段の行も、色と大きさは同じ。帳票の二重線で区切るだけ（区別は言葉と並びの位置で付ける） */
.okn-total__row.is-avoid{margin-bottom:-1px;border-top:3px double var(--blue);border-bottom:1px solid var(--blue)}
.okn-total__basis{margin:0;padding:8px 10px;border:2px solid var(--blue);border-top:0;font-size:14px;line-height:1.7}
.okn-total__basis::before{content:"計算の前提";margin-right:.8em;color:var(--blue);font-weight:700}

/* [2] 信頼の帯 */
.okt-trust{margin-top:28px;border-top:2px solid var(--blue);border-bottom:2px solid var(--blue)}
.okt-trust__list{max-width:var(--shell);margin:0 auto;padding:0 16px;list-style:none}
.okt-trust__item{display:flex;align-items:center;min-height:48px;padding:4px 0;font-size:15px;line-height:1.5}
.okt-trust__item + .okt-trust__item{border-top:1px solid var(--line)}
.okt-trust__label{flex:none;margin-right:1em;color:var(--blue);font-weight:700}
.okt-trust__name{font-weight:700}
.okt-trust__item a{display:inline-flex;align-items:center;min-height:44px}

/* [3] 状況から探す ／ [5] 新しく確かめた情報。章の見出し（TOP の .okt-home__h と、記事のあとの章 .okt-sec__h）は同じ形 */
.okt-home__sec{padding-top:28px}
.okt-home__h,.okt-sec__h{margin:0 0 12px;padding:6px 12px;background:var(--blue);color:#fff;font-size:17px;font-weight:700;line-height:1.5}
.okn-situations{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.okn-situations li{display:flex}
.okn-situations a{flex:1;display:flex;flex-direction:column;justify-content:center;min-height:64px;padding:9px 14px;border:2px solid var(--blue);border-bottom-width:5px;background:var(--paper);color:var(--ink);text-decoration:none}
.okn-situations a:active{border-bottom-width:2px;margin-top:3px}
.okn-situations__title{font-size:17px;font-weight:700;line-height:1.5}
.okn-situations__scene{font-size:14px;line-height:1.6}
/* 新しく確かめた情報（.okn-updated）と、ページの直しの記録（.okn-changelog）は同じ形 */
.okn-updated,.okn-changelog{margin:0;padding:0;list-style:none}
.okn-updated li,.okn-changelog li{display:flex;flex-wrap:wrap;column-gap:16px;padding:9px 2px;border-bottom:1px solid var(--line);font-size:15px;line-height:1.6}
.okn-updated time,.okn-changelog time{color:var(--blue);font-weight:700}

/* [足] 本文との間に青の罫。相談先の箱は、この罫と足の間（すべての画面の足の上） */
.okt-main{padding-bottom:36px;border-bottom:2px solid var(--blue)}
.okt-consult-area{max-width:calc(var(--article) + 32px);margin:28px auto 0;padding:0 16px}
.okt-foot{padding:18px 0 28px}
.okt-foot__in{display:grid;gap:14px 32px;max-width:var(--shell);margin:0 auto;padding:0 16px}
.okt-foot__head{margin:0;font-size:15px;font-weight:700;line-height:1.6}
.okt-foot ul{margin:0;padding:0;list-style:none}
.okt-foot a{display:inline-flex;align-items:center;min-width:44px;min-height:44px;font-size:15px;line-height:1.4}
.okt-foot__op{max-width:var(--shell);margin:14px auto 0;padding:0 16px;font-size:14px;line-height:1.6}

/* PR の印・ボタン・注釈。広告のボタンは span.okn-cta（a ではない）なので、クラスで見た目を付ける */
.okn-pr{display:inline-block;margin-left:.3em;padding:0 .35em;border:1px solid var(--ink);color:var(--ink);font-size:16px;font-weight:400;line-height:1.45;vertical-align:.08em}
.okn-cta{display:flex;align-items:center;justify-content:center;min-height:52px;padding:8px 14px;border-bottom:4px solid var(--blue-deep);border-radius:4px;background:var(--blue);color:#fff;font-size:17px;font-weight:700;line-height:1.4;text-align:center;cursor:pointer}
.okn-cta:hover,.okn-total__submit:hover{background:var(--blue-deep)}
.okn-cta:active{border-bottom-width:1px;margin-top:3px}
.okn-cta-note{margin:8px 0 0;font-size:14px;line-height:1.6}
.okn-official{display:inline-flex;align-items:center;min-height:44px;font-size:15px}

/* 比較表 */
.okn-compare__for{display:flex;flex-wrap:wrap;align-items:center;margin:0 0 8px}
.okn-compare__for-label{margin-right:.8em;font-size:15px;font-weight:700}
.okn-compare__for a{display:inline-flex;align-items:center;justify-content:center;min-width:58px;min-height:44px;padding:0 12px;border:2px solid var(--blue);background:var(--paper);color:var(--blue);font-size:15px;font-weight:700;line-height:1.2;text-decoration:none}
.okn-compare__for a + a{margin-left:-2px}
.okn-compare__for a[aria-current="true"]{background:var(--blue);color:#fff}
.okn-compare__empty{margin:0;padding:12px 14px;border:2px solid var(--blue);line-height:1.7}
/* 置き場の幅で組み方を変えるので、比較表の箱をコンテナにする（flex の子・float・幅が中身で決まる箱に入れない） */
.okn-compare{container-type:inline-size}
.okn-compare__basis{margin:0 0 6px;font-size:15px;line-height:1.7}
.okn-compare__basis a{display:inline-flex;align-items:center;min-height:44px;margin-left:.6em}
.okn-compare__table{width:100%;border-collapse:collapse;border:2px solid var(--blue)}
.okn-compare__table thead th{padding:0 10px;background:var(--blue);color:#fff;font-size:14px;font-weight:700;line-height:1.5;text-align:left;vertical-align:middle;white-space:nowrap;height:44px}
.okn-compare__sort{min-width:44px;min-height:44px;margin:0;padding:0;border:0;background:none;color:#fff;font:inherit;font-weight:700;text-align:left;text-decoration:underline;text-underline-offset:.2em;white-space:nowrap;cursor:pointer}
/* いちばん小さい文字は 14px（designs/okane.md 1章）。▲もそろえる */
.okn-compare__sort[aria-pressed="true"]::after{content:" ▲";font-size:14px}
.okn-compare__sort:focus-visible{outline-color:#fff}
.okn-compare__table tbody th,.okn-compare__table tbody td{padding:12px 10px;border-top:1px solid var(--line);font-size:15px;line-height:1.6;text-align:left;vertical-align:middle}
/* 列が多くても、名前と短い値（1日・2社間・5.0%）が1字ずつに折れない幅を取る。確かめた日（最後から2つ目の列）は折らない */
.okn-compare__table tbody td{min-width:4.5em}
.okn-compare__table tbody td:nth-last-child(2){white-space:nowrap}
.okn-compare__table tbody th{min-width:7em;font-size:16px;font-weight:700}
.okn-compare__table tbody th a{display:inline-flex;align-items:center;min-height:44px;padding:6px 0}
.okn-compare__table tbody th + td{font-size:22px;font-weight:700;line-height:1.3}
.okn-compare__table .okn-cta{min-height:48px;font-size:15px;white-space:nowrap}
.okn-compare__table .okn-official{white-space:nowrap}
/* 1社ずつ縦に組む形（列の見出しは td の data-th から出す。申込ボタンが画面の外に出ない。最後の列＝ボタンは、見出しを出さずに幅いっぱい）。
   組む条件は次の2つで、どちらも比較表の箱に名前 okn-stack を付けるだけ。組み方の決まりは、その下の @container の1か所にある
   (1) 画面が 720px より狭いとき
   (2) 列が6つ以上（名前・確かめた日・公式サイトを入れて。項目が3つ以上）の表で、置き場（.okn-compare）が 1080px より狭いとき */
@media (max-width:719px){.okn-compare{container-name:okn-stack}}
.okn-compare:has(.okn-compare__table thead th:nth-child(6)){container-name:okn-stack}
@container okn-stack (max-width:1079px){
	.okn-compare__table{display:block;border:0}
	.okn-compare__table thead,.okn-compare__table tr,.okn-compare__table th,.okn-compare__table td{display:block}
	.okn-compare__table thead tr{display:flex;flex-wrap:wrap;align-items:center;gap:0 14px;margin:0 0 10px;padding:0 10px;background:var(--blue)}
	.okn-compare__table thead tr:not(:has(.okn-compare__sort)){display:none}
	.okn-compare__table thead tr::before{content:"並べ替え";color:#fff;font-size:14px;font-weight:700}
	.okn-compare__table thead th{display:none;height:auto;padding:0}
	.okn-compare__table thead th:has(.okn-compare__sort){display:block}
	.okn-compare__table tbody{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:12px}
	.okn-compare__table tbody tr{border:2px solid var(--blue)}
	.okn-compare__table tbody th{display:flex;flex-wrap:wrap;align-items:center;min-height:48px;padding:2px 12px;border-top:0;border-bottom:1px solid var(--blue);font-size:17px}
	.okn-compare__table tbody td{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:7px 12px;border-top:0;border-bottom:1px solid var(--line)}
	.okn-compare__table tbody td::before{content:attr(data-th);flex:none;color:var(--blue);font-size:14px;font-weight:700;line-height:1.6}
	.okn-compare__table tbody td:last-child{display:block;padding:12px;border-bottom:0}
	.okn-compare__table tbody td:last-child::before{content:none}
}
/* コンテナクエリが使えない古いブラウザ（Safari 15 以前など）では、上の @container が丸ごと無視され、スマホの幅でも表のまま横にはみ出す。
   そのときだけ、(1) 画面が 720px より狭いときの決まりを @media で書き直す（上の @container の中身と同じ。直すときは両方を直す）。
   (2) 列が多い表の決まりは、置き場の幅が測れないので古いブラウザでは当てず、720px 以上の画面で入らない表は、比較表の箱の中で横に動かす。
   :has() も使えないブラウザ（Safari 15.3 以前）では、:has の2行だけが無視される（並べ替えのボタンが帯に出ない。表は読める） */
@supports not (container-type:inline-size){
	.okn-compare{overflow-x:auto}
	@media (max-width:719px){
		.okn-compare__table{display:block;border:0}
		.okn-compare__table thead,.okn-compare__table tr,.okn-compare__table th,.okn-compare__table td{display:block}
		.okn-compare__table thead tr{display:flex;flex-wrap:wrap;align-items:center;gap:0 14px;margin:0 0 10px;padding:0 10px;background:var(--blue)}
		.okn-compare__table thead tr:not(:has(.okn-compare__sort)){display:none}
		.okn-compare__table thead tr::before{content:"並べ替え";color:#fff;font-size:14px;font-weight:700}
		.okn-compare__table thead th{display:none;height:auto;padding:0}
		.okn-compare__table thead th:has(.okn-compare__sort){display:block}
		.okn-compare__table tbody{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:12px}
		.okn-compare__table tbody tr{border:2px solid var(--blue)}
		.okn-compare__table tbody th{display:flex;flex-wrap:wrap;align-items:center;min-height:48px;padding:2px 12px;border-top:0;border-bottom:1px solid var(--blue);font-size:17px}
		.okn-compare__table tbody td{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:7px 12px;border-top:0;border-bottom:1px solid var(--line)}
		.okn-compare__table tbody td::before{content:attr(data-th);flex:none;color:var(--blue);font-size:14px;font-weight:700;line-height:1.6}
		.okn-compare__table tbody td:last-child{display:block;padding:12px;border-bottom:0}
		.okn-compare__table tbody td:last-child::before{content:none}
	}
}

/* 種類ごとの注意の文言（比較表のあと・札の最後）。小さく薄くしない */
.okn-kind-notice{margin:12px 0 0;padding:8px 12px;border:1px solid var(--ink);font-size:14px;line-height:1.7}

/* サービスの札 */
.okn-card{max-width:520px;padding:12px 14px 14px;border:2px solid var(--blue)}
.okn-card + .okn-card{margin-top:16px}
.okn-card__name{margin:0 0 8px;font-size:18px;font-weight:700;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}
.okn-card__specs{margin:0 0 14px;border-top:1px solid var(--line)}
.okn-card__specs div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid var(--line)}
.okn-card__specs dt{flex:none;color:var(--blue);font-size:14px;font-weight:700}
.okn-card__specs dd{margin:0;font-weight:700}
.okn-card__more{display:flex;align-items:center;justify-content:flex-end;width:fit-content;min-width:44px;min-height:44px;margin:-10px 0 4px auto;font-size:15px;font-weight:700}

/* 仕様の表（個別ページ）。項目の行 → 備考の欄（公式サイトで確かめた日） */
.okn-specs{max-width:640px;margin:0;border:2px solid var(--blue)}
.okn-specs__row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:8px 12px}
.okn-specs__row + .okn-specs__row{border-top:1px solid var(--line)}
.okn-specs__term{flex:none;color:var(--blue);font-size:14px;font-weight:700}
.okn-specs__desc{margin:0;font-weight:700}
.okn-specs__checked{max-width:640px;margin:0;padding:8px 12px;border:2px solid var(--blue);border-top:0;font-size:14px;line-height:1.7}

/* 計算（後払い・ファクタリング）。入力の欄 → 結果 → 計算のしかた（備考の欄）
   .okn-calc__message と .okn-calc__rows には display を当てない（okn-core.js が hidden で出し入れする） */
.okn-calc{max-width:640px;border:2px solid var(--blue)}
.okn-calc__field{display:block;padding:6px 10px 10px}
.okn-calc__field + .okn-calc__field{border-top:1px solid var(--line)}
.okn-calc__label{display:block;margin-bottom:2px;color:var(--blue);font-size:14px;font-weight:700;line-height:1.6}
.okn-calc__control{display:flex;align-items:center;gap:8px}
.okn-calc__input{flex:1;min-width:0;height:48px;padding:0 10px;border:2px solid var(--ink);border-radius:0;background:var(--paper);color:var(--ink);font:inherit;font-size:20px;font-weight:700;line-height:1.2;text-align:right}
.okn-calc__input::placeholder{color:var(--ink);opacity:.65;font-size:16px;font-weight:400}
.okn-calc__input:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.okn-calc__unit{flex:none;min-width:1.2em;font-weight:700}
.okn-calc__result{padding:0 10px 10px;border-top:2px solid var(--blue);border-bottom:2px solid var(--blue)}
.okn-calc__result::before{content:"結果";display:block;margin:0 -10px 8px;padding:4px 10px;background:var(--blue);color:#fff;font-size:14px;font-weight:700;line-height:1.6}
.okn-calc__message{margin:0;font-size:15px;line-height:1.7}
.okn-calc__rows{margin:0;padding:0;list-style:none}
.okn-calc__rows li{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:0 12px;padding:4px 0}
.okn-calc__rows li + li{border-top:1px solid var(--line)}
.okn-calc__term{flex:none;color:var(--blue);font-size:14px;font-weight:700}
.okn-calc__value{margin-left:auto;font-size:24px;font-weight:700;line-height:1.3;text-align:right;white-space:nowrap}
.okn-calc__noscript{margin:0;padding:8px 10px;border-bottom:1px solid var(--line);font-size:15px;line-height:1.7}
.okn-calc__how{padding:8px 10px 10px;font-size:14px;line-height:1.7}
.okn-calc__how p{margin:0 0 6px}
.okn-calc__how-title{color:var(--blue);font-weight:700}
.okn-calc__formula{font-weight:700}
.okn-calc__notes{margin:0;padding:0;list-style:none}
.okn-calc__notes li{position:relative;padding-left:1.2em}
.okn-calc__notes li::before{content:"";position:absolute;top:.62em;left:.15em;width:.45em;height:.45em;background:var(--blue)}

/* 結論の箱・注意の箱（グループのブロックのスタイル。inc/setup.php で登録）。結論の箱は1ページに1か所 */
.is-style-okt-conclusion,.is-style-okt-caution{margin:0;padding:12px 16px 14px}
.is-style-okt-conclusion{border:2px solid var(--blue);background:var(--tint)}
.is-style-okt-caution{border:2px solid var(--ink)}
.is-style-okt-conclusion::before,.is-style-okt-caution::before{display:inline-block;margin:0 0 6px;padding:1px 12px;color:#fff;font-size:14px;font-weight:700;line-height:1.6}
.is-style-okt-conclusion::before{content:"結論";background:var(--blue)}
.is-style-okt-caution::before{content:"注意";background:var(--ink)}
.is-style-okt-conclusion p,.is-style-okt-caution p{margin:0;line-height:1.75}
.is-style-okt-conclusion p{font-weight:700}
.is-style-okt-conclusion p + p,.is-style-okt-caution p + p{margin-top:8px}

/* 公的な相談先の箱 */
.okt-consult{border:2px solid var(--blue);scroll-margin-top:12px}
.okt-consult__title{margin:0;padding:6px 12px;background:var(--blue);color:#fff;font-size:17px;font-weight:700;line-height:1.5}
.okn-consult{margin:0;padding:0;list-style:none}
.okn-consult li{display:flex;flex-wrap:wrap;align-items:center;gap:0 16px;padding:8px 14px 10px}
.okn-consult li + li{border-top:1px solid var(--line)}
.okn-consult__name{flex:1 1 100%;font-weight:700;line-height:1.6}
.okn-consult__name a{display:inline-flex;align-items:center;min-height:44px}
.okn-consult__tel{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);font-size:24px;font-weight:700;line-height:1.2}
.okn-consult__hours{font-size:15px}
.okn-consult__hours::before{content:"受付 ";color:var(--blue);font-weight:700}

/* ── ここから下は見本に無いもの（designs/okane.md 4章「見本に無いものの決まり」から導いた） ── */

/* 記事の列（760px）。TOP の形の画面は .okt-home__in（1160px）を使う */
.okt-article{max-width:calc(var(--article) + 32px);margin:0 auto;padding:18px 16px 0}
/* 比較の型の広い列（Task 14）: 比較表（.okn-compare）が 1080px 以上になる 1160px の列（designs/okane.md 8章9）。
   表と本文の表のほかは、記事の列と同じ 760px で止め、左にそろえる（文の行を長くしない）。:where で詳細度を 0 にし、部品の幅（札 520px など）を上書きしない */
.okt-article--wide{max-width:var(--shell)}
:where(.okt-article--wide) > :where(:not(.okt-content)),:where(.okt-article--wide .okt-content) > :where(:not(.okn-compare,.wp-block-table,.okt-table-scroll)){max-width:var(--article)}
/* 足の上の相談先の箱も、この列の左の端にそろえる（幅は 760px のまま。TOP の形の画面の決まりと同じ考え） */
.okt-main[data-okt-type="compare"] + .okt-consult-area{max-width:var(--shell)}
.okt-main[data-okt-type="compare"] + .okt-consult-area > .okt-consult{max-width:var(--article)}
/* 個別の型（Task 14）: 仕様の表（と確かめた日の欄）→ 目次・本文 → 札。部品どうしの間は 28px（4章「部品どうしの間」） */
.okt-article > .okn-specs__checked{margin-bottom:28px}
.okt-article > .okn-card{margin-top:28px}

/* 目次: 青の枠・頭に「目次」・下線つきのリンク（高さ 44px）。番号は付けない */
.okt-toc{margin:0 0 28px;border:2px solid var(--blue)}
.okt-toc__title{margin:0;padding:4px 12px;border-bottom:1px solid var(--line);color:var(--blue);font-size:14px;font-weight:700;line-height:1.6}
.okt-toc ol{margin:0;padding:0;list-style:none}
.okt-toc .okt-toc__list{padding:2px 12px 4px}
.okt-toc__list > li + li{border-top:1px solid var(--line)}
.okt-toc a{display:flex;align-items:center;min-height:44px;padding:4px 0;font-size:15px;line-height:1.5}
.okt-toc li li a{padding-left:1.2em;font-size:14px}

/* 記事の本文。本文の中のショートコードの部品（okn-）に当たらないよう、:where で詳細度を下げ、リストと表は okn- の付かないものだけを狙う */
:where(.okt-content) > :first-child{margin-top:0}
:where(.okt-content) h2{margin:36px 0 14px;padding:8px 14px;background:var(--blue);color:#fff;font-size:20px;font-weight:700;line-height:1.5;scroll-margin-top:12px}
:where(.okt-content) h3{margin:26px 0 10px;padding:0 0 5px;border-bottom:2px solid var(--blue);font-size:18px;font-weight:700;line-height:1.5;scroll-margin-top:12px}
:where(.okt-content) h4{margin:22px 0 8px;font-size:16px;font-weight:700;line-height:1.6}
:where(.okt-content) p{margin:0 0 16px}
:where(.okt-content) ul:not([class*="okn-"]),:where(.okt-content) ol:not([class*="okn-"]):not(.wp-block-footnotes){margin:0 0 16px;padding:0}
:where(.okt-content) ul:not([class*="okn-"]){list-style:none}
:where(.okt-content) ul:not([class*="okn-"]) > li{position:relative;margin:0 0 6px;padding-left:1.3em;line-height:1.7}
:where(.okt-content) ul:not([class*="okn-"]) > li::before{content:"";position:absolute;top:.6em;left:.2em;width:.5em;height:.5em;background:var(--blue)}
:where(.okt-content) ol:not([class*="okn-"]):not(.wp-block-footnotes){padding-left:1.8em}
:where(.okt-content) ol:not([class*="okn-"]) > li{margin:0 0 6px;padding-left:.2em;line-height:1.7}
:where(.okt-content) ol:not([class*="okn-"]) > li::marker{color:var(--blue);font-weight:700}
:where(.okt-content) li > :is(ul,ol){margin:6px 0 0}
:where(.okt-content) img{max-width:100%;height:auto}
:where(.okt-content) figure{margin:24px 0}
:where(.okt-content) figcaption{margin-top:6px;font-size:14px;line-height:1.6}
:where(.okt-content) hr{margin:28px 0;border:0;border-top:1px solid var(--line)}
/* 本文の表: 比較表の表の形と同じ。横に入らない表は、表だけを横に動かす */
:where(.okt-content) .wp-block-table,:where(.okt-content) .okt-table-scroll{margin:24px 0;overflow-x:auto}
:where(.okt-content) table:not([class*="okn-"]){width:100%;border-collapse:collapse;border:2px solid var(--blue);font-size:15px;line-height:1.6}
:where(.okt-content) table:not([class*="okn-"]) :is(thead,tbody,tfoot){border:0}
:where(.okt-content) table:not([class*="okn-"]) :is(th,td){padding:10px;border:0;border-top:1px solid var(--line);text-align:left;vertical-align:top}
:where(.okt-content) table:not([class*="okn-"]) thead th{padding:8px 10px;border-top:0;background:var(--blue);color:#fff;font-size:14px;font-weight:700;line-height:1.5;vertical-align:middle;word-break:keep-all;overflow-wrap:anywhere}
:where(.okt-content) table:not([class*="okn-"]) tbody th{font-weight:700}
/* 値（25,000円・最短で当日）を語の途中で折らない。折れるのは句読点と「・」のあとだけ。入らない表は、表の箱（.wp-block-table）の中で横に動く */
:where(.okt-content) table:not([class*="okn-"]) td{word-break:keep-all;overflow-wrap:break-word}
/* エディタでは選べなくした既定のスタイル（assets/editor.js）が、前から付いている記事でも出ないように打ち消す。
   表の「縞」の灰色の面と透明の罫 → 本文の表と同じ（白い地・内側の罫）。画像の「角丸」（9999px）→ 角を立てる */
.okt-content .wp-block-table.is-style-stripes{border-bottom:0}
.okt-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:transparent}
.okt-content .wp-block-table.is-style-stripes :is(th,td){border-color:var(--line)}
.okt-content .wp-block-image.is-style-rounded img,.okt-content .wp-block-image .is-style-rounded img{border-radius:0}
/* 引用: 墨の枠 1px。左だけの縦線にしない。斜体にしない */
:where(.okt-content) blockquote{margin:24px 0;padding:12px 16px;border:1px solid var(--ink)}
:where(.okt-content) blockquote p:last-of-type{margin-bottom:0}
:where(.okt-content) blockquote cite{display:block;margin-top:8px;font-size:14px;font-style:normal}
/* 脚注: 14px・墨。上に内側の罫 */
:where(.okt-content) .wp-block-footnotes{margin:28px 0 0;padding:12px 0 0 1.8em;border-top:1px solid var(--line);font-size:14px;line-height:1.7}
:where(.okt-content) .wp-block-footnotes li{margin:0 0 6px}
/* 本文の中のボタンのブロック: 申込ボタンと同じ形（WordPress の丸いボタンにしない） */
.okt-content .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:8px 18px;border:0;border-bottom:4px solid var(--blue-deep);border-radius:4px;background:var(--blue);color:#fff;font-size:17px;font-weight:700;line-height:1.4;text-decoration:none}
.okt-content .wp-block-button__link:hover{background:var(--blue-deep)}
/* 本文の中の部品（総額くらべ・比較表・札・計算・仕様の表・箱）の上下は 26px。札が続くときは 16px */
.okt-content > :is(.okn-total,.okn-compare,.okn-card,.okn-calc,.okn-situations,.okn-updated,.wp-block-group){margin-top:26px;margin-bottom:26px}
.okt-content > .okn-card:has(+ .okn-card){margin-bottom:16px}
.okt-content > .okn-card + .okn-card{margin-top:16px}
.okt-content > .okn-specs{margin-top:26px}
.okt-content > .okn-specs__checked{margin-bottom:26px}
.okt-content > .okn-notices{margin-bottom:16px}
/* 本文に置いた相談先（[okn_consult]）は、見出しの無い枠だけの箱にする */
.okt-content > .okn-consult{margin:26px 0;border:2px solid var(--blue)}

/* TOP の形の画面（TOP と事業の入口。Task 13）。見出しと運営者の名前は設定の文字なので、見本の span.okt-ph の代わりに
   okn_wbr() の <wbr> で語の切れ目でだけ折る。1文（設定の TOP の導入）が空のときは、見出しの下を1文の下と同じだけあける */
.okt-home__title,.okt-trust__name{word-break:keep-all;overflow-wrap:anywhere}
.okt-home__title:last-child{margin-bottom:10px}
.okt-trust__name{min-width:0}
/* 信頼の帯が最後の章のとき（手段も新しく確かめた情報も無い TOP）は、帯の下の罫を本文の下の青の罫の代わりにし、青の線を2本並べない */
.okt-main[data-okt-type="home"]:has(> .okt-trust:last-child){padding-bottom:0;border-bottom:0}
/* 相談先の箱は、TOP の形の画面では TOP の章（.okt-home__in。左右の余白を入れて 1160px）と同じ幅にそろえる（ほかの画面は記事の列 760px） */
.okt-main[data-okt-type="home"] + .okt-consult-area{max-width:var(--shell)}

/* 記事のあとの章（直しの記録・関連） */
.okt-sec{margin-top:36px}

/* 一覧（検索の結果・一覧・関連）: 新しく確かめた情報と同じ行の形。題名のリンク＋抜粋 14px・行の下に内側の罫 */
.okt-list{margin:0 0 24px;padding:0;list-style:none}
.okt-list__item{padding:4px 2px 10px;border-bottom:1px solid var(--line)}
.okt-list__link{display:inline-flex;align-items:center;min-height:44px;font-size:16px;font-weight:700;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}
.okt-list__excerpt{margin:0;font-size:14px;line-height:1.7}
.okt-empty{margin:0 0 20px}
.okt-back{margin:0}
.okt-back a{display:inline-flex;align-items:center;min-height:44px;font-weight:700}

/* 検索の欄: 入力欄は計算の入力欄と同じ（墨の枠 2px・高さ 48px）、ボタンは申込ボタンと同じ形 */
.okt-search{max-width:640px;margin:0 0 24px}
.okt-search__label{display:block;margin:0 0 4px;color:var(--blue);font-size:14px;font-weight:700;line-height:1.6}
.okt-search__row{display:flex;align-items:flex-start;gap:8px}
.okt-search__input{flex:1;min-width:0;height:48px;padding:0 10px;border:2px solid var(--ink);border-radius:0;background:var(--paper);color:var(--ink);font:inherit;font-size:16px;-webkit-appearance:none;appearance:none}
.okt-search__input:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.okt-search__submit{flex:none;min-width:88px;min-height:48px;padding:0 18px;border:0;border-bottom:4px solid var(--blue-deep);border-radius:4px;background:var(--blue);color:#fff;font:inherit;font-size:16px;font-weight:700;cursor:pointer}
.okt-search__submit:hover{background:var(--blue-deep)}
.okt-search__submit:active{border-bottom-width:1px;margin-top:3px}

/* ページの切り替え: 頭の切り替えと同じ、青の枠のマス。今のページを青で塗る */
.pagination{margin:0 0 24px}
.pagination .nav-links{display:flex;flex-wrap:wrap}
.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 12px;border:2px solid var(--blue);background:var(--paper);color:var(--blue);font-size:15px;font-weight:700;line-height:1.2;text-decoration:none}
.pagination .page-numbers + .page-numbers{margin-left:-2px}
.pagination .page-numbers.current{background:var(--blue);color:#fff}

/* 総額くらべの組み方は、画面の幅ではなく、置き場の幅（.okn-total の幅）で変える。TOP（幅 1160px の列・左右の余白 16px）では、
   見本の画面の幅の切り替え（360・640・1100px）と同じところで変わる（置き場の幅 = 画面の幅 − 32px）。記事の列（760px）に置いたときは、
   1枚の表にならず、名前と費用が1行の形のまま（1枚の表は 1068px より広い置き場でだけ組める） */
.okn-total{container:okn-total / inline-size}
/* 置き場が 328px より狭い（画面が 360px より狭い TOP）: 選ぶ所の文字を1段小さく、「くわしく」を条件の下の行に */
@container okn-total (max-width:327px){
	.okn-total__opt span{font-size:14px}
	.okn-total__row{grid-template-areas:"num name name" "num cost cost" "num apr apr" "num bar bar" "num speed speed" "num cond cond" "num more more"}
	.okn-total__cond{padding-bottom:0}
	.okn-total__more{justify-self:end}
	.okn-total__row:not(:has(.okn-total__more)) .okn-total__cond{padding-bottom:10px}
}
/* 置き場が 608px から（画面が 640px からの TOP）: 名前と費用を1行に */
@container okn-total (min-width:608px){
	.okn-total__row{grid-template-columns:48px minmax(0,1fr) auto;grid-template-areas:"num name cost" "num name apr" "num bar bar" "num speed more" "num cond more"}
	.okn-total__name{padding-top:10px;font-size:17px}
	.okn-total__cost{align-self:start;padding-top:6px;font-size:26px}
}
/* 置き場が 1068px から（画面が 1100px からの TOP）: 条件を1行の欄に、結果を1枚の表に */
@container okn-total (min-width:1068px){
	.okn-total__form{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
	.okn-total__field:not(:last-of-type){border-right:2px solid var(--blue);border-bottom:0}
	.okn-total__legend{display:flex;align-items:center;width:9.5em;height:48px;padding:0 12px;border-right:1px solid var(--line);border-bottom:0}
	.okn-total__opts{clear:none;overflow:hidden}
	.okn-total__opt span{min-height:48px;font-size:16px}
	.okn-total__submit{grid-column:1 / -1}
	/* 結果の表の右の3列（棒・届くまでと条件・くわしく）の幅。「総額の目安」の見出しは、この3列の合計だけ右から離して、費用の列の上に置く */
	.okn-total__list{--okn-col-bar:160px;--okn-col-info:240px;--okn-col-more:84px;padding-top:38px}
	.okn-total__list::before{content:"手段（先に検討する順）";position:absolute;top:0;right:0;left:0;height:38px;padding:0 12px 0 68px;line-height:38px}
	.okn-total__list::after{right:calc(var(--okn-col-bar) + var(--okn-col-info) + var(--okn-col-more));padding:0 12px;line-height:38px}
	.okn-total__row{grid-template-columns:56px minmax(0,1fr) 220px var(--okn-col-bar) var(--okn-col-info) var(--okn-col-more);grid-template-areas:"num name cost bar speed more" "num name apr . cond more";align-items:baseline}
	.okn-total__row::before{align-self:stretch;padding-top:12px;font-size:20px}
	.okn-total__name{padding:12px;font-size:16px}
	.okn-total__cost{align-self:baseline;padding:12px 12px 0;font-size:25px}
	.okn-total__apr{align-self:start;padding:0 12px 12px}
	.okn-total__bar{align-self:center;height:12px;margin:12px 12px 0}
	.okn-total__speed{align-self:end;padding:12px 12px 0}
	.okn-total__cond{padding:0 12px 12px}
	.okn-total__speed,.okn-total__cond{font-size:15px}
	.okn-total__more{align-self:center;justify-self:center}
	.okn-total__row.is-nodata .okn-total__cost,.okn-total__row.is-over .okn-total__cost,.okn-total__row.is-text .okn-total__cost{padding-top:12px}
	.okn-total__basis{padding:8px 12px}
}
/* 640px から: 計算の欄を横に */
@media (min-width:640px){
	.okn-calc__field{display:grid;grid-template-columns:11em minmax(0,1fr);align-items:center;column-gap:12px;padding:8px 10px}
	.okn-calc__label{margin:0}
}
/* 720px から: 頭を1行に、帯とタイルと足を横に */
@media (min-width:720px){
	/* 4列: サイト名｜切り替え｜余白（残りを取る）｜案内。名前と案内はどちらも縮められる（案内が長くても、サイト名が潰れない）。短いときは、案内が右の端に付く */
	.okt-head__in{grid-template-columns:minmax(0,max-content) auto minmax(0,1fr) minmax(0,max-content);column-gap:20px;padding:6px 16px}
	.okt-nav{grid-column:4;justify-content:flex-end}
	.okt-trust__list{display:flex;flex-wrap:wrap;justify-content:space-between;column-gap:24px}
	.okt-trust__item + .okt-trust__item{border-top:0}
	.okn-situations{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
	.okt-foot__in{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr)}
}
/* 1100px から: 見出しを大きく */
@media (min-width:1100px){
	.okt-home__top{padding-top:26px}
	.okt-article{padding-top:26px}
	.okt-home__title,.okt-page-head__title{font-size:30px}
}
