/**
 * SOA Theme — 制作実績（シネマティック）専用 CSS
 * v1.9.215
 *
 * コンセプト：「劇場の幕が上がる」「1000 社の物語」
 * デザイン：紺 × 金、ミュージカル級、CG・アニメ・CM の総合舞台
 */

/* ===========================================
 * カラー変数（紺 × 金、デフォルト + 動的）
 * =========================================== */
.wks-page {
	--wks-navy: #0a1628;
	--wks-navy-deep: #050a14;
	--wks-navy-light: #1a2640;
	--wks-gold: #b89968;
	--wks-gold-deep: #957a4f;
	--wks-gold-light: #d4c4a0;
	--wks-bg: #fdfaf3;
	--wks-bg-soft: #f5efe2;
	--wks-text: #1a2332;
	--wks-text-2: #4a5568;
	--wks-text-3: #8c8f93;
	--wks-text-light: #c7c9cc;
	--wks-line: rgba(184, 153, 104, 0.22);

	background: var(--wks-bg);
	color: var(--wks-text);
	font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
	overflow-x: hidden;
}

.wks-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 40px;
}

@media (max-width: 768px) {
	.wks-container { padding: 0 24px; }
}

/* ===========================================
 * PROLOGUE — 劇場の幕（オープニング）
 * v1.9.219: 統計とスクロール促しが被らないレイアウト
 * =========================================== */
.wks-prologue {
	position: relative;
	min-height: 100vh;
	background: var(--wks-navy-deep);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 100px 0 80px;
}

/* 粒子キャンバス（CG 風） */
.wks-prologue__particles {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	opacity: 0.6;
}

/* 劇場のカーテン（左右から開く） */
.wks-prologue__curtain {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 50%;
	background: linear-gradient(180deg,
		rgba(10, 22, 40, 0.95) 0%,
		rgba(5, 10, 20, 1) 50%,
		rgba(10, 22, 40, 0.95) 100%
	);
	z-index: 5;
	pointer-events: none;
	box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.5);
}

.wks-prologue__curtain::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100%;
	background: repeating-linear-gradient(90deg,
		transparent 0px,
		rgba(184, 153, 104, 0.03) 8px,
		transparent 16px
	);
}

.wks-prologue__curtain--left {
	left: 0;
	animation: wks-curtain-left 2.5s cubic-bezier(0.6, 0, 0.3, 1) 0.5s forwards;
}

.wks-prologue__curtain--right {
	right: 0;
	animation: wks-curtain-right 2.5s cubic-bezier(0.6, 0, 0.3, 1) 0.5s forwards;
}

.wks-prologue__curtain--left::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 2px;
	height: 100%;
	background: linear-gradient(180deg, transparent, var(--wks-gold), transparent);
	opacity: 0.6;
}

.wks-prologue__curtain--right::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 2px;
	height: 100%;
	background: linear-gradient(180deg, transparent, var(--wks-gold), transparent);
	opacity: 0.6;
}

@keyframes wks-curtain-left {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-105%); }
}

@keyframes wks-curtain-right {
	0%   { transform: translateX(0); }
	100% { transform: translateX(105%); }
}

/* スポットライト（中央に集まる金色の光） */
.wks-prologue__light {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 1200px;
	height: 1200px;
	background:
		radial-gradient(circle, rgba(184, 153, 104, 0.18) 0%, transparent 40%),
		radial-gradient(circle, rgba(212, 196, 160, 0.08) 30%, transparent 70%);
	pointer-events: none;
	z-index: 2;
	opacity: 0;
	animation: wks-light-on 3s cubic-bezier(0.22, 1, 0.36, 1) 2.5s forwards;
}

@keyframes wks-light-on {
	to { opacity: 1; }
}

.wks-prologue__inner {
	position: relative;
	z-index: 10;
	text-align: center;
	max-width: 1100px;
	padding: 0 24px;
}

/* ACT ラベル */
.wks-prologue__act {
	font-family: 'Inter', -apple-system, sans-serif;
	font-size: 11px;
	letter-spacing: 0.5em;
	color: var(--wks-gold);
	font-weight: 500;
	margin: 0 0 64px;
	opacity: 0;
	animation: wks-fade-in 1.5s cubic-bezier(0.22, 1, 0.36, 1) 3s forwards;
}

