/* Shared footer. Figma 1681:10392 (1920) and 1707:12779, 1707:13257, 1707:13496 (1320/768/375). */
.site-footer {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: clamp(40px, calc((100vw - 1320px) * .0667 + 40px), 80px) clamp(64px, calc((100vw - 1320px) * .0933 + 64px), 120px);
	background: #f6f6f6;
	font-family: "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
}

.site-footer a {
	transition: opacity .2s;
}

.site-footer a:hover {
	opacity: .7;
}

.site-footer__info {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
	padding-bottom: 40px;
	border-bottom: 1px solid #e5e7eb;
}

.site-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 360px;
}

.site-footer__logo {
	width: 44px;
	height: 44px;
}

.site-footer__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.site-footer__name {
	margin: 0;
	color: #111827;
	font: 800 16px / normal "M PLUS 1p", sans-serif;
}

/* The site's キャッチフレーズ (Settings > General). */
.site-footer__tagline {
	margin: 0;
	color: #6b7280;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.7;
	/* Break between Japanese phrases and even out the lines, so no lone character wraps. */
	word-break: auto-phrase;
	text-wrap: balance;
}

.site-footer__links {
	display: flex;
	gap: 64px;
	font-size: 13px;
	font-weight: 700;
}

.site-footer__group {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.site-footer__heading {
	margin: 0;
	color: #111827;
	font-size: 13px;
	font-weight: 700;
	line-height: normal;
}

.site-footer__group a {
	color: #6b7280;
	white-space: nowrap;
}

.site-footer__follow {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
}

.site-footer__heading--follow {
	font-size: 14px;
}

.site-footer__social {
	display: flex;
	gap: 12px;
}

/* Official Instagram glyph and X logo in black, at Instagram's minimum 29px with clear
   space of half the glyph (14.5px) on every side inside the box: 29 + 14.5 x 2 + 1px borders. */
.site-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	background: #fff;
}

.site-footer__social img {
	width: 29px;
	height: 29px;
}

.site-footer__legal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	color: #6b7280;
	font-size: 12px;
	font-weight: 700;
}

.site-footer__legal small {
	font-size: inherit;
	line-height: 1.6;
}

.site-footer__legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

@media (max-width: 1320px) {
	.site-footer {
		gap: 32px;
	}

	.site-footer__info {
		padding-bottom: 32px;
	}

	.site-footer__brand {
		width: 280px;
	}

	.site-footer__links {
		flex: 1;
		gap: 24px;
	}

	.site-footer__group {
		flex: 1;
		gap: 12px;
	}

	.site-footer__group a {
		line-height: 1.6;
		white-space: normal;
	}

	.site-footer__follow {
		align-items: flex-start;
	}
}

@media (max-width: 1024px) {
	.site-footer {
		padding: 40px 16px;
	}

	.site-footer__info {
		flex-direction: column;
	}

	.site-footer__brand,
	.site-footer__links {
		width: 100%;
	}
}

@media (max-width: 767px) {
	.site-footer__links {
		flex-direction: column;
	}

	.site-footer__legal {
		flex-direction: column;
		align-items: flex-start;
	}
}
