@charset "utf-8";
/*--------------------------------------------------

	contact

--------------------------------------------------*/
#contact .title_common {text-align: center;}
#contact .title_common p {
	display: inline-block;
	position: relative;
	margin-bottom: clamp(30px, calc(30px + 10 * ((100vw - 375px) / 1545)), 40px);
	padding: 0 20px;
	font-weight: 500;
	font-size: clamp(16px, calc(16px + 8 * ((100vw - 375px) / 1545)), 24px);
	text-align: center;
}
#contact .title_common p::before,
#contact .title_common p::after {
	content: '';
	position: absolute;
	top: 50%;
	width: 2px;
	height: 30px;
	background: #101843;
}
#contact .title_common p::before {left: 0;transform: translateY(-50%) rotate(-45deg);}
#contact .title_common p::after {right: 0;transform: translateY(-50%) rotate(45deg);}
#contact .title_common p span {color: #FC7900;}
#contact .container {
	padding: clamp(20px, calc(20px + 40 * ((100vw - 375px) / 1545)), 60px);
	padding-bottom: clamp(40px, calc(40px + 10 * ((100vw - 375px) / 1545)), 50px);
	border-radius: 10px;
	background: #F8F8F8;
}
#contact table {margin-bottom: clamp(40px, calc(40px + 30 * ((100vw - 375px) / 1545)), 70px);}
#contact table tr th {display: block;margin-bottom: 15px;font-weight: 700;}
#contact table tr th span {
	margin-left: 8px;
	padding: 2px 15px;
	border-radius: 20px;
	background: #FC7902;
	color: #fff;
	font-size: clamp(12px, calc(12px + 2 * ((100vw - 375px) / 1545)), 14px);
}
#contact table tr td {display: block;margin-bottom: clamp(20px, calc(20px + 20 * ((100vw - 375px) / 1545)), 40px);}
#contact table tr:last-child td {margin-bottom: 0;}
#contact input[type="text"],
#contact input[type="tel"],
#contact input[type="email"],
.stbox select,
#contact textarea {
	width: 100%;
	height: 67px;
	padding: 0 20px;
	border: 1px solid #707070;
	border-radius: 5px;
	background: #fff;
	color: #333;
	font-size: clamp(14px, calc(14px + 4 * ((100vw - 375px) / 1545)), 18px);
	cursor: pointer;
	resize: vertical;
}
#contact textarea {height: auto;padding: 20px;}
::placeholder {color: #AFAFAF;}
#contact .submit {
	display: block;
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 290px;
	margin: 0 auto;
	padding: clamp(15px, calc(15px + 5 * ((100vw - 375px) / 1545)), 20px);
	overflow: hidden;
	border: 1px solid #FC7902;
	border-radius: 3em;
	box-shadow: 0 6px 8px rgba(0, 0, 0, 16%);
	background: #FC7902;
	color: #fff;
	font-weight: 500;
	font-size: clamp(18px, calc(18px + 14 * ((100vw - 375px) / 1545)), 32px);
	text-align: center;
	transition: all .3s ease-out;
}
.radio {margin-right: clamp(10px, calc(10px + 50 * ((100vw - 375px) / 1545)), 60px);}
input[type="radio"] {appearance: none;display: none;opacity: 0;position: absolute;width: 1px;height: 1px;}
input[type="radio"] + span {display: inline-block;position: relative;padding: 20px 0 20px 36px;vertical-align: middle;cursor: pointer;}
input[type="radio"] + span::before,
input[type="radio"] + span::after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto 10px auto 0;
	border-radius: 50%;
	box-sizing: border-box;
}
input[type="radio"] + span::before {left: 9px;width: 20px;height: 20px;border: 1px solid #707070;background: #fff;}
input[type="radio"] + span::after {opacity: 0;left: 14px;width: 10px;height: 10px;background: #707070;}
input[type="radio"]:checked + span::before {border: 2px solid #FB7801;}
input[type="radio"]:checked + span::after {opacity: 1;background: #FB7801;}


#contact .submit:hover {transform: translateY(5px);box-shadow: 0 3px 4px rgba(0, 0, 0, 16%);}
@media only screen and ( max-width : 767px ) {
	#contact input[type="text"],
	#contact input[type="tel"],
	#contact input[type="email"] {height: 40px;}
}
/*--------------------------------------------------

　   ERROR

--------------------------------------------------*/
#contact.form {display: block;}
#contact.confirm .title_common,
#contact.error .title_common {margin-bottom: 40px;}
#contact.form h4 {text-align: center;line-height: 1.7;margin-bottom: 40px;}
#contact.form td {padding: 20px;border-radius: .7em;background: #fff;}
#contact.form .button_box {display: flex;justify-content: center;gap: 20px;}
#contact.form .button_box .submit {max-width: 400px;margin: 0;}
#contact.error .errorbox {margin-bottom: 80px;}
#contact.error .error_messe {color: #C41000;text-align: center;}
#contact.complete .wrap {text-align: center;}
#contact.complete .wrap p {margin-bottom: 40px;text-align: center;}
#contact.complete .wrap a {display: inline-block;width: auto;max-width: 100%;padding: 20px 30px;}
@media only screen and ( max-width : 1024px ) {
	#contact.form {margin-top: 70px;}
}