/* =========================================================
   モダン茶杓と絵画 〜空の追憶〜  瀬川俊明
   v2 ─ 白い展示室（ホワイトキューブ）× 源ノ明朝
   ========================================================= */

:root {
  --bg: #ffffff;
  --ink: #141414;
  --ink-2: #3f3f3f;
  --muted: #8a8a8a;
  --line: #e8e6e2;
  --line-2: #d6d2cb;
  --amber: #c3844e; /* チラシ副題「〜空の追憶〜」の色 */
  --wall: #f4f3f0;

  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-io: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: clamp(20px, 5vw, 88px);
  --maxw: 1180px;
  --hh: 76px;

  --orn-h: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='9' viewBox='0 0 128 9'%3E%3Cpath d='M5 4.5h118' stroke='%23C3844E'/%3E%3Cpath d='M0 4.5 4.5 0 9 4.5 4.5 9zM119 4.5 123.5 0 128 4.5 123.5 9z' fill='%23C3844E'/%3E%3C/svg%3E");
  --orn-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='128' viewBox='0 0 9 128'%3E%3Cpath d='M4.5 5v118' stroke='%23C3844E'/%3E%3Cpath d='M4.5 0 9 4.5 4.5 9 0 4.5zM4.5 119 9 123.5 4.5 128 0 123.5z' fill='%23C3844E'/%3E%3C/svg%3E");
}

@media (max-width: 899px) {
  :root { --hh: 60px; }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hh) + 8px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15.5px;
  line-height: 2.05;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

.is-locked,
.is-locked body { overflow: hidden; }

img { max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-weight: 500; margin: 0; }
ol, ul { list-style: none; margin: 0; padding: 0; }
.nb { display: inline-block; }
.u { font-size: 0.7em; margin: 0 0.06em; }  /* 年・月・日はチラシのように数字より小さく */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

::selection { background: rgba(195, 132, 78, 0.2); }
:focus-visible { outline: 1px solid var(--amber); outline-offset: 5px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 300;
  padding: 8px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}
.skip:focus { left: 12px; }

/* ---------- 共通：矢印つきの文字リンク ---------- */

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
  font-size: 14px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.7s var(--e-out);
}
.tlink:hover,
.tlink:focus-visible { background-size: 0 1px; background-position: 100% 100%; }
.tlink--sm { font-size: 12px; gap: 10px; padding: 2px 0; color: var(--muted); }

.arrow {
  position: relative;
  flex: none;
  display: inline-block;
  width: 26px;
  height: 1px;
  background: currentColor;
  transition: transform 0.6s var(--e-out);
}
.arrow::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 7px;
  height: 1px;
  background: currentColor;
  transform-origin: right bottom;
  transform: rotate(35deg);
}
a:hover .arrow { transform: translateX(5px); }
.tlink--sm .arrow { width: 16px; }

.status { color: var(--amber); }
.status:empty { display: none; }
.status::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 0.7em;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 0.22em;
}
.status[data-state="open"]::before { animation: pulse 2.4s ease-in-out infinite; }
.status[data-state="ended"],
.status[data-state="closed"] { color: var(--muted); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(195, 132, 78, 0.5); }
  60% { box-shadow: 0 0 0 7px rgba(195, 132, 78, 0); }
}

/* ---------- オープニング ---------- */

