@charset "UTF-8";
.wrap_contact_txt p {
	margin-bottom: 1.5em;
}
.wrap_contact_txt p:last-child {
	margin-bottom: 0;
}

/* 入力フォーム
------------------------------------------------------------------------- */
.wrap_contact_form {
	width: 95.7333333333vw;
	margin: 12.8vw auto 0;
	background: #fff;
	padding: 12.8vw 0;
}

.dl_contact {
	width: 78.9333333333vw;
	margin: 0 auto;
}
.dl_contact dt {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	gap: 4.2666666667vw;
	margin-bottom: 2.1333333333vw;
}
.dl_contact dd {
	margin-bottom: 6.4vw;
}
.dl_contact dd:last-of-type {
	margin-bottom: 0;
}

.placeholder {
	color: rgba(0, 36, 39, 0.4);
}

.required {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	width: 10.6666666667vw;
	min-width: 10.6666666667vw;
	height: 6.9333333333vw;
	background: #007F89;
	color: #fff;
	font-size: 3.7333333333vw;
}

/* input要素 */
input[type=text],
input[type=email],
textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
	border: 1px solid #002427;
	padding: 3.0666666667vw 2.1333333333vw;
}

/* チェックボックス */
.dd_checkbox {
	position: relative;
	padding: 0 0 0 8vw;
}

.dd_checkbox a {
	color: #002427;
	font-weight: 500;
	text-decoration: underline;
	font-weight: bold;
}

.dd_checkbox .wpcf7-form-control-wrap {
	position: static;
}

.dd_checkbox .wpcf7-list-item {
	margin: 0;
}

input[type=checkbox] {
	display: none;
}

.dd_checkbox input + span {
	cursor: pointer;
	display: inline-block;
	width: auto;
}

.dd_checkbox input + span::before {
	background: #fff;
	border: 1px solid #002427;
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	width: 5.3333333333vw;
	height: 5.3333333333vw;
}

