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

	ENTRY

--------------------------------------------------*/
#entry {
	padding-top: clamp(50px, calc(50px + 20 * ((100vw - 375px) / 1545)), 70px);
	padding-bottom: clamp(70px, calc(70px + 70 * ((100vw - 375px) / 1545)), 140px);
}
#entry .inner {max-width: 770px;}
#entry h3 {margin-bottom: 30px;text-align: center;}
#entry table {margin-bottom: 30px;}
#entry table tr th {
	width: 170px;
	padding-bottom: 10px;
	color: #005AAB;
	font-weight: bold;
	font-size: clamp(14px, calc(14px + 4 * ((100vw - 375px) / 1545)), 18px);
	vertical-align: middle;
}
#entry table tr:last-child th {padding-bottom: 50px;}
#entry table tr td {display: block;margin-bottom: 10px;}
#entry table tr:last-child td {margin-bottom: 0;}
#entry table tr td .flex_wrap {display: flex;align-items: center;}
#entry input[type="text"],
#entry input[type="tel"],
#entry input[type="email"],
.stbox select,
#entry textarea {
	width: 100%;
	height: 50px;
	padding: 0 20px;
	border: 1px solid #CBD4DC;
	border-radius: 8px;
	background: #fff;
	color: #222;
	font-size: clamp(14px, calc(14px + 2 * ((100vw - 375px) / 1545)), 16px);
	cursor: pointer;
	resize: vertical;
}
#entry textarea {height: auto;margin-bottom: 10px;padding: 20px;}
::placeholder {color: #AFAFAF;}
.stbox {position: relative;max-width: 300px; width: 100%;}
.stbox::after {
	content: '';
	position: absolute;
	top: 20px;
	right: 20px;
	width: 0;
	height: 0;
	border-top: 10px solid #005AAB;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	pointer-events: none;
}
.checkbox-container {position: relative;margin-bottom: 20px;}
.checkbox-wrapper {display: flex;align-items: flex-start;}
.error-message-container {margin-top: 10px;}
.error-message {display: block;color: #ff0000;font-size: 14px;}
.check {display: none;}
.check + label {position: relative;padding-left: 25px;cursor: pointer;user-select: none;}
.check + label::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 50%;
	transform: translate(0, 50%);
    width: 20px;
    height: 20px;
    border: 1px solid #222;
	background: #fff;
}
.check:checked + label::before {background: #fff;}
.check:checked + label::after {
	content: "";
    border-radius: 0;
	display: block;
	position: absolute;
	left: 5px;
	bottom: 37%;
	width: 10px;
	height: 5px;
	border-left: 2px solid #005AAB;
	border-bottom: 2px solid #005AAB;
	transform: rotate(-45deg);
}
.check + label a {margin-left: 10px;color: #005AAB;text-decoration: underline;}
.check + label img {width: 14px;margin-right: 5px;vertical-align: baseline;}
#entry .submit {
	display: block;
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 300px;
	margin: 0 auto;
	padding: clamp(20px, calc(20px + 10 * ((100vw - 375px) / 1545)), 30px);
	overflow: hidden;
	border: 1px solid #005AAB;
	border-radius: 3em;
	background: #005AAB;
	color: #fff;
	font-weight: bold;
	font-size: clamp(14px, calc(14px + 2 * ((100vw - 375px) / 1545)), 16px);
	text-align: center;
	letter-spacing: .2em;
	transition: all .5s ease-out;
}
#entry .submit:hover {background-position: 99% 50%;color: #005AAB;}
#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);}
@media only screen and ( max-width : 500px ) {
	#entry table tr th {display: block;width: 100%;}
	#entry table tr:last-child th {padding-bottom: 10px;}
	#entry table tr td {margin-bottom: 10px;}
}
/*--------------------------------------------------

　   ERROR

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