/*
 * 特殊車両通行許可申請.net：tokusya 用の色と構成（tokusya Issue #4）
 * 土台は kumamoto-kensetsu・car-kumamoto と同じ kk.css。ここで色を差し替え、トップの区画を足す。
 * 基調色：夜の幹線道路のネイビー／差し色：道路標識の黄色。制度ごとの色：確認制度＝青緑、通常許可＝紺、特車ゴールド＝金
 */

:root {
	--kk-ink: #1d2733;
	--kk-sub: #5b6776;
	--kk-teal: #1f4f86;       /* リンク・見出しの基調（読みやすい紺青） */
	--kk-teal-dark: #132238;  /* ネイビー */
	--kk-orange: #c98f00;     /* 差し色（白地で読める濃い黄） */
	--kk-orange-soft: #fff6dc;
	--kk-bg: #f3f5f8;
	--kk-line: #d9dee6;
	--tk-navy: #132238;
	--tk-navy2: #1c3350;
	--tk-amber: #f4b400;
	--tk-kakunin: #0f7c8c;
	--tk-kyoka: #2c4f7c;
	--tk-gold: #b8891a;
	--tk-disp: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}

html {
	overflow-x: clip;
}

#content h1,
#content h2,
.kk-section-head__title,
.kk-cta__title,
.kk-guide__cat {
	font-family: var(--tk-disp) !important;
	font-weight: 900 !important;
	letter-spacing: 0.03em;
}

#content .kk-section-head__title {
	color: var(--tk-navy);
}

a:hover {
	color: var(--kk-orange);
}

/* ---------- ヘッダー ---------- */
.tk-logo-mark {
	stroke: none !important;
	border-radius: 11px;
}

.kk-logo__name {
	color: var(--tk-navy) !important;
	font-family: var(--tk-disp);
	font-weight: 900;
}

.kk-header-tel__num {
	color: var(--tk-navy) !important;
}

/* ---------- 画面下の固定バー・お問い合わせ誘導 ---------- */
.kk-fixbar__tel {
	background: var(--tk-navy) !important;
}

.kk-cta {
	background: linear-gradient(135deg, var(--tk-navy), var(--tk-navy2)) !important;
	color: #fff;
	border: none !important;
}

.kk-cta .kk-cta__title,
.kk-cta .kk-cta__lead,
.kk-cta .kk-cta__hours {
	color: #fff !important;
}

.kk-cta .kk-cta__lead,
.kk-cta .kk-cta__hours {
	color: #cfd9e6 !important;
}

.kk-cta .kk-cta__eyebrow {
	color: var(--tk-amber) !important;
}

.kk-cta .kk-cta__badge {
	background: var(--tk-amber) !important;
	color: var(--tk-navy) !important;
	border: none !important;
}

.kk-cta .kk-cta__tel {
	background: var(--tk-amber) !important;
	color: var(--tk-navy) !important;
}

.kk-cta .kk-cta__tel * {
	color: var(--tk-navy) !important;
}

.kk-cta .kk-cta__mail {
	background: transparent !important;
	color: #fff !important;
	border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
}

/* ---------- ヒーロー ---------- */
.tk-hero {
	background: var(--tk-navy) !important;
	color: #fff;
	padding-bottom: 0 !important;
}

.tk-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 34px;
	height: 6px;
	background: repeating-linear-gradient(90deg, transparent 0 60px, rgba(244, 180, 0, 0.45) 60px 120px);
	pointer-events: none;
}

.tk-hero__in {
	position: relative;
	max-width: var(--kk-wide);
	margin: 0 auto;
	padding: 60px 24px 92px;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 48px;
	align-items: center;
}

.tk-eyebrow {
	display: inline-block;
	margin: 0 !important;
	background: var(--tk-amber);
	color: var(--tk-navy);
	font-weight: 700;
	font-size: 13px !important;
	line-height: 1.6;
	padding: 4px 12px;
	border-radius: 4px;
	letter-spacing: 0.04em;
}

.tk-hero .tk-hero__title {
	font-family: var(--tk-disp);
	font-weight: 900;
	font-size: 38px;
	line-height: 1.45;
	letter-spacing: 0.03em;
	color: #fff;
	margin: 18px 0;
	padding: 0;
	border: none;
	background: none;
}

.tk-hero__title em {
	font-style: normal;
	color: var(--tk-amber);
}

