:root {
	--ink: #181818;
	--muted: #646464;
	--line: #d9d9d9;
	--paper: #fbfbfa;
	--soft: #f4f4f2;
	--gold: #c8a96e;
	--red: #e74b3c;
	--red-dark: #c0392b;
	--serif: 'Noto Serif JP', serif;
	--sans: 'Noto Sans JP', sans-serif;
	--max: 1160px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	color: var(--ink);
	background: var(--paper);
	font-family: var(--sans);
	line-height: 1.9;
	letter-spacing: 0.03em;
	overflow-x: hidden;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

.exhibition-page dl,
.exhibition-page dt,
.exhibition-page dd {
	margin: 0;
	padding: 0;
	border: 0;
	color: inherit;
}

.exhibition-page {
	font-size: 16px;
	color: var(--ink);
	font-family: var(--sans);
	line-height: 1.9;
	letter-spacing: 0.03em;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	min-height: 100vh;
	overflow-x: hidden;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px) 0 0 / 84px 84px,
		var(--paper);
}

.exhibition-header {
	height: 92px;
	padding: 0 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: rgba(251, 251, 250, 0.94);
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(18px);
	animation: headerReveal 0.7s ease both;
}

.exhibition-logo {
	display: inline-grid;
	gap: 4px;
	min-width: 0;
	max-width: calc(100vw - 130px);
	font-family: var(--serif);
	font-size: 1.08rem;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0.12em;
}

.exhibition-logo span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.exhibition-logo span:last-child {
	font-family: var(--sans);
	font-size: 0.66rem;
	font-weight: 500;
	letter-spacing: 0.28em;
}

.exhibition-hero {
	position: relative;
	min-height: 560px;
	background:
		linear-gradient(90deg, rgba(251, 251, 250, 0.96) 0%, rgba(251, 251, 250, 0.78) 33%, rgba(251, 251, 250, 0.18) 62%, rgba(251, 251, 250, 0) 100%),
		var(--hero-image, url('../img/hero/hero.png')) center / cover no-repeat,
		linear-gradient(135deg, #f9f9f7 0%, #eeeeeb 100%);
	overflow: hidden;
	animation: heroBackgroundDrift 18s ease-in-out infinite alternate;
}

.hero-copy {
	position: absolute;
	left: max(7.4vw, 32px);
	top: 50%;
	transform: translateY(-43%);
	z-index: 3;
	color: var(--ink);
	animation: heroCopyReveal 1s ease 0.14s both;
}

.hero-copy h1 {
	font-family: var(--serif);
	font-size: clamp(2rem, 4vw, 3.35rem);
	font-weight: 500;
	line-height: 1.55;
	letter-spacing: 0.12em;
	margin-bottom: 24px;
}

.hero-copy p {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.28em;
	line-height: 1.8;
}

.section-inner {
	width: min(var(--max), calc(100% - 96px));
	margin: 0 auto;
}

.intro-section {
	padding: 92px 0 78px;
	background: var(--paper);
}

.intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 58px;
	gap: 48px;
	align-items: center;
}

.intro-copy {
	max-width: 780px;
}

.intro-copy h2 {
	font-family: var(--serif);
	font-size: clamp(2rem, 3.2vw, 3rem);
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.45;
	margin-bottom: 42px;
}

.intro-copy h2 .intro-h2-sub {
	display: block;
	font-size: 0.62em;
	letter-spacing: 0.08em;
	color: var(--muted);
	margin-top: 14px;
}

.intro-copy p {
	color: #303030;
	font-family: var(--sans);
	font-size: 18px;
	font-weight: 300;
	line-height: 2.18;
	margin-bottom: 24px;
}

.scroll-mark {
	height: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--muted);
}

.scroll-mark span {
	position: relative;
	display: inline-block;
	writing-mode: vertical-rl;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.34em;
}

.scroll-mark span::after {
	content: '';
	position: absolute;
	left: 50%;
	top: calc(100% + 16px);
	width: 1px;
	height: 52px;
	background: #a9a9a9;
	transform-origin: top;
	animation: scrollLine 1.8s ease-in-out infinite;
}

.theme-section {
	padding: 18px 0 72px;
}

.theme-section-head {
	margin-bottom: 22px;
}

.theme-section-head h2 {
	font-family: var(--serif);
	font-size: clamp(1.45rem, 2.2vw, 2rem);
	font-weight: 500;
	letter-spacing: 0.14em;
	line-height: 1.5;
}

