/* ==========================================================================
   下層ページ（固定ページHTML / アーカイブ共通）
   ========================================================================== */

.has-kn-sub .l-content_inner,
.has-kn-sub .l-main,
.has-kn-sub .l-main_inner,
.has-kn-sub .entry,
.has-kn-sub .entry_body {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	float: none;
}

.has-kn-sub .l-content {
	overflow: hidden;
}

.entry_body .kn-sub h2,
.entry_body .kn-sub h3,
.entry_body .kn-sub h4,
.entry_body .kn-sub h5,
.mceContentBody .kn-sub h2,
.mceContentBody .kn-sub h3,
.mceContentBody .kn-sub h4 {
	all: unset;
	display: block;
	font-family: var(--kn-serif);
	color: inherit;
	background: none;
	padding: 0;
	margin: 0;
	width: auto;
	max-width: none;
	text-align: inherit;
	position: static;
	line-height: 1.5;
}

.entry_body .kn-sub h2::after,
.entry_body .kn-sub h3::after,
.entry_body .kn-sub h4::before,
.mceContentBody .kn-sub h2::after,
.mceContentBody .kn-sub h4::before {
	content: none;
	display: none;
}

.entry_body .kn-sub p,
.entry_body .kn-sub ul,
.entry_body .kn-sub ol,
.entry_body .kn-sub table {
	margin: 0;
}

.entry_body .kn-sub img {
	max-width: 100%;
	height: auto;
}

.kn-sub {
	color: var(--kn-text);
	font-family: var(--kn-serif);
	overflow: hidden;
}

.kn-sub a {
	color: inherit;
}

.kn-sub__band {
	position: relative;
	padding: 72px 0;
}

.kn-sub__band--navy {
	background: var(--kn-navy);
	color: #fff;
}

.kn-sub__band--beige {
	background: var(--kn-beige);
}

.kn-sub__band--photo {
	background-size: cover;
	background-position: center;
}

.kn-sub__bgword {
	position: absolute;
	right: 0;
	bottom: 0;
	font-family: var(--kn-serif);
	font-size: clamp(64px, 14vw, 160px);
	line-height: 0.8;
	letter-spacing: 0.02em;
	color: rgba(222, 215, 36, 0.12);
	pointer-events: none;
	user-select: none;
	white-space: nowrap;
}

.kn-sub__band--navy .kn-sub__bgword {
	color: rgba(255, 255, 255, 0.06);
}

.kn-sub__head {
	text-align: center;
	margin: 0 0 40px;
}

.kn-sub__head h2 {
	font-size: clamp(22px, 3vw, 32px) !important;
	font-weight: 700;
	margin: 0 0 8px !important;
	word-break: keep-all;
	line-break: strict;
	text-wrap: pretty;
}

.kn-sub__en {
	display: block;
	font-size: 13px;
	letter-spacing: 0.22em;
	color: var(--kn-gold-deep);
	margin: 0;
}

.kn-sub__band--navy .kn-sub__en {
	color: var(--kn-gold);
}

.kn-sub__lead {
	margin: 0 auto;
	font-size: 15px;
	line-height: 2.1;
	font-weight: 500;
}

.kn-sub__rule {
	width: 48px;
	height: 2px;
	background: var(--kn-gold);
	margin: 0 auto 28px;
}

/* fade */
.kn-anim {
	opacity: 0;
	transform: translate3d(0, 40px, 0);
	transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}

.kn-anim--up { transform: translate3d(0, 56px, 0); }
.kn-anim--down { transform: translate3d(0, -56px, 0); }
.kn-anim--left { transform: translate3d(-64px, 0, 0); }
.kn-anim--right { transform: translate3d(64px, 0, 0); }

.kn-anim.is-in {
	opacity: 1;
	transform: none;
}

