@charset "utf-8";

/* モーダル コンテンツエリア */
.modal_body {
	display:none;
	border-radius:5px;
	width:560px;
	height:auto;
	background-color:#fff;
	color:#666;
	margin:0;
	padding:20px;
	position:fixed;
	z-index:2;
}
.modal_body .corp {
	border-bottom:solid 1px #ccc;
	margin-bottom:0;
	padding:10px;
}
.modal_body .corp img {
	background-color:#ccc;
	width:150px;
	height:100px;
}
.modal_body .corp strong {
	float:right;
	width:350px;
	font-size:1.6em;
	font-weight:bold;
	color:#000;
	text-align:left;
	position:relative;
	top:-65px;
}
.modal_body p {
	display:inline-block;
	width:96%;
	font-size:1.2em;
	line-height:1.5;
	padding:10px 2%;
}
.modal_body .else { padding:10px; }
.modal_body .else strong {
	display:block;
	background-color:#f00;
	border-radius:3px;
	width:50px;
	font-size:1.2em;
	text-align:center;
	color:#fff;
	margin-bottom:5px;
}
.modal_body .else span {
	display:block;
	font-size:1.2em;
	line-height:1.5;
	color:#000;
	padding:0 10px;
}
.modal_body .pdf {
	float:right;
	font-size:1.2em;
}
.modal_body .modal-remove {
	float:right;
	display:block;
	background-color:#eee;
	border-radius:5px;
	font-size:1.2em;
	color:#999;
	text-align:center;
	letter-spacing:1px;
	margin:0 auto;
	padding:5px 10px;
	cursor:pointer;
}
.modal_body .modal-remove:hover { opacity:0.8; }

/* モーダル 背景エリア */
#modal-bg {
	display:none;
	background-color:rgba(0,0,0,0.5);
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	left:0;
	z-index:1;
}

@media only screen and (max-width: 767px) {
/* モーダル コンテンツエリア */
.modal_body {
	width:94%;
	max-height:50%;
	padding:20px 2%;
	overflow:auto;
}
.modal_body .corp { clear:both; }
.modal_body .corp img {
	display:block;
	margin:0 auto 20px auto;
}
.modal_body .corp strong {
	float:none;
	width:96%;
	padding:0 2%;
	position:static;
}
.modal_body p { padding:10px 2%; }
.modal_body .else { padding:10px 2%; }
}
