@charset "utf-8";
/*
 * Contact Form 7 用スタイル（2026-11 MW WP Form から移行）
 * admin_contact.css の MW WP Form 専用セレクタ（.mw_wp_form / .mw_wp_form_input / .horizontal-item）と
 * 同じ見た目を CF7 のマークアップ（.wpcf7 / .wpcf7-list-item）で再現する。
 * 数値は admin_contact.css / contact.css の該当箇所と同一。
 */

/* フォーム外枠（contact.css で透明・余白なしに上書きされている状態を再現） */
.contents01 .contents01_01 .contents01_01_02 .wpcf7{
	box-sizing: border-box;
	width: 100%;
	height: auto;
	padding: 0;
	margin: 0 auto;
	border-radius: 0;
	background-color: transparent;
	display: block;
}
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form{
	margin: 0;
}

/* 入力欄を包む CF7 のラッパーは箱を作らない（MW 版と同じく入力欄・エラー文が .span02(flex) の直接の子として並ぶ） */
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 table tr td .block .span02 .wpcf7-form-control-wrap{
	display: contents;
}

/* 個人情報保護方針 */
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02{
	width: 100%;
	height: auto;
	font-size: 0;
	line-height: 0;
	color: #0D0D0D;
	margin: 0 auto 60px;
	text-align: left;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
}
@media only screen and (max-width: 767px){
	.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02{
		margin: 0 auto 40px;
	}
}
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02 .wpcf7-form-control-wrap,
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02 .wpcf7-acceptance{
	margin: 0;
	display: block;
}
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02 .wpcf7-list-item{
	width: auto;
	height: auto;
	margin: 0 8px 0 0;
	text-align: center;
	display: block;
}
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02 .wpcf7-list-item label{
	width: auto;
	height: auto;
	margin: 0 auto;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
}
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02 .wpcf7-list-item label span{
	width: auto;
	height: auto;
	margin: 0;
	font-size: 0;
	line-height: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02 .wpcf7-list-item label span::before{
	box-sizing: border-box;
	content: '';
	width: 24px;
	height: 24px;
	margin: 0;
	border-radius: 5px;
	border: 1px solid #9D9D9D;
	background-color: #ffffff;
	display: block;
	flex-shrink: 0;
}
@media only screen and (max-width: 767px){
	.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02 .wpcf7-list-item label span::before{
		width: 20px;
		height: 20px;
	}
}
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02 .wpcf7-list-item label input + span::after{
	content: '';
	width: 12px;
	height: 6px;
	border-left: 3px solid #434343;
	border-bottom: 3px solid #434343;
	-webkit-transform: rotate(-45deg) scaleX(0);
	transform: rotate(-45deg) scaleX(0);
	transform-origin: left;
	display: block;
	position: absolute;
	top: 0;
	bottom: -8px;
	left: 7px;
	right: auto;
	margin: auto;
	transition: transform 0.125s ease-in-out;
}
@media only screen and (max-width: 767px){
	.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02 .wpcf7-list-item label input + span::after{
		width: 10px;
		height: 4px;
		border-left: 3px solid #434343;
		border-bottom: 3px solid #434343;
		bottom: -6px;
		left: 5px;
	}
}
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02 .wpcf7-list-item label input:checked + span::after{
	transform: rotate(-45deg) scaleX(1);
}
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02 .text02_01{
	margin: 0;
	font-size: 14px;
	line-height: 24px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}
@media only screen and (max-width: 767px){
	.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02 .text02_01{
		font-size: 13px;
		line-height: 23px;
	}
}
@media only screen and (max-width: 360px){
	.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02 .text02_01{
		font-size: 10px;
		line-height: 20px;
	}
}
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02 .text02_01 a{
	font-size: 14px;
	line-height: 24px;
	text-decoration: underline;
	color: #007991;
}
@media only screen and (max-width: 767px){
	.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02 .text02_01 a{
		font-size: 13px;
		line-height: 23px;
	}
}
@media only screen and (max-width: 360px){
	.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02 .text02_01 a{
		font-size: 10px;
		line-height: 20px;
	}
}
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02 .text02_01 .text02_01_01{
	width: auto;
	height: auto;
	padding: 0;
	margin: 0 0 0 10px;
	font-size: 12px;
	line-height: 14px;
	color: #CC0909;
	background-color: transparent;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	flex-shrink: 0;
}
@media only screen and (max-width: 360px){
	.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02 .text02_01 .text02_01_01{
		margin: 0 0 0 5px;
	}
}
/* 同意チェックのエラー表示は改行して下に出す（MW版と同じ位置） */
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02 .error,
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .text02 .wpcf7-not-valid-tip{
	flex-basis: 100%;
}

/* Turnstile ウィジェット（送信ボタンの上・中央） */
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .wpcf7-turnstile{
	margin: 0 auto 30px;
	display: flex;
	justify-content: center;
}

/* 送信ボタン：input[type=submit] でも <button> と同じ見た目にする */
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .send .button{
	-webkit-appearance: none;
	appearance: none;
	border: none;
}
/* 送信中スピナー：レイアウトに影響しないようボタン下に重ねて表示 */
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .send{
	position: relative;
}
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .form_01 .send .wpcf7-spinner{
	margin: 12px 0 0 -12px;
	position: absolute;
	top: 100%;
	left: 50%;
}

/* CF7 のエラー表示（サーバー側検証・JS無効時）をテーマのエラー表示と同じ見た目に */
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .wpcf7-not-valid-tip{
	width: 100%;
	margin: 5px 0 0;
	font-size: 13px;
	line-height: 23px;
	color: #B70000;
	display: block;
}
/* テーマJSのエラーが既に出ている項目では CF7 側の重複表示を隠す */
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .error ~ .wpcf7-not-valid-tip{
	display: none;
}

/* 送信結果メッセージ（送信失敗・スパム判定時など） */
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form .wpcf7-response-output{
	box-sizing: border-box;
	width: 100%;
	max-width: 600px;
	margin: 30px auto 0;
	padding: 12px 16px;
	font-size: 14px;
	line-height: 24px;
	text-align: center;
}
.contents01 .contents01_01 .contents01_01_02 .wpcf7 form.sent .wpcf7-response-output{
	display: none;
}
