/* =========================================================
   トップページ改修（2026-10）
   トップが縦に長いため、各部品の高さを詰め、GA4 で次に見られているページ（解決実績・費用・流れ）への入口を目立たせる。
   読み込みはトップだけ（functions/load.php の child-home-top）。
   色はテーマの CSS 変数（--theme-color 紺 / --sub-color 金 / --accent-color）を使う。
   部品と module の対応
     導入文と数字 ........ kl-   modules/home-lead-kjc.php
     解決実績・メディア ... kp-proof / kp-row   modules/home-jisseki-kjc.php
     費用と流れの入口 .... kp-next   modules/home-soudan-kjc.php（child_home_next_links）
     問い合わせ欄 ........ kpm   class/cta/cta.php（show_home_compact）
     取扱分野 ............ kp-field-b / kp-ficon   modules/home-field-v2.php（CSS は css/field-list.css）
     コラム .............. kp-columns   modules/home-column.php
     選ばれる理由・余白 ... 親テーマの部品に CSS だけを当てる
   親テーマの部品に当てる指定は、親テーマの CSS より強く効かせるため :not(#kp-top) を付けて ID と同じ強さにしている
   （部品の ID は検証環境と本番で違うことがあるので、ID そのものは使わない）
=========================================================*/

/* ---------- 導入文と数字 ---------- */
/* =========================================================
   トップ：導入文＋数字ブロック（kl- = keiji lead）v3
   トップが縦に長いため、PC は幅を使って 2 列（左：本文／右：数字）にし、高さを抑える
   置き換え対象：追加CSSの .home-lead* / .home-lead__stats* / .cs-* と
   ウィジェット内の <style>（.home-lead-content 等）
   色はテーマの CSS 変数（--theme-color 紺 / --sub-color 金）を使う
========================================================= */
.kl-lead {
	padding: 56px 16px;
	background: #fff;
}
.kl-lead__inner {
	max-width: 1200px;
	margin: 0 auto;
}

/* 見出し：既存の .home__title と同じ明朝・下線の型 */
.kl-lead__title {
	margin: 0;
	text-align: center;
	font-family: "Noto Serif JP", serif;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.06em;
	color: var(--theme-color);
}
.kl-lead__title::after {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	margin: 16px auto 0;
	background: var(--sub-color);
}

/* PC：左に本文、右に数字 */
.kl-lead__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	gap: 48px;
	align-items: center;
	margin-top: 36px;
}

.kl-lead__body p {
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.9;
	letter-spacing: 0.02em;
	color: #333;
}
.kl-lead__body .kl-lead__first {
	margin-bottom: 16px;
	font-size: 16px;
	color: #1b2d3e;
}
.kl-lead__point {
	display: block;
	margin-top: 4px;
	font-family: "Noto Serif JP", serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.6;
	color: var(--theme-color);
}
.kl-lead__body strong {
	font-weight: 700;
	color: var(--theme-color);
}

/* 拠点・受付：見出し付きの 1 行 */
.kl-lead__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 16px 0 0;
}
.kl-lead__facts > div {
	display: flex;
	align-items: center;
	gap: 10px;
}
.kl-lead__facts dt {
	padding: 1px 8px;
	background: var(--theme-color);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	color: #fff;
}
.kl-lead__facts dd {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: #1b2d3e;
}

/* 数字：右列に 3 行。数字・説明・リンクを 1 行に収める */
.kl-stats {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #d6dde6;
}
.kl-stats__item {
	display: grid;
	grid-template-columns: 112px 1fr;
	grid-template-areas: "fig label" "fig link";
	align-items: center;
	column-gap: 16px;
	padding: 14px 4px;
	border-bottom: 1px solid #d6dde6;
}
.kl-stats__figure {
	grid-area: fig;
	display: flex;
	align-items: baseline;
	justify-content: flex-end;
	gap: 4px;
	margin: 0;
	color: var(--theme-color);
}
.kl-stats__num {
	font-family: "Noto Serif JP", serif;
	font-size: 48px;
	font-weight: 500;
	line-height: 1;
}
.kl-stats__unit {
	font-size: 15px;
	font-weight: 600;
}
.kl-stats__label {
	grid-area: label;
	align-self: end;
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: #555;
}

