/* =============================================================================
   Component: Footer — dark charcoal, brand + social + legal + copyright
   ========================================================================== */

.tt-footer {
	background: var(--tt-dark);
	color: var(--tt-dark-text);
	padding: clamp(40px, 6vw, 64px) clamp(16px, 5vw, 64px) clamp(20px, 3vw, 32px);
	margin-top: clamp(40px, 6vw, 80px);
}

.tt-footer__inner {
	max-width: var(--container);
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(20px, 4vw, 48px);
	flex-wrap: wrap;
}

/* --- Brand logo ------------------------------------------------------ */

.tt-footer__brand {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(80px, 10vw, 110px);
	aspect-ratio: 222 / 376;
	padding: 6px;
	border: 1px solid var(--tt-dark-line);
	border-radius: 2px;
	text-decoration: none;
	transition: border-color var(--dur-base) var(--ease);
}

.tt-footer__brand:hover,
.tt-footer__brand:focus-visible {
	border-color: rgba(255, 255, 255, 0.4);
}

.tt-footer__brand:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}

.tt-footer__logo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* --- Divider --------------------------------------------------------- */

.tt-footer__divider {
	flex: 0 0 auto;
	width: 1px;
	align-self: stretch;
	background: var(--tt-dark-line);
	min-height: 100px;
}

/* --- Content (social + legal) --------------------------------------- */

.tt-footer__content {
	flex: 0 1 auto;
	display: flex;
	flex-direction: column;
	gap: clamp(12px, 2vw, 20px);
	align-items: flex-start;
}

.tt-footer__social {
	display: flex;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tt-footer__social li {
	margin: 0;
}

.tt-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform var(--dur-fast) var(--ease), opacity var(--dur-base) var(--ease);
}

.tt-footer__social a:hover,
.tt-footer__social a:focus-visible {
	transform: translateY(-2px);
	opacity: 0.85;
}

.tt-footer__social a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
	border-radius: 4px;
}

.tt-footer__social img {
	display: block;
	width: 44px;
	height: 44px;
	object-fit: contain;
}

.tt-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(16px, 3vw, 32px);
	list-style: none;
	margin: 0;
	padding: 0;
}

.tt-footer__legal li {
	margin: 0;
}

.tt-footer__legal a,
.tt-footer__legal a:visited {
	color: var(--tt-dark-text);
	font-family: "Noto Sans JP", sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: color var(--dur-base) var(--ease);
}

.tt-footer__legal a:hover,
.tt-footer__legal a:focus-visible {
	color: #fff;
}

.tt-footer__legal a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
	border-radius: 2px;
}

/* --- Copyright -------------------------------------------------------- */

.tt-footer__copyright {
	text-align: center;
	font-family: "Montserrat", sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--tt-dark-text);
	margin: clamp(24px, 4vw, 40px) 0 0;
}

/* --- Responsive: stack on small screens ----------------------------- */

@media (max-width: 720px) {
	.tt-footer__inner {
		flex-direction: column;
		gap: 24px;
	}

	.tt-footer__divider {
		width: 100%;
		height: 1px;
		min-height: 0;
	}

	.tt-footer__content {
		align-items: center;
	}

	.tt-footer__legal {
		justify-content: center;
	}
}
