.site-footer {
	padding: 0;
	border-top: 0;
}

.footer-main {
	--footer-background-zoom: 1.35;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: #fff;
	background-color: #252525;
}

/* Keep the same crop/zoom while allowing the photo to load near the footer. */
.footer-background {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
	transform: scale(var(--footer-background-zoom));
	transform-origin: center;
}

/* 背景だけを拡大し、ロゴや文字のサイズは保つ。 */
.footer-main::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image: linear-gradient(rgb(0 0 0 / 20%), rgb(0 0 0 / 20%));
	background-size: cover;
	background-position: center;
	transform: scale(var(--footer-background-zoom));
	transform-origin: center;
}

.footer-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 480px;
	padding-block: var(--space-2xl);
	text-align: center;
}

.footer-site-name {
	display: inline-block;
	text-decoration: none;
}

.footer-logo {
	width: 80px;
	height: auto;
}

.footer-main a:hover {
	color: #fff;
	text-decoration: underline;
}

.footer-main a:focus-visible {
	outline-color: #fff;
}

.footer-information {
	padding-block: 12px;
	background: rgb(0 0 0 / 35%);
	text-align: center;
}

.footer-information address {
	font-style: normal;
	line-height: 1.8;
}

.footer-information a {
	display: inline-block;
	padding-block: var(--space-xs);
	text-decoration: none;
}

.footer-bottom {
	background: var(--color-background);
}

.footer-nav-band {
	padding-block: var(--space-xs);
}

.footer-copyright-band {
	padding-block: 12px;
	background: #000;
	color: #fff;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--space-sm) var(--space-md);
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu a {
	display: block;
	padding-block: var(--space-xs);
	text-decoration: none;
}

.footer-menu .current-menu-item > a {
	color: var(--color-accent);
	text-decoration: underline;
}

.footer-copyright {
	margin: 0;
	text-align: center;
}

.footer-copyright small {
	font-size: 14px;
}

@media (width < 1120px) {
	.footer-brand {
		min-height: 360px;
		padding-block: var(--space-xl);
	}

	.footer-logo {
		width: 64px;
	}

	.footer-nav-band {
		display: none;
	}
}
