@charset "utf-8";

#check_before{
	width: 800px;
	height: 500px;
	margin: auto;
	background-color: #fff;
    position: fixed !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#check_before .modal_close{
	position: absolute;
	top: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	box-sizing: border-box;
	border: 1px solid #036eb7;
	background: #fff;
	transition: 0.3s;
}
#check_before .modal_close:hover{
	cursor: pointer;
	opacity: 0.7;
}
#check_before .modal_close::before,
#check_before .modal_close::after{
	display: block;
	content: "";
	width: 1px;
	height: 24px;
	position: absolute;
	top: 8px;
	left: 50%;
	background: #036eb7;
}
#check_before .modal_close::before{
	transform: rotate(45deg);
}
#check_before .modal_close::after{
	transform: rotate(-45deg);
}

#check_before .modal_root_wrap {
	width: 100%;
}
#check_before .modal_root_wrap .modal_root {
	height: 500px;
	display: flex;
    flex-direction: column;
	position: relative;
	box-sizing: border-box;
	padding: 35px 0 50px;
}
#check_before .modal_root_wrap.result .modal_root{
	padding-bottom: 40px;
}
#check_before .modal_root_wrap .modal_title img{
	display: block;
	width: 270px;
	margin: auto;
}

#check_before .modal_root_wrap .modal_text {
	width: 100%;
	height: 100%;
	font-size: 24px;
	line-height: 1.67;
	font-weight: bold;
	color: #036eb7;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}
#check_before .modal_root_wrap .modal_text span.black{
	display: inline-block;
	width: 700px;
	font-size: 18px;
	color: #000;
	padding-top: 15px;
	text-align: left;
}
#check_before .modal_root_wrap.result .modal_text{
	padding-bottom: 60px;
}

#check_before .modal_root_wrap ul li{
	margin-top: 30px;
	position: relative;
}
#check_before .modal_root_wrap ul li .modal_text{
	height: auto;
}
#check_before .modal_root_wrap ul li .modal_ques_btn{
	position: relative;
}

#check_before .modal_root_wrap .modal_box {
	width: 600px;
	height: 155px;
	margin: 15px auto 30px;
	overflow-y: scroll;
	box-sizing: border-box;
	padding: 10px;
	border: 1px solid #c8c8c8;
}
#check_before .modal_root_wrap .modal_box p{
	font-size: 18px;
	line-height: 1.78;
	padding-left: 1.5em;
	text-indent: -1.5em;
}
#check_before .modal_root_wrap .modal_box p span.blue{
	color: #036eb7;
	padding-right: 0.5em;
}
#check_before .modal_root_wrap .modal_box p span.bold{
	font-weight: bold;
}

#check_before .modal_root_wrap .modal_root .modal_attention{
    width: 100%;
	font-size: 14px;
	text-align: center;
	position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

/* modal_root_1 */
#check_before .modal_root_wrap .modal_root#modal_root_1,
#check_before .modal_root_wrap .modal_root#modal_root_2{
	padding-top: 35px;
	padding-bottom: 50px;
}
#check_before .modal_root_wrap .modal_root#modal_root_1 .modal_title img{
	width: 396px;
}
#check_before .modal_root_wrap .modal_root#modal_root_1 .modal_text{
	padding-bottom: 40px;
}


/* retry */
#check_before .modal_root_wrap.retry .modal_root .modal_text{
	padding-bottom: 65px;
}
#check_before .modal_root_wrap.retry01 .modal_root .modal_text{
	padding-bottom: 0;
}

