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

	FORM

--------------------------------------------------*/
#form {padding: clamp(40px, calc(40px + 120 * ((100vw - 375px) / 1545)), 160px) 0 clamp(40px, calc(40px + 70 * ((100vw - 375px) / 1545)), 110px);}
#form .inner {max-width: 1000px;}
#form .title_common {margin-bottom: clamp(40px, calc(40px + 30 * ((100vw - 375px) / 1545)), 70px);}
#form .title_common h1 {
	margin-bottom: 25px;
	color: #3175BB;
	font-size: clamp(40px, calc(40px + 20 * ((100vw - 375px) / 1545)), 60px);
	text-align: center;
}
#form .title_common p {font-size: clamp(14px, calc(14px + 4 * ((100vw - 375px) / 1545)), 18px);}
#form p.pr {margin-bottom: clamp(40px, calc(40px + 30 * ((100vw - 375px) / 1545)), 70px);text-align: center;}
#form .container {
	padding: clamp(30px, calc(30px + 100 * ((100vw - 375px) / 1545)), 130px) 20px clamp(30px, calc(30px + 40 * ((100vw - 375px) / 1545)), 70px);
	border: 1px solid #3175BB;
	border-radius: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 16%);
	background: #fff;
}
#form table {max-width: 651px;margin: 0 auto clamp(30px, calc(30px + 20 * ((100vw - 375px) / 1545)), 40px);}
#form table tr {display: block;margin-bottom: clamp(20px, calc(20px + 20 * ((100vw - 375px) / 1545)), 40px);}
#form table tr:last-child {margin-bottom: 0;}
#form table tr th {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 203px;
	margin-bottom: 10px;
	font-weight: 700;
	font-size: clamp(14px, calc(14px + 4 * ((100vw - 375px) / 1545)), 18px);
}
#form table tr th span {
	display: inline-block;
	padding: 5px 10px;
	background: rgba(255, 0, 0, 69%);
	color: #fff;
	font-weight: 400;
	font-size: clamp(13px, calc(13px + 3 * ((100vw - 375px) / 1545)), 16px);
	text-align: center;
}
#form table tr th span.any {background: rgba(49, 117, 187, 69%);}
#form table tr td {display: block;}
#form input[type="text"],
#form input[type="tel"],
#form input[type="email"],
#form .stbox select,
#form textarea {
	width: 100%;
	height: 50px;
	padding: 0 30px;
	border: none;
	border-radius: 5px;
	background: #F2F2F2;
	color: #333;
	font-weight: 400;
	font-size: clamp(14px, calc(14px + 6 * ((100vw - 375px) / 1545)), 18px);
	cursor: pointer;
	resize: vertical;
	vertical-align: bottom;
}
#form textarea {height: auto;padding: 10px 20px;}
::placeholder {color: #aaa;}
#form .stbox {position: relative;width: 100%;max-width: 325px;}
#form .stbox::after {
    content: '';
    position: absolute;
    top: 22px;
    right: 30px;
    width: 18px;
	height: calc(tan(60deg) * 15px / 2);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    background: #333;
}
.checkbox-container {position: relative;margin-top: clamp(30px, calc(30px + 10 * ((100vw - 375px) / 1545)), 40px);}
.checkbox-wrapper {display: flex;justify-content: center;align-items: flex-start;}
.error-message-container {margin-top: 10px;}
.error-message {display: block;color: #E80000;font-size: 14px;}
.wpcf7-acceptance {display: flex;align-items: center;margin: 15px 0 0 5px;gap: 10px;}
.wpcf7-acceptance input[type="checkbox"] {
	position: absolute;
	left: 0;
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
	margin-top: -5px;
    border: 1px solid #707070;
	border-radius: 5px;
	background: #fff;
    cursor: pointer;
}
.wpcf7-acceptance input[type="checkbox"]:checked::after {
    content: '';
    display: block;
    position: absolute;
    left: 6px;
    bottom: 40%;
    width: 10px;
    height: 6px;
    border-bottom: 2px solid;
    border-left: 2px solid;
    border-radius: 0;
    transform: rotate(-45deg);
	border-bottom-color: #3175BB;border-left-color: #3175BB;
}
.wpcf7-acceptance .wpcf7-list-item {margin-left: 30px;}
.wpcf7-acceptance .wpcf7-list-item-label {cursor: pointer;}
.wpcf7-acceptance .wpcf7-list-item-label a {color: #0046A5;text-decoration: underline;}
.wpcf7-acceptance .wpcf7-list-item-label span {margin-left: 10px;color: #E80000;}
#form .submit {
	display: block;
	position: relative;
	z-index: 1;
	width: 80%;
	max-width: 288px;
	margin: 0 auto;
	padding: clamp(15px, calc(15px + 5 * ((100vw - 375px) / 1545)), 20px);
	overflow: hidden;
	border: 1px solid #3175BB;
	border-radius: 2em;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 16%);
	background: #3175BB;
	color: #fff;
	font-weight: 500;
	font-size: clamp(14px, calc(14px + 6 * ((100vw - 375px) / 1545)), 20px);
	text-align: center;
	transition: all .3s ease-out;
}
#form .submit:hover {transform: translateY(3px);box-shadow: 0 0px 3px rgba(0, 0, 0, 16%);color: #3175BB;}
#form .submit::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -5;
	transform-origin: left top;
	transform: scale(0, 1);
	background: #fff;
	transition: transform .3s;
}
#form .submit:hover::before {transform-origin: left top;transform: scale(1, 1);}
@media only screen and ( max-width : 767px ) {
	#form table tr th {justify-content: flex-start;gap: 10px;}
	#form input[type="text"],
	#form input[type="tel"],
	#form input[type="email"] {padding: 0 10px;}
	#form .stbox {max-width: 100%;}
	#form textarea {padding: 10px;}
}