@charset gUTF-8h;

.kv-contact{
	background-image: url(../img/contact/kv-contact_sp.jpg);
}

.p-contact__inner{
	width: 90%;
	margin: 0 auto;
}

.p-contact__text{
	text-align: center;
	margin: 0 0 35px;
}
.p-contact__text > p{
	font-size: .8125rem;
	line-height: 1.6;
	margin-bottom: 1rem;
}

.p-contact-form-wrap{
	width: 100%;
}

.p-contact-form__hidden{
	display: none;
}

.p-contact-form__group{
	padding: 10px 0;
}

.p-contact-form__group__label{
	padding: 0 0 12px;
	font-size: 0.9375rem;
	font-weight: 400;
}
.p-contact-form__group__label span{
	color: #e32323;
}

.p-contact-form__group__field{
	width: 100%;
}

.p-contact-form__group__field input[type="text"],
.p-contact-form__group__field input[type="tel"],
.p-contact-form__group__field input[type="email"]{
	width: 100%;
	height: 50px;
	padding: 0 15px;
	background: #f6f6f6;
	border-radius: 2px;
}

.c-sex-field{
	display: flex;
	flex-flow: low nowrap;
	
}

.c-radio-btn{
	display: none;
}

.c-radio-btn + label{
	position: relative;
	display: flex;
	align-items: center;
	margin-right: 8px;
}
.c-radio-btn + label::before{
	content: '';
	display: block;
	cursor: pointer;
	width: 18px;
	height: 18px;
	border: solid 1px #b7b7b7;
	border-radius: 50%;
	margin: 0 4px 0 0;
}

.c-radio-btn + label::after{
	content: "";
	display: block;
	position: absolute;
	top: 5px;
	left: 5px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #4e4e4e;
	opacity: 0;
}

.c-radio-btn:checked + label::after{
	opacity: 1;

}
.p-contact-form__group__field textarea{
	width: 100%;
	height: 250px;
	padding: 13px;
	background: #f6f6f6;
	line-height: 1.3;
}

.p-contact-form__privacy-desc{
	text-align: center;
	margin: 20px 0;
}

.p-contact-form__privacy{
	overflow: scroll;
	height: 300px;
	margin: 20px 0 40px;
	padding: 15px;
  border: solid 1px #bababa;
	color: #313131;
}

.p-contact-form__privacy h4{
	margin: 0 0 12px;
	text-align: center;
	font-weight: 700;
	font-size: .875rem;
}

.p-contact-form__privacy dl{
	font-size: .75rem;
	line-height: 1.8;
}
.p-contact-form__privacy dt{
	margin: 0 0 6px;
	font-weight: 400;
}
.p-contact-form__privacy dd{
	margin: 0 0 15px 24px;
}

.p-contact-form__agree{
/*	position: relative;*/
	text-align :center;
	margin: 40px 0;
}
.p-contact-form__agree input[type="checkbox"]{
	display: none;
}
.p-contact-form__agree input[type="checkbox"] + span{
	position: relative;
	display: inline-block;
	padding: 0 0 0 35px;
	font-size: .875rem;
}
.p-contact-form__agree input[type="checkbox"] + span::before{
	content: "";
	display: block;
	position: absolute;
	top: -3px;
	left: 0;
	width: 24px;
	height: 24px;
	border: solid 1px #b7b7b7;
	border-radius: 2px;
}

.p-contact-form__agree input[type="checkbox"] + span::after{
	content: "";
	display: block;
	position: absolute;
	top: 3px;
	left: 5px;
	width: 14px;
	height: 7px;
	border-left: solid 2px #303030;
	border-bottom: solid 2px #303030;
	transform: rotate(-45deg);
	opacity: 0;
	transition: all .1s;
}
.p-contact-form__agree input[type="checkbox"]:checked + span::after{
	opacity: 1;
}

.p-contact-form__submit{
	width: 220px;
	margin: 35px auto;
}
.p-contact-form__submit input{
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 220px;
  height: 50px;
	border: solid 1px #000;
	font-size: 0.9375rem;
  text-align: center;
	color: #000000;
	transition: all .3s ease-in-out;
}
/*
.p-contact-form__submit input:hover{
	border: solid 1px #1b2b56;
	background: #1b2b56;
	color: #ffffff;
}
*/

.error_blank,
.error_format,
.error_match {
	display: block;
	color: #ff0000;
	margin-top: 5px;
	font-size: 0.875rem;
}

.error_check{
	display: none;
	color: #ff0000;
	margin-top: 5px;
	font-size: 0.875rem;
}

.p-contact__thanks p{
	margin-bottom: .8em;
	font-size: .9375rem;
	line-height: 1.95;
}
.p-contact__thanks .p-contact__thanks-ttl{
	margin-bottom: 1em;
	font-size: 1.125rem;
}

@media screen and (min-width:768px){

	.kv-contact{
		background-image: url(../img/contact/kv-contact_pc.jpg);
	}

	.p-contact__inner{
		width: 80%;
		max-width: 1140px;
		min-width: 700px;
		margin: 0 auto;
	}
	.p-contact__text > p{
		font-size: .875rem;
	}

	.p-contact-form-wrap{
		max-width: 960px;
		margin: 0 auto;
	}
	.p-contact-form__group{
		display: flex;
		flex-flow: row nowrap;
		padding: 20px 0;
	}
	.p-contact-form__group__label{
		width: 174px;
		padding: 23px 0 0;
		font-size: 0.9375rem;
	}
	.c-type-btn{
		padding: 11px 0 12px;
	}
	.p-contact-form__group__field{
		width: calc(100% - 184px);
	}
	.p-contact-form__group__field input[type="text"],
	.p-contact-form__group__field input[type="tel"],
	.p-contact-form__group__field input[type="email"]{
		height: 60px;
		border-radius: 3px;
	}

	.p-contact-form__group__field textarea{
		height: 200px;
		padding: 15px;
		resize: vertical;
	}

	.p-contact-form__privacy{
		padding: 25px;
	}
	.p-contact-form__privacy h4{
		margin: 0 0 20px;
		font-size: 1rem;
	}
	.p-contact-form__privacy dl{
		font-size: .85rem;
	}
	.p-contact-form__privacy dt{
		margin: 0 0 10px;
	}

.p-contact__thanks p{
	text-align: center;
}

}