.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 30px);
  background: #fff;
}
.js:not(.no-intro) .intro { display: flex; animation: intro-out 1.2s var(--e-io) 3.4s forwards; }
.intro.is-out { animation: intro-out 1.1s var(--e-io) forwards; }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
.intro-title,
.intro-sub { writing-mode: vertical-rl; line-height: 1; }
.intro-title { font-size: clamp(28px, 3vw, 46px); font-weight: 500; letter-spacing: 0.26em; }
.intro-title span {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(-0.35em);
  animation: ink 1.4s var(--e-out) forwards;
}
.intro-title span:nth-child(1) { animation-delay: 0.25s; }
.intro-title span:nth-child(2) { animation-delay: 0.38s; }
.intro-title span:nth-child(3) { animation-delay: 0.51s; }
.intro-title span:nth-child(4) { animation-delay: 0.64s; }
.intro-title span:nth-child(5) { animation-delay: 0.77s; }
.intro-title span:nth-child(6) { animation-delay: 0.9s; }
.intro-title span:nth-child(7) { animation-delay: 1.03s; }
.intro-title span:nth-child(8) { animation-delay: 1.16s; }
.intro-sub {
  margin-top: 4.6em;
  font-size: clamp(14px, 1.3vw, 19px);
  letter-spacing: 0.36em;
  color: var(--amber);
  opacity: 0;
  animation: fade-in 1.6s ease 1.7s forwards;
}
@keyframes ink { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes fade-in { to { opacity: 1; } }

/* ---------- 一文字ずつ浮かぶ見出し ---------- */

.ch { display: inline-block; }
.js [data-split] .ch {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(0.35em);
  transition: opacity 1.2s var(--e-out), filter 1.2s var(--e-out), transform 1.2s var(--e-out);
  transition-delay: calc(var(--d, 0s) + var(--i) * 65ms);
}
.js [data-split].is-in .ch,
.is-ready .hero [data-split] .ch { opacity: 1; filter: blur(0); transform: none; }

/* ---------- ヘッダー ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--hh);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--gutter);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 0.8s var(--e-out), box-shadow 0.6s ease, opacity 1.2s ease;
}
.js:not(.is-ready) .site-header { opacity: 0; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-101%); }

.brand { display: flex; align-items: baseline; gap: 16px; text-decoration: none; line-height: 1.4; white-space: nowrap; }
.brand-ja { font-size: 16px; font-weight: 500; letter-spacing: 0.34em; }
.brand-en { font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }

.gnav { display: flex; gap: clamp(20px, 2.4vw, 40px); }
.gnav a {
  position: relative;
  padding: 6px 0;
  font-size: 12.5px;
  letter-spacing: 0.2em;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}
.gnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.2em;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--e-out);
}
.gnav a:hover::after,
.gnav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.menu-btn {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-lines { position: relative; width: 26px; height: 7px; }
.menu-lines::before,
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
  height: 1px;
  background: currentColor;
  transition: transform 0.5s var(--e-out), top 0.5s var(--e-out), width 0.5s var(--e-out);
}
.menu-lines::before { top: 0; width: 100%; }
.menu-lines::after { top: 6px; width: 64%; }
.menu-btn[aria-expanded="true"] .menu-lines::before { top: 3px; transform: rotate(16deg); }
.menu-btn[aria-expanded="true"] .menu-lines::after { top: 3px; width: 100%; transform: rotate(-16deg); }

@media (max-width: 1080px) {
  .gnav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 899px) {
  .brand-ja { font-size: 15px; }
  .brand-en { font-size: 9.5px; }
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 44px;
  padding: var(--hh) 24px 40px;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--e-out), visibility 0s linear 0.6s;
}
.drawer.is-open { opacity: 1; visibility: visible; transition: opacity 0.6s var(--e-out); }
.drawer-nav { display: flex; flex-direction: column; align-items: center; }
.drawer-nav a {
  padding: 10px 0 10px 0.34em;
  font-size: 18px;
  letter-spacing: 0.34em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--e-out), transform 0.7s var(--e-out);
}
.drawer.is-open .drawer-nav a { opacity: 1; transform: none; }
.drawer.is-open .drawer-nav a:nth-child(2) { transition-delay: 0.05s; }
.drawer.is-open .drawer-nav a:nth-child(3) { transition-delay: 0.1s; }
.drawer.is-open .drawer-nav a:nth-child(4) { transition-delay: 0.15s; }
.drawer.is-open .drawer-nav a:nth-child(5) { transition-delay: 0.2s; }
.drawer.is-open .drawer-nav a:nth-child(6) { transition-delay: 0.25s; }
.drawer.is-open .drawer-nav a:nth-child(7) { transition-delay: 0.3s; }
.drawer-meta { font-size: 12px; letter-spacing: 0.2em; line-height: 2; color: var(--muted); text-align: center; }

/* ---------- 表紙 ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr) auto;
  column-gap: 4vw;
  row-gap: 4vh;
  height: clamp(640px, 100svh, 1080px);
  padding: calc(var(--hh) + 5vh) var(--gutter) 6vh;
}

.hero-title-block {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  align-self: center;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: clamp(20px, 2.2vw, 36px);
}
.hero-title {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: clamp(16px, 1.8vw, 28px);
}
.ht-main,
.ht-sub,
.hero-artist { writing-mode: vertical-rl; text-orientation: mixed; line-height: 1; white-space: nowrap; }
.ht-main { font-size: clamp(30px, min(3.9vw, 6.2vh), 64px); letter-spacing: 0.24em; font-weight: 500; }
.ht-sub { --d: 0.75s; margin-top: 4.8em; font-size: clamp(14px, min(1.45vw, 2.4vh), 23px); letter-spacing: 0.38em; color: var(--amber); font-weight: 500; }
.hero-orn {
  align-self: flex-end;
  width: 9px;
  height: clamp(84px, 9vh, 120px);
  margin-bottom: 0.4em;
  background: var(--orn-v) center / 9px 100% no-repeat;
}
.hero-artist { --d: 1.2s; align-self: flex-end; font-size: clamp(16px, min(1.65vw, 2.7vh), 26px); letter-spacing: 0.56em; font-weight: 500; }

.hero-stage {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  position: relative;
  height: min(74vh, 800px);
  aspect-ratio: 4 / 5;
  margin-right: 2vw;
}
.stage-main { position: absolute; inset: 0; overflow: hidden; background: var(--wall); }
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 2.2s var(--e-io), transform 10s linear;
}
.slide.is-active { opacity: 1; transform: scale(1); }
.stage-sub {
  position: absolute;
  z-index: 2;
  left: -34%;
  bottom: -7%;
  width: 56%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--wall);
  box-shadow: 0 0 0 12px #fff, 0 44px 64px -34px rgba(0, 0, 0, 0.4);
}
.stage-sub .slide { transition-duration: 1.8s, 10s; }

.stage-count {
  position: absolute;
  right: -46px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--muted);
}
.sc-now { color: var(--ink); }
.sc-bar { position: relative; width: 1px; height: 96px; background: var(--line); overflow: hidden; }
.sc-bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: top; transform: scaleY(0); }
.sc-bar i.is-run { animation: bar var(--slide, 6.5s) linear forwards; }
@keyframes bar { to { transform: scaleY(1); } }

.hero-meta { grid-column: 1; grid-row: 2; justify-self: center; text-align: center; }
.hm-kicker { font-size: 10.5px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); }
.hm-artist { display: none; margin-top: 16px; font-size: 20px; font-weight: 500; letter-spacing: 0.5em; padding-left: 0.5em; line-height: 1.5; }
.hm-date { margin-top: 14px; font-size: clamp(18px, 1.55vw, 23px); font-weight: 500; letter-spacing: 0.04em; line-height: 1.5; }
.hm-date .w { margin-left: 0.1em; }
.hm-date .tilde { margin: 0 0.35em; }
.hm-venue { margin-top: 8px; font-size: 13px; letter-spacing: 0.16em; color: var(--ink-2); }
.hm-place { margin-left: 1.2em; color: var(--muted); }

.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.scroll-cue span { writing-mode: vertical-rl; }
.scroll-cue::after { content: ""; width: 1px; height: 70px; background: var(--ink); animation: cue 2.8s var(--e-io) infinite; }
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* 表紙の入場（オープニング後） */
.js .stage-main { clip-path: inset(0 0 100% 0); transition: clip-path 2s var(--e-io) 0.15s; }
.js .stage-sub,
.js .hero-meta,
.js .scroll-cue,
.js .stage-count { opacity: 0; transform: translateY(18px); transition: opacity 1.4s var(--e-out), transform 1.4s var(--e-out); }
.js .hero-orn { transform: scaleY(0); transform-origin: top; transition: transform 1.4s var(--e-out) 1.1s; }
.is-ready .stage-main { clip-path: inset(0); }
.is-ready .stage-sub { opacity: 1; transform: none; transition-delay: 1.05s; }
.is-ready .hero-orn { transform: none; }
.is-ready .hero-meta { opacity: 1; transform: none; transition-delay: 1.45s; }
.is-ready .stage-count,
.is-ready .scroll-cue { opacity: 1; transform: none; transition-delay: 1.9s; }

@media (max-width: 899px) {
  .hero {
    display: block;
    height: auto;
    padding: calc(var(--hh) + 24px) var(--gutter) 56px;
  }
  .hero-stage { width: 64%; height: auto; margin: 0 0 0 auto; }
  .stage-sub { left: auto; right: -5%; bottom: -20%; width: 70%; box-shadow: 0 0 0 8px #fff, 0 30px 50px -30px rgba(0, 0, 0, 0.4); }
  .stage-count { display: none; }
  .hero-title-block {
    position: absolute;
    top: calc(var(--hh) + 24px);
    left: var(--gutter);
    width: calc(36% - var(--gutter) * 0.72 - 14px);
    justify-content: center;
    gap: 12px;
  }
  .hero-title { gap: 10px; }
  .ht-main { font-size: clamp(24px, 6.8vw, 44px); letter-spacing: 0.2em; }
  .ht-sub { margin-top: 5.2em; font-size: clamp(12px, 3.3vw, 18px); letter-spacing: 0.3em; }
  .hero-orn { display: none; }
  .hero-artist { display: none; }
  .hero-meta { margin-top: calc(16% + 40px); } /* 茶杓の写真（表紙の右下）が重ならない高さ */
  .hm-date { font-size: clamp(17px, 4.6vw, 22px); }
  .hm-venue { font-size: 12px; }
  .hm-place { display: block; margin: 2px 0 0; }
  .hm-artist { display: block; }
  .scroll-cue { display: none; }
}

/* ---------- ひと目でわかる開催情報 ---------- */

.glance { padding: 0 var(--gutter); }
.glance-list {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.gl { padding: 28px clamp(16px, 2.2vw, 34px); border-left: 1px solid var(--line); min-width: 0; }
.gl:first-child { border-left: 0; padding-left: 0; }
.gl dt { font-size: 11px; letter-spacing: 0.32em; color: var(--muted); line-height: 1.6; }
.gl dd { margin: 8px 0 0; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.7; font-weight: 500; }
.gl small { display: block; margin-top: 6px; font-size: 12px; line-height: 1.75; font-weight: 400; color: var(--muted); }
.gl .status { font-size: 12px; color: var(--amber); }

@media (max-width: 1080px) {
  .glance-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gl:nth-child(3) { border-left: 0; padding-left: 0; }
  .gl:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .glance-list { grid-template-columns: 1fr; }
  .gl { border-left: 0; padding: 20px 0; }
  .gl + .gl { border-top: 1px solid var(--line); }
}

/* ---------- セクション共通 ---------- */

.section { position: relative; padding: clamp(120px, 14vw, 230px) var(--gutter); }
.sec-head { max-width: var(--maxw); margin: 0 auto clamp(56px, 7vw, 110px); }
.sec-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.3em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--muted);
}
.sec-no { color: var(--amber); letter-spacing: 0.12em; }
.sec-rule { display: block; width: 48px; height: 1px; background: var(--line-2); transform-origin: left; }
.js .sec-rule[data-line] { transform: scaleX(0); transition: transform 1.6s var(--e-out) 0.2s; }
.js .sec-rule[data-line].is-in { transform: scaleX(1); }
.sec-ja { margin-top: 18px; font-size: clamp(26px, 2.8vw, 40px); letter-spacing: 0.24em; line-height: 1.4; font-weight: 500; }
.sec-head--split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px clamp(32px, 7vw, 120px);
  align-items: end;
}
.sec-lead { font-size: 15px; line-height: 2.1; color: var(--ink-2); }

