@charset "utf-8";

body.form{
	font-family: 'Noto Sans JP', sans-serif;
	letter-spacing: 0.05em;
}
body.form .page-title-wrapper .container{
	height: 240px;
	width: 780px;
    padding: 0;
}
body.form .page-title-wrapper h1{
	font-size: 3rem;
	margin: 0;
}
body.form .page-title-wrapper h1 .sanukibase{
	font-size: 2.1rem;
}

@media screen and (max-width: 767px) {
	body.form .page-title-wrapper .container{
		height: 230px;
		width: inherit;
    	padding: 0 10px;
	}
	body.form .page-title-wrapper .container.line_2{
		height: 240px;
	}
	body.form .page-title-wrapper .container.line_3{
		height: 250px;
	}
	body.form .page-title-wrapper h1{
		font-size: 2.6rem;
		padding: 2.7em 10px 0;
	}
	body.form .page-title-wrapper .container.line_2 h1{
		font-size: 2.5rem;
	}
	body.form .page-title-wrapper .container.line_3 h1{
		font-size: 2.4rem;
	}
	body.form .page-title-wrapper .container h1 .sanukibase{
		font-size: 1.8rem;
	}
}

/*----------------------------------------------------------
    form
----------------------------------------------------------*/

#form{
    width: 870px;
	margin: 0 auto;
}

#form .top_lead{
	width: 780px;
	margin: 10px auto 5px;
	font-size: 15px;
	line-height: 1.7;
	letter-spacing: 0.01em;
}
#form .top_lead.last_item{
	margin: 0 auto 60px;
}
#form .top_lead.bottom{
	text-align: center;
	margin: 30px 0 0;
}

#form .top_lead .star{
    display: inline-block;
    vertical-align: top;
    width: 1.4em;
}

#form .top_lead .star + span{
    display: inline-block;
    width: calc(100% - 1.4em);
}

#form .title{
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.05em;
    color: #1a1a1a;
    border-bottom: 3px solid #e6e6e6;
    padding-bottom: 10px;
    margin-bottom: 40px;
    position: relative;
}

#form .title::after{
	content: "";
    position: absolute;
    width: 20px;
    height: 3px;
    background-color: #b81d23;
    bottom: -3px;
    left: 0;
}

#form .lead_text{
	font-size: 16px;
	line-height: 2;
	letter-spacing: 0.05em;
	margin-bottom: 60px;
}

#form .formrun{
	width: 780px;
	margin: 0 auto;
}

#form .formrun .flexbox{
	display: flex;
	align-items: baseline;
	margin-bottom: 40px;
}

#form .formrun .flexbox.last{
	margin-bottom: 80px;
}

#form .formrun label.item{
	display: block;
	width: 40%;
	font-size: 16px;
	position: relative;
}
#form .formrun.wide label.item{
	width: 55%;
}

#form .formrun label.item .require,
#form .formrun label.item .non_require{
	display: inline-block;
    padding: 3px 4.5px 5px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    text-align: center;
    border-radius: 3px;
    background-color: #b81d23;
    margin-right: 12px;
	position: relative;
    top: -1px;
}

#form .formrun label.item .non_require{
    background-color: #647984;
}

#form .formrun .inner{
	display: flex;
	width: 100%;
}
#form .formrun .inner.wrap{
	flex-wrap: wrap;
}

#form .formrun .inner input,
#form .formrun .inner select,
#form .formrun .inner .radio,
#form .formrun .inner .checkbox,
#form .formrun .inner textarea{
	display: block;
    width: 100%;
	height: 46px;
    padding: 8px 12px 10px;
	font-family: 'Noto Sans JP', "游ゴシック", YuGothic, sans-serif;
    font-size: 16px;
    line-height: 1.25;
    color: #1a1a1a;
    border: 2px solid rgba(0,0,0,0.15);
    border-radius: 3px;
}

#form .formrun .inner.wrap .radio + .radio{
	margin: 0.8em 0 0;
}