/* タイトル「WORKS」— 1 文字ずつ浮上 */
.wks-prologue__title {
	font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
	font-size: clamp(80px, 16vw, 200px);
	font-weight: 400;
	color: var(--wks-gold-light);
	margin: 0 0 32px;
	letter-spacing: 0.15em;
	line-height: 1;
	display: flex;
	justify-content: center;
	gap: 0.05em;
	text-shadow: 0 4px 30px rgba(184, 153, 104, 0.3);
}

.wks-prologue__title-letter {
	display: inline-block;
	opacity: 0;
	transform: translateY(60px) rotateX(-90deg);
	animation: wks-letter-rise 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.wks-prologue__title-letter:nth-child(1) { animation-delay: 3.3s; }
.wks-prologue__title-letter:nth-child(2) { animation-delay: 3.5s; }
.wks-prologue__title-letter:nth-child(3) { animation-delay: 3.7s; }
.wks-prologue__title-letter:nth-child(4) { animation-delay: 3.9s; }
.wks-prologue__title-letter:nth-child(5) { animation-delay: 4.1s; }

@keyframes wks-letter-rise {
	to {
		opacity: 1;
		transform: translateY(0) rotateX(0);
	}
}

.wks-prologue__subtitle {
	font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
	font-size: clamp(20px, 3vw, 32px);
	color: rgba(255, 255, 255, 0.95);
	margin: 0 0 40px;
	letter-spacing: 0.12em;
	font-weight: 400;
	opacity: 0;
	animation: wks-fade-in 2s cubic-bezier(0.22, 1, 0.36, 1) 4.5s forwards;
}

.wks-prologue__lead {
	font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
	font-size: clamp(14px, 1.8vw, 17px);
	color: var(--wks-text-light);
	max-width: 720px;
	margin: 0 auto 80px;
	line-height: 2.1;
	letter-spacing: 0.06em;
	font-weight: 300;
	opacity: 0;
	animation: wks-fade-in 2s cubic-bezier(0.22, 1, 0.36, 1) 5s forwards;
}

@keyframes wks-fade-in {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* 統計（劇場の銘板） */
.wks-prologue__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	max-width: 760px;
	margin: 0 auto;
	padding: 40px 0;
	border-top: 1px solid rgba(184, 153, 104, 0.25);
	border-bottom: 1px solid rgba(184, 153, 104, 0.25);
	opacity: 0;
	animation: wks-fade-in 2s cubic-bezier(0.22, 1, 0.36, 1) 5.5s forwards;
}

@media (max-width: 768px) {
	.wks-prologue__stats {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 32px 0;
	}
}

.wks-prologue__stat {
	text-align: center;
	padding: 0 16px;
	border-right: 1px solid rgba(184, 153, 104, 0.2);
}
.wks-prologue__stat:last-child {
	border-right: 0;
}

@media (max-width: 768px) {
	.wks-prologue__stat {
		border-right: 0;
		border-bottom: 1px solid rgba(184, 153, 104, 0.2);
		padding: 0 0 24px;
	}
	.wks-prologue__stat:last-child {
		border-bottom: 0;
		padding-bottom: 0;
	}
}

.wks-prologue__stat-num {
	display: block;
	font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
	font-size: clamp(34px, 4.5vw, 52px);
	color: var(--wks-gold);
	font-weight: 400;
	line-height: 1;
	margin-bottom: 12px;
	letter-spacing: 0.02em;
}

.wks-prologue__stat-label {
	display: block;
	font-family: 'Inter', -apple-system, sans-serif;
	font-size: 10px;
	letter-spacing: 0.25em;
	color: rgba(255, 255, 255, 0.6);
	text-transform: uppercase;
	font-weight: 500;
}

/* v1.9.219: 数字なしの場合、ラベルが主役（明朝体、品格） */
.wks-prologue__stat-label--poetic {
	font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
	font-size: clamp(16px, 2.2vw, 21px);
	letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.9);
	text-transform: none;
	line-height: 1.7;
	padding: 18px 0;
}

/* スクロール促し（v1.9.222: 経営者は自然にスクロールする、被るくらいなら無し）*/
.wks-prologue__scroll-cue {
	display: none !important;
}