.theme-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.theme-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 420px;
	background: #fff;
	border: 1px solid #bfbfbf;
	overflow: hidden;
	transition:
		transform 0.24s ease,
		box-shadow 0.24s ease;
}

.theme-card.is-reveal-ready {
	opacity: 0;
	transform: translateY(18px);
}

.theme-card.is-reveal-ready.is-visible {
	animation: cardReveal 0.72s ease both;
}

.theme-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.theme-card.is-reveal-ready.is-visible:nth-child(2) {
	animation-delay: 0.1s;
}

.theme-card.is-reveal-ready.is-visible:nth-child(3) {
	animation-delay: 0.2s;
}

.theme-card.is-disabled {
	pointer-events: none;
	background: #f1f1ef;
	border-color: #d2d2cf;
	color: #8a8a86;
}

.theme-card.is-disabled::before {
	content: '';
	display: block;
	aspect-ratio: 4 / 4.7;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px) 0 0 / 42px 42px,
		#eeeeeb;
}

.theme-card.is-disabled img {
	opacity: 0.48;
	filter: grayscale(1) contrast(0.88);
}

.theme-card img {
	width: 100%;
	aspect-ratio: 4 / 4.7;
	object-fit: cover;
	transition: transform 1.2s ease;
}

.theme-card.is-upcoming {
	pointer-events: none;
	cursor: default;
}

.theme-upcoming {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	aspect-ratio: 4 / 4.7;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px) 0 0 / 42px 42px,
		#f7f6f2;
	text-align: center;
}

.theme-upcoming-date {
	font-family: var(--serif);
	font-size: 1.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #2a2a2a;
}

.theme-upcoming-time {
	font-size: 1rem;
	letter-spacing: 0.18em;
	color: var(--muted);
}

.theme-card:hover img {
	transform: scale(1.035);
}

.theme-status {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	min-width: 104px;
	padding: 9px 14px;
	background: rgba(23, 23, 23, 0.86);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-align: center;
}

.is-disabled .theme-status {
	background: rgba(94, 94, 94, 0.74);
}

.theme-number {
	position: absolute;
	top: 22px;
	left: 22px;
	z-index: 2;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--ink);
	text-shadow:
		1px 1px 0 #fff,
		-1px 1px 0 #fff,
		1px -1px 0 #fff,
		-1px -1px 0 #fff,
		0 1px 0 #fff,
		0 -1px 0 #fff,
		1px 0 0 #fff,
		-1px 0 0 #fff;
}

.theme-number::after {
	content: '';
	display: block;
	width: 20px;
	height: 1px;
	margin-top: 12px;
	background: currentColor;
	box-shadow:
		0 0 0 1px #fff,
		0 1px 1px rgba(255, 255, 255, 0.9);
}

.theme-card-body {
	min-height: 74px;
	padding: 18px 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: #fff;
}

.theme-card h3 {
	font-family: var(--serif);
	font-size: clamp(1.2rem, 1.9vw, 1.65rem);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.08em;
}

.exhibition-page .theme-round {
	margin-bottom: 7px;
	font-family: var(--serif);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0.12em;
}

.exhibition-page .theme-label-mini {
	margin-bottom: 4px;
	color: #777;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	line-height: 1.2;
}

.exhibition-page .theme-schedule {
	margin-top: 6px;
	color: #8d8d89;
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.4;
}

.theme-arrow {
	position: relative;
	width: 38px;
	height: 1px;
	background: #777;
	flex: 0 0 auto;
	transition: transform 0.24s ease;
}

.theme-arrow::after {
	content: '';
	position: absolute;
	right: 0;
	top: -4px;
	width: 9px;
	height: 9px;
	border-top: 1px solid #777;
	border-right: 1px solid #777;
	transform: rotate(45deg);
}

.theme-card:hover .theme-arrow {
	transform: translateX(6px);
}

.exhibition-footer {
	width: min(var(--max), calc(100% - 96px));
	margin: 0 auto;
	padding: 22px 0 32px;
	border-top: 1px solid var(--line);
	color: #777;
	font-size: 0.68rem;
	letter-spacing: 0.16em;
}

