@charset "utf-8";
/* CSS Document */
.modal {
	position: fixed;
	left: 0;
	top: 0;
	background-color: rgba(0,0,0,0.60);
	width: 100%;
	height: 100%;
    padding: 0 20px;
    overflow-y: auto;
	opacity: 0;
	display: none;
	transition: all 0.8s;
	-webkit-overflow-scrolling: touch;
}
.open_modal .modal {
	opacity: 1;
	display: block;
	z-index: 300;
}
.modal_main {
	width: 1000px;
	max-width: 100%;
    margin: 50px auto 50px auto;
	background-color: #FFFFFF;
}
.modal_header {
	background-color: #fff0f8;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.modal_header span {
	margin-left: 15px;
}
.modal_header .close_modal {
    background-image: url(../../img/global/close_b.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 50px;
    width: 50px;
    display: block;
    cursor: pointer;
    border: solid 15px #fff0f8;
}
.modal_body {
	padding: 30px;
}
.modal_body .h_search_box {
    padding: 0px;
    border: none;
    border-bottom: none;
}
.modal_footer {
	background-color: #ffc7e4;
}
.modal_footer .btnBox {
	display: flex;
	justify-content: center;
	padding: 30px 0;
}
.modal_footer .btnBox .serch_btn {
	margin-right: 16px;
	color: #2a2a2a;
	background-image: url(../../img/global/bg_1.png);
    border: none;
}
.modal_footer .btnBox .serch_btn:hover {
	color: #ffa010;
}
.modal_footer .btnBox {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffc7e4;
	outline: none;
}
.modal_footer .exec_btn {
	font-weight: bold;
	color: #888888;
	text-decoration: none;
	background-color: #ffffff;
	width: 200px;
	height: 50px;
	display: flex;
	align-items: center;
    justify-content: center;
	border: none;
	outline: none;
	cursor: pointer;
}

@media screen and (max-width: 767px) {
	.modal {
	    padding: 0;
	}
	.modal_main {
		margin: 0;
	}
	.modal_body {
		padding: 4vw;
	}
	.modal_footer .exec_btn {
	    width: 43vw;
	}
}

/* モーダルを開くボタン */
.modal_open {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 134px;
    line-height: 1;
    font-weight: normal;
    font-size: 16px;
    color: #ffffff;
    font-family: "Sawarabi Gothic";
    align-items: center;
    cursor: pointer;
    background-color: #ff82b7;
    padding: 10px;
    display: flex;
    flex-direction: column;
	text-align: center;
}
.modal_open span {
	margin-bottom: 5px;
}
@media screen and (max-width: 767px) {
	.modal_open {
		right: 4vw;
		bottom: 4vw;
		width: 20vw;
		padding: 2vw;
	}
	.modal_open img {
		width: 4vw;
	}
	.modal_open {
		font-size: 3.2vw;
		line-height: 1.4;
	}
	.modal_open span {
		margin-bottom: 1vw;
	}
}
