@charset "utf-8";
/* =============================================================================
 * 標準工事費ページ（/kouji/hiyou.html）専用UI
 * /kouji/css/hiyou2.css　2026-10-15 新設
 *
 *  すべて .kh 配下にスコープ。h2.heading_01 は共通デザインのまま触らない。
 *  色・文字サイズ・角丸・部品の作りはビルトインガスコンロTOP（/gasconro/css/gasconro_top.css の .gct）にそろえる。
 *   濃紺 #123a56 ＋ 中間 #2a7aa8 ＋ 青 #0065cc、金額は赤 #d7000f、CTAは緑 #41b033。角丸 4px、影は使わない。
 *  左だけ太い線は使わない。横に並ぶブロックは行をそろえる。@media はCSSの最後。
 * ========================================================================== */

.kh {
	--c-ink:   #22303a;
	--c-sub:   #5a6b78;
	--c-navy:  #123a56;
	--c-mid:   #2a7aa8;
	--c-blue:  #0065cc;
	--c-line:  #e4e9ee;
	--c-panel: #f6f8fa;
	--c-red:   #d7000f;
	color: var(--c-ink);
	font-size: 14px;
	line-height: 1.85;
}
.kh section { margin: 0 0 18px !important; }
.kh h2.heading_01 { line-height: 1.5; }
.kh p { margin: 0 0 10px; }
.kh img { max-width: 100%; }
.kh ul, .kh ol { margin: 0; padding: 0; list-style: none; }
.kh li { margin: 0; padding: 0; }
.kh li::before { content: none; }
.kh .kh-i { display: block; width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 飛び先の見出しが固定ヘッダーの裏に入らないように（PC 136px / SP 106px） */
.kh section[id], .kh .kh-item[id] { scroll-margin-top: 196px; }

.kh .kh-lead { margin: 14px 0 16px; font-size: 15px; line-height: 1.9; }
.kh .kh-note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.75; color: var(--c-sub); }
.kh .kh-more { margin: 12px 0 0; text-align: right; font-size: 13.5px; }
.kh .kh-more a { position: relative; padding-right: 16px; font-weight: bold; text-decoration: none; }
.kh .kh-more a::after {
	content: ""; position: absolute; right: 2px; top: 50%; width: 6px; height: 6px;
	border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-50%) rotate(45deg);
}
.kh .kh-h3 { margin: 22px 0 10px; padding: 0 0 7px; font-size: 16px; font-weight: bold; line-height: 1.5; border-bottom: 2px solid var(--c-blue); }

/* ---- メイン画像 ---- */
.kh .kh-mv { margin: 10px 0 0; }
.kh .kh-mv img { display: block; width: 100%; height: auto !important; }

