@charset "utf-8";
/* =============================================================================
 * PC共通ヘッダー（2026-10-15 試作）  ghd.css
 *   クラスはすべて .ghd- で始める（既存のクラスと衝突させない）。
 *   959px以下では .ghd を出さない＝タブレット・スマホは今のヘッダーのまま。
 *   .description（ページのH1と会員ログインの帯）は消さずに、PCでだけ細い案内バーの見た目にする。
 *   画像は縦横比どおり（ロゴは 250×70 の等倍。保証・35周年は高さを揃えて縮めるだけ）。
 * ========================================================================== */

.ghd { display: none; }

@media only screen and (min-width: 960px) {

.ghd {
	--ghd-blue: #0b5cad;
	--ghd-blue-d: #084a8c;
	--ghd-ink: #1f2933;
	--ghd-sub: #5b6876;
	--ghd-line: #dde3ea;
	--ghd-bg: #f5f7fa;
	--ghd-cta: #e8590c;
	--ghd-cta-d: #c94a06;
	display: block;
	position: relative;
	z-index: 900;
	background: #fff;
	color: var(--ghd-ink);
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	line-height: 1.4;
	text-align: left;
}
.ghd *, .ghd *::before, .ghd *::after { box-sizing: border-box; }
.ghd ul { list-style: none; margin: 0; padding: 0; }
.ghd li { margin: 0; padding: 0; background: none; }
.ghd li::before { content: none; }
.ghd a { text-decoration: none; color: inherit; }
#ghd p { display: block !important; margin: 0; padding: 0; text-align: left !important; float: none; }
#ghd span { float: none; }
.ghd img { display: block; max-width: none; }
.ghd-w { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.ghd-vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ghd a:focus-visible, .ghd button:focus-visible, .ghd select:focus-visible, .ghd input:focus-visible,
.ghd-util__l a:focus-visible {
	outline: 3px solid #f59f00; outline-offset: 2px;
}

/* ---- 上端の案内バー（.description を細くする／トップなどは .ghd-util を出す） ---- */
.description, .ghd-util {
	background: var(--ghd-bg, #f5f7fa) !important;
	border-bottom: 1px solid #dde3ea;
}
.description {
	display: flex !important; align-items: center; gap: 16px;
	width: 100%; max-width: none !important; height: auto !important; min-height: 34px;
	margin: 0 !important; padding: 0 max(20px, calc((100% - 1160px) / 2)) !important;
	color: #5b6876 !important;
}
.description h1 {
	flex: 1 1 auto; min-width: 0; margin: 0 !important; padding: 0 !important;
	font-size: 12px !important; font-weight: 400 !important; line-height: 34px !important;
	color: #5b6876 !important; background: none !important; text-align: left !important;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.description > .ghd-util__l { flex: 0 0 auto; }
.ghd-util .ghd-w { display: flex; align-items: center; gap: 16px; min-height: 34px; }
.ghd-util__lead { flex: 1 1 auto; margin: 0; font-size: 12px; color: var(--ghd-sub); }
.ghd-util__l { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ghd-util__l li { margin: 0; padding: 0; list-style: none; background: none; }
.ghd-util__l li::before { content: none; }
.ghd-util__l a {
	display: inline-block; padding: 6px 9px; font-size: 12.5px; line-height: 1.3;
	color: #1f2933 !important; text-decoration: none !important; border-radius: 4px; white-space: nowrap;
}
.ghd-util__l a:hover { background: #e7edf4; }
.ghd-util__l a.ghd-util__sale { color: #c92a2a !important; font-weight: 700; }
.ghd-util__l a.ghd-util__login { color: #0b5cad !important; font-weight: 700; }

/* ---- メインの帯：ロゴ・保証（盾とキャラクター）・35周年・電話・無料見積り・見積カゴ ---- */
.ghd-main { background: #fff; }
.ghd-main .ghd-w { display: flex; align-items: center; gap: 14px;}
.ghd-logo { flex: 0 0 auto; }
.ghd-logo img { width: 200px; }          /* 等倍（250×70） */
.ghd-grt { flex: 0 0 auto; }
.ghd-grt img { width: auto; height: 70px; }            /* 345×114 を縦横比どおりに */
.ghd .ghd-anv { flex: 0 0 auto; width: auto; height: 70px; }   /* 400×150 を縦横比どおりに */

.ghd-tel { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; margin-left: auto; color: var(--ghd-ink); }
.ghd-tel__n { display: flex; align-items: center; gap: 4px; font-size: 25px; font-weight: 700; line-height: 1.1; color: #c92a2a; letter-spacing: .01em; white-space: nowrap; }
.ghd-tel__n svg { color: #c92a2a; }
.ghd-tel__s { margin-top: 3px; font-size: 11.5px; color: var(--ghd-sub); white-space: nowrap; }

.ghd-cta {
	flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
	height: 56px; padding: 0 20px; border-radius: 8px; background: var(--ghd-cta); color: #fff !important;
	box-shadow: 0 2px 0 var(--ghd-cta-d); line-height: 1.15; white-space: nowrap;
}
.ghd-cta:hover { background: var(--ghd-cta-d); }
.ghd-cta__b { font-size: 16px; font-weight: 700; }
.ghd-cta__s { margin-top: 3px; font-size: 11px; }

.ghd-cart {
	flex: 0 0 auto; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
	width: 64px; height: 56px; border: 1px solid var(--ghd-line); border-radius: 8px; color: var(--ghd-blue);
}
.ghd-cart:hover { border-color: var(--ghd-blue); background: #f0f6fd; }
.ghd-cart__t { margin-top: 2px; font-size: 11px; font-weight: 700; color: var(--ghd-ink); white-space: nowrap; }
.ghd-cart__n {
	position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
	background: #c92a2a; color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}
.ghd-cart__n[hidden] { display: none; }

/* ---- 商材ナビ ---- */
.ghd-catwrap { position: relative; }
.ghd-cat { position: relative; background: #fff; border-bottom: 1px solid var(--ghd-line); }
.ghd-cat__l { display: flex; position: relative; }
.ghd-cat__i { flex: 1 1 0; min-width: 0; position: static; }
.ghd-cat__a {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 3px;
	height: 87px; padding: 6px 2px 4px; color: var(--ghd-ink); border-bottom: 3px solid transparent; text-align: center;
}
.ghd-cat__a img { width: 50px; height: 50px; object-fit: contain; mix-blend-mode: multiply; }
.ghd-cat__t { display: block; font-size: 11px; line-height: 1.2; white-space: nowrap; font-weight: 700;}
.ghd-cat__t small { display: block; font-size: 11px; line-height: 1.1;  font-weight: 700;}
.ghd-cat__t.is-2l { margin-top: -3px; }
.ghd-cat__a:hover, .ghd-cat__i.is-open > .ghd-cat__a { background: #f0f6fd; color: var(--ghd-blue); }
.ghd-cat__a[aria-current="page"] { color: var(--ghd-blue); border-bottom-color: var(--ghd-blue); background: #f0f6fd; }
.ghd-cat__a[aria-current="page"] small, .ghd-cat__a:hover small, .ghd-cat__i.is-open small { color: var(--ghd-blue); }

/* 開閉ボタン：見た目には出さない（マウスは乗せるだけで開く）。キーボードで Tab が来たときだけ表示する */
.ghd-cat__i { display: flex; flex-direction: column; }
.ghd-cat__b {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0; background: none;
}
.ghd-cat__b:focus-visible {
	position: relative; z-index: 2; width: auto; height: 18px; margin: -10px auto 0; padding: 0 10px; overflow: visible; clip: auto;
	border-radius: 9px; background: var(--ghd-blue); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; cursor: pointer;
}

/* ---- 商材メニュー（メガメニュー） ----
 *   上段：商材の写真・名前・TOPへ／中段：メーカーごとのカード（ロゴ＋シリーズのボタン）／右：選び方・ガイドと見積り */
.ghd-cat > .ghd-w { position: relative; }
.ghd-mega {
	position: absolute; left: 0; right: 0; top: 100%; z-index: 960;
	background: #f4f7fb; border: 1px solid #d5dee8; border-top: 0; border-radius: 0 0 14px 14px;
	box-shadow: 0 18px 40px rgba(12, 35, 64, .18);
	animation: ghd-mega-in .16s ease-out;
}
@keyframes ghd-mega-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.ghd-mega[hidden] { display: none; }
.ghd-mega__in { padding: 0 0 18px; text-align: left; }

.ghd-mega__hd {
	display: flex; align-items: center; gap: 14px; padding: 12px 22px;
	background: linear-gradient(90deg, #0b5cad 0%, #1673c9 100%); border-radius: 0; color: #fff;
}
.ghd-mega__hd img { width: 58px; height: 58px; padding: 4px; border-radius: 12px; background: #fff; object-fit: contain; }
#ghd .ghd-mega__ttl { flex: 1 1 auto; margin: 0; font-size: 21px !important; font-weight: 700; line-height: 1.25; letter-spacing: .03em; color: #fff; text-align: left; }
#ghd .ghd-mega__ttl span { display: block !important; margin-top: 3px; font-size: 12.5px !important; font-weight: 400; opacity: .9; letter-spacing: .02em; }
.ghd-mega__top {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
	background: #fff; color: #0b5cad !important; font-size: 13.5px; font-weight: 700; white-space: nowrap;
}
.ghd-mega__top::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.ghd-mega__top:hover { background: #e8f1fb; }

.ghd-mega__body { display: flex; gap: 18px; padding: 16px 22px 0; }
.ghd-mega__cards { flex: 1 1 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 14px; align-content: start; }
.ghd-mega__card {
	display: flex; flex-direction: column; padding: 12px 12px 10px; background: #fff; border: 1px solid #e1e8f0; border-radius: 12px;
}
.ghd-mega__mk {
	display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 30px;
	margin: 0 0 10px; padding: 0 2px 9px; border-bottom: 1px solid #edf1f6;
}
.ghd-mega__mk img { flex: 0 0 auto; width: auto; height: auto; max-height: 28px; }
.ghd-mega__mk b { font-size: 14.5px; font-weight: 700; color: #1f2933; }
.ghd-mega__go { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: #0b5cad; white-space: nowrap; }
.ghd-mega__go::after { content: ""; width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.ghd-mega__mk:hover .ghd-mega__go { text-decoration: underline; }
.ghd-mega__ss { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: row dense; gap: 6px; }
.ghd-mega__ss li.is-w { grid-column: 1 / -1; }
.ghd-mega__ss li a {
	display: flex; align-items: center; min-height: 34px; padding: 5px 9px; border-radius: 7px;
	background: #f4f7fb; color: #1f2933; font-size: 12.5px; font-weight: 700; line-height: 1.25;
	transition: background .12s, color .12s;
}
.ghd-mega__ss li a:hover { background: #0b5cad; color: #fff; }
.ghd-mega__more {
	display: inline-flex; align-items: center; gap: 5px; align-self: flex-end; margin-top: 8px; font-size: 12px; color: #0b5cad !important;
}
.ghd-mega__more::after { content: ""; width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.ghd-mega__more:hover { text-decoration: underline; }

.ghd-mega__side { flex: 0 0 232px; display: flex; flex-direction: column; gap: 12px; align-self: flex-start; }
#ghd .ghd-mega__sh { margin: 0; padding-left: 2px; font-size: 13px !important; font-weight: 700; color: #5b6876; letter-spacing: .04em; text-align: left; }
.ghd-mega__side ul { background: #fff; border: 1px solid #e1e8f0; border-radius: 12px; overflow: hidden; }
.ghd-mega__side ul li + li { border-top: 1px solid #edf1f6; }
.ghd-mega__side ul li a {
	display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; font-size: 13px; color: #1f2933;
}
.ghd-mega__side ul li a::after { content: ""; flex: 0 0 auto; width: 5px; height: 5px; border-top: 1.5px solid #8a96a3; border-right: 1.5px solid #8a96a3; transform: rotate(45deg); }
.ghd-mega__side ul li a:hover { background: #f0f6fd; color: #0b5cad; }
.ghd-mega__ask { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: #fff7f1; border: 1px solid #f6d3bc; border-radius: 12px; }
.ghd-mega__cta {
	display: block; padding: 11px 0; border-radius: 8px; background: var(--ghd-cta); color: #fff !important;
	font-size: 14px; font-weight: 700; text-align: center; box-shadow: 0 2px 0 var(--ghd-cta-d);
}
.ghd-mega__cta:hover { background: var(--ghd-cta-d); }
.ghd-mega__tel { display: block; text-align: center; font-size: 19px; font-weight: 700; color: #c92a2a !important; line-height: 1.2; }
.ghd-mega__tel small { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; color: #5b6876; }

/* ---- 商材ナビの固定（スクロール時。切り替えは ghd.js） ---- */
.ghd-catwrap.is-fixed { height: var(--ghd-cat-h, 86px); }
.ghd-catwrap.is-fixed .ghd-cat {
	position: fixed; top: 0; left: 0; right: 0; z-index: 950; box-shadow: 0 2px 8px rgba(15, 30, 50, .12);
}
.ghd-catwrap.is-fixed .ghd-cat__a { flex-direction: row; justify-content: center; gap: 5px; height: 50px; padding: 0 2px; }
.ghd-catwrap.is-fixed .ghd-cat__a img { width: 26px; height: 26px; flex: 0 0 26px; }
.ghd-catwrap.is-fixed .ghd-cat__t { font-size: 11px; text-align: left; font-weight: 700; }
.ghd-catwrap.is-fixed .ghd-cat__t small { font-size: 9.5px; }
.ghd-catwrap.is-fixed .ghd-mega { max-height: calc(100vh - 60px); overflow-y: auto; }
.ghd-catwrap.is-fixed .ghd-mega__hd { padding: 9px 22px; }

/* ---- 補助導線＋型番検索 ---- */
.ghd-svc { background: var(--ghd-bg); border-bottom: 1px solid var(--ghd-line); }
.ghd-svc .ghd-w { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; }
.ghd-svc__l { display: flex; align-items: center; flex-wrap: wrap; }
.ghd-svc__l a { display: inline-block; padding: 8px 9px; font-size: 13px; color: var(--ghd-ink); white-space: nowrap; }
.ghd-svc__l a:hover { color: var(--ghd-blue); text-decoration: underline; }

.ghd-search {
	flex: 0 1 360px; min-width: 280px; display: flex; align-items: stretch;
	height: 36px; margin: 0; border: 2px solid var(--ghd-blue); border-radius: 8px; overflow: hidden; background: #fff;
}
.ghd-search label { display: flex; margin: 0; }
.ghd-search__cat { flex: 0 0 auto; border-right: 1px solid var(--ghd-line); background: var(--ghd-bg); }
.ghd-search__cat select {
	height: 100%; margin: 0; padding: 0 22px 0 9px; border: 0; background: transparent; font-size: 12.5px; color: var(--ghd-ink);
	-webkit-appearance: none; appearance: none; cursor: pointer;
	background-image: linear-gradient(45deg, transparent 50%, #5b6876 50%), linear-gradient(135deg, #5b6876 50%, transparent 50%);
	background-position: calc(100% - 13px) 14px, calc(100% - 8px) 14px; background-size: 5px 5px; background-repeat: no-repeat;
}
.ghd-search__kw { flex: 1 1 auto; min-width: 0; }
.ghd-search__kw input { width: 100%; height: 100%; margin: 0; padding: 0 10px; border: 0; font-size: 13.5px; color: var(--ghd-ink); background: #fff; }
.ghd-search__kw input::placeholder { color: #8a96a3; }
.ghd-search__btn {
	flex: 0 0 42px; display: flex; align-items: center; justify-content: center; margin: 0; padding: 0;
	border: 0; background: var(--ghd-blue); color: #fff; cursor: pointer;
}
.ghd-search__btn:hover { background: var(--ghd-blue-d); }

/* 固定ナビの下にアンカー先が隠れないように */
html.ghd-on { scroll-padding-top: 60px; }

/* ---- 1240px以下：保証・35周年の画像を少し小さく（縦横比どおり）。ロゴは等倍のまま ---- */
@media only screen and (max-width: 1240px) {
	.ghd-main .ghd-w { gap: 10px; }
	.ghd-grt img { height: 60px; }
	.ghd .ghd-anv { height: 60px; }
	.ghd-tel__n { font-size: 22px; }
	.ghd-cta { padding: 0 14px; }
	.ghd-svc__l a { padding: 8px 6px; font-size: 12.5px; }
	.ghd-search { flex-basis: 320px; min-width: 260px; }
}
/* ---- 1100px以下 ---- */
@media only screen and (max-width: 1100px) {
	.ghd-w { padding: 0 12px; }
	.ghd-main .ghd-w { gap: 8px; }
	.ghd-grt img { height: 52px; }
	.ghd .ghd-anv { height: 52px; }
	.ghd-tel__n { font-size: 20px; }
	.ghd-tel__s { font-size: 10.5px; }
	.ghd-cta { height: 52px; padding: 0 10px; }
	.ghd-cta__b { font-size: 15px; }
	.ghd-cart { width: 56px; height: 52px; }
	.ghd-cat__t { font-size: 11px; font-weight: 700;}
	.ghd-cat__t small { font-size: 9.5px; }
	.ghd-catwrap.is-fixed .ghd-cat__a img { display: none; }
	.ghd-svc__l a { padding: 8px 5px; font-size: 12px; }
	.ghd-search { flex-basis: 360px; min-width: 300px; }
	.ghd-svc__l a { padding: 8px 4px; }
	.ghd-util__l a { padding: 6px 6px; font-size: 12px; }
	.ghd-mega__body { padding: 14px 14px 0; gap: 12px; }
	.ghd-mega__hd { padding: 10px 14px; }
	.ghd-mega__cards { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
	.ghd-mega__side { flex-basis: 210px; }
}

}

/* 見積カゴは <button>（押すとカゴの中身の一覧を開く）。ボタンの既定の見た目を消す（2026-10-15 追記） */
@media only screen and (min-width: 960px) {
	.ghd button.ghd-cart { padding: 0; background: #fff; font: inherit; color: var(--ghd-blue, #0b5cad); cursor: pointer; }
	.ghd button.ghd-cart:hover { background: #f0f6fd; }
}

/* 見積フォーム側の右下の浮きボタン（#gs-cart-chip「見積りカゴ」）は本文と重なるので、新ヘッダーが出るPCでは出さない。
 * カゴの中身はヘッダー右上の見積カゴから開く（ghd.js が #gs-cart-chip を押して gs_cart.js の一覧を開く）。2026-10-15 追記 */
@media only screen and (min-width: 960px) {
	html.ghd-on #gs-cart-chip { display: none !important; }
}

/* 今のヘッダーは商材アイコンの段が高さ0で重なっていて、本文の箱に上の余白 160px（石油は180px）を !important で取っている。
 * 新ヘッダーは高さを持つので、その余白が丸ごと空白になる。新ヘッダーが出るPCでだけ詰める（JSを待たずにCSSだけで判定）。2026-10-15 追記 */
@media only screen and (min-width: 960px) {
	body:has(#ghd) #container_v, body:has(#ghd) #container_v2, body:has(#ghd) #container, body:has(#ghd) .container_sekiyu { margin-top: 10px !important; }
}

/* トップページだけ、ヘッダー（#header_new3）に z-index:2 が付いていて、メイン画像の商材アイコン（.syozai3_area z-index:10）が
 * 商材メニューの開いた一覧より上に出て、一覧が隠れていた。新ヘッダーが出るPCでだけヘッダーを上にする。2026-10-15 追記 */
@media only screen and (min-width: 960px) {
	body:has(#ghd) header[id^="header_new"] { position: relative; z-index: 1001; }
}