.wks-prologue__scroll-line::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 30%;
	background: var(--wks-gold-light);
	animation: wks-scroll-dot 2.5s ease-in-out infinite;
}

@keyframes wks-scroll-dot {
	0%   { top: 0; opacity: 1; }
	100% { top: 100%; opacity: 0; }
}

/* ===========================================
 * FILTER — 楽器パネル（カテゴリ選択）
 * =========================================== */
.wks-filter-bar {
	background: var(--wks-navy);
	color: #fff;
	padding: 32px 0;
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid rgba(184, 153, 104, 0.15);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	text-align: center;  /* v1.9.292: 子要素を中央寄せ */
}

.wks-filter-bar .wks-container {
	display: flex;
	flex-direction: column;
	align-items: center;  /* v1.9.292: ピル UI を確実に中央 */
}

.wks-filter-bar__label {
	font-family: 'Inter', -apple-system, sans-serif;
	font-size: 11px;
	letter-spacing: 0.3em;
	color: var(--wks-gold);
	font-weight: 500;
	margin: 0 0 20px;
	text-align: center;
}

.wks-filter-bar__nav {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	padding: 6px;
	background: rgba(8, 18, 35, 0.5);
	border: 1px solid rgba(184, 153, 104, 0.25);
	border-radius: 999px;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	max-width: 100%;
	box-sizing: border-box;
	margin: 0 auto;  /* v1.9.292: 確実な中央寄せ */
}

.wks-filter-bar__btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 10px 18px;
	background: transparent;
	border: 0;
	color: rgba(255, 255, 255, 0.75);
	cursor: pointer;
	font-family: 'Inter', -apple-system, sans-serif;
	transition: color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	position: relative;
	border-radius: 999px;
	z-index: 1;
	white-space: nowrap;
	overflow: hidden;
}

.wks-filter-bar__btn::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(184, 153, 104, 0.95), rgba(157, 127, 80, 0.95));
	opacity: 0;
	transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
	z-index: -1;
	border-radius: 999px;
	box-shadow: 0 4px 14px rgba(184, 153, 104, 0.25);
}

.wks-filter-bar__btn:hover {
	color: #ffffff;
}

.wks-filter-bar__btn.is-active {
	color: #0a1628;
}

.wks-filter-bar__btn.is-active::before {
	opacity: 1;
}

.wks-filter-bar__btn-label,
.wks-filter-bar__btn-jp {
	position: relative;
	z-index: 1;
	display: block;
}

.wks-filter-bar__btn-label {
	font-size: 11px;
	letter-spacing: 0.22em;
	font-weight: 600;
	line-height: 1.3;
}

.wks-filter-bar__btn-jp {
	font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
	font-size: 10px;
	letter-spacing: 0.1em;
	opacity: 0.85;
	line-height: 1.3;
}

/* タブレット：9 個のピルが入りきらないので 2 行に */
@media (max-width: 980px) {
	.wks-filter-bar__nav {
		border-radius: 28px;
		padding: 6px 8px;
		gap: 4px;
	}
	.wks-filter-bar__btn {
		padding: 9px 14px;
	}
	.wks-filter-bar__btn-label { font-size: 10.5px; letter-spacing: 0.18em; }
	.wks-filter-bar__btn-jp { font-size: 9.5px; }
}

/* モバイル：完全に折り返し、画面内に確実に収める */
@media (max-width: 640px) {
	.wks-filter-bar__nav-wrap {
		padding: 0 12px;
	}
	.wks-filter-bar__nav {
		border-radius: 20px;
		padding: 5px 6px;
		gap: 2px;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
	}
	.wks-filter-bar__btn {
		padding: 8px 12px;
		flex: 0 0 auto;
	}
	.wks-filter-bar__btn-label { font-size: 9.5px; letter-spacing: 0.14em; }
	.wks-filter-bar__btn-jp { font-size: 9px; letter-spacing: 0.06em; }
}

/* 極小モバイル */
@media (max-width: 380px) {
	.wks-filter-bar__btn {
		padding: 7px 10px;
	}
	.wks-filter-bar__btn-label { font-size: 9px; letter-spacing: 0.1em; }
	.wks-filter-bar__btn-jp { font-size: 8.5px; }
}

