@charset "UTF-8";

.top-page {
	overflow-x: hidden;
	max-width: 100%;
}

html:has(body.is-top-page),
body.is-top-page {
	overflow-x: hidden;
	overscroll-behavior-x: none;
	max-width: 100%;
}

/* 共通ボタン */

.top-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	min-height: 52px;
	padding: 14px 40px;
	border-radius: 999px;
	color: #fff;
	background: var(--color-navy);
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	transition: opacity 0.2s;
}

.top-button:hover {
	opacity: 0.85;
}

.top-button--outline {
	border: 1px solid #fff;
	color: #fff;
	background: transparent;
}

.top-button--white {
	color: var(--color-navy);
	background: #fff;
}

/* PC: navy buttons peelm to white (exclude header / outline / white) */
@media screen and (min-width: 768px) {
	.top-button:not(.top-button--outline):not(.top-button--white) {
		position: relative;
		overflow: hidden;
		isolation: isolate;
		border: 1px solid var(--color-navy);
		color: #fff;
		background: #fff;
		transition: color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.top-button:not(.top-button--outline):not(.top-button--white)::before {
		content: '';
		position: absolute;
		inset: 0;
		z-index: -1;
		background: var(--color-navy);
		transform: scaleY(1);
		transform-origin: top center;
		transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
		pointer-events: none;
		will-change: transform;
	}

	@media (hover: hover) and (pointer: fine) {
		.top-button:not(.top-button--outline):not(.top-button--white):hover,
		.top-button:not(.top-button--outline):not(.top-button--white):focus-visible {
			color: var(--color-navy);
			opacity: 1;
		}

		.top-button:not(.top-button--outline):not(.top-button--white):hover::before,
		.top-button:not(.top-button--outline):not(.top-button--white):focus-visible::before {
			transform: scaleY(0);
		}
	}

	/* PC: white buttons peel to navy (white border / white text) */
	.top-button--white {
		position: relative;
		overflow: hidden;
		isolation: isolate;
		border: 1px solid #fff;
		color: var(--color-navy);
		background: #fff;
		transition:
			color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
			border-color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.top-button--white::before {
		content: '';
		position: absolute;
		inset: 0;
		z-index: -1;
		background: var(--color-navy);
		transform: scaleY(0);
		transform-origin: bottom center;
		transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
		pointer-events: none;
		will-change: transform;
	}

	@media (hover: hover) and (pointer: fine) {
		.top-button--white:hover,
		.top-button--white:focus-visible {
			color: #fff;
			border-color: #fff;
			opacity: 1;
		}

		.top-button--white:hover::before,
		.top-button--white:focus-visible::before {
			transform: scaleY(1);
		}
	}
}

/* ヒーロー（共通ラッパーのみ） */

.top-hero {
	position: relative;
	z-index: 1;
	background: #fff;
	overflow: visible;
}

.top-hero__inner {
	width: min(calc(100% - 80px), 1400px);
	margin-inline: auto;
	overflow: visible;
}

/* ヒーロー（PC） */

@media screen and (min-width: 768px) {

	.top-hero__inner {
		width: 100%;
		max-width: none;
		margin: 0;
	}

	.top-hero__pc {
		--hero-catch-size: clamp(
			3.2rem,
			calc((100vh - var(--header-height) - 2.8rem) / 11.2),
			6.2rem
		);
		/* 小さい画面は狭く、大きい画面は編集前の 80px まで戻す */
		--hero-catch-pad: clamp(
			1.6rem,
			calc(100vh - var(--header-height) - 1.2rem - (11.2 * var(--hero-catch-size))),
			8rem
		);
		display: block;
		padding: calc(var(--header-height) + var(--hero-catch-pad)) 0 88px;
		overflow-x: clip;
		overflow-y: visible;
		box-sizing: border-box;
	}

	.top-hero__pc .top-hero__visual {
		display: block;
		width: 100%;
		overflow: visible;
	}

	.top-hero__pc .top-hero__main {
		position: relative;
		width: 100%;
		margin: 0;
		/* 画像のみ下げる（margin相殺でキャッチが下がらないよう padding で確保） */
		padding-top: calc(var(--hero-catch-size) * 2.55);
		overflow: visible;
	}

	.top-hero__pc .top-hero__image-wrap {
		position: relative;
		width: min(64%, 1040px);
		margin-top: 0;
		overflow: visible;
	}

	.top-hero__pc .top-hero__slider {
		position: relative;
		width: 100%;
		aspect-ratio: 16 / 10;
		overflow: hidden;
	}

	.top-hero__pc .top-hero__slide {
		position: absolute;
		inset: 0;
		z-index: 0;
		opacity: 0;
		transition: opacity 1.2s ease;
	}

	.top-hero__pc .top-hero__slide.is-active {
		z-index: 1;
		opacity: 1;
	}

	.top-hero__pc .top-hero__slide img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center 22%;
	}

	.top-hero__pc .top-hero__catch-block {
		position: absolute;
		top: -0.25em;
		/* ヘッダー内コンテンツ右端に合わせる */
		right: max(40px, calc((100% - 1400px) / 2));
		left: auto;
		z-index: 3;
		padding: 0;
		font-size: var(--hero-catch-size);
		background: transparent;
		pointer-events: none;
		transform: none;
	}

	.top-hero__pc .top-hero__catch {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 0.08em;
		margin: 0;
		font-size: inherit;
	}

	.top-hero__pc .top-hero__catch-col {
		display: block;
		padding: 0;
		color: var(--color-navy);
		font-family: var(--font-ja);
		font-size: inherit;
		font-weight: 700;
		line-height: 1.35;
		letter-spacing: 0.08em;
		white-space: nowrap;
		background-color: transparent;
	}

	.top-hero__pc .top-hero__catch-col--primary {
		flex-shrink: 0;
		writing-mode: horizontal-tb;
		text-orientation: mixed;
	}

	.top-hero__pc .top-hero__catch-col--secondary {
		margin-top: 0;
		writing-mode: vertical-rl;
		text-orientation: mixed;
		line-height: 1.5;
		letter-spacing: 0.12em;
	}

	.top-hero__pc .top-hero__lead {
		width: min(72%, 1100px);
		/* ヘッダーロゴ左端（site-header__inner）に合わせる */
		margin: 104px 0 0 max(40px, calc((100% - 1400px) / 2));
		padding: 0;
		color: var(--color-navy);
		font-family: var(--font-ja);
		font-size: clamp(1.4rem, 1.15vw, 1.6rem);
		font-weight: 500;
		line-height: 2;
		letter-spacing: 0.04em;
	}
}

@media screen and (min-width: 1200px) {
	.top-hero__pc {
		--hero-catch-size: clamp(
			3.2rem,
			calc((100vh - var(--header-height) - 2.8rem) / 11.2),
			7.2rem
		);
	}

	.top-hero__pc .top-hero__image-wrap {
		width: min(70%, 1180px);
	}
}

/* 取り扱い品目（グリッド版） */

.top-items {
	padding: 120px 0 80px;
}

.top-items__inner {
	width: min(calc(100% - 80px), 1400px);
	margin-inline: auto;
}

@media screen and (min-width: 768px) {
	.top-items .items-grid--sp {
		display: none !important;
	}
}

@media screen and (max-width: 767px) {
	.top-items .items-grid--pc {
		display: none !important;
	}
}

.top-items__heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 24px;
}

