/* =========================================
   お問い合わせフォーム スタイル
   inquiry-form.css
========================================= */

/* =========================================
   CTAボタン行
========================================= */
.contact-cta-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 16px;
	margin-bottom: 40px;
}

/* 各CTAボックス共通 */
.contact-cta {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 18px 20px;
	border-radius: 6px;
	text-decoration: none;
	box-sizing: border-box;
	min-height: 100px;
}

/* 電話ボックス */
.contact-cta--phone {
	background: #ed6416;
	color: #fff;
}

/* LINE / 予約ボックス */
.contact-cta--line,
.contact-cta--booking {
	background: #fff;
	border: 1px solid #d0d5dd;
	color: #1a1a1a;
	transition: border-color 0.2s ease;
}

.contact-cta--line:hover,
.contact-cta--booking:hover {
	border-color: #ed6416;
}

/* kicker（上部小テキスト） */
.contact-cta__kicker {
	display: block;
	margin: 0 0 6px;
	font-size: 11px;
	line-height: 1.4;
}

.contact-cta--phone .contact-cta__kicker {
	color: rgba(255, 255, 255, 0.75);
}

.contact-cta--line .contact-cta__kicker,
.contact-cta--booking .contact-cta__kicker {
	color: #ed6416;
}

/* メインテキスト */
.contact-cta__main {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	color: #ed6416;
}

.contact-cta--phone .contact-cta__main {
	color: #fff;
}

/* 電話番号リンク */
.contact-cta__main--phone {
	color: #fff;
	text-decoration: none;
}

/* サブテキスト（下部） */
.contact-cta__sub {
	display: block;
	margin: 0;
	color: #ed6416;
	font-size: 12px;
	line-height: 1.4;
}

/* 注記テキスト（電話） */
.contact-cta__note {
	margin: 4px 0 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 11px;
	line-height: 1.5;
}

/* =========================================
   フォームラッパー
========================================= */
.contact-form-wrap {
	margin: 0 auto;
	padding: 0;
	background: #fff;
	box-sizing: border-box;
}

/* CF7が挿入する余分なbrを非表示 */
.contact-form-wrap br {
	display: none;
}

.contact-form-wrap .wpcf7-form > br {
	display: none;
}

/* =========================================
   イントロ文
========================================= */
.contact-form-intro {
	width: auto !important;
	max-width: 700px;
}

.contact-form-intro br {
	display: inline;
}

/* =========================================
   スコープ注記ボックス
========================================= */
.contact-scope-note {
	margin: 0 0 32px;
	padding: 16px 20px;
	background: #f5f7fa;
	border-left: 4px solid #ed6416;
	color: #444;
	font-size: 13px;
	line-height: 1.8;
	box-sizing: border-box;
}

/* =========================================
   フィールド共通
========================================= */
.contact-field {
	margin-bottom: 24px;
}

.contact-field--wide {
	width: 100%;
}

/* =========================================
   フィールドラベル
========================================= */
.contact-field__label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

/* =========================================
   必須・任意バッジ
========================================= */
.contact-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	padding: 4px 8px;
	font-weight: 700;
	line-height: 1;
	border-radius: 2px;
	white-space: nowrap;
	margin-top: -4px;
}

.contact-badge--req {
	background: #e07020;
	color: #fff;
}

.contact-badge--opt {
	background: #999;
	color: #fff;
}

/* =========================================
   フィールドコントロール（入力欄ラッパー）
========================================= */
.contact-field__control {
	width: 100%;
}

/* CF7が生成するwrap spanをブロック化 */
.contact-field__control .wpcf7-form-control-wrap {
	display: block;
}

/* =========================================
   テキスト・メール・電話 入力欄
========================================= */
.contact-field__control input[type="text"],
.contact-field__control input[type="email"],
.contact-field__control input[type="tel"] {
	display: block;
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid #d0d5dd;
	border-radius: 4px;
	background: #fff;
	color: #333;
	font-size: 15px;
	outline: none;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
}

.contact-field__control input[type="text"]:focus,
.contact-field__control input[type="email"]:focus,
.contact-field__control input[type="tel"]:focus {
	border-color: #ed6416;
	background: #fff;
}

.contact-field__control input::placeholder {
	color: #aaa;
}

.contact-form-intro {
	text-align: center;
	width: 600px;
	font-size: 16px;
	margin: 32px auto;
}

/* =========================================
   テキストエリア
========================================= */
.contact-field__control textarea,
.contact-field__control .contact-message {
	display: block;
	width: 100%;
	min-height: 140px;
	padding: 12px 14px;
	border: 1px solid #d0d5dd;
	border-radius: 4px;
	background: #fff;
	color: #333;
	font-size: 15px;
	line-height: 1.7;
	outline: none;
	resize: vertical;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
}

