@charset "UTF-8";
/* contact.css */


/* ===== ファーストビュー テキスト 設定 ===== */
h1 .img_mask:before {
	background-image: url(../../img/contact/h1_contact_anim.svg);
}



/* ===== CloudFlare ===== */
div.cf-turnstile {
    display: flex !important;
    justify-content: center !important;
	margin-top: 40px;
}


/* ===== 非表示 ===== */
/* footer Contactへのリンク */
.footer_contact {
	display: none !important;
}
/* 送信ボタン右側のスピナー */
.wpcf7-spinner {
	display: none !important;
}
/* 承諾確認前の送信ボタン */
form .wpcf7-submit:disabled {
	opacity: .6;
}



/* ===== 項目ごとのエラーメッセージ装飾 ===== */
.wpcf7-not-valid-tip {
	font-size: 12px !important;
	line-height: 1.5 !important;
	margin-top: .75em !important;
}


/* ===== 送信ボタン下のエラーメッセージ装飾 ===== */
.wpcf7 form .wpcf7-response-output {
	width: fit-content !important;
	font-size: clamp(12px,1.4vw,14px);
	line-height: 1.7;
	margin: 2em auto 0 !important;
	padding: 0 !important;
	color: #dc3232;
	border: none !important;
}



/* ===== contact form7 デザイン ====== */
.f_whitebox {
	padding: clamp(30px,7vw,70px);
	border-radius: 10px;
	background-color: #fff;
}


/* ========== 項目名・入力項目 ============= */
::placeholder {
	color: #999;
}
:focus-visible {
	outline: 0 !important;
}

form dl {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
}
form dl + dl {
	margin-top: 20px;
}
form dt {
	min-width: 17.5em;
}
form dd {
	width: 100%;
}
form dt,
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
	font-size: 16px;
	font-size: clamp(14px,1.6vw,16px);
}
form .wpcf7-form-control-wrap {
	width: 100%;
}
form dt {
	margin-top: 1em;
}
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
	width: 100%;
	line-height: 1.5;
	padding: 1em 1.25em;
	border-radius: 10px;
	background-color: #f5f5f5;
}
form textarea {
	min-height: 250px;
	resize: vertical;
}



/* ========== 任意・必須 ============= */
.form_cat {
	width: fit-content;
	min-width: fit-content;
	font-size: 12px;
	font-size: clamp(10px,1.2vw,12px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: .05em;
	display: inline-block;
	margin-left: -.25em;
	margin-right: 1.5em;
	padding: .5em .75em;
	color: #009e96;
	background-color: #e0f3f2;
	border-radius: 50px;
}
.cat_required {
	color: #fff;
	background-color: #009e96;
}


/* ===== プライバシーポリシーに同意 ===== */
form a {
	text-decoration: underline !important;
}

/* 文章 */
.before_privacy {
	width: fit-content;
	line-height: 2;
	margin-left:  auto;
	margin-right: auto;
}
.before_privacy p {
	line-height: 2;
}
.before_privacy a {
	padding-left:  .15em;
	padding-right: .15em;
}


/* チェックボックス wrap */
#before_send_check {
	text-align: center;
}
#before_send_check label {
	font-size: clamp(14px,1.4vw,16px);
	display: flex;
	flex-wrap: nowrap;	
	align-items: flex-start;
	justify-content: center;
}
#before_send_check span {
	line-height: 1.3;
	margin-left: 0 !important;
}
/* チェックボックス */
#before_send_check input[type="checkbox"] {
	width:  1.25em;
	height: 1.25em;
	min-width:  1.25em;
	min-height: 1.25em;
	position: relative;
	border: 1.5px solid #000;
	border-radius: 0px;
	cursor: pointer;
	appearance: none;
	margin-top: .25em;
	margin-right: .5em;
}
#before_send_check input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	top: -1px;
	left: .05em;
	width:  1.5em;
	height:  .5em;
	border-left:   3px solid #009e96;
	border-bottom: 3px solid #009e96;
	transform: rotate(-45deg);
}


