/**
 * DePost LABO — 固定ヘッダー（見本画像：左ロゴ＋タグライン／右 LINE・電話・ハンバーガー）
 */

/**
 * 横スクロール（左右ブレ）の完全停止。
 * 親テーマの 100vw / negative margin・WP 管理バー・iOS スクロールバー等で
 * 端末スクロールバー幅ぶん溢れる症状を全 BP で抑止する。
 */
html,
body {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	overflow-x: clip !important;
	overflow-y: visible;
	max-width: 100% !important;
	box-sizing: border-box;
}

/* 賢威 base.css 除外後もメインラッパーをビューポート幅いっぱいに */
#main_contents,
#main_col,
body.depost-lp #main,
body.depost-is-front #main_col,
body.home #main_col {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	box-sizing: border-box;
	overflow-x: clip;
	overflow-y: visible;
}

body.depost-lp,
body.depost-is-front,
body.home.depost-coded-header {
	min-width: 0;
	max-width: 100%;
}

html {
	-webkit-text-size-adjust: 100%;
}

/**
 * メイン頭出し用。`#main_contents` は `#header` の子孫ではないため `#header` 上の
 * `--depost-header-h` が継承されず、`padding-top` が常に 98px のフォールバックになる。
 * ブレークポイント（SP 80px と揃える）を :root で共有する。
 */
:root {
	--depost-main-pad-top: 98px;
}

/* TB：ヘッダー実高（site-header と一致）と main 頭出しを揃える */
@media (min-width: 768px) and (max-width: 1023px) {
	:root,
	html,
	html body {
		--depost-main-pad-top: 88px;
	}
}

@media (max-width: 767px) {
	:root,
	html,
	html body {
		--depost-main-pad-top: 78px;
	}
}

@media (max-width: 374px) {
	:root,
	html,
	html body {
		--depost-main-pad-top: 60px;
	}
}

/* 横長スマホ：ヘッダー圧縮と頭出しを一致 */
@media (max-width: 767px) and (orientation: landscape) and (max-height: 460px) {
	:root,
	html,
	html body {
		--depost-main-pad-top: 60px;
	}
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* サイズ見本：ヘッダー高 80–100px域・電話番号が最も大きい文字・LINE は電話ブロック高に合わせる */
#header.depost-header-root {
	--depost-header-h: var(--depost-main-pad-top);
	--depost-inner-pad-y: 14px;
	--depost-inner-pad-x: 28px;
	--depost-logo-max-h: 58px;
	/* タグライン：ロゴ画像の高さに合わせた組み（サイズ・縦位置は下記 .depost-header-tagline）
	   ※「自動車業界のソリューション」（12字）でもギリギリ収まる上限に調整。 */
	--depost-tagline-fs: clamp(15px, calc(var(--depost-logo-max-h) * 0.34), 20px);
	--depost-brand-gap: 18px;
	--depost-actions-gap: 24px;
	/* LINE ボタン（大きめ・アイコン＋文言を flex で真ん中） */
	--depost-line-btn-fs: 19px;
	--depost-line-icon-size: 38px;
	--depost-line-btn-pad-x: 32px;
	--depost-line-btn-min-h: 64px;
	--depost-tel-dial-fs: clamp(1.5rem, 2.15vw, 2.125rem);
	--depost-tel-hours-fs: 11px;
	--depost-menu-hit: 48px;
	--depost-menu-icon: 24px;
	--depost-line-navy: #1d3d8f;
	--depost-line-navy-hover: #152d6b;
	--depost-tel-red: #c00;
	--depost-hours-gray: #666;
	--depost-nav-top: var(--depost-header-h);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	width: 100%;
	background: #fff;
	box-sizing: border-box;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	border-bottom: none;
}

.admin-bar #header.depost-header-root {
	top: 32px;
	--depost-nav-top: calc(32px + var(--depost-header-h));
}

@media screen and (max-width: 782px) {
	.admin-bar #header.depost-header-root {
		top: 46px;
		--depost-nav-top: calc(46px + var(--depost-header-h));
	}
}

