﻿/* ==========================================================================
   1. 基本リセットとフルスクリーンコンテナ設定
   ========================================================================== */
.fs-mv-container {
	position: relative;
	width: 100%;
	height: 50vh;
	overflow: hidden;
	background-color: #004cb0; /* ソリッドブルーのベース色 */
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	margin: 0;
	padding: 0;
}

.fs-asw-headline {
	position: relative;
	width: 100%;
	height: 100%;
}

/* ==========================================================================
   2. 画像シームレスループアニメーション
   ========================================================================== */
.fs-loop-mv {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	overflow: hidden;
}

.fs-mv-pc, .fs-mv-sp {
	width: 100%;
	height: 100%;
	position: relative;
}

/* 2枚の画像を横並びにして連続してスライドさせる */
.fs-mv-container {
	height: 480px;
}

@media (max-width: 767px) {
	.fs-mv-container {
		height: 500px;
	}
}

.fs-slide-wrap {
	display: flex;
	flex-wrap: nowrap;
	width: max-content;
	height: 100%;
	gap: 0;
	align-items: flex-start;
	animation: fsLoopMoveSeamless 45s linear infinite;
}

.fs-loop-mv.is-paused .fs-slide-wrap {
	animation-play-state: paused;
}

.fs-slide-wrap img {
	display: block;
	flex: 0 0 auto;
	width: auto;
	height: auto;
	min-width: 0;
	max-width: none;
	object-fit: initial;
	object-position: center center;
	margin: 0;
	padding: 0;
}

@keyframes fsLoopMoveSeamless {
	0% {
		transform: translate3d(0, 0, 0);
	}
	100% {
		transform: translate3d(-50%, 0, 0);
	}
}

/* 表示切り替えの初期状態 */
.fs-mv-pc { display: block; }
.fs-mv-sp { display: none; }

@media (max-width: 767px) {
	.fs-mv-pc { display: none !important; }
	.fs-mv-sp { display: block !important; }
}

/* ==========================================================================
   3. グラデーションマスクの設定 (PC:横方向 / SP:縦方向)
   ========================================================================== */
.fs-loop-mv::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 4;
	pointer-events: none;
}

/* PC時の横グラデーション */
.fs-loop-mv::after {
	background: linear-gradient(
		to right, 
		#004cb0 0%, 
		#004cb0 32%, 
		rgba(0, 76, 176, 0.94) 38%, 
		rgba(0, 76, 176, 0.82) 44%, 
		rgba(0, 76, 176, 0.58) 50%, 
		rgba(0, 76, 176, 0.32) 56%, 
		rgba(0, 76, 176, 0.12) 62%, 
		rgba(0, 76, 176, 0) 68%
	);
}

/* スマホ(SP)時はグラデーションなし */
@media (max-width: 767px) {
	.fs-loop-mv::after {
		display: none;
	}
}

/* ==========================================================================
   4. テキストレイアウト (ロゴ・コピー文)
   ========================================================================== */
.fs-mv-text-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 5;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	pointer-events: none;
	padding-left: 8%;
	padding-right: 48%; /* 画像エリアを確保 */
	text-align: left;
	box-sizing: border-box;
}

.fs-mv-logo {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 700;
	letter-spacing: 0.05em;
	margin-bottom: 20px;
	line-height: 1.3;

	/* 変更：写真上でも白文字が沈まないように微調整 */
	text-shadow:
		0 1px 2px rgba(0, 0, 0, 0.65),
		0 3px 10px rgba(0, 0, 0, 0.45),
		0 0 1px rgba(0, 0, 0, 0.8);
}

.fs-mv-description {
	font-size: clamp(13px, 1.5vw, 15px);
	line-height: 1.8;
	letter-spacing: 0.04em;
	opacity: 0.95;

	/* 変更：本文は細いのでH1より少し強めに補助 */
	text-shadow:
		0 1px 2px rgba(0, 0, 0, 0.7),
		0 2px 8px rgba(0, 0, 0, 0.5),
		0 0 1px rgba(0, 0, 0, 0.85);
}

.fs-mv-logo__sub {
	font-size: 0.6em;
	font-weight: 500;
	margin-left: 0.2em;
	vertical-align: baseline;
}

/* SPレイアウト切り替え */
@media (max-width: 767px) {
	.fs-mv-text-container {
		justify-content: flex-end;
		padding: 0 24px 100px 24px;
		text-align: center;
	}
	.fs-mv-logo {
		margin-bottom: 14px;
	}
}

/* ==========================================================================
   5. 拡張パーツ (キャプション & 再生停止ボタン)
   ========================================================================== */
.fs-loop-control {
	position: absolute;
	right: 24px;
	top: 30px;
	bottom: auto;
	z-index: 10;
}

.fs-loop-btn {
	background-color: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 20px;
	padding: 8px 18px;
	cursor: pointer;
	font-size: 12px;
	font-weight: bold;
	color: #004cb0;
	display: flex;
	align-items: center;
	gap: 6px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	transition: all 0.2s ease;
	pointer-events: auto; /* クリック可能にする */
}

.fs-loop-btn:hover {
	background-color: #ffffff;
	transform: scale(1.03);
}

.fs-btn-stop-icon {
	display: inline-block;
	width: 8px;
	height: 10px;
	border-left: 3px solid #004cb0;
	border-right: 3px solid #004cb0;
}

.fs-loop-btn .fs-text-stop { display: inline-flex; align-items: center; gap: 4px; }
.fs-loop-btn .fs-text-start { display: none; align-items: center; gap: 4px; }

.fs-loop-btn.is-stopped .fs-text-stop { display: none; }
.fs-loop-btn.is-stopped .fs-text-start { display: inline-flex; }

/* ==========================================================================
   6. モジュールをMVに少し重ねる
   ========================================================================== */
div#booking-modal_TS-D-05 {
    position: relative;
    z-index: 20;
    margin-top: -100px;
}
.base-component-containing-modules {
	padding-bottom: 2rem;
}