/* ---- 導入（ファーストビュー） ---- */
.kh .kh-intro { margin: 10px 0 0; padding: 14px 16px 15px; background: #f5f7fa; }
.kh .kh-intro__c { margin: 0 0 6px; font-size: 17px; font-weight: bold; line-height: 1.55; }
.kh .kh-intro__c b { color: var(--c-blue); }
.kh .kh-intro__d { margin: 0; font-size: 13.5px; line-height: 1.85; color: var(--c-sub); }
.kh .kh-intro__d b { color: var(--c-ink); }
.kh .kh-intro__p { margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid #d8e6f5; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; gap: 0 14px; }
.kh .kh-intro__p > li { display: grid; grid-template-rows: subgrid; grid-row: span 3; justify-items: center; text-align: center; font-size: 12px; line-height: 1.6; color: var(--c-sub); }
.kh .kh-intro__p .kh-intro__ic { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 0 6px; border-radius: 50%; background: #fff; color: var(--c-blue); }
.kh .kh-intro__p .kh-intro__ic .kh-i { width: 28px; height: 28px; }
.kh .kh-intro__p b { display: block; margin: 0 0 4px; font-size: 16px; line-height: 1.4; color: var(--c-ink); }

/* ---- 料金の見方（式） ---- */
.kh .kh-calc { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin: 0 0 12px; }
.kh .kh-calc > li { flex: 1 1 0; min-width: 0; display: grid; align-content: center; justify-items: center; padding: 10px 8px; border: 1px solid var(--c-line); border-radius: 4px; background: #fff; text-align: center; font-size: 12px; line-height: 1.5; color: var(--c-sub); }
.kh .kh-calc > li b { display: block; font-size: 14.5px; color: var(--c-ink); line-height: 1.4; }
.kh .kh-calc > li.is-op { flex: 0 0 auto; padding: 0 2px; border: 0; background: none; font-size: 22px; font-weight: bold; color: var(--c-mid); }
.kh .kh-calc > li.is-k { border-color: #f1b8bc; background: #fff6f6; }
.kh .kh-calc > li.is-k b { color: var(--c-red); }
.kh .kh-calc > li.is-t { border: 2px solid var(--c-blue); background: #f2f8ff; }
.kh .kh-calc > li.is-t b { color: var(--c-blue); }

.kh .kh-fig { margin: 0 0 10px; }
.kh .kh-fig img { display: block; width: 100%; height: auto !important; border-radius: 6px; }

/* ---- 標準工事に含まれるもの ---- */
.kh .kh-inc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; }
.kh .kh-inc > li { display: grid; grid-template-rows: auto auto 1fr; justify-items: center; gap: 4px; padding: 12px 8px 10px; border: 1px solid var(--c-line); border-radius: 4px; background: #fff; text-align: center; }
.kh .kh-inc__i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #eef4f8; color: var(--c-mid); }
.kh .kh-inc__i .kh-i { width: 24px; height: 24px; }
.kh .kh-inc b { font-size: 13.5px; line-height: 1.4; }
.kh .kh-inc small { font-size: 11.5px; line-height: 1.6; color: var(--c-sub); }

/* ---- 商材ナビ（PCは上に固定、SPは折りたたみ） ---- */
.kh .kh-jump { position: relative; z-index: 20; margin: 0 0 16px; padding: 8px 10px; border: 1px solid var(--c-line); background: rgba(255, 255, 255, .97); box-sizing: border-box; }
.kh .kh-jump.is-fix { position: fixed; top: 136px; margin: 0; }
.kh .kh-jump summary { display: none; }
.kh .kh-jump ul { display: flex; flex-wrap: wrap; gap: 5px; }
.kh .kh-jump a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 11px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; font-size: 12.5px; font-weight: bold; line-height: 1.3; color: var(--c-navy); text-decoration: none; white-space: nowrap; }
.kh .kh-jump a:hover, .kh .kh-jump a:focus-visible { border-color: var(--c-mid); background: #f2f8fc; }

/* ---- 商材ごとのブロック ---- */
.kh .kh-item { margin: 0 0 26px; }
.kh .kh-item__hd { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; margin: 4px 0 10px; }
.kh .kh-item__ph { display: block; width: 96px; height: 96px; border: 1px solid var(--c-line); border-radius: 4px; background: #fff; }
.kh .kh-item__ph img { display: block; width: 100%; height: 100% !important; object-fit: contain; }
.kh .kh-item__d { margin: 0; font-size: 13.5px; line-height: 1.8; }
.kh .kh-item__k { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 6px 0 0; }
.kh .kh-item__k li { padding: 0 8px; border-radius: 999px; background: #eef4f8; font-size: 11.5px; color: var(--c-navy); }

/* 料金表（表として読み上げられるよう table を使う） */
.kh .kh-tbl { width: 100%; margin: 0 0 10px; border-collapse: collapse; border: 1px solid var(--c-line); background: #fff; table-layout: fixed; }
.kh .kh-tbl caption { caption-side: top; padding: 0 0 6px; text-align: left; font-size: 12.5px; font-weight: bold; color: var(--c-sub); }
.kh .kh-tbl th, .kh .kh-tbl td { padding: 9px 12px; border-top: 1px solid var(--c-line); vertical-align: middle; font-size: 13px; line-height: 1.55; text-align: left; }
.kh .kh-tbl thead th { padding: 7px 12px; border-top: 0; background: var(--c-navy); color: #fff; font-size: 12px; font-weight: bold; }
.kh .kh-tbl thead th.is-p { text-align: right; }
.kh .kh-tbl tbody tr:nth-child(2n) { background: #fbfcfd; }
.kh .kh-tbl tbody th { font-weight: bold; }
.kh .kh-tbl tbody th small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: normal; color: var(--c-sub); }
.kh .kh-tbl td.is-p { width: 9.5em; text-align: right; white-space: nowrap; line-height: 1.25; }
.kh .kh-tbl td.is-p b { font-size: 19px; font-weight: bold; color: var(--c-red); }
.kh .kh-tbl td.is-p small { margin-left: 1px; font-size: 12px; color: var(--c-red); }
.kh .kh-tbl td.is-p em { display: block; font-style: normal; font-size: 10.5px; color: var(--c-sub); }
.kh .kh-tbl td.is-p .is-plus { font-size: 14px; color: var(--c-red); font-weight: bold; }
.kh .kh-tbl td.is-p .is-na { font-size: 13px; color: var(--c-sub); }
/* 給湯器はエコジョーズ／スタンダードの2列 */
.kh .kh-tbl.is-2p td.is-p { width: 8.4em; }

/* 範囲・別途・注意 */
.kh .kh-scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 8px; }
.kh .kh-scope > div { padding: 10px 12px; border: 1px solid var(--c-line); border-radius: 4px; background: #fff; }
.kh .kh-scope > div.is-ex { background: #fffaf2; border-color: #f0dcbc; }
.kh .kh-scope__h { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 13px; font-weight: bold; }
.kh .kh-scope__h .kh-i { width: 18px; height: 18px; color: var(--c-mid); }
.kh .kh-scope > div.is-ex .kh-scope__h .kh-i { color: #c27416; }
.kh .kh-scope ul li { position: relative; padding: 1px 0 1px 13px; font-size: 12.5px; line-height: 1.65; color: var(--c-sub); }
.kh .kh-scope ul li::after { content: ""; position: absolute; left: 1px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: #9aa8b3; }

/* ガスペックではお受けしていない工事（グレーの枠） */
.kh .kh-scope > div.is-no, .kh .kh-no { padding: 10px 12px; border: 1px solid #d5dbe0; border-radius: 4px; background: #f4f6f8; }
.kh .kh-no { margin: 0 0 8px; }
.kh .kh-scope > div.is-no .kh-scope__h .kh-i, .kh .kh-no .kh-scope__h .kh-i { color: #6b7782; }
.kh .kh-no ul li { position: relative; padding: 1px 0 1px 13px; font-size: 12.5px; line-height: 1.65; color: var(--c-sub); }
.kh .kh-no ul li::after { content: ""; position: absolute; left: 1px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: #9aa8b3; }

/* 商材ブロックの下のリンク（商材TOP・施工事例・実例・見積り） */
.kh .kh-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 8px 0 0; }
.kh .kh-links a { position: relative; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 26px 6px 10px; border: 1px solid var(--c-line); border-radius: 4px; background: #fff; font-size: 12.5px; font-weight: bold; line-height: 1.4; color: var(--c-navy); text-decoration: none; }
.kh .kh-links a::after { content: ""; position: absolute; right: 11px; top: 50%; width: 6px; height: 6px; border-top: 2px solid var(--c-mid); border-right: 2px solid var(--c-mid); transform: translateY(-50%) rotate(45deg); }
.kh .kh-links a:hover { border-color: var(--c-mid); background: #f9fcfe; }
.kh .kh-links a.is-cta { border-color: #2f8a26; background: #41b033; color: #fff; }
.kh .kh-links a.is-cta::after { border-color: #fff; }
.kh .kh-links a.is-cta:hover { background: #2f8a26; }
.kh .kh-links .kh-i { width: 18px; height: 18px; color: var(--c-mid); }
.kh .kh-links a.is-cta .kh-i { color: #fff; }

/* 最近の施工例（実データ1件） */
.kh .kh-case { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: center; margin: 8px 0 0; padding: 10px 12px; border: 1px solid var(--c-line); border-radius: 4px; background: var(--c-panel); color: inherit; text-decoration: none; }
.kh .kh-case:hover { border-color: var(--c-mid); }
.kh .kh-case img { display: block; width: 120px; height: 90px !important; object-fit: cover; border-radius: 3px; background: #fff; }
.kh .kh-case__l { display: block; margin: 0 0 2px; font-size: 11.5px; font-weight: bold; color: var(--c-mid); }
.kh .kh-case__t { display: block; font-size: 13.5px; font-weight: bold; line-height: 1.45; }
.kh .kh-case__s { display: block; font-size: 12px; color: var(--c-sub); }
.kh .kh-case__p { display: block; font-size: 12.5px; }
.kh .kh-case__p b { font-size: 16px; color: var(--c-red); }

/* ---- 追加工事になり得るケース ---- */
.kh .kh-add { width: 100%; margin: 0 0 4px; border-collapse: collapse; border: 1px solid var(--c-line); background: #fff; table-layout: fixed; }
.kh .kh-add caption { caption-side: top; margin: 16px 0 6px; padding: 0 0 5px; border-bottom: 2px solid var(--c-blue); text-align: left; font-size: 15px; font-weight: bold; color: var(--c-ink); }
.kh .kh-add thead th:first-child, .kh .kh-add tbody th { width: 38%; }
.kh .kh-add th, .kh .kh-add td { padding: 9px 12px; border-top: 1px solid var(--c-line); vertical-align: top; font-size: 13px; line-height: 1.6; text-align: left; }
.kh .kh-add thead th { border-top: 0; background: var(--c-navy); color: #fff; font-size: 12px; }
.kh .kh-add tbody th { font-weight: bold; }
.kh .kh-add td small { display: block; font-size: 11.5px; color: var(--c-sub); }

/* ---- 見積りの流れ ---- */
.kh .kh-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto auto 1fr; gap: 0 10px; counter-reset: kh; }
.kh .kh-flow > li { display: grid; grid-template-rows: subgrid; grid-row: span 4; padding: 0 0 12px; border: 1px solid var(--c-line); border-radius: 4px; background: #fff; overflow: hidden; counter-increment: kh; }
.kh .kh-flow > li > img { display: block; width: 100%; height: auto !important; aspect-ratio: 2 / 1; object-fit: cover; margin: 0 0 10px; background: var(--c-panel); }
.kh .kh-flow > li > span, .kh .kh-flow > li > b, .kh .kh-flow > li > small { padding: 0 12px; }
.kh .kh-flow__n { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: bold; color: var(--c-mid); }
.kh .kh-flow__n::before { content: counter(kh); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-blue); color: #fff; font-size: 13px; }
.kh .kh-flow b { margin: 6px 0 4px; font-size: 14px; line-height: 1.45; }
.kh .kh-flow small { font-size: 12px; line-height: 1.7; color: var(--c-sub); }
.kh .kh-photo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; }
.kh .kh-photo > li { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--c-line); border-radius: 4px; background: var(--c-panel); font-size: 12.5px; line-height: 1.5; }
.kh .kh-photo > li span { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1px solid var(--c-line); font-weight: bold; color: var(--c-blue); }

/* 写真の撮り方ページへのボタン */
.kh .kh-btn { margin: 12px 0 0; text-align: center; }
.kh .kh-btn a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 320px; min-height: 48px; padding: 0 22px; border: 2px solid var(--c-blue); border-radius: 999px; background: #fff; font-size: 15px; font-weight: bold; color: var(--c-blue); text-decoration: none; }
.kh .kh-btn a:hover, .kh .kh-btn a:focus-visible { background: var(--c-blue); color: #fff; }
.kh .kh-btn .kh-i { width: 22px; height: 22px; }

/* ---- 関連ページ（口コミ・保証・エリア・施工事例） ---- */
.kh .kh-rel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.kh .kh-rel a { display: grid; grid-template-rows: auto auto 1fr; gap: 4px; height: 100%; box-sizing: border-box; padding: 12px; border: 1px solid var(--c-line); border-radius: 4px; background: #fff; color: inherit; text-decoration: none; }
.kh .kh-rel a:hover { border-color: var(--c-mid); }
.kh .kh-rel .kh-i { width: 26px; height: 26px; color: var(--c-mid); }
.kh .kh-rel b { font-size: 14px; line-height: 1.4; color: var(--c-navy); }
.kh .kh-rel small { font-size: 12px; line-height: 1.6; color: var(--c-sub); }

/* ---- FAQ ---- */
.kh .kh-faq__i { border-bottom: 1px solid var(--c-line); }
.kh .kh-faq summary { position: relative; padding: 11px 38px 11px 34px; cursor: pointer; list-style: none; font-size: 14.5px; font-weight: bold; line-height: 1.6; }
.kh .kh-faq summary::-webkit-details-marker { display: none; }
.kh .kh-faq summary::before { content: "Q"; position: absolute; left: 6px; top: 11px; font-size: 14px; font-weight: bold; color: var(--c-mid); }
.kh .kh-faq summary::after { content: ""; position: absolute; right: 14px; top: 18px; width: 8px; height: 8px; border-right: 2px solid var(--c-sub); border-bottom: 2px solid var(--c-sub); transform: rotate(45deg); }
.kh .kh-faq__i[open] summary::after { transform: rotate(-135deg); top: 22px; }
.kh .kh-faq summary:hover { background: var(--c-panel); }
.kh .kh-faq__a { padding: 0 16px 12px 34px; }
.kh .kh-faq__a p { margin: 0; font-size: 13px; line-height: 1.9; color: var(--c-sub); }

/* ---- CTA（緑で統一） ---- */
.kh .kh-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 0; }
.kh .kh-cta a { display: block; padding: 13px 10px; border-radius: 4px; text-align: center; text-decoration: none; font-size: 18px; font-weight: bold; line-height: 1.4; transition: background .2s; }
.kh .kh-cta small { display: block; margin-top: 2px; font-size: 13px; font-weight: normal; }
.kh .kh-cta__p { background: #41b033; border: 2px solid #2f8a26; color: #fff; }
.kh .kh-cta__p:hover { background: #2f8a26; color: #fff; }
.kh .kh-cta__t { background: #fff; border: 2px solid #2f8a26; color: #2f8a26; }
.kh .kh-cta__t:hover { background: #f1faee; }

/* ---- スマホ（@media はCSSの最後） ---- */
@media screen and (max-width: 767px) {
	.kh section[id], .kh .kh-item[id] { scroll-margin-top: 120px; }
	.kh .kh-intro__p { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 10px; }
	.kh .kh-intro__p > li { grid-template-rows: none; grid-row: auto; grid-template-columns: 44px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 10px; align-items: center; }
	.kh .kh-intro__p .kh-intro__ic { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
	.kh .kh-intro__p b { margin: 0; font-size: 14.5px; }
	.kh .kh-inc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kh .kh-jump { position: static; padding: 0; }
	.kh .kh-jump summary { display: block; position: relative; padding: 11px 36px 11px 12px; cursor: pointer; list-style: none; font-size: 14px; font-weight: bold; color: var(--c-navy); }
	.kh .kh-jump summary::-webkit-details-marker { display: none; }
	.kh .kh-jump summary::after { content: ""; position: absolute; right: 14px; top: 16px; width: 8px; height: 8px; border-right: 2px solid var(--c-sub); border-bottom: 2px solid var(--c-sub); transform: rotate(45deg); }
	.kh .kh-jump[open] summary::after { transform: rotate(-135deg); top: 20px; }
	.kh .kh-jump ul { padding: 0 10px 10px; }
	.kh .kh-jump a { min-height: 38px; font-size: 13px; }
	.kh .kh-item__hd { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; }
	.kh .kh-item__ph { width: 72px; height: 72px; }
	.kh .kh-tbl th, .kh .kh-tbl td { padding: 8px 9px; font-size: 12.5px; }
	.kh .kh-tbl td.is-p { width: 7.4em; }
	.kh .kh-tbl.is-2p td.is-p { width: 6.6em; }
	.kh .kh-tbl td.is-p b { font-size: 16px; }
	.kh .kh-scope { grid-template-columns: minmax(0, 1fr); }
	.kh .kh-links { grid-template-columns: minmax(0, 1fr); }
	.kh .kh-case { grid-template-columns: 88px minmax(0, 1fr); gap: 10px; }
	.kh .kh-case img { width: 88px; height: 66px !important; }
	.kh .kh-add thead th:first-child, .kh .kh-add tbody th { width: 42%; }
	.kh .kh-add th, .kh .kh-add td { padding: 8px 8px; font-size: 12.5px; }
	.kh .kh-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 8px; }
	.kh .kh-flow > li { grid-template-rows: none; grid-row: auto; align-content: start; }
	.kh .kh-flow > li > span, .kh .kh-flow > li > b, .kh .kh-flow > li > small { padding: 0 10px; }
	.kh .kh-btn a { display: flex; min-width: 0; width: 100%; box-sizing: border-box; }
	.kh .kh-photo { grid-template-columns: minmax(0, 1fr); }
	.kh .kh-rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kh .kh-cta { grid-template-columns: minmax(0, 1fr); }
	.kh .kh-cta a { font-size: 17px; }
}