/* ===== ボタン（確認する） ===== */
#form_tocheck .btn_more div {
	width: fit-content;
	display: block;
	position: relative;
	margin: 0 auto;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 50px;
	overflow: hidden;
}
#form_tocheck .btn_more span {
	width:  48px;
	height: 48px;
	min-width:  48px;
	min-height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top:  6px;
	left: 8px;
}
#form_tocheck .btn_more span:before,
#form_tocheck .btn_more span:after {
	content: "";
	width:  100%;
	height: 100%;
	display: block;
	position: absolute;
	pointer-events: none;
	background-color: #ffee6b;
}
#form_tocheck .btn_more span:before {
	border-radius: 50px;
	background-image: url(../../img/common/btn_arrow.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 24px;
	z-index: 2;
	transition: transform .3s, background-size .3s;
}
#form_tocheck .btn_more span:after {
	width:  500px;
	height: 500px;
	border-radius: 500px;
	transform: scale(0);
	transition: transform cubic-bezier(0.23, 1, 0.32, 1) .5s;
	z-index: 1;
}

#form_tocheck .btn_more div:hover span:before {
	background-color: #fff;
	background-size: 21.8px;
	transform: scale(1.1);
}
#form_tocheck .btn_more div:hover span:after {
	transform: scale(1);
}




#form_tocheck input[type="submit"] {
	width: 240px;
	height: 60px;
	text-align: center;
	line-height: 1;
	position: relative;
	margin:  0 auto;
	padding: 0 24px 0 48px;
	cursor: pointer;
	z-index: 3;
}



/* ========== ** 入力内容の確認画面 ** ========== */
#contact_confirm form dl {
	padding: 0 0 20px 20px;
	border-bottom: 1px solid #ccc;
}
#contact_confirm form dl + dl {
	margin-top: 20px;
}
#contact_confirm form dt {
	min-width: 15em;
	margin-top: 0;
}
#contact_confirm form dd {
	text-align: justify;
}

/* --- 戻る & 送信flex --- */
#contact_confirm #form_tocheck {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
}
#contact_confirm .btn_more {
	width: fit-content;
}


/* --- 戻るボタン --- */
.form_back {
	width: fit-content;
	line-height: 1;
	text-decoration: none !important;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
	margin-right: 100px;
	margin-right: min(10vw,100px);
}
.form_back:before {
	content: "";
	width:  1em;
	height: 1em;
	min-width:  1em;
	min-height: 1em;
	display: block;
	margin-right: .5em;
	background-image: url(../../img/common/news_prev.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}





@media screen and (max-width:768px) {
	/* ===== contact form7 デザイン ====== */
	.f_whitebox {
		padding: 30px 20px;
	}

	/* ========== 項目名・入力項目 ============= */
	form dl {
		flex-wrap: wrap;
	}
	form dl + dl {
		margin-top: 30px;
	}
	form dt {
		margin-top: 0;
		margin-bottom: 1.25em;
	}

	form dt,
	form input[type="text"],
	form input[type="email"],
	form input[type="tel"],
	form textarea {
		font-size: 16px;
	}
	form input[type="text"],
	form input[type="email"],
	form input[type="tel"],
	form textarea {
		padding: .75em 1em;
		border-radius: 5px;
	}


	/* ========== 任意・必須 ============= */
	.form_cat {
		font-size: 12px;
		margin-left: 0;
		margin-right: .75em;
		padding-left:  1em;
		padding-right: 1em;
	}

	/* ===== プライバシーポリシーに同意 ===== */
	/* 文章 */
	/* ===== ボタン（確認する） ===== */	



	/* ========== ** 入力内容の確認画面 ** ========== */
	#contact_confirm form dl {
		padding-left: 0;
	}
	#contact_confirm form dt {
		min-width: inherit;
		line-height: 1;
		margin-bottom: .65em;
	}
	#contact_confirm form dd {
		font-size: 16px;
	}
	/* --- 戻る & 送信flex --- */
	#contact_confirm #form_tocheck {
		width: 100%;
		flex-wrap: wrap;
		flex-direction: column-reverse;
	}

	/* --- 戻るボタン --- */
	#contact_confirm .form_back {
		margin-top: 20px;
		margin-right: 0;
	}


}