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

body.khc-custom-page .site-header,
body.khc-custom-page .site-footer,
body.khc-custom-page .site-info {
	display: none;
}

.khc-detail {
	background: #ffffff;
	color: #191919;
}

.khc-detail__breadcrumb {
	border-top: 1px solid #dddddd;
	border-bottom: 1px solid #dddddd;
	font-size: 14px;
}

.khc-detail__breadcrumb .khc-container {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	overflow-x: auto;
	white-space: nowrap;
}

.khc-detail__breadcrumb a {
	color: #279151;
	text-decoration: none;
}

.khc-detail__hero {
	background: #279151;
	color: #ffffff;
	padding: 48px 0;
}

.khc-detail__hero .khc-container {
	display: flex;
	align-items: center;
	gap: 24px;
}

.khc-detail__hero p {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: 0;
	border: 2px solid #ffffff;
	border-radius: 50%;
	font-size: 18px;
	font-weight: 500;
	flex: 0 0 auto;
}

.khc-detail__hero h1 {
	margin: 0;
	font-size: 36px;
	font-weight: 600;
	line-height: 1.45;
}

.khc-detail__body {
	background: #edf8f1;
	padding: 72px 0 88px;
}

.khc-detail__content {
	max-width: 1120px;
	margin-inline: auto;
	padding: 48px;
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
}

.khc-detail__content h2 {
	margin: 0 0 28px;
	padding-bottom: 18px;
	border-bottom: 1px solid #777777;
	font-size: 32px;
	font-weight: 600;
	line-height: 1.5;
}

.khc-detail__content p,
.khc-detail__content li {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.6;
}

.khc-detail__content .khc-detail-nav {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 44px;
}

.khc-detail-nav a {
	display: grid;
	place-items: center;
	min-height: 62px;
	padding: 12px 16px;
	background: #e9f6ee;
	border: 1px solid #b9dfc8;
	border-radius: 10px;
	color: #176b38;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
	text-align: center;
	text-decoration: none;
}

.khc-detail-section {
	scroll-margin-top: 96px;
}

.khc-detail-section + .khc-detail-section {
	margin-top: 64px;
	padding-top: 64px;
	border-top: 1px solid #d7e8dd;
}

.khc-detail__content .khc-detail-section h2 {
	margin: 0 0 28px;
}

.khc-detail__content .khc-detail-section h3 {
	margin: 44px 0 18px;
	padding: 12px 18px;
	background: #edf8f1;
	border-left: 5px solid #279151;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.5;
}

.khc-detail-section p {
	margin: 0 0 1.25em;
}

.khc-numbered-list {
	display: grid;
	gap: 12px;
	margin: 26px 0 0;
	padding-left: 1.5em;
}

.khc-process {
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1fr;
	align-items: center;
	gap: 14px;
	margin: 34px 0;
}

.khc-process > div {
	display: grid;
	gap: 7px;
	min-height: 108px;
	align-content: center;
	padding: 18px;
	background: #f4faf6;
	border: 1px solid #cce5d5;
	border-radius: 12px;
	text-align: center;
}

.khc-process strong {
	font-size: 18px;
}

.khc-process div span {
	font-size: 15px;
}

.khc-process > span {
	color: #279151;
	font-size: 28px;
	font-weight: 700;
}

.khc-resource-list {
	display: grid;
	gap: 10px;
	margin: 28px 0 0;
}

.khc-resource-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 18px;
	background: #f7faf8;
	border-left: 4px solid #279151;
	color: #174f2b;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
}

.khc-resource-list a > span:last-child[aria-hidden="true"] {
	color: #279151;
	font-size: 22px;
	font-weight: 500;
}

.khc-table-scroll {
	margin: 24px 0 40px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.khc-data-table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
	font-size: 16px;
	line-height: 1.55;
}

.khc-data-table th,
.khc-data-table td {
	padding: 13px 14px;
	border: 1px solid #aab8af;
	vertical-align: middle;
}

.khc-data-table thead th {
	background: #d8efdf;
	color: #174f2b;
	font-weight: 700;
	text-align: center;
}

.khc-data-table tbody th {
	background: #f1f8f3;
	font-weight: 600;
	text-align: center;
}

.khc-data-table--application td:last-child {
	width: 25%;
	text-align: center;
}

.khc-data-table--fees td:last-child {
	text-align: center;
}

.khc-data-table--fees strong,
.khc-data-table--fees small {
	display: block;
}

.khc-note {
	font-size: 16px !important;
	text-align: right;
}

.khc-data-table--wood-advice th:first-child {
	width: 21%;
}

.khc-data-table--wood-advice thead th {
	background: #f6e6a6;
	color: #594719;
}

.khc-data-table--wood-advice tbody th {
	background: #fff8dc;
}

.khc-detail--ud-advice-results .khc-data-table thead th {
	background: #e5dced;
	color: #4e395f;
}

.khc-detail--ud-advice-results .khc-data-table tbody th {
	background: #f4eff7;
}

.khc-data-table--wood-advice td:nth-child(2) {
	width: 11%;
	text-align: center;
}

.khc-data-table--advisers td:nth-child(-n+3) {
	white-space: nowrap;
	text-align: center;
}

.khc-resource-list--primary {
	margin-bottom: 42px;
}

.khc-voice-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin: 32px 0 0;
}