@media screen and (min-width: 768px) {
	.top-items__heading {
		display: none;
	}
}

.top-items__heading-en {
	margin: 10px 0 0;
	color: var(--color-navy);
	font-family: var(--font-en);
	font-size: clamp(2rem, 2.1vw, 2.4rem);
	font-weight: 500;
	letter-spacing: 0.02em;
	-webkit-text-stroke: 0.65px currentColor;
}

.top-items__heading-ja {
	margin: 0;
	color: var(--color-navy);
	font-size: clamp(2.9rem, 3.3vw, 4.2rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.06em;
}

.top-items__character {
	display: none;
}

.items-grid {
	display: grid;
	gap: 12px;
}

.items-grid--pc {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: start;
	--items-overlay-font-size: clamp(2.4rem, 2.6vw, 3.6rem);
	--items-tile-ratio: 4 / 3;
	--items-wide-ratio: 8 / 3;
	--items-tall-ratio: 100 / 154;
}

.items-grid--pc .items-grid__tile {
	display: grid;
	width: 100%;
	aspect-ratio: var(--items-tile-ratio);
	min-height: 0;
	padding: 16px 20px;
	color: #fff;
	background: var(--color-navy);
	font-size: clamp(1.9rem, 1.85vw, 2.6rem);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.06em;
	place-items: center;
	text-align: center;
}

.items-grid--pc a.items-grid__tile {
	text-decoration: none;
	color: #fff;
	cursor: pointer;
}

.items-grid--pc .items-grid__tile--peel {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: transparent;
	color: var(--color-navy);
	transition: color 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.items-grid--pc .items-grid__tile--peel .items-grid__tile-media,
.items-grid--pc .items-grid__tile--peel .items-grid__tile-peel {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.items-grid--pc .items-grid__tile--peel .items-grid__tile-media {
	z-index: 0;
	background-color: var(--color-navy);
	overflow: hidden;
}

.items-grid--pc .items-grid__tile--peel .items-grid__tile-media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	transform: scale(1.04);
	transform-origin: center;
}

.items-grid--pc .items-grid__tile--peel .items-grid__tile-peel {
	z-index: 1;
	background: var(--color-navy);
	transform: scaleY(0);
	transform-origin: bottom center;
	transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

.items-grid--pc .items-grid__tile--peel .items-grid__tile-label {
	position: relative;
	z-index: 2;
	color: inherit;
	opacity: 0;
	text-shadow: none;
	transition: color 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
	.items-grid--pc .items-grid__tile--peel:hover,
	.items-grid--pc .items-grid__tile--peel:focus-visible {
		color: #fff;
	}

	.items-grid--pc .items-grid__tile--peel:hover .items-grid__tile-label,
	.items-grid--pc .items-grid__tile--peel:focus-visible .items-grid__tile-label {
		opacity: 1;
	}

	.items-grid--pc .items-grid__tile--peel:hover .items-grid__tile-peel,
	.items-grid--pc .items-grid__tile--peel:focus-visible .items-grid__tile-peel {
		transform: scaleY(1);
	}
}

.items-grid--pc .items-grid__image {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	width: 100%;
	margin: 0;
	padding: 0;
	line-height: 0;
	aspect-ratio: var(--items-tile-ratio);
	background-color: var(--color-navy);
}

.items-grid--pc .items-grid__image::before {
	content: '';
	position: absolute;
	left: 0;
	top: -8%;
	z-index: 0;
	width: 100%;
	height: 116%;
	pointer-events: none;
	background-color: var(--color-navy);
	background-image: var(--items-bg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	transform: translate3d(0, var(--items-parallax, 0px), 0);
	will-change: transform;
}

.items-grid--pc .items-grid__image--tall {
	grid-row: span 2;
	aspect-ratio: auto;
	height: 100%;
	min-height: 0;
	align-self: stretch;
}

.items-grid--pc .items-grid__tile--stacked {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.1em;
}

.items-grid--pc .items-grid__tile--peel.items-grid__tile--stacked .items-grid__tile-label {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.1em;
	text-align: center;
}

.items-grid--pc .items-grid__tile-line {
	display: block;
	line-height: 1.25;
}

.items-grid--pc .items-grid__image--wide {
	grid-column: span 2;
	position: relative;
	overflow: hidden;
	width: 100%;
	min-width: 0;
	aspect-ratio: var(--items-wide-ratio);
	height: auto;
}

.items-grid__overlay {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 1;
	margin: 0;
	padding: 16px 12px;
	color: var(--color-navy);
	background: rgba(255, 255, 255, 0.92);
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.1em;
	writing-mode: vertical-rl;
}

.items-grid--pc .items-grid__image--tall .items-grid__overlay--center {
	top: 50%;
	left: 50%;
	width: fit-content;
	max-width: calc(100% - 20px);
	margin: 0;
	padding: 16px 14px 10px;
	color: #fff;
	background: var(--color-navy);
	font-size: var(--items-overlay-font-size);
	line-height: 1.2;
	letter-spacing: 0.14em;
	writing-mode: vertical-rl;
	transform: translate(-50%, -50%);
}

/* iPad: 「問屋です。」が途中改行しない／品目名を画像上に青文字で表示 */
@media screen and (min-width: 768px) and (max-width: 1199px) {
	.items-grid--pc .items-grid__image--tall .items-grid__overlay--center {
		width: max-content;
		max-width: none;
		max-height: none;
		height: max-content;
		white-space: nowrap;
		word-break: keep-all;
		overflow-wrap: normal;
		line-break: strict;
		text-orientation: mixed;
		line-height: 1.15;
		letter-spacing: 0.1em;
		font-size: clamp(2.2rem, 2.4vw, 2.8rem);
	}

	.items-grid--pc .items-grid__tile--peel .items-grid__tile-label {
		opacity: 1;
		color: var(--color-navy);
		font-size: clamp(1.6rem, 1.55vw, 2.2rem);
		text-shadow:
			0 0 1px #fff,
			1px 0 0 #fff,
			-1px 0 0 #fff,
			0 1px 0 #fff,
			0 -1px 0 #fff;
	}

	@media (hover: hover) and (pointer: fine) {
		.items-grid--pc .items-grid__tile--peel:hover .items-grid__tile-label,
		.items-grid--pc .items-grid__tile--peel:focus-visible .items-grid__tile-label {
			color: #fff;
			text-shadow: none;
		}
	}
}

.items-grid--pc .items-grid__overlay--bar {
	top: 50%;
	left: 50%;
	right: auto;
	width: fit-content;
	max-width: calc(100% - 24px);
	margin: 0;
	padding: 14px 22px;
	color: #fff;
	background: var(--color-navy);
	font-size: var(--items-overlay-font-size);
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-align: center;
	white-space: nowrap;
	writing-mode: horizontal-tb;
	transform: translate(-50%, -50%);
}

.items-grid--pc .items-grid__tile--col-3 {
	grid-column: 3;
}

.items-grid--pc .items-grid__more-tile {
	grid-column: auto;
	background: var(--color-navy);
	color: #fff;
	transition: opacity 0.2s ease;
}

.items-grid--pc .items-grid__more-tile.items-grid__tile--stacked {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.1em;
}

.items-grid--pc .items-grid__more-tile .items-grid__tile-label {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.1em;
	text-align: center;
	text-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
	.items-grid--pc .items-grid__more-tile:hover,
	.items-grid--pc .items-grid__more-tile:focus-visible {
		opacity: 0.88;
	}
}

.top-items__button-wrap {
	margin-top: 32px;
	text-align: center;
}

/* 横スクロール版スタイル（一時非表示・再利用予定） */
.top-items--scroll {
	--items-side: 40px;
	--items-card-w: 380px;
	--items-card-gap: 28px;
	--items-card-h: calc(var(--items-card-w) * 3 / 4);
	position: relative;
	width: 100%;
	max-width: 100%;
	height: auto !important;
	min-height: 0 !important;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #fff;
	contain: layout style;
}

.top-items--scroll .top-items__pin {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	height: auto;
	margin: 0;
	background: #fff;
}

.top-items--scroll .top-items__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px 24px;
	box-sizing: border-box;
	width: min(calc(100% - 80px), 1400px);
	max-width: 100%;
	margin: 0 auto;
	padding: 104px 0 28px;
}

.top-items--scroll .top-items__heading {
	min-width: 0;
}

.top-items--scroll .top-items__heading-ja {
	margin: 0;
	color: var(--color-navy);
	font-size: clamp(2.8rem, 3.2vw, 4rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.06em;
}

.top-items--scroll .top-items__heading-en {
	margin: 8px 0 0;
	color: var(--color-navy);
	font-family: var(--font-en);
	font-size: clamp(1.5rem, 1.6vw, 2rem);
	font-weight: 700;
	letter-spacing: 0.08em;
	-webkit-text-stroke: 0;
}

.top-items--scroll .top-items__lead,
.top-items--scroll .top-items__foot {
	margin: 0;
	color: var(--color-navy);
	font-size: clamp(4.2rem, 5.2vw, 6.4rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.06em;
}

.top-items--scroll .top-items__lead {
	flex-shrink: 0;
	padding-top: 0.05em;
	transform: translateX(0.35em);
}

.top-items--scroll .top-items__foot {
	box-sizing: border-box;
	width: min(calc(100% - 80px), 1400px);
	max-width: 100%;
	margin: 0 auto;
	padding: 28px 0 96px;
}

.top-items--scroll .top-items__band {
	flex: 0 0 auto;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding: 32px 0 28px;
	overflow: hidden;
	background: var(--color-navy);
}

.top-items--scroll .top-items__viewport {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	height: var(--items-card-h);
	overflow: hidden;
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
}

.top-items--scroll .top-items__viewport.is-dragging {
	cursor: grabbing;
}

.top-items--scroll .top-items__track {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	flex-flow: row nowrap;
	align-items: stretch;
	gap: var(--items-card-gap);
	box-sizing: border-box;
	width: max-content;
	max-width: none;
	height: 100%;
	padding-left: var(--items-side);
	padding-right: var(--items-side);
	transform: translate3d(0, 0, 0);
	will-change: transform;
}

.top-items--scroll .top-items__card {
	position: relative;
	display: block;
	flex: 0 0 var(--items-card-w);
	box-sizing: border-box;
	width: var(--items-card-w);
	min-width: var(--items-card-w);
	max-width: var(--items-card-w);
	height: 100%;
	color: #fff;
	text-decoration: none;
}

.top-items--scroll .top-items__card-media {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: var(--color-navy);
}

.top-items--scroll .top-items__card-media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
}

.top-items--scroll .top-items__card-label {
	position: absolute;
	left: -1px;
	bottom: -1px;
	z-index: 2;
	display: inline-block;
	box-sizing: border-box;
	padding: 12px 18px 15px 19px;
	color: #fff;
	background: var(--color-navy);
	font-size: clamp(1.8rem, 1.7vw, 2.4rem);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.top-items--scroll .top-items__controls {
	display: flex;
	align-items: center;
	gap: 28px;
	box-sizing: border-box;
	width: min(calc(100% - 80px), 1400px);
	max-width: 100%;
	margin: 24px auto 0;
	padding: 0;
}

.top-items--scroll .top-items__progress {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	height: 2px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.28);
}

.top-items--scroll .top-items__progress-bar {
	display: block;
	width: 0%;
	height: 100%;
	background: #fff;
}

.top-items--scroll .top-items__nav {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 10px;
}

.top-items--scroll .top-items__nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	padding: 0;
	border: none;
	border-radius: 50%;
	color: var(--color-navy);
	background: #fff;
	cursor: pointer;
}

.top-items--scroll .top-items__nav-btn:disabled {
	opacity: 0.4;
	cursor: default;
}

/* ショールーム・工場 */

.section-bg-title {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 0;
	margin: 0;
	color: transparent;
	font-size: clamp(8rem, 14vw, 18rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.04em;
	white-space: nowrap;
	-webkit-text-stroke: 1px rgba(17, 58, 88, 0.1);
	transform: translateX(-50%);
	pointer-events: none;
	user-select: none;
}

.top-showroom,
.top-factory {
	position: relative;
	padding: 56px 0 80px;
}

.top-showroom {
	overflow: visible;
	padding-top: 168px;
	padding-bottom: 80px;
}

.top-factory {
	padding-top: 140px;
	padding-bottom: 112px;
	overflow: visible;
}

.top-showroom__hero {
	position: relative;
	/* 左端ぴったり、右は余白を広めに */
	width: calc(100% - max(164px, calc((100% - 1400px) / 2 + 124px)));
	max-width: none;
	min-width: 0;
	margin-left: 0;
	margin-right: 0;
	overflow: visible;
}

.top-showroom__body {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	/* 画像と同じ幅・左端で、右端を揃える */
	width: calc(100% - max(164px, calc((100% - 1400px) / 2 + 124px)));
	max-width: none;
	margin: 80px 0 0;
	padding: 0;
	text-align: right;
	box-sizing: border-box;
}

.top-showroom__title {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 0;
	color: var(--color-navy);
	font-size: clamp(4.2rem, 5vw, 6.4rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.1em;
	writing-mode: horizontal-tb;
	text-orientation: mixed;
	text-align: right;
}

.top-showroom__lead {
	margin: 28px 0 0;
	padding: 0;
	color: var(--color-navy);
	font-family: var(--font-ja);
	font-size: clamp(2.1rem, 1.95vw, 2.5rem);
	font-weight: 600;
	line-height: 1.9;
	letter-spacing: 0.06em;
	text-align: right;
}

/* 工場はショールームの左右対称（画像右端ぴったり） */
.top-factory__hero {
	position: relative;
	width: calc(100% - max(164px, calc((100% - 1400px) / 2 + 124px)));
	max-width: none;
	min-width: 0;
	margin-left: auto;
	margin-right: 0;
	overflow: visible;
}

.top-factory__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	/* 画像と同じ幅・右端で、左端を揃える */
	width: calc(100% - max(164px, calc((100% - 1400px) / 2 + 124px)));
	max-width: none;
	margin: 80px 0 0 auto;
	padding: 0;
	text-align: left;
	box-sizing: border-box;
}

.top-factory__title {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 0;
	color: var(--color-navy);
	font-size: clamp(4.2rem, 5vw, 6.4rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.1em;
	writing-mode: horizontal-tb;
	text-orientation: mixed;
	text-align: left;
}

.top-factory__lead {
	margin: 28px 0 0;
	padding: 0;
	color: var(--color-navy);
	font-family: var(--font-ja);
	font-size: clamp(2.1rem, 1.95vw, 2.5rem);
	font-weight: 600;
	line-height: 1.9;
	letter-spacing: 0.06em;
	text-align: left;
}

.top-section-title {
	position: relative;
	z-index: 1;
	margin: 0;
	color: var(--color-navy);
	font-size: clamp(2.8rem, 4vw, 4.2rem);
	font-weight: 700;
	letter-spacing: 0.12em;
	writing-mode: vertical-rl;
}

.top-section-title--right {
	grid-area: title;
	align-self: center;
	justify-self: end;
}

.top-section-title--left {
	grid-area: title;
	justify-self: start;
}

.top-showroom__layout {
	position: relative;
	display: grid;
	gap: 24px;
	align-items: start;
}

.top-showroom__bg-title {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
	margin: 0;
	color: var(--color-sky);
	font-family: var(--font-en);
	font-size: clamp(3.8rem, 6.5vw, 7.4rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0.04em;
	white-space: nowrap;
	-webkit-text-stroke: 0.05em var(--color-sky);
	paint-order: stroke fill;
	transform: translateY(-38%);
	pointer-events: none;
	user-select: none;
}

.top-factory__intro {
	display: none;
}

.top-factory__bg-title {
	display: none;
}

.top-showroom__main {
	position: relative;
	overflow: visible;
}

.top-showroom__slider {
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 2.35 / 1;
}

.top-showroom__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.2s ease;
}

.top-showroom__slide.is-active {
	opacity: 1;
}

.top-showroom__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.top-factory__main {
	position: relative;
	overflow: visible;
}

.top-factory__slider {
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 2.35 / 1;
}

.top-factory__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.2s ease;
}

.top-factory__slide.is-active {
	opacity: 1;
}

.top-factory__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.top-showroom__overlay,
.top-factory__overlay {
	display: none;
}

.top-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 8px;
}

.top-showroom .top-gallery,
.top-factory .top-gallery {
	display: none;
}

.top-showroom .top-gallery__item {
	position: relative;
}

.top-factory .top-gallery__item {
	position: relative;
}

.top-factory .top-gallery__link {
	position: relative;
	display: block;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
}

.top-factory .top-gallery__link img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transform: scale(1);
	transform-origin: center;
	transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
	.top-factory .top-gallery__link:hover img,
	.top-factory .top-gallery__link:focus-visible img {
		transform: scale(1.08);
	}
}

.top-factory .top-gallery__caption {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
	margin: 0;
	padding: 14px 18px;
	color: #333;
	background: #fff;
	font-size: clamp(1.5rem, 1.4vw, 1.8rem);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.04em;
	text-align: center;
	white-space: nowrap;
}

.top-showroom .top-gallery__link {
	position: relative;
	display: block;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
}

.top-showroom .top-gallery__link img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transform: scale(1);
	transform-origin: center;
	transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
	.top-showroom .top-gallery__link:hover img,
	.top-showroom .top-gallery__link:focus-visible img {
		transform: scale(1.08);
	}
}

.top-showroom .top-gallery__caption {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
	margin: 0;
	padding: 14px 18px;
	color: #333;
	background: #fff;
	font-size: clamp(1.5rem, 1.4vw, 1.8rem);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.04em;
	text-align: center;
	white-space: nowrap;
}

.top-showroom .top-section-button {
	margin-top: 36px;
	text-align: right;
	width: 100%;
}

.top-factory .top-section-button {
	margin-top: 36px;
	text-align: left;
	width: 100%;
}

.top-button--showroom {
	min-width: 0;
	padding: 16px 40px;
	font-size: clamp(1.4rem, 1.3vw, 1.65rem);
	font-weight: 500;
	letter-spacing: 0.06em;
}

.top-button--factory {
	min-width: 0;
	padding: 16px 40px;
	font-size: clamp(1.4rem, 1.3vw, 1.65rem);
	font-weight: 500;
	letter-spacing: 0.06em;
}

.top-gallery__item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.top-gallery__caption {
	margin: 10px 0 0;
	color: var(--color-navy);
	font-size: 1.3rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-align: center;
}

.top-section-button {
	margin-top: 16px;
	text-align: center;
}

/* 会社概要 */

.top-company {
	position: relative;
	width: 100%;
	padding: 120px 0 80px;
	overflow: visible;
	background: #fff;
}

.top-company__hero {
	position: relative;
	width: 100%;
	overflow: hidden;
	line-height: 0;
}

.top-company__media {
	position: relative;
	width: 100%;
	aspect-ratio: 2.35 / 1;
	overflow: hidden;
}

.top-company__track {
	display: flex;
	height: 100%;
	will-change: transform;
}

.top-company__slide {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
}

.top-company__slide img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.top-company__body {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	/* ショールームのテキスト／ボタン右端に合わせる */
	width: calc(100% - max(164px, calc((100% - 1400px) / 2 + 124px)));
	max-width: none;
	margin: 80px 0 0;
	padding: 0;
	text-align: right;
	box-sizing: border-box;
}

.top-company__content {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: fit-content;
	max-width: 100%;
}

.top-company__lead {
	margin: 0;
	padding: 0;
	color: var(--color-navy);
	font-family: var(--font-ja);
	font-size: clamp(2.2rem, 2.1vw, 2.7rem);
	font-weight: 600;
	line-height: 1.7;
	letter-spacing: 0.06em;
	text-align: right;
	white-space: nowrap;
}

.top-company .top-section-button {
	margin-top: 28px;
	text-align: right;
	width: 100%;
}

.top-button--company {
	display: flex;
	width: 100%;
	min-width: 0;
	min-height: 52px;
	padding: 16px 40px;
	box-sizing: border-box;
	font-size: clamp(1.4rem, 1.3vw, 1.65rem);
	font-weight: 500;
	letter-spacing: 0.06em;
}

/* 採用 */

.top-recruit-area {
	position: relative;
	background: #fff;
}

.top-recruit {
	padding: 140px 0 112px;
	background: #fff;
}

.top-recruit__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
	gap: 0;
	width: min(calc(100% - 80px), 1400px);
	margin-inline: auto;
	overflow: visible;
}