#form .formrun .inner input::placeholder,
#form .formrun .inner textarea::placeholder{
	color: #aaa;
	font-size: 15px;
	line-height: 1.8;
}

#form .formrun .inner.col2 input{width: 47.5%; margin-right: 5%;}
#form .formrun .inner.col2 input:last-of-type{margin-right: 0;}
#form .formrun .inner.col2 .radio{width: 47.5%; margin-right: 5%;}
#form .formrun .inner.col2 .radio:last-of-type{margin-right: 0;}

#form .formrun .inner.col4{flex-wrap: wrap;}
#form .formrun .inner.col4 .checkbox{width: 47.5%; margin-right: 5%; margin-top: 0;}
#form .formrun .inner.col4 .checkbox:nth-of-type(1){margin-bottom: 15px;}
#form .formrun .inner.col4 .checkbox:nth-of-type(2n){margin-right: 0;}
#form .formrun .inner.col4 .checkbox label{display: flex; align-items: center;}
#form .formrun .inner.col4 .checkbox label input[type="checkbox"]{top: 2px;}

#form .formrun .inner.col5{flex-wrap: wrap;}
#form .formrun .inner.col5 .checkbox{width: 47.5%; margin-right: 5%; margin-top: 0;}
#form .formrun .inner.col5 .checkbox:nth-of-type(1),
#form .formrun .inner.col5 .checkbox:nth-of-type(3){margin-bottom: 15px;}
#form .formrun .inner.col5 .checkbox:nth-of-type(2n){margin-right: 0;}

#form .formrun .inner.col_list{flex-wrap: wrap;}
#form .formrun .inner.col_list .radio{margin-top: 0;}
#form .formrun .inner.col_list .radio + .radio{margin-top: 15px;}

#form .formrun .inner.birthday .icon_select{width: 30%; margin-right: 5%;}
#form .formrun .inner.birthday .icon_select:last-of-type{margin-right: 0;}

#form .formrun .inner.icon_select,
#form .formrun .inner .icon_select{
	position: relative;
}

#form .formrun .inner.icon_select::after,
#form .formrun .inner .icon_select::after {
	content: "";
	background: url("../../consultant/img/icon_select.svg")no-repeat center;
	display: block;
	height: 16px;
	width: 16px;
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translatey(-50%);
	pointer-events: none;
}

#form .formrun .inner .icon_select.single_select{
	width: 400px;
}

#form .formrun .inner input,
#form .formrun .inner textarea,
#form .formrun .inner select{
	-webkit-tap-highlight-color : rgba(0,0,0,0);
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	outline: none;
	background-color: #fff;
}

#form .formrun .inner .radio label,
#form .formrun .inner .checkbox label{
	display: block;
	cursor: pointer;
}

#form .formrun .inner .radio label input[type="radio"]{
	display: inline-block;
    margin: 0 10px 0 0;
	padding: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #90A4AE;
	border-radius: 50%;
	position: relative;
    top: 4px;
	pointer-events: none;
}

#form .formrun .inner .radio label input[type='radio']:checked{
	border: 2px solid #d93d2e;
}

#form .formrun .inner .radio label input[type='radio']:checked:before{
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border: 3px solid #fff;
    background-color: #d93d2e;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    box-sizing: border-box;
}

#form .formrun .inner .checkbox label input[type="checkbox"]{
	display: inline-block;
    margin: 0 10px 0 0;
	padding: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #90A4AE;
	position: relative;
    top: 4px;
	pointer-events: none;
}

#form .formrun .inner .checkbox label input[type='checkbox']:checked{
	border: 1px solid #d93d2e;
	background-color: #d93d2e;
}

#form .formrun .inner .checkbox label input[type='checkbox']:before{
	content: '';
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    display: block;
    height: 9px;
    left: 5px;
    margin-top: -8px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
    width: 5px;
}

#form .formrun .inner .checkbox label input[type='checkbox']:checked:before{
	opacity: 1;
}

#form .formrun .inner textarea{
	min-height: 8em;
	resize: vertical;
	font-size: 16px;
	line-height: 1.8;
}

#form .formrun .inner textarea.min{
	min-height: 6em;
}