/* ボタン */
#check_before .modal_root_next,
#check_before .modal_root_retry,
#check_before .ques_next,
#check_before .modal_ques_retry{
	width: 240px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.3s;
	background-color: #036eb7;
	font-size: 18px;
	color: #fff;
	box-shadow: 7px 7px 0 rgba(3,110,183,0.2);
}
#check_before .modal_root_next{
	position: absolute;
	right: 90px;
	bottom: 50px;
	z-index: 2;
}
#check_before .ques_next{
	position: absolute;
	right: 140px;
	bottom: 0;
	z-index: 2;
}
#check_before ul li.ques_1 .ques_next{
	right: auto;
	left: 140px;
}
#check_before .modal_root_retry{
	margin-left: 95px;
}
#check_before .modal_ques_retry{
	margin-left: 140px;
}
#check_before ul li.ques_1 .modal_ques_retry{
	margin-left: 420px;
}
#check_before .modal_root_next:hover,
#check_before .modal_root_retry:hover,
#check_before .ques_next:hover,
#check_before .modal_ques_retry:hover{
	cursor: pointer;
	opacity: 0.7;
}

#check_before #modal_root_1 .modal_root_next{
	right: auto;
	left: 50%;
	transform: translateX(-50%);
}
#check_before #modal_root_1 .modal_root_next::before{
	display: inline-block;
	content: "スタート";
	white-space: nowrap;
}
#check_before #modal_root_2 .modal_btn{
	margin-top: auto;
	margin-left: 185px;
}
#check_before #modal_root_2 .modal_root_next{
	right: auto;
	left: 140px;
}
#check_before #modal_root_2 .modal_root_next::before{
	display: inline-block;
	content: "初めての方";
	white-space: nowrap;
}
#check_before ul li.ques_1 .ques_next::before{
	display: inline-block;
	content: "はい";
	white-space: nowrap;
}
#check_before ul li.ques_2 .ques_next::before,
#check_before ul li.ques_3 .ques_next::before,
#check_before ul li.ques_4 .ques_next::before,
#check_before ul li.ques_5 .ques_next::before{
	display: inline-block;
	content: "いいえ";
	white-space: nowrap;
}

#check_before .modal_retry_btn{
	width: 400px;
	height: 50px;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.3s;
	background-color: #fff;
	font-size: 18px;
	color: #036eb7;
	box-sizing: border-box;
	border: 1px solid #036eb7;
	position: absolute;
	left: 50%;
	bottom: 50px;
    transform: translateX(-50%);
    z-index: 2;
	box-shadow: 7px 7px 0 rgba(3,110,183,0.2);
}
#check_before .modal_retry_btn:hover{
	cursor: pointer;
	opacity: 0.7;
}

#check_before .modal_pdf a{
	width: 400px;
	height: 50px;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.3s;
	font-size: 18px;
	color: #fff;
	box-sizing: border-box;
	border: 1px solid #036eb7;
	position: absolute;
	left: 50%;
	bottom: 50px;
    transform: translateX(-50%);
    z-index: 2;
	box-shadow: 7px 7px 0 rgba(3,110,183,0.2);
	background-color: #036eb7;
	background-image: url("../img/ico_pdf.svg");
	background-repeat: no-repeat;
	background-position: right 55px center;
	background-size: 18px auto;
}
#check_before .modal_retry_btn:hover{
	cursor: pointer;
	opacity: 0.7;
}

#check_before .modal_btn{
	display: flex;
	justify-content: center;
}
#check_before .modal_btn .modal_retry_btn,
#check_before .modal_btn .modal_pdf{
	width: 300px;
	height: 50px;
	position: static;
	transform: none;
}
#check_before .modal_btn .modal_retry_btn{
	margin: 0 40px 0 0;
}
#check_before .modal_btn .modal_pdf a{
	width: 100%;
	position: static;
	transform: none;
	background-position: right 15px center;
}

