@charset "utf-8";
/* CSS Document */

/*openwindow*/

#op_win {
	width:100%;
	height:100%;
	position:fixed;
	top: 0;
	left: 0;
	margin: auto;
	background: rgba(0, 0, 0, 0.9);
	zoom: 1;
	display: none;
	z-index: 99999;
}

#md_win {
	width:100%;
	height:100vh;
	position:fixed;
	top: 0;
	left: 0;
	margin: auto;
	background: rgba(0, 0, 0, 0.9);
	zoom: 1;
	display: none;
	z-index: 99999;
}

#fademd_win {
	width:100%;
	height:100%;
	position:fixed;
	top: 0;
	left: 0;
	margin: auto;
	background: rgba(0, 0, 0, 0.9);
	zoom: 1;
	display: none;
	z-index: 997;
}

#click_win img,
#fadeclick_win img{
	cursor: pointer;
}

div.modal-wrapper{
	width:80%;
	height:95%;
	position:absolute;
	left:10%;
	top:15%;
}

div.modal-box{
	position: relative;
  	width: 100%;
	margin:0px auto;
  	padding: calc(345 / 640 * 100%) 0 0 /* topを0、bottomをcalc()としてもOK */
}


iframe.t_wrap{
	position: absolute;
    top: 0;
    left: 0;
	width: 100%;
  	height: 100%;
	/*position:absolute;
	left:50%;
	top:5%;
	width:900px;
	height:650px;
	margin: 0 auto auto -450px;*/
}

#fademd_win iframe{
	position:absolute;
	left:50%;
	top:50%;
	width:800px;
	height:450px;
	margin: -225px auto auto -400px;
}

#fademd_win img{
	height:93vh;
	width:auto;
	margin-top:0;
}

/*@media (min-width: 480px) and (max-width: 829px) {
	iframe.t_wrap{
	position:absolute;
	left:50%;
	top:50%;
	width:480px;
	height:298px;
	margin: -146px auto auto -240px;
}
}*/

/*for trailerpage*/



.trailer{
	width:100%;
	margin:2em auto 1em;
}

.trailer .iframe-wrapper {
	position: relative;
  width: 100%;
	margin:0px auto;
  padding: calc(345 / 640 * 100%) 0 0 /* topを0、bottomをcalc()としてもOK */
}

.iframe-wrapper iframe{
	position: absolute;
    top: 0;
    left: 0;
	width: 100%;
  	height: 100%;
}

.trailer ul{
	display:inline-block;
	width:100%;
	text-align: center;
	margin:1em auto 0;
}

.trailer ul li{
	display:inline-block;
	width:30%;
	margin:0 3%;
}

.trailer ul li img{
	width:auto;
	cursor:pointer;
	z-index: 9999;
	width:100%;
}


#close{
	position:absolute;
	right:0;
	top:-40px;
	width:40px;
	height:40px;
	cursor:pointer;
	background:url("../img/CM_210222/b_cls.png") no-repeat center bottom;
	background-size:contain;
	z-index:9999;
	transition:0.6s;
}

#close:hover{
	opacity:0.5;
}

#fadeclose{
	position:absolute;
	left:50%;
	bottom:3%;
	width:100px;
	height:20px;
	margin-left:-50px;
	cursor:pointer;
	background:url(../img/sp/s_menu_close.png) no-repeat center bottom;
	background-size:contain;
	z-index:9999;
}

#fadeclose:hover{
	opacity: 0.5;
	transition: 0.2s;
}

/*@media (min-width: 480px) and (max-width: 829px) {
	.trailer ul li{
	display:inline-block;
	margin-top:8px;
	margin-right:15px;
}
	.trailer ul li img{
	width:200px;
	cursor:pointer;
	z-index: 9999;
}
#close{
	position:absolute;
	left:50%;
	top:50%;
	width:30px;
	height:40px;
	margin-top:120px;
	margin-left:200px;
	cursor:pointer;
	background:url(../img/b_close.png) no-repeat center bottom;
	background-size:contain;
	z-index:9999;
}
}*/