#form .formrun .inner input.has-danger,
#form .formrun .inner select.has-danger,
#form .formrun .inner .radio label input[type="radio"].has-danger,
#form .formrun .inner .checkbox label input[type="checkbox"].has-danger,
#form .formrun .inner textarea.has-danger{
    border: 2px solid #f00;
	background-color: #fcc;
}

#form .formrun .btn_text{
	text-align: center;
	font-size: 15px;
	margin: 70px 0 25px;
}

#form .formrun .btn_text a{
	color: #1262b2;
}

#form .formrun button.btn_form{
	display: flex;
	justify-content: center;
    position: relative;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    background-color: #b81d23;
	border: none;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgb(0 0 0 / 25%);
    width: 450px;
    height: 65px;
	line-height: 58px;
	font-family: 'Noto Sans JP', "游ゴシック", YuGothic, sans-serif;
    font-size: 18px;
    letter-spacing: 0.15em;
	cursor: pointer;
}

#form .formrun button.btn_form:hover{
	opacity: 0.6;
}

#form .formrun button.btn_form::after{
	content: "";
    position: absolute;
    width: 0.5em;
    height: 0.5em;
    border-radius: 2px;
    top: 50%;
    right: 10%;
    transform: translateY(-50%) rotate(-45deg);
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

#form .formrun .flexbox.privacy{
	flex-direction: column;
    margin: 50px 0 60px;
    padding: 50px 0 0;
    border-top: 1px solid #bbb;
}

#form .formrun .flexbox.privacy .ex{
	margin: 30px 0 20px;
	font-size: 15px;
    line-height: 1.7;
    letter-spacing: 0.03em;
}

#form .formrun .flexbox.privacy .ex.list{
	margin: 3px 0 25px;
    line-height: 2.2;
}

#form .formrun .flexbox.privacy .ex.list .star{
    display: inline-block;
    vertical-align: top;
    width: 1.4em;
}

#form .formrun .flexbox.privacy .ex.list .star + span{
    display: inline-block;
    width: calc(100% - 1.4em);
}

#form .formrun .flexbox.privacy .inner{
	width: 50%;
	margin: 0 auto;
}

#form .formrun .flexbox.privacy .inner .checkbox{
	text-align: center;
	border: none;
	margin: 0;
}

#form .formrun .flexbox.privacy .inner .checkbox label{
	font-size: 17px;
}

#form .formrun .flexbox.privacy label.item{
	width: 100%;
}

#form .formrun .flexbox.privacy.top{
    margin: 10px 0 60px;
    padding: 0 0 50px;
    border-top: none;
	border-bottom: 1px solid #bbb;
}

#form .formrun .flexbox.privacy.top .outline_box{
	display: flex;
	align-items: baseline;
}

#form .formrun .flexbox.privacy.top .outline_box + .outline_box{
	margin: 10px 0 50px;
}

#form .formrun .flexbox.privacy.top .outline_box .item{
	width: 300px;
	font-size: 15px;
}

#form .formrun .flexbox.privacy.top .outline_box .inner{
	margin: 0;
}

#form .formrun .flexbox.privacy.top .outline_box .inner .radio{
	width: 120px;
    height: initial;
    margin: 0;
    padding: 0;
    border: none;
	font-size: 15px;
}

#form .formrun .flexbox.underline{
	flex-direction: column;
    margin: 0 0 40px;
    padding: 0 0 50px;
    border-bottom: 1px solid #bbb;
}

#form .formrun .flexbox.underline label.item{
	margin-bottom: 1em;
}

#form .formrun .introduce_lead{
	font-size: 1.65rem;
	font-weight: 500;
    margin: 0 0 40px;
	text-align: center;
}

#form .formrun .g-recaptcha{
	display: flex;
    justify-content: center;
	margin: 70px 0 30px;
}

