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

	FORM

--------------------------------------------------*/
#form {padding-top: calc(100px + 60 * ((100vw - 375px) / 1605));}
#form table {
	border-collapse: inherit;
    border-spacing: 0 40px;
	max-width: calc(984px + 2 * ((100vw - 375px) / 1605));
	margin: 0 auto calc(30px + 20 * ((100vw - 375px) / 1605));
}
#form table tr th {
	position: relative;
	width: 360px;
	padding-right: calc(30px + 20 * ((100vw - 375px) / 1605));
	font-weight: 700;
	vertical-align: middle;
}
#form table tr:last-child th {vertical-align: top;}
#form table tr th span {position: absolute; right: calc(24px + 20 * ((100vw - 375px) / 1605));line-height: 1.7;}
#form table tr:last-child th span {top: 0;}
#form table tr th span.req {color: #E42020;}
#form input[type="text"],
#form input[type="tel"],
#form input[type="email"],
.stbox select,
#form textarea {
	width: 100%;
	height: calc(32px + 20 * ((100vw - 375px) / 1605));
	padding: 0 20px;
	border: 1px solid #323232;
	background: #fff;
	color: #323232;
	cursor: pointer;
	resize: vertical;
}
#form textarea {height: auto;padding: 20px;}
::placeholder {color: #C1C1C1;}
.stbox {position: relative;max-width: 200px;}
.stbox::before {
	content: '歳';
	position: absolute;
	top: calc(11px + 11 * ((100vw - 375px) / 1605));
	right: calc(-30px + 15 * ((100vw - 375px) / 1605));
}
.stbox::after {
    content: '';
    position: absolute;
    top: calc(18px + 10 * ((100vw - 375px) / 1605));
    right: 15px;
    width: 0;
    height: 0;
    border-top: 10px solid #323232;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    pointer-events: none;
}
#form .link_container {text-align: center;}
#form .link_container p {
	margin-bottom: calc(30px + 20 * ((100vw - 375px) / 1605));
	text-align: center;
}
#form .link_container p a {margin-right: calc(15px + 15 * ((100vw - 375px) / 1605));text-decoration: underline;}
.check {display: none;}
.mwform-checkbox-field-text {
	display: table;
	position: relative;
	margin: 0 auto calc(60px + 30 * ((100vw - 375px) / 1605));
	padding-left: 40px;
	font-weight: 500;
	font-size: calc(14px + 2 * ((100vw - 375px) / 1605));
	line-height: 1.4;
    cursor: pointer;
	user-select: none;
}
.mwform-checkbox-field-text::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
    width: 25px;
    height: 25px;
    border: 2px solid #111;
	border-radius: 3px;
	background: #fff;
	box-sizing: border-box;
}
.mwform-checkbox-field-text a {text-decoration: underline;}
.check:checked + .mwform-checkbox-field-text::before {background: #fff;}
.check:checked + .mwform-checkbox-field-text::after {
	content: '';
    border-radius: 0;
	display: block;
	position: absolute;
	top: 53%;
	left: 7px;
	transform: translate(0, -50%) rotate(-45deg);
	width: 11px;
	height: 7px;
	border-left: .2em solid #111;
	border-bottom: .2em solid #111;
}
.mw_wp_form .horizontal-item + .horizontal-item {margin-left: 0!important;}
.btnbox {
	position: relative;
	max-width: 293px;
	margin: 0 auto;
	background: linear-gradient(-45deg, #646E8C, #081A40);
}
.btnbox:hover {background-position: 99% 50%;color: #fff;}
.btnbox .submit {
	display: block;
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 15px 0;
	border: none;
	background: transparent;
	color: #fff;
	font-size: calc(16px + 4 * ((100vw - 375px) / 1605));
	letter-spacing: .1em;
	text-align: center;
	transition: .3s;
}
.btnbox::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	transform-origin: left top;
	transform: scale(0, 1);
	background: #363636;
	transition: transform .3s;
}
.btnbox:hover::before {transform-origin: left top;transform: scale(1, 1);}
.btnbox::after {
	content: '';
	position: absolute;
	right: 20px;
	bottom: 50%;
	z-index: 2;
	transform: translateY(50%);
	width: 12%;
	height: 100%;
	background: url(../img/arrowR-wht.svg) no-repeat right / 100%;
	transition: .3s;
}
@media only screen and ( max-width : 768px ) {
	#form table {border-collapse: collapse;}
	#form table tr {display: block;margin-bottom: 15px;padding-bottom: 15px;border-bottom: 1px solid #898989;}
	#form table tr:last-child {margin-bottom: 0;padding-bottom: 0;border-bottom: 0;}
	#form table tr th {display: block;width: 100%;margin-bottom: 8px;padding-right: 0;text-align: center;}
	#form table tr th span {display: block;position: initial;}
	#form table tr td {display: block;}
}
/*--------------------------------------------------

　   ERROR

--------------------------------------------------*/
#form.form {display: block;padding-top: calc(100px + 60 * ((100vw - 375px) / 1605));}
#form.form h4 {text-align: center;line-height: 1.7;margin-bottom: 40px;}
#form.form table tr th {margin-bottom: 10px;}
#form.form table tr td {padding: 10px 20px;border: 1px solid #323232;background: #fff;}
#form.confirm .button_box {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	max-width: 400px;
	margin: 0 auto;
}
#form.confirm .btnbox {width: 45%;}
#form.confirm .btnbox::after {display: none;}
#form.confirm .link_container {display: none;}
#form.error .errorbox {margin-bottom: 80px;}
#form.error .error_messe {color: #AF2024;text-align: center;}
#form.complete .content p {margin-bottom: 40px;text-align: center;}