@charset "UTF-8";

/* =========================================================
 * 作品フォトスライドショー (Showcase Slideshow)
 * ========================================================= */

/* --- Ken Burns ズーム --- */
@keyframes showcase-zoom {
	0% {
		transform: scale(1);
	}
	100% {
		transform: scale(1.05);
	}
}

/* --- 外枠（余白担当） --- */
.top__showcase-section {
	padding: 20rem 0;
}
@media (min-width: 768px) {
	.top__showcase-section {
		padding: 30rem 0;
	}
}

/* --- コンテナ --- */
.top__showcase-block {
	position: relative;
	width: 100%;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

/* --- リンクラッパー --- */
.top__showcase-slide {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	color: var(--white);
	text-decoration: none;
}

/* --- 画像ラッパー --- */
.top__showcase-img-wrap {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

/* --- 画像レイヤー共通 --- */
.top__showcase-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	will-change: transform, opacity;
	opacity: 0;
}

/* 表示中レイヤー（ズーム付き） */
.top__showcase-img.is-active {
	opacity: 1;
	animation: showcase-zoom 14s ease-out forwards;
}

/* フェードイン中のトランジション */
.top__showcase-img.is-entering {
	transition: opacity 2s ease-in-out;
}

/* --- テキストラッパー（左下） --- */
.top__showcase-text-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 3;
	padding: 60rem 16rem 12rem;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
	transition: opacity 0.6s ease-in-out;
}
.top__showcase-text-wrap.is-fade {
	opacity: 0;
}
@media (min-width: 768px) {
	.top__showcase-text-wrap {
		padding: 80rem 40rem 24rem;
	}
}

/* --- 作品タイトル --- */
.top__showcase-title {
	font: var(--font-display);
	font-size: 16rem;
	color: var(--white);
	text-shadow: 0 1rem 6rem rgba(0, 0, 0, 0.7);
	letter-spacing: 0.02em;
}
@media (min-width: 768px) {
	.top__showcase-title {
		font-size: 22rem;
	}
}

/* --- 監督名 --- */
.top__showcase-director {
	display: block;
	font: var(--font-body);
	font-size: 12rem;
	margin-top: 6rem;
}
@media (min-width: 768px) {
	.top__showcase-director {
		display: inline;
		font-size: 14rem;
		margin-top: 0;
		margin-left: 12rem;
		white-space: nowrap;
	}
}

/* --- コピーライト（右上） --- */
.top__showcase-copyright {
	position: absolute;
	top: 8rem;
	right: 10rem;
	z-index: 3;
	font: var(--font-caption);
	font-size: 9rem;
	color: rgba(255, 255, 255, 0.7);
	text-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5);
	white-space: nowrap;
	transition: opacity 0.6s ease-in-out;
}
.top__showcase-copyright.is-fade {
	opacity: 0;
}
@media (min-width: 768px) {
	.top__showcase-copyright {
		top: 12rem;
		right: 16rem;
		font-size: 10rem;
	}
}
