/* ============================================================
   footer.css - CONTACT バンド / サイトフッター（全ページ共通）
   ・footer.php のインライン style をここに集約する。
   ============================================================ */

/* ============================================================
   CONTACT バンド
   ============================================================ */
.contact-band {
	border-top: 1px solid var(--line);
	background: var(--brand);
	color: var(--paper);
}
/* 横並びは 900px 以上のみ（末尾のレスポンシブ参照）。
   min-width だけに任せると 560px 付近で 1 行になり窮屈になるため。 */
.contact-band-inner {
	max-width: var(--content-width);
	margin: 0 auto;
	padding: var(--wp--preset--spacing--section) clamp(18px, 4vw, 40px);
	display: flex;
	flex-direction: column;
	gap: var(--gap-md);
	font-weight: 500;
	border-bottom: 1px solid var(--brand-line);
}

.contact-band-text {
	min-width: 0;
}
.contact-band-title {
	font-family: var(--font-serif);
	font-weight: 700;
	font-size: var(--text-lg);
	color: var(--paper);
	line-height: 1.5;
}
.contact-band-lead {
	margin-top: 10px;
	font-size: var(--text-base);
	color: var(--paper);
	font-weight: 500;
}

.contact-band-actions {
	display: flex;
	flex-direction: column;
	gap: var(--gap-md);
	align-items: flex-start;
}
/* 主（お問い合わせフォーム）。塗り／枠線のボタンが縦に並ぶため、
   border 1px 分のズレが出ないよう height で高さを揃える。 */
.contact-band-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--gap-sm);
	height: var(--btn-h);
	padding-inline: var(--wp--preset--spacing--50);
	background: var(--cta);
	color: var(--paper);
	border: 1px solid transparent;
	border-radius: 4px;
	font-weight: 700;
	font-size: var(--text-base);
	width: 100%;
	text-align: center;
}

/* 従（購入導線 2 本）。主導線より近い間隔で束ね、1 かたまりに見せる。 */
.contact-band-subs {
	display: flex;
	flex-direction: column;
	gap: var(--gap-sm);
	width: 100%;
}
.contact-band-sub {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: var(--btn-h);
	padding-inline: var(--wp--preset--spacing--40);
	background: transparent;
	color: var(--paper);
	border: 1px solid var(--border-on-dark);
	border-radius: 4px;
	font-weight: 700;
	font-size: var(--text-sm);
	width: 100%;
	text-align: center;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.contact-band-sub:hover {
	background: var(--paper);
	color: var(--brand);
	border-color: var(--paper);
}
@media (prefers-reduced-motion: reduce) {
	.contact-band-sub {
		transition: none;
	}
}

/* ============================================================
   サイトフッター
   ============================================================ */
.site-footer {
	color: var(--cream);
	background-color: var(--brand);
}
.footer-inner {
	max-width: var(--content-width);
	margin: 0 auto;
	padding: var(--wp--preset--spacing--section) clamp(18px, 4vw, 40px) var(--wp--preset--spacing--40);
}
/* 横並びは 900px 以上のみ（末尾のレスポンシブ参照） */
.footer-top {
	display: flex;
	flex-direction: column;
	gap: var(--gap-lg);
}

/* --- ブランド列 --- */
.footer-brand {
	min-width: 0;
}
.footer-logo {
	display: flex;
	align-items: center;
	gap: var(--gap-sm);
}
.footer-logo-img {
	height: 32px;
	width: auto;
	filter: brightness(0) invert(1); /* 濃紺背景に載せるためロゴを白へ反転 */
}
.footer-logo-text {
	font-family: var(--font-sans);
	font-weight: 700;
	font-size: var(--text-md);
	letter-spacing: .06em;
}
.footer-lead {
	margin-top: 14px;
	font-size: var(--text-sm);
	color: var(--paper);
	line-height: 1.9;
	font-weight: 500;
}
/* --- リンク列（外観 > メニューの「フッターメニュー」） --- */
.footer-cols {
	display: flex;
	flex-wrap: wrap;
	gap: var(--gap-lg);
}
.footer-col {
	min-width: 130px;
}
.footer-col-head {
	font-family: var(--font-en);
	font-size: var(--text-xs);
	letter-spacing: .14em;
	color: var(--paper);
	font-weight: 700;
}
.footer-col-links {
	margin-top: 14px;
	display: flex;
	flex-direction: column;
	gap: var(--gap-sm);
}
.footer-col-links a {
	font-size: var(--text-sm);
	color: var(--paper);
}

/* --- 下部（規約リンク / コピーライト） --- */
.footer-bottom {
	margin-top: clamp(32px, 4vw, 48px);
	padding-top: 22px;
	border-top: 1px solid var(--line-on-dark);
	display: flex;
	flex-wrap: wrap;
	gap: 14px 26px;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}
.footer-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	font-size: var(--text-xs);
	color: var(--paper);
}
.footer-legal a {
	font-weight: 500;
}
.footer-copy {
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	color: var(--paper);
}
.footer-copy-year {
	font-family: var(--font-en);
	font-size: var(--text-xs);
	color: var(--paper);
}

/* --- フッター内リンクのホバー ---
   common.css の .lnk:hover（ブランド色）だと濃紺背景に沈むため、
   白のまま opacity で応答させる。footer.css は common.css より後に
   読み込むので !important は不要。 */
.foot-lnk {
	opacity: 1;
	color: var(--paper);
	transition: opacity .2s;
}
.foot-lnk:hover {
	opacity: .9;
	color: var(--paper);
}

/* ============================================================
   レスポンシブ
   900px 未満は縦積み。min-width 任せだと 560px 付近で 1 行になり
   窮屈だったため、横並びの開始位置を明示している。
   ============================================================ */
@media (min-width: 900px) {
	.contact-band-inner {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
	}
	.contact-band-text {
		flex: 6.5 1 0;
		min-width: 280px;
	}
	.contact-band-actions {
		flex: 3.5 1 0;
		min-width: 260px;
	}

	.footer-top {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.footer-brand {
		flex: 1 1 240px;
		min-width: 220px;
	}
}
