@charset "UTF-8";

/* ----------------------------------------------------
 * STORY
 * ---------------------------------------------------- */
.story__synopsis {
	padding-top: 5%;
	position: relative;

	@media (max-width: 750px) {
		padding-top: 20%;
	}

	.story__synopsis-text {
		position: absolute;
		top: 44%;
		left: 50%;
		transform: translate(-50%, -50%);
		display: flex;
		flex-direction: column;
		gap: 3vw;
		text-align: center;
		font-family: "Noto Serif JP", "源ノ明朝", serif;
		font-weight: 900;
		font-size: min(calc(22 * 100vw / 1920), 22px);
		letter-spacing: 0.18em;
		color: #42210b;
		line-height: 2;

		@media (max-width: 750px) {
			top: 57%;
			font-size: calc(25 * 100vw / 750);
			width: 87%;
		}

		h1 {
			font-size: min(calc(61 * 100vw / 1920), 61px);
			font-weight: 900;

			@media (max-width: 750px) {
				font-size: calc(49 * 100vw / 750);
			}
		}
	}
}

.section-noise {
	margin-top: -7%;
	position: relative;

	@media (max-width: 750px) {
		margin-top: -5%;
	}
}

.noise__container {
	background-image: url(/assets/img/bg_noise_kotei.png); /* fallback */
	background-image: -webkit-image-set(
		url(/assets/img/bg_noise_kotei.webp) type("image/webp"),
		url(/assets/img/bg_noise_kotei.png) type("image/png")
	);
	background-image: image-set(
		url(/assets/img/bg_noise_kotei.webp) type("image/webp"),
		url(/assets/img/bg_noise_kotei.png) type("image/png")
	);

	background-repeat: repeat-y;
	background-position: top center;
	background-size: 100% auto;
	padding: 5% 0 9%;

	@media (max-width: 750px) {
		background-image: url(/assets/img/bg_noise_sp_kotei.png); /* fallback */
		background-image: -webkit-image-set(
			url(/assets/img/bg_noise_sp_kotei.webp) type("image/webp"),
			url(/assets/img/bg_noise_sp_kotei.png) type("image/png")
		);
		background-image: image-set(
			url(/assets/img/bg_noise_sp_kotei.webp) type("image/webp"),
			url(/assets/img/bg_noise_sp_kotei.png) type("image/png")
		);
		padding: 0 0 20%;
		margin-top: -10%;
	}
}

.story__characters-title {
	display: flex;
	flex-direction: column;
	gap: 3vw;
	text-align: center;
	font-family: "Noto Serif JP", "源ノ明朝", serif;
	font-weight: 900;
#	font-size: min(calc(22 * 100vw / 1920), 22px);
	letter-spacing: 0.18em;
	color: #42210b;
	line-height: 2;
	margin-bottom: 5%;

	@media (max-width: 750px) {
#		font-size: calc(23 * 100vw / 750);
	}

	h2 {
		font-size: min(calc(61 * 100vw / 1920), 61px);
		font-weight: 900;

		@media (max-width: 750px) {
			font-size: calc(49 * 100vw / 750);
		}
	}
}

.story__characters-box {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	width: 59.5%;
	margin: auto;

	@media (max-width: 750px) {
		flex-direction: column;
		align-items: center;
		width: 87%;
		gap: 4vw;
	}
}
.story__characters-image {
	width: 40%;
	text-align: center;

	@media (max-width: 750px) {
		order: 2;
	}

	picture {
		display: inline-block;
#		width: 70%;
	}


}

.story__characters-image.chara1 picture {
	width: 70.7%;

	@media (max-width: 750px) {
		width: 70.9%;
	}
}
.story__characters-image.chara2 picture {
	width: 86.398%;
}
.story__characters-image.chara3 picture {
	width: 77.29%;
}

.story__characters-info {
	width: 58%;
	display: flex;
	flex-direction: column;
	gap: 2vw;

	@media (max-width: 750px) {
		width: 100%;
	}
}
.characters-info-text {
	display: flex;
	flex-direction: column;
	gap: 2vw;
	font-family: "Noto Serif JP", "源ノ明朝", serif;
	font-weight: 900;
	letter-spacing: 0.18em;
	color: #42210b;
	line-height: 2;

	div {
		margin-top: 6%;
		font-size: min(calc(35 * 100vw / 1920), 35px);

		@media (max-width: 750px) {
			margin-top: 0;
			font-size: calc(35 * 100vw / 750);
			text-align: center;
		}
	}

	p {
		font-size: min(calc(22 * 100vw / 1920), 22px);

		@media (max-width: 750px) {
			font-size: calc(23 * 100vw / 750);
			text-align: center;
		}
	}
}

