/**
 * 慣性スクロール（Lenis）。公式推奨のベースCSSに、
 * #main-content側の速度連動transform用にwill-changeを追加する。
 */
html.lenis,
html.lenis body {
	height: auto;
}

.lenis.lenis-smooth {
	scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
	overflow: hidden;
}

#main-content {
	will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
	#main-content {
		will-change: auto;
	}
}
