.kc-home-enabled .entry-header:has(+ .entry-content .kc-home),
.kc-home-enabled .entry-header:has(~ .entry-content .kc-home) {
	display: none;
}

.kc-home {
	--kc-ink: #162c42;
	--kc-soft: #476074;
	--kc-line: #086835;
	--kc-edge: #d6e1e7;
	--kc-tint: #f0f5f7;
	color: var(--kc-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	letter-spacing: normal;
	max-width: 1120px;
	margin-inline: auto;
	overflow-wrap: anywhere;
}

.kc-home *, .kc-home *::before, .kc-home *::after {
	box-sizing: border-box;
}

.kc-home h1, .kc-home h2, .kc-home h3 {
	background: none;
	border: 0;
	color: inherit;
	letter-spacing: normal;
	padding: 0;
}

.kc-home h1::before, .kc-home h1::after,
.kc-home h2::before, .kc-home h2::after,
.kc-home h3::before, .kc-home h3::after {
	content: none;
}

.kc-home h1 {
	font-size: clamp(26px, 4.5vw, 48px);
	line-height: 1.35;
	margin: 0 0 16px;
}

.kc-home h2 {
	font-size: clamp(23px, 3.1vw, 34px);
	line-height: 1.35;
	margin: 0 0 24px;
}

.kc-home h3 {
	font-size: 17px;
	line-height: 1.45;
	margin: 0 0 8px;
}

.kc-home p {
	margin: 0 0 13px;
}

.kc-home figure { margin: 0; }
.kc-home img { display: block; max-width: 100%; height: auto; }
.kc-home a { color: #154c75; text-underline-offset: 3px; }
.kc-home a:focus-visible { outline: 3px solid #146aa0; outline-offset: 4px; }

.kc-home .kc-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
	align-items: center;
	gap: clamp(18px, 4vw, 48px);
	padding: clamp(19px, 4vw, 48px);
	background: #f5f8f9;
	border-radius: 18px;
}

.kc-home .kc-logo {
	width: 155px;
	margin-bottom: 18px;
}

.kc-home .kc-eyebrow {
	color: var(--kc-soft);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .06em;
	margin: 0 0 10px;
}

.kc-home .kc-lead { font-size: 15px; }
.kc-home .kc-proof {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 18px 0 7px;
}

.kc-home .kc-proof div {
	border: 1px solid var(--kc-edge);
	background: #fff;
	padding: 5px 9px;
	border-radius: 8px;
	font-size: 12px;
}

.kc-home .kc-proof strong { font-size: 19px; font-variant-numeric: tabular-nums; }
.kc-home .kc-caption { color: var(--kc-soft); font-size: 12px; }

.kc-home .kc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 10px;
}

.kc-home .kc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 15px;
	border: 1px solid var(--kc-line);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	line-height: 1.45;
}

