:root {
	--khc-blue: #234d8b;
	--khc-orange: #ef7d32;
	--khc-green: #2f9e49;
	--khc-gold: #b38c23;
	--khc-mint: #abdcd1;
	--khc-ink: #1c1c1c;
	--khc-content-width: 1280px;
	--khc-page-gutters: clamp(40px, 6.667vw, 128px);
	--khc-weight-regular: 400;
	--khc-weight-medium: 500;
	--khc-weight-semibold: 600;
}

html {
	scroll-behavior: smooth;
}

/* Footer category links land below the fixed site header on every overview. */
.khc-audience .khc-info-panel[id],
.khc-audience .khc-info-panel__links a[id] {
	scroll-margin-top: calc(100px + var(--wp-admin--admin-bar--height, 0px));
}

body.home {
	background: #fff;
	color: var(--khc-ink);
	font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: 24px;
	font-weight: var(--khc-weight-regular);
}

body.home > .site,
body.home .site.grid-container,
body.home #page,
body.home #primary,
body.home #main {
	max-width: none;
	margin: 0;
	padding: 0;
}

body.home .site-header,
body.home .site-footer,
body.home .site-info {
	display: none;
}

.khc-site *,
.khc-site *::before,
.khc-site *::after {
	box-sizing: border-box;
}

.khc-site {
	line-height: 1.6;
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0;
	overflow: clip;
}

.khc-site a {
	color: inherit;
	text-decoration: none;
}

.khc-site strong {
	font-weight: var(--khc-weight-medium);
}

.khc-site img {
	display: block;
	max-width: 100%;
}

.khc-container {
	width: min(var(--khc-content-width), calc(100% - var(--khc-page-gutters)));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.khc-hero {
	isolation: isolate;
	padding: 64px 0;
	background-color: var(--khc-mint);
	background-image: url("../images/top%20image%20.webp");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.khc-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(190px, 20.313vw, 390px);
	align-items: center;
	gap: clamp(24px, 4.167vw, 80px);
}

@media (min-width: 781px) {
	.khc-hero .khc-container {
		width: min(1480px, calc(100% - 64px));
	}
}

.khc-hero h1 {
	margin: 0;
	font-size: clamp(30px, 3.333vw, 64px);
	font-weight: var(--khc-weight-semibold);
	line-height: 1.46;
	letter-spacing: .01em;
}

.khc-hero h1 span {
	display: table;
	position: relative;
	margin-bottom: clamp(5px, .521vw, 10px);
	padding: clamp(2px, .208vw, 4px) clamp(6px, .521vw, 10px);
	background: transparent;
	color: #fff;
	white-space: nowrap;
}

/* Blend only the rectangle with the illustration; keep the lettering white. */
.khc-hero h1 span::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: #aad3b7;
	mix-blend-mode: multiply;
	box-shadow: 7px 7px 5px rgba(0, 0, 0, .1);
	pointer-events: none;
}

.khc-hero h1 span:last-child {
	margin-bottom: 0;
}

.khc-hero__visual img {
	width: 100%;
}

.khc-button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(24px, 2.396vw, 46px);
	min-width: clamp(150px, 10.938vw, 210px);
	padding: clamp(9px, .729vw, 14px) clamp(16px, 1.25vw, 24px);
	border-radius: 999px;
	font-size: clamp(16px, 1.25vw, 24px);
	box-shadow: 0 3px 5px rgba(0, 0, 0, .18);
}

.khc-button--light {
	background: #fff;
}

.khc-news {
	padding: 70px 0 72px;
}

.khc-news__layout {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr) 230px;
	column-gap: 42px;
	row-gap: 42px;
	align-items: start;
}

.khc-section-heading {
	padding-left: 20px;
	border-left: 6px solid;
}

.khc-section-heading h2 {
	margin: 0;
	font-size: 36px;
	font-weight: var(--khc-weight-medium);
	letter-spacing: .09em;
	line-height: 1.2;
}

.khc-section-heading p {
	margin: 8px 0 24px;
	font-size: 24px;
	font-weight: var(--khc-weight-medium);
	letter-spacing: .28em;
}

.khc-section-heading a {
	font-size: 16px;
}

.khc-section-heading--blue {
	border-color: var(--khc-blue);
}

.khc-section-heading--blue p {
	color: var(--khc-blue);
}

.khc-section-heading--orange {
	border: 0;
	padding: 0;
}