@media screen and (max-width:1023px) {
	
	#form{
		width: 90vw;
	}
	
	#form .top_lead{
		width: 100%;
		margin: 0 auto 3vw;
		font-size: 3.6vw;
	}
	#form .top_lead.last_item{
		margin: 0 auto 12vw;
	}
	#form .top_lead.bottom{
		margin: -5vw 0 12vw;
	}

	#form .title{
		font-size: 5vw;
		padding-bottom: 2vw;
		margin-bottom: 10vw;
	}

	#form .title::after{
		width: 4vw;
	}

	#form .lead_text{
		font-size: 3.7vw;
		margin-bottom: 12vw;
	}

	#form .formrun{
		width: 90vw;
	}

	#form .formrun .flexbox{
		flex-direction: column;
		margin-bottom: 10vw;
	}
	
	#form .formrun .flexbox.last{
		margin-bottom: 18vw;
	}

	#form .formrun label.item{
		width: 100%;
		font-size: 3.8vw;
		margin-bottom: 0.8em;
	}
	#form .formrun.wide label.item{
		width: 100%;
	}

	#form .formrun label.item .require,
	#form .formrun label.item .non_require{
		display: inline-block;
		padding: 0.25em 0.4em 0.4em;
		font-size: 3.2vw;
		border-radius: 0.2em;
		margin-right: 2vw;
		top: -0.1em;
	}

	#form .formrun .inner input,
	#form .formrun .inner select,
	#form .formrun .inner textarea{
		height: 12.5vw;
		padding: 2vw 3vw 2.5vw;
	}
	
	#form .formrun .inner .radio,
	#form .formrun .inner .checkbox{
		height: 12.5vw;
		padding: 2.6vw 3vw 2.5vw;
	}
	
	#form .formrun .inner.birthday .icon_select{width: 28%; margin-right: 5%;}
	#form .formrun .inner.birthday .icon_select:first-of-type{width: 34%; margin-right: 5%;}
	#form .formrun .inner.col4 .checkbox:nth-of-type(1){margin-bottom: 2.5vw;}
	#form .formrun .inner.col4 .checkbox label input[type="checkbox"]{top: 0.3vw;}
	#form .formrun .inner.col5 .checkbox:nth-of-type(1),
	#form .formrun .inner.col5 .checkbox:nth-of-type(3){margin-bottom: 2.5vw;}
	#form .formrun .inner.col_list .radio + .radio{margin-top: 2.5vw;}

	#form .formrun .inner.icon_select::after,
	#form .formrun .inner .icon_select::after {
		height: 4vw;
		width: 4vw;
		right: 4vw;
	}
	
	#form .formrun .inner .icon_select.single_select{
		width: 100%;
	}
	
	#form .formrun .inner .radio label input[type="radio"]{
		margin: 0 3vw 0 0;
		width: 4vw;
		height: 4vw;
		top: 0.5vw;
	}
	
	#form .formrun .inner .radio label input[type='radio']:checked:before{
		border: 0.6vw solid #fff;
	}
	
	#form .formrun .inner .checkbox label input[type="checkbox"]{
		margin: 0 3vw 0 0;
		width: 5vw;
		height: 5vw;
		top: 1vw;
	}

	#form .formrun .inner .checkbox label input[type='checkbox']:before{
		width: 1vw;
		height: 2.2vw;
		left: 1.4vw;
		margin-top: -1.9vw;
	}

	#form .formrun .inner textarea{
		min-height: 10em;
	}
	
	#form .formrun .inner textarea.min{
		min-height: 7em;
	}

	#form .formrun .btn_text{
		font-size: 3.6vw;
		margin: 18vw 0 7vw;
	}

	#form .formrun button.btn_form{
		margin: 0 auto 12vw;
		width: 90vw;
		height: 17vw;
		line-height: 16vw;
		font-size: 4vw;
	}
	
	#form .formrun .flexbox.privacy{
		margin: 12vw 0;
		padding: 12vw 0 0;
	}

	#form .formrun .flexbox.privacy .ex{
		margin: 6vw 0;
		font-size: 3.6vw;
	}
	
	#form .formrun .flexbox.privacy .ex.list{
		margin: 2vw 0 10vw;
		line-height: 2;
	}

	#form .formrun .flexbox.privacy .inner .checkbox label{
		font-size: 4.5vw;
	}
	
	#form .formrun .flexbox.privacy.top{
		margin: 0 0 15vw;
		padding: 0 0 12vw;
	}
	
	#form .formrun .flexbox.privacy.top .inner{
		width: 100%;
	}
	
	#form .formrun .flexbox.privacy.top .inner .checkbox label{
		font-size: 3.8vw;
	}
	
	#form .formrun .flexbox.privacy.top .outline_box{
		flex-direction: column;
		width: 100%;
	}

	#form .formrun .flexbox.privacy.top .outline_box + .outline_box{
		margin: 8vw 0 10vw;
	}
	
	#form .formrun .flexbox.privacy.top .outline_box .inner {
		width: 100%;
		justify-content: center;
	}

	#form .formrun .flexbox.privacy.top .outline_box .item{
		width: 100%;
		font-size: 3.8vw;
		text-align: center;
		margin-bottom: 1em;
	}

	#form .formrun .flexbox.privacy.top .outline_box .inner .radio{
		width: 35vw;
		font-size: 3.6vw;
		text-align: center;
	}
	
	#form .formrun .flexbox.privacy.top .outline_box .inner .radio:first-of-type{
		padding-right: 3vw;
	}
	
	#form .formrun .flexbox.underline{
		margin: 0 0 10vw;
		padding: 0 0 12vw;
	}

	#form .formrun .flexbox.underline label.item{
		margin-bottom: 0.8em;
	}
	
	#form .formrun .introduce_lead{
		margin: 0 0 10vw;
	}
	
	#form .formrun .g-recaptcha{
		margin: 15vw 0 8vw;
	}
}