.khc-voice-card {
	margin: 0;
	padding: 24px 26px;
	background: #f7faf8;
	border: 1px solid #d4e2d9;
	border-left: 6px solid #279151;
	border-radius: 0 12px 12px 0;
}

.khc-voice-card p {
	margin: 0;
	font-size: 17px;
}

.khc-voice-card cite {
	display: block;
	margin-top: 14px;
	color: #176b38;
	font-size: 15px;
	font-style: normal;
	font-weight: 600;
	text-align: right;
}

.khc-voice-card--prefecture {
	background: #edf8f1;
}

.khc-support-flow {
	display: grid;
	gap: 22px;
	margin: 34px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.khc-support-flow > li {
	display: grid;
	grid-template-columns: minmax(230px, .75fr) minmax(0, 1.8fr);
	position: relative;
	font-size: 16px;
}

.khc-support-flow > li:not(:last-child)::after {
	content: "↓";
	position: absolute;
	bottom: -25px;
	left: 12%;
	color: #279151;
	font-size: 24px;
	font-weight: 700;
}

.khc-support-flow > li > header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 22px;
	background: #e9f6ee;
	border: 1px solid #acd7bc;
	border-radius: 12px 0 0 12px;
}

.khc-support-flow > li > header span {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	flex: 0 0 auto;
	color: #fff;
	background: #279151;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 700;
}

.khc-detail__content .khc-support-flow h3 {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	font-size: 18px;
	font-weight: 600;
}

.khc-support-flow > li > div {
	padding: 20px 24px;
	background: #f9fbfa;
	border: 1px solid #d4e2d9;
	border-left: 0;
	border-radius: 0 12px 12px 0;
}

.khc-support-flow ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px 24px;
	margin: 0;
	padding-left: 1.25em;
}

.khc-support-flow ul li {
	font-size: 16px;
}

.khc-support-flow__note {
	margin: 0 0 10px !important;
	color: #4b6655;
	font-size: 14px !important;
}

.khc-support-projects > h2 {
	margin-bottom: 30px;
}

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

.khc-project-card {
	padding: 30px;
	background: #f7faf8;
	border: 1px solid #d4e2d9;
	border-top: 6px solid #279151;
	border-radius: 14px;
}

.khc-project-card > span {
	display: inline-block;
	margin-bottom: 14px;
	padding: 5px 11px;
	color: #176b38;
	background: #dff1e6;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
}

.khc-detail__content .khc-project-card h3 {
	margin: 0 0 12px;
	font-size: 23px;
	font-weight: 600;
	line-height: 1.5;
}

.khc-project-card p {
	font-size: 17px;
}

.khc-project-card__meta {
	color: #176b38;
	font-weight: 600 !important;
}

.khc-project-card__note {
	margin-bottom: 0 !important;
	padding-top: 16px;
	border-top: 1px solid #d4e2d9;
}

.khc-past-projects ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.khc-past-projects li {
	padding: 16px 18px;
	background: #f7faf8;
	border-left: 4px solid #279151;
}

.khc-detail__back {
	display: inline-flex;
	margin-top: 32px;
	padding: 14px 24px;
	background: #279151;
	border-radius: 999px;
	color: #ffffff;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
}

.khc-detail a.khc-detail__back,
.khc-detail a.khc-detail__back:visited,
.khc-detail a.khc-detail__back:hover,
.khc-detail a.khc-detail__back:focus {
	color: #ffffff !important;
}

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

	.khc-detail__hero .khc-container {
		gap: 14px;
	}

	.khc-detail__hero p {
		width: 48px;
		height: 48px;
		font-size: 14px;
	}

	.khc-detail__hero h1 {
		font-size: 24px;
	}

	.khc-detail__body {
		padding: 40px 0 56px;
	}

	.khc-detail__content {
		padding: 24px 20px;
		border-radius: 12px;
	}

	.khc-detail__content h2 {
		font-size: 24px;
	}

	.khc-detail__content p,
	.khc-detail__content li {
		font-size: 18px;
	}

	.khc-detail__content .khc-detail-nav {
		grid-template-columns: 1fr 1fr;
		margin-bottom: 32px;
	}

	.khc-detail-nav a {
		min-height: 56px;
		padding: 10px;
		font-size: 14px;
	}

	.khc-detail-section + .khc-detail-section {
		margin-top: 44px;
		padding-top: 44px;
	}

	.khc-detail__content .khc-detail-section h3 {
		margin-top: 34px;
		font-size: 20px;
	}

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

	.khc-process > div {
		min-height: 0;
	}

	.khc-process > span {
		transform: rotate(90deg);
		text-align: center;
	}

	.khc-resource-list a {
		font-size: 16px;
	}

	.khc-data-table {
		font-size: 14px;
	}

	.khc-support-flow > li {
		grid-template-columns: 1fr;
	}

	.khc-support-flow > li:not(:last-child)::after {
		left: 50%;
	}

	.khc-support-flow > li > header {
		border-radius: 10px 10px 0 0;
	}

	.khc-support-flow > li > div {
		border-left: 1px solid #d4e2d9;
		border-radius: 0 0 10px 10px;
	}

	.khc-support-flow ul,
	.khc-project-grid,
	.khc-past-projects ul {
		grid-template-columns: 1fr;
	}

	.khc-project-card {
		padding: 24px 20px;
	}

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

	.khc-voice-card {
		padding: 20px;
	}
}
