@charset "UTF-8";

/* ============================================================
   デザイントークン（FAQページと統一）
   ============================================================ */
:root {
	--cr:  #F8F6F1;   /* ベージュ背景 */
	--st:  #F1EFE9;   /* やや濃いベージュ */
	--wh:  #fff;
	--dk:  #141414;   /* ほぼ黒 */
	--ink: #2c2c2c;
	--mid: #555;
	--mute:#999;
	--bd:  #E4E2DC;   /* ボーダー */
	--grn: #81BF5C;
	--grn-d: #4e8a2b;
	--ease: cubic-bezier(.22,1,.36,1);
}

/* ============================================================
   ヒーロー：FAQと同じ2カラムグリッド
   ============================================================ */
.contact-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 480px;
	height: auto;
	position: relative;
	overflow: hidden;
	margin-top: 0;
}

/* 左：テキストエリア */
.contact-hero-l {
	background: var(--cr);
	padding: 72px 48px 72px 64px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* キッカー（小見出し） */
.contact-hero-kicker {
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--mute);
	font-weight: 400;
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.contact-hero-kicker::before {
	content: '';
	width: 24px;
	height: 1px;
	background: var(--mute);
}

/* メイン見出し（明朝体） */
.contact-hero-h1 {
	font-family: 'Noto Serif JP', "游明朝", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", serif !important;
	font-size: clamp(28px, 3.2vw, 50px);
	font-weight: 700;
	line-height: 1.3;
	color: var(--dk);
	margin-bottom: 20px;
	display: block !important;
	visibility: visible !important;
}

/* リード文 */
.contact-hero-lead {
	font-size: 14px;
	font-weight: 300;
	color: var(--mid);
	line-height: 2.1;
	max-width: 380px;
}

/* 右：写真エリア */
.contact-hero-r {
	overflow: hidden;
	position: relative;
}
.contact-hero-r img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}
.contact-hero-ov {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(248,246,241,.25) 0%, transparent 30%);
}

/* ============================================================
   メインコンテンツエリア
   ============================================================ */
.contact-section {
	padding: 72px 0 96px;
}
.contact-inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 24px;
}

/* 2カラムレイアウト */
.contact-layout {
	display: block;
}
.contact-col-main {
	width: 100%;
}
.contact-col-side {
	width: 100%;
	margin-top: 56px;
	padding-top: 56px;
	border-top: 1px solid var(--bd);
}

/* ============================================================
   セクションラベル（—— SEND MESSAGE スタイル）
   ============================================================ */
.contact-section-label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}
.contact-section-line {
	display: block;
	width: 20px;
	height: 1px;
	background: var(--mute);
	flex-shrink: 0;
}
.contact-section-en {
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--mute);
	font-weight: 400;
}

/* セクション見出し（明朝体） */
.contact-heading {
	font-family: 'Noto Serif JP', "游明朝", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", serif;
	font-size: 22px;
	font-weight: 700;
	color: var(--dk);
	line-height: 1.4;
	margin-bottom: 24px;
	display: block;
}

/* ============================================================
   プライバシーポリシー同意エリア
   ============================================================ */
.privacy-section {
	margin-bottom: 28px;
	padding: 18px 0;
	border-top: 1px solid var(--bd);
	border-bottom: 1px solid var(--bd);
}
.privacy-text {
	font-size: 13px;
	line-height: 1.85;
	color: var(--mid);
	margin-bottom: 14px;
	font-weight: 300;
}
.privacy-link {
	color: var(--grn-d);
	text-decoration: underline;
}
.privacy-link:hover {
	text-decoration: none;
}

