/**
 * 下層固定ページ（page.php）— MV・パンくず・本文。
 * PC インナー幅 1200px。MV / パンくずのタイポは Figma（node 154:5）準拠。
 *
 * @package komono
 */

/* --- 下層ページ専用リセット（front-page の全体 reset が効かないため） --- */

body.is-lower {
	margin: 0;
}

body.is-lower *,
body.is-lower *::before,
body.is-lower *::after {
	box-sizing: border-box;
}

body.is-lower :where(
	h1,
	h2,
	h3,
	h4,
	h5,
	h6,
	p,
	ul,
	ol,
	li,
	dl,
	dt,
	dd,
	figure,
	blockquote
) {
	margin: 0;
	padding: 0;
}

body.is-lower :where(ul, ol) {
	list-style: none;
}

/* --- 下層 MV（Figma: 画像左＋オーバーレイ、見出しは白ボックスで画像右縁に重ねる） --- */

.c-lower-mv {
	position: relative;
	z-index: 1;
	padding: 74px 0 7px;
}

.c-lower-mv__media {
	position: relative;
	max-width: 402px;
}

.c-lower-mv__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 402 / 422;
	object-fit: cover;
}

.c-lower-mv__placeholder {
	width: 100%;
	aspect-ratio: 402 / 422;
	background: #d9d9d9;
}

.c-lower-mv__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: rgba(94, 94, 94, 0.4);
}

.c-lower-mv__title-box {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(50%, -50%);
	box-sizing: border-box;
	background: #fff;
	padding: 10px 20px;
	min-height: 49px;
	display: flex;
	align-items: center;
}

.c-lower-mv__title {
	margin: 0;
	color: #000;
	font-family: "Noto Serif JP", serif;
	font-size: 32px;
	font-weight: 400;
	letter-spacing: 0.2em;
	line-height: 1.25;
}

/* --- パンくず（Figma: Noto Serif 12px / tracking 2.4px） --- */

.c-lower-breadcrumb {
	position: relative;
	z-index: 1000; /* header(1001)の直下レイヤー */
	padding: 0 20px 0;
	color: #000;
}

.c-lower-breadcrumb__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.c-lower-breadcrumb__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
}

.c-lower-breadcrumb__item {
	margin: 0;
}

.c-lower-breadcrumb__link {
	position: relative;
	display: inline-block;
	color: #000;
	font-family: "Noto Serif JP", serif;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-decoration: none;
	padding-bottom: 10px;
}

.c-lower-breadcrumb__link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 8px;
	width: 80%;
	height: 1px;
	background: currentColor;
}

.c-lower-breadcrumb__link::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 8px;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: currentColor;
}

.c-lower-breadcrumb__current {
	color: #000;
	font-family: "Noto Serif JP", serif;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.2em;
	line-height: 1.4;
}

.c-lower-breadcrumb__sep {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	color: #000;
}

.c-lower-breadcrumb__sep-icon {
	display: block;
	flex-shrink: 0;
}

/* --- 本文エリア --- */

.c-lower {
	position: relative;
	z-index: 1;
	padding: 80px 20px 80px;
}

.c-lower__inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	min-width: 0;
}

.c-lower__content {
	color: #4d4d4d;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 15px;
	line-height: 1.9;
}

.c-lower__content > *:first-child {
	margin-top: 0;
}

.c-lower__content p {
	font-family: "Noto Serif JP", serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0.2em;
	color: #000;
	margin: 0 0 45px;
}

.c-lower__content h2,
.c-lower__content h3,
.c-lower__content h4 {
	font-family: "Noto Serif JP", serif;
	font-weight: 400;
	letter-spacing: 0.2em;
	line-height: 1.45;
	color: #000;
	margin: 0;
}

.c-lower__content h2 {
	/* 1512px viewport で 42px になるよう 2.777...vw を採用 */
	font-size: clamp(28px, 2.7778vw, 42px);
	line-height: 1.2;
	margin-top: 100px;
	margin-bottom: 45px;
}

