@charset "utf-8";
#contact {
	padding-bottom: 9.8125rem;
}
#contact .border .border-style {
  width: 28.625rem;
}
form, .form-table {
	width: 100%;
}
.form-error {
	width: 100%;
	height: 3.75rem;
	margin: 3rem 0;
	padding-left: 1.875rem;
	color: var(--text);
	background: #FFEEBB;
	border: 1px solid #D2A730;
	visibility: hidden;
}
.form-error p {
	font-size: 1.25rem;
	line-height: 3.75rem;
}
.form-field {
	display: -ms-grid;
	display: grid;
}
.form-row {
	height: auto;
	margin-bottom: 2.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	overflow: hidden;
}
.form-row.open {
	margin-bottom: 0;
}
.last-form {
	height: auto;
	align-items: flex-start;
}
.last-form label, .last-tr th {
	height: 9.375rem;
	margin-bottom: auto;
	padding-top: 1rem;
}
.form-row label, .form-row input, .form-row textarea {
	font-size: 1.25rem;
}
.form-row .required {
	color: red;
	margin-left: 0.25em;
	font-weight: bold;
	vertical-align: sub;
}
/* ========入力欄======== */
.form-row input, .form-row textarea {
	width: clamp(31.25rem, -11.6438rem + 82.1918vw, 50rem);
	max-width: 50rem;
	padding-left: 2.5rem;
	color: var(--title);
	background: #E3FFE7;
	border: 1px solid #594E40;
}
.form-row input {
	height: 3.75rem;
}
.form-row input::placeholder {
	color: var(--title);
	letter-spacing: 1px;
}
.form-row input::-webkit-input-placeholder {
	color: var(--title);
	letter-spacing: 1px;
}
.form-row input::-moz-placeholder {
	color: var(--title);
	letter-spacing: 1px;
}
.form-row input::-ms-input-placeholder {
	color: var(--title);
	letter-spacing: 1px;
}
.form-row input:-ms-input-placeholder {
	color: var(--title);
	letter-spacing: 1px;
}
.form-row textarea {
	height: 9.375rem;
	min-height: 4.375rem;
	padding: 1rem 2.5rem;
}
/* ↓autocomplete時の装飾 */
.form-row input:-webkit-autofill, select:-webkit-autofill {
	color: var(--title) !important;
	-webkit-text-fill-color: var(--title) !important;
	-webkit-box-shadow: 0 0 0px 1000px #E3FFE7 inset !important;
}
/* ========その他コンテンツ======== */
.form-consent {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.form-consent .agree {
	margin-bottom: 2.5rem;
	font-weight: 500;
}
.form-consent .agree a {
	color: var(--text);
	text-decoration: underline;
}
.form-consent label {
	display: flex;
	cursor: pointer;
}
input[type="checkbox"] {
	display: none;
}
.checkmark {
	padding-left: 2rem;
	position: relative;
}
.checkmark::before {
	content: '';
	display: inline-block;
	position: absolute;
	width: 1.1875rem;
	height: 1.1875rem;
	top: .1rem;
	left: 0;
	border: 1.5px solid var(--text);
}
.checkmark::after {
	content: '';
	display: inline-block;
	position: absolute;
	width: .9rem;
	padding-top: .4rem;
	top: 7px;
	left: 2px;
	border-left: 2px solid var(--text);
	border-bottom: 2px solid var(--text);
	transform: rotate(-50deg);
	opacity: 0;
}
input[type=checkbox]:checked+span::after {
	opacity: 1;
}
/* エラー時 */
.error-message {
	width: clamp(31.25rem, -11.6438rem + 82.1918vw, 50rem);
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, padding 0.4s ease;
	margin-left: auto;
	color: #ff4d4d;
}
.error-message.open {
	max-height: 2.5rem;
	padding: .5rem 0;
}
/* ボタンクリックできない処理 */
.form-consent button#submitBtn:disabled {
	cursor: not-allowed;
}
/* ========確認画面======== */
.container .confirm-title {
	margin-bottom: 10.55rem;
	padding-top: 3.3125rem;
	font-size: 1.5625rem;
}
.form-table {
	margin-bottom: 1rem;
	border-collapse: separate;
}
.form-table tr {
	height: 3.75rem;
	margin-bottom: 2.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	font-size: 1.25rem;
	overflow: hidden;
}
.form-table th {
	font-weight: 400;
}
.form-table .last-tr {
	height: auto;
	margin-bottom: 3.95rem;
}
.form-table td {
	width: clamp(31.25rem, -11.6438rem + 82.1918vw, 50rem);
	max-width: 50rem;
	padding-left: 2.5rem;
	color: var(--title);
}
.form-table .last-form-content {
	width: 100%;
	padding: 1rem 0 10rem 0;
	text-wrap: wrap;
	white-space: pre-line;
}
.confirm-form {
	display: flex;
	justify-content: center;
	gap: 2.5rem;
}
.back-button {
	width: clamp(18rem, -3.7329rem + 41.6438vw, 27.5rem);
	height: clamp(4rem, 0.2825rem + 7.1233vw, 5.625rem);
	background-color: #FFEEBB;
	font-size: 1.25rem;
	color: var(--text);
	text-decoration: underline;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #000;
	border-radius: 5rem;
}
.back-button .back-arrow {
	width: clamp(1.5625rem, 0.8476rem + 1.3699vw, 1.875rem);
	height: 1.5px;
	margin: clamp(0.3125rem, -1.8322rem + 4.1096vw, 1.25rem);
	position: relative;
	display: inline-block;
	border-radius: 9999px;
	background-color: var(--text);
}
.back-button .back-arrow::before, .back-button .back-arrow::after {
	left: -.4rem;
	width: 6px;
	height: 1.5px;
	content: "";
	position: absolute;
	border-radius: 9999px;
	background-color: var(--text);
	transform-origin: calc(100% - 0.5px) 50%;
}
.back-button .back-arrow::before {
	transform: rotate(135deg);
}
.back-button .back-arrow::after {
	transform: rotate(-135deg);
}
/* ========完了画面======== */
#complete {
	width: 100%;
	padding: 15.8125rem 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.complete-heading {
	margin-bottom: 3.75rem;
	font-size: 1rem;
	font-weight: 500;
	text-align: center;
}
@media (max-width: 834px) {
	#contact {
		padding-bottom: 2.5rem;
	}
	#contact .border .border-style {
		width: calc(100% - clamp(5rem, 3.4783rem + 5.7971vw, 6.5rem));;
	}
	.form-error {
		height: 3.125rem;
		margin: clamp(1.25rem, 0.4891rem + 2.8986vw, 2rem) 0;
		padding-left: .625rem;
	}
	.form-error p {
		font-size: clamp(0.9375rem, 0.8741rem + 0.2415vw, 1rem);
		line-height: 3.125rem;
	}
	.form-row {
		margin-bottom: 1.25rem;
	}
	.form-row, .last-form label, .last-form th {
		height: auto;
	}
	.form-row label {
		padding-top: 0;
	}
	.form-row label, .form-row input, .form-row textarea {
		font-size: clamp(0.9375rem, 0.6205rem + 1.2077vw, 1.25rem);
	}
	.form-row .required {
		margin-left: 0.25em;
		font-weight: 400;
	}
	/* ========入力欄======== */
	.form-row input, .form-row textarea {
		width: 100%;
		padding-left: .625rem;
	}
	.form-row input {
		height: clamp(3.125rem, 2.4909rem + 2.4155vw, 3.75rem);
		font-weight: 400;
	}
	.form-row input::-webkit-input-placeholder {
		font-weight: 400;
	}
	.form-row input::-moz-placeholder {
		font-weight: 400;
	}
	.form-row input:-ms-input-placeholder {
		font-weight: 400;
	}
	.form-row input::-ms-input-placeholder {
		font-weight: 400;
	}
	.form-row input::placeholder {
		font-weight: 400;
	}
	.form-row input::-webkit-input-placeholder {
		font-weight: 400;
	}
	.form-row input::-moz-placeholder {
		font-weight: 400;
	}
	.form-row input:-ms-input-placeholder {
		font-weight: 400;
	}
	.form-row textarea {
		height: clamp(5rem, 1.1957rem + 14.4928vw, 8.75rem);
		min-height: clamp(3.125rem, 2.4909rem + 2.4155vw, 3.75rem);
		padding: .5rem .625rem;
		font-weight: 400;
	}
	/* ========その他コンテンツ======== */
	.form-consent .agree {
		margin-bottom: 1.25rem;
		font-size: clamp(0.875rem, 0.7482rem + 0.4831vw, 1rem);
	}
	.checkmark::before {
		width: 0.9375rem;
		height: 0.9375rem;
		top: clamp(0.2rem, -0.0029rem + 0.7729vw, 0.4rem);
	}
	.checkmark::after {
		width: .7rem;
		padding-top: .2rem;
		top: clamp(0.5rem, 0.3098rem + 0.7246vw, 0.6875rem);
		left: 1.5px;
	}
	/* エラー時 */
	.error-message {
		width: 100%;
		overflow: hidden;
		transition: max-height 0.4s ease, padding 0.4s ease;
		margin-left: 0;
		font-size: clamp(0.875rem, 0.7482rem + 0.4831vw, 1rem);
	}
	.error-message.open {
		max-height: 5rem;
		padding: .5rem 0 1rem;
	}
	/* ========確認画面======== */
	.container .confirm-title {
		margin-bottom: clamp(8rem, 4.9565rem + 11.5942vw, 11rem);
		padding-top: 0;
		font-size: clamp(1.25rem, 0.933rem + 1.2077vw, 1.5625rem);
	}
	.form-table {
		margin-bottom: 1rem;
	}
	.form-table tr {
		height: auto;
		margin-bottom: 1.25rem;
		font-size: clamp(0.9375rem, 0.6205rem + 1.2077vw, 1.25rem);
	}
	.form-table .last-tr th, .form-table .last-tr td {
		height: auto;
	}
	.form-table td {
		width: 100%;
		height: clamp(3.125rem, 2.4909rem + 2.4155vw, 3.75rem);
		padding-left: .625rem;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
	.form-table .last-form-content {
		padding: 1rem 0 0;
	}
	.confirm-form {
		flex-direction: column-reverse;
		align-items: center;
		gap: 1.875rem;
	}
	.back-button {
		width: 100%;
		max-width: 21.25rem;
		height: 4rem;
		font-size: 1.0625rem;
	}
	.back-button .back-arrow {
		width: 1.25rem;
		margin: 0.9375rem;
	}
	.back-button .back-arrow::before, .back-button .back-arrow::after {
		left: -.4rem;
		width: 6px;
		height: 1.5px;
		content: "";
		position: absolute;
		border-radius: 9999px;
		background-color: var(--text);
		transform-origin: calc(100% - 0.5px) 50%;
	}
	/* ========完了画面======== */
	#complete {
		padding: 6.25rem 0;
	}
	.complete-heading {
		font-size: clamp(0.875rem, 0.7482rem + 0.4831vw, 1rem);
		line-height: 2rem;
		margin-bottom: clamp(3rem, 2.2391rem + 2.8986vw, 3.75rem);
	}
}