.js [data-fade] { opacity: 0; transform: translateY(26px); transition: opacity 1.4s var(--e-out), transform 1.4s var(--e-out); }
.js [data-fade].is-in { opacity: 1; transform: none; }

.js [data-mask] { clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--e-io); }
.js [data-mask].is-in { clip-path: inset(0); }

[data-parallax] { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

@media (max-width: 899px) {
  .sec-head--split { grid-template-columns: 1fr; }
}

/* ---------- 01 ごあいさつ ---------- */

.st-body {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(48px, 8vw, 150px);
  align-items: center;
}
.st-figure { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; background: var(--wall); }
.st-figure img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; }

.tate { justify-self: center; writing-mode: vertical-rl; height: 31em; font-size: clamp(17px, 1.45vw, 21px); }
.tate-body { line-height: 2.8; letter-spacing: 0.34em; }
.tl { display: block; }
.tate-sign { margin-block-start: 2.2em; text-align: end; font-size: 0.94em; font-weight: 500; letter-spacing: 0.56em; }
.js .tate .tl { clip-path: inset(0 0 100% 0); transition: clip-path 2.2s var(--e-out); transition-delay: calc(var(--i, 0) * 0.34s + 0.15s); }
.js .tate.is-in .tl { clip-path: inset(0); }

