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

	FORM │ エントリー

--------------------------------------------------*/
#form table {max-width: 710px;margin: 0 auto clamp(30px, calc(30px + 20 * ((100vw - 375px) / 1545)), 50px);}
#form table tr th {
	width: 134px;
	padding-top: 10px;
	font-weight: 600;
	vertical-align: top;
}
#form table tr td {display: block;margin-bottom: clamp(30px, calc(30px + 20 * ((100vw - 375px) / 1545)), 50px);}
#form table tr td.age {display: flex;align-items: center;gap: 15px;}
#form table tr:last-child td {margin-bottom: 0;}
#form input[type="text"],
#form input[type="tel"],
#form input[type="email"],
#form select,
#form .result,
#form textarea {
	width: 100%;
	height: 42px;
	padding: 0 20px;
	border: 1px solid #000;
	background: #fff;
	font-size: clamp(14px, calc(1rem + 0.5vw), 16px);
	cursor: pointer;
	resize: vertical;
}
#form .result span{line-height: 50px;}
#form textarea {height: auto;padding: 10px 20px;}
::placeholder {color: #959595;}
#form .stbox {position: relative;width: 100%;max-width: 174px;}
#form .stbox::after {
    content: '';
    position: absolute;
    top: 17px;
    right: 13px;
    width: 0;
    height: 0;
    border-top: 10px solid #000;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
	border-radius: 2px;
    pointer-events: none;
}
#form .check_wrap {margin-bottom: clamp(30px, calc(30px + 20 * ((100vw - 375px) / 1545)), 50px);text-align: center;}
.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: 20px;
    height: 20px;
	margin-top: -3px;
    border: 1px solid #000;
	background: #fff;
    cursor: pointer;
}
.wpcf7-acceptance input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
	left: 5px;
	bottom: 40%;
	width: 11px;
	height: 6px;
	border-left: 2px solid #000;
	border-bottom: 2px solid #000;
	transform: rotate(-45deg);
}
.wpcf7-acceptance .wpcf7-list-item {margin-left: 30px;}
.wpcf7-acceptance .wpcf7-list-item-label {cursor: pointer;}
.wpcf7-acceptance .wpcf7-list-item-label a {text-decoration: underline;}
.wpcf7-acceptance.wpcf7-not-valid {border-color: #000;}
.wpcf7-acceptance + .wpcf7-not-valid-tip {margin-top: 5px;color: #000;}
.wpcf7-acceptance input[type="checkbox"]:hover {border-color: #000;}
#form .submit {
	display: block;
	position: relative;
	z-index: 1;
	margin: 0 auto;
	padding: 15px 3em;
	overflow: hidden;
	border: 1px solid #000;
	background: #fff;
	font-size: clamp(16px, calc(16px + 2 * ((100vw - 375px) / 1545)), 18px);
	line-height: 1;
	text-align: center;
	transition: all .3s ease-out;
	user-select: none;
}
#form .submit:hover {background: #000;color: #fff;}
@media only screen and ( max-width : 767px ) {
	#form .container {padding: 30px 20px;}
	#form table tr th {display: block;width: 100%;margin-bottom: 10px;padding: 0;}
	#form table tr td {display: block;}
	#form input[type="text"],
	#form input[type="tel"],
	#form input[type="email"],
	#form .stbox select {height: 40px;}
	#form .stbox::after {top: 16px;}
}
/*--------------------------------------------------

　   ERROR

--------------------------------------------------*/
#form.form {display: block;}
#form.form .inner {text-align: center;}
#form.form .wrap {text-align: center;}
#form.form h4 {text-align: center;line-height: 1.7;margin-bottom: 40px;}
#form.form .button_box {text-align: center;}
#form.form table tr td {
	padding: 20px;
	border: none;
	border-radius: 5px;
	background: #F5F5F5;
	font-size: calc(14px + 2 * ((100vw - 375px) / 1545));
}
#form.error .errorbox {margin-bottom: 80px;}
#form.error .error_messe {color: #FF0000;text-align: center;}
#form.complete .wrap p {margin-bottom: 40px;text-align: center;}
@media only screen and ( max-width : 1024px ) {
	#form.form {padding-top: 150px;}
}