@charset "UTF-8";

/*下層メインイメージ
---------------------------------------------------------*/
.contentpage .m_img_area {
	background-image: url("../images/first/m_img@2x.jpg");
}
.contentpage #pagebody .com_bg_obj li{
	z-index: -1;
}





/*reserve
---------------------------------------------------------*/
#reserve .reserve_priority{
	text-align: center;
}
#reserve .reserve_priority dt{
	font-size:min(205%,3.6vw);
	letter-spacing: 0.05em;
	line-height: 1.5em;
	color: #E88274;
	margin-bottom: 0.5em;
}
#reserve .please_box{
	background-color: rgba(255,213,153,0.3);
	padding: 50px 4%;
	border-radius: 15px;
}
#reserve .please_box ul{
	max-width: 1080px;
	margin: 0 auto;
	line-height: 1.5em;
}
#reserve .please_box ul li{
	padding-left: 1.5em;
	position: relative;
	margin-top: 0.5em;
}
#reserve .please_box ul li:first-child{
	margin-top: 0;
}
#reserve .please_box ul li::before{
	position: absolute;
	content: "";
	background: #E88274;
	width: 0.7em;
	height: 0.7em;
	border-radius: 0.7em;
	left: 0;
	top:0.45em;
}
#reserve .contact{
	display: flex;
	justify-content: space-between;
	font-size:min(100%,1.55vw);
}
#reserve .contact > li{
	width: 33.33334%;
}
#reserve .contact > li:nth-child(2),
#reserve .contact > li:nth-child(3){
	display: flex;
    justify-content: center;
    align-items: center;
}
#reserve .contact > li:nth-child(1) .com_info_index{
	font-size: 277%;
}
#reserve .contact > li:nth-child(1) .point_list {
	display: flex;
	justify-content: space-between;
	max-width: 23.2143em;
	width: 95%;
	text-align: center;
	font-size: 83%;
	letter-spacing: .1em;
	line-height: 1.0em;
}
#reserve .contact > li:nth-child(1) .point_list li {
	width: 48.5%;
	max-width: 11.429em;
	background: #ffd599;
	padding: 1.2em 0;
	border-radius: 3.0em;
}
#reserve .contact > li:nth-child(2){
	border-right: 1px solid #2A1F22;
	border-left: 1px solid #2A1F22;
	
}
#reserve .contact > li:nth-child(2) .tel_txt{
	text-align: left;
	font-size: 106%;
	letter-spacing: .1em;
	line-height: 1.2em;
}
#reserve .contact > li:nth-child(2) .tel_txt dd{
	font-size: 215%;
	margin-top: .5em;
}
#reserve .contact > li:nth-child(3) .com_web2{
	width: 90%;
	max-width: 308px;
	margin-left: auto;
	margin-right: auto;
}
#reserve .fst_exam .com_bg_box ul{
    display: flex;
    justify-content: space-between;
	max-width: 680px;
	width: 90%;
	margin: 0 auto;
}
#reserve .fst_exam .com_bg_box ul li{
	max-width: 206px;
	width: 31%;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
#reserve .please_box{
	padding: 4%;
	border-radius: 1.5vw;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
#reserve .reserve_priority dt{
	font-size:145%;
}
#reserve .reserve_priority dd{
	text-align: left;
}
#reserve .please_box{
	background-color: rgba(255,213,153,0.3);
	padding: 5%;
	border-radius:1.5vw;
}

#reserve .contact{
	display: block;;
	font-size:100%;
	width: 90%;
    margin-left: auto;
    margin-right: auto;
}
#reserve .contact > li{
	width: 100%;
}
#reserve .contact > li:nth-child(1){
	padding-bottom: 1.2em;
}
#reserve .contact > li:nth-child(1) .com_info_index{
	font-size: 200%;
}
#reserve .contact > li:nth-child(1) .point_list {
	width: 100%;
	letter-spacing: normal;
}
#reserve .contact > li:nth-child(1) .point_list li {
	width: 48.5%;
	max-width: 11.429em;
	background: #ffd599;
	padding: 1.2em 0;
	border-radius: 3.0em;
}
#reserve .contact > li:nth-child(2){
	border-right: none;
	border-left: none;
	border-top: 1px solid #2A1F22;
	border-bottom: 1px solid #2A1F22;
	padding: 1.2em 0;
	
}
#reserve .contact > li:nth-child(2) .tel_txt{
	font-size: 100%;
}
#reserve .contact > li:nth-child(2) .tel_txt dd{
	font-size: 220%;
}
#reserve .contact > li:nth-child(3){
	padding: 1.2em 0;
	border-bottom: 1px solid #2A1F22;
}
#reserve .contact > li:nth-child(3) .com_web2{
	width: 75%;
}
#reserve .fst_exam .com_bg_box ul{
	width: 100%;
	margin: 0 auto;
}
#reserve .fst_exam .com_bg_box ul li{
	max-width: 206px;
	width: 32%;
}
}





