@charset "utf-8";
/* 呼吸器部会様お問い合わせフォーム用モーダルウィンドウCSS */
#modal-wrap,
#modal-wrap-guest {
	background-color: rgba(0,0,0,0.75);
	box-sizing: border-box;
	color: #fff;
	display: none;
	position: fixed;
	width: 100%;
	height: 120%;
	z-index: 999;
}
#modal-in {
	background-color: #FFFFFF;
	box-sizing: border-box;
	border: 1px solid #fff;
	font-size: 14px;
	line-height: 1.5;
	margin: 0 auto;
	max-width: 1000px;
	padding: 10px;
	position: absolute;
		top: 8%;
	width:  90%;
	color:#000;
}
#modal-in .ttl {
	font-size: 1.5em;
	line-height: 1.25;
	margin: 1.25em 0;
	text-align: center;
}
#modal-in .modal-button-wrap {
    display:-webkit-flex;
    display:-ms-flexbox;
   	display:flex;
   	justify-content:flex-start;
   	-webkit-flex-wrap:wrap;
   	-ms-flex-wrap:wrap;
	flex-wrap:wrap;
	margin: 20px auto ;
	width: 100%;
}
#modal-in .modal-button-wrap .modal-button-in {
    display:-webkit-flex;
    display:-ms-flexbox;
   	display:flex;
	padding: 0 10px;
	width: 100%;
	margin-bottom:20px;
}
#modal-in .modal-button-wrap .modal-button-in .box-a, 
#modal-in .modal-button-wrap .modal-button-in .box-b {
	background-color: #ccc;
	border: 1px solid #fff;
	color: #ccc;
	cursor: pointer;
    display:-webkit-flex;
    display:-ms-flexbox;
   	display:flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 10px 5px;
	width: 100%;
	border:solid 1px #8C8C8C;
	text-decoration: none;
}
#modal-in .modal-button-wrap .modal-button-in .box-a:hover,
#modal-in .modal-button-wrap .modal-button-in .box-b:hover {
	background-color: #ccc;
	border: 1px solid #fff;
	color: #fff;
	text-decoration: none !important;
}
	
@media only screen and (max-width : 640px){
	#modal-in {
		padding: 5px 10px;
		text-align: left;
		top: 5%;	
	}
	#modal-in .ttl {
		margin: 1em 0;
	}
}