.kc-home .kc-line { background: var(--kc-line); color: #fff; }
.kc-home .kc-outline { background: #fff; border-color: #91a6b5; color: var(--kc-ink); }
.kc-home .kc-line:hover { background: #07542d; color: #fff; }
.kc-home .kc-outline:hover { background: #e9f0f5; }

.kc-home .kc-hero-photo img {
	width: 100%;
	border-radius: 13px;
}

.kc-home .kc-hero-photo figcaption {
	margin-top: 6px;
	text-align: right;
	color: var(--kc-soft);
	font-size: 12px;
}

.kc-home .kc-jump {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 5px 18px;
	padding: 11px 0;
	margin: 0;
	border-bottom: 1px solid var(--kc-edge);
}

.kc-home .kc-jump a { font-weight: 700; font-size: 14px; padding: 5px 0; }

.kc-home .kc-section {
	padding: clamp(21px, 4vw, 45px);
	margin-top: 18px;
	scroll-margin-top: 80px;
}

.kc-home .kc-tint { background: var(--kc-tint); border-radius: 15px; }

.kc-home .kc-prices, .kc-home .kc-service-grid, .kc-home .kc-case-grid, .kc-home .kc-review-grid {
	display: grid;
	gap: 14px;
}

.kc-home .kc-prices, .kc-home .kc-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kc-home .kc-case-grid, .kc-home .kc-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.kc-home .kc-card {
	min-width: 0;
	background: #fff;
	border: 1px solid var(--kc-edge);
	border-radius: 11px;
	padding: 16px;
	margin: 0;
}

.kc-home .kc-card p:last-child, .kc-home .kc-estimate p:last-child { margin-bottom: 0; }
.kc-home .kc-highlight { border: 2px solid #9e8012; padding: 15px; }
.kc-home .kc-price { font-size: clamp(25px, 3vw, 37px); line-height: 1.25; font-weight: 800; font-variant-numeric: tabular-nums; }
.kc-home .kc-price span { font-size: 15px; margin-left: 2px; }
.kc-home .kc-prices .kc-card p:last-child { font-size: 14px; }
.kc-home .kc-estimate { border-left: 3px solid #91a6b5; background: #f5f8f9; padding: 14px 16px; margin-top: 17px; }

.kc-home .kc-case-grid .kc-card { padding: 0; overflow: hidden; }
.kc-home .kc-photo-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2px;
	background: #e2e9ed;
}

.kc-home .kc-photo-pair img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.kc-home .kc-comparison-image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: #e2e9ed;
	overflow: hidden;
}

.kc-home .kc-photo-contain img { object-fit: contain; }
.kc-home .kc-photo-pair span {
	display: block;
	padding: 3px 8px;
	background: #162c42;
	color: white;
	font-size: 11px;
	font-weight: 700;
}

.kc-home .kc-photo-pair div + div span { background: var(--kc-line); }
.kc-home .kc-case-grid figcaption { padding: 9px 13px 12px; display: grid; gap: 1px; }
.kc-home .kc-case-grid figcaption span { color: var(--kc-soft); font-size: 13px; }
.kc-home .kc-cases-consult {
	background: #fff;
	border: 1px solid var(--kc-edge);
	border-radius: 11px;
	margin: 0 0 16px;
	padding: 14px;
}

.kc-home .kc-cases-consult p {
	font-size: 14px;
	margin: 0 0 8px;
}

.kc-home .kc-extra-cases { margin-top: 16px; }
.kc-home .kc-extra-cases summary {
	background: #fff;
	border: 1px solid var(--kc-edge);
	border-radius: 8px;
	color: #154c75;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	min-height: 44px;
	padding: 11px 13px;
}
.kc-home .kc-extra-cases summary:focus-visible { outline: 3px solid #146aa0; outline-offset: 3px; }
.kc-home .kc-extra-cases .kc-case-grid { margin-top: 12px; }
.kc-home .kc-section-link, .kc-home .kc-service-grid + p { margin-top: 18px; }
.kc-home .kc-representative, .kc-home .kc-line-guide {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(16px, 4vw, 36px);
}
.kc-home .kc-representative img, .kc-home .kc-line-guide img {
	width: 100%;
	height: auto;
	border-radius: 11px;
}
.kc-home .kc-representative img { max-width: 360px; }
.kc-home .kc-contact { background: #fff7d8; border-radius: 15px; }
.kc-home .kc-line-guide { margin-top: 24px; }
.kc-home .kc-line-guide ol { margin: 8px 0 0; padding-inline-start: 1.5em; }
.kc-home .kc-line-guide li + li { margin-top: 5px; }
.kc-home .kc-line-guide a { display: block; max-width: 420px; font-size: 14px; }
.kc-home .kc-more { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: 14px; }

@media (max-width: 680px) {
	.kc-home .kc-hero { grid-template-columns: 1fr; gap: 14px; }
	.kc-home .kc-hero .kc-button { width: 100%; }
	.kc-home .kc-prices, .kc-home .kc-review-grid { grid-template-columns: 1fr; }
	.kc-home .kc-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kc-home .kc-hero-photo img { max-height: 290px; object-fit: cover; object-position: 50% 65%; }
	.kc-home .kc-case-grid { grid-template-columns: 1fr; gap: 12px; }
	.kc-home .kc-representative, .kc-home .kc-line-guide { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
	.kc-home .kc-section { padding-inline: 14px; }
	.kc-home .kc-service-grid { grid-template-columns: 1fr; }
	.kc-home .kc-jump { gap: 5px 10px; }
}