body:not(.admin-bar) #main_contents {
	padding-top: var(--depost-main-pad-top);
}

body.admin-bar #main_contents {
	padding-top: calc(32px + var(--depost-main-pad-top));
}

@media screen and (max-width: 782px) {
	body.admin-bar #main_contents {
		padding-top: calc(46px + var(--depost-main-pad-top));
	}
}

html {
	scroll-padding-top: calc(var(--depost-main-pad-top, 98px) + 12px);
}

.admin-bar html {
	scroll-padding-top: calc(var(--depost-main-pad-top, 98px) + 32px + 12px);
}

@media screen and (max-width: 782px) {
	.admin-bar html {
		scroll-padding-top: calc(var(--depost-main-pad-top, 98px) + 46px + 12px);
	}
}

#header.depost-header-root #header_top {
	background: #fff !important;
	border-bottom: none;
}

/* 全幅 1 行：ブランド | LINE + 電話 + メニュー（左右 20–30px 系の余白） */
#header.depost-header-root #header_top .inner.depost-header-inner {
	float: none !important;
	min-height: var(--depost-header-h, 98px) !important;
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: var(--depost-inner-pad-y) var(--depost-inner-pad-x) !important;
	box-sizing: border-box;

	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "brand actions";
	align-items: center;
	column-gap: 1.5rem;
}

@media (max-width: 767px) {
	#header.depost-header-root {
		--depost-header-h: 78px;
		--depost-inner-pad-y: 8px;
		--depost-inner-pad-x: 14px;
		--depost-logo-max-h: 44px;
		--depost-tagline-fs: clamp(12px, 3vw, 14px);
		--depost-brand-gap: 4px;
		--depost-actions-gap: 10px;
		--depost-line-btn-fs: 14px;
		--depost-line-icon-size: 28px;
		--depost-line-btn-pad-x: 16px;
		--depost-line-btn-min-h: 48px;
		--depost-tel-dial-fs: clamp(1.125rem, 4.2vw, 1.4rem);
		--depost-tel-hours-fs: 10px;
		--depost-menu-hit: 44px;
		--depost-menu-icon: 28px;
	}

	/* SP: ブランド（ロゴ＋キャッチ）の扱い。
	   - コーポレート（body:not(.depost-lp)）: 縦積み・左寄せ（ロゴ＋自動車業界のソリューション）
	   - LP（body.depost-lp、仙台店・大阪店など）: 既存の横並び・下揃え（ロゴ＋「〜店」）を維持
	   親テーマや後続ルール（align-self: flex-end 等）に勝つため !important を使用。 */
	body:not(.depost-lp) #header.depost-header-root .depost-header-brand {
		flex-direction: column !important;
		align-items: flex-start !important;
		justify-content: center !important;
		gap: var(--depost-brand-gap) !important;
		text-align: left !important;
	}

	body:not(.depost-lp) #header.depost-header-root .depost-header-logo-wrap {
		width: auto !important;
		max-width: 100% !important;
		display: block !important;
		align-self: flex-start !important;
		text-align: left !important;
	}

	body:not(.depost-lp) #header.depost-header-root .depost-header-logo-link {
		display: inline-block !important;
	}

	body:not(.depost-lp) #header.depost-header-root .depost-header-tagline {
		align-self: flex-start !important;
		text-align: left !important;
		transform: none !important;
		padding: 0 0 0 6px !important;
		line-height: 1.2 !important;
		width: auto !important;
		margin-left: 0 !important;
		margin-right: auto !important;
	}

	/* LP: 横並び＋下揃え（ロゴと「〜店」を一行で並べる元のレイアウトを維持） */
	body.depost-lp #header.depost-header-root .depost-header-brand {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: flex-end !important;
		justify-content: flex-start !important;
		gap: 8px !important;
	}

	body.depost-lp #header.depost-header-root .depost-header-tagline {
		align-self: flex-end !important;
		text-align: left !important;
		transform: none !important;
		padding: 0 0 2px !important;
		line-height: 1.2 !important;
		white-space: nowrap !important;
	}

	/* SP: ロゴ画像は控えめサイズに */
	.depost-header-logo-img {
		max-width: min(180px, 50vw) !important;
	}
}