/* ===========================================
 * STAGE — 作品グリッド（劇場の舞台）
 * =========================================== */
.wks-stage {
	background: var(--wks-bg);
	padding: 140px 0;
}

@media (max-width: 768px) {
	.wks-stage { padding: 80px 0; }
}

/* ACT ヘッダー */
.wks-stage__act {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 96px;
}

.wks-stage__act-label {
	font-family: 'Inter', -apple-system, sans-serif;
	font-size: 11px;
	letter-spacing: 0.5em;
	color: var(--wks-gold);
	font-weight: 500;
	margin: 0 0 24px;
}

.wks-stage__act-title {
	font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 400;
	color: var(--wks-text);
	margin: 0 0 24px;
	letter-spacing: 0.05em;
	line-height: 1.5;
}

.wks-stage__act-lead {
	font-size: 15px;
	color: var(--wks-text-2);
	margin: 0;
	line-height: 2;
	letter-spacing: 0.04em;
}

/* 作品グリッド（マサリー風アシンメトリック） */
.wks-works-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 32px;
	row-gap: 80px;
}

@media (max-width: 900px) {
	.wks-works-grid {
		grid-template-columns: repeat(6, 1fr);
		gap: 24px;
		row-gap: 56px;
	}
}

@media (max-width: 600px) {
	.wks-works-grid {
		grid-template-columns: 1fr;
		gap: 48px;
		padding: 0;
	}
	.wks-work__visual {
		box-shadow: 0 16px 32px -12px rgba(10, 22, 40, 0.4);  /* モバイルでは影を小さく */
		border-radius: 4px;
	}
}

/* 作品カード — マサリー風配置 */
.wks-work {
	grid-column: span 6;
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.wks-work.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* フィルター時の非表示作品 */
.wks-work.is-filtered-out {
	opacity: 0.15;
	filter: grayscale(100%);
	pointer-events: none;
	transform: scale(0.95);
}

/* アシンメトリック配置：偶数番目は段違い */
.wks-work:nth-child(4n+1) { grid-column: span 7; }
.wks-work:nth-child(4n+2) { grid-column: span 5; margin-top: 80px; }
.wks-work:nth-child(4n+3) { grid-column: span 5; }
.wks-work:nth-child(4n+4) { grid-column: span 7; margin-top: 80px; }

@media (max-width: 900px) {
	.wks-work,
	.wks-work:nth-child(4n+1),
	.wks-work:nth-child(4n+2),
	.wks-work:nth-child(4n+3),
	.wks-work:nth-child(4n+4) {
		grid-column: span 6;
		margin-top: 0;
	}
}

@media (max-width: 600px) {
	.wks-work,
	.wks-work:nth-child(n) {
		grid-column: 1 / -1;
		margin-top: 0;
	}
}

.wks-work__link {
	display: block;
	text-decoration: none;
	color: inherit;
	position: relative;
	cursor: pointer;
}

/* ビジュアル（CG 風プレースホルダー or 画像） */
.wks-work__visual {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--wks-navy);
	box-shadow: 0 30px 60px -20px rgba(10, 22, 40, 0.4);
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s ease;
}

.wks-work__link:hover .wks-work__visual {
	transform: translateY(-8px) scale(1.01);
	box-shadow: 0 50px 80px -20px rgba(10, 22, 40, 0.5);
}

.wks-work__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;  /* v1.9.289: スクショは上部優先 */
	transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* v1.9.289: mShots 動的取得画像のスタイル */
.wks-work__img--dynamic {
	background:
		radial-gradient(ellipse at top, rgba(184, 153, 104, 0.10) 0%, transparent 60%),
		linear-gradient(135deg, #0a1628 0%, #050b16 100%);
	animation: wks-work-img-fadein 0.6s ease forwards;
}
@keyframes wks-work-img-fadein {
	from { opacity: 0; }
	to { opacity: 1; }
}

.wks-work__link:hover .wks-work__img {
	transform: scale(1.05);
}

/* プレースホルダー — カテゴリごとに異なる CG 風グラデ */
.wks-work__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.wks-work__placeholder::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(184, 153, 104, 0.1) 1px, transparent 1px),
		linear-gradient(90deg, rgba(184, 153, 104, 0.1) 1px, transparent 1px);
	background-size: 32px 32px;
	mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
	-webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}