@media (max-width: 899px) {
  .st-body { grid-template-columns: 1fr; gap: 80px; }
  .tate { order: -1; font-size: 16px; height: 30em; }
  .st-figure { width: min(100%, 520px); justify-self: center; }
}
@media (max-width: 380px) {
  .tate { font-size: 15px; }
}

/* ---------- 02 茶杓・共筒：ずらして並べる格子 ---------- */

.glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 36px; margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.glossary dt { font-size: 14px; letter-spacing: 0.2em; font-weight: 500; line-height: 1.6; }
.glossary dt span { margin-left: 0.9em; font-size: 11px; letter-spacing: 0.14em; font-weight: 400; color: var(--muted); }
.glossary dd { margin: 4px 0 0; font-size: 13px; line-height: 1.9; color: var(--muted); }

.cw-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-bottom: clamp(70px, 14vw, 240px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(20px, 9vw, 160px);
  row-gap: clamp(56px, 7vw, 120px);
}
.cw { min-width: 0; }
.cw:nth-child(even) { transform: translateY(clamp(60px, 14vw, 240px)); }
.work-link { display: block; text-decoration: none; outline-offset: 6px; }
.cw-frame { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--wall); }
.cw-inner { position: absolute; inset: 0; transition: transform 1.6s var(--e-out); }
.cw-inner img {
  position: absolute;
  left: 0;
  top: -9%;
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
.work-link:hover .cw-inner,
.work-link:focus-visible .cw-inner { transform: scale(1.04); }

.w-cap {
  display: flex;
  align-items: baseline;
  gap: 1.3em;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.14em;
  line-height: 1.6;
  color: var(--muted);
}
.w-views { margin-left: auto; font-size: 11px; }

@media (max-width: 560px) {
  .glossary { grid-template-columns: 1fr; }
  .cw-grid { column-gap: 14px; row-gap: 40px; }
  .cw:nth-child(even) { transform: translateY(56px); }
  .w-cap { gap: 0.8em; font-size: 11px; margin-top: 10px; }
  .w-views { display: none; }
}

/* ---------- 03 絵画：茶杓と同じく、ずらして並べる格子（絵は切り取らずに全体を見せる） ---------- */

.works-paintings { border-top: 1px solid var(--line); }
.works-paintings .sec-lead { margin-top: 30px; }

.pw-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-bottom: clamp(70px, 14vw, 240px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  column-gap: clamp(20px, 9vw, 160px);
  row-gap: clamp(56px, 7vw, 120px);
}
.pw { min-width: 0; }
.pw:nth-child(even) { transform: translateY(clamp(60px, 14vw, 240px)); }
.pw-frame { display: block; overflow: hidden; background: var(--wall); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 34px 54px -30px rgba(0, 0, 0, 0.45); }
.pw-frame img { display: block; width: 100%; height: auto; transition: transform 1.6s var(--e-out); }
.work-link:hover .pw-frame img,
.work-link:focus-visible .pw-frame img { transform: scale(1.04); }

@media (max-width: 560px) {
  .pw-grid { column-gap: 14px; row-gap: 40px; }
  .pw:nth-child(even) { transform: translateY(56px); }
}

.works-note { padding: 56px var(--gutter) 0; text-align: center; font-size: 12.5px; letter-spacing: 0.1em; line-height: 1.9; color: var(--muted); }

/* ---------- 04 開催案内 ---------- */

.info-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(44px, 7vw, 120px);
  align-items: start;
}
.bd { margin: 0; font-weight: 300; line-height: 1; }
.bd-y { display: block; margin-bottom: 24px; font-size: 14px; letter-spacing: 0.5em; color: var(--muted); }
.bd-row { display: flex; align-items: baseline; gap: 0.5em; }
.bd-md { font-size: clamp(58px, 6.4vw, 104px); letter-spacing: 0.02em; }
.bd-w { font-size: clamp(13px, 1.1vw, 16px); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.bd-sep { display: block; width: 1px; height: clamp(30px, 3.2vw, 46px); margin: 16px 0 18px 0.6em; background: var(--amber); }
.bd-time { margin-top: 28px; font-size: clamp(18px, 1.6vw, 24px); font-weight: 300; letter-spacing: 0.14em; }
.status--lg { margin-top: 20px; font-size: 14px; letter-spacing: 0.1em; }

.info-list { margin: 0; border-top: 1px solid var(--line); }
.ir { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 0 1.6em; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ir dt { padding-top: 0.35em; font-size: 12px; letter-spacing: 0.3em; color: var(--muted); }
.ir dd { margin: 0; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.95; }
.ir--accent dt { color: var(--amber); }
.addr { font-size: 0.9em; color: var(--ink-2); }
.sep { margin: 0 0.6em; color: var(--line-2); }

.info-links {
  max-width: var(--maxw);
  margin: 56px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 48px;
}

.access { max-width: var(--maxw); margin: clamp(100px, 12vw, 170px) auto 0; }
.access-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(44px, 7vw, 120px); align-items: stretch; }
.sec-label--sm { gap: 0; }
.access-title { margin-top: 12px; font-size: clamp(20px, 1.9vw, 26px); letter-spacing: 0.3em; }
.routes { margin: 28px 0 34px; border-top: 1px solid var(--line); }
.rt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "line min" "st min";
  column-gap: 1em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.6;
}
.rt-line { grid-area: line; font-size: 11.5px; letter-spacing: 0.14em; color: var(--muted); }
.rt-st { grid-area: st; font-size: 17px; letter-spacing: 0.08em; }
.rt-min { grid-area: min; align-self: center; font-size: 12px; letter-spacing: 0.1em; color: var(--muted); white-space: nowrap; }
.rt-min b { margin: 0 0.1em; font-size: 32px; font-weight: 300; color: var(--ink); }
.rt--main .rt-min b { font-size: 46px; color: var(--amber); }
.venue { font-size: 17px; letter-spacing: 0.1em; line-height: 1.8; font-weight: 500; }
.venue .addr { font-weight: 400; }
.venue-links { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: 22px; }
.map { position: relative; min-height: 440px; background: var(--wall); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(0.92) brightness(1.03); transition: filter 1s var(--e-out); }
.map:hover iframe,
.map:focus-within iframe { filter: grayscale(0.15); }