/* --- ブランド（左）：ロゴとキャッチは下揃え（見本どおり） --- */
.depost-header-brand {
	grid-area: brand;
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-end;
	gap: var(--depost-brand-gap);
	min-width: 0;
}

.depost-header-logo-link {
	display: block;
	line-height: 0;
	text-decoration: none !important;
}

.depost-header-logo-link:hover .depost-header-logo-img,
.depost-header-logo-link:focus-visible .depost-header-logo-img {
	transform: scale(1.02);
	transition: transform 0.2s ease;
}

.depost-header-logo-img {
	display: block;
	height: auto;
	width: auto;
	max-height: var(--depost-logo-max-h);
	max-width: min(100%, 420px);
	object-fit: contain;
}

.depost-header-logo-fallback {
	font-size: 1.1rem;
	font-weight: 700;
	color: #0f172a;
}

/* キャッチ：明朝・下揃え（ロゴとの位置は translate で微調整） */
#header.depost-header-root .depost-header-tagline {
	display: block;
	align-self: flex-end;
	margin: 0;
	padding: 0 0 1px;
	font-size: var(--depost-tagline-fs);
	font-weight: 700;
	transform: translateY(-3px);
	color: #1a1a1a;
	line-height: 1.3;
	letter-spacing: 0.06em;
	font-family:
		"Noto Serif JP",
		"Hiragino Mincho ProN",
		"Hiragino Mincho Pro",
		"Yu Mincho",
		YuMincho,
		"MS PMincho",
		"MS Mincho",
		serif !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	white-space: nowrap;
}

/* TB: ヘッダー高・余白を中間サイズに */
@media (min-width: 768px) and (max-width: 1023px) {
	#header.depost-header-root {
		--depost-header-h: 88px;
		--depost-inner-pad-y: 12px;
		--depost-inner-pad-x: 20px;
		--depost-logo-max-h: 50px;
		--depost-tagline-fs: clamp(13px, 1.7vw, 16px);
		--depost-brand-gap: 12px;
	}
}

/* SP/TB: LINEボタンと電話番号を非表示（ロゴ+タグライン+ハンバーガーのみ） */
@media (max-width: 1023px) {
	.depost-header-line-btn,
	.depost-header-line-link--whole,
	.depost-header-tel {
		display: none !important;
	}
}

/* 極小SP: タグライン非表示＋ロゴ縮小 */
@media (max-width: 374px) {
	#header.depost-header-root {
		--depost-header-h: 68px;
		--depost-logo-max-h: 36px;
		--depost-inner-pad-x: 12px;
		--depost-menu-hit: 40px;
		--depost-menu-icon: 20px;
	}

	#header.depost-header-root .depost-header-tagline {
		display: none;
	}
}

/* landscape SP: ヘッダー高圧縮 */
@media (max-width: 767px) and (orientation: landscape) and (max-height: 460px) {
	#header.depost-header-root {
		--depost-header-h: 60px;
		--depost-inner-pad-y: 6px;
		--depost-logo-max-h: 34px;
	}

	#header.depost-header-root .depost-header-tagline {
		display: none;
	}
}

/* --- 右列：LINE | 電話 | ハンバーガー --- */
.depost-header-actions {
	grid-area: actions;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: var(--depost-actions-gap);
}

/* 単一画像差し替え */
.depost-header-line-link--whole {
	display: block;
	line-height: 0;
	text-decoration: none !important;
	flex-shrink: 0;
}

.depost-header-line-link--whole:focus-visible {
	outline: 2px solid var(--depost-line-navy);
	outline-offset: 3px;
}

.depost-header-line-whole-img {
	display: block;
	height: auto;
	max-height: 52px;
	width: auto;
	max-width: min(40vw, 240px);
	object-fit: contain;
}