/* リンク：文字リンク＋矢印。行全体の高さを増やさない */
.kl-stats .kl-stats__link {
	position: static;
	padding: 0;
	border: 0;
	background: none;
	letter-spacing: 0.02em;
	grid-area: link;
	align-self: start;
	justify-self: start;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	font-size: 14px;
	font-weight: 600;
	color: var(--theme-color);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.kl-stats .kl-stats__link::after {
	font-family: inherit;
	font-size: 0;
	content: "";
	width: 6px;
	height: 6px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}
.kl-stats .kl-stats__link:hover {
	text-decoration: none;
}

/* タブレット以下：1 列 */
@media screen and (max-width: 1023px) {
	.kl-lead__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}
@media screen and (max-width: 767px) {
	.kl-lead {
		padding: 40px 16px;
	}
	.kl-lead__title {
		font-size: 22px;
	}
	.kl-lead__grid {
		margin-top: 24px;
	}
	.kl-lead__point {
		font-size: 17px;
	}
	.kl-stats__item {
		grid-template-columns: 80px 1fr;
		column-gap: 12px;
		padding: 12px 0;
	}
	.kl-stats__label {
		font-size: 12px;
	}
	.kl-stats__num {
		font-size: 40px;
	}
}

/* 数字はカード 3 枚を横並び（PC）／縦並び（SP） */
/* 1 数字カード */
.kl-lead__grid{grid-template-columns:1fr!important;gap:32px!important;max-width:960px;margin-left:auto!important;margin-right:auto!important}
.kl-stats{display:grid!important;grid-template-columns:repeat(3,1fr);gap:24px;border-top:0!important}
.kl-stats__item{display:flex!important;flex-direction:column;align-items:center;padding:28px 20px 24px!important;background:#f6f8fb;border-top:3px solid var(--theme-color);border-bottom:0!important;text-align:center}
.kl-stats__figure{justify-content:center!important}
.kl-stats__num{font-size:56px!important}
.kl-stats__label{margin:10px 0 0!important;font-size:14px!important;align-self:auto!important}
.kl-stats .kl-stats__link{justify-self:auto!important;align-self:auto!important;margin-top:16px!important;min-width:160px;min-height:44px;justify-content:center;padding:0 20px!important;border:1px solid var(--theme-color)!important;background:#fff!important;text-decoration:none!important}
.kl-stats .kl-stats__link:hover{background:var(--theme-color)!important;color:#fff!important}
@media screen and (max-width:767px){.kl-stats{grid-template-columns:1fr;gap:12px}.kl-stats__item{display:grid!important;grid-template-columns:80px 1fr;grid-template-areas:"fig label" "fig link";column-gap:12px;padding:16px!important;border-top:0;border-left:3px solid var(--theme-color);text-align:left}.kl-stats__num{font-size:40px!important}.kl-stats__label{margin:0!important;font-size:12px!important}.kl-stats .kl-stats__link{justify-self:start!important;margin-top:8px!important;min-width:0;min-height:36px;padding:0 14px!important;font-size:13px}}
/* 2 解決実績・メディア */
.widget_home_jisseki_kjc:not(#kp-top){padding:64px 16px!important;background:#fff}
.kp-proof{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.kp-proof__head{display:flex;align-items:baseline;justify-content:space-between;min-height:44px;border-bottom:2px solid var(--theme-color);padding-bottom:12px;margin-bottom:4px}
.kp-proof__title{margin:0;font-family:"Noto Serif JP",serif;font-size:24px;font-weight:600;color:var(--theme-color);letter-spacing:.04em}
.kp-proof__count{font-size:13px;font-weight:700;color:#8a6d00}
.kp-list{list-style:none;margin:0;padding:0}
.kp-row a{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"date tag" "title title";gap:4px 10px;align-items:center;padding:12px 4px;border-bottom:1px solid #e3e7ee;color:#1b2d3e;text-decoration:none!important}
.kp-row a *{text-decoration:none!important}
.kp-row a:hover .kp-row__title{color:var(--theme-color);text-decoration:underline!important}
.kp-row__date{grid-area:date;font-size:12px;color:#888}
.kp-row__tag{grid-area:tag;justify-self:start;padding:1px 8px;font-size:12px;font-weight:700;line-height:1.7;border:1px solid var(--theme-color);background:var(--theme-color);color:#fff}
.kp-row--media .kp-row__tag{background:#fff;color:var(--theme-color)}
.kp-row__title{grid-area:title;font-size:16px;font-weight:700;line-height:1.6;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.kp-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;margin-top:14px}
.kp-proof{align-items:stretch!important}.kp-proof>div{display:flex;flex-direction:column}.kp-proof .kp-links{margin-top:auto!important;padding-top:14px}.kp-links a.kp-more{margin:0!important;min-height:0!important;line-height:1.5!important}
a.kp-more{display:inline-flex!important;align-items:center;gap:8px;width:auto!important;height:auto!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;font-size:14px;font-weight:700;color:var(--theme-color)!important;text-decoration:underline;text-underline-offset:3px}
a.kp-more::after{content:""!important;display:inline-block!important;position:static!important;width:6px!important;height:6px!important;border-top:2px solid currentColor!important;border-right:2px solid currentColor!important;border-left:0!important;border-bottom:0!important;background:none!important;transform:rotate(45deg)!important}
a.kp-more--sub{color:#8a6d00!important}
@media screen and (max-width:767px){.kp-proof{grid-template-columns:1fr;gap:40px}.kp-proof__title{font-size:20px}}
/* 3 費用と流れ */
.kp-next{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:960px;margin:32px auto 0;align-items:stretch}
.kp-next__item{display:grid!important;grid-template-columns:1fr auto;grid-template-areas:"label arrow" "text arrow";gap:4px 16px;align-items:center;margin:0!important;height:auto!important;padding:18px 24px;border:1px solid var(--theme-color);background:#fff;color:#1b2d3e!important;text-decoration:none!important}
.kp-next__item::after{content:"";grid-area:arrow;width:8px;height:8px;border-top:2px solid var(--theme-color);border-right:2px solid var(--theme-color);transform:rotate(45deg)}
.kp-next__item--main{background:var(--theme-color);color:#fff!important}
.kp-next__item--main::after{border-color:#fff}
.kp-next__label{grid-area:label;font-family:"Noto Serif JP",serif;font-size:19px;font-weight:700}
.kp-next__item--main .kp-next__label{color:var(--sub-color)}
.kp-next__text{grid-area:text;font-size:13px;line-height:1.6}
@media screen and (max-width:767px){.kp-next{grid-template-columns:1fr}}
/* 4 選ばれる理由 */
.widget_home_reason:not(#kp-top) .home_reason-main{counter-reset:reason;gap:24px;align-items:stretch}
.widget_home_reason:not(#kp-top) .home_reason-main-div{counter-increment:reason;display:flex;flex-direction:column;background:#fff;box-shadow:0 2px 12px rgba(0,16,103,.08);padding:0 0 24px;overflow:hidden}
.widget_home_reason:not(#kp-top) .home_reason-main-div__img{width:100%;height:180px;object-fit:cover;border-bottom:3px solid var(--theme-color);margin:0}
.widget_home_reason:not(#kp-top) .home_reason-main-div__title{position:relative;margin:20px 24px 0;padding-top:28px;text-align:left;font-family:"Noto Serif JP",serif;font-size:19px;line-height:1.5;text-wrap:balance;color:var(--theme-color)}
.widget_home_reason:not(#kp-top) .home_reason-main-div__title::before{content:"理由 " counter(reason,decimal-leading-zero);position:absolute;top:0;left:0;font-size:12px;font-weight:600;letter-spacing:.16em;color:#b08d00}
.widget_home_reason:not(#kp-top) .home_reason-main-div__title::after{content:"";display:block;width:32px;height:2px;margin-top:12px;background:var(--sub-color)}
.widget_home_reason:not(#kp-top) .home_reason-main-div__title br.sp-only{display:none}
.widget_home_reason:not(#kp-top) .home_reason-main-div__text{margin:14px 24px 0;font-size:14.5px;line-height:1.9;color:#444}
.widget_home_reason:not(#kp-top) .home_reason-main-div__text b{color:var(--theme-color)}
/* 5 問い合わせ欄（小さい版） */
section.widget_main_cta_kjc:has(.kp-cta-mini){margin:0!important;padding:24px 16px!important}
.cta.kp-cta-mini{width:auto!important;max-width:100%!important;margin:0!important;padding:0!important;min-height:0!important;left:auto!important;right:auto!important;transform:none!important;position:static!important}
.kpm{display:grid;grid-template-columns:1fr auto;grid-template-areas:"left buttons" "note note";align-items:center;gap:12px 32px;width:100%;max-width:1200px;box-sizing:border-box;margin:0 auto;padding:20px 28px;border:2px solid var(--theme-color);background:#fff}
.kpm__left{grid-area:left}
.kpm__label{margin:0;font-size:14px;font-weight:700;color:var(--theme-color)}
.kpm__tel{margin:4px 0 0;font-family:"Noto Serif JP",serif;font-size:30px;font-weight:700;line-height:1.2;color:#1b2d3e}
.kpm__tel span{display:block;font-size:12px;font-weight:400;color:#555}
.kpm .cta__button-items{grid-area:buttons;margin:0!important;display:flex!important;gap:12px}
.kpm .cta__button-items > a{display:inline-flex!important;align-items:center;justify-content:center;gap:10px;min-width:220px;min-height:52px;margin:0!important;padding:0 22px;font-size:15px!important;font-weight:700;text-decoration:none;box-shadow:0 2px 0 rgba(0,0,0,.15)}
.kpm .cta__button-items > a br{display:none}
.kpm .cta__button-items > a img{width:22px!important;height:22px!important;object-fit:contain;margin:0}
.kpm .cta__button-items > a::after{position:static!important;transform:none!important;top:auto!important}
.kpm a.cta__button{background:var(--accent-color,#e9ba00)!important;color:#1b2d3e!important;border:0!important}
.kp-cta-mini .kpm a.cta-main-contact-line__link{background-color:#06c755!important;background-image:none!important;color:#fff!important;border:0!important}
.kpm__note{grid-area:note;border-top:1px solid #e3e7ee;padding-top:8px}
.kpm__note .cta-banner-bottom{margin:0;padding:0;background:none}
.kpm__note .cta-banner-bottom__text{margin:0;font-size:11px;line-height:1.6;color:#666;text-align:left}
@media screen and (max-width:900px){.kpm{grid-template-columns:1fr;grid-template-areas:"left" "buttons" "note";padding:16px}.kpm .cta__button-items{flex-direction:column}.kpm .cta__button-items > a{min-width:0}}
/* 6 コラム */
section.widget_home_column:has(> .kp-columns:not(#kp-top)){margin:0!important;padding:64px 16px!important}
.kp-columns:not(#kp-top){padding-top:0!important;padding-bottom:0!important}
.kp-columns:not(#kp-top) .home_column__title{margin-bottom:32px!important}
.kp-columns:not(#kp-top) .home_column-main{display:grid!important;grid-template-columns:1fr 1fr;grid-template-areas:"k b" "kl bl";gap:0 48px;max-width:1200px;margin:0 auto}
.kp-columns:not(#kp-top) .home_column-main > :nth-child(1){grid-area:k}
.kp-columns:not(#kp-top) .home_column-main > :nth-child(2){grid-area:kl}
.kp-columns:not(#kp-top) .home_column-main > :nth-child(3){grid-area:b}
.kp-columns:not(#kp-top) .home_column-main > :nth-child(4){grid-area:bl}
.kp-columns:not(#kp-top) .home_posts{margin:0!important;padding:0!important}
.kp-columns:not(#kp-top) .home_posts__title{margin:0 0 4px!important;padding-bottom:10px;border-bottom:2px solid var(--theme-color);font-family:"Noto Serif JP",serif;font-size:20px!important;color:var(--theme-color)}
.kp-columns:not(#kp-top) .home_posts__title::before{display:none!important}
.kp-columns:not(#kp-top) .home_posts-ul{display:block!important;margin:0!important;padding:0!important}
.kp-columns:not(#kp-top) .home_posts-li{width:auto!important;max-width:none!important;margin:0!important;border-bottom:1px solid #e3e7ee}
.kp-columns:not(#kp-top) .home_posts-li-detail__card{display:grid!important;grid-template-columns:128px 1fr;gap:16px;align-items:center;padding:14px 0!important;box-shadow:none!important;background:none!important;height:auto!important;border:0!important}
.kp-columns:not(#kp-top) .home_posts-li-detail__card::before,.kp-columns:not(#kp-top) .home_posts-li-detail__card::after,.kp-columns:not(#kp-top) .home_posts-li-top::before,.kp-columns:not(#kp-top) .home_posts-li-top::after{display:none!important}
.kp-columns:not(#kp-top) .home_posts-li-top,.kp-columns:not(#kp-top) .home_posts-li-top__image{display:block!important;width:128px!important;max-width:128px!important;height:72px!important;margin:0!important;padding:0!important;overflow:hidden;border:0!important;position:static!important;box-sizing:border-box!important}
.kp-columns:not(#kp-top) .home_posts-li-top *{border:0!important;box-shadow:none!important}
.kp-columns:not(#kp-top) .home_posts-li-top__image img{display:block;width:128px!important;height:72px!important;object-fit:cover}
.kp-columns:not(#kp-top) .home_posts-li-detail{display:flex!important;flex-wrap:wrap;align-items:center;gap:4px 10px;padding:0!important;margin:0!important;width:100%!important;max-width:none!important;position:static!important;transform:none!important;min-width:0}
.kp-columns:not(#kp-top) .home_posts-li-detail__date{order:1;flex-basis:100%;font-size:12px;color:#888;margin:0!important}
.kp-columns:not(#kp-top) .cpt-categories{order:2;margin:0!important}
.kp-columns:not(#kp-top) .cpt-categories__category{font-size:11px!important;padding:0 6px!important;line-height:1.7!important}
.kp-columns:not(#kp-top) .home_posts-li-detail__title{order:3;flex-basis:100%;width:100%!important;max-width:none!important;margin:0!important;font-size:15px!important;font-weight:700;line-height:1.5;color:#1b2d3e;overflow:hidden;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.kp-columns:not(#kp-top) .home_posts-li-detail__text,.kp-columns:not(#kp-top) .home_posts-li-detail__bottom{display:none!important}
.kp-columns:not(#kp-top) a.home_column__link{justify-self:start;display:inline-flex!important;align-items:center;gap:8px;width:auto!important;height:auto!important;min-height:0!important;margin:24px 0 0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;font-size:14px!important;font-weight:700;color:var(--theme-color)!important;text-decoration:underline;text-underline-offset:3px}
.kp-columns:not(#kp-top) a.home_column__link::before{display:none!important}
.kp-columns:not(#kp-top) a.home_column__link::after{position:static!important;transform:none!important}
@media screen and (max-width:767px){section.widget_home_column:has(> .kp-columns:not(#kp-top)){padding:40px 16px!important}.kp-columns:not(#kp-top) .home_column-main{grid-template-columns:1fr;grid-template-areas:"k" "kl" "b" "bl";gap:0}.kp-columns:not(#kp-top) .home_column-main > :nth-child(3){margin-top:36px!important}.kp-columns:not(#kp-top) .home_posts-li-detail__card{grid-template-columns:96px 1fr;gap:12px}.kp-columns:not(#kp-top) .home_posts-li-top,.kp-columns:not(#kp-top) .home_posts-li-top__image{width:96px!important;max-width:96px!important;height:54px!important}.kp-columns:not(#kp-top) .home_posts-li-top__image img{width:96px!important;height:54px!important}}
/* 7 余白 */
.widget_home-soudan:not(#kp-top) .home_soudan,.widget_home_reason:not(#kp-top) > .home_reason,.widget_home_news_kjc:not(#kp-top) > *{padding-top:64px!important;padding-bottom:64px!important}
.widget_home_field:not(#kp-top){padding-top:64px!important;padding-bottom:64px!important}
.widget_home-soudan:not(#kp-top) .home__title,.widget_home_reason:not(#kp-top) .home__title,.widget_home_field:not(#kp-top) .home__title,.widget_home_news_kjc:not(#kp-top) .home__title{margin-bottom:32px!important}
.widget_home-soudan:not(#kp-top) .home_soudan-wrapper{margin:24px 0 32px!important}
.widget_home-soudan:not(#kp-top) .home_soudan-content{padding-top:18px!important;padding-bottom:24px!important;margin-bottom:22px!important}
.widget_home-soudan:not(#kp-top) .home_soudan__ul{margin-top:14px!important}
@media screen and (max-width:767px){.widget_home-soudan:not(#kp-top) .home_soudan,.widget_home_reason:not(#kp-top) > .home_reason,.widget_home_news_kjc:not(#kp-top) > *,.widget_home_field:not(#kp-top),.widget_home_jisseki_kjc:not(#kp-top){padding-top:40px!important;padding-bottom:40px!important}}
/* 取扱分野の一覧の見た目は css/field-list.css（トップ・/field/・親ページの下で共通） */

/* ---------- 問い合わせ欄（1 回目）・取扱分野（一覧表） ---------- */
.kpm--first{grid-template-areas:"head head" "left buttons" "access access" "note note";border-width:3px}
.kpm__head{grid-area:head;margin:-20px -28px 4px;padding:10px 28px;background:var(--theme-color);color:#fff;font-family:"Noto Serif JP",serif;font-size:20px;font-weight:700;letter-spacing:.06em}
.kpm__head strong{color:var(--sub-color);font-size:24px;margin-left:4px}
.kpm__head span{margin-left:12px;font-size:12px;font-weight:400;color:rgba(255,255,255,.75)}
.kpm--first .kpm__tel{font-size:36px}
.kpm__access{grid-area:access;display:flex;align-items:center;gap:16px;font-size:13px;color:#1b2d3e}
.kpm__access>span{font-weight:700}
.kpm__access .cta__tel-items{display:flex!important;gap:16px;margin:0!important;padding:0!important;position:static!important}
.kpm__access .cta__tel-item{margin:0!important;padding:0!important;font-size:13px!important;width:auto!important;min-height:0!important}
@media screen and (max-width:900px){.kpm--first{grid-template-areas:"head" "left" "buttons" "access" "note"}.kpm__head{margin:-16px -16px 4px;padding:10px 16px;font-size:17px}.kpm__head span{display:block;margin:2px 0 0}.kpm__access{flex-wrap:wrap}}

/* 問い合わせ欄（SP・タブレット）の電話ボタン：元は帯の画像に重ねる作りなので、枠の中でボタンの形にする。
   親テーマの sp-only が表示される幅（1023px 以下）に合わせる */
@media screen and (max-width:1023px){
.kpm .cta-banner__tel--sp{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;margin:12px 0 0;padding:10px 12px;min-height:60px;box-sizing:border-box;background:var(--accent-color,#e9ba00);color:#1b2d3e!important;font-weight:700;text-decoration:none!important;box-shadow:0 2px 0 rgba(0,0,0,.15)}
.kpm .cta-banner__tel--sp::before{display:none!important}
.kpm .cta-banner__tel--sp .cta-banner__tel-top-text{margin:0;font-size:12px;line-height:1.4;color:#1b2d3e}
.kpm .cta-banner__tel--sp .cta-banner__tel-number{margin:0;font-family:"Noto Serif JP",serif;font-size:22px;line-height:1.3;color:#1b2d3e}
}
@media screen and (max-width:900px){.kpm .cta__button-items > a{width:100%!important;max-width:none!important;box-sizing:border-box}}

/* =========================================================
   全体の統一（2026-10-09）
   見出し・ボタン・背景色が部品ごとにばらばらだったのをそろえる
========================================================= */

/* 1. 大見出し：中央寄せ・紺・明朝・下に金の線（導入文の h1 と同じ型） */
.content.home:not(#kp-top) .home__title{font-family:"Noto Serif JP",serif!important;font-size:28px!important;font-weight:600!important;line-height:1.5!important;letter-spacing:.06em!important;color:var(--theme-color)!important;text-align:center;text-wrap:balance}
.content.home:not(#kp-top) .home__title span{color:inherit!important}
/* 小見出し（コラムの「刑事事件コラム」など）：解決実績の見出しと同じ型 */
.kp-columns:not(#kp-top) .home_posts__title{font-weight:600!important;letter-spacing:.04em!important}
@media screen and (max-width:767px){
	.content.home:not(#kp-top) .home__title{font-size:22px!important}
	.kl-lead__title{text-wrap:balance}
}

/* 2. 一覧へのボタン：「ご相談内容一覧」以外は小さくする */
.content.home:not(#kp-top) a.home_reason__button,
.content.home:not(#kp-top) a.home_service8__button,
.widget_home_news_kjc:not(#kp-top) a.home_column__link{display:block;width:fit-content!important;min-width:320px;max-width:90vw!important;min-height:0!important;height:auto!important;margin:32px auto 0!important;padding:14px 48px!important;font-size:16px!important;line-height:1.5!important;box-sizing:border-box}

/* 5. 背景色：白とベージュを交互にする（まとまりの切れ目を分かりやすく） */
.widget_home_lead_kjc:not(#kp-top),
.widget_home_lead_kjc:not(#kp-top) .kl-lead{background:#fff!important}
.widget_home_jisseki_kjc:not(#kp-top){background:#f8f7f4!important}
.widget_home-soudan:not(#kp-top){background:#fff!important}
.widget_home-soudan:not(#kp-top) .home_soudan{background:transparent!important}
.widget_home_reason:not(#kp-top),
.widget_home_reason:not(#kp-top) > .home_reason{background:#f8f7f4!important}
.widget_home_field:not(#kp-top){background:#fff!important}
/* コラムの部品は幅が 1200px に制限されているので、背景だけ画面の端まで伸ばす */
section.widget_home_column:has(> .kp-columns:not(#kp-top)){background:#f8f7f4!important;box-shadow:0 0 0 100vmax #f8f7f4;clip-path:inset(0 -100vmax)}
.kp-columns:not(#kp-top) .home_column-main{max-width:100%!important;box-sizing:border-box}
.widget_home_news_kjc:not(#kp-top),
.widget_home_news_kjc:not(#kp-top) > *{background:#fff!important}

/* 6. 問い合わせ欄の「（対象は下の注釈のとおり）」を読みやすく */
.kpm__head span{color:rgba(255,255,255,.9)!important}
/* コラムの中身を取扱分野などと同じ幅・位置にそろえる（親テーマの幅 1200px 固定に左右の余白が足されてはみ出していた） */
.kp-columns:not(#kp-top){width:auto!important;max-width:none!important}
@media screen and (min-width:768px){
	section.widget_home_column:has(> .kp-columns:not(#kp-top)){padding-left:0!important;padding-right:0!important}
}
@media screen and (max-width:767px){
	.content.home:not(#kp-top) a.home_reason__button,
	.content.home:not(#kp-top) a.home_service8__button,
	.widget_home_news_kjc:not(#kp-top) a.home_column__link{padding:14px 40px 14px 24px!important;font-size:15px!important}
}

/* 見出しの下から中身までを 32px（見出しの margin-bottom）にそろえる。
   親テーマの部品ごとに中身の上の余白が違っていた（選ばれる理由 85px、最新情報 30px、ご相談・取扱分野 24px） */
.widget_home_reason:not(#kp-top) .home_reason-main{margin-top:0!important}
.widget_home_news_kjc:not(#kp-top) .home_column-main > .home_posts:first-child{margin-top:0!important}
.widget_home-soudan:not(#kp-top) .home_soudan-wrapper,
.widget_home_field:not(#kp-top) .home_field_content{margin-top:0!important}
/* 「お急ぎで弁護士をお探しの方へ」：見出しのすぐ下に置き、下のカードとの間を空ける */
.widget_home-soudan:not(#kp-top) .home_soudan__text{margin:0 0 24px!important}

/* =========================================================
   文字の大きさと余白のルール（2026-10-09）
   文字（PC）：大見出し 28 明朝／小見出し 20 明朝／カードの見出し 18 明朝／一覧の記事タイトル 16 太字／
              本文 15／日付・ラベル 12／大きいボタン 20・小さいボタン 16・文字リンク 14
   余白：部品の上下 64（SP 40）／見出しの下 32／中身からボタン 32・文字リンク 24／問い合わせ欄の上下 48（SP 32）
========================================================= */
/* 小見出し 20 */
.kp-proof__title{font-size:20px!important}
.widget_home-soudan:not(#kp-top) .home_soudan__subtitle{font-family:"Noto Serif JP",serif!important;font-size:20px!important;font-weight:600!important;color:var(--theme-color)}
/* 紺の背景の「ご相談事項」だけは白 */
.widget_home-soudan:not(#kp-top) .home_soudan-content:last-child .home_soudan__subtitle{color:#fff!important}
/* カードの見出し 18 */
.widget_home_reason:not(#kp-top) .home_reason-main-div__title{font-size:18px!important}
.kp-next__label{font-size:18px!important}
/* 一覧の記事タイトル 16 */
.kp-columns:not(#kp-top) .home_posts-li-detail__title{font-size:16px!important}
/* 本文 15 */
.widget_home_reason:not(#kp-top) .home_reason-main-div__text{font-size:15px!important}
.widget_home-soudan:not(#kp-top) .home_soudan-li__title,
.widget_home-soudan:not(#kp-top) .home_soudan__text{font-size:15px!important}
/* 日付・ラベル 12 */
.widget_home_news_kjc:not(#kp-top) .date,
.widget_home_news_kjc:not(#kp-top) time{font-size:12px!important}
.widget_home_news_kjc:not(#kp-top) .news-archive-li__category,
.kp-columns:not(#kp-top) .cpt-categories__category{font-size:12px!important}
/* 大きいボタン 20 */
.widget_home-soudan:not(#kp-top) a.home_soudan__button{font-size:20px!important}

/* 余白：導入文の下 64 */
.kl-lead{padding-top:64px!important;padding-bottom:64px!important}
/* 余白：問い合わせ欄の上下 48 */
section.widget_main_cta_kjc:has(.kp-cta-mini){padding:48px 16px!important;margin:0!important}
.cta.kp-cta-mini,.kp-cta-mini .kpm{margin-top:0!important;margin-bottom:0!important}
/* 余白：中身からボタン 32、文字リンク 24 */
.widget_home_reason:not(#kp-top) .home_reason-main{margin-bottom:0!important;padding-bottom:0!important}
.content.home:not(#kp-top) a.home_reason__button,
.widget_home_news_kjc:not(#kp-top) a.home_column__link{margin-top:32px!important}
.widget_home_news_kjc:not(#kp-top) .home_posts{margin-bottom:0!important;padding-bottom:0!important}
.kp-proof .kp-links{padding-top:24px!important}
@media screen and (max-width:767px){
	.kl-lead{padding-top:40px!important;padding-bottom:40px!important}
	section.widget_main_cta_kjc:has(.kp-cta-mini){padding:32px 16px!important}
}

/* 問い合わせ欄に弁護士の写真を入れる（案 B、2026-10-09）
   元の帯の画像（初期設定 common-cta-fr）にあった写真を切り抜いたもの（img/cta-lawyer.png）。PC・タブレット横（901px 以上）だけ */
@media screen and (min-width:901px){
	.kpm{position:relative}
	.kpm::before{content:"";position:absolute;left:20px;bottom:0;z-index:2;background:url(../img/cta-lawyer.png) left bottom/contain no-repeat;background-image:image-set(url(../img/cta-lawyer.png) 1x,url(../img/cta-lawyer_2x.png) 2x);pointer-events:none}
	/* 1 つ目：写真の頭が紺の帯にかかる（元の帯と同じ見せ方） */
	.kpm--first{padding-left:250px}
	.kpm--first::before{width:224px;height:270px}
	.kpm--first .kpm__head{margin-left:-250px;padding-left:250px}
	/* 2 つ目：枠の中に収める */
	.kpm:not(.kpm--first){padding-left:180px}
	.kpm:not(.kpm--first)::before{width:150px;height:182px}
	.kpm:not(.kpm--first) .kpm__label{white-space:nowrap;font-size:13px}
}
/* SP・タブレット縦（900px 以下）：写真を右上に小さく出す。1 つ目は紺の帯から下へはみ出す形 */
@media screen and (max-width:900px){
	.kpm{position:relative}
	.kpm::before{content:"";position:absolute;right:12px;z-index:2;background:url(../img/cta-lawyer.png) right bottom/contain no-repeat;background-image:image-set(url(../img/cta-lawyer.png) 1x,url(../img/cta-lawyer_2x.png) 2x);pointer-events:none}
	.kpm--first::before{top:4px;width:92px;height:112px}
	.kpm--first .kpm__head{padding-right:100px!important}
	.kpm--first .kpm__label{padding-right:96px}
	.kpm:not(.kpm--first)::before{top:10px;width:60px;height:72px}
	.kpm:not(.kpm--first) .kpm__label{padding-right:64px}
}

/* =========================================================
   問い合わせ欄のボタンの強弱（2026-10-09）
   元の作りと同じく、営業時間内は電話、営業時間外は LINE だけを大きくし、ほかは白地の小さいボタンにする。
   営業時間の判定は Main_CTA_KJC が付ける class（cta__button-items--open / --close）を使う。
========================================================= */
@media screen and (max-width:900px){
	.kpm{display:grid!important;grid-template-columns:1fr 1fr!important;column-gap:8px!important;row-gap:10px!important}
	.kpm .kpm__left,.kpm .cta__button-items{display:contents!important}
	.kpm .kpm__head{grid-area:head}
	.kpm .kpm__label{grid-area:label;margin:0}
	.kpm a.cta-banner__tel--sp{grid-area:tel;margin:0!important}
	.kpm a.cta__button{grid-area:mail}
	.kpm a.cta-main-contact-line__link{grid-area:line}
	.kpm .kpm__access{grid-area:access}
	.kpm .kpm__note{grid-area:note}
	/* 営業時間内：電話が大きく、メール・LINE が下に小さく 2 つ */
	.kpm--first:has(.cta__button-items--open){grid-template-areas:"head head" "label label" "tel tel" "mail line" "access access" "note note"!important}
	.kpm:not(.kpm--first):has(.cta__button-items--open){grid-template-areas:"label label" "tel tel" "mail line" "note note"!important}
	/* 営業時間外：LINE が大きく、メール・電話が下に小さく 2 つ */
	.kpm--first:has(.cta__button-items--close){grid-template-areas:"head head" "label label" "line line" "mail tel" "access access" "note note"!important}
	.kpm:not(.kpm--first):has(.cta__button-items--close){grid-template-areas:"label label" "line line" "mail tel" "note note"!important}
	/* 小さいボタン（白地） */
	.kpm:has(.cta__button-items--open) a.cta__button,
	.kpm:has(.cta__button-items--open) a.cta-main-contact-line__link,
	.kpm:has(.cta__button-items--close) a.cta__button,
	.kpm:has(.cta__button-items--close) a.cta-banner__tel--sp{display:flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:6px;min-width:0!important;width:auto!important;min-height:48px!important;height:auto!important;margin:0!important;padding:6px 8px!important;background:#fff!important;background-image:none!important;border:1px solid #c9d3df!important;box-shadow:none!important;color:#1b2d3e!important;font-size:13px!important;font-weight:700;line-height:1.3!important}
	.kpm:has(.cta__button-items--open) a.cta__button::after,
	.kpm:has(.cta__button-items--open) a.cta-main-contact-line__link::after,
	.kpm:has(.cta__button-items--close) a.cta__button::after{display:none!important}
	.kpm:has(.cta__button-items--open) a.cta-main-contact-line__link{color:#06a648!important;border-color:#06c755!important}
	.kpm:has(.cta__button-items--close) a.cta-banner__tel--sp .cta-banner__tel-top-text{display:none}
	.kpm:has(.cta__button-items--close) a.cta-banner__tel--sp .cta-banner__tel-number{font-family:inherit!important;font-size:13px!important}
	/* SP では写真は 1 つ目だけ（2 つ目は電話ボタンに重なるため） */
	.kpm:not(.kpm--first)::before{display:none!important}
	.kpm:not(.kpm--first) .kpm__label{padding-right:0!important}
}
/* PC：営業時間内は電話番号が主役なので、メール・LINE を白地の小さめのボタンに。営業時間外は LINE だけを目立たせる */
@media screen and (min-width:901px){
	.kpm:has(.cta__button-items--open) .cta__button-items > a{background:#fff!important;background-image:none!important;border:1px solid #c9d3df!important;box-shadow:none!important;color:#1b2d3e!important;min-height:48px!important;min-width:200px!important}
	.kpm:has(.cta__button-items--open) a.cta-main-contact-line__link{color:#06a648!important;border-color:#06c755!important}
	.kpm:has(.cta__button-items--open) .kpm__tel{font-size:40px}
	.kpm:has(.cta__button-items--close) a.cta__button{background:#fff!important;border:1px solid #c9d3df!important;box-shadow:none!important;color:#1b2d3e!important}
	.kpm:has(.cta__button-items--close) a.cta-main-contact-line__link{min-width:280px!important;min-height:60px!important;font-size:17px!important}
}
@media screen and (max-width:900px){
	/* 小さいボタン：1 行に収め、アイコンを文字の左に置く */
	.kpm:has(.cta__button-items--open) a.cta__button,
	.kpm:has(.cta__button-items--open) a.cta-main-contact-line__link,
	.kpm:has(.cta__button-items--close) a.cta__button,
	.kpm:has(.cta__button-items--close) a.cta-banner__tel--sp{white-space:nowrap;font-size:12.5px!important;letter-spacing:0!important}
	.kpm a.cta__button img,.kpm a.cta-main-contact-line__link img{position:static!important;transform:none!important;width:18px!important;height:18px!important;margin:0!important;flex:0 0 18px}
	.kpm a br{display:none!important}
	/* 帯：「無料相談」を途中で改行しない */
	.kpm__head strong{margin-left:12px;white-space:nowrap}
	.kpm--first .kpm__head{font-size:16px!important;text-wrap:balance}
}
@media screen and (min-width:901px){
	/* メール・LINE を同じ幅にし、文字を 1 行に収める */
	.kpm .cta__button-items{display:grid!important;grid-template-columns:1fr 1fr;gap:12px}
	.kpm .cta__button-items > a{width:auto!important;min-width:0!important;white-space:nowrap;padding:0 16px!important;font-size:15px!important}
}
/* SP の数字カード：数字を右、説明とボタンを左に */
@media screen and (max-width:767px){
	.kl-stats__item{grid-template-columns:1fr auto!important;grid-template-areas:"label fig" "link fig"!important;column-gap:12px!important}
	.kl-stats__figure{justify-content:flex-end!important;padding-right:4px}
}
/* SP・タブレット：「ご相談内容一覧」と費用・流れの入口を同じ幅にそろえる（流れは親テーマの home_flow_button__link の幅指定が効いていた） */
.kp-next__item{width:100%!important;max-width:none!important;box-sizing:border-box!important}
@media screen and (max-width:767px){
	.widget_home-soudan:not(#kp-top) a.home_soudan__button{width:100%!important;max-width:none!important;box-sizing:border-box}
	.kp-next{max-width:none!important;margin-top:16px!important}
}
/* SP：左右の端を 16px にそろえる（問い合わせ欄・コラムが内側に寄っていた）。一覧ボタンも横幅いっぱい */
@media screen and (max-width:767px){
	section.widget_main_cta_kjc:has(.kp-cta-mini){padding-left:0!important;padding-right:0!important}
	.cta.kp-cta-mini{padding-left:16px!important;padding-right:16px!important}
	section.widget_home_column:has(> .kp-columns:not(#kp-top)){padding-left:16px!important;padding-right:16px!important}
	.kp-columns:not(#kp-top),.kp-columns:not(#kp-top) .home_column-main,.kp-columns:not(#kp-top) .home_posts{padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important}
	.content.home:not(#kp-top) a.home_reason__button,
	.content.home:not(#kp-top) a.home_service8__button,
	.widget_home_news_kjc:not(#kp-top) a.home_column__link{width:100%!important;max-width:none!important;min-width:0!important}
}
@media screen and (max-width:767px){
	/* 部品の枠がすでに端から 16px 内側にあるので、内側の左右の余白は 0 */
	.cta.kp-cta-mini{padding-left:0!important;padding-right:0!important}
	section.widget_home_column:has(> .kp-columns:not(#kp-top)){padding-left:0!important;padding-right:0!important}
}
/* 問い合わせ欄のボタンのアイコンを文字の左に並べる（PC で LINE のアイコンが文字に重なっていた） */
.kpm .cta__button-items > a{display:flex!important;align-items:center;justify-content:center;gap:8px}
.kpm a.cta__button img,.kpm a.cta-main-contact-line__link img{position:static!important;transform:none!important;width:20px!important;height:20px!important;margin:0!important;flex:0 0 20px}
/* SP：写真が宙に浮いて見えないよう、白い円で囲む（元の夜間の帯と同じ見せ方） */
@media screen and (max-width:900px){
	.kpm--first::before{top:10px!important;right:12px!important;width:84px!important;height:84px!important;border-radius:50%;border:3px solid #fff;box-sizing:border-box;background-color:#eef1f6!important;background-size:120% auto!important;background-position:50% 8%!important;box-shadow:0 2px 6px rgba(0,0,0,.25)}
	.kpm--first .kpm__head{min-height:104px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center}
}
/* コラム：記事の枠を横幅いっぱいにして、タイトルの欄を広げる（枠が 380px で止まり、タイトルが 236px しか使えていなかった） */
.kp-columns:not(#kp-top) .home_posts-li-detail__card{width:100%!important;max-width:none!important;box-sizing:border-box}
.kp-columns:not(#kp-top) .home_posts-li-detail{flex:1 1 auto!important}
/* SP：数字の 3 枚を横 1 列に並べて、高さを詰める（縦に 3 枚だと約 350px あった） */
@media screen and (max-width:767px){
	.kl-stats{grid-template-columns:repeat(3,1fr)!important;gap:8px!important}
	.kl-stats__item{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;padding:14px 6px 12px!important;border-left:0!important;border-top:3px solid var(--theme-color)!important;grid-template-areas:none!important}
	.kl-stats__figure{justify-content:center!important;padding-right:0!important}
	.kl-stats__num{font-size:34px!important}
	.kl-stats__unit{font-size:12px!important}
	.kl-stats__label{margin:6px 0 0!important;font-size:11.5px!important;line-height:1.45!important;min-height:3.9em}
	.kl-stats .kl-stats__link{justify-self:auto!important;align-self:stretch!important;margin-top:8px!important;min-height:34px!important;padding:0 4px!important;font-size:12px!important;justify-content:center;white-space:nowrap}
}
/* 導入文の「刑事事件は、動き出しが早いほど、選べる手が多く残ります。」は SP でも途中で改行しない（自然に折り返す） */
.kl-lead__point br.sp-only{display:none!important}
/* 数字の説明文を、きりの良いところで改行する（「弁護／士」のような途中の改行を避ける）。対応ブラウザでは文節で折り返し、行の長さもそろえる */
.kl-stats__label{word-break:auto-phrase;text-wrap:balance}
/* SP：問い合わせ欄の帯の文字を「元検事の弁護士に無料相談」で 1 行に（2 行に分かれ「無料相談」が右にずれていた） */
@media screen and (max-width:900px){
	.kpm--first .kpm__head{display:block!important;font-size:15px!important;line-height:1.5!important;padding-top:22px!important;padding-bottom:18px!important}
	.kpm--first .kpm__head strong{display:inline;margin-left:2px;font-size:21px}
	.kpm--first .kpm__head span{display:block;margin:4px 0 0!important;font-size:12px}
}

/* 1200px より広い画面で、各セクションの背景（白・ベージュ）を画面の端まで伸ばす（2026-10-09）
   セクションが 1200px で止まり、外側のページ背景 #fcfcfc と色が微妙に違って見えたため。色はセクション自身の背景を受け継ぐ */
@media screen and (min-width: 1201px) {
	body {
		overflow-x: clip;
	}
	.content.home .widget_home {
		position: relative;
	}
	.content.home .widget_home::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: calc(50% - 50vw);
		right: calc(50% - 50vw);
		background-color: inherit;
		z-index: -1;
	}
}

/* コラム：題名は全部出し（modules/recent-*-posts.php）、3 行を超える分だけ「…」にする（以前は 26 文字で切っていて、2 行目の途中で切れていた） */
.kp-columns:not(#kp-top) .home_posts-li-detail__title{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}

/* 解決実績のラベル（処分結果）：記事の分類のタグと見分けがつくよう、金の枠にする。題名は記事と同じものを全部出す（modules/home-jisseki-kjc.php） */
.kp-row--jisseki .kp-row__tag{background:#fffbea;border-color:var(--sub-color);color:#6b5400}
/* メディア出演の題名も全部出す（以前は 1 行で「…」に切っていた）。解決実績も同じく折り返す */
.kp-row__title{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
/* コラムの「一覧」リンク：矢印をアイコンの文字から、解決実績の「すべて見る」と同じ線の矢印にする（文字だと下線が矢印の下まで引かれていたため） */
.kp-columns:not(#kp-top) a.home_column__link::after{font-family:inherit!important;font-size:0!important;flex:0 0 6px!important;min-width:6px!important;content:""!important;display:inline-block!important;position:static!important;width:6px!important;height:6px!important;border-top:2px solid currentColor!important;border-right:2px solid currentColor!important;border-left:0!important;border-bottom:0!important;background:none!important;transform:rotate(45deg)!important}

/* =========================================================
   TOP修正 ver3（2026-11-11）
   先方の指摘（2026-11-06）：無料が当然と思われないように、予約の受付だと分かるように、
   受付方法・時間を目立たせ、折返しの注記はそのすぐ下に、メールの枠を少しだけ目立たせる
========================================================= */
/* 導入文：折返しの注記（受付のすぐ下） */
.kl-lead__body .kl-lead__note{margin:8px 0 0;font-size:12px;line-height:1.6;color:#555}
/* 導入文の中の問い合わせ欄 */
.kl-lead .cta.kp-cta-mini{margin-top:40px!important}
/* 1 つ目の見出し：「無料電話相談実施中」は 1 行に収める */
.kpm__head strong{margin-left:12px;white-space:nowrap}
/* 2 つ目の見出し（紺の帯がないので、文字の色で強弱を付ける） */
.kpm:not(.kpm--first) .kpm__label strong{margin:0 4px 0 12px;font-size:1.15em;color:var(--theme-color)}
.kpm:not(.kpm--first) .kpm__label span{display:block;font-size:.9em;font-weight:400}
/* 受付：電話番号のすぐ下に、札を付けて大きく。注記はそのすぐ下 */
.kpm__recept{grid-area:recept;font-family:NotoSansJP,sans-serif}
.kpm__recept-main{margin:0;font-size:16px;font-weight:700;line-height:1.5;color:var(--theme-color)}
.kpm__recept-main span{display:inline-block;margin-right:8px;padding:4px 8px;background:var(--theme-color);font-size:12px;line-height:1;color:#fff;vertical-align:1px}
/* 「相談予約」の札と受付の文：PC は 1 行（11/15 加納さん「1 行にしたらよくなる」）。幅の狭いスマホ・タブレット縦だけ札の次の行から始める */
.kpm__recept-main{white-space:nowrap}
@media screen and (max-width:900px){
	.kpm__recept-main{white-space:normal}
	.kpm__recept-main span{display:block;width:fit-content;margin:0 0 6px}
}
/* 注記：最後の「す。」だけが次の行に落ちないよう、字間を詰めて行末をそろえる（11/15） */
.kpm__note .cta-banner-bottom__text{letter-spacing:0;text-wrap:pretty}
.kpm__recept-note{margin:4px 0 0;font-size:12px;line-height:1.5;color:#555}
.kpm{grid-template-areas:"left buttons" "recept buttons" "note note"}
.kpm--first{grid-template-areas:"head head" "left buttons" "recept buttons" "access access" "note note"}
.kpm__left{align-self:end}
.kpm__recept{align-self:start}
@media screen and (min-width:901px){
	/* 2 つ目：見出しが 2 行になったので、1 行に詰める指定を外す */
	.kpm:not(.kpm--first) .kpm__label{white-space:normal}
}
/* メールの枠を少しだけ目立たせる（太い紺の枠と薄い紺の地） */
.kp-cta-mini .kpm:has(.cta__button-items) a.cta__button{border:2px solid var(--theme-color)!important;background:#eef1f9!important;color:var(--theme-color)!important}
@media screen and (max-width:900px){
	.kpm .kpm__recept{grid-area:recept}
	/* 電話（営業時間外は LINE）の大きいボタンのすぐ下に受付を入れる */
	.kpm--first:has(.cta__button-items--open){grid-template-areas:"head head" "label label" "tel tel" "recept recept" "mail line" "access access" "note note"!important}
	.kpm:not(.kpm--first):has(.cta__button-items--open){grid-template-areas:"label label" "tel tel" "recept recept" "mail line" "note note"!important}
	.kpm--first:has(.cta__button-items--close){grid-template-areas:"head head" "label label" "line line" "recept recept" "mail tel" "access access" "note note"!important}
	.kpm:not(.kpm--first):has(.cta__button-items--close){grid-template-areas:"label label" "line line" "recept recept" "mail tel" "note note"!important}
	.kpm__recept-main{font-size:14px}
	/* 1 つ目の見出し：「無料電話相談実施中」を次の行に */
	.kpm--first .kpm__head strong{display:block;margin-left:0}
}

/* 拠点・受付：見出し＋1行の形で文字を大きく（11/12 事務所：枠だと押せそうに見える）。
   紺の見出しは2つとも同じ幅。注意書きは「予約受付」の真下（11/13 事務所の決定：PC は横並び）。
   注意書きは dd の外の p で、予約受付の行の中で折り返して次の行に出す */
.kl-lead__facts{flex-direction:column;align-items:flex-start;gap:10px;margin-top:20px}
.kl-lead__facts > div{flex-wrap:wrap;align-items:flex-start}
.kl-lead__facts dt{flex:none;width:76px;box-sizing:border-box;margin-top:3px;padding:2px 0;text-align:center;font-size:13px}
.kl-lead__facts dd{flex:1;font-size:17px;font-weight:700;line-height:1.5}
.kl-lead__nowrap{display:inline-block}
/* SP：注意書きは「予約受付」の見出しの左端から（11/16 加納さん「※は先頭でよい」） */
.kl-lead__body .kl-lead__facts .kl-lead__note{flex-basis:100%;margin:6px 0 0;font-size:12px;font-weight:400;line-height:1.6;color:#555}
@media (max-width: 600px) {
	/* 左端から始めて幅が足りるので、「翌営業日の…」はひとかたまりで次の行へ（語の途中で切らない） */
	.kl-lead__body .kl-lead__facts .kl-lead__note{letter-spacing:0}
}
@media (min-width: 601px) {
	.kl-lead__facts{flex-direction:row;flex-wrap:wrap;gap:10px 40px}
	.kl-lead__facts dt{width:88px;margin-top:4px;font-size:14px}
	.kl-lead__facts dd{flex:none;font-size:20px;white-space:nowrap}
	.kl-lead__body .kl-lead__facts .kl-lead__note{margin:4px 0 0}
}
/* 768px〜：注意書きは紺の「予約受付」の左端から 1 行で（11/13 加納さん「改行なしで」）。
   1 行だと予約受付の欄より長く、欄が広がって横並びが崩れるので、欄の外に浮かせて真下に置く */
@media (min-width: 768px) {
	.kl-lead__facts{margin-bottom:28px}
	.kl-lead__facts > div:last-child{position:relative}
	.kl-lead__body .kl-lead__facts .kl-lead__note{position:absolute;top:100%;left:0;white-space:nowrap}
}
/* 横に並ぶ幅では「予約受付」を左、「拠点」を右に（11/16 事務所の確認依頼）。HTML の順（拠点→予約受付）は変えない。
   row-reverse＋右寄せ（逆向きなので見た目は左寄せ）にすると、2 つが横に入らない幅では今までどおり
   上から 拠点→予約受付→注意書 の順で縦に並ぶ（事務所の希望。スマホは 600px 以下の縦並びのまま） */
@media (min-width: 601px) {
	.kl-lead__facts{flex-direction:row-reverse;justify-content:flex-end}
}

/* メインビジュアルが固定ヘッダーの下に 122px 隠れていた（11/11 「2枚目の画像が上にずれる」）。
   注意帯を 2 本にしたとき固定ヘッダーを 282px にしたが（header.css）、場所取りの .header-A は 160px のまま。
   トップだけ場所取りを同じ高さにして、スライドを隠れない位置から始める */
@media screen and (min-width: 1280px) {
	.header-A{height:282px}
}

/* PC のスライドの点々（ページ送り）はスライドの下にはみ出して出る。背景付きの導入欄に隠れていたので、その分の余白を取る（11/11） */
@media screen and (min-width: 1024px) {
	.widget_home_main_visual{margin-bottom:40px}
}

/* 問い合わせ欄：901〜1199px は右にボタンを並べると左の列が細くなり、電話番号が「03-／6276-／5513」と割れていた（11/15 加納さん）。
   この幅だけボタンを受付の下に回して 1 列にする（ボタン 2 つは横に並べたまま） */
@media screen and (min-width:901px) and (max-width:1199px){
	.kpm{grid-template-columns:1fr!important;grid-template-areas:"left" "recept" "buttons" "note"!important}
	.kpm--first{grid-template-areas:"head" "left" "recept" "buttons" "access" "note"!important}
	.kpm .cta__button-items{max-width:560px}
	.kpm .kpm__tel{white-space:nowrap}
}

/* 縦の長さを抑える（11/15 加納さん「電話とメールと LINE を同じ高さに」「縦幅をおさえて」）：
   1 段目に電話番号・メール・LINE を下端でそろえて並べ、2 段目に「相談予約」と受付・注記を 1 行で */
@media screen and (min-width:1200px){
	.kpm--first:not(.kp-x){grid-template-areas:"head head" "left buttons" "recept recept" "access access" "note note"}
	.kpm__left{align-self:end}
	.kpm .cta__button-items{align-self:end}
	.kpm__recept{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px}
	.kpm__recept .kpm__recept-note{margin:0}
}
.kpm .kpm__note .cta-banner-bottom__text{letter-spacing:0!important;text-wrap:pretty}
.kpm__recept-note{white-space:nowrap}
@media screen and (max-width:900px){.kpm__recept-note{white-space:normal}}
.kpm__note-line{display:block;text-wrap:pretty}
.kpm__note-tail{white-space:nowrap}
/* 営業時間外の小さい「電話でお問い合わせ」ボタンにも、メール・LINE と同じく左にアイコンを出す（11/15 加納さん） */
.kp-cta-mini .kpm:has(.cta__button-items--close) a.cta-banner__tel--sp::before{display:inline-block!important;content:"\e907"!important;position:static!important;transform:none!important;margin:0;font-family:"icomoon"!important;font-size:18px!important;font-weight:normal;line-height:1;color:var(--theme-color)!important}
/* 営業時間外の電話ボタンが地味だったので、メールと同じ太さの枠＋電話の色（黄）の薄い地にしてつり合いをとる（11/15 加納さん「色彩調整」） */
.kp-cta-mini .kpm:has(.cta__button-items--close) a.cta-banner__tel--sp{border:2px solid var(--accent-color,#e9ba00)!important;background:#fff8dc!important;color:#1b2d3e!important}
.kp-cta-mini .kpm:has(.cta__button-items--close) a.cta-banner__tel--sp::before{color:#c99a00!important}
/* スマホ・タブレット：各事務所へのリンクは文字の高さしかなく押しにくい。見た目は変えずに、上下に当たり判定だけ広げて 44px に（11/15 デザインの決まり） */
@media screen and (max-width:1023px){
	.kpm__access .cta__tel-item{display:inline-block!important;padding:16px 0!important;margin:-16px 0!important}
}
/* スマホ：帯の（一部対象外あり、まずはご予約の連絡を）を 1 行で（11/15 加納さん）。右上の写真の下まで下げて、写真の分の右の空きを使わずに横いっぱいに出す */
@media screen and (max-width:900px){
	.kpm--first .kpm__head span{margin:16px -100px 0 0!important;white-space:nowrap;letter-spacing:0}
}
/* PC：「拠点」を注意書（※夜間休日等…）の右端より右に離す（11/16 加納さん「※の終わりにかからないぐらいに離す」）。
   注意書を浮かせず「予約受付」の欄の中に戻し、欄の幅を注意書の長さまで広げる（見出し＋文／注意書 の 2 段の格子） */
@media (min-width: 768px) {
	.kl-lead__facts{margin-bottom:0}
	.kl-lead__facts > div:last-child{display:grid;grid-template-columns:auto 1fr;column-gap:10px}
	.kl-lead__body .kl-lead__facts .kl-lead__note{position:static;grid-column:1 / -1}
}
/* 注意書（※夜間休日等…）を「予約受付」の行に寄せ、2 行のときの行間も詰める（11/16 加納さん「行間詰められるか PC SP とも」） */
.kl-lead__body .kl-lead__facts .kl-lead__note{margin-top:0!important;line-height:1.5}