/* カスタムチェックボックス */
.check-label {
	display: flex;
	align-items: center;
	cursor: pointer;
	gap: 10px;
	user-select: none;
}
.check-label input[type="checkbox"] {
	display: none;
}
.check-box {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	min-width: 20px;
	border: 1px solid #bbb;
	border-radius: 3px;
	background: var(--wh);
	transition: background .2s, border-color .2s;
	position: relative;
}
.check-label input[type="checkbox"]:checked + .check-box {
	background: var(--grn-d);
	border-color: var(--grn-d);
}
.check-label input[type="checkbox"]:checked + .check-box::after {
	content: '';
	display: block;
	width: 5px;
	height: 9px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg) translate(-1px, -1px);
}
.check-text {
	font-size: 13px;
	color: var(--ink);
	line-height: 1.5;
}

/* ============================================================
   フォーム本体
   ============================================================ */
.contact-form-wrap {
	background: var(--cr);
	padding: 32px 24px;
	border-radius: 4px;
}
.contact-form { width: 100%; }

/* フィールド */
.form-field { margin-bottom: 22px; }

/* ラベル */
.form-label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--dk);
	margin-bottom: 8px;
	letter-spacing: .04em;
}

/* 必須・任意バッジ */
.required-mark {
	display: inline-block;
	background: #c0392b;
	color: #fff;
	font-size: 10px;
	font-style: normal;
	font-weight: 400;
	padding: 1px 6px;
	border-radius: 2px;
	letter-spacing: .04em;
	line-height: 1.6;
}
.optional-mark {
	display: inline-block;
	background: #aaa;
	color: #fff;
	font-size: 10px;
	font-style: normal;
	font-weight: 400;
	padding: 1px 6px;
	border-radius: 2px;
	letter-spacing: .04em;
	line-height: 1.6;
}

/* 入力フィールド共通 */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
	display: block;
	width: 100%;
	height: 46px;
	padding: 10px 14px;
	font-size: 15px;
	font-family: Yu Gothic, "游ゴシック", YuGothic, Hiragino Kaku Gothic Pro, Meiryo, sans-serif;
	border: 1px solid var(--bd);
	border-radius: 3px;
	background: var(--wh);
	color: var(--dk);
	box-sizing: border-box;
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none;
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus {
	outline: none;
	border-color: var(--grn-d);
	box-shadow: 0 0 0 3px rgba(78,138,43,.12);
}

/* セレクト */
.select-wrap { position: relative; }
.select-wrap::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 14px;
	width: 0; height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid var(--mid);
	transform: translateY(-50%);
	pointer-events: none;
}
.contact-form select {
	display: block;
	width: 100%;
	height: 46px;
	padding: 10px 40px 10px 14px;
	font-size: 15px;
	font-family: Yu Gothic, "游ゴシック", YuGothic, Hiragino Kaku Gothic Pro, Meiryo, sans-serif;
	border: 1px solid var(--bd);
	border-radius: 3px;
	background: var(--wh);
	color: var(--dk);
	box-sizing: border-box;
	cursor: pointer;
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none;
}
.contact-form select:focus {
	outline: none;
	border-color: var(--grn-d);
	box-shadow: 0 0 0 3px rgba(78,138,43,.12);
}

/* テキストエリア */
.contact-form textarea {
	display: block;
	width: 100%;
	min-height: 140px;
	padding: 12px 14px;
	font-size: 15px;
	font-family: Yu Gothic, "游ゴシック", YuGothic, Hiragino Kaku Gothic Pro, Meiryo, sans-serif;
	border: 1px solid var(--bd);
	border-radius: 3px;
	background: var(--wh);
	color: var(--dk);
	box-sizing: border-box;
	resize: vertical;
	line-height: 1.7;
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none;
}
.contact-form textarea:focus {
	outline: none;
	border-color: var(--grn-d);
	box-shadow: 0 0 0 3px rgba(78,138,43,.12);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: #bbb;
	font-size: 14px;
}