@media (max-width: 767px) {
	.depost-header-line-whole-img {
		max-height: 40px;
	}
}

/* LINE ボタン：内側を stretch → flex で縦方向の幾何中央（translate によるずらしは使わない） */
.depost-header-line-btn {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: stretch;
	overflow: hidden;
	border-radius: 4px;
	background: var(--depost-line-navy);
	color: #fff !important;
	text-decoration: none !important;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	font-size: var(--depost-line-btn-fs);
	font-weight: 700;
	line-height: 1;
	min-height: var(--depost-line-btn-min-h);
	min-width: 0;
	padding: 0 !important;
	vertical-align: middle;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	flex-shrink: 0;
	box-sizing: border-box;
	box-shadow: 0 2px 8px rgba(29, 61, 143, 0.28);
}

.depost-header-line-btn::before {
	content: attr(data-text);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform: translate3d(-100%, 0, 0);
	display: flex;
	align-items: center;
	justify-content: center;
	padding-block: 0;
	padding-inline: var(--depost-line-btn-pad-x);
	box-sizing: border-box;
	transition: transform 0.3s cubic-bezier(0.75, 0, 0.125, 1);
	background: var(--depost-line-navy-hover);
	color: #fff;
	font-size: var(--depost-line-btn-fs);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.01em;
}

.depost-header-line-btn:hover::before,
.depost-header-line-btn:focus-visible::before {
	transform: translate3d(0, 0, 0);
}

.depost-header-line-btn__inner {
	flex: 1 1 auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	padding-block: 0;
	padding-inline: var(--depost-line-btn-pad-x);
	gap: 12px;
	min-height: var(--depost-line-btn-min-h);
	box-sizing: border-box;
	transition: transform 0.3s cubic-bezier(0.75, 0, 0.125, 1);
}

.depost-header-line-btn:hover .depost-header-line-btn__inner,
.depost-header-line-btn:focus-visible .depost-header-line-btn__inner {
	transform: translate3d(0, 100%, 0);
}

.depost-header-line-btn:focus-visible {
	outline: 2px solid var(--depost-line-navy);
	outline-offset: 3px;
}

.depost-header-line-btn__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.depost-header-line-btn__icon img {
	display: block;
	width: var(--depost-line-icon-size);
	height: var(--depost-line-icon-size);
	object-fit: contain;
	object-position: center;
}

.depost-header-line-btn__label {
	white-space: nowrap;
	line-height: 1;
	font-feature-settings: "palt" 1;
	letter-spacing: 0.02em;
}

@media (prefers-reduced-motion: reduce) {
	.depost-header-line-btn::before {
		display: none;
	}

	.depost-header-line-btn:hover .depost-header-line-btn__inner,
	.depost-header-line-btn:focus-visible .depost-header-line-btn__inner {
		transform: none;
	}

	.depost-header-line-btn__inner {
		transition: none;
	}

	.depost-header-line-btn:hover,
	.depost-header-line-btn:focus-visible {
		background: var(--depost-line-navy-hover);
	}
}

/* 電話：番号がヘッダー内で最も大きい。受付は 11px 前後の副次テキスト（ブロック内は中央揃え） */
.depost-header-tel {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1.12;
	text-align: center;
	flex-shrink: 0;
}

/* LP の Tailwind ベース（span{font-size:…} 等）より優先してヘッダー電話の見た目を固定 */
#header.depost-header-root .depost-header-tel.depost-pc-only {
	align-items: center !important;
	text-align: center !important;
}

#header.depost-header-root .depost-header-tel-dial {
	font-size: var(--depost-tel-dial-fs) !important;
}

#header.depost-header-root .depost-header-tel-num {
	font-size: inherit !important;
	font-weight: 700 !important;
}

#header.depost-header-root .depost-header-tel-hours {
	font-size: var(--depost-tel-hours-fs) !important;
	line-height: 1.25 !important;
}

#header.depost-header-root .depost-header-tel-ico {
	font-size: inherit !important;
	display: inline-flex !important;
	align-items: center;
	line-height: 0;
}

