/* -----------
トップFV
----------- */
.top-fv--static {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	isolation: isolate;

	img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

.top-fv {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	isolation: isolate;
}

.top-fv__foreground,
.top-fv__background {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.top-fv__foreground {
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: min(47px, 3.73vw);

}

.top-fv__foreground-link {
	display: block;
	pointer-events: auto;
	height: 21.66vw;
	transition: scale 0.3s ease, filter 0.3s ease;

	&:hover {
		scale: 1.02;
		filter: drop-shadow(0 0 6px rgba(102, 102, 102, 0.3));
		transition: scale 0.3s ease, filter 0.3s ease;
	}

	@media screen and (max-width: 899px) {
		height: 42.4vw;
	}

	.top-fv__foreground-img {
		display: block;
		object-fit: contain;
		width: auto;
		height: 100%;
	}

}

.top-fv__background {
	z-index: 1;
}

.top-fv__background-item {
	position: absolute;
	inset: 0;
	display: block;
	opacity: 0;
	transition: opacity var(--top-fv-fade-duration, 800ms) ease;

	&.is-active {
		opacity: 1;
	}

	img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

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