/*flow
---------------------------------------------------------*/
#flow .flow_bg{
	padding-bottom: 200px;
}
#flow .flow_list{
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}
#flow .flow_list li{
	margin-bottom: 150px;
	position: relative;
	z-index: 1;
	border-bottom: 1px solid #2A1F22;
	border-left: 1px solid #2A1F22;
	border-right: 1px solid #2A1F22;
}
#flow .flow_list li:last-child{
	margin-bottom: 0;
}
#flow .flow_list li::before{
	position: absolute;
	content: "";
	background: url("../images/first/step_arrow.svg") no-repeat center bottom;
	background-size: 100% 100%;
	width: 50px;
	height: 50px;
	left: 0;
	right: 0;
	margin: auto;
	bottom: 0;
	transform: translateY(50%);
}
#flow .flow_list li:last-child::before{
	position: static;
	background: none;
}
#flow .flow_list li .rel{
	position: relative;
	padding-bottom: 95px;
}
#flow .flow_list li .rel::before{
	position: absolute;
	content: "";
	background: #fff;
	width: calc(100% + 2px);
	height: calc(100% - 55px);
	left: -1px;
	margin: auto;
	top: 0;
	z-index: -1;
}
#flow .flow_list li .rel::after{
	position: absolute;
	content: "";
	background: #fff;
	width: 58%;
	height: 3px;
	left: 0;
	right: 0;
	margin: auto;
	bottom: -1px;
	z-index: -1;
}
#flow .flow_list li:last-child .rel::after{
	position: static;
	background: none;
}
#flow .flow_list li .inbox{
	max-width: 910px;
	width: 90%;
	margin: 0 auto;
}
#flow .flow_list li .flt_r{
	max-width: 400px;
	width: 44%;
}
#flow .flow_list li .flt_l{
	max-width: 455px;
	width: 52%;
}
#flow .flow_list li .flt_l .no{
	font-size: min(330%,5.9vw);
	letter-spacing: 0.1em;
	line-height: 1em;
	font-weight: 700;
	display: flex;
	align-items: center;
	margin-bottom: 0.3em;
}
#flow .flow_list li .flt_l .no p:first-child{
	font-size: 35%;
	letter-spacing: 0.1em;
	line-height: 1em;
	color: #E8966F;
	margin-right: 0.6em;
}
#flow .flow_list li .flt_l dt{
	font-size: min(177%,3.2vw);
	letter-spacing: 0.1em;
	line-height: 1.8em;
	margin-bottom: 0.5em;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
#flow .flow_bg{
	padding-bottom: 18%;
}
#flow .flow_list li{
	margin-bottom: 13%;
}
#flow .flow_list li::before{
	width: 5vw;
	height: 5vw;
}
#flow .flow_list li .rel{
	padding-bottom: 8%;
}
#flow .flow_list li .rel::before{
	height: calc(100% - 5vw);
}

#flow .flow_list li .flt_r{
	margin-left: 4%;
	margin-bottom: 1em;
}
#flow .flow_list li .flt_l{
	max-width: 100%;
	width: 100%;
	float: none;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
#flow .flow_bg{
	padding-bottom: 20%;
}
#flow .flow_list{
	max-width: 100%;
}
#flow .flow_list li{
	margin-bottom: 16%;
}
#flow .flow_list li::before{
	width: 10vw;
	height: 10vw;
}
#flow .flow_list li .rel{
	padding-bottom: 9%;
}
#flow .flow_list li .rel::before{
	height: calc(100% - 10vw);
}
#flow .flow_list li .inbox{
	max-width: 90%;
}
#flow .flow_list li .flt_r{
	width: 80%;
	float: none;
	margin: 0 auto 5vw;
	text-align: center;
}
#flow .flow_list li .flt_l{
	max-width: 100%;
	width: 100%;
	float: none;
}
#flow .flow_list li .flt_l .no{
	font-size: 290%;
	margin-bottom: 0.15em;
}
#flow .flow_list li .flt_l dt{
	font-size: 160%;
	letter-spacing: 0.05em;
	line-height: 1.5em;
	margin-bottom: 0.3em;
}
}
