/*
 * 特殊車両通行許可申請.net：全ページ共通の上書き（#21）
 * 千田先生向けに作った特車デザインの色と書体（藍 #0d2340・青 #1b4a8a・赤 #b4232f、しっぽり明朝 B1＋Jost）を、記事・固定ページにも。
 * ヘッダーは tk3_header()（.t3h）。記事の部品は今の kk.css・tk.css・ta.css と明朝の作り tk-refine.css の上に重ねる
 */
:root {
	--tr-serif: "Shippori Mincho B1", "Noto Serif JP", serif;
	--tr-en: "Jost", "Noto Sans JP", sans-serif;
	--tk-disp: var(--tr-serif);
	--tk-navy: #0d2340;
	--tk-navy2: #1b4a8a;
	--tk-amber: #b4232f;
	--kk-teal: #1b4a8a;
	--kk-teal-dark: #0d2340;
	--kk-orange: #b4232f;
	--kk-orange-soft: #fbeff0;
	--kk-bg: #f6f7f9;
	--kk-line: #e1e5ec;
}

/* 黄色の地に紺の文字だった部品は、赤の地に白の文字に */
.kk-cta .kk-cta__badge, .tk-eyebrow, .tk-btn--amber, .tk-pcard--main::before, .tk-steps li::before { color: #fff !important; }
.tk-btn--amber b { color: #fff !important; }
.kk-cta .kk-cta__eyebrow { color: #f3a0a8 !important; }
.th2-kuma, .th2-ico { color: #fff !important; }

/* 数字・電話番号は Jost（明朝の作りでは明朝にしていた） */
.kk-cta__tel-num, .kk-fixbar__tel, .kk-fixbar__tel strong, .tk-yen { font-family: var(--tr-en) !important; font-weight: 500 !important; letter-spacing: .05em; }

/* ---------- ヘッダー ---------- */
.t3h { position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid #e1e5ec; font-family: "Noto Sans JP", system-ui, sans-serif; }
.t3h-in { display: flex; align-items: center; gap: 26px; height: 78px; max-width: 1560px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.t3h-logo { display: flex; align-items: center; gap: 12px; text-decoration: none !important; flex: none; min-width: 0; }
.t3h-logo svg { width: 44px; height: 44px; flex: none; }
.t3h-logo > span { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.t3h-logo small { font-size: 11px; color: #667080; letter-spacing: .06em; white-space: nowrap; }
.t3h-logo strong { font-family: var(--tr-serif); font-size: 19px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; color: #0d2340; }
.t3h-nav { display: flex; gap: 22px; margin-left: auto; }
.t3h-nav a { position: relative; text-decoration: none !important; white-space: nowrap; font-size: 13.5px; font-weight: 500; letter-spacing: .06em; padding: 6px 0; color: #0d2340 !important; }
.t3h-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #b4232f; transform: scaleX(0); transition: transform .2s; }
.t3h-nav a:hover::after { transform: scaleX(1); }
.t3h-tel { display: flex; align-items: center; gap: 12px; text-decoration: none !important; flex: none; color: #0d2340 !important; padding: 0 0 0 24px; border-left: 1px solid #e1e5ec; height: 46px; }
.t3h-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #b4232f; color: #fff; flex: none; }
.t3h-ic svg { width: 18px; height: 18px; }
.t3h-tx { display: flex; flex-direction: column; line-height: 1.25; }
.t3h-tel small { display: block; font-size: 11px; color: #667080; letter-spacing: .08em; white-space: nowrap; }
.t3h-tel small em { font-style: normal; margin-left: 10px; color: #0d2340; }
.t3h-tel b { font-family: var(--tr-en); font-size: 25px; font-weight: 500; letter-spacing: .06em; white-space: nowrap; margin-top: 2px; }
.t3h .t3h-menu { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-left: 4px; border: 1px solid #0d2340; background: #fff; color: #0d2340; border-radius: 2px; font: 700 10.5px "Noto Sans JP", sans-serif; letter-spacing: .08em; padding: 9px 11px 7px; flex: none; }
.t3h .t3h-menu:hover { background: #0d2340; color: #fff; }
.t3h .t3h-menu .kk-menu-btn__bars { width: 22px; height: 1px; margin: 7px 0 6px; border-radius: 0; }
.t3h .t3h-menu .kk-menu-btn__bars::before { top: -6px; height: 1px; width: 22px; border-radius: 0; }
.t3h .t3h-menu .kk-menu-btn__bars::after { top: 6px; height: 1px; width: 22px; border-radius: 0; }

/* 上の帯（サイトの説明）は細く */
.description { background: #0d2340 !important; border: 0 !important; }
.description p { color: #b9c6da !important; }

/* フッター：藍に赤の線 */
#footer { background: #0d2340 !important; border-top: 3px solid #b4232f !important; }

@media (max-width: 1440px) {
	.t3h-nav { display: none; }
	.t3h-tel { margin-left: auto; }
}
@media (max-width: 680px) {
	.t3h-in { height: 64px; gap: 10px; padding: 0 16px; }
	.t3h-logo svg { width: 36px; height: 36px; }
	.t3h-logo small { font-size: 9.5px; letter-spacing: 0; }
	.t3h-logo strong { font-size: 16px; letter-spacing: .04em; }
	.t3h-tel { display: none; }
	.t3h .t3h-menu { margin-left: auto; }
}
@media (max-width: 380px) {
	.t3h-logo { gap: 8px; }
	.t3h-logo svg { width: 32px; height: 32px; }
	.t3h-logo small { font-size: 8px; letter-spacing: -.02em; }
	.t3h-logo strong { font-size: 15px; letter-spacing: .02em; }
	.t3h .t3h-menu { padding: 7px 8px 5px; }
}

/* 画面下の帯：電話は藍、メールは赤（白地のページで背景に溶けないように） */
.kk-fixbar__tel { background: #0d2340 !important; }
.kk-fixbar__mail { background: #b4232f !important; color: #fff !important; }

/* 黄色の地に紺の文字だった部品の残り：記事の下の電話ボタンと、簡易診断の申し込みボタン（赤の地に白の文字に） */
body .kk-cta .kk-cta__tel, body .kk-cta .kk-cta__tel * { color: #fff !important; }
body #content .tsd-btn { color: #fff; }
body #content .tk-docs li::before { color: #fff; }

/* 本文の中の、部品の名前が付いていない表（料金ページなど）も、記事の表と同じ見た目に */
body #content table:not([class]) { width: 100%; border-collapse: collapse; border: 1px solid #e1e5ec; margin: 1.2em 0 1.6em; font-size: 15px; }
body #content table:not([class]) th, body #content table:not([class]) td { border: 0; border-bottom: 1px solid #e1e5ec; padding: 14px 18px; text-align: left; vertical-align: top; line-height: 1.8; }
body #content table:not([class]) tr:first-child th, body #content table:not([class]) tr:first-child td { background: #eef3fa; font-weight: 700; color: #0d2340; }
body #content table:not([class]) td:first-child { font-family: var(--tr-serif); font-weight: 700; color: #0d2340; white-space: nowrap; }