.khc-section-heading--orange h2 {
	font-weight: 700;
}

.khc-section-heading--orange p {
	color: var(--khc-orange);
}

.khc-news__item {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 22px;
	align-items: center;
	min-height: 90px;
	border-bottom: 1px solid #333;
	font-size: 24px;
	line-height: 1.6;
}

.khc-news__item time {
	padding: 8px 12px;
	color: #fff;
	background: var(--khc-blue);
	border-radius: 7px;
	font-size: 16px;
	text-align: center;
	white-space: nowrap;
}

.khc-promo {
	display: grid;
	gap: 20px;
}

.khc-promo__book,
.khc-promo__youtube,
.khc-promo__reform {
	min-height: 96px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #333;
	border-radius: 14px;
	box-shadow: 0 3px 4px rgba(0, 0, 0, .22);
}

.khc-promo__book {
	outline: 1px dashed #555;
	outline-offset: -8px;
	text-align: center;
}

.khc-promo__book strong {
	display: block;
	font-size: 24px;
	font-weight: var(--khc-weight-medium);
	line-height: 1.25;
}

.khc-promo__book span {
	display: inline-block;
	margin-top: 8px;
	padding: 5px 11px;
	color: #fff;
	background: #444;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 500;
}

.khc-promo__youtube,
.khc-promo__reform {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	line-height: 1.35;
}

.khc-promo__youtube strong,
.khc-promo__reform strong,
.khc-promo__youtube small,
.khc-promo__reform small {
	display: block;
}

.khc-promo__youtube strong,
.khc-promo__reform strong {
	font-weight: 600;
}

.khc-promo__youtube small,
.khc-promo__reform small {
	margin-top: 3px;
	font-size: 11px;
}

.khc-youtube-icon,
.khc-reform-icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 48px;
	height: 38px;
	color: #fff;
	border-radius: 8px;
}

.khc-youtube-icon {
	background: #ff3d3d;
}

.khc-reform-icon {
	background: #234d8b;
	font-size: 22px;
	font-weight: 600;
}

.khc-business {
	padding: 55px 0 85px;
	background-color: #fafafa;
	background-image: url("../images/paperbackground.webp");
	background-position: center top;
	background-repeat: repeat-y;
	background-size: 100% auto;
}

.khc-service-link-pending {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid #aaa;
	font-size: 18px;
	line-height: 1.6;
}

.khc-service-link-pending small {
	flex-shrink: 0;
	padding: 2px 8px;
	border-radius: 4px;
	background: #f0eeeb;
	color: #665e55;
	font-size: 12px;
}

.khc-card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 65px 54px;
	margin-top: 30px;
}

.khc-service-card {
	position: relative;
	min-height: 480px;
	padding: 35px 38px 32px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
}

.khc-service-card__image {
	width: 130px;
	height: 130px;
	margin: 0 auto 8px;
	object-fit: contain;
}

.khc-service-card h3 {
	margin: 0 0 25px;
	padding-bottom: 10px;
	border-bottom: 1px solid #333;
	font-size: 36px;
	font-weight: var(--khc-weight-medium);
	text-align: center;
}

.khc-service-card details {
	margin-bottom: 13px;
}

.khc-service-card summary {
	position: relative;
	padding: 14px 50px 14px 22px;
	color: #fff;
	font-size: 24px;
	font-weight: var(--khc-weight-medium);
	list-style: none;
	cursor: pointer;
}

.khc-service-card summary::-webkit-details-marker {
	display: none;
}

.khc-service-card summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 22px;
	width: 14px;
	height: 14px;
	border-right: 3px solid currentColor;
	border-bottom: 3px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
}

.khc-service-card details[open] summary::after {
	transform: translateY(-30%) rotate(225deg);
}

.khc-service-card--resident summary {
	background: var(--khc-orange);
}

.khc-service-card--business summary {
	background: var(--khc-blue);
}

.khc-service-card--public summary {
	background: var(--khc-green);
}

.khc-service-card--disaster summary {
	background: var(--khc-gold);
}

.khc-service-card details a {
	display: block;
	position: relative;
	padding: 10px 42px 10px 20px;
	border-bottom: 1px solid #aaa;
	font-size: 20px;
	font-weight: var(--khc-weight-regular);
}

