/* formリセット */
span,
label {
	display: inline-block;
}
[type="text"],
[type="search"],
[type="tel"],
[type="url"],
[type="email"],
[type="password"],
[type="date"],
textarea,
select {
	background-color: #fff;
	background-image: none;
	border: 1px solid #203a72;
	border-radius: 0;
	color: inherit;
	font-family: inherit;
	font-size: 14px;
	letter-spacing: 0.1em;
	line-height: 1.8;
	padding: 16px;
	width: 100%;
}
::placeholder {
	color: #d2d2d2;
}
select:has(option:checked[value=""]) {
	color: #d2d2d2;
}
.contactForm__list {
	border-bottom: 1px solid #d2d2d2;
	display: grid;
	font-size: 16px;
	font-weight: 700;
	grid-template-columns: 240px 1fr;
	letter-spacing: 0.04em;
	padding: 40px 0;
	position: relative;
}
.input-wrapper {
}
.contactForm__list:first-of-type {
	margin-top: 50px;
}

.required {
	background-color: var(--main-red);
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.8;
	margin-left: 8px;
	padding: 1px 12px;
}
@media screen and (max-width: 767px) {
	[type="text"],
	[type="search"],
	[type="tel"],
	[type="url"],
	[type="email"],
	[type="password"],
	[type="date"],
	textarea,
	select {
		padding: 8px 16px;
	}
	.contactForm__list {
		grid-template-columns: 1fr;
	}
}
/* ============================= */
/* 各ボックス カスタム*/
/* ============================= */
.contactForm__list label {
	font-size: 16px;
	letter-spacing: 0.04em;
	line-height: 1.8;
	padding-top: 12px;
	width: 100%;
}
.contactForm__list .input-wrapper__radios label {
	padding-top: 0;
}
.wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}
/* .contactForm__inputText {
} */
.contactForm textarea {
	height: 92px;
}
@media screen and (max-width: 767px) {
	.contactForm__list {
		padding: 24px 0;
	}
	.contactForm__list label {
		margin-bottom: 8px;
		padding-top: 0;
	}
}

/* ============================= */
/* 送信ボタン */
/* ============================= */
.contactForm__submit {
	margin-top: 50px;
	text-align: center;
}
.submit {
	background-color: #34373d;
	background-image: none;
	border: 1px solid #34373d;
	border-radius: 0;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 14px;
	margin: 0;
	min-width: 326px;
	padding: 1rem;
	text-decoration: none;
	width: auto;
}
.submit.wpcf7-submit:disabled {
	background-color: #888;
	border: 1px solid #888;
	color: #fff;
	cursor: not-allowed;
	pointer-events: none;
}
.submit.is-active:hover,
.submit.is-active:focus {
	background-color: #fff;
	color: #203a72;
}
.wpcf7-spinner {
	display: block;
	margin: 0 auto;
}
/* エラー表示 位置を変更する場合*/
/* .wpcf7-not-valid-tip { */
	/* display: none; */
/* } */
/* .error-message {
	color: var(--main-red);
	display: none;
	font-size: 12px;
}
.contactForm__list:has(.wpcf7-not-valid-tip) .error-message {
	display: inline-block;
	margin-top: 8px;
	padding-left: 8px;
} */
/* 確認用メールアドレスのエラー */
/* .page-template-page-contact .container {
	position: relative;
}
.wpcf7 .screen-reader-response {
	align-items: flex-end;
	bottom: 32px;
	clip: unset;
	clip-path: none;
	display: grid;
	height: 56px;
	left: 46px;
	width: 100%;
}
.wpcf7 .screen-reader-response p,
.wpcf7 .screen-reader-response a {
	color: var(--main-red);
} */

/* ============================= */
/* 共通 */
/* ============================= */
.mt-50 {
	margin-top: 50px;
}

