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

	ENTRY

--------------------------------------------------*/
#entry .inner {max-width: 960px;}
#entry h3 {
	margin-bottom: 100px;
	font-size: clamp(16px, calc(16px + 2 * ((100vw - 375px) / 1545)), 18px);
	text-align: center;
}
#entry table {margin-bottom: clamp(30px, calc(30px + 20 * ((100vw - 375px) / 1545)), 50px);}
#entry table tr th {
	display: block;
	margin-bottom: 10px;
	font-weight: bold;
	font-size: clamp(16px, calc(16px + 2 * ((100vw - 375px) / 1545)), 18px);
}
#entry table tr th .req {margin-left: 10px;color: #FF5858;}
#entry table tr td {display: block;margin-bottom: 40px;}
#entry table tr:last-child td {margin-bottom: 0;}
#entry input[type="text"],
#entry input[type="tel"],
#entry input[type="email"],
.stbox select,
#entry textarea {
	width: 100%;
	height: calc(40px + 40 * ((100vw - 320px) / 1600));
	padding: 0 20px;
	border: none;
	border-radius: .7em;
	background: #F5F5F5;
	color: #222;
	font-size: clamp(14px, calc(14px + 4 * ((100vw - 375px) / 1545)), 18px);
	cursor: pointer;
	resize: vertical;
}
#entry textarea {height: auto;padding: 20px;}
::placeholder {color: #AFAFAF;}
.stbox {position: relative;max-width: 600px;}
.stbox::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-top: 10px solid #222;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	pointer-events: none;
}
.check {display: none;}
.check + label {
	position: relative;
	margin-bottom: 30px;
    padding-left: 25px;
    cursor: pointer;
	user-select: none;
	display: inline-block;
}
.check + label::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 50%;
	transform: translate(0, 50%);
    width: 24px;
    height: 24px;
    border: 1px solid #222;
	border-radius: 3px;
	background: #fff;
}
.check:checked + label::before {background: #fff;}
.check:checked + label::after {
	content: "";
    border-radius: 0;
	display: block;
	position: absolute;
	left: 7px;
	bottom: 38%;
	width: 11px;
	height: 6px;
	border-left: 2px solid #222;
	border-bottom: 2px solid #222;
	transform: rotate(-45deg);
}
.check + label a {margin-left: 10px;color: #0046A5;text-decoration: underline;}
.check + label img {width: 14px;margin-right: 5px;vertical-align: baseline;}
.check + label span {margin-left: 10px;color: #FF5858;font-weight: bold;}
#entry .submit {
	display: block;
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 540px;
	margin-right: auto;
	margin-left: auto;
	padding: clamp(20px, calc(20px + 10 * ((100vw - 375px) / 1545)), 30px);
	overflow: hidden;
	border: 1px solid #004DA0;
	border-radius: 2em;
	background: #004DA0;
	color: #fff;
	font-weight: 500;
	font-size: clamp(16px, calc(16px + 4 * ((100vw - 375px) / 1545)), 20px);
	text-align: center;
	letter-spacing: .2em;
	transition: all .5s ease-out;
}
#entry .submit:hover {background-position: 99% 50%;color: #004DA0;}
#entry .submit::before {
	content: '';
	position: absolute;
	top: -1px;
	right: -1px;
	bottom: -1px;
	left: -1px;
	z-index: -5;
	transform-origin: left top;
	transform: scale(0, 1);
	background: #fff;
	transition: transform .3s;
}
#entry .submit:hover::before {transform-origin: left top;transform: scale(1, 1);}
/*--------------------------------------------------

　   ERROR

--------------------------------------------------*/
.form {
	display: block;
	padding-top: calc(150px + 50 * ((100vw - 320px) / 1600));
}
.form h4 {text-align: center;line-height: 1.7;margin-bottom: 40px;}
.form td {padding: 20px;border-radius: .7em;background: #F5F5F5;}
.form .submit {max-width: 400px;margin: 0 auto;}
.form .button_box {display: flex;gap: 10px;}
.error .errorbox {margin-bottom: 80px;}
.error .error_messe {color: #C41000;text-align: center;}
.complete p {margin-bottom: 40px;text-align: center;}


.checkbox-wrapper {
  margin: 20px 0;
}
.formError {
  z-index: 990;
}