.khc-service-card details a::after {
	content: "→";
	display: grid;
	place-items: center;
	position: absolute;
	top: 50%;
	right: 15px;
	width: 28px;
	height: 28px;
	color: #fff;
	background: var(--khc-orange);
	border-radius: 50%;
	font-size: 13px;
	line-height: 1;
	transform: translateY(-50%);
}

.khc-service-card--business details a::after {
	background: var(--khc-blue);
}

.khc-service-card--public details a::after {
	background: var(--khc-green);
}

.khc-service-card--disaster details a::after {
	background: var(--khc-gold);
}

.khc-more {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	margin-top: 28px;
	font-size: 20px;
}

.khc-more span {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	color: #fff;
	background: #444;
	border-radius: 50%;
}

.khc-organizations {
	padding: 70px 0 78px;
	border-top: 1px solid #333;
}

.khc-organizations__lead {
	margin: 0 0 35px;
	font-size: 24px;
	font-weight: var(--khc-weight-regular);
	line-height: 1.6;
	text-align: center;
}

.khc-organizations__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px;
}

.khc-organization-card {
	display: grid;
	place-items: center;
	min-height: 230px;
	padding: 35px;
	border: 1px solid #222;
	border-radius: 16px;
	text-align: center;
}

.khc-organization-card img {
	width: 315px;
	margin-bottom: 20px;
}

.khc-organization-card strong {
	justify-self: stretch;
	text-align: left;
	font-size: 24px;
	font-weight: var(--khc-weight-medium);
	line-height: 1.6;
}

.khc-organization-card strong span {
	display: inline-block;
	white-space: nowrap;
}

@media (max-width: 480px) {
	.khc-organization-card strong { font-size: clamp(18px, 5.8vw, 24px); }
}

.khc-organization-card--review {
	place-items: start;
	text-align: left;
}

.khc-organization-card--review img {
	justify-self: center;
}

@media (max-width: 1100px) {
	.khc-news__layout {
		grid-template-columns: 190px minmax(0, 1fr);
		grid-template-areas:
			"heading promo"
			"heading list";
	}

	.khc-news__layout .khc-section-heading {
		grid-area: heading;
	}

	.khc-news__list {
		grid-area: list;
	}

	.khc-promo {
		grid-area: promo;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.khc-promo__reform {
		grid-column: 1 / -1;
	}

}

@media (min-width: 1600px) {
	.khc-hero {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.khc-hero h1 {
		font-size: 64px;
	}

	.khc-news__layout {
		grid-template-columns: max-content minmax(0, 1fr) 250px;
		column-gap: 55px;
		row-gap: 55px;
	}

	.khc-card-grid {
		gap: 72px 64px;
	}
}

@media (max-width: 780px) {
	.khc-hero {
		padding: 42px 0;
	}

	.khc-hero__grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.khc-hero__visual {
		grid-row: 1;
	}

	.khc-hero__copy {
		grid-row: 1;
	}

	.khc-hero h1 {
		font-size: clamp(22px, 5vw, 36px);
		line-height: 1.55;
	}

	.khc-hero__visual {
		width: min(320px, 85%);
		margin: 0 auto;
	}

	.khc-news {
		padding: 48px 0;
	}

	.khc-news__layout,
	.khc-card-grid,
	.khc-organizations__grid {
		grid-template-columns: 1fr;
	}

	.khc-news__layout {
		grid-template-areas:
			"promo"
			"heading"
			"list";
	}

	.khc-section-heading h2 {
		font-size: 28px;
	}

	.khc-news__item {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 14px 0;
		font-size: 18px;
	}

	.khc-news__item time {
		width: fit-content;
	}

	.khc-promo {
		grid-template-columns: 1fr;
	}

	.khc-promo__reform {
		grid-column: auto;
	}

	.khc-business {
		padding: 45px 0 60px;
	}

	.khc-card-grid {
		gap: 28px;
	}

	.khc-service-card {
		min-height: 0;
		padding: 28px 20px;
	}

	.khc-service-card__image {
		width: 110px;
		height: 110px;
	}

	.khc-service-card h3 {
		font-size: 28px;
	}

	.khc-service-card summary {
		font-size: 20px;
	}

	.khc-service-card details a {
		font-size: 18px;
	}

	.khc-organizations {
		padding: 50px 0;
	}

	.khc-organizations__lead {
		font-size: 16px;
		text-align: left;
	}

	.khc-organization-card {
		min-height: 190px;
	}

}
