@charset "utf-8";
/* CSS Document */
#mdOverlay{
	top:0;
	left:0;
	width:100%;
	position:fixed;
	z-index:990;
	/*background-image: url("../img/bg.jpg");*/
	display:none;
	background-color: #fff;
}
#mdWindow{
	width:1000px;
	height:400px;
	margin-top:-200px;
	margin-left:-500px;
	top:50%;
	left:50%;
	position:fixed;
	/*background-color:#fff;*/
	z-index:995;
	display:none;

}

#mdWindow > .mdClose{
	/*top:-15px;
	right:-15px;*/
/*	top:-4em;
	right:0px;*/
	width:4em;
	right:0px;
	height: 4em;
	position:absolute;
	z-index:99;
	cursor:pointer;
	background-image: url("../img/controls_close.png");
	background-size: contain;
	background-repeat: no-repeat;
		transition: all 0.2s 0s ease-out;
	transform: scale(0.9);
	opacity: 1;
	/*width:auto;*/
	/*padding:0.5em 1em 0.7em;
	
	color:#fff;
	font-size:1em;
	background:#005f85;
	text-align:center;
	border-radius:6px;
	position:absolute;
	z-index:99;
	cursor:pointer;
	box-shadow:inset 0 0 0 0.2em #fff; 
	border: #005f85 0.2em solid;*/
	text-indent: -9999px;

}
#mdWindow > .mdClose:hover{/*background-position:bottom;*/ transform: scale(0.8); opacity: 1;}
#mdWindow > .mdClose span{
	/*border-bottom: #fff 2px solid;*/
	
}
#mdWindow > .mdClose:hover{
	/*background-color: #ff7779;
	border-color: #ff7779;*/
}
/*--------------------------------------------------------*/
.innerBt{
	position: absolute;
	top:50%;
	width:3em;
	height:2em;
	line-height:2em;
	color:#000;
	font-size:1.5em;
	background:#ffbdbe;
	text-align:center;
	border-top-left-radius:6px;
	border-top-right-radius:6px;
	z-index:99;
	cursor:pointer;
	
}
.innerBt{
	text-decoration: none;
	color: #fff;
}
#prev.innerBt{
		left:0;
		transform: rotateZ( -90deg ) ;

}
#next.innerBt{
	right:0;
	transform: rotateZ( 90deg ) ;
}

.contBox{
	display:none;
}

#contWrap{
	margin:0 auto;
	padding:1%;
	width:100%;
	box-sizing:border-box;
	/*overflow-y:auto;*/
	overflow: hidden;
	position: relative;
		display: grid;
	align-items: center;
}

/*テスト用中身*/
#contWrap .txtBox{
	width: 100%;
	/*position: absolute;*/
	position: relative;
	color: #111;
}
/*-----------------------------------------------
カウントダウン
-------------------------------------------------*/
.countWrap{
	position:relative;

	/*top:4em;*/
	bottom:0;
	left:0;
	right:0;
	/*border-radius: 10px;*/
	/*padding: 1em;*/
	overflow-y: auto;
	text-align: center;
	
}
.countWrap img{
	box-shadow: 0 0 5px #000;
	max-height: 70vh;
	width: auto;
}
#countdown.playBT{
	width: 10em;
	letter-spacing: 0.2em;
	display:inline-block;
	padding: 1em;
	background-color: var(--gold);
	color: #fff;
	margin: 0.5em auto 0;
	cursor: pointer;
	border-radius: 6px;
}
#countdown.playBT:hover,#countdown.playBT.selected{
	background-color: var(--red);

}
@media screen and (orientation: portrait) {
	.countWrap img{

		max-height: none;
			width: 100%;

			display: block;
	}

}
@media (max-width:1366px) {
#mdWindow{
	width:80%;
	margin-left:-40%;
}
.chWrap .chTxtArea .txt{
	font-size: 0.8em;
}

}
@media (max-width: 960px) {
#mdWindow{
	width:100%;
	margin-left:-50%;
}
}
@media (max-width: 786px) {

}
@media (max-width: 480px) {


}