.tk-hero__lead {
	font-size: 17px !important;
	line-height: 1.95;
	color: #d6dfeb;
	margin: 0 0 26px !important;
	max-width: 36em;
}

.tk-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.tk-btn {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	min-height: 62px;
	padding: 8px 22px;
	border-radius: 8px;
	text-decoration: none !important;
	font-weight: 700;
	line-height: 1.3;
}

.tk-btn small {
	font-size: 12px;
	font-weight: 500;
	opacity: 0.85;
}

.tk-btn--amber {
	background: var(--tk-amber);
	color: var(--tk-navy) !important;
}

.tk-btn--amber b {
	font-size: 24px;
	letter-spacing: 0.04em;
}

.tk-btn--line {
	border: 1.5px solid rgba(255, 255, 255, 0.55);
	color: #fff !important;
}

.tk-btn:hover {
	filter: brightness(1.06);
	color: inherit;
}

.tk-hero__note {
	font-size: 13px !important;
	color: #aebccd;
	margin: 12px 0 0 !important;
	line-height: 1.7;
}

.tk-systems {
	background: #fff;
	color: var(--kk-ink);
	border-radius: 14px;
	padding: 22px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.tk-systems__ttl {
	font-size: 14px !important;
	font-weight: 700;
	color: var(--kk-sub);
	margin: 0 0 8px !important;
}

.tk-sys {
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 12px;
	align-items: center;
	padding: 12px 0;
	border-top: 1px dashed var(--kk-line);
}

.tk-systems__ttl + .tk-sys {
	border-top: 0;
}

.tk-sys__icon {
	width: 52px;
	height: 52px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	color: #fff;
	font-weight: 900;
	font-size: 13px;
	font-family: var(--tk-disp);
	line-height: 1.15;
	text-align: center;
}

.tk-sys b {
	display: block;
	font-size: 17px;
	font-family: var(--tk-disp);
	line-height: 1.5;
}

.tk-sys div > span {
	display: block;
	font-size: 13.5px;
	color: var(--kk-sub);
	line-height: 1.6;
}

.tk-c-kakunin { background: var(--tk-kakunin) !important; }
.tk-c-kyoka { background: var(--tk-kyoka) !important; }
.tk-c-gold { background: var(--tk-gold) !important; }
.tk-t-kakunin { color: var(--tk-kakunin) !important; }
.tk-t-kyoka { color: var(--tk-kyoka) !important; }
.tk-t-gold { color: var(--tk-gold) !important; }

/* ---------- トップの区画（本文の幅を超えて横いっぱいに） ---------- */
#content .tk-top {
	margin: -24px 0 0;
}

#content .tk-sec {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 64px max(24px, calc(50vw - 580px));
	background: var(--kk-bg);
}

#content .tk-sec--white {
	background: #fff;
}

#content .tk-sec h3 {
	margin: 0 0 6px !important;
	padding: 0 !important;
	border: none !important;
	background: none !important;
	font-family: var(--tk-disp) !important;
	font-weight: 900 !important;
	color: var(--tk-navy);
	font-size: 18px !important;
	line-height: 1.5;
}

#content .tk-sec h3::before,
#content .tk-sec h3::after {
	display: none !important;
}

/* よくいただくご相談 */
.tk-cases {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	max-width: 980px;
	margin: 0 auto;
}

#content a.tk-case {
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas: "no q arrow" "no a arrow";
	column-gap: 18px;
	row-gap: 4px;
	align-items: start;
	background: #fff;
	border: 1px solid var(--kk-line);
	border-radius: 12px;
	padding: 22px 22px 20px;
	text-decoration: none !important;
	color: inherit;
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

#content a.tk-case::after {
	content: "→";
	grid-area: arrow;
	align-self: center;
	color: var(--kk-orange);
	font-weight: 700;
}

#content a.tk-case:hover {
	border-color: var(--tk-navy);
	box-shadow: 0 8px 24px rgba(19, 34, 56, 0.08);
	transform: translateY(-1px);
}

.tk-case__no {
	grid-area: no;
	font-family: var(--tk-disp);
	font-weight: 900;
	font-size: 11px;
	letter-spacing: 0.12em;
	color: var(--kk-orange);
	border-right: 2px solid var(--tk-amber);
	padding: 3px 14px 3px 0;
	line-height: 1.5;
	white-space: nowrap;
}

