@charset "UTF-8";

/* ショールーム一覧ページ */

.showroom-page {
	padding-bottom: 96px;
}

.showroom-page__inner {
	padding-top: 24px;
}

.showroom-page__list {
	width: min(calc(100% - 80px), 1400px);
	margin: 0 auto;
}

/* 見出し：会社概要ページと同じサイズ・上下余白 */
.showroom-page .products-page__header {
	margin: 56px 0 56px;
}

.showroom-page .products-page__title {
	margin: 0;
	color: var(--color-navy);
	font-size: clamp(3.6rem, 4.4vw, 5.2rem);
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.2;
}

/* ヒーロー：会社概要・採用情報と同じサイズ・位置・上下余白 */
.showroom-page .products-hero {
	width: 100%;
	margin: 0 0 184px;
	overflow: visible;
}

.showroom-page .products-hero__inner {
	position: relative;
	width: min(calc(100% - 80px), 1400px);
	margin-inline: auto;
}

.showroom-page .products-hero__media {
	position: relative;
	width: 78%;
	margin-left: auto;
	margin-right: 0;
	overflow: hidden;
	background: #d8dee3;
	line-height: 0;
}

.showroom-page .products-hero__image {
	display: block;
	width: 100%;
	height: auto;
}

/* 縦書きキャッチ：採用情報と同じデザイン（3行は上揃え） */
.showroom-page .products-hero__catch--secondary,
.showroom-page .products-hero__catch--tertiary {
	margin-top: 0;
}

@media screen and (min-width: 768px) {
	.showroom-page .products-page__header {
		margin: 64px 0 72px;
	}

	.showroom-page .products-page__title {
		font-size: clamp(4.2rem, 4.6vw, 5.6rem);
		letter-spacing: 0.14em;
	}

	.showroom-page .products-hero {
		width: 100%;
		margin: 0 auto 184px;
		padding-bottom: 0;
	}

	.showroom-page .products-hero__media {
		width: 78%;
		margin-left: auto;
		margin-right: 0;
	}

	/* PC：採用情報と同様にキャッチを少し下げる */
	.showroom-page .products-hero__catch-group {
		top: 62%;
	}

	.showroom-page__inner {
		padding-top: 48px;
	}

	.showroom-page__list {
		margin-top: 0;
	}
}

/* iPad：縦書きキャッチは画像横のまま、左余白内に収めて全体を表示 */
@media screen and (min-width: 768px) and (max-width: 1199px) {
	.showroom-page .products-hero__catch-group {
		top: 62%;
		left: 0;
		right: auto;
		width: 22%;
		box-sizing: border-box;
		padding-left: 8px;
		justify-content: flex-end;
		transform: translateY(-50%);
		font-size: clamp(2.8rem, 2.9vw, 3.6rem);
		letter-spacing: 0.08em;
		gap: 0.14em;
	}

	.showroom-page .products-hero__catch--secondary,
	.showroom-page .products-hero__catch--tertiary {
		margin-top: 0;
	}
}

/* Showroom spots */

.showroom-spot {
	position: relative;
	margin: 0 0 140px;
	padding-top: 0;
}

.showroom-spot:last-child {
	margin-bottom: 0;
}

.showroom-spot__visual {
	position: relative;
	z-index: 1;
	width: 100%;
	margin: 0;
}

.showroom-spot--reverse .showroom-spot__visual {
	margin: 0;
}

.showroom-spot__frame {
	overflow: hidden;
	width: 100%;
	aspect-ratio: 3.35 / 1;
	background: #d8dee3;
}

.showroom-spot__image {
	display: block;
	width: 100%;
	height: 128%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	transform: translate3d(0, calc(var(--items-parallax, 0px) - 8%), 0);
	will-change: transform;
}

.showroom-spot__label {
	position: absolute;
	z-index: 3;
	left: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 300px;
	padding: 38px 56px 34px;
	color: var(--color-navy);
	background: #fff;
	text-align: center;
	text-decoration: none;
}