.kn-anim[data-delay="1"] { transition-delay: 0.08s; }
.kn-anim[data-delay="2"] { transition-delay: 0.16s; }
.kn-anim[data-delay="3"] { transition-delay: 0.24s; }
.kn-anim[data-delay="4"] { transition-delay: 0.32s; }
.kn-anim[data-delay="5"] { transition-delay: 0.4s; }
.kn-anim[data-delay="6"] { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
	.kn-anim {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* cards */
.kn-sub__grid3,
.kn-sub__grid4 {
	display: grid;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.kn-sub__grid3 { grid-template-columns: repeat(3, 1fr); }
.kn-sub__grid4 { grid-template-columns: repeat(4, 1fr); }

/* 選ばれる理由：トップと同じ画像比率・下線 */
.kn-sub__reasons {
	gap: 36px 28px;
}

.kn-sub__reasons figure {
	position: relative;
	margin: 0 0 18px;
	border-bottom: 1px solid #fff;
	padding-bottom: 8px;
}

.kn-sub__reasons figure img {
	width: 100%;
	aspect-ratio: 10 / 4;
	object-fit: cover;
	padding-right: 50px;
	height: auto;
	display: block;
}

.kn-sub__reasons .kn-sub__num {
	right: 0;
	bottom: 4px;
	text-shadow: none;
	color: #fff;
}

.kn-sub__reasons > li > p {
	text-align: center;
	font-size: 15px;
	line-height: 1.8;
	margin: 0;
}

.kn-sub__shot {
	margin: 0 auto 40px;
	max-width: 920px;
}

.kn-sub__shot img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

.kn-sub__split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	margin: 0 0 8px;
}

.kn-sub__split figure {
	margin: 0;
}

.kn-sub__split img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.kn-sub__illust {
	max-width: 240px;
	margin: 0 auto 28px;
}

.kn-sub__illust img {
	width: 100%;
	height: auto;
	display: block;
}

.kn-sub__band--beige .kn-sub__grid3 > li > figure {
	margin: -32px -24px 20px;
	overflow: hidden;
}

.kn-sub__band--beige .kn-sub__grid3 > li > figure img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

.kn-sub__card--text > figure {
	margin: -32px -24px 20px;
	overflow: hidden;
}

.kn-sub__grid3 .kn-sub__en {
	font-size: 30px;
}
.kn-sub__card {
	background: #fff;
	color: var(--kn-text);
}

.kn-sub__card figure {
	position: relative;
	margin: 0 0 16px;
	overflow: hidden;
}

.kn-sub__card figure img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.kn-sub__card:hover figure img {
	transform: scale(1.04);
}

.kn-sub__num {
	position: absolute;
	right: 12px;
	bottom: 8px;
	font-size: 32px;
	font-weight: 500;
	line-height: 1;
	color: #fff;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.kn-sub__card p,
.kn-sub__card h3 {
	text-align: center;
	font-size: 15px;
	line-height: 1.8;
	font-weight: 600;
}

.entry_body .kn-sub__band--beige .kn-sub__grid3,
.kn-sub__band--beige .kn-sub__grid3 {
	list-style: none;
	padding: 0;
}

.entry_body .kn-sub__band--beige .kn-sub__grid3 > li,
.kn-sub__band--beige .kn-sub__grid3 > li,
.kn-sub__card--text {
	display: block;
	background: #fff;
	color: var(--kn-text);
	padding: 32px 24px 28px;
	border-top: 3px solid var(--kn-gold);
	box-shadow: 0 10px 28px rgba(10, 26, 53, 0.08);
	box-sizing: border-box;
}

.entry_body .kn-sub__band--beige .kn-sub__grid3 > li h3,
.kn-sub__band--beige .kn-sub__grid3 > li h3,
.kn-sub__card--text h3 {
	margin: 0 0 12px;
	font-weight: 700;
	text-align: center;
}

.kn-sub__points {
	display: grid;
	gap: 28px;
}

.kn-sub__point {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 28px;
	align-items: start;
	padding: 32px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.kn-sub__point:last-child {
	border-bottom: 0;
}

.kn-sub__point-no {
	font-size: clamp(40px, 6vw, 64px);
	font-weight: 500;
	line-height: 1;
	color: var(--kn-gold);
}

.kn-sub__band--beige .kn-sub__point-no {
	color: var(--kn-gold-deep);
}

.kn-sub__band--beige .kn-sub__point {
	border-bottom-color: var(--kn-line);
}

.kn-sub__point h3 {
	font-size: 22px !important;
	font-weight: 700;
	margin: 0 0 12px !important;
}

.kn-sub__point p {
	font-size: 14px;
	line-height: 2;
	opacity: 0.92;
}

/* service */
.kn-sub__service {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 40px;
	align-items: center;
	margin: 0 0 56px;
}

.kn-sub__service:nth-child(even) {
	grid-template-columns: 1.15fr 1fr;
}

.kn-sub__service:nth-child(even) .kn-sub__service-body {
	order: -1;
}

.kn-sub__service figure {
	margin: 0;
	overflow: hidden;
	position: relative;
}

.kn-sub__service figure img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.kn-sub__service-label {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 16px 24px;
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.08em;
	background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.85), transparent);
	width: 100%;
	box-sizing: border-box;
}

.kn-sub__service h3 {
	font-size: 24px !important;
	font-weight: 700;
	margin: 0 0 16px !important;
}

.kn-sub__service p {
	font-size: 14px;
	line-height: 2;
	margin: 0 0 1.2em;
}

.kn-sub__more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
	padding: 10px 22px;
	border: 1px solid #111;
	text-decoration: none !important;
	font-size: 13px;
	letter-spacing: 0.08em;
	font-weight: 700;
	transition: background 0.25s ease, color 0.25s ease;
}

.kn-sub__more:hover {
	background: var(--kn-navy);
	color: #fff;
	border-color: var(--kn-navy);
}

.kn-sub__band--navy .kn-sub__more {
	border-color: #fff;
	color: #fff;
}

.kn-sub__band--navy .kn-sub__more:hover {
	background: #fff;
	color: var(--kn-navy);
}

/* about table */
.kn-sub__table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}