.tk-case__q {
	grid-area: q;
	font-family: var(--tk-disp);
	font-weight: 900;
	font-size: 17px;
	color: var(--tk-navy);
	line-height: 1.55;
}

.tk-case__a {
	grid-area: a;
	font-size: 14px;
	color: var(--kk-sub);
	line-height: 1.75;
}

/* 簡易診断 */
.tk-diag {
	max-width: 860px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--kk-line);
	border-radius: 14px;
	padding: 28px;
	box-shadow: 0 10px 30px rgba(19, 34, 56, 0.06);
}

.tk-q {
	padding: 16px 0;
	border-top: 1px solid var(--kk-line);
}

.tk-q:first-child {
	border-top: 0;
	padding-top: 0;
}

#content .tk-q__t {
	font-weight: 700;
	margin: 0 0 10px !important;
	color: var(--tk-navy);
}

.tk-q__no {
	display: inline-block;
	background: var(--tk-navy);
	color: #fff;
	font-size: 12px;
	border-radius: 4px;
	padding: 1px 8px;
	margin-right: 8px;
}

.tk-opts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tk-opts label {
	cursor: pointer;
	position: relative;
}

.tk-opts input {
	position: absolute;
	opacity: 0;
}

.tk-opts span {
	display: inline-block;
	border: 1.5px solid var(--kk-line);
	border-radius: 999px;
	padding: 6px 16px;
	font-size: 14.5px;
	line-height: 1.6;
	background: #fff;
}

.tk-opts input:checked + span {
	border-color: var(--tk-navy);
	background: var(--tk-navy);
	color: #fff;
}

.tk-opts input:focus-visible + span {
	outline: 3px solid var(--tk-amber);
}

.tk-result {
	margin-top: 20px;
	border-radius: 12px;
	padding: 20px;
	background: var(--kk-bg);
	display: none;
}

.tk-result.is-on {
	display: block;
}

#content .tk-result p {
	margin: 0 0 6px !important;
}

#content .tk-result__lbl {
	font-size: 13px !important;
	color: var(--kk-sub);
	font-weight: 700;
}

#content .tk-result__name {
	font-family: var(--tk-disp);
	font-weight: 900;
	font-size: 24px !important;
	margin: 2px 0 8px !important;
}

.tk-result small {
	display: block;
	color: var(--kk-sub);
	line-height: 1.7;
}

.tk-result__link {
	display: inline-block;
	margin-top: 10px;
	font-weight: 700;
}

/* 比較表：PC は3列を同じ幅の表、スマホは制度ごとのカード */
#content .tk-cmp {
	width: 100%;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 10px 0;
	margin: 0 -10px;
	width: calc(100% + 20px);
	background: none;
	border: 0;
	font-size: 15px;
}

.tk-cmp col.tk-cmp__label {
	width: 132px;
}

#content .tk-cmp th,
#content .tk-cmp td {
	border: 0 !important;
	padding: 16px 20px !important;
	vertical-align: top;
	text-align: left;
	line-height: 1.6;
	background: #fff;
}

/* 列ごとに白いカードが縦につながって見えるように、上下の区切りは細い線 */
#content .tk-cmp tbody td {
	border-top: 1px solid var(--kk-line) !important;
}

#content .tk-cmp tbody tr:last-child td {
	border-radius: 0 0 14px 14px;
	padding-bottom: 22px !important;
}

#content .tk-cmp thead th:first-child,
#content .tk-cmp tbody th {
	background: transparent !important;
}

#content .tk-cmp tbody th {
	color: var(--tk-navy);
	font-size: 14px;
	font-weight: 700;
	padding: 18px 8px 16px 0 !important;
	border-top: 1px solid var(--kk-line) !important;
	white-space: nowrap;
}

#content .tk-cmp__head {
	color: #fff !important;
	border-radius: 14px 14px 0 0;
	padding: 18px 20px 16px !important;
	text-align: center !important;
}

#content .tk-cmp__head--kakunin { background: var(--tk-kakunin) !important; }
#content .tk-cmp__head--kyoka { background: var(--tk-kyoka) !important; }
#content .tk-cmp__head--gold { background: var(--tk-gold) !important; }

.tk-cmp__name {
	display: block;
	font-family: var(--tk-disp);
	font-weight: 900;
	font-size: 19px;
	line-height: 1.4;
}