@keyframes headerReveal {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes heroBackgroundDrift {
	from {
		background-position:
			0 0,
			50% center,
			0 0;
	}
	to {
		background-position:
			0 0,
			54% center,
			0 0;
	}
}

@keyframes heroBackgroundDriftTablet {
	from {
		background-position:
			0 0,
			58% center,
			0 0;
	}
	to {
		background-position:
			0 0,
			62% center,
			0 0;
	}
}

@keyframes heroBackgroundDriftMobile {
	from {
		background-position:
			0 0,
			64% center,
			0 0;
	}
	to {
		background-position:
			0 0,
			68% center,
			0 0;
	}
}

@keyframes heroCopyReveal {
	from {
		opacity: 0;
		transform: translateY(-38%);
	}
	to {
		opacity: 1;
		transform: translateY(-43%);
	}
}

@keyframes scrollLine {
	0%,
	100% {
		opacity: 0.35;
		transform: scaleY(0.45);
	}
	50% {
		opacity: 1;
		transform: scaleY(1);
	}
}

@keyframes cardReveal {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes sectionReveal {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes imageReveal {
	from {
		opacity: 0;
		transform: scale(0.985);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes lineBreath {
	0%,
	100% {
		opacity: 0.45;
		transform: scaleX(0.72);
	}
	50% {
		opacity: 1;
		transform: scaleX(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

.sub-page {
	padding-top: 1px;
}

.breadcrumb {
	width: min(1240px, calc(100% - 80px));
	margin: 0 auto;
	padding: 26px 0 0;
	display: flex;
	align-items: center;
	gap: 14px;
	color: #555;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
}

.breadcrumb span {
	width: 5px;
	height: 5px;
	border-top: 1px solid #999;
	border-right: 1px solid #999;
	transform: rotate(45deg);
	flex: 0 0 auto;
}

.breadcrumb strong {
	font-weight: 700;
	color: var(--ink);
}

.category-hero,
.detail-hero {
	padding: 80px 0 54px;
}

.category-heading,
.detail-heading {
	display: grid;
	grid-template-columns: minmax(360px, 0.95fr) minmax(320px, 0.9fr);
	gap: 74px;
	align-items: end;
	animation: sectionReveal 0.8s ease both;
}

.detail-heading {
	align-items: start;
}

.eyebrow {
	font-family: var(--serif);
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	margin-bottom: 14px;
}

.theme-label {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
	padding: 7px 18px 8px;
	border: 1px solid #1f1f1f;
	background: rgba(255, 255, 255, 0.72);
	font-family: var(--serif);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1.4;
}

.theme-label::before {
	content: '';
	width: 26px;
	height: 1px;
	background: currentColor;
}

.category-heading h1,
.detail-heading h1 {
	font-family: var(--serif);
	font-size: clamp(3.5rem, 7.6vw, 6.4rem);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0.24em;
	margin-bottom: 20px;
}

.category-heading h1 {
	font-size: clamp(3.2rem, 6.2vw, 5.35rem);
	letter-spacing: 0.16em;
	white-space: nowrap;
}

.detail-heading h1 {
	font-size: clamp(3.2rem, 6.2vw, 5.35rem);
	letter-spacing: 0.14em;
	white-space: nowrap;
}

.title-kana {
	font-family: var(--serif);
	font-size: clamp(1.15rem, 3.4vw, 1.7rem);
	font-weight: 400;
	letter-spacing: 0.04em;
	margin-left: -0.15em;
	white-space: nowrap;
	vertical-align: baseline;
}

.roman-title {
	font-family: var(--sans);
	font-size: 14.08px;
	font-weight: 700;
	letter-spacing: 5.35px;
	line-height: 1.6;
}

.creator-name {
	margin-top: 22px;
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--serif);
	font-size: 1.18rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	line-height: 1.5;
}

.exhibition-page .creator-name {
	margin-top: 22px;
}

.creator-name span {
	padding: 4px 10px 5px;
	border: 1px solid rgba(0, 0, 0, 0.42);
	font-family: var(--sans);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	line-height: 1.2;
}

.category-lead,
.detail-lead {
	align-self: center;
	font-family: var(--sans);
	font-size: 0.98rem;
	font-weight: 400;
	line-height: 2.1;
	letter-spacing: 0.07em;
	animation: sectionReveal 0.8s ease 0.12s both;
}

.category-lead h2,
.detail-lead h2 {
	font-family: var(--serif);
	font-size: clamp(1.2rem, 1.8vw, 1.55rem);
	font-weight: 600;
	letter-spacing: 0.11em;
	line-height: 1.65;
	margin-bottom: 16px;
}

.category-lead p,
.detail-lead p {
	font-size: 1.02rem;
	line-height: 1.9;
}

.exhibition-page .category-lead p,
.exhibition-page .detail-lead p {
	font-family: var(--sans);
	font-size: 1.02rem;
	font-weight: 400;
	line-height: 1.9;
	letter-spacing: 0.07em;
}

.works-section {
	padding: 0 0 44px;
}

.works-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.work-card {
	display: block;
	background: #fff;
	border: 1px solid var(--line);
	overflow: hidden;
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease;
	animation: cardReveal 0.72s ease both;
}

.work-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 34px rgba(0, 0, 0, 0.07);
}

.work-card:nth-child(2n) {
	animation-delay: 0.08s;
}

.work-card:nth-child(3n) {
	animation-delay: 0.16s;
}

.work-card > img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	filter: grayscale(0.18) contrast(1.02);
	transition:
		filter 0.36s ease,
		transform 1.2s ease;
}

.work-card:hover > img {
	filter: grayscale(0.04) contrast(1.04);
	transform: scale(1.025);
}

.work-card-body {
	position: relative;
	min-height: 142px;
	padding: 22px 24px 24px;
	display: grid;
	grid-template-columns: 60px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}

.work-number {
	font-size: 1.18rem;
	font-weight: 500;
	letter-spacing: 0.12em;
}

.work-meta span,
.work-card dl dt {
	display: block;
	color: #737373;
	font-family: var(--serif);
	font-size: 0.74rem;
	letter-spacing: 0.12em;
	line-height: 1.3;
	margin-bottom: 8px;
}

.work-meta h2 {
	font-family: var(--serif);
	font-size: clamp(1.35rem, 2.4vw, 2rem);
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0.12em;
}

.work-card dl {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.work-card dl dd {
	font-family: var(--serif);
	font-size: 1rem;
	line-height: 1.65;
}

.view-work {
	position: absolute;
	left: 102px;
	bottom: 22px;
	display: inline-flex;
	align-items: center;
	gap: 18px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.18em;
}

.view-work span,
.arrow-right,
.arrow-left {
	position: relative;
	display: inline-block;
	width: 34px;
	height: 1px;
	background: #6f6f6f;
	vertical-align: middle;
	transition: transform 0.24s ease;
}

.view-work span::after,
.arrow-right::after {
	content: '';
	position: absolute;
	right: 0;
	top: -4px;
	width: 9px;
	height: 9px;
	border-top: 1px solid #6f6f6f;
	border-right: 1px solid #6f6f6f;
	transform: rotate(45deg);
}

.arrow-left::after {
	content: '';
	position: absolute;
	left: 0;
	top: -4px;
	width: 9px;
	height: 9px;
	border-left: 1px solid #6f6f6f;
	border-bottom: 1px solid #6f6f6f;
	transform: rotate(45deg);
}

.work-card:hover .view-work span,
.outline-button:hover .arrow-right {
	transform: translateX(6px);
}

.outline-button:hover .arrow-left {
	transform: translateX(-6px);
}

.page-nav-row,
.detail-nav-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	margin-bottom: 44px;
}

/* 「他のテーマを見る」が無い（戻るボタンのみ）の場合は中央に1つ */
.page-nav-row.is-single {
	grid-template-columns: minmax(0, 360px);
	justify-content: center;
}

.detail-nav-row {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.outline-button {
	min-height: 54px;
	padding: 12px 28px;
	border: 1px solid #999;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	background: rgba(255, 255, 255, 0.46);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.outline-button:hover {
	background: #fff;
	border-color: #333;
	transform: translateY(-2px);
}

.detail-body {
	padding-bottom: 44px;
}

.detail-main-image {
	width: 100%;
	aspect-ratio: 16 / 8.6;
	object-fit: cover;
	border: 1px solid var(--line);
	filter: grayscale(0.12) contrast(1.02);
	animation: imageReveal 0.9s ease 0.08s both;
}

.detail-spec {
	margin-top: 30px;
	padding: 34px 0 36px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 26px;
	border-bottom: 1px solid var(--line);
}

.detail-spec h2 {
	font-family: var(--serif);
	font-size: clamp(1.45rem, 2.2vw, 2rem);
	font-weight: 500;
	letter-spacing: 0.14em;
	line-height: 1.5;
}

.detail-spec-summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
	max-width: 640px;
}

.detail-spec-summary div,
.detail-concept-list div {
	display: block;
}

.detail-spec-summary div {
	position: relative;
	padding: 4px 0 0 20px;
}

.detail-spec-summary div::before,
.detail-concept-list div::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.25em;
	width: 1px;
	height: calc(100% - 0.5em);
	background: rgba(0, 0, 0, 0.22);
}

.detail-concept-list {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 30px 34px;
}

.detail-concept-list div {
	position: relative;
	padding: 4px 0 0 20px;
	border-top: 0;
	border-bottom: 0;
}

.detail-concept-list div:nth-child(3) {
	grid-column: 1 / -1;
}

.detail-spec dt {
	font-family: var(--serif);
	margin-bottom: 7px;
	color: #6c6c6c;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.16em;
}

.detail-spec dd {
	font-family: var(--sans);
	font-size: 1.02em;
	font-weight: 300;
	line-height: 1.9;
	letter-spacing: 0.07em;
}

.detail-spec-summary dd {
	font-size: 1.02em;
	line-height: 1.9;
}

.exhibition-page .detail-spec dd,
.exhibition-page .detail-spec dd p {
	font-family: var(--sans);
	font-size: 1.02em;
	font-weight: 400;
	line-height: 1.9;
	letter-spacing: 0.07em;
}

.exhibition-page .detail-spec-summary dd,
.exhibition-page .detail-spec-summary dd p {
	font-size: 1.02em;
	line-height: 1.9;
}

.exhibition-page .detail-concept-list dd,
.exhibition-page .detail-concept-list dd p {
	font-family: var(--sans) !important;
	font-size: 1.02em !important;
	font-weight: 400 !important;
	line-height: 1.9 !important;
	letter-spacing: 0.07em !important;
}

.exhibition-page .detail-concept-list dd p {
	margin: 0 !important;
	padding: 0 !important;
}

.detail-gallery-wrap {
	position: relative;
	margin-top: 42px;
}

.gallery-head {
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	gap: 14px;
	color: #6b6b6b;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.24em;
}

.gallery-head-line {
	position: relative;
	display: inline-block;
	width: 48px;
	height: 1px;
	background: #8d8d8d;
	animation: lineBreath 2.4s ease-in-out infinite;
}

.gallery-head-line::after {
	content: '';
	position: absolute;
	right: 0;
	top: -4px;
	width: 9px;
	height: 9px;
	border-top: 1px solid #8d8d8d;
	border-right: 1px solid #8d8d8d;
	transform: rotate(45deg);
}

.detail-gallery {
	margin-top: 0;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(420px, 47%);
	gap: 18px;
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 18px;
	scroll-snap-type: x mandatory;
	scrollbar-color: #9a9a9a transparent;
	scrollbar-width: thin;
}

.gallery-item {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
	scroll-snap-align: start;
}

.gallery-item:focus-visible {
	outline: 2px solid rgba(24, 24, 24, 0.72);
	outline-offset: 4px;
}

.gallery-nav {
	position: absolute;
	top: calc(50% + 16px);
	z-index: 2;
	width: 54px;
	height: 54px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	background: rgba(24, 24, 24, 0.34);
	backdrop-filter: blur(8px);
	transform: translateY(-50%);
	cursor: pointer;
	transition:
		opacity 0.2s ease,
		background 0.2s ease;
}

.gallery-nav:hover {
	background: rgba(24, 24, 24, 0.52);
}

.gallery-nav-prev {
	left: 18px;
	opacity: 0;
	pointer-events: none;
}

.gallery-nav-prev.is-visible {
	opacity: 1;
	pointer-events: auto;
}

.gallery-nav-next {
	right: 18px;
}

.gallery-nav-next.is-hidden {
	opacity: 0;
	pointer-events: none;
}

.gallery-nav::before {
	content: '';
	position: absolute;
	left: 15px;
	top: 50%;
	width: 22px;
	height: 1px;
	background: #fff;
	transform: translateY(-50%);
}

.gallery-nav::after {
	content: '';
	position: absolute;
	right: 15px;
	top: 50%;
	width: 10px;
	height: 10px;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	transform: translateY(-50%) rotate(45deg);
}

.gallery-nav-prev::before {
	left: 16px;
}

.gallery-nav-prev::after {
	left: 15px;
	right: auto;
	border-top: 0;
	border-right: 0;
	border-left: 1px solid #fff;
	border-bottom: 1px solid #fff;
}

.detail-gallery::-webkit-scrollbar {
	height: 6px;
}

.detail-gallery::-webkit-scrollbar-track {
	background: transparent;
}

.detail-gallery::-webkit-scrollbar-thumb {
	background: #9a9a9a;
}

.detail-gallery img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	filter: grayscale(0.12) contrast(1.02);
	transition:
		filter 0.3s ease,
		transform 0.9s ease;
}

.detail-gallery img:hover {
	filter: grayscale(0.02) contrast(1.04);
	transform: scale(1.015);
}

.gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	place-items: center;
	padding: 56px;
	background: rgba(12, 12, 12, 0.82);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.24s ease;
}

.gallery-lightbox.is-open {
	opacity: 1;
	pointer-events: auto;
}

.gallery-lightbox-frame {
	position: relative;
	z-index: 1;
	display: inline-grid;
	place-items: center;
	max-width: min(100%, 1180px);
	max-height: calc(100vh - 112px);
}

.gallery-lightbox img {
	max-width: min(100%, 1180px);
	max-height: calc(100vh - 112px);
	width: auto;
	height: auto;
	object-fit: contain;
	background: #fff;
	box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
	transform: scale(0.985);
	transition: transform 0.24s ease;
}

.gallery-lightbox.is-open img {
	transform: scale(1);
}

.gallery-lightbox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	z-index: 3;
	width: 54px;
	height: 54px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.58);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
	cursor: pointer;
	transition:
		background 0.2s ease,
		transform 0.2s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
	background: rgba(0, 0, 0, 0.78);
	transform: scale(1.04);
}