.wks-work__placeholder--cm {
	background: linear-gradient(135deg, #0a1628 0%, #1a3050 50%, #2a4570 100%);
}
.wks-work__placeholder--web {
	background: linear-gradient(135deg, #0a1628 0%, #b89968 100%);
}
.wks-work__placeholder--recruit {
	background: linear-gradient(135deg, #1a2640 0%, #4a3a20 100%);
}
.wks-work__placeholder--recruit-video {
	background: linear-gradient(135deg, #1a2640 0%, #2a3a55 50%, #6a5530 100%);
}
.wks-work__placeholder--recruit-photo {
	background: linear-gradient(135deg, #1a2640 0%, #b89968 60%, #d4c4a0 100%);
}
.wks-work__placeholder--recruit-web {
	background: linear-gradient(135deg, #1a2640 0%, #5a4530 50%, #b89968 100%);
}
.wks-work__placeholder--ad {
	background: linear-gradient(135deg, #0a1628 0%, #957a4f 100%);
}
.wks-work__placeholder--video {
	background: linear-gradient(135deg, #050a14 0%, #0a1628 50%, #1a3050 100%);
}
.wks-work__placeholder--photo {
	background: linear-gradient(135deg, #1a2640 0%, #d4c4a0 100%);
}

.wks-work__placeholder-num {
	font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
	font-size: clamp(80px, 12vw, 140px);
	color: rgba(255, 255, 255, 0.12);
	font-weight: 400;
	letter-spacing: 0.05em;
	position: relative;
	z-index: 1;
}

/* オーバーレイ */
.wks-work__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.85) 100%);
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding: 32px;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.wks-work__link:hover .wks-work__overlay {
	opacity: 1;
}

.wks-work__type {
	font-family: 'Inter', -apple-system, sans-serif;
	font-size: 10px;
	letter-spacing: 0.3em;
	color: var(--wks-gold);
	font-weight: 600;
	padding: 6px 12px;
	border: 1px solid var(--wks-gold);
	background: rgba(10, 22, 40, 0.7);
}

.wks-work__view {
	font-family: 'Inter', -apple-system, sans-serif;
	font-size: 12px;
	letter-spacing: 0.2em;
	color: #fff;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

/* メタ情報 */
.wks-work__meta {
	margin-top: 24px;
	padding: 0 4px;
}

.wks-work__client {
	font-family: 'Inter', -apple-system, sans-serif;
	font-size: 10px;
	letter-spacing: 0.25em;
	color: var(--wks-gold-deep);
	font-weight: 500;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.wks-work__title {
	font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
	font-size: clamp(17px, 1.8vw, 21px);
	font-weight: 400;
	color: var(--wks-text);
	margin: 0;
	letter-spacing: 0.04em;
	line-height: 1.65;
	transition: color 0.3s ease;
}

.wks-work__link:hover .wks-work__title {
	color: var(--wks-gold-deep);
}

/* 該当なしメッセージ */
.wks-empty {
	text-align: center;
	padding: 80px 0;
}

.wks-empty__text {
	font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
	font-size: 18px;
	color: var(--wks-text-2);
	margin: 0 0 32px;
	letter-spacing: 0.05em;
}

.wks-empty__reset {
	background: transparent;
	border: 1px solid var(--wks-gold);
	color: var(--wks-gold-deep);
	padding: 14px 32px;
	font-family: 'Inter', -apple-system, sans-serif;
	font-size: 12px;
	letter-spacing: 0.25em;
	cursor: pointer;
	transition: background 0.3s ease, color 0.3s ease;
	font-weight: 500;
}

.wks-empty__reset:hover {
	background: var(--wks-gold);
	color: #fff;
}

/* ===========================================
 * INTERMISSION — 1000 社のロゴが流れる
 * =========================================== */
.wks-intermission {
	background: var(--wks-navy);
	color: #fff;
	padding: 140px 0;
	overflow: hidden;
}

@media (max-width: 768px) {
	.wks-intermission { padding: 80px 0; }
}

.wks-intermission__act {
	font-family: 'Inter', -apple-system, sans-serif;
	font-size: 11px;
	letter-spacing: 0.5em;
	color: var(--wks-gold);
	font-weight: 500;
	margin: 0 0 24px;
	text-align: center;
}

.wks-intermission__title {
	font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
	font-size: clamp(28px, 4vw, 42px);
	color: #fff;
	margin: 0 0 24px;
	text-align: center;
	letter-spacing: 0.06em;
	font-weight: 400;
	line-height: 1.55;
}

.wks-intermission__lead {
	font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
	font-size: 15px;
	color: var(--wks-text-light);
	margin: 0 0 80px;
	text-align: center;
	letter-spacing: 0.05em;
}

/* マーキー（ロゴが流れる） */
.wks-marquee {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.wks-marquee__row {
	display: flex;
	overflow: hidden;
	width: 100%;
	mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.wks-marquee__track {
	display: flex;
	gap: 80px;
	white-space: nowrap;
	flex-shrink: 0;
	padding: 0 40px;
}

.wks-marquee__row--right .wks-marquee__track {
	animation: wks-marquee-right 60s linear infinite;
}

.wks-marquee__row--left .wks-marquee__track {
	animation: wks-marquee-left 70s linear infinite;
}

@keyframes wks-marquee-right {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

@keyframes wks-marquee-left {
	from { transform: translateX(-50%); }
	to   { transform: translateX(0); }
}

.wks-marquee__item {
	font-family: 'Inter', -apple-system, sans-serif;
	font-size: clamp(20px, 2.5vw, 32px);
	color: rgba(255, 255, 255, 0.5);
	letter-spacing: 0.15em;
	font-weight: 300;
	transition: color 0.3s ease;
	flex-shrink: 0;
}

.wks-marquee__row:hover .wks-marquee__track {
	animation-play-state: paused;
}

.wks-marquee__item:hover {
	color: var(--wks-gold);
}

/* ===========================================
 * EPILOGUE — 次の作品へ（CTA）
 * =========================================== */
.wks-epilogue {
	background: var(--wks-bg);
	padding: 180px 0;
	text-align: center;
}

@media (max-width: 768px) {
	.wks-epilogue { padding: 120px 0; }
}

.wks-epilogue__act {
	font-family: 'Inter', -apple-system, sans-serif;
	font-size: 11px;
	letter-spacing: 0.5em;
	color: var(--wks-gold);
	font-weight: 500;
	margin: 0 0 32px;
}

.wks-epilogue__title {
	font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
	font-size: clamp(28px, 4.5vw, 48px);
	font-weight: 400;
	color: var(--wks-text);
	margin: 0 0 24px;
	letter-spacing: 0.05em;
	line-height: 1.5;
}

.wks-epilogue__lead {
	font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
	font-size: 17px;
	color: var(--wks-text-2);
	margin: 0 0 56px;
	letter-spacing: 0.06em;
	line-height: 1.9;
}

.wks-epilogue__btn {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	padding: 22px 56px;
	background: var(--wks-gold);
	color: #fff;
	text-decoration: none;
	font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
	font-size: 16px;
	letter-spacing: 0.12em;
	border: 1px solid var(--wks-gold);
	transition: background 0.3s ease, transform 0.12s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	box-shadow: 0 12px 32px -8px rgba(184, 153, 104, 0.35);
	position: relative;
	overflow: hidden;
}

.wks-epilogue__btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.7s ease;
}

.wks-epilogue__btn:hover {
	background: var(--wks-navy);
	border-color: var(--wks-navy);
	color: #fff;
	box-shadow: 0 16px 40px -8px rgba(10, 22, 40, 0.5);
	transform: translateY(-2px);
}

.wks-epilogue__btn:hover::before {
	left: 100%;
}

.wks-epilogue__btn:active {
	transform: scale(0.98);
}

/* ===========================================
 * アクセシビリティ
 * =========================================== */
@media (prefers-reduced-motion: reduce) {
	.wks-prologue__curtain--left,
	.wks-prologue__curtain--right,
	.wks-prologue__light,
	.wks-prologue__act,
	.wks-prologue__title-letter,
	.wks-prologue__subtitle,
	.wks-prologue__lead,
	.wks-prologue__stats,
	.wks-prologue__scroll-cue,
	.wks-marquee__track {
		opacity: 1 !important;
		animation: none !important;
		transform: none !important;
	}
	.wks-prologue__curtain {
		display: none;
	}
}
