@charset "UTF-8";

/**
メールフォーム
**/

/* リセット */

.ly_form *{
		font-size:clamp(14px,1.6vw,16px);
	border-style: solid;
	border-width: 0;
	box-sizing: border-box;
	min-inline-size: 0;

}
:where(button, input, textarea, optgroup, select) {
	appearance: none;
	background-color: transparent;
	border-radius: unset;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	vertical-align: middle;
}

:where(textarea) {
	field-sizing: content;
	resize: block;
}

:where(button, [type="button"], [type="submit"], [type="reset"]) {
	text-align: center;
	user-select: none;
	touch-action: manipulation;
}

/* フォーカス時はオリジナルのアウトラインを適用 */
:where(button, input, textarea, select):focus-visible {
	outline: 2px solid #005FCC;
	outline-offset: -2px;
}

:where(button,
	input[type=button],
	input[type=submit],
	input[type=reset])[disabled] {
	cursor: not-allowed;
}

/* レイアウト */
.ly_form {

}

.bl_form,
.bl_formConfirm,
.bl_formThanks {
	padding-block: 2.125rem;
	padding-inline: 1.2rem;
	background-color:#FFF;
	border:none;
	border-radius: 25px;
}

.bl_form_group:not(:first-of-type),
.bl_formConfirm_txt + .bl_form_group {
	margin-block-start: .5em;
	margin-bottom:.8em;
}

.bl_form_group fieldset {
	display: contents;
}

.bl_form_control {
	margin-block-start: 0.5em;
}

/* 項目名 */
.bl_form_label {
	color:#ee7345;
display:block;
	margin-bottom:1em;
}

/* 必須ラベル */
.bl_form_required {
	color:#000;
	display: inline-block;
	font-weight: 700;
	padding-block: 0.1em;
	padding-inline: 0.2em;
}

/* 入力欄、セレクトボックス */
.bl_form :is(input[type=text], input[type=email], input[type=tel], textarea, select) {
	background-color: #F4F4F4;
	padding: 12px 10px;
}

.bl_form :is(input[type=text], input[type=email], input[type=tel], textarea) {
	inline-size: 100%;
}

.bl_form :is(input[type=text], input[type=email], input[type=tel], textarea)::placeholder {
	color: #C5C5C5;
}

.bl_form textarea {
	height:180px;
}

/* ラジオボタン、チェックボックス */
.bl_form .wpcf7-list-item {
	margin: unset;
	margin-bottom:.8em;
}

.bl_form_radio,
.bl_form_checkbox {
	display: inline-grid;
	gap: 0.5em 2em;
}

.yuubin{display: inline-flex;
    align-items: center;}
.yuubin p{margin-right:1em;}
.yuubin :is(input[type=text], input[type=email], input[type=tel], textarea) {
	width:8em;
}

/* オリジナルのラジオボタンとチェックボックスを作成 */
.bl_form :is(input[type=radio], input[type=checkbox], input[type=checkbox]) {
	background-color: #FFF;
	block-size: 18px;
	border: 2px solid #DDD;
	inline-size: 18px;
	margin-block-end: 3px;
	position: relative;
	left:-8px;
}

.bl_form input[type=radio] {
	border-radius: 50%;
}

/* フォーカス時はlabelタグにアウトラインを適用 */
.bl_form label:has(:where(input[type=radio], input[type=checkbox]):focus-visible) {
	outline: 2px solid #005FCC;
	outline-offset: 2px;
}

/* チェック時のスタイルは擬似要素で再現 */
.bl_form :where(input[type=radio], input[type=checkbox]):checked::before {
	content: "";
	inset-block-start: 2px;
	inset-inline-start: 2px;
	position: absolute;
}

.bl_form :where(input[type=radio]):checked::before {
	background-color: #37952F;
	block-size: 10px;
	border-radius: 50%;
	inline-size: 10px;
}

.bl_form :where(input[type=checkbox]):checked::before {
	block-size: 6px;
	border-block-end: 2px solid #37952F;
	border-inline-start: 2px solid #37952F;
	inline-size: 10px;
	rotate: -50deg;
}

.bl_form_consent{text-align:center;margin-top:30px;}