.dd_checkbox input + span::after {
	content: "";
	display: block;
	background: url(../images/icon_contact_check.svg) no-repeat;
	background-size: contain;
	width: 4vw;
	height: 5.6vw;
	opacity: 0;
	position: absolute;
	top: 50%;
	left: 0.8vw;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

input[type=checkbox]:checked + span::before {
	background: #fff;
}

input[type=checkbox]:checked + span::after {
	opacity: 1;
}

/* チェックボックスが複数の場合 */
.dd_checkbox.dd_checkbox2 {
	padding: 0;
	position: relative;
}

.dd_checkbox2 .wpcf7-list-item {
	position: relative;
	padding-left: 8vw;
	display: block;
	margin-bottom: 4.2666666667vw;
}

.dd_checkbox2 .wpcf7-list-item:last-child {
	margin-bottom: 0;
}

input[type=text].other {
	width: 53.3333333333vw;
	padding: 0.9333333333vw 2.1333333333vw;
	position: absolute;
	bottom: 0;
	right: 0;
}

.agree {
	width: 78.9333333333vw;
	margin: 2.1333333333vw auto 0;
}
.agree a {
	color: #005B98;
}

/* 送信ボタン */
.btn_submit {
	width: 78.9333333333vw;
	margin: 10.6666666667vw auto 0;
	position: relative;
}
.btn_submit::before {
	content: "";
	display: block;
	width: 100%;
	height: 0.5333333333vw;
	background: #005B98;
	position: absolute;
	bottom: 0;
	left: 0;
	pointer-events: none;
}
.btn_submit input {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	width: 100%;
	height: 16.5333333333vw;
	border: 1px solid #005B98;
	color: #005B98;
	font-family: "Zen Kaku Gothic New", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
	font-weight: bold;
	font-size: 4.8vw;
	letter-spacing: 0.05em;
	background: none;
}

.wpcf7-spinner {
	display: none;
}

.dd_checkbox2 .wpcf7-not-valid-tip {
	position: absolute;
}

@media (min-width: 769px) {
	/* 入力フォーム
	------------------------------------------------------------------------- */
	.wrap_contact_form {
		width: min(68.2352941176vw, 928px);
		margin: 48px auto 0;
		padding: 64px 0;
	}
	.dl_contact {
		width: min(54.1176470588vw, 736px);
	}
	.dl_contact dt {
		gap: min(1.1764705882vw, 16px);
		margin-bottom: 8px;
	}
	.dl_contact dd {
		margin-bottom: 24px;
	}
	.required {
		width: 40px;
		min-width: 40px;
		height: 26px;
		font-size: 18px;
	}
	/* input要素 */
	input[type=text],
	input[type=email],
	textarea {
		padding: 11.5px 8px;
	}
	/* チェックボックス */
	.dd_checkbox {
		padding: 0 0 0 30px;
	}
	.dd_checkbox input + span::before {
		width: 20px;
		height: 20px;
	}
	.dd_checkbox input + span::after {
		width: 15px;
		height: 21px;
		left: 3px;
	}
	/* チェックボックスが複数の場合 */
	.dd_checkbox2 .wpcf7-list-item {
		padding-left: min(2.2058823529vw, 30px);
		margin-bottom: 0;
		font-size: min(1.1764705882vw, 16px);
	}
	.dd_checkbox2 .wpcf7-checkbox {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		gap: min(1.1764705882vw, 16px);
	}
	.dd_checkbox2 input + span::before {
		width: min(1.4705882353vw, 20px);
		height: min(1.4705882353vw, 20px);
	}
	.dd_checkbox2 input + span::after {
		width: min(1.1029411765vw, 15px);
		height: min(1.5441176471vw, 21px);
		left: min(0.2205882353vw, 3px);
	}
	input[type=text].other {
		width: min(26.4705882353vw, 360px);
		padding: min(0.2573529412vw, 3.5px) min(0.5882352941vw, 8px);
		right: auto;
		left: min(7.0588235294vw, 96px);
	}
	.agree {
		width: min(54.1176470588vw, 736px);
		margin: min(0.5882352941vw, 8px) auto 0;
	}
	/* 送信ボタン */
	.btn_submit {
		width: 352px;
		margin: 48px auto 0;
		z-index: 1;
	}
	.btn_submit::before {
		height: 8px;
		-webkit-transition: 0.2s;
		transition: 0.2s;
		z-index: -1;
	}
	.btn_submit:hover::before {
		height: 100%;
	}
	.btn_submit:hover input {
		color: #fff;
		cursor: pointer;
	}
	.btn_submit input {
		height: 88px;
		font-size: clamp(1.25rem, -0.268rem + 1.79vw, 1.875rem);
	}
}
@media (min-width: 1361px) {
	/* 入力フォーム
	------------------------------------------------------------------------- */
	.wrap_contact_form {
		width: min(72.5vw, 1392px);
		margin: 72px auto 0;
		padding: 96px 0;
	}
	.dl_contact {
		width: min(57.5vw, 1104px);
	}
	.dl_contact dt {
		gap: min(1.25vw, 24px);
		margin-bottom: 12px;
	}
	.dl_contact dd {
		margin-bottom: 36px;
	}
	.required {
		width: 52px;
		min-width: 52px;
		height: 32px;
	}
	/* input要素 */
	input[type=text],
	input[type=email],
	textarea {
		padding: 18px 12px;
	}
	/* チェックボックス */
	.dd_checkbox {
		padding: 0 0 0 45px;
	}
	.dd_checkbox input + span::before {
		width: 30px;
		height: 30px;
	}
	.dd_checkbox input + span::after {
		width: 24px;
		height: 33px;
		left: 4.5px;
	}
	/* チェックボックスが複数の場合 */
	.dd_checkbox2 .wpcf7-list-item {
		padding-left: min(2.34375vw, 45px);
		font-size: min(1.25vw, 24px);
	}
	.dd_checkbox2 .wpcf7-checkbox {
		gap: min(1.7647058824vw, 24px);
	}
	.dd_checkbox2 input + span::before {
		width: min(1.5625vw, 30px);
		height: min(1.5625vw, 30px);
	}
	.dd_checkbox2 input + span::after {
		width: min(1.25vw, 24px);
		height: min(1.71875vw, 33px);
		left: min(0.234375vw, 4.5px);
	}
	input[type=text].other {
		width: min(28.125vw, 540px);
		padding: min(0.3125vw, 6px) min(0.8823529412vw, 12px);
		right: auto;
		left: min(7.5vw, 144px);
	}
	.agree {
		width: min(57.5vw, 1104px);
		margin: min(0.625vw, 12px) auto 0;
	}
	/* 送信ボタン */
	.btn_submit {
		width: 528px;
		margin: 72px auto 0;
	}
	.btn_submit::before {
		height: 12px;
	}
	.btn_submit input {
		height: 132px;
	}
}