.top-recruit__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 72px 48px 72px 72px;
}

.top-recruit__catch {
	margin: 0 0 32px;
	font-size: clamp(2.9rem, 3.6vw, 4rem);
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.top-recruit__text {
	margin: 0 0 48px;
	font-size: 1.5rem;
	line-height: 2;
	letter-spacing: 0.04em;
}

.top-recruit__button {
	align-self: flex-start;
	min-width: 300px;
	min-height: 56px;
	padding: 16px 72px;
	font-size: 1.6rem;
}

.top-recruit__visual {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 24px 80px 24px 24px;
}

.top-recruit__visual-frame {
	position: relative;
	width: min(72%, 320px);
	max-width: 320px;
	overflow: hidden;
}

.top-recruit__visual-frame img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: center top;
}

.top-recruit__label {
	display: none;
}

.top-recruit__label--top {
	top: 0;
	left: 0;
	font-size: clamp(2rem, 2.8vw, 4rem);
	transform: translate(-2%, -20%);
}

.top-recruit__label--bottom {
	right: 0;
	bottom: 0;
	font-size: clamp(2rem, 2.8vw, 4rem);
	line-height: 1;
	transform: translate(2%, 18%);
}

/* 採用: 白背景＋青太枠パターン（現行） */
.top-recruit--sky {
	--recruit-panel: #fff;
	--recruit-ink: var(--color-navy);
	--recruit-frame: var(--color-navy);
	--recruit-catch: #fff;
}