.showroom-spot--reverse .showroom-spot__label {
	right: 0;
	left: auto;
}

.showroom-spot__label-ja {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: clamp(5.2rem, 5.4vw, 7.6rem);
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.15;
}

.showroom-spot__button {
	position: absolute;
	z-index: 3;
	right: 40px;
	bottom: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	min-width: 380px;
	min-height: 64px;
	padding: 18px 64px;
	border: 0;
	border-radius: 999px;
	color: #fff;
	background: var(--color-navy);
	box-shadow: 0 0 0 1px var(--color-navy);
	font-size: clamp(1.8rem, 1.7vw, 2.2rem);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-align: center;
	transition: opacity 0.2s ease;
}

.showroom-spot__button-line {
	display: inline;
}

.showroom-spot--reverse .showroom-spot__button {
	right: auto;
	left: 40px;
}

.showroom-spot__button:hover {
	opacity: 0.85;
}

@media screen and (min-width: 768px) {
	.showroom-spot__button {
		position: absolute;
		overflow: hidden;
		isolation: isolate;
		color: #fff;
		border: 0;
		background: var(--color-navy);
		box-shadow: 0 0 0 1px var(--color-navy);
		transition: color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
			background-color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.showroom-spot__button::before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: -1;
		border-radius: inherit;
		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) {
		.showroom-spot__button:hover,
		.showroom-spot__button:focus-visible {
			color: var(--color-navy);
			background: #fff;
			opacity: 1;
		}

		.showroom-spot__button:hover::before,
		.showroom-spot__button:focus-visible::before {
			transform: scaleY(0);
		}
	}
}

@media (prefers-reduced-motion: reduce) {
	.showroom-spot__image {
		height: 100%;
		transform: none;
		will-change: auto;
	}
}

/* SP */

@media screen and (max-width: 767px) {
	.showroom-page {
		padding-bottom: 64px;
	}

	.showroom-page .products-page__header {
		margin: 36px 0 44px;
		padding-top: 20px;
	}

	.showroom-page .products-page__title {
		font-size: clamp(2.4rem, 7vw, 3.2rem);
		letter-spacing: 0.12em;
	}

	.showroom-page__inner {
		padding-top: 8px;
	}

	.showroom-page__list {
		width: calc(100% - 40px);
		margin-top: 0;
	}

	.showroom-page .products-hero.showroom-hero {
		width: 100%;
		margin: 8px 0 36px;
		padding: 0;
		overflow: visible;
	}

	.showroom-page .products-hero__inner {
		width: 100%;
		margin: 0;
	}

	.showroom-page .products-hero__media {
		width: 100%;
		margin: 0;
	}

	.showroom-page .products-hero__catch--secondary {
		margin-top: 0;
	}

	.showroom-spot {
		margin: 0 0 88px;
		padding-top: 0;
	}

	.showroom-spot__visual {
		width: 100%;
		margin: 0;
	}

	.showroom-spot__frame {
		aspect-ratio: 1 / 1;
	}

	.showroom-spot__label {
		min-width: 148px;
		padding: 22px 24px 20px;
	}

	.showroom-spot__label-ja {
		font-size: clamp(3.2rem, 8.5vw, 4rem);
		letter-spacing: 0.08em;
	}

	.showroom-spot__button {
		right: 12px;
		bottom: 16px;
		display: inline-flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.15em;
		box-sizing: border-box;
		min-width: 9.5em;
		width: auto;
		max-width: 52%;
		min-height: 4.8em;
		padding: 1.1em 2.4em;
		font-size: clamp(1.4rem, 3.8vw, 1.65rem);
		letter-spacing: 0.06em;
		line-height: 1.35;
		white-space: normal;
		text-align: center;
	}

	.showroom-spot__button-line {
		display: block;
	}

	.showroom-spot--reverse .showroom-spot__button {
		right: auto;
		left: 12px;
	}
}