@media screen and (max-width: 767px){
	#check_before{
		width: 94vw;
		height: 80vh;
		min-height: 580px;
	}
	#check_before .modal_root_wrap,
	#check_before .slick-list,
	#check_before .slick-track{
		height: 100%;
	}
	#check_before .modal_root_wrap .modal_root{
		height: 100%;
		padding-top: 60px;
	}
	#check_before .modal_root_wrap .modal_root#modal_root_1,
	#check_before .modal_root_wrap .modal_root#modal_root_2{
		padding-top: 80px;
	}
	#check_before .modal_root_wrap .modal_title{
		margin-bottom: 30px;
	}
	#check_before .modal_root_wrap .modal_title img{
		width: 60%;
	}
	#check_before .modal_root_wrap .modal_root#modal_root_1 .modal_title img{
		width: 75%;
	}
	#check_before .modal_root_wrap .modal_text{
		height: auto;
		font-size: 18px;
		margin-bottom: 10px;
	}
	
	#check_before .modal_root_wrap .modal_box{
		width: 90%;
		height: 30vh;
		margin: 15px auto 10px;
		padding: 12px;
	}
	
	#check_before .modal_root_wrap .modal_text span.black{
		width: 94%;
		font-size: 14px;
	}
	#check_before .modal_root_wrap .modal_box p{
		margin-bottom: 10px;
		font-size: 16px;
		line-height: 1.5;
	}
	#check_before .modal_root_wrap .modal_box p span.bold{
		font-size: 16px;
	}
	#check_before .modal_root_wrap ul li{
		height: 100%;
		margin-top: 0;
	}
	#check_before .modal_root_wrap.result .modal_text{
		padding-bottom: 0;
		margin-bottom: 30px;
	}
	
	
	#check_before #modal_root_2 .modal_btn{
		margin-left: 0;
		margin-top: 0;
	}
	#check_before .modal_root_next,
	#check_before .modal_root_retry,
	#check_before .ques_next,
	#check_before .modal_ques_retry{
		height: 40px;
		font-size: 16px;
		position: relative;
		width: 75%;
		left: auto;
		bottom: auto;
		transform: none;
	}
	#check_before #modal_root_1 .modal_root_next,
	#check_before #modal_root_2 .modal_root_next{
		position: relative;
		right: auto;
		left: auto;
		bottom: auto;
		transform: none;
		margin: auto;
	}
	#check_before .modal_root_retry{
		margin: 0 auto;
		bottom: -110px;
	}
	#check_before .modal_ques_retry{
		margin: 0 auto;
		bottom: -50px;
	}
	#check_before .ques_next{
		right: auto;
		bottom: -80px;
		margin: 0 auto;
	}
	#check_before ul li.ques_1 .ques_next{
		left: auto;
		bottom: 0;
		margin: auto;
	}
	#check_before ul li.ques_1 .modal_ques_retry{
		margin: 0 auto;
		bottom: -110px;
	}
	#check_before .modal_retry_btn{
		width: 75%;
		position: relative;
		left: auto;
		bottom: auto;
		transform: none;
		margin: 0 auto;
	}
	
	#check_before .modal_root_wrap ul li .modal_ques_btn{
		margin-top: -30px;
	}
	
	
	#check_before .modal_link a{
		width: 75%;
		height: 40px;
		margin: auto;
		display: flex;
		align-items: center;
		justify-content: center;
		transition: 0.3s;
		font-size: 16px;
		color: #fff;
		box-sizing: border-box;
		border: 1px solid #036eb7;
		z-index: 2;
		box-shadow: 7px 7px 0 rgb(3 110 183 / 20%);
		background-color: #036eb7;
		background-image: url("../img/ico_blank.svg");
		background-repeat: no-repeat;
		background-position: right 45px top 9px;
		background-size: 15px auto;
	}
	#check_before .modal_root_wrap .modal_root .modal_attention{
		position: relative;
		bottom: auto;
		left: auto;
		transform: none;
		margin-top: 15px;
		font-size: 13px;
	}
	
	#check_before .modal_btn{
		display: block;
	}	
	#check_before .modal_btn .modal_retry_btn,
	#check_before .modal_btn .modal_link{
		width: 75%;
		height: 40px;
		margin: 20px auto 0;
		font-size: 16px;
	}
	#check_before .modal_btn .modal_link a{
		width: 100%;
		height: 40px;
		font-size: 16px;
		background-position: right 13px top 9px;
		background-size: 15px auto;
	}
	
	.slick-dots{
		bottom: -20px !important;
	}
}