.top-recruit--sky .top-recruit__inner {
	background: var(--recruit-panel);
	border: 4px solid var(--recruit-frame);
	border-width: 0; /* 太枠一時非表示 */
	box-sizing: border-box;
}

.top-recruit--sky .top-recruit__content {
	color: var(--recruit-ink);
}

.top-recruit--sky .top-recruit__label {
	color: var(--recruit-catch);
	-webkit-text-stroke: 0.5px var(--recruit-catch);
}

/* 採用: 青背景パターン（一時非表示・再利用予定）
 * HTML で top-recruit--navy を付け、ボタンに top-button--white を付けると復元できる */
.top-recruit--navy .top-recruit__inner {
	background: var(--color-navy);
}

.top-recruit--navy .top-recruit__content {
	color: #fff;
}

.top-recruit--navy .top-recruit__label {
	color: var(--color-navy);
	-webkit-text-stroke: 0.5px var(--color-navy);
}

/* スマートフォン */

@media screen and (max-width: 767px) {

	html,
	body {
		overflow-x: hidden;
		max-width: 100%;
	}

	html:has(body.is-top-page),
	body.is-top-page,
	.top-page {
		overflow-x: hidden;
		overscroll-behavior-x: none;
		max-width: 100%;
	}

	.top-button {
		min-width: 200px;
		min-height: 48px;
		padding: 12px 32px;
		font-size: 1.3rem;
	}

	.top-hero__inner {
		width: 100%;
		max-width: 100%;
		overflow-x: hidden;
	}

	.top-hero__sp {
		position: relative;
		padding: calc(var(--header-height) + 36px) 20px 40px 0;
		max-width: 100%;
		overflow-x: hidden;
	}

	.top-hero__sp .top-hero__visual {
		position: relative;
		display: flow-root;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		margin-left: 0;
		padding-top: 0;
		overflow: visible;
	}

	.top-hero__sp .top-hero__slider {
		position: relative;
		z-index: 1;
		display: block;
		width: 70%;
		min-width: 0;
		margin-top: 84px;
		aspect-ratio: 1 / 1;
		overflow: hidden;
	}

	.top-hero__sp .top-hero__slide {
		position: absolute;
		inset: 0;
		z-index: 0;
		opacity: 0;
		transition: opacity 1.2s ease;
	}

	.top-hero__sp .top-hero__slide.is-active {
		z-index: 1;
		opacity: 1;
	}

	.top-hero__sp .top-hero__slide img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center 22%;
	}

	.top-hero__sp .top-hero__catch-block {
		position: absolute;
		top: 0;
		right: 0;
		z-index: 5;
		width: auto;
		max-width: none;
		padding: 0;
		font-size: clamp(2.8rem, 8vw, 3.6rem);
		background: transparent;
		pointer-events: none;
		transform: none;
	}

	.top-hero__sp .top-hero__catch {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 0.2em;
		margin: 0;
		width: auto;
		font-size: inherit;
	}

	.top-hero__sp .top-hero__catch-col {
		display: block;
		width: fit-content;
		padding: 0;
		color: var(--color-navy);
		background-color: transparent;
		font-family: var(--font-ja);
		font-size: inherit;
		font-weight: 700;
		line-height: 1.45;
		letter-spacing: 0.08em;
		white-space: nowrap;
	}

	.top-hero__sp .top-hero__catch-col--primary {
		position: static;
		flex-shrink: 0;
		writing-mode: horizontal-tb;
		text-orientation: mixed;
	}

	.top-hero__sp .top-hero__catch-col--secondary {
		margin-top: 0;
		writing-mode: vertical-rl;
		text-orientation: mixed;
		line-height: 1.55;
		letter-spacing: 0.12em;
	}

	.top-hero__sp .top-hero__desc {
		position: relative;
		z-index: 4;
		margin-top: 64px;
		padding: 0 0 0 20px;
		color: var(--color-navy);
		background: transparent;
		font-size: clamp(1.35rem, 3.7vw, 1.55rem);
		font-weight: 500;
		line-height: 1.95;
		letter-spacing: 0.04em;
		text-align: left;
	}

	.top-items {
		padding: 72px 0 56px;
		overflow-x: clip;
	}

	.top-items__inner {
		width: calc(100% - 40px);
		max-width: 100%;
		min-width: 0;
		overflow-x: clip;
	}

	.top-items__heading {
		display: none;
	}

	.top-items__heading-text {
		flex: 1;
		min-width: 0;
	}

	.top-items__heading-ja {
		font-size: clamp(2.4rem, 7vw, 3rem);
		line-height: 1.1;
		letter-spacing: 0.08em;
	}

	.top-items__heading-en {
		margin-top: 6px;
		font-family: var(--font-en);
		font-size: clamp(1.35rem, 3.8vw, 1.7rem);
		font-weight: 500;
		line-height: 1;
		letter-spacing: 0.04em;
		-webkit-text-stroke: 0.65px currentColor;
	}

	.top-items__character {
		display: none;
	}

	.items-grid--sp {
		display: grid !important;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		align-items: stretch;
		--items-sp-tile-ratio: 4 / 3;
		--items-sp-col-width: calc((100% - 8px) / 2);
		--items-sp-tile-height: calc(var(--items-sp-col-width) * 3 / 4);
		--items-sp-overlay-font-size: clamp(1.8rem, 5vw, 2.4rem);
	}

	.items-grid--sp > * {
		min-width: 0;
		max-width: 100%;
	}

	/* 左: アルミ材 → 木材 / 右: 問屋です。縦長 */
	.items-grid--sp > .items-grid__tile--peel:nth-child(1) {
		grid-column: 1;
		grid-row: 1;
	}

	.items-grid--sp > .items-grid__tile--peel:nth-child(3) {
		grid-column: 1;
		grid-row: 2;
	}

	.items-grid--sp .items-grid__tile {
		display: grid;
		width: 100%;
		min-width: 0;
		max-width: 100%;
		aspect-ratio: var(--items-sp-tile-ratio);
		min-height: 0;
		padding: 12px 8px;
		color: #fff;
		background: var(--color-navy);
		font-size: clamp(1.6rem, 4.6vw, 1.9rem);
		font-weight: 700;
		line-height: 1.25;
		letter-spacing: 0.04em;
		place-items: center;
		text-align: center;
		overflow: hidden;
	}

	.items-grid--sp a.items-grid__tile {
		text-decoration: none;
		color: #fff;
		cursor: pointer;
	}

	.items-grid--sp .items-grid__tile--peel {
		position: relative;
		overflow: hidden;
		isolation: isolate;
		background: transparent;
		color: var(--color-navy);
		transition: color 0.55s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.items-grid--sp .items-grid__tile--peel .items-grid__tile-media,
	.items-grid--sp .items-grid__tile--peel .items-grid__tile-peel {
		position: absolute;
		inset: 0;
		display: block;
		width: 100%;
		height: 100%;
		pointer-events: none;
	}

	.items-grid--sp .items-grid__tile--peel .items-grid__tile-media {
		z-index: 0;
		background-color: var(--color-navy);
		overflow: hidden;
	}

	.items-grid--sp .items-grid__tile--peel .items-grid__tile-media img {
		display: block;
		width: 100%;
		height: 100%;
		max-width: none;
		object-fit: cover;
		object-position: center;
		transform: scale(1.04);
		transform-origin: center;
	}

	.items-grid--sp .items-grid__tile--peel .items-grid__tile-peel {
		z-index: 1;
		background: var(--color-navy);
		transform: scaleY(0);
		transform-origin: bottom center;
		transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
		will-change: transform;
	}

	.items-grid--sp .items-grid__tile--peel .items-grid__tile-label {
		position: relative;
		z-index: 2;
		color: var(--color-navy);
		text-shadow:
			0 0 1px #fff,
			1px 0 0 #fff,
			-1px 0 0 #fff,
			0 1px 0 #fff,
			0 -1px 0 #fff;
		transition: color 0.55s cubic-bezier(0.4, 0, 0.2, 1), text-shadow 0.55s cubic-bezier(0.4, 0, 0.2, 1);
	}

	@media (hover: hover) and (pointer: fine) {
		.items-grid--sp .items-grid__tile--peel:hover,
		.items-grid--sp .items-grid__tile--peel:focus-visible {
			color: #fff;
		}

		.items-grid--sp .items-grid__tile--peel:hover .items-grid__tile-label,
		.items-grid--sp .items-grid__tile--peel:focus-visible .items-grid__tile-label {
			color: #fff;
			text-shadow: none;
		}

		.items-grid--sp .items-grid__tile--peel:hover .items-grid__tile-peel,
		.items-grid--sp .items-grid__tile--peel:focus-visible .items-grid__tile-peel {
			transform: scaleY(1);
		}
	}

	.items-grid--sp .items-grid__tile--stacked {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.1em;
	}

	.items-grid--sp .items-grid__tile--peel.items-grid__tile--stacked .items-grid__tile-label {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.1em;
		text-align: center;
	}

	.items-grid--sp .items-grid__tile-line {
		display: block;
		line-height: 1.25;
	}

	.items-grid--sp .items-grid__image {
		position: relative;
		overflow: hidden;
		isolation: isolate;
		width: 100%;
		min-width: 0;
		max-width: 100%;
		min-height: 0;
		margin: 0;
		line-height: 0;
		background-color: var(--color-navy);
	}

	.items-grid--sp .items-grid__image::before {
		content: '';
		position: absolute;
		left: 0;
		top: -8%;
		z-index: 0;
		width: 100%;
		height: 116%;
		pointer-events: none;
		background-color: var(--color-navy);
		background-image: var(--items-bg);
		background-repeat: no-repeat;
		background-position: center;
		background-size: cover;
		transform: translate3d(0, var(--items-parallax, 0px), 0);
		will-change: transform;
	}

	.items-grid--sp .items-grid__image--tall {
		grid-row: span 2;
		align-self: stretch;
		min-height: calc(var(--items-sp-tile-height) * 2 + 8px);
	}

	.items-grid--sp .items-grid__image--tall .items-grid__overlay--center {
		top: 32%;
		left: 50%;
		right: auto;
		width: fit-content;
		max-width: calc(100% - 20px);
		margin: 0;
		padding: 20px 14px 16px;
		color: #fff;
		background: var(--color-navy);
		font-size: var(--items-sp-overlay-font-size);
		font-weight: 700;
		line-height: 1.2;
		letter-spacing: 0.14em;
		writing-mode: vertical-rl;
		text-orientation: mixed;
		white-space: nowrap;
		word-break: keep-all;
		transform: translate(-50%, -50%);
	}

	.items-grid--sp .items-grid__image--tall-right {
		grid-column: 2;
		grid-row: 1 / span 2;
		align-self: stretch;
		min-height: calc(var(--items-sp-tile-height) * 2 + 8px);
	}

	.items-grid--sp .items-grid__image--wide {
		grid-column: 1 / -1;
		width: 100%;
		min-width: 0;
		max-width: 100%;
		aspect-ratio: 335 / 120;
	}

	.items-grid--sp .items-grid__overlay--bar {
		top: 50%;
		left: 50%;
		right: auto;
		width: fit-content;
		max-width: calc(100% - 20px);
		margin: 0;
		padding: 12px 18px;
		color: #fff;
		background: var(--color-navy);
		font-size: var(--items-sp-overlay-font-size);
		font-weight: 700;
		line-height: 1.2;
		letter-spacing: 0.08em;
		text-align: center;
		white-space: nowrap;
		writing-mode: horizontal-tb;
		text-orientation: mixed;
		transform: translate(-50%, -50%);
	}

	.items-grid--sp .items-grid__more-tile {
		background: var(--color-navy);
		color: #fff;
	}

	.items-grid--sp .items-grid__more-tile.items-grid__tile--stacked {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.1em;
	}

	.items-grid--sp .items-grid__more-tile .items-grid__tile-label {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.1em;
		padding: 0 4px;
		color: #fff;
		font-size: clamp(1.45rem, 4.2vw, 1.7rem);
		line-height: 1.35;
		white-space: normal;
		text-shadow: none;
	}

	.top-recruit {
		padding: 80px 0 96px;
		overflow-x: clip;
	}

	.section-bg-title {
		font-size: clamp(5rem, 18vw, 8rem);
	}

	.top-showroom,
	.top-factory {
		padding: 64px 0 56px;
	}

	.top-showroom {
		padding-top: 112px;
		padding-bottom: 48px;
	}

	.top-showroom__body,
	.top-factory__body {
		max-width: 100%;
	}

	.top-showroom__body {
		width: calc(100% - 28px);
		align-items: flex-end;
		margin: 52px 0 0;
		text-align: right;
	}

	.top-factory__body {
		width: calc(100% - 28px);
		align-items: flex-start;
		margin: 52px 0 0 auto;
		text-align: left;
	}

	.top-factory {
		overflow-x: clip;
		max-width: 100%;
		padding-top: 80px;
		padding-bottom: 72px;
	}

	.top-factory__hero {
		position: relative;
		width: calc(100% - 28px);
		max-width: 100%;
		min-width: 0;
		margin-left: auto;
		margin-right: 0;
		overflow: visible;
	}

	.top-factory__main {
		position: relative;
		z-index: 1;
		overflow: visible;
	}

	.top-factory__title {
		position: relative;
		top: auto;
		left: auto;
		z-index: 1;
		margin: 0;
		padding: 0;
		color: var(--color-navy);
		font-size: clamp(2.8rem, 8vw, 3.6rem);
		font-weight: 700;
		line-height: 1.15;
		letter-spacing: 0.1em;
		writing-mode: horizontal-tb;
		text-orientation: mixed;
		text-align: left;
		white-space: normal;
		pointer-events: auto;
	}

	.top-factory__lead {
		margin-top: 20px;
		font-size: clamp(1.6rem, 4.4vw, 1.9rem);
		line-height: 1.85;
	}

	.top-showroom {
		overflow-x: clip;
		max-width: 100%;
	}

	.top-showroom__hero {
		position: relative;
		width: calc(100% - 28px);
		max-width: 100%;
		min-width: 0;
		margin-left: 0;
		margin-right: 0;
		overflow: visible;
	}

	.top-showroom__main {
		position: relative;
		z-index: 1;
		overflow: visible;
	}

	.top-showroom__title {
		position: relative;
		top: auto;
		right: auto;
		z-index: 1;
		margin: 0;
		padding: 0;
		color: var(--color-navy);
		font-size: clamp(2.8rem, 8vw, 3.6rem);
		font-weight: 700;
		line-height: 1.15;
		letter-spacing: 0.1em;
		writing-mode: horizontal-tb;
		text-orientation: mixed;
		text-align: right;
		white-space: normal;
		pointer-events: auto;
	}

	.top-showroom__lead {
		margin-top: 20px;
		font-size: clamp(1.6rem, 4.4vw, 1.9rem);
		line-height: 1.85;
	}

	.top-section-title {
		font-size: 2.4rem;
		writing-mode: horizontal-tb;
	}

	.top-section-title--right {
		justify-self: end;
		text-align: right;
	}

	.top-section-title--left {
		justify-self: start;
	}

	.top-showroom__main,
	.top-factory__main {
		grid-area: auto;
	}

	.top-showroom__slider {
		aspect-ratio: 16 / 10;
	}

	.top-showroom__slide img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	.top-factory__slider {
		aspect-ratio: 16 / 10;
	}

	.top-factory__slide img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	.top-showroom .top-section-button {
		margin-top: 28px;
		text-align: right;
	}

	.top-showroom .top-button--showroom {
		display: inline-flex;
		width: auto;
		max-width: 100%;
		min-width: 0;
		min-height: 48px;
		padding: 12px 28px;
		font-size: clamp(1.3rem, 3.6vw, 1.5rem);
		font-weight: 700;
		letter-spacing: 0.06em;
	}

	.top-factory .top-section-button {
		margin-top: 28px;
		text-align: left;
	}

	.top-factory .top-button--factory {
		display: inline-flex;
		width: auto;
		max-width: 100%;
		min-width: 0;
		min-height: 48px;
		padding: 12px 28px;
		font-size: clamp(1.3rem, 3.6vw, 1.5rem);
		font-weight: 700;
		letter-spacing: 0.06em;
	}

	.top-gallery {
		grid-area: gallery;
		grid-template-columns: 1fr;
		gap: 20px;
		margin-top: 0;
	}

	.top-gallery__item img {
		aspect-ratio: 16 / 9;
	}

	.top-section-button {
		grid-area: button;
		margin-top: 8px;
	}

	.top-company {
		padding: 80px 0 48px;
	}

	.top-company__media {
		aspect-ratio: 16 / 10;
	}

	.top-company__body {
		width: calc(100% - 28px);
		margin: 52px 0 0;
	}

	.top-company__lead {
		font-size: clamp(1.85rem, 5vw, 2.15rem);
		white-space: normal;
	}

	.top-company .top-section-button {
		margin-top: 24px;
	}

	.top-button--company {
		min-width: 0;
		min-height: 48px;
		padding: 12px 28px;
		font-size: clamp(1.3rem, 3.6vw, 1.5rem);
		font-weight: 700;
		letter-spacing: 0.06em;
	}

	.top-recruit__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 40%;
		align-items: stretch;
		column-gap: 16px;
		width: 100%;
		max-width: 100%;
		margin: 0;
		overflow: hidden;
	}

	.top-recruit__content {
		order: 0;
		justify-content: flex-start;
		padding: 28px 12px 28px 20px;
	}

	.top-recruit__catch {
		margin-bottom: 18px;
		font-size: clamp(2rem, 5.4vw, 2.45rem);
		font-weight: 700;
		line-height: 1.55;
		letter-spacing: 0.04em;
		white-space: normal;
	}

	.top-recruit__text {
		margin-bottom: 24px;
		font-size: clamp(1.35rem, 3.7vw, 1.55rem);
		font-weight: 500;
		line-height: 1.95;
		letter-spacing: 0.04em;
	}

	.top-recruit__text br {
		display: none;
	}

	.top-recruit__button {
		align-self: flex-start;
		min-width: min(260px, 100%);
		min-height: 48px;
		padding: 12px 48px;
		font-size: 1.4rem;
	}

	.top-recruit__visual {
		order: 0;
		align-items: stretch;
		justify-content: flex-end;
		/* 上端は見出し、下端はボタン付近に揃える */
		padding: 28px 0;
		min-width: 0;
		min-height: 0;
	}

	.top-recruit--sky .top-recruit__visual {
		background: var(--recruit-panel);
	}

	.top-recruit--sky .top-recruit__inner {
		border-width: 0; /* 太枠一時非表示 */
	}

	.top-recruit--navy .top-recruit__visual {
		background: var(--color-navy);
	}

	.top-recruit__visual-frame {
		position: relative;
		width: 100%;
		max-width: none;
		height: 100%;
		margin: 0;
		align-self: stretch;
		overflow: hidden;
	}

	.top-recruit__visual-frame picture {
		display: block;
		width: 100%;
		height: 100%;
	}

	.top-recruit__visual-frame img {
		display: block;
		width: 100%;
		height: 100%;
		aspect-ratio: auto;
		object-fit: cover;
		object-position: center 40%;
	}

	.top-recruit__label--top {
		top: 0;
		left: 0;
		font-size: clamp(2.2rem, 6.5vw, 3rem);
		transform: translateY(-18%);
	}

	.top-recruit__label--bottom {
		right: 0;
		bottom: 0;
		font-size: clamp(2.2rem, 6.5vw, 3rem);
		line-height: 1;
		transform: translateY(18%);
	}
}