.tk-cmp__tag {
	display: block;
	font-size: 12.5px;
	font-weight: 500;
	opacity: 0.9;
	margin-top: 2px;
}

#content .tk-cmp td b,
.tk-cmp-card dd b {
	display: block;
	color: var(--tk-navy);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.55;
}

#content .tk-cmp td small,
.tk-cmp-card dd small {
	display: block;
	margin-top: 4px;
	color: var(--kk-sub);
	font-size: 13px;
	line-height: 1.65;
}

/* 各制度の要点の頭に、制度の色の短い線 */
#content .tk-cmp td b::before {
	content: "";
	display: block;
	width: 22px;
	height: 3px;
	border-radius: 2px;
	margin-bottom: 8px;
}

#content .tk-cmp__cell--kakunin b::before { background: var(--tk-kakunin); }
#content .tk-cmp__cell--kyoka b::before { background: var(--tk-kyoka); }
#content .tk-cmp__cell--gold b::before { background: var(--tk-gold); }

.tk-cmp-cards {
	display: none;
}

#content .tk-cmp-note {
	font-size: 13px !important;
	color: var(--kk-sub);
	margin: 14px 0 0 !important;
}

@media (max-width: 960px) {
	#content .tk-cmp {
		display: none;
	}
	.tk-cmp-cards {
		display: grid;
		gap: 16px;
	}
	.tk-cmp-card {
		background: #fff;
		border-radius: 14px;
		overflow: hidden;
		border: 1px solid var(--kk-line);
	}
	#content .tk-sec .tk-cmp-card__head {
		margin: 0 !important;
		padding: 14px 18px !important;
		color: #fff !important;
		font-size: inherit !important;
	}
	#content .tk-sec .tk-cmp-card--kakunin .tk-cmp-card__head { background: var(--tk-kakunin) !important; }
	#content .tk-sec .tk-cmp-card--kyoka .tk-cmp-card__head { background: var(--tk-kyoka) !important; }
	#content .tk-sec .tk-cmp-card--gold .tk-cmp-card__head { background: var(--tk-gold) !important; }
	.tk-cmp-card dl {
		margin: 0;
		padding: 4px 18px 10px;
	}
	.tk-cmp-card dl > div {
		display: grid;
		grid-template-columns: 6.2em 1fr;
		gap: 10px;
		padding: 12px 0;
		border-top: 1px solid var(--kk-line);
	}
	.tk-cmp-card dl > div:first-child {
		border-top: 0;
	}
	.tk-cmp-card dt {
		font-size: 13px;
		font-weight: 700;
		color: var(--kk-sub);
		padding-top: 2px;
	}
	.tk-cmp-card dd {
		margin: 0;
	}
	.tk-cmp-card dd b {
		font-size: 15px;
	}
}

/* 進め方 */
#content .tk-steps {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	counter-reset: tks;
	margin: 0 !important;
	padding: 0 !important;
}

#content .tk-steps li {
	list-style: none !important;
	position: relative;
	padding: 0 14px !important;
	margin: 0 !important;
	text-align: center;
}

#content .tk-steps li::before {
	counter-increment: tks;
	content: counter(tks);
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: var(--tk-navy);
	color: var(--tk-amber);
	font-weight: 900;
	font-size: 20px;
	font-family: var(--tk-disp);
	position: relative;
	z-index: 1;
}

#content .tk-steps li::after {
	content: "";
	position: absolute;
	top: 22px;
	left: 50%;
	width: 100%;
	border-top: 3px dashed var(--tk-amber);
}

#content .tk-steps li:last-child::after {
	display: none;
}

.tk-steps b {
	display: block;
	color: var(--tk-navy);
	font-size: 16px;
	margin-bottom: 4px;
}

.tk-steps__d {
	font-size: 13.5px;
	color: var(--kk-sub);
	line-height: 1.7;
	display: block;
}

#content .tk-point {
	margin: 40px auto 0 !important;
	max-width: 880px;
	border-left: 6px solid var(--tk-amber);
	background: var(--kk-bg);
	padding: 18px 22px;
	border-radius: 0 10px 10px 0;
}

.tk-point b {
	color: var(--tk-navy);
}

