/* モーダル全体の背景 */
.video-modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	align-items: center;
	justify-content: center;
}

/* モーダルのコンテンツ領域 */
.video-modal-content {
	position: relative;
	width: 90%;
	max-width: 900px;
	background: #000;
}

/* モーダル内のビデオタグ */
.video-modal-content video {
	width: 100%;
	height: auto;
	display: block;
}

/* 閉じるボタン（×） */
.video-close {
	position: absolute;
	top: -40px;
	right: 0;
	color: #fff;
	font-size: 35px;
	font-weight: bold;
	cursor: pointer;
	transition: 0.3s;
}

.video-close:hover {
	color: #bbb;
}

/* 再生終了後のオーバーレイ（暗い背景） */
.replay-overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
}

/* リロードボタンのデザイン */
.replay-icon {
	color: #fff;
	font-size: 20px;
	text-align: center;
	border: 1px solid #fff;
	padding: 15px 30px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.2);
	transition: 0.3s;
}

.replay-icon:hover {
	background: rgba(255, 255, 255, 0.4);
}