@charset "utf-8";
/* CSS Document */
#mdOverlay{
	top:0;
	left:0;
	width:100%;
	position:fixed;
	z-index:910;
	background-color: var(--blue);
	display:none;
}
#mdWindow{
	width:1300px;
	height:400px;
	margin-top:-200px;
	margin-left:-650px;
	top:50%;
	left:50%;
	position:fixed;
	/*background-color:#fff;*/
	z-index:920;
	display:none;
}

/*#mdWindow .mdClose{

	top:0;
	right: 4em;
	width:auto;
	padding:0.5em 1em 0.7em;
	color:#fff;
	font-size:1em;
	background:var(--red);
	text-align:center;
	border-radius:6px;
	position:absolute;
	z-index:99;
	cursor:pointer;
	box-shadow:inset 0 0 0 0.2em #fff; 
	border: var(--red) 0.2em solid;
}
#mdWindow .mdClose span{
	border-bottom: #fff 2px solid;
}
#mdWindow .mdClose:hover{
	background-color: var(--gold);
	border-color:var(--gold);
}
*/

#mdWindow .mdClose{
	position:absolute;
	z-index:99;
	cursor:pointer;
	top:-2em;
	right: 3em;
	display:block;
	background:url(../img/controls_close.png) no-repeat top;
	background-size: cover;
	width:4em;
	height:4em;
	text-indent:-9999px;
	transition: all 0.2s 0s ease-out;
	transform: scale(1);
	opacity: 1;
}
#mdWindow .mdClose:hover{/*background-position:bottom;*/ transform: scale(0.8); opacity: 1;}

/*--------------------------------------------------------*/
.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;
}

/*テスト用中身*/
#contWrap .txtBox{
	width: 100%;
	/*position: absolute;*/
	position: relative;
	color: #111;
}
/*-----------------------------------------------
新着
-------------------------------------------------*/
.newsWrap{
	position:absolute;
	background-color: #fff;
	border: 0.5em solid var(--gold);
	top:2em;
	bottom:0;
	left:3em;
	right:3em;
	border-radius: 10px;
	padding: 1em;
	column-gap: 0.5em;
	row-gap: 0.5em;
	overflow-y: auto;
}
#pastnews dl{
	position: relative;
	z-index: 1;
	border-bottom: 1px dashed #000;
	padding: 1em;
	font-size:max(0.8em,12px);
	color: #111;

}
#pastnews dt{
	width: 6em;
	float: left;
	padding: 0.5em 0;
	color: var(--red);
	font-weight: bold;
}
#pastnews dd{
	padding: 0.5em 0;
	margin-left: 7em;
}
#pastnews dd a{
	color: var(--blue);
	font-weight: bold;
	display: inline-block;
	padding: 0;
}
#pastnews dd a:hover{
	background: var(--blue);
	color: var(--gold);
}

/*テキストエリアここまで----------------------------*/
@media (max-width:1366px) {
#mdWindow{
	width:80%;
	margin-left:-40%;
}

}
@media (max-width: 960px) {
#mdWindow{
	width:100%;
	margin-left:-50%;
}

}
@media (max-width: 786px) {
}
@media (max-width: 480px) {
#pastnews dl{
	padding:0.5em 1em;
}
#pastnews dt{
	width: 6em;
	float: none;
	padding:0;
}
#pastnews dd{
	padding: 0.5em 0;
	margin-left: 0;
}


}