/* 送信ボタン */
.form-submit {
	text-align: center;
	margin-top: 30px;
}
.btn-submit {
	display: inline-block;
	min-width: 220px;
	padding: 15px 48px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .12em;
	color: #fff;
	background: var(--grn-d);
	border: none;
	border-radius: 50px;
	cursor: pointer;
	transition: background .2s, opacity .2s;
}
.btn-submit:hover { background: #3d6e23; opacity: .9; }
.btn-submit:active { transform: scale(.98); }

/* ============================================================
   右カラム：情報
   ============================================================ */
.contact-info-block {
	padding: 18px 0;
	border-bottom: 1px solid var(--bd);
}
.contact-info-block:first-of-type {
	border-top: 1px solid var(--bd);
}
.contact-info-category {
	font-size: 11px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--mute);
	margin-bottom: 6px;
}
.contact-info-value {
	font-size: 14px;
	color: var(--dk);
	line-height: 1.8;
}
.contact-info-value a {
	color: var(--grn-d);
	text-decoration: none;
	transition: opacity .2s;
}
.contact-info-value a:hover {
	opacity: .7;
	text-decoration: underline;
}

/* ============================================================
   送信完了ページ（サンクスページ）
   ============================================================ */
.thanks-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 360px;
	overflow: hidden;
}
.thanks-hero-l {
	background: var(--cr);
	padding: 64px 48px 64px 64px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.thanks-hero-kicker {
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--mute);
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.thanks-hero-kicker::before {
	content: '';
	width: 24px;
	height: 1px;
	background: var(--mute);
}
.thanks-hero-h1 {
	font-family: 'Noto Serif JP', "游明朝", "Yu Mincho", YuMincho, serif !important;
	font-size: clamp(22px, 2.6vw, 38px);
	font-weight: 700;
	line-height: 1.4;
	color: var(--dk);
	display: block !important;
}
.thanks-hero-r {
	overflow: hidden;
	position: relative;
}
.thanks-hero-r img {
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: center top;
}

.thanks-section {
	padding: 72px 0 96px;
}
.thanks-inner {
	max-width: 640px;
	margin: 0 auto;
	padding: 0 24px;
	text-align: center;
}
.thanks-icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 28px;
}
.thanks-icon svg { width: 100%; height: auto; }
.thanks-title {
	font-family: 'Noto Serif JP', "游明朝", "Yu Mincho", YuMincho, serif;
	font-size: 20px;
	font-weight: 700;
	color: var(--dk);
	margin-bottom: 20px;
	line-height: 1.5;
}
.thanks-text {
	font-size: 14px;
	line-height: 2.1;
	color: var(--mid);
	margin-bottom: 14px;
	font-weight: 300;
}
.thanks-note {
	font-size: 12px;
	line-height: 1.9;
	color: var(--mute);
	margin-bottom: 40px;
}
.thanks-btn-home {
	display: inline-block;
	padding: 14px 40px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .1em;
	color: #fff;
	background: var(--grn-d);
	border-radius: 50px;
	text-decoration: none;
	transition: background .2s;
}
.thanks-btn-home:hover { background: #3d6e23; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media screen and (max-width: 900px) {

	/* ヒーロー：縦積み */
	.contact-hero {
		grid-template-columns: 1fr;
		min-height: auto;
	}
	.contact-hero-l {
		padding: 52px 24px 44px;
	}
	.contact-hero-r {
		height: 260px;
	}

	/* サンクスヒーロー：縦積み */
	.thanks-hero {
		grid-template-columns: 1fr;
		min-height: auto;
	}
	.thanks-hero-l { padding: 48px 24px 40px; }
	.thanks-hero-r { height: 220px; }

	/* コンテンツ */
	.contact-inner { padding: 0 20px; }
	.contact-section { padding: 52px 0 72px; }

}

@media screen and (min-width: 900px) {

	/* 2カラムレイアウト */
	.contact-layout {
		display: flex;
		align-items: flex-start;
		gap: 64px;
	}
	.contact-col-main {
		flex: 1;
		min-width: 0;
	}
	.contact-col-side {
		width: 200px;
		min-width: 200px;
		margin-top: 0;
		padding-top: 0;
		border-top: none;
	}

	.contact-form-wrap { padding: 36px 30px; }
	.contact-heading { font-size: 24px; }
	.thanks-title { font-size: 22px; }

}