.characters-thum {
	margin-top: auto;

	@media (max-width: 750px) {
		display: none;
	}
}

.slider {
	margin: 0 auto;
}
.slider-img img {
	height: auto;
	width: 100%;
}

.slide-arrow {
	bottom: 0;
	cursor: pointer;
	margin: auto;
	position: absolute;
	top: -50%;
	width: 4.5%;
	z-index: 10;
}
.prev-arrow {
	left: 13%;
}
.next-arrow {
	right: 13%;
}

.slide-dots {
	padding: 0;
	text-align: center;

	width: 34%;
	margin: 5% auto 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	place-items: center;

	@media (max-width: 750px) {
		width: 62%;
		margin: 6% auto 0;
	}
}
.slide-dots li {
	display: inline-block;
	width: 100%;
}
.slide-dots li button {
	position: relative;
	text-indent: -9999px;
}
.slide-dots li button::before {
	background-image: url(/assets/img/action/indicator_off.png);
	background-repeat: no-repeat;
	background-size: contain;
	content: "";
	cursor: pointer;
	height: 13.5px;
	left: 50%;
	margin: auto;
	position: absolute;
	right: 0;
	top: 50%;
	width: 5vw;
	transform: translate(-50%, -50%);

	@media (max-width: 750px) {
		width: 13vw;
	}
}
.slide-dots li.slick-active button::before {
	background-image: url(/assets/img/action/indicator_on.png);
}
button {
	background: none;
	border: none;
	outline: none;
}

.slick-dots {
	position: relative;
	bottom: auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	place-items: center;
	margin: 7% auto 0;
	width: 55.5%;
	gap: 1.5vw;

	@media (max-width: 750px) {
		width: 89%;
		gap: 2.4vw;
	}
}

.slick-dots li {
	margin: 0;
	cursor: pointer;
	position: relative;
	width: 100%;
	height: auto;
}

/* 2枚の画像を重ねるラッパー */
.custom-dot-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	transition: transform 0.3s ease;
}

/* 重ね合わせ用の共通画像スタイル */
.custom-dot-wrapper img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: opacity 0.3s ease;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

/* 非アクティブ時：OFF画像を表示、ON画像を透明(opacity:0)に */
.custom-dot-wrapper .dot-off {
	opacity: 1;
	position: relative;
}
.custom-dot-wrapper .dot-on {
	opacity: 0;
	position: absolute;
}

.slick-dots li:hover .custom-dot-wrapper {
#	transform: scale(1.12);
}

/* アクティブ時(.slick-active)：ON画像を表示、OFF画像を透明(opacity:0)に */
.slick-dots li.slick-active .dot-off {
	opacity: 0;
	position: relative;
}
.slick-dots li.slick-active .dot-on {
	opacity: 1;
	filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
	position: absolute;
}
.slick-dots li.slick-active .custom-dot-wrapper {
#	transform: scale(1.22);
}

.story__characters-box2 {
	width: 59.5%;
	margin: auto;
	position: relative;
	padding-top: 6.3%;

#	background: #0000005c;

	@media (max-width: 750px) {
		width: 87%;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding-top: 0;
		gap: 1.1vw;
	}
}

.story__characters-image2 {
	width: 81%;
	transform: translateX(-13%);

	@media (max-width: 750px) {
		width: 90%;
		margin: auto;
		transform: unset;
		order: 2;
	}
}

.characters-info-text2 {
	display: flex;
	flex-direction: column;
	gap: 2vw;
	font-family: "Noto Serif JP", "源ノ明朝", serif;
	font-weight: 900;
	letter-spacing: 0.18em;
	color: #42210b;
	line-height: 2;
	position: absolute;
	top: 20%;
	left: 70%;
	transform: translate(-50%, -50%);

	width: 59%;
#	background: #00ffff61;

	@media (max-width: 750px) {
		font-size: calc(23 * 100vw / 750);
		position: relative;
		top: unset;
		left: unset;
		transform: unset;
		width: 100%;
	}

	div {
		font-size: min(calc(35 * 100vw / 1920), 35px);

		@media (max-width: 750px) {
			font-size: calc(35 * 100vw / 750);
		}
	}

	p {
		font-size: min(calc(22 * 100vw / 1920), 22px);

		@media (max-width: 750px) {
			font-size: calc(23 * 100vw / 750);
		}
	}
}