#header.depost-header-root .depost-header-tel-ico .depost-header-tel-svg {
	width: 0.92em !important;
	height: 0.92em !important;
}

.depost-header-tel-dial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.15em;
	font-size: var(--depost-tel-dial-fs);
	font-weight: 700;
	color: var(--depost-tel-red);
	letter-spacing: 0.03em;
}

.depost-header-tel-ico {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	color: var(--depost-tel-red);
}

.depost-header-tel-ico .depost-header-tel-svg {
	width: 0.88em;
	height: 0.88em;
}

.depost-header-tel-num {
	color: var(--depost-tel-red) !important;
	text-decoration: none !important;
	font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
}

.depost-header-tel-num:hover,
.depost-header-tel-num:focus-visible {
	text-decoration: underline !important;
}

.depost-header-tel-hours {
	display: block;
	margin-top: 3px;
	font-size: var(--depost-tel-hours-fs);
	color: var(--depost-hours-gray);
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	line-height: 1.25;
}

@media (max-width: 767px) {
	.depost-header-tel-hours {
		margin-top: 2px;
	}
}

/* ハンバーガー：タッチ領域とアイコンを見本のバランスに（PC は透明、SP のみ装飾） */
#header.depost-header-root a.menu_button.depost-menu-trigger {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: var(--depost-menu-hit);
	height: var(--depost-menu-hit);
	margin: 0;
	padding: 0;
	background: transparent !important;
	border: none;
	cursor: pointer;
	color: #111;
	flex-shrink: 0;
}

.depost-menu-trigger__icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

.depost-menu-trigger__svg {
	display: block;
	width: var(--depost-menu-icon);
	height: var(--depost-menu-icon);
	color: inherit;
	fill: currentColor;
}

.depost-menu-trigger__svg path {
	fill: currentColor;
}

/* SP のみ：視認性のため背景・枠・影を付与 */
@media (max-width: 1023px) {
	#header.depost-header-root a.menu_button.depost-menu-trigger {
		background: #f1f5f9 !important;
		border: 1px solid #cbd5e1 !important;
		border-radius: 8px !important;
		color: #0f172a !important;
		box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
		transition:
			background 0.15s ease,
			box-shadow 0.15s ease;
	}

	#header.depost-header-root a.menu_button.depost-menu-trigger:hover,
	#header.depost-header-root a.menu_button.depost-menu-trigger:focus-visible {
		background: #e2e8f0 !important;
		box-shadow: 0 2px 6px rgba(15, 23, 42, 0.14);
		outline: none;
	}

	#header.depost-header-root a.menu_button.depost-menu-trigger.active {
		background: #1d3d8f !important;
		border-color: #1d3d8f !important;
		color: #fff !important;
	}
}

/* ============================================================
   右ドロワーメニュー（全画面オーバーレイから変更）
   ============================================================ */

/* バックドロップ（半透明オーバーレイ） */
.depost-menu-backdrop {
	position: fixed;
	inset: 0;
	top: var(--depost-nav-top, 98px);
	background: rgba(15, 23, 42, 0);
	z-index: 10000; /* 固定フッターCTA(9999)より上 */
	pointer-events: none;
	transition: background 0.32s ease;
}

.admin-bar .depost-menu-backdrop {
	top: var(--depost-nav-top, calc(32px + 98px));
}

#header.depost-header-root.active .depost-menu-backdrop {
	background: rgba(15, 23, 42, 0.42);
	pointer-events: auto;
}

/* ドロワーパネル本体 */
.depost-header-root #global_menu.depost-global-menu {
	display: block !important; /* 常時DOMに存在、表示はtransformで制御 */
	position: fixed !important;
	margin: 0; /* 親テーマ margin:0 -28px 0 0 の打ち消し（右端見切れ防止） */
	right: 0;
	left: auto;
	top: var(--depost-nav-top, 98px);
	bottom: 0;
	width: min(360px, 88vw);
	background: #fff;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	box-shadow: -4px 0 32px rgba(15, 23, 42, 0.14);
	border-top: 1px solid #e5e7eb;
	border-left: 1px solid #e8eaed;
	z-index: 10001 !important; /* 固定フッターCTA(9999)・バックドロップ(10000)より上 */
	transform: translateX(110%);
	visibility: hidden;
	pointer-events: none;
	transition:
		transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
		visibility 0s linear 0.32s;
}

