/* 動画用モーダル */
iframe {
	display: block;
	/* ブロック要素に変更 */
	margin: 0;
	/* 不要な余白を削除 */
}

/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container {
	position: fixed;
	z-index: 9000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	background: rgba(0, 0, 0, 80%);
	padding: 100px 20px;
	overflow-y: auto;
	overflow-x: hidden;
	opacity: 0;
	visibility: hidden;
	transition: .3s;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: center;
}

/*モーダル本体の擬似要素の指定*/
.modal-container:before {
	content: "";
	display: inline-block;
	/* vertical-align: middle; */
	height: 100%;
}

/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active {
	opacity: 1;
	visibility: visible;
}

/*モーダル枠の指定*/
.modal-body {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	max-width: 960px;
	width: 100%;
	aspect-ratio: 16 / 9;
}

/*モーダルを閉じるボタンの指定*/
.modal-close {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	top: -76px;
	right: 0;
	width: 66px;
	height: 66px;
	font-size: 40px;
	color: #fff;
	cursor: pointer;
	text-indent: -9999px;
	background: url(../images/close.png) no-repeat;
	background-size: contain;

}

/*モーダル内のコンテンツの指定*/
.modal-content {
	background: #fff;
	text-align: left;

}

.modal-content {

	h3 {
		margin: 20px 30px 0.8em;
	}

	h3+p {
		margin: 0 30px 0;
	}
}

@media only screen and (max-width: 980px) {

	/*モーダル枠の指定*/
	.modal-body {
		max-width: 500px;
		width: 90%;
	}
}

@media only screen and (max-width: 520px) {



	/*モーダル枠の指定*/
	.modal-body {
		width: 90%;
	}

	/*モーダルを閉じるボタンの指定*/
	.modal-close {
		top: -16vw;
		right: 0;
		width: 13.33vw;
		height: 13.33vw;

	}

	/*モーダル内のコンテンツの指定*/


	.modal-content {

		h3 {
			margin: 20px 25px 0;
			font-size: 4.8vw;
		}

		h3+p {
			margin: 10px 25px 20px;
			font-size: 3.733vw;
		}
	}

}

#player-container {
	width: 100%;
	aspect-ratio: 16 / 9;

}

#player-container iframe {
	width: 100%;
	height: 100%;
	border: none;
}



.player-container {
	width: 100%;
	aspect-ratio: 16 / 9;

}

.player-container iframe {
	width: 100%;
	height: 100%;
	border: none;
}

/*再生リストボタン*/
.modal-btn button {
	position: absolute;
	text-indent: -9999px;
	border: none;
	background-size: cover;
	background-color: transparent;
	height: 12vw;
	width: 6.933vw;
	cursor: pointer;
}

/* 前へ次への矢印カスタマイズ */
.modal-btn buttont::after {
	background-repeat: no-repeat;
	background-size: contain;
	content: "";
	height: 12vw;
	margin: auto;
	width: 6.933vw;
}

.modal-btn button:first-child {
	background-image: url(https://vcp.musabi.ac.jp/tourism/wp-content/themes/tokyotourism/images/swiper_prev.png);
	bottom: -15vw;
	left: 5vw;
}

.modal-btn button:last-child {
	background-image: url(https://vcp.musabi.ac.jp/tourism/wp-content/themes/tokyotourism/images/swiper_next.png);
	bottom: -15vw;
	left: 15vw;
}



@media only screen and (min-width: 768px) {

	/* 前へ次への矢印カスタマイズ */
	.modal-btn button {
		height: 45px;
		width: 26px;
	}

	/* 前へ次への矢印カスタマイズ */
	.modal-btn buttont::after {
		background-repeat: no-repeat;
		background-size: contain;
		content: "";
		height: 45px;
		margin: auto;
		width: 26px;
	}

	.modal-btn button:first-child {
		top: calc(50% - 23px);
		left: -5%;
	}

	.modal-btn button:last-child {
		top: calc(50% - 23px);
		right: -5%;
		left: auto;
	}

	.btn-browse-movie:hover {
		opacity: 0.6;
	}
}

.modal-playlist {
	/* visibility: hidden; */
	display: none;
}