/*--------------------------------------------------------------
# Site Footer
--------------------------------------------------------------*/

.site-footer {
	background: var(--footer-bg);
	color: var(--text-muted);
}

/* Remove _s default site-info styles */
.site-info {
	display: none;
}

.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
}

.footer-branding .site-title a {
	font-size: 1rem;
	font-weight: 800;
	color: var(--footer-text);
	letter-spacing: -0.02em;
}

.footer-tagline {
	margin: 0.35rem 0 0;
	font-size: 12px;
	color: var(--footer-text);
}

.copyright {
	font-size: 12px;
	color: var(--footer-text);
	margin: 0;
}

/* ---- Footer (redesign) ---- */
.site-footer {
	background: var(--footer-bg);
	padding: 80px 0 56px;
}
.footer-inner {
	display: flex;
	flex-direction: column;
	gap: 64px;
}
.footer-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 80px;
	max-width: 1200px;
	width: 100%;
}
.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 340px;
	flex-shrink: 0;
}
.footer-logo {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 700;
	color: var(--footer-text);
	margin: 0;
}
.footer-logo-image {
	display: block;
	max-height: 32px;
	width: auto;
}
.footer-tagline {
	font-size: 14px;
	color: var(--footer-text);
	margin: 0;
}

.footer-cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 8px;
}
.footer-cta__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	color: var(--footer-text);
}
.footer-cta__badge::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
	flex-shrink: 0;
}
.footer-cta__title {
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 700;
	color: var(--footer-text);
	margin: 0;
}
.footer-cta__desc {
	font-size: 13px;
	color: var(--footer-text);
	opacity: 0.75;
	line-height: 1.7;
	margin: 0;
}
.footer-cta__btns {
	display: flex;
	width: 100%;
	gap: 10px;
	margin-top: 4px;
}
.footer-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	min-width: 0;
	padding: 10px 24px;
	font-size: 14px;
	font-weight: 600;
	border-radius: 4px;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s, color 0.2s;
}
.footer-cta__btn--primary {
	background: var(--accent);
	color: var(--btn-text, #fff);
}
.footer-cta__btn--primary:hover {
	background: var(--accent-hover);
	color: var(--btn-text, #fff);
}
.footer-cta__btn--outline {
	background: transparent;
	color: var(--footer-text);
	border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.footer-cta__btn--outline:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.7);
	color: var(--footer-text);
}

.footer-links {
	display: flex;
	gap: 80px;
}
.footer-col {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.footer-col__hd {
	font-size: 14px;
	font-weight: 700;
	color: var(--footer-text);
	margin: 0;
}
.footer-col__hd a {
	color: inherit;
	text-decoration: none;
}
.footer-col__hd a:hover {
	color: var(--accent);
}
.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.footer-col ul a {
	font-size: 14px;
	color: var(--footer-text);
	text-decoration: none;
	transition: color 0.15s;
	opacity: 0.75;
}
.footer-col ul a:hover { opacity: 1; color: var(--accent); }
.footer-bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding-top: 32px;
	border-top: 1px solid #1f2937;
}
.copyright {
	font-size: 12px;
	color: var(--footer-text);
	opacity: 0.6;
	margin: 0;
}
.footer-legal {
	display: flex;
	gap: 24px;
}
.footer-legal__list {
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.footer-legal a {
	font-size: 12px;
	color: var(--footer-text);
	opacity: 0.6;
	text-decoration: none;
	transition: color 0.15s, opacity 0.15s;
}
.footer-legal a:hover { color: var(--accent); opacity: 1; }

/* ---- 幅が1200px以下: footer-topのflexを解除 ---- */
@media (max-width: 1200px) {
	.footer-top {
		display: block;
	}
	.footer-brand {
		margin-bottom: 40px;
	}
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
	.site-footer { padding: 40px 0 32px; }
	.footer-inner { gap: 32px; padding: 0 20px; }
	.footer-top { flex-direction: column; gap: 24px; }
	.footer-logo { font-size: 16px; }
	.footer-tagline { font-size: 12px; }
	.footer-brand { max-width: none; width: 100%; margin-bottom: 24px; }

	.footer-cta { padding: 16px; gap: 8px; }
	.footer-cta__badge { font-size: 11px; }
	.footer-cta__title { font-size: 16px; }
	.footer-cta__desc { font-size: 12px; }
	.footer-cta__btns { flex-direction: column; align-items: stretch; margin-top: 2px; }
	.footer-cta__btn { flex: none; width: 100%; padding: 10px 24px; font-size: 13px; }

	/* リンク: 2カラムグリッド */
	.footer-links {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 24px 16px;
	}
	.footer-col { gap: 10px; }
	.footer-col__hd { font-size: 12px; white-space: nowrap; }
	.footer-col ul {
		display: flex;
		gap: 8px;
	}
	.footer-col ul a { font-size: 12px; }

	/* 下部: 著作権と法的リンクの間隔を詰める */
	.footer-bottom {
		gap: 8px;
	}
	.copyright { font-size: 11px; }
	.footer-legal { gap: 16px; }
	.footer-legal__list { gap: 16px; }
	.footer-legal a { font-size: 11px; white-space: nowrap; }
}