#header.depost-header-root.active #global_menu.depost-global-menu {
	display: block !important;
	transform: translateX(0);
	visibility: visible;
	pointer-events: auto;
	transition:
		transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
		visibility 0s linear 0s;
}

@media (prefers-reduced-motion: reduce) {
	.depost-header-root #global_menu.depost-global-menu {
		transition: visibility 0s linear 0.1s;
	}
	#header.depost-header-root.active #global_menu.depost-global-menu {
		transition: visibility 0s linear 0s;
	}
	.depost-menu-backdrop {
		transition: none;
	}
}

/* ドロワー内クローズボタン */
.depost-drawer-close {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	width: 100%;
	padding: 14px 18px;
	background: none;
	border: none;
	border-bottom: 1px solid #eef0f4;
	cursor: pointer;
	color: #555;
	font-size: 0.8rem;
	font-family: inherit;
	line-height: 1;
	transition: color 0.15s;
	box-sizing: border-box;
}

.depost-drawer-close:hover,
.depost-drawer-close:focus-visible {
	color: #111;
	outline: none;
}

.depost-drawer-close svg {
	display: block;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* ナビリスト */
.depost-header-root #global_menu.depost-global-menu > ul {
	font-size: 1rem !important;
	text-align: left !important;
	margin: 0 !important;
	padding: 0.25rem 0 2rem !important;
}

.depost-header-root #global_menu.depost-global-menu > ul > li {
	display: block !important;
	font-size: 1rem !important;
	border-bottom: 1px solid #eef0f4;
	margin: 0 !important;
}

.depost-header-root #global_menu.depost-global-menu > ul > li > a {
	height: auto !important;
	line-height: 1.45 !important;
	padding: 1rem 1.25rem !important;
	color: #0f172a !important;
	font-size: 0.95rem !important;
	opacity: 1 !important;
	display: block !important;
}

.depost-header-root #global_menu.depost-global-menu > ul > li > a:hover {
	background: #f8fafc !important;
}

.depost-header-root #global_menu.depost-global-menu a {
	color: #0f172a !important;
}

.depost-header-root #global_menu.depost-global-menu ul ul {
	position: static !important;
	visibility: visible !important;
	opacity: 1 !important;
	display: none;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box;
	background: #f8fafc !important;
}

.depost-header-root #global_menu.depost-global-menu li.open > ul {
	display: block !important;
}

.depost-header-root #global_menu.depost-global-menu ul ul a {
	background: transparent !important;
	padding: 0.75rem 1.25rem 0.75rem 2rem !important;
	font-size: 0.88rem !important;
	display: block !important;
}

.depost-header-root #global_menu.depost-global-menu ul ul a:hover {
	background: #f1f5f9 !important;
}

.depost-header-root #global_menu.depost-global-menu .child_menu_button {
	display: inline-block !important;
}

@media only screen and (min-width: 1025px) {
	.depost-header-root #global_menu.depost-global-menu > ul > li:hover > ul {
		visibility: hidden !important;
		opacity: 0 !important;
	}
}

/* SP: ドロワー幅（長い日本語ラベルでも見切れにくい幅） */
@media (max-width: 480px) {
	.depost-header-root #global_menu.depost-global-menu {
		width: min(340px, 92vw);
	}
}

/* ============================================================
   dpd-drawer — LP エリアドロワーナビ（右スライドパネル内）
   ============================================================ */

.dpd-drawer {
	--dpd-pad-x: 16px;
	--dpd-pad-r: 18px;
	--dpd-accent: #e62121;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	font-family: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
	box-sizing: border-box;
}

