:root {
	--c-bg: #0b0d12; /* 少し濃い目の色に変更 */
	--c-text-main: #f0f2f5;
	--c-text-sub: #94a3b8;
	--c-accent: #d4af37; /* Gold */
	--c-accent-rgb: 212, 175, 55;
	--font-mincho: "Shippori Mincho", serif;
	--font-gothic: "Zen Kaku Gothic New", sans-serif;
	--ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
	--spacing-section: clamp(80px, 12vw, 160px);
}

body,
html {
	margin: 0;
	padding: 0;
	background-color: var(--c-bg);
	color: var(--c-text-main);
	font-family: var(--font-gothic);
	overflow-x: hidden;
	width: 100%;
}

/* WebGPU Canvas */
#canvas {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none; /* マウスイベントを通過させる */
}

.u-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 5vw;
	position: relative;
	z-index: 1;
}

/* --- BEM Components --- */
.hero {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
}
.hero__year {
	position: absolute;
	font-family: var(--font-mincho);
	font-size: 25vw;
	font-weight: 800;
	opacity: 0.05;
	z-index: -1;
	user-select: none;
	mix-blend-mode: overlay;
}
.hero__content {
	z-index: 2;
}
.hero__title {
	font-family: var(--font-mincho);
	font-size: clamp(2.5rem, 8vw, 5.5rem);
	line-height: 1.2;
	margin-bottom: 1.5rem;
	letter-spacing: 0.1em;
	background: linear-gradient(to bottom, #fff, var(--c-accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.section {
	padding: var(--spacing-section) 0;
}
.section__header {
	text-align: center;
	margin-bottom: 4rem;
	border-bottom: 3px solid var(--c-accent);
}
.section__title {
	font-family: var(--font-mincho);
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.swiper {
	width: 90%;
	max-width: 400px;
}
.card {
	max-width: 400px;
	background: rgba(20, 25, 30, 1);
	border: 1px solid rgba(255, 255, 255, 0.08);
	padding: 2rem;
	border-radius: 8px;
	transition: all 0.5s var(--ease-out-expo);
}
.card:hover {
	border-color: var(--c-accent);
}
.card__title {
	font-family: var(--font-mincho);
	font-size: 1.4rem;
	margin-top: 0;
	margin-bottom: 1rem;
	color: var(--c-accent);
}

.theme-kanji {
	font-family: var(--font-mincho);
	font-size: clamp(8rem, 20vw, 15rem);
	color: var(--c-accent);
	text-align: center;
	opacity: 0.8;
	filter: drop-shadow(0 0 30px rgba(var(--c-accent-rgb), 0.3));
}

.section__copy {
	text-align: center;
	max-width: 600px;
	margin: 0 auto; 
}

.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: all 1s var(--ease-out-expo);
}
.reveal.active {
	opacity: 1;
	transform: translateY(0);
}

.footer {
	padding: 4rem 0;
	text-align: center;
	font-size: 0.9rem;
	color: var(--c-text-sub);
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	background: rgba(0, 0, 0, 0.3);
}

img {
	max-width: 100%;
}

.newyear-2026 img[src$="newyear-54.webp"] {
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

p {
	margin-top: 1em;
	margin-bottom: 1em;
}

.section--closing {
	text-align: center;
}
.closing__message {
	font-family: var(--font-mincho);
	font-size: 1.5rem;
	line-height: 1.8;
}

.closing__date {
	margin-top: 3rem;
	opacity: 0.6;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}
