@charset "UTF-8";

/* ------------------- Break point memo------------------- 
WideScreen(min-width:1200px)
Desktop(min-width:992px)
PC, Tablet(min-width:768px)
mobile(max-width:599px)
mobile(min-width:480px)
*/
/*** 動画エリア ***/
.modal_box {
	position: fixed;
	z-index: 7777;
	display: none;
	width: 100%;
	max-width: 840px;
	margin: 0;
/*	padding: 60px 2vw 80px; vwは、ビューポートの幅に対する割合 */
	padding: 50px 10px 0;
	text-align: center;
	box-sizing: border-box;
	border: 0px solid #fff;
}
#modal-video,
#modal-video-long{
	width:100%;
	height:auto;
	max-width: 840px;
	box-shadow: 0 0 15px rgba(255,255,255,0.3);
}
.modal_close {
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	width: 46px;
	font-size: 43px;
	color: #fff;
	line-height: 46px;
	text-align: center;
	background: #666;
	background: transparent;
	cursor:pointer;
	text-decoration: none !important;
	opacity:0.8
}
.modal_close:hover{
	opacity:0.6;
}
.modal_close i {
	line-height: 46px;
	vertical-align: bottom;
}
.modal_bg {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 6666;
	display: none;
	width: 100%;
	height: 120%;
	background-color: rgba(0,0,0,0.7);
}
/* ローディング画面の初期設定を非表示になるようにする */
#loader-bg {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	background: #000;
	z-index: 8888;/* .modal_boxより上に配置 */
}
#loader {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	width: 200px;
	height: 200px;
	margin-top: -100px;
	margin-left: -100px;
	text-align: center;
	color: #fff;
	z-index: 9999;
}
@media screen and (max-width: 767px) {
	/*** 動画エリア ***/
	/* ウィンドウサイズ769px以下の時のスタイル */
	.modal_box {
		width: 95%;
	/*	padding: 50px 2vw 40px; */
		padding: 40px 0 0;
	}
	#modal-video,
	#modal-video-long{
		box-shadow: 0 0 10px rgba(255,255,255,0.3);
	}
	.modal_close {
		width: 32px;
		line-height: 32px;
		font-size: 30px;
	}
	.modal_close i {
		line-height: 32px;
	}
}