/* バリデーションメッセージ */
/* .wpcf7-not-valid-tip{} */
/* 確認・戻る・送信ボタン */
.bl_form_btn {
	display: flex;
	gap: 2em;
	justify-content: center;
	margin-block-start: 2.5rem;
}

/* 確認ボタン非活性時 */
.bl_form_confirm[disabled] {
	background-color: #CCC;
}

/* 確認・送信ボタン */
.bl_form_confirm,
.bl_form_submit {
	background-color: #ee7345;
	color: #FFF;
	width:90%;
	max-width:320px;
	border-radius:40px;
	padding:18px 0;
}

/* 戻るボタン */
.bl_form_back {	background-color: #B0B0B0;
	color: #FFF;
	width:90%;
	max-width:320px;
	border-radius:40px;
	padding:18px 0;}
	
.bl_form_confirm:hover,.bl_form_submit:hover ,.bl_form_back:hover{opacity:.5;}

/* 確認画面とメッセージ、スピナーを非表示 */
.bl_formConfirm,
.wpcf7-response-output,
.bl_formConfirm .wpcf7-spinner {
	display: none;
}

/* 送信完了画面 */
.bl_formThanks_ttl,
.bl_formThanks_txt {
	text-align: center;
}

.bl_formThanks_ttl {
	font-size: 24px;
	font-weight: 700;
}

.bl_formThanks_txt {
	margin-block-start: 1em;
}

.porcy_box {
	width: 100%;
	margin: 60px 0;
	border-top: 2px solid #ee7345;
	padding-top: 60px;
}

.contact__privacy {
	max-width: 100%;
	max-height: 250px;
	margin: 0 auto;
	border: 2px solid #F4F4F4;
	border-right-width: 1px;
	padding: 1em 1.3em;
	font-weight: 300;
	background-color: #FFF;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #ee7345 #c7c7c7;
}

.contact__privacy {
	text-align:left;
	font-weight: 400;
	line-height: 1.4;
	margin-bottom:1em;
	font-size:clamp(14px,1.6vw,16px);
}

.contact__privacy p{
	line-height: 2;
	font-size:clamp(14px,1.6vw,16px);}

.contact__privacy h3 {
		font-size:clamp(14px,1.6vw,16px);
	font-weight: 400;
	margin-bottom: 5px;
}

.contact__privacy::-webkit-scrollbar {
	width: 10px;
}

.contact__privacy::-webkit-scrollbar-track {
	background-color: #c7c7c7;
}

.contact__privacy::-webkit-scrollbar-thumb {
	background-color:#ee7345;

}

.bl_formConfirm_txt{text-align:center;margin-bottom:2em;}

@media (min-width: 768px) {

	.bl_form_group {
		font-size:clamp(14px,1.6vw,16px);
		align-items: start;
		display: grid;
		gap: 3%;
		grid-template-columns: 31% 1fr;
	}

	.bl_form_label {
		
		margin-block-start: 0.5em;
	}

	.bl_form_radio,
	.bl_form_checkbox {
		grid-auto-flow: column;
	}
}
.bl_con_check span::before {
  content: none; /* ::beforeを無効にする */
}
.bl_con_check span::after {
  content: none; /* ::beforeを無効にする */
}

.thanks_wrap{display: flex;
  flex-direction: column;
	padding:5vh 0;
	
	width:85%;
	max-width:1000px;
	margin:0 auto;
	font-size:clamp(14px,1.6vw,16px);
}
.thanks_wrap h3{
	text-align:center;
		font-size:clamp(18px,2.3vw,23px);
	padding-bottom:18px;
	border-bottom:2px solid #ee7345;
	margin-bottom:20px;
}
.thanks_wrap p{line-height:1.7;}


.page-template-thanks footer{margin-top: auto;}
.con_top_btn a{
	display:block;
	text-align:center;
	background-color: #ee7345;
    color: #FFF;
    width: 90%;
    max-width: 320px;
    border-radius: 40px;
    padding: 18px 0;
margin:0 auto;
margin-top:2.5em;
	text-decoration:none;
}

.pc_footer {
  background-image: image-set(
    url("../../images/footer.webp") type("image/webp"),
    url("../../images/footer.png") type("image/png")
  );
}