.c-lower__content h3 {
	display: block;
	width: fit-content;
	max-width: 100%;
	font-size: clamp(24px, 2.1164vw, 32px);
	line-height: 2;
	letter-spacing: 0.2em;
	color: #000;
	margin-bottom: 45px;
}

.c-lower__content h3 > .c-lower__h3-label {
	display: inline;
	background: #4d4d4d;
	padding: 4px 9px;
	color: #fff;
	white-space: normal;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.c-lower__content h4 {
	display: block;
	width: fit-content;
	max-width: 100%;
	font-size: clamp(22px, 1.8519vw, 28px);
	line-height: 1.75;
	letter-spacing: 0.2em;
	color: #000;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	text-decoration-skip-ink: none;
	margin-bottom: 45px;
}

.c-lower__content h5 {
	font-family: "Noto Serif JP", serif;
	font-size: clamp(16px, 1.3228vw, 20px);
	font-weight: 700;
	line-height: 1.75;
	letter-spacing: 0.2em;
	color: #000;
	margin: 0 0 25px;
}

.c-lower__content ul,
.c-lower__content ol {
	margin: 1em 0 0;
	padding-left: 1.35em;
}

.c-lower__content ul {
	list-style: disc;
}

.c-lower__content ol {
	list-style: decimal;
}

.c-lower__content li {
	margin-top: 0.35em;
}

.c-lower__content a {
	color: #4d4d4d;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.c-lower__content a:hover {
	text-decoration-thickness: 2px;
}

.c-lower__content img {
	max-width: 600px;
	width: 100%;
	height: auto;
	vertical-align: middle;
}

.c-lower__content blockquote {
	margin: 1.25em 0 0;
	padding: 0.5em 0 0.5em 1em;
	border-left: 3px solid #bdbdbd;
	color: #4d4d4d;
}

.c-lower__pages {
	margin-top: 2.5em;
	padding-top: 1.5em;
	border-top: 1px solid #e0e0e0;
	font-size: 14px;
}

.c-lower__pages-label {
	margin: 0 0 0.5em;
	font-family: "Noto Serif JP", serif;
	letter-spacing: 0.08em;
}

/* --- 下層ページのフッター（top/contact と同等の見た目） --- */

.c-footer {
	position: relative;
	z-index: 1;
	padding: 64px 20px 32px;
}

.c-footer__inner {
	width: min(100%, 1240px);
	margin: 0 auto;
}

.c-footer__brand {
	display: flex;
	justify-content: center;
}

.c-footer__brand img {
	display: block;
	width: 181px;
	height: auto;
}

.c-footer__nav {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: fit-content;
	margin-top: 92px;
	color: #4d4d4d;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.1em;
	line-height: 1.35;
}

.c-footer__nav a {
	color: inherit;
	text-decoration: none;
}

.c-footer__subnav {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-left: 28px;
	margin-top: -2px;
}

.c-footer__subnav a {
	position: relative;
}

.c-footer__subnav a::before {
	content: "";
	position: absolute;
	left: -18px;
	top: 50%;
	width: 14px;
	height: 1px;
	background: currentColor;
	transform: translateY(-50%);
}

.c-footer__copy {
	margin-top: 80px;
	color: #4d4d4d;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-align: center;
}

@media (max-width: 767px) {
	.c-lower-mv {
		padding: 96px 20px 24px;
	}

	.c-lower-mv__media {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		max-width: 100%;
	}

	.c-lower-mv__title-box {
		position: relative;
		top: auto;
		right: auto;
		transform: none;
		align-self: flex-start;
		margin: -28px 0 0 16px;
		max-width: calc(100% - 32px);
	}

	.c-lower-mv__title {
		font-size: 26px;
	}

	.c-lower-breadcrumb {
		padding-top: 8px;
	}

	.c-lower {
		padding: 40px 20px 64px;
	}

	.c-footer {
		padding-top: 56px;
		padding-bottom: 30px;
	}

	.c-footer__nav {
		margin-top: 64px;
	}

	.c-footer__copy {
		margin-top: 64px;
	}
}