/* ── ヘッダー ── */
.dpd-drawer__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 14px max(20px, env(safe-area-inset-right, 0px)) 14px var(--dpd-pad-x);
	background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
	border-bottom: 3px solid var(--dpd-accent);
	flex-shrink: 0;
	box-sizing: border-box;
}

.dpd-drawer__head-main {
	flex: 1 1 auto;
	min-width: 0;
}

.dpd-drawer__head .depost-drawer-close {
	flex: 0 0 auto;
	width: auto;
	margin: 0;
	padding: 4px 0 4px 8px;
	background: transparent;
	border: none;
	border-bottom: none;
	color: #e2e8f0;
}

.dpd-drawer__head .depost-drawer-close:hover,
.dpd-drawer__head .depost-drawer-close:focus-visible {
	color: #fff;
	background: transparent;
}

.dpd-drawer__head .depost-drawer-close__label {
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.dpd-drawer__area-badge {
	display: inline-block;
	background: #e62121;
	color: #fff;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 3px 10px;
	border-radius: 2px;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.dpd-drawer__store {
	color: #f0f4ff;
	font-size: 0.88rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.4;
}

/* ── ナビ本体 ── */
.dpd-drawer__nav {
	flex: 1;
	padding: 8px 0 4px;
}

/* セクション */
.dpd-drawer__section {
	padding: 4px 0;
	border-bottom: 1px solid #f1f5f9;
}

.dpd-drawer__section:last-child {
	border-bottom: none;
}

.dpd-drawer__section-label {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #94a3b8;
	padding: 10px var(--dpd-pad-r) 4px var(--dpd-pad-x);
	margin: 0;
}

/* ナビアイテム */
.dpd-drawer__item {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	padding: 13px var(--dpd-pad-r) 13px calc(var(--dpd-pad-x) + 3px);
	color: #1e293b;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.45;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	border-left: 3px solid transparent;
	position: relative;
}

.dpd-drawer__item:hover {
	background: #f8fafc;
	color: var(--dpd-accent);
	border-left-color: var(--dpd-accent);
}

.dpd-drawer__item.is-active {
	background: #fff8f8;
	color: #c91c1c;
	border-left-color: var(--dpd-accent);
	font-weight: 600;
}

.dpd-drawer__item.is-active::after {
	content: '';
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--dpd-accent);
}

.dpd-drawer__item-label {
	flex: 1;
	min-width: 0;
	overflow-wrap: anywhere;
}

/* ── フッターリンク ── */
.dpd-drawer__footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 16px 14px;
	background: #f8fafc;
	border-top: 1px solid #edf0f4;
	flex-shrink: 0;
}

.dpd-drawer__footer-link {
	color: #64748b;
	font-size: 0.8rem;
	text-decoration: none;
	letter-spacing: 0.03em;
	transition: color 0.15s;
}

.dpd-drawer__footer-link:hover {
	color: #e62121;
}

/* エリアLPドロワー下部: コーポレート TOP へ（ヘッダー帯と同じバッジ＋タグライン） */
.dpd-drawer__footer-hub {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 7px;
	max-width: 100%;
	padding: 2px 0;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
}

.dpd-drawer__footer-hub .dpd-drawer__area-badge {
	margin-bottom: 0;
}

.dpd-drawer__footer-hub-tagline {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.35;
	color: #475569;
	transition: color 0.15s ease;
}

.dpd-drawer__footer-hub:hover .dpd-drawer__footer-hub-tagline,
.dpd-drawer__footer-hub:focus-visible .dpd-drawer__footer-hub-tagline {
	color: #e62121;
}

.dpd-drawer__footer-hub:hover .dpd-drawer__area-badge,
.dpd-drawer__footer-hub:focus-visible .dpd-drawer__area-badge {
	filter: brightness(1.06);
}

.dpd-drawer__footer-sep {
	color: #cbd5e1;
	font-size: 0.7rem;
}

/* DePost LABO サイト用ドロワー（dpd-drawer マークアップ） */
.depost-global-menu--site,
.depost-global-menu--lp-area {
	padding: 0 !important;
}

