@charset "UTF-8";
/* =========================================================
   page.css - 下層ページ共通
   ========================================================= */

.p-lower { position: relative; }

/* 1440px相当のステージ（Figmaのアートボード） */
.l-stage {
	position: relative;
	width: min(100%, 144rem);
	margin-inline: auto;
}

/* 左右120pxのコンテンツ幅 */
.l-inner {
	width: min(100%, 144rem);
	margin-inline: auto;
	padding-left: 12rem;
	padding-right: 12rem;
}

/* ---------- ページ見出し ---------- */
.c-pagehead {
	display: flex;
	flex-direction: column;
	gap: .8rem;
	align-items: flex-start;
}

.c-pagehead__en {
	font-family: var(--font-en);
	font-weight: 200;
	font-size: 6.4rem;
	line-height: 1.2;
	color: var(--c-main);
}

.c-pagehead__label {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 2.4rem;
	font-weight: 500;
	line-height: 1;
	letter-spacing: .03em;
	color: var(--c-main);
}

.c-pagehead__label img { width: 2.4rem; height: 2.4rem; }

/* ---------- セクションの英字小見出し ---------- */
.c-sublabel {
	font-family: var(--font-en);
	font-weight: 200;
	font-size: 2.4rem;
	line-height: 1.2;
	color: #707070;
	text-align: center;
}

.c-sublabel--light { color: rgba(255, 255, 255, .75); }

/* ---------- パンくず ---------- */
.c-breadcrumb {
	width: min(100%, 144rem);
	margin-inline: auto;
	padding: 4rem 12rem 0;
}

.c-breadcrumb__list {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: 1.6rem;
	line-height: 1.15;
	color: var(--c-text);
}

.c-breadcrumb__list li + li::before {
	content: ">";
	margin-right: .5rem;
}

.c-breadcrumb__list li:last-child { color: var(--c-main); }
.c-breadcrumb__list a { transition: opacity .3s ease; }
.c-breadcrumb__list a:hover { opacity: .6; }

/* 下層ページのCTAは上の余白を詰める */
body:not(.is-home) .p-cta { padding-top: 8rem; }

/* ---------- 一文字ずつ出現（タイピング風） ---------- */
.js-typing .c-char {
	display: inline-block;
	opacity: 0;
	transform: translateY(.6rem);
}

.js-typing.is-typed .c-char {
	opacity: 1;
	transform: none;
	transition: opacity .18s linear, transform .28s var(--ease-pop);
}

@media (prefers-reduced-motion: reduce) {
	.js-typing .c-char { opacity: 1 !important; transform: none !important; }
}

@media screen and (max-width: 1023px) {
	.l-inner { padding-left: 2.4rem; padding-right: 2.4rem; max-width: none; }

	/* 下層ページ見出し（Figma SP: pagehead 390x214／英字34px＋ラベル14px） */
	.c-pagehead { gap: .425rem; }
	.c-pagehead__en { font-size: 3.4rem; line-height: 1.2; }
	.c-pagehead__label { gap: .8rem; font-size: 1.4rem; line-height: 1.15; letter-spacing: .0266em; }
	.c-pagehead__label img { width: 1.6rem; height: 1.6rem; }

	/* 下層MV：全幅・高さ12.5rem・角丸なし（Figma SPのpagehead内バンド） */
	.p-lower .p-philosophy__mv,
	.p-lower .p-company-page__mv,
	.p-lower .p-service-page__mv,
	.p-lower .p-topics-page__mv,
	.p-lower .p-topic__mv,
	.p-lower .p-contact__mv {
		width: 100%;
		max-width: none;
		margin-top: 2.8rem;
		padding: 0;
	}

	.p-lower .p-philosophy__mv img,
	.p-lower .p-company-page__mv img,
	.p-lower .p-service-page__mv img,
	.p-lower .p-topics-page__mv img,
	.p-lower .p-topic__mv img,
	.p-lower .p-contact__mv img {
		height: 12.5rem;
		border-radius: 0;
		object-position: center 46%;
	}

	.c-sublabel { font-size: 1.8rem; }
	.c-breadcrumb { padding: 3rem 2.4rem 0; max-width: none; }
	.c-breadcrumb__list { font-size: 1.3rem; flex-wrap: wrap; }
	body:not(.is-home) .p-cta { padding-top: 6rem; }
}

/* ---------- カテゴリーチップ ---------- */
.c-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: .5rem 1rem;
	border-radius: 1rem;
	background: #f0f4fe;
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 1.7;
	color: var(--c-main);
	transition: background-color .3s ease;
}

.c-chip:hover,
.c-chip.is-current { background: #dbe5fb; }

/* ---------- ページネーション ---------- */
.c-pager__list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .8rem;
	line-height: 1;
}

.c-pager__list li { display: flex; }

.c-pager__list .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border: .5px solid var(--c-main);
	border-radius: .4rem;
	background: #fff;
	font-family: var(--font-en);
	font-weight: 200;
	font-size: 1.4rem;
	line-height: 1;
	color: var(--c-main);
	transition: background-color .3s ease, color .3s ease;
}

.c-pager__list .page-numbers:hover,
.c-pager__list .page-numbers.current { background: var(--c-main); color: #fff; }

.c-pager__list .page-numbers.dots {
	border: 0;
	font-size: 1rem;
	letter-spacing: .1em;
}

.c-pager__list .page-numbers.dots:hover { background: #fff; color: var(--c-main); }

@media screen and (max-width: 1023px) {
	.c-chip { font-size: 1.3rem; }
	.c-pager__list .page-numbers { width: 3.4rem; height: 3.4rem; font-size: 1.4rem; }
}

/* =========================================================
   画像ループ
   ========================================================= */
.p-imgloop {
	position: relative;
	z-index: 2;
	height: 39.6rem;
	overflow: hidden;
}

.p-imgloop__track {
	display: flex;
	width: max-content;
	animation: ws-imgloop 55s linear infinite;
}

.p-imgloop__group {
	display: flex;
	align-items: center;
	gap: 2rem;
	padding-right: 2rem;
	height: 39.6rem;
}

.p-imgloop__item {
	display: block;
	flex-shrink: 0;
	width: 33.5rem;
	border-radius: 1rem;
	overflow: hidden;
}

.p-imgloop__item--tall { height: 39.6rem; }
.p-imgloop__item--short { height: 23rem; }
.p-imgloop__item img { width: 100%; height: 100%; object-fit: cover; }

/* 逆方向に流す */
.p-imgloop--reverse .p-imgloop__track { animation-direction: reverse; }

@keyframes ws-imgloop {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* =========================================================
   404
   ========================================================= */
.p-notfound { padding-top: 15rem; }

.p-notfound__head,
.p-notfound__body {
	width: min(100%, 144rem);
	margin-inline: auto;
	padding: 0 12rem;
}

.p-notfound__body { padding-bottom: 14rem; }

.p-notfound__lead {
	margin-top: 6rem;
	font-size: 1.6rem;
	line-height: 2.2;
	color: var(--c-text);
}

.p-notfound__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	margin-top: 5rem;
}

@media screen and (max-width: 1023px) {
	.p-notfound { padding-top: var(--header-h); }

	.p-notfound__head,
	.p-notfound__body { padding: 0 2.4rem; max-width: none; }

	.p-notfound__body { padding-bottom: 8rem; }
	.p-notfound__lead { margin-top: 4rem; font-size: 1.5rem; line-height: 2; }
	.p-notfound__btns { flex-direction: column; align-items: flex-start; gap: 1.6rem; margin-top: 4rem; }
}