@media (max-width: 899px) {
  .info-grid,
  .access-grid { grid-template-columns: 1fr; }
  .bd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 18px; }
  .bd-y { width: 100%; }
  .bd-sep { width: clamp(22px, 5vw, 40px); height: 1px; margin: 0; align-self: center; }
  .bd-md { font-size: clamp(44px, 12.4vw, 84px); }
  .info-links { justify-content: flex-start; flex-direction: column; align-items: flex-start; }
  .map { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
  .bd { gap: 0 10px; }
  .bd-w { font-size: 12px; }
  .ir { grid-template-columns: 1fr; padding: 16px 0; }
  .ir dt { padding-top: 0; font-size: 11px; }
}

/* ---------- 05 略歴 ---------- */

.profile { border-top: 1px solid var(--line); }
.profile-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(44px, 7vw, 120px);
}
.pf-id { position: sticky; top: calc(var(--hh) + 50px); align-self: start; }
.pf-name { font-size: clamp(28px, 2.8vw, 40px); font-weight: 500; letter-spacing: 0.36em; line-height: 1.4; }
.pf-en { margin-top: 10px; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.pf-note { margin-top: 26px; font-size: 14px; line-height: 2; letter-spacing: 0.16em; color: var(--ink-2); }
.cv { border-top: 1px solid var(--line); }
.cv-row { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 0 2em; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cv-y { font-size: 20px; font-weight: 300; letter-spacing: 0.08em; line-height: 1.5; }
.cv-y--ja { padding-top: 0.25em; font-size: 14px; font-weight: 400; letter-spacing: 0.3em; }
.cv-row--art .cv-y { color: var(--amber); }
.cv-t { font-size: 15px; line-height: 1.95; }

@media (max-width: 899px) {
  .profile-grid { grid-template-columns: 1fr; }
  .pf-id { position: static; }
}
@media (max-width: 480px) {
  .cv-row { grid-template-columns: 4em minmax(0, 1fr); gap: 0 1.2em; padding: 18px 0; }
  .cv-y { font-size: 17px; }
  .cv-y--ja { font-size: 12px; letter-spacing: 0.14em; }
  .cv-t { font-size: 14.5px; line-height: 1.9; }
}

/* ---------- 06 お問い合わせ ---------- */

.contact { border-top: 1px solid var(--line); }
.contact-body { max-width: var(--maxw); margin: 0 auto; }
.ct-org { margin-bottom: 28px; font-size: 17px; letter-spacing: 0.24em; font-weight: 500; }
.ct-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 28px; margin: 8px 0; }
.ct-l { width: 3.6em; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.ct-v {
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.8s var(--e-out);
}
.ct-v:hover,
.ct-v:focus-visible { background-size: 100% 1px; }
.ct-note { margin-top: 32px; font-size: 13px; line-height: 1.9; color: var(--muted); }

/* ---------- フッター ---------- */

.site-footer { padding: clamp(90px, 10vw, 140px) var(--gutter) 44px; border-top: 1px solid var(--line); text-align: center; }
.ft-title { font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; letter-spacing: 0.3em; padding-left: 0.3em; line-height: 1.6; }
.ft-sub { display: block; margin-top: 8px; font-size: 0.72em; letter-spacing: 0.36em; color: var(--amber); }
.ft-en { margin-top: 20px; font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.ft-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; margin: 28px 0 52px; font-size: 12px; letter-spacing: 0.16em; color: var(--ink-2); }
.to-top {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.to-top::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.6s var(--e-out);
}
.to-top:hover::before { transform: translateY(-5px) rotate(45deg); }
.ft-copy { margin-top: 40px; font-size: 11px; letter-spacing: 0.2em; color: var(--muted); }

/* ---------- 拡大表示 ---------- */

.lb {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: rgba(255, 255, 255, 0.985);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--e-out), visibility 0s linear 0.5s;
}
.lb.is-open { opacity: 1; visibility: visible; transition: opacity 0.5s var(--e-out); }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 70px clamp(16px, 8vw, 110px) 8px; }
.lb-img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 210px);
  max-height: calc(100svh - 210px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.35);
  transition: opacity 0.4s ease, transform 0.7s var(--e-out);
}
.lb-img.is-loading { opacity: 0; transform: scale(0.985); }
.lb-foot { padding: 12px 16px 24px; text-align: center; }
.lb-cap { min-height: 1.8em; font-size: 13px; letter-spacing: 0.2em; }
.lb-views { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.lb-views:empty { display: none; }
.lb-view { width: 58px; height: 44px; padding: 0; border: 1px solid transparent; background: none; opacity: 0.45; cursor: pointer; transition: opacity 0.3s, border-color 0.3s; }
.lb-view img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lb-view:hover { opacity: 0.8; }
.lb-view[aria-current="true"] { opacity: 1; border-color: var(--ink); }
.lb-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.4s;
}
.lb-btn:hover { border-color: var(--ink); }
.lb-close { top: 14px; right: 14px; }
.lb-close::before,
.lb-close::after { content: ""; position: absolute; left: 14px; right: 14px; top: 50%; height: 1px; background: currentColor; transform: rotate(45deg); }
.lb-close::after { transform: rotate(-45deg); }
.lb-prev,
.lb-next { top: 50%; margin-top: -48px; }
.lb-prev { left: clamp(8px, 2vw, 28px); }
.lb-next { right: clamp(8px, 2vw, 28px); }
.lb-prev::before,
.lb-next::before { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border-top: 1px solid currentColor; border-left: 1px solid currentColor; }
.lb-prev::before { transform: translate(-30%, -50%) rotate(-45deg); }
.lb-next::before { transform: translate(-70%, -50%) rotate(135deg); }
@media (max-width: 600px) {
  .lb-stage { padding: 64px 10px 6px; }
  .lb-prev,
  .lb-next { top: auto; bottom: 16px; margin-top: 0; width: 42px; height: 42px; }
  .lb-foot { padding: 10px 64px 22px; }
}

/* ---------- 作品の上だけに出る「View」 ---------- */

.cursor { position: fixed; left: 0; top: 0; z-index: 95; width: 0; height: 0; pointer-events: none; }
.cursor-dot {
  position: absolute;
  left: -46px;
  top: -46px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(20, 20, 20, 0.84);
  color: #fff;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  transform: scale(0);
  transition: transform 0.55s var(--e-out);
}
.cursor.is-view .cursor-dot { transform: scale(1); }
.has-cursor .work-link { cursor: none; }

/* 動きを控える設定の方へ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
