/**
 * Lilac Layout
 * 共通フッター
 */

.lilac-layout-footer,
.lilac-layout-footer * {
	box-sizing: border-box;
}

.lilac-layout-footer {
	width: 100%;
	margin: 0;
	padding: clamp(52px, 6vw, 88px) clamp(16px, 4vw, 48px) 0;
	color: #4f4759;
	background:
		linear-gradient(
			135deg,
			#fbf9ff 0%,
			#ffffff 50%,
			#f5f9ff 100%
		);
	border-top: 1px solid rgba(118, 83, 166, 0.12);
}

.lilac-layout-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: clamp(36px, 6vw, 84px);
	width: min(100%, 1180px);
	margin: 0 auto;
}

.lilac-layout-footer__brand {
	min-width: 0;
}

.lilac-layout-footer__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(22px, 3vw, 40px);
}

.lilac-layout-footer__logo {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center;
}

.lilac-layout-footer__logo--company {
	max-height: clamp(50px, 5vw, 72px);
}

.lilac-layout-footer__logo--lifeup {
	max-height: clamp(42px, 4.4vw, 64px);
}

.lilac-layout-footer__message {
	margin: clamp(24px, 3vw, 34px) 0 0;
	font-size: clamp(14px, 1.2vw, 16px);
	line-height: 1.95;
}

.lilac-layout-footer__navigation {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 36px);
}

.lilac-layout-footer__nav-group {
	display: flex;
	flex-direction: column;
	gap: 11px;
	min-width: 0;
}

.lilac-layout-footer__nav-title {
	margin: 0 0 5px;
	color: #7653a6;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.5;
}

.lilac-layout-footer__nav-group a {
	color: #554e5e;
	font-size: 14px;
	line-height: 1.7;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.lilac-layout-footer__nav-group a:hover,
.lilac-layout-footer__nav-group a:focus-visible {
	color: #7653a6;
	opacity: 0.86;
}

.lilac-layout-footer__nav-group a:focus-visible {
	outline: 2px solid rgba(118, 83, 166, 0.28);
	outline-offset: 4px;
	border-radius: 3px;
}

.lilac-layout-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: min(100%, 1180px);
	margin: clamp(40px, 5vw, 64px) auto 0;
	padding: 20px 0;
	border-top: 1px solid rgba(118, 83, 166, 0.12);
}

.lilac-layout-footer__company,
.lilac-layout-footer__copyright {
	margin: 0;
	font-size: 12px;
	line-height: 1.7;
}

.lilac-layout-footer__company {
	font-weight: 700;
	letter-spacing: 0.04em;
}

@media screen and (max-width: 900px) {
	.lilac-layout-footer__inner {
		grid-template-columns: 1fr;
	}

	.lilac-layout-footer__navigation {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media screen and (max-width: 600px) {
	.lilac-layout-footer {
		padding-top: 48px;
	}

	.lilac-layout-footer__logos {
		flex-direction: column;
		align-items: flex-start;
		gap: 22px;
	}

	.lilac-layout-footer__logo--company {
		width: min(100%, 250px);
		max-height: none;
	}

	.lilac-layout-footer__logo--lifeup {
		width: min(100%, 270px);
		max-height: none;
	}

	.lilac-layout-footer__navigation {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.lilac-layout-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
}