.kn-sub__table th,
.kn-sub__table td {
	border-bottom: 1px solid var(--kn-line);
	padding: 18px 16px;
	text-align: left;
	vertical-align: top;
	font-size: 14px;
	line-height: 1.8;
	background: none;
}

.kn-sub__table th {
	width: 28%;
	font-weight: 700;
	color: var(--kn-navy);
	letter-spacing: 0.04em;
	background: #fafafa;
}

.kn-sub__map {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	display: block;
	filter: grayscale(0.15);
}

.kn-sub__hours {
	display: inline-block;
	margin: 0 0 28px;
	padding: 10px 18px;
	border: 1px solid var(--kn-gold-deep);
	color: var(--kn-navy);
	letter-spacing: 0.08em;
	font-size: 13px;
	font-weight: 700;
}

.kn-sub__checks {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.kn-sub__checks li {
	padding: 18px 16px;
	background: #fff;
	border-top: 3px solid var(--kn-gold);
	font-size: 14px;
	line-height: 1.7;
	font-weight: 600;
	text-align: center;
	color: #b8860b;
}

.kn-sub__letters {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.kn-sub__letters img {
	width: 100%;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	object-position: top center;
	display: block;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.kn-sub__center {
	text-align: center;
	margin-top: 36px;
}

/* FAQ */
.kn-sub__faq {
	background: #fff;
	border-top: 3px solid var(--kn-gold);
	margin: 0 0 16px;
	box-shadow: 0 8px 22px rgba(10, 26, 53, 0.06);
}

.kn-sub__faq summary {
	cursor: pointer;
	list-style: none;
	padding: 20px 52px 20px 22px;
	font-weight: 700;
	font-size: 16px;
	position: relative;
	line-height: 1.7;
}

.kn-sub__faq summary::-webkit-details-marker {
	display: none;
}

.kn-sub__faq summary::after {
	content: '+';
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--kn-gold-deep);
	font-size: 22px;
	font-weight: 500;
}

.kn-sub__faq[open] summary::after {
	content: '−';
}

.kn-sub__faq-a {
	padding: 0 22px 22px;
	font-size: 14px;
	line-height: 2;
	color: #444;
}

/* paint table */
.kn-sub__table--data thead th {
	width: auto;
	background: var(--kn-navy);
	color: #fff;
	text-align: center;
	font-weight: 700;
	border-bottom: 0;
}

.kn-sub__table--data td {
	background: #fff;
}

.kn-sub__table--data tbody th {
	width: 18%;
	text-align: center;
	background: #f7f4ea;
}

/* simulation swatches */
.kn-sub__sim {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.kn-sub__sim li {
	background: #fff;
	padding: 16px 16px 18px;
	text-align: center;
	font-weight: 700;
	font-size: 14px;
	box-shadow: 0 8px 22px rgba(10, 26, 53, 0.06);
}

.kn-sub__swatch {
	display: block;
	height: 92px;
	margin: 0 0 12px;
	background: linear-gradient(90deg, var(--a, #ddd) 50%, var(--b, #999) 50%);
}

/* contact / CF7 */
.kn-sub__contact-info {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 0 0 40px;
}

.kn-sub__contact-info a {
	display: block;
	padding: 22px 18px;
	background: var(--kn-navy);
	color: #fff !important;
	text-align: center;
	text-decoration: none !important;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.kn-sub__contact-info a:hover {
	opacity: 0.9;
}

.entry_body .wpcf7-form p,
.kn-sub .wpcf7-form p {
	margin: 0 0 18px;
}

.wpcf7-form fieldset {
	margin: 0 0 18px;
	padding: 0;
	border: 0;
}

.wpcf7-form legend {
	padding: 0;
	font-weight: 700;
	font-size: 14px;
}

.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-tel,
.wpcf7-form .wpcf7-select,
.wpcf7-form .wpcf7-textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
	width: 100%;
	margin-top: 8px;
	padding: 12px 14px;
	border: 1px solid var(--kn-line);
	border-radius: 0;
	font-family: var(--kn-serif);
	font-size: 15px;
	background: #fff;
	box-sizing: border-box;
}

.wpcf7-form .wpcf7-checkbox,
.wpcf7-form .wpcf7-radio {
	display: grid;
	gap: 10px;
	margin-top: 10px;
}

.wpcf7-form .wpcf7-list-item {
	display: block;
	margin: 0;
}

.wpcf7-form .wpcf7-list-item label,
.wpcf7-form .wpcf7-list-item-label {
	font-weight: 500;
	font-size: 14px;
}

.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
	width: auto;
	margin-right: 8px;
	vertical-align: middle;
}

.wpcf7-form .wpcf7-submit {
	display: block;
	min-width: 220px;
	margin: 8px auto 0;
	padding: 14px 28px;
	border: 1px solid #111;
	background: var(--kn-navy);
	color: #fff;
	font-family: var(--kn-serif);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	cursor: pointer;
}

.wpcf7-form .kn-sub__center,
.wpcf7-form p:has(.wpcf7-submit) {
	position: relative;
	text-align: center;
}

.wpcf7-form .wpcf7-spinner,
.wpcf7-form .ajax-loader {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: 0 0 0 122px !important;
	transform: translateY(-50%);
}

.wpcf7-form .wpcf7-submit:hover {
	opacity: 0.88;
}

.wpcf7-not-valid-tip,
.wpcf7-response-output {
	font-size: 13px;
}

/* privacy */
.kn-sub__privacy h3 {
	font-size: 20px !important;
	font-weight: 700;
	margin: 0 0 12px !important;
}

.kn-sub__privacy p {
	font-size: 14px;
	line-height: 2;
}

.kn-sub__privacy article {
	margin: 0 0 36px;
}

@media (max-width: 1000px) {
	.kn-sub__grid3,
	.kn-sub__grid4,
	.kn-sub__checks,
	.kn-sub__letters,
	.kn-sub__sim,
	.kn-sub__contact-info {
		grid-template-columns: 1fr 1fr;
	}

	.kn-sub__service,
	.kn-sub__service:nth-child(even) {
		grid-template-columns: 1fr;
	}

	.kn-sub__service:nth-child(even) .kn-sub__service-body {
		order: 0;
	}

	.kn-sub__point {
		grid-template-columns: 80px 1fr;
	}

	.kn-sub__split {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {
	.kn-sub__band {
		padding: 48px 0;
	}

	.kn-sub__grid3,
	.kn-sub__grid4,
	.kn-sub__checks,
	.kn-sub__letters,
	.kn-sub__sim,
	.kn-sub__contact-info {
		grid-template-columns: 1fr;
	}

	.kn-sub__point {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.kn-sub__table th,
	.kn-sub__table td {
		display: block;
		width: 100%;
	}

	.kn-sub__table th {
		padding-bottom: 0;
		border-bottom: 0;
	}
}
