@charset "utf-8";
/* ------------------------------
   DESIGN/LAYOUT ELEMENTS
------------------------------ */
a:link,a:visited,a:active,a:hover { text-decoration: none;}
.btnArea {
	padding-bottom: 1.5em;
	text-align: center;
}

#footer_navi a:link,#footer_navi a:visited,#footer_navi a:active,#footer_navi a:hover {
    text-decoration: underline;
}


/* ------------------------------
   CHAPTER ELEMENTS
------------------------------ */
#mdOverlay {
	top: 0;
	left: 0;
	width: 100%;
	position: fixed;
	z-index: 97;
	background: #000;
	display: none;
}

#mdWindow {
	margin-top: -200px;
	margin-left: -250px;
	top: 50%;
	left: 50%;
	width: 500px;
	height: 400px;
	position: fixed;
	z-index: 98;
	background: #fff;
	display: none;
}

#mdWindow > .mdClose {
	top: 5px;
	right: 5px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	color: #fff;
	font-size: 1.5em;
	background: #757575;
	border-radius: 30px;
	position: absolute;
	z-index: 99;
	cursor: pointer;
	box-shadow: 0 0 3px 0 #000;
    text-align: center;
}

.modalBtn {
}

.modalBtn:hover {
	opacity: 0.7;
}

#modalInclude {
	display: none;
}

#contWrap {
	margin: 0 auto;
	padding: 0 0;
	width: 100%;
	height: 400px;
	box-sizing: border-box;
	overflow-y: auto;
}

#modalWrapper h2 {
	margin-bottom: 20px;
	padding: 20px 0;
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
	border-bottom: #333 1px dotted;
}

#modalWrapper p {
	padding-bottom: 2em;
	font-size: 1em;
}


@media screen and (max-width: 550px){
#mdWindow {
    margin-top: 50px;
    margin: auto;
    top: 20%;
    left: 0;
    width: 97%;
    height: 400px;
    position: fixed;
    z-index: 98;
    background: #fff;
    display: none;
}
}