/* 料金 */
.tk-price {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.tk-pcard {
	background: #fff;
	border: 1px solid var(--kk-line);
	border-radius: 14px;
	padding: 24px;
	display: flex;
	flex-direction: column;
}

.tk-pcard--main {
	border: 2px solid var(--tk-amber);
	position: relative;
}

.tk-pcard--main::before {
	content: "まずはここから";
	position: absolute;
	top: -13px;
	left: 20px;
	background: var(--tk-amber);
	color: var(--tk-navy);
	font-weight: 700;
	font-size: 12px;
	padding: 2px 10px;
	border-radius: 4px;
}

.tk-yen {
	font-size: 30px;
	font-weight: 900;
	color: var(--tk-navy);
	font-family: var(--tk-disp);
	line-height: 1.4;
}

.tk-yen small {
	font-size: 14px;
	font-weight: 500;
	color: var(--kk-sub);
}

#content .tk-pcard p {
	font-size: 14px !important;
	color: var(--kk-sub);
	margin: 8px 0 0 !important;
	line-height: 1.8;
}

#content .tk-pcard .tk-pcard__tax {
	margin: 0 !important;
	font-size: 13px !important;
}

#content .tk-pcard ul {
	font-size: 14px;
	margin: 10px 0 0 !important;
	padding-left: 1.2em !important;
}

#content .tk-pcard li {
	margin: 0 !important;
	line-height: 1.8;
}

#content .tk-fees {
	margin: 24px 0 0 !important;
	background: #fff;
	border-radius: 12px;
	border: 1px dashed var(--kk-line);
	padding: 18px 22px;
	font-size: 14px !important;
}

.tk-fees b {
	color: var(--tk-navy);
}

#content .tk-more {
	text-align: right;
	margin: 12px 0 0 !important;
	font-weight: 700;
}

/* 最新の動き */
.tk-news {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.tk-news article {
	background: var(--kk-bg);
	border: 1px solid var(--kk-line);
	border-radius: 12px;
	padding: 20px;
}

#content .tk-news__date {
	font-size: 12px !important;
	font-weight: 700;
	color: var(--kk-orange);
	margin: 0 !important;
}

#content .tk-news p {
	font-size: 14px !important;
	color: var(--kk-sub);
	margin: 0 !important;
	line-height: 1.8;
}

/* 選ばれている理由 */
.tk-why {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.tk-why > div {
	background: var(--tk-navy);
	color: #fff;
	border-radius: 14px;
	padding: 24px;
}

.tk-why b {
	display: block;
	font-family: var(--tk-disp);
	font-size: 20px;
	color: var(--tk-amber);
	margin-bottom: 6px;
	line-height: 1.5;
}

.tk-why span {
	font-size: 14.5px;
	color: #cfd9e6;
	line-height: 1.8;
}

/* 記事下の関連記事（tk-related.php は新デザインでは出さない） */

/* メニューの並び（tokusya は LINE の欄がないので番号がずれる）：About → 記事の分類 → プロフィール */
#menu > div.menulist:nth-of-type(1) { order: 1; }
#menu > div.menulist:nth-of-type(n+3) { order: 2; }
#menu > div.menulist:nth-of-type(2) { order: 6; }
#menu > #menu-freespace { order: 7; }

/* 事前調査でお送りいただくもの */
#content .tk-docs {
	counter-reset: tkd;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin: 0 !important;
	padding: 0 !important;
}

#content .tk-docs li {
	list-style: none !important;
	margin: 0 !important;
	background: var(--kk-bg);
	border: 1px solid var(--kk-line);
	border-radius: 12px;
	padding: 18px 18px 16px 62px !important;
	position: relative;
	line-height: 1.7;
}

#content .tk-docs li::before {
	counter-increment: tkd;
	content: counter(tkd);
	position: absolute;
	left: 18px;
	top: 18px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--tk-amber);
	color: var(--tk-navy);
	font-weight: 900;
	font-family: var(--tk-disp);
	display: grid;
	place-items: center;
}

.tk-docs b {
	display: block;
	color: var(--tk-navy);
	font-size: 16px;
}

.tk-docs li > span {
	display: block;
	font-size: 13.5px;
	color: var(--kk-sub);
}

#content .tk-docs__note {
	margin: 18px auto 0 !important;
	text-align: center;
	font-size: 14px !important;
	color: var(--kk-sub);
}