.contact-field__control textarea:focus {
	border-color: #ed6416;
}

.contact-field__control textarea::placeholder {
	color: #aaa;
}

/* =========================================
   フィールドヒント（注記テキスト）
========================================= */
.contact-field__hint {
	margin: 6px 0 0;
	color: #888;
	font-size: 12px;
	line-height: 1.6;
}

/* =========================================
   2カラム行
========================================= */
.contact-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-bottom: 0;
}

.contact-row .contact-field {
	margin-bottom: 24px;
}

/* =========================================
   ラジオボタン（ご相談の種別 / 連絡方法）
========================================= */
.contact-field__control .wpcf7-radio {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.contact-field__control .wpcf7-radio .wpcf7-list-item {
	display: inline-flex;
	align-items: center;
	margin-left: 8px;
}

.contact-field__control .wpcf7-radio .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	color: #333;
	font-size: 14px;
	font-weight: 400;
	cursor: pointer;
}

.contact-field__control .wpcf7-radio input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #ed6416;
	cursor: pointer;
	flex-shrink: 0;
}

/* =========================================
   チェックボックス（現在のご状況）
========================================= */
.check-stack {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.check-stack .wpcf7-checkbox {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.check-stack .wpcf7-list-item {
	display: flex;
	align-items: flex-start;
	margin: 0;
}

.check-stack .wpcf7-list-item label {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	padding: 0;
	color: #333;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	cursor: pointer;
}

.check-stack .wpcf7-list-item input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 2px 0 0;
	accent-color: #ed6416;
	cursor: pointer;
	flex-shrink: 0;
}

/* =========================================
   郵便番号エリア
========================================= */
.contact-field__control--zip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.contact-field__control--zip .wpcf7-form-control-wrap {
	display: inline-block;
	width: auto;
}

.contact-field__control--zip input[type="tel"] {
	width: 140px;
	height: 40px;
}

.contact-zip-btn {
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 16px;
	border: 1px solid #ed6416;
	border-radius: 4px;
	background: #fff;
	color: #ed6416;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.contact-zip-btn:hover {
	background: #ed6416;
	color: #fff;
}

.contact-zip-hint {
	width: 100%;
	margin: 4px 0 0;
	color: #888;
	font-size: 12px;
}

/* =========================================
   送信前メモ
========================================= */
.contact-confirm-note {
	margin: 8px 0 24px;
	color: #555;
	font-size: 13px;
	line-height: 1.9;
}

.contact-confirm-note br {
	display: inline;
}

/* =========================================
   プライバシーポリシー同意
========================================= */
.contact-privacy {
	margin: 0 0 28px;
	text-align: center;
}

.contact-privacy__text {
	margin-bottom: 10px;
	color: #555;
	font-size: 13px;
	line-height: 1.7;
}

.contact-privacy__link {
	color: #ed6416;
	text-decoration: underline;
}

.contact-privacy__checkbox .wpcf7-list-item {
	margin: 0;
}

.contact-privacy__checkbox .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #333;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.contact-privacy__checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #ed6416;
	cursor: pointer;
}