.depost-global-menu--site .dpd-drawer,
.depost-global-menu--lp-area .dpd-drawer {
	min-height: 100%;
}

.dpd-drawer--site .dpd-drawer__area-badge {
	letter-spacing: 0.06em;
}

/* 輸入車エリア — アコーディオン（details / summary） */
.dpd-drawer__accordion {
	border-bottom: 1px solid #f1f5f9;
}

.dpd-drawer__accordion-summary {
	display: flex;
	align-items: center;
	gap: 10px;
	box-sizing: border-box;
	width: 100%;
	padding: 12px var(--dpd-pad-r) 12px calc(var(--dpd-pad-x) + 3px);
	cursor: pointer;
	list-style: none;
	transition: background 0.15s ease, border-color 0.15s ease;
	border-left: 3px solid transparent;
}

.dpd-drawer__accordion-summary::-webkit-details-marker {
	display: none;
}

.dpd-drawer__accordion-summary::marker {
	content: '';
}

.dpd-drawer__accordion-summary:hover {
	background: #f8fafc;
	border-left-color: var(--dpd-accent);
}

.dpd-drawer__accordion[open] > .dpd-drawer__accordion-summary {
	background: #fff8f8;
	border-left-color: var(--dpd-accent);
}

.dpd-drawer__accordion-leading {
	flex: 1;
	min-width: 0;
}

.dpd-drawer__accordion-title {
	display: block;
	font-size: 0.88rem;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.dpd-drawer__accordion-hint {
	display: block;
	margin-top: 3px;
	font-size: 0.65rem;
	font-weight: 600;
	color: #94a3b8;
	letter-spacing: 0.02em;
	line-height: 1.3;
}

.dpd-drawer__accordion-chevron {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dpd-drawer__accordion-chevron::before {
	content: '';
	display: block;
	width: 7px;
	height: 7px;
	border-right: 2px solid #64748b;
	border-bottom: 2px solid #64748b;
	transform: rotate(-45deg);
	margin: 0;
	transition: transform 0.2s ease, border-color 0.15s ease;
}

.dpd-drawer__accordion[open] .dpd-drawer__accordion-chevron::before {
	transform: rotate(45deg);
	border-color: var(--dpd-accent);
}

.dpd-drawer__sublist {
	background: #f8fafc;
	border-top: 1px solid #eef0f4;
	padding: 4px 0 8px;
}

.dpd-drawer__item--sub {
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
	padding: 11px var(--dpd-pad-r) 11px calc(var(--dpd-pad-x) + 12px) !important;
	font-size: 0.86rem !important;
	border-left-width: 3px;
}

.dpd-drawer__item--sub:hover {
	background: #f1f5f9;
	border-left-color: var(--dpd-accent);
}

.dpd-drawer__item--sub .dpd-drawer__item-label {
	font-weight: 600;
	line-height: 1.35;
}

.dpd-drawer__item-meta {
	display: block;
	width: 100%;
	font-size: 0.7rem;
	font-weight: 400;
	color: #64748b;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.dpd-drawer__item--sub.is-active {
	background: #fff8f8;
}

.dpd-drawer__item--sub.is-active .dpd-drawer__item-meta {
	color: #9a3412;
}

/* サブ項目は右ドットを非表示（店舗名と重なるため） */
.dpd-drawer__item--sub.is-active::after {
	display: none;
}

/* トップレベル active 時は右余白を確保 */
.dpd-drawer__nav > .dpd-drawer__section > .dpd-drawer__item.is-active {
	padding-right: calc(var(--dpd-pad-r) + 10px);
}

/* 旧 wp_nav_menu の ul は dpd-drawer 利用時は非表示 */
.depost-global-menu--site > ul,
.depost-global-menu--lp-area > ul {
	display: none !important;
}

.fix_top.header_fix .depost-header-root #header_top {
	background: #fff !important;
}

.fix_top.header_fix .depost-header-root #global_menu a {
	color: #0f172a !important;
}
