/* ============================================================
   スティッキー切り替えセクション(Works)
   左半分: position:sticky のタイトル + 説明
   右半分: スクロールで切り替わる作品一覧
   ============================================================ */
.sticky-switch {
	background: #ffffff;
	padding: 120px 0;
	color: var(--ink);
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

.sticky-switch__wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 48px;
	gap: 80px;
}

/* 左側: スティッキー固定 */
.sticky-switch__left {
	position: sticky;
	top: 120px;
	height: calc(100vh - 200px);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.sticky-switch__eyebrow {
	font-size: 11px;
	letter-spacing: 0.3em;
	color: var(--accent);    /* テーマカラー(森の緑) */
	margin-bottom: 24px;
	text-transform: uppercase;
}

.sticky-switch__title {
	position: relative;
	display: block;
	min-height: 1.2em;
	font-size: clamp(36px, 5vw, 64px);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.06em;
	margin-bottom: 28px;
	color: var(--ink);
}

.sticky-switch__title span {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.sticky-switch__title span.is-active {
	opacity: 1;
	transform: translateY(0);
	position: relative;
}

.sticky-switch__desc {
	font-size: 15px;
	line-height: 2.0;
	color: var(--ink-soft);
	max-width: 420px;
	transition: opacity 0.4s ease;
}

/* 右側: スクロールコンテンツ */
.sticky-switch__right {
	padding: 80px 0;
}

.sticky-switch__item {
	margin-bottom: 120px;
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.sticky-switch__item:last-child {
	margin-bottom: 0;
}

.sticky-switch__item.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.sticky-switch__image {
	aspect-ratio: 4/3;
	background: var(--bg-soft);
	margin-bottom: 24px;
	position: relative;
	overflow: hidden;
	border-radius: 2px;
}

.sticky-switch__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sticky-switch__meta {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	letter-spacing: 0.2em;
	color: var(--ink-soft);
	text-transform: uppercase;
	margin-bottom: 12px;
}

.sticky-switch__work-title {
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 8px;
	letter-spacing: 0.06em;
	color: var(--ink);
}

.sticky-switch__work-desc {
	font-size: 14px;
	color: var(--ink-soft);
	line-height: 1.9;
}

/* ============ レスポンシブ ============ */
@media (max-width: 768px) {
	.sticky-switch { padding: 80px 0; }

	.sticky-switch__wrap {
		grid-template-columns: 1fr;
		padding: 0 24px;
		gap: 40px;
	}

	.sticky-switch__left {
		position: relative;
		top: auto;
		height: auto;
		padding-top: 40px;
	}

	.sticky-switch__right { padding: 0; }

	.sticky-switch__item { margin-bottom: 80px; }
}

/* ============ アクセシビリティ ============ */
@media (prefers-reduced-motion: reduce) {
	.sticky-switch__title span,
	.sticky-switch__desc,
	.sticky-switch__item {
		transition: none;
		opacity: 1;
		transform: none;
	}
	.sticky-switch__title span { position: relative; }
	.sticky-switch__title span:not(.is-active) { display: none; }
}