/* =========================================
   送信前保証テキスト
========================================= */
.contact-assurance {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.contact-assurance li {
	color: #555;
	font-size: 13px;
	line-height: 1.7;
}

/* =========================================
   送信ボタン
========================================= */
.contact-submit {
	margin-bottom: 24px;
}

.contact-submit .wpcf7-form-control-wrap {
	display: block;
}

.contact-submit-btn,
.contact-submit input[type="submit"] {
	display: block;
	width: 100%;
	max-width: 400px;
	height: 60px;
	margin: 0 auto;
	padding: 0 20px;
	border: none;
	border-radius: 4px;
	background: #ed6416;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: opacity 0.2s ease;
	box-sizing: border-box;
}

.contact-submit-btn:hover,
.contact-submit input[type="submit"]:hover {
	opacity: 0.88;
}

/* =========================================
   reCAPTCHA文言
========================================= */
.recaptcha_policy {
	margin: 20px 0 0;
	color: #888;
	font-size: 12px;
	line-height: 1.7;
	text-align: center;
}

.recaptcha_policy a {
	color: #ed6416;
	text-decoration: underline;
}

/* =========================================
   バリデーションエラー
========================================= */
.wpcf7-not-valid-tip {
	display: block;
	margin-top: 4px;
	color: #c0392b;
	font-size: 12px;
}

.wpcf7-not-valid {
	border-color: #c0392b !important;
}

.wpcf7-response-output {
	margin: 12px 0 0;
	padding: 12px 16px;
	border-radius: 4px;
	font-size: 14px;
	text-align: center;
}


/* =========================================
   面談予約フォーム ヘッダー
========================================= */
.booking-form-title {
	font-size: 22px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 10px;
}

.booking-form-lead {
	font-size: 14px;
	color: #555;
	line-height: 1.7;
	margin: 0 0 20px;
}

.booking-form-notice {
	margin: 0 0 32px;
	padding: 14px 18px;
	background: #f0f5fb;
	border-left: 4px solid #ed6416;
	color: #333;
	font-size: 14px;
	line-height: 1.7;
	box-sizing: border-box;
}

/* =========================================
   select ラッパー（ドロップダウン矢印）
========================================= */
.contact-select-wrap {
	position: relative;
}

.contact-select-wrap::after {
	content: "";
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 10px;
	height: 6px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	pointer-events: none;
	z-index: 1;
}

.contact-select-wrap .wpcf7-form-control-wrap {
	display: block;
}

.contact-select-wrap select {
	display: block;
	width: 100%;
	height: 48px;
	padding: 0 36px 0 14px;
	border: 1px solid #d0d5dd;
	border-radius: 4px;
	background: #fff;
	color: #333;
	font-size: 15px;
	outline: none;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.contact-select-wrap select:focus {
	border-color: #ed6416;
}

/* =========================================
   date 入力欄
========================================= */
.contact-field__control input[type="date"],
.booking-date-row__date input[type="date"] {
	display: block;
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid #d0d5dd;
	border-radius: 4px;
	background: #fff;
	color: #333;
	font-size: 15px;
	outline: none;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
}

.contact-field__control input[type="date"]:focus,
.booking-date-row__date input[type="date"]:focus {
	border-color: #ed6416;
}

/* =========================================
   ご希望日時 行
========================================= */
.booking-date-rows {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.booking-date-row {
	display: grid;
	grid-template-columns: 80px 1fr 300px;
	gap: 12px;
	align-items: center;
}

.booking-date-row__label {
	font-size: 14px;
	color: #333;
	font-weight: 500;
	white-space: nowrap;
}

.booking-date-row__date .wpcf7-form-control-wrap {
	display: block;
}

/* =========================================
   注記・送信後テキスト
========================================= */
.booking-form-note {
	margin: 4px 0 28px;
	color: #666;
	font-size: 13px;
	line-height: 1.8;
}

.booking-form-after {
	margin: 10px 0 0;
	color: #888;
	font-size: 13px;
	text-align: center;
}

.contact-field__control--zip input[type="tel"] {
	width: auto;
	max-width: 85%;
	height: 48px;
}

/* =========================================
   スマホ
========================================= */
@media (max-width: 767px) {

	.contact-field__control .wpcf7-radio .wpcf7-list-item {
		margin-left: 8px;
	}

	.contact-cta-row {
		grid-template-columns: 1fr;
		gap: 12px;
		margin-bottom: 28px;
	}

	.contact-cta {
		min-height: auto;
		padding: 16px 18px;
	}

	.contact-cta__main {
		font-size: 20px;
	}

	.contact-form-wrap {
		padding: 28px 20px;
	}

	.contact-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.contact-field__control .wpcf7-radio {
		gap: 10px 14px;
	}

	.contact-submit-btn,
	.contact-submit input[type="submit"] {
		height: 54px;
		font-size: 16px;
	}

	.contact-field__control--zip {
		flex-direction: column;
		align-items: flex-start;
	}

	.booking-form-title {
		font-size: 18px;
	}

	.booking-date-row {
		grid-template-columns: 50px 1fr;
		grid-template-rows: auto auto;
	}

	.booking-date-row__label {
		grid-column: 1;
		grid-row: 1 / span 2;
		align-self: start;
		padding-top: 12px;
	}

	.booking-date-row__date {
		grid-column: 2;
		grid-row: 1;
	}

	.booking-date-row__time {
		grid-column: 2;
		grid-row: 2;
	}

	.contact-field__control--zip {
		width: 70%;
	}


	.contact-field__control--zip .wpcf7-form-control-wrap {
		max-width: 280px;
	}

	.recaptcha_policy {
		max-width: 280px;
		margin: 0 auto
	;
	}
}


@media screen and (min-width: 1024px) {
	.content.contact {
		width: 1200px !important;
	}
}

.wpcf7-radio .wpcf7-list-item + .wpcf7-list-item, .wpcf7-radio .wpcf7-list-item-label {
	font-size: 16px;
	margin-left: 8px;
}


#leago-chatbot-widget-container {
	display: none;
}