.gallery-lightbox-close::before,
.gallery-lightbox-close::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 22px;
	height: 2px;
	background: #fff;
}

.gallery-lightbox-close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.gallery-lightbox-close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.gallery-lightbox-nav {
	position: fixed;
	top: 50%;
	z-index: 3;
	width: 58px;
	height: 58px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.42);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
	cursor: pointer;
	transform: translateY(-50%);
	transition:
		background 0.2s ease,
		transform 0.2s ease;
}

.gallery-lightbox-nav:hover {
	transform: translateY(-50%) scale(1.04);
}

.gallery-lightbox-prev {
	left: 22px;
}

.gallery-lightbox-next {
	right: 22px;
}

.gallery-lightbox-nav::before {
	content: '';
	position: absolute;
	top: 50%;
	width: 18px;
	height: 18px;
	border-top: 2px solid #fff;
	transform: translateY(-50%) rotate(45deg);
}

.gallery-lightbox-prev::before {
	left: 22px;
	border-left: 2px solid #fff;
	transform: translateY(-50%) rotate(-45deg);
}

.gallery-lightbox-next::before {
	right: 22px;
	border-right: 2px solid #fff;
}

.is-gallery-lightbox-open {
	overflow: hidden;
}

.grid-icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	background:
		linear-gradient(#777, #777) 0 0 / 5px 5px no-repeat,
		linear-gradient(#777, #777) 11px 0 / 5px 5px no-repeat,
		linear-gradient(#777, #777) 0 11px / 5px 5px no-repeat,
		linear-gradient(#777, #777) 11px 11px / 5px 5px no-repeat;
}

@media (max-width: 900px) {
	.exhibition-header {
		height: 76px;
		padding: 0 24px;
	}

	.exhibition-logo {
		font-size: 0.9rem;
		letter-spacing: 0.08em;
	}

	.exhibition-logo span:last-child {
		font-size: 0.56rem;
		letter-spacing: 0.18em;
	}

	.exhibition-hero {
		min-height: 520px;
		background-position: 58% center;
		animation-name: heroBackgroundDriftTablet;
	}

	.hero-copy {
		left: 28px;
		right: 28px;
		top: 44%;
	}

	.section-inner,
	.exhibition-footer {
		width: min(100% - 40px, var(--max));
	}

	.breadcrumb {
		width: min(100% - 40px, var(--max));
		overflow-x: auto;
		white-space: nowrap;
	}

	.intro-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.scroll-mark {
		display: none;
	}

	.theme-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.theme-card {
		min-height: auto;
	}

	.theme-card img {
		aspect-ratio: 16 / 10;
	}

	.category-heading,
	.detail-heading,
	.detail-concept-list {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.detail-spec-summary {
		grid-template-columns: 1fr;
	}

	.category-heading h1,
	.detail-heading h1 {
		font-size: clamp(3rem, 14vw, 5rem);
	}

	.category-heading h1 {
		font-size: clamp(2.5rem, 10vw, 4rem);
	}

	.detail-heading h1 {
		font-size: clamp(2.5rem, 10vw, 4rem);
	}

	.works-grid,
	.page-nav-row,
	.detail-nav-row {
		grid-template-columns: 1fr;
	}

	.work-card-body {
		grid-template-columns: 48px 1fr;
	}

	.work-card dl {
		grid-column: 2;
	}

	.view-work {
		position: static;
		grid-column: 2;
		margin-top: 8px;
	}

	.detail-main-image {
		aspect-ratio: 16 / 10.5;
	}

	.detail-gallery {
		grid-auto-columns: minmax(320px, 78%);
		gap: 14px;
	}

	.gallery-nav {
		right: 12px;
		width: 46px;
		height: 46px;
	}

	.gallery-nav-prev {
		left: 12px;
	}

	.gallery-lightbox {
		padding: 36px 20px;
	}

	.gallery-lightbox img {
		max-height: calc(100vh - 72px);
	}

	.gallery-lightbox-frame {
		max-height: calc(100vh - 72px);
	}
}

@media (max-width: 560px) {
	body {
		line-height: 1.8;
	}

	.exhibition-header {
		padding: 0 18px;
	}

	.exhibition-hero {
		min-height: 460px;
		background:
			linear-gradient(180deg, rgba(251, 251, 250, 0.96) 0%, rgba(251, 251, 250, 0.72) 42%, rgba(251, 251, 250, 0.1) 100%),
			var(--hero-image, url('../img/hero/hero.png')) 64% center / cover no-repeat,
			linear-gradient(135deg, #f9f9f7 0%, #eeeeeb 100%);
		animation-name: heroBackgroundDriftMobile;
	}

	.hero-copy {
		top: 35%;
	}

	.hero-copy h1 {
		font-size: 1.75rem;
		letter-spacing: 0.08em;
	}

	.hero-copy p {
		font-size: 0.68rem;
		letter-spacing: 0.2em;
	}

	.intro-section {
		padding: 62px 0 48px;
	}

	.intro-copy h2 {
		font-size: 2rem;
		margin-bottom: 30px;
	}

	.intro-copy p {
		font-size: 0.88rem;
		line-height: 2.08;
		margin-bottom: 20px;
	}

	.theme-section {
		padding-bottom: 52px;
	}

	.theme-card-body {
		padding: 15px 18px;
	}

	.category-hero,
	.detail-hero {
		padding: 48px 0 36px;
	}

	.eyebrow {
		font-size: 1rem;
	}

	.theme-label {
		margin-bottom: 16px;
		padding: 6px 13px 7px;
		font-size: 0.82rem;
		letter-spacing: 0.12em;
	}

	.theme-label::before {
		width: 18px;
	}

	.roman-title {
		font-size: 0.68rem;
		letter-spacing: 0.24em;
	}

	.category-heading h1 {
		font-size: clamp(2rem, 12vw, 3rem);
		letter-spacing: 0.08em;
	}

	.detail-heading h1 {
		font-size: clamp(2rem, 12vw, 3rem);
		letter-spacing: 0.08em;
	}

	.work-card-body {
		padding: 18px;
		grid-template-columns: 1fr;
	}

	.work-number,
	.work-card dl,
	.view-work {
		grid-column: auto;
	}

	.work-card dl {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.detail-spec {
		gap: 22px;
	}

	.detail-spec-summary,
	.detail-concept-list {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.detail-gallery {
		grid-auto-columns: 86%;
	}

	.gallery-lightbox {
		padding: 54px 14px 24px;
	}

	.gallery-lightbox-close {
		top: -12px;
		right: -8px;
		width: 42px;
		height: 42px;
	}

	.gallery-lightbox-nav {
		width: 44px;
		height: 44px;
	}

	.gallery-lightbox-prev {
		left: 10px;
	}

	.gallery-lightbox-next {
		right: 10px;
	}

	.gallery-lightbox-nav::before {
		width: 14px;
		height: 14px;
	}

	.gallery-lightbox-prev::before {
		left: 17px;
	}

	.gallery-lightbox-next::before {
		right: 17px;
	}

	.outline-button {
		padding: 12px 16px;
		font-size: 0.72rem;
		letter-spacing: 0.12em;
	}
}