/* Opening overlay（初回のみ表示） */

html.opening-pending,
html.opening-pending body {
	overflow: hidden;
}

.opening {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 10000;
	overflow: hidden;
	pointer-events: none;
}

html.opening-pending .opening,
html.opening-pending .opening[hidden] {
	display: block !important;
	pointer-events: auto;
}

html.opening-done .opening,
html.opening-done .opening[hidden] {
	display: none !important;
}

.opening__panel {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	clip-path: inset(0% 0% 0% 0%);
	transform: translateZ(0);
	backface-visibility: hidden;
	will-change: clip-path;
	transition: clip-path 1.2s cubic-bezier(0.33, 0.02, 0.15, 1);
}

.opening.is-peeling .opening__panel {
	clip-path: inset(0% 0% 100% 0%);
}

.opening__logo {
	display: block;
	width: min(24vw, 200px);
	height: auto;
	opacity: 0;
	transform: translate3d(0, 18px, 0);
	filter: blur(4px);
	will-change: opacity, transform, filter;
}

.opening.is-logo-in .opening__logo {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	filter: blur(0);
	transition:
		opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
		transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
		filter 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

@media screen and (max-width: 767px) {
	.opening__logo {
		width: min(42vw, 160px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.opening__panel {
		transition: none;
	}

	.opening.is-logo-in .opening__logo {
		filter: none;
		transition: none;
	}
}