/* ============================= */
/* セレクトボックス　カスタム */
/* ============================= */
.formSelect select {
	-webkit-appearance: none;
	appearance: none;
	background: url(../images/common/icon__arrow--blue.svg) no-repeat right 12px center / 46px auto;
	position: relative;
}

/* ============================= */
/* ラジオボタンicon カスタム */
/* ============================= */
.input-wrapper__radios .wpcf7-list-item {
	display: block;
}
.formRadio .wpcf7-form-control-wrap {
	display: inline-block;
	width: auto;
}
.formRadio__input input {
	/*  表示領域を消す */
	clip: rect(0, 0, 0, 0);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}
.formRadio__input .wpcf7-list-item-label {
	font-weight: 400;
	padding-left: 16px;
	padding-left: 30px;
	position: relative;
}
.formRadio__input .wpcf7-list-item-label::before,
.formRadio__input .wpcf7-list-item-label::after {
	border-radius: 50%;
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}
.formRadio__input .wpcf7-list-item-label::before {
	border: 1px solid #d2d2d2;
	height: 24px;
	left: 0;
	width: 24px;
}
.wpcf7-list-item-label {
	position: relative;
}
.formRadio__input .wpcf7-list-item-label::before {
	background-color: #fff;
}
.formRadio__input input:checked + .wpcf7-list-item-label::before {
	background-color: #203a72;
	border: 1px solid #203a72;
}
.formRadio__input input:checked + .wpcf7-list-item-label::after {
	background-color: #fff;
	height: 12px;
	left: 6px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 12px;
}
.formRadio__input input:focus-visible + .wpcf7-list-item-label::before {
	outline: 2px solid #888;
}
.formRadio__input {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
}
@media screen and (max-width: 767px) {
	.formRadio__input {
		gap: 8px;
		margin-top: 16px;
	}
	.contactForm__ChecktextWrapper {
		margin-top: 30px;
	}
	.contactForm__submit {
		margin-top: 30px;
	}
}

/* ============================= */
/* チェックボックス・同意チェックアイコン */
/* ============================= */
.formCheckbox__input input,
.form-acceptance input[type="checkbox"] {
	/*  表示領域を消す */
	clip: rect(0, 0, 0, 0);
	cursor: pointer;
	height: 24px;
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 24px;
	width: 1px;
	z-index: 1;
}
.form-acceptance .wpcf7-list-item-label::before {
	background: #fff;
	border: 1px solid #d2d2d2;
	border-radius: 4px;
	content: "";
	cursor: pointer;
	height: 24px;
	left: 0;
	position: absolute;
	top: 52%;
	transform: translateY(-50%);
	width: 24px;
}
.form-acceptance .wpcf7-list-item-label::after {
	background: url(../images/common/icon-checkbox.png) no-repeat center center / contain;
	content: "";
	cursor: pointer;
	height: 24px;
	left: 0;
	opacity: 0;
	position: absolute;
	top: 52%;
	transform: translateY(-50%);
	transition: opacity 0.1s;
	width: 24px;
}
input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
	opacity: 1;
}
input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
	opacity: 0;
}

/* ============================= */
/* 同意チェックボックス カスタム*/
/* ============================= */
.form-acceptance {
	padding: 4px 0;
	width: fit-content;
}
.form-acceptance label {
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 2px;
}
.form-acceptance .wpcf7-list-item-label {
	padding-left: calc(24px + 10px);
}
.form-acceptance + .form-acceptance {
	margin-top: 16px;
}
.contactForm__ChecktextWrapper {
	margin-top: 50px;
}
.contactForm__Checktext {
	margin-top: 20px;
	text-align: center;
}
.contactForm__Checktext {
	margin: 40px auto 0;
	width: fit-content;
}
.agree__link {
	color: #203a72;
	font-weight: 400;
	letter-spacing: 2px;
	text-decoration: underline;
}

.contactForm__text {
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 2px;
	margin: 0 auto;
	max-width: 700px;
	text-align: center;
}
