/* =========================================================
   フッター（site-footer）
   Figma node 161:32363。ベージュ帯に「左:キャンセルポリシー／中央:コピーライト／右:SNS」。
   グローバルメニューは入れないシンプル構成。直上のCTA帯と同じベージュのため上部に区切り線。
   ※ 細部余白・レスポンシブは後でまとめて調整。まず構造優先。
   ========================================================= */

.site-footer {
	width: 100%;
	background: var(--bg-beige); /* #eae2d6 */
	border-top: 1px solid var(--color-border-card); /* CTA帯との境界。※Figma画像線のため近似色 */
	padding: 28px 0;
}

/* フッターロゴ（Figma：区切り罫線の下・中央・152×45。ポリシー等の行の上） */
.site-footer__logo {
	display: block;
	width: 152px;
	height: auto;
	margin: 0 auto 24px;
	line-height: 0;
}
.site-footer__logo img {
	display: block;
	width: 100%;
	height: auto;
}

.site-footer__inner {
	/* 幅は共通クラス .l-narrow（740px）。グリッド定義のみ保持 */
	display: grid;
	grid-template-columns: 1fr auto 1fr; /* 左・中央・右 */
	align-items: center;
	gap: 20px;
}

/* 左：キャンセルポリシー（リンク） */
.site-footer__policy {
	justify-self: start;
	font-family: var(--font-mincho);
	font-weight: 600;
	font-size: 16px;
	color: var(--color-text);
	text-decoration: none;
	transition: opacity 0.2s ease;
}
.site-footer__policy:hover {
	opacity: 0.7;
}

/* スマホ（≤599px）：ポリシー文字サイズ。タブレット/PC不変。 */
@media (max-width: 599px) {
	.site-footer__policy { font-size: 13px; }
	/* 追従CTA（下記 .cta-fab）と最下部SNSが重ならないよう、フッター下に余白を確保 */
	.site-footer { padding-bottom: 110px; }
}

/* =========================================================
   スマホ専用 追従CTA（右下・円形）。封筒アイコン＋2行ラベル。
   PC/タブレットでは非表示（ヘッダーCTAがあるため）。/contact/ はPHP側で出力しない。
   ========================================================= */
.cta-fab {
	display: none; /* 既定は非表示。SP（≤599px）でのみ表示 */
}
@media (max-width: 599px) {
	.cta-fab {
		position: fixed;
		right: 16px;
		bottom: 16px;
		z-index: 900; /* コンテンツより前面。sticky ヘッダー(1000)より下＝メニュー展開時は潜る */
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		width: 76px;
		height: 76px;
		border-radius: 50%; /* 正円 */
		background: var(--cta-gradient); /* サイトCTAのオレンジ系グラデ */
		color: var(--bg-white);
		text-decoration: none;
		text-align: center;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
		transition: opacity 0.2s ease;
	}
	.cta-fab:hover,
	.cta-fab:active {
		opacity: 0.92;
	}
	.cta-fab__icon {
		display: block;
		width: 22px;
		height: 22px;
	}
	.cta-fab__label {
		font-family: var(--font-gothic);
		font-weight: 600;
		font-size: 11px;
		line-height: 1.25;
		letter-spacing: 0;
		color: var(--bg-white);
	}
}

/* 中央：コピーライト */
.site-footer__copy {
	justify-self: center;
	margin: 0;
	font-family: var(--font-gothic);
	font-weight: 300;
	font-size: 13px;
	color: var(--color-text);
}

/* 右：SNSアイコン */
.site-footer__sns {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-footer__sns-link {
	display: block;
	width: 50px;
	height: 50px;
	transition: opacity 0.2s ease;
}
.site-footer__sns-link:hover {
	opacity: 0.8;
}
.site-footer__sns-link img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