@media (max-width: 960px) {
	#content .tk-docs {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 600px) {
	#content .tk-docs {
		grid-template-columns: 1fr;
	}
	#content .tk-docs__note {
		text-align: left;
	}
}

/* ご自身で試す（確認制度のお試し検索） */
.tk-self {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 24px;
	align-items: start;
}

#content .tk-self__steps {
	counter-reset: tks2;
	margin: 0 !important;
	padding: 0 !important;
	display: grid;
	gap: 12px;
}

#content .tk-self__steps li {
	list-style: none !important;
	margin: 0 !important;
	background: #fff;
	border: 1px solid var(--kk-line);
	border-radius: 12px;
	padding: 16px 18px 14px 62px !important;
	position: relative;
	line-height: 1.7;
}

#content .tk-self__steps li::before {
	counter-increment: tks2;
	content: counter(tks2);
	position: absolute;
	left: 18px;
	top: 16px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--tk-kakunin);
	color: #fff;
	font-weight: 900;
	font-family: var(--tk-disp);
	display: grid;
	place-items: center;
}

.tk-self__steps b {
	display: block;
	color: var(--tk-navy);
	font-size: 16px;
}

.tk-self__steps li > span {
	display: block;
	font-size: 13.5px;
	color: var(--kk-sub);
}

#content .tk-self__links {
	margin: 0 !important;
	padding: 20px !important;
	background: var(--tk-navy);
	border-radius: 12px;
}

#content .tk-self__links li {
	list-style: none !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
}

#content .tk-self__links li:last-child {
	margin-bottom: 0 !important;
}

#content .tk-self__links a {
	display: block;
	color: #fff !important;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 8px;
	padding: 12px 40px 12px 14px;
	position: relative;
	line-height: 1.6;
}

#content .tk-self__links a::after {
	content: "↗";
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--tk-amber);
}

#content .tk-self__links a:hover {
	background: rgba(255, 255, 255, 0.08);
}

#content .tk-self__help {
	margin: 20px 0 0 !important;
	border-left: 6px solid var(--tk-kakunin);
	background: #fff;
	padding: 16px 20px;
	border-radius: 0 10px 10px 0;
	font-size: 15px !important;
}

.tk-self__help b {
	color: var(--tk-navy);
}

@media (max-width: 960px) {
	.tk-self {
		grid-template-columns: 1fr;
	}
}

/* ---------- タブレット・スマホ ---------- */
@media (max-width: 960px) {
	.tk-hero__in {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 40px 24px 72px;
	}
	.tk-hero .tk-hero__title {
		font-size: 32px;
	}
	.tk-cases {
		grid-template-columns: 1fr;
	}
	#content .tk-steps {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	#content .tk-steps li {
		display: grid;
		grid-template-columns: 46px 1fr;
		gap: 14px;
		text-align: left;
		padding: 0 !important;
	}
	#content .tk-steps li::before {
		margin: 0;
	}
	#content .tk-steps li::after {
		top: 46px;
		left: 22px;
		width: 0;
		height: calc(100% - 28px);
		border-top: 0;
		border-left: 3px dashed var(--tk-amber);
	}
	.tk-price,
	.tk-why,
	.tk-news {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.tk-hero__in {
		padding: 32px 16px 64px;
	}
	.tk-hero .tk-hero__title {
		font-size: clamp(22px, 6.4vw, 28px);
	}
	.tk-hero .tk-hero__title .kk-nb,
	.tk-eyebrow .kk-nb {
		display: inline-block;
	}
	.tk-hero__lead {
		font-size: 15.5px !important;
	}
	.tk-btn {
		width: 100%;
	}
	#content .tk-sec {
		padding: 48px 16px;
	}
	#content a.tk-case {
		grid-template-columns: 1fr auto;
		grid-template-areas: "no arrow" "q arrow" "a arrow";
		padding: 18px;
	}
	.tk-case__no {
		border-right: 0;
		padding: 0;
	}
	.tk-diag {
		padding: 20px;
	}
}

/* ヘッダー：tokusya はメニューが5つあるので、横幅が足りないときは早めに「メニュー」ボタンにまとめる */
.kk-header .kk-nav {
	gap: 18px;
}

.kk-header .kk-nav a {
	font-size: 14px;
}

.kk-header .kk-header__in {
	gap: 22px;
}

@media (max-width: 1240px) {
	.kk-header .kk-nav {
		display: none;
	}
}
