@charset "utf-8";

.modal_wrap input.purecsspg{
    display: none;
}

.modal_overlay{
    display: flex;
    justify-content: center;
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100010;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    opacity: 0;
    transition: opacity 0.5s, transform 0s 0.5s;
    transform: scale(0);
}

.modal_trigger{
    position: absolute;
    width: 100%;
    height: 100%;
}

.modal_content{
    position: relative;
    align-self: center;
    max-width: 900px;
	width: 100%;
	margin: 15px;
    /* padding: 20px; */
    padding: 30px;
    box-sizing: border-box;
    background: #fff;
    transition: 0.5s;
    border-radius: 10px;
}

.modal_content p.tit {
	font-size: 2.8rem;
	/* color: #fa7810; */
	color: #00216c;
	font-weight: bold;
	/* text-align: center; */
	/* margin-bottom: 15px; */
	/* margin-bottom: 25px; */
	padding:20px;
}
.modal_content p.tit small {
	font-size: 80%;
}
.modal_content img.modalimage {
	display: block;
	margin: 0 auto 20px;
	width: auto;
	height: 350px;
}
.modal_content .review {
	position: relative;
	padding: 20px 20px 20px 150px;
	font-size: 16px;
	line-height: 1.6;
	background: #feefce;
	border-radius: 5px;
}
.modal_content .review img.staff {
	position: absolute;
	display: block;
	width: 122px;
	height: auto;
	bottom: 0;
	left: 15px;
}
.modal_content ul.discraimer {
	margin-top: 15px;
}
.modal_content ul.discraimer li {
	text-indent: -1em;
	padding-left: 1em;
	font-size: 12px;
}

.close_button{
    position: absolute;
    top: 14px;
    right: 16px;
    /* font-size: 24px; */
    font-size: 30px;
    cursor: pointer;
    color: #555;
    line-height: 1.2;
}

.modal_wrap input:checked ~ .modal_overlay{
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.5s;
}

.open_button{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 30px;
    margin: auto;
    padding: 8px 16px;
    color: #444;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 1px 3px rgba(0,0,0,0.6);
    border-radius: 16px;
    cursor: pointer;
}
.requestbtn {
	text-align: center;
}
.requestbtn input {
	padding: 5px 10px;
	font-size: 16px;
	display: inline;
	cursor: pointer;
}



label.btn_modal {
	/* display: block; */
	display: inline;
	/* width: 80%; */
    /* margin: 10px auto; */
    padding: 0 0 4px 0; */
    cursor: pointer;
    /* color: #fa7810; */
    color: #00216c;
    font-size: 1.8rem;
    font-weight: bold;
    border-bottom: 1px #00216c solid;
    /*
    font-size: 13px;
    text-align: center;
    border: 1px solid #fa7810;
	border-radius: 100px;
	*/
	cursor:pointer
}

label.btn_modal:hover {
	/*
	background: #fa7810;
	color: #FFF;
	*/
	opacity: 0.8;
}

section.main .modal ul li label.btn_modal {
	width: 90%;
	font-size: 11.5px;
}


.main-contents{
	display:flex;
	flex-flow:row wrap;
}

.main-contents .contents-box1{
	width:55%;
	padding: 20px;
}

.main-contents .contents-box1 p{
	color: #384546;
	font-size: 1.8rem;
	line-height: 2;
}

.main-contents .contents-box2{
	width:45%;
	padding: 20px;
	margin: auto 0;
}

@media screen and (max-width: 700px) {

	.main-contents .contents-box1{
		width:100%;
		padding:0;
	}

	.main-contents .contents-box2{
		width:100%;
		padding:0 0 20px 0;
		order:-1;
	}

}


@media screen and (max-width: 480px) {

	.btn_modal_area {
	    display: flex;
	    flex-flow: row wrap;
	    justify-content: center;
	}

	label.btn_modal,
	section.main .modal ul li label.btn_modal {
		/* width: 100%; */
		font-size: 5vw;
		padding: 4px;
	}
	.close_button {
		top:0;
		right: 10px;
	    line-height: 2;
	}
	.modal_content {
		/*
		margin: 10px;
		padding: 15px;
		*/
		margin: 15px;
		padding: 35px;
	}
	.modal_content p.tit {
		font-size: 5.5vw;
	}
	.modal_content p.tit small {
		display: block;
	}
	.modal_content img.modalimage {
		max-width: 100%;
		max-height: 60vw;
		height: auto;
		margin-bottom: 15px;
	}
	.modal_content .review {
		padding: 15px 15px 15px 90px;
		font-size: 4vw;
}
	.modal_content .review img.staff {
		position: absolute;
		display: block;
		width: 98px;
		height: auto;
		bottom: 0;
		left: -10px;
	}
	.modal_content ul.discraimer li {
		font-size: 3vw;
	}
	.mainmodalBox ul li p br {
		display: none;
	}
}