/*----------------------------------------------------------
    thanks
----------------------------------------------------------*/

#thanks{
    width: 780px;
	margin: 0 auto;
	padding: 0;
}

#thanks .title{
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.05em;
    color: #1a1a1a;
    border-bottom: 3px solid #e6e6e6;
    padding-bottom: 10px;
    margin-bottom: 60px;
    position: relative;
}

#thanks .title::after{
	content: "";
    position: absolute;
    width: 20px;
    height: 3px;
    background-color: #b81d23;
    bottom: -3px;
    left: 0;
}

#thanks .lead{
	font-size: 16px;
	line-height: 2;
	letter-spacing: 0.05em;
	margin: 10px 0 40px;
}

#thanks .small{
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: #333;
	margin-bottom: 70px;
}

#thanks .small p + p{
	margin-top: 0.3em;
}

#thanks .small p .star{
    display: inline-block;
    vertical-align: top;
    width: 1.4em;
}

#thanks .small p .star + span{
    display: inline-block;
    width: calc(100% - 1.4em);
}

#thanks .cta .btn{
	display: block;
	position: relative;
    margin: 0 auto;
	text-align: center;
    color: #fff;
    background-color: #b81d23;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
	width: 450px;
	height: 65px;
	line-height: 60px;
	font-size: 18px;
	letter-spacing: 0.15em;
}

#thanks .cta .btn:after{
	content: "";
	position: absolute;
    width: 0.5em;
    height: 0.5em;
	border-radius: 2px;
    top: 50%;
    right: 10%;
    transform: translateY(-50%) rotate(-45deg);
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

@media screen and (max-width:1023px) {
	
	#thanks{
		width: 90vw;
		padding: 0 0 12vw;
	}

	#thanks .title{
		font-size: 5vw;
		padding-bottom: 2vw;
		margin-bottom: 12vw;
	}

	#thanks .title::after{
		width: 4vw;
	}

	#thanks .lead{
		font-size: 3.7vw;
		margin: 0 0 10vw;
	}
	
    #thanks .small{
    	font-size: 3.2vw;
		margin-bottom: 15vw;
    }
	
	#thanks .small p + p{
		margin-top: 1em;
	}
	
	#thanks .cta .btn{
		width: 90vw;
		height: 17vw;
		line-height: 16.7vw;
		font-size: 4vw;
	}
}