/* =========================================================
   Masayoshi Notomi — Photo, Movie, Web, DTP
   light / monochrome / grotesk × serif italic
   ========================================================= */
:root {
  --bg: #f3f2ee;
  --fg: #161615;
  --dim: #8a8882;
  --line: rgba(22, 22, 21, .12);
  --tile: #e7e5df;
  --paper: #fbfaf7;

  --pad: clamp(16px, 2.4vw, 36px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  --sans: "Inter Tight", "Zen Kaku Gothic New", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --jp: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.is-locked, body.is-loading { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: 13px; font-weight: 400; line-height: 1.5; letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; }
[hidden] { display: none !important; }

.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%; z-index: 400; pointer-events: none; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(5) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -4%); } 75% { transform: translate(-4%, -1%); } 100% { transform: translate(0, 0); } }

/* =========================================================
   Loader
   ========================================================= */
.loader { position: fixed; inset: 0; z-index: 300; background: var(--bg); display: grid; place-items: center; transition: opacity 1s ease .2s, visibility 0s 1.2s; }
.is-loaded .loader { opacity: 0; visibility: hidden; }
.loader__frame { position: relative; width: clamp(120px, 14vw, 200px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--tile); transition: transform 1.1s var(--ease-io), opacity .8s; }
.loader__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.loader__frame img.is-on { opacity: 1; }
.is-leaving .loader__frame { transform: scale(.6); opacity: 0; }
.loader__count { position: absolute; left: var(--pad); bottom: var(--pad); margin: 0; font-family: var(--serif); font-size: clamp(56px, 9vw, 140px); line-height: .8; font-variant-numeric: tabular-nums; }
.loader__name { position: absolute; right: var(--pad); bottom: var(--pad); margin: 0; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }

/* =========================================================
   Header / Footer（写真の上では反転）
   ========================================================= */
.hd, .ft {
  position: fixed; left: 0; right: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--pad); pointer-events: none; mix-blend-mode: difference; color: #fff;
}
.hd { top: 0; height: 64px; padding-top: env(safe-area-inset-top); }
.ft { bottom: 0; height: 56px; padding-bottom: env(safe-area-inset-bottom); font-size: 11px; color: #c4c4c4; }
.hd > *, .ft > * { pointer-events: auto; }
.hd__name { justify-self: start; display: flex; flex-direction: column; font-size: 13px; font-weight: 500; letter-spacing: .02em; line-height: 1.25; }
.hd__name span { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 15px; color: #a5a5a5; letter-spacing: 0; }
.hd__cats { display: flex; gap: 26px; }
.hd__cats a, .hd__nav > *, .ft__views button { position: relative; padding: 6px 0; color: #a0a0a0; transition: color .4s; }
.hd__cats sup { margin-left: 3px; font-size: 8px; letter-spacing: 0; }
.hd__cats a.is-active, .hd__cats a:hover, .hd__nav > *:hover, .ft__views button[aria-selected="true"], .ft__views button:hover { color: #fff; }
.hd__cats a::before, .ft__views button::before {
  content: ""; position: absolute; left: -10px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%;
  background: #fff; transform: scale(0); transition: transform .5s var(--ease);
}
.hd__cats a.is-active::before, .ft__views button[aria-selected="true"]::before { transform: scale(1); }
.hd__nav { justify-self: end; display: flex; gap: 22px; }
.ft__caption { justify-self: start; font-variant-numeric: tabular-nums; }
.ft__views { display: flex; gap: 22px; transition: opacity .5s; }
.ft__clock { justify-self: end; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
body:not(.cat-photo) .ft__views { opacity: 0; pointer-events: none; }
.hd, .ft { opacity: 0; transition: opacity 1.2s ease .6s; }
.is-loaded .hd, .is-loaded .ft { opacity: 1; }

/* カテゴリー切り替え */
.cat { transition: opacity .55s ease; }
.is-switching .cat, .is-switching .view { opacity: 0; }
.cat-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px 40px; padding: clamp(110px, 16vh, 160px) var(--pad) clamp(32px, 4vw, 56px); }
.cat-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(72px, 13vw, 210px); line-height: .82; letter-spacing: -.02em; }
.cat-head h2 em { font-size: .32em; letter-spacing: 0; color: var(--dim); vertical-align: top; }
.cat-head p { margin: 0 0 8px; max-width: 24em; font-family: var(--jp); font-size: 12px; line-height: 2; letter-spacing: .08em; color: var(--dim); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s ease, transform 1.4s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Photo — Scatter
   ========================================================= */
.view--scatter { position: relative; }
.scatter { position: relative; width: 100%; will-change: transform; }
.has-smooth .scatter { position: fixed; top: 0; left: 0; }
.scatter__spacer { display: none; }
.has-smooth .scatter__spacer { display: block; }
.s-item { position: absolute; display: block; will-change: transform; }
.s-item__media { display: block; overflow: hidden; background: var(--tile); clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease), opacity .6s ease; }
.s-item.is-in .s-item__media { clip-path: inset(0 0 0 0); }
.s-item img { width: 100%; height: auto; transform: scale(1.15); transition: transform 1.8s var(--ease); }
.s-item.is-in img { transform: scale(1); }
.s-item__no { position: absolute; left: 0; top: calc(100% + 8px); font-size: 10px; color: var(--dim); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .6s; }
.scatter.is-hovering .s-item__media { opacity: .14; }
.scatter.is-hovering .s-item.is-hover .s-item__media { opacity: 1; }
.s-item.is-hover .s-item__no { opacity: 1; }
.scatter__intro { position: absolute; left: var(--pad); right: var(--pad); top: 34vh; pointer-events: none; }
.scatter__intro p { margin: 0; font-family: var(--serif); font-size: clamp(44px, 7.4vw, 128px); line-height: .92; letter-spacing: -.01em; }
.scatter__intro p em { color: var(--dim); }
.scatter__intro small { display: block; margin-top: 22px; font-family: var(--sans); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }

/* =========================================================
   Photo — Index
   ========================================================= */
.view--index { min-height: 100vh; padding: 120px var(--pad) 120px; }
.index { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(8px, 1.2vw, 18px); max-width: 1400px; margin: 0 auto; }
.i-item { display: block; height: clamp(72px, 8.5vw, 132px); opacity: 0; transform: translateY(12px); transition: opacity .9s ease, transform 1.1s var(--ease); }
.i-item.is-in { opacity: 1; transform: none; }
.i-item img { height: 100%; width: auto; transition: opacity .5s; }
.index.is-hovering .i-item img { opacity: .14; }
.index.is-hovering .i-item.is-hover img { opacity: 1; }
.index__preview { position: fixed; z-index: 3; inset: 0; display: grid; place-items: center; pointer-events: none; opacity: 0; transition: opacity .5s ease; }
.index__preview.is-on { opacity: 1; }
.index__preview img { max-width: min(46vw, 640px); max-height: 72vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .18); transform: scale(.98); transition: transform 1s var(--ease); }
.index__preview.is-on img { transform: none; }
.index__meta { position: fixed; left: 50%; bottom: 76px; display: flex; gap: 14px; align-items: baseline; margin: 0; transform: translateX(-50%); white-space: nowrap; }
.index__no { font-family: var(--serif); font-size: 26px; }
.index__title { font-family: var(--jp); font-size: 12px; letter-spacing: .14em; }

/* =========================================================
   Photo — Slide
   ========================================================= */
.view--slide { position: fixed; inset: 0; overflow: hidden; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; cursor: grab; touch-action: pan-y; }
.slide.is-drag { cursor: grabbing; }
.slide__track { display: flex; align-items: center; gap: clamp(24px, 5vw, 96px); padding: 0 50vw; will-change: transform; }
.sl-item { flex: 0 0 auto; height: min(64vh, 720px); opacity: .3; transform: scale(.86); transition: opacity .8s ease, transform 1.1s var(--ease); }
.sl-item.is-current { opacity: 1; transform: none; }
.sl-item img { height: 100%; width: auto; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.slide__meta { position: absolute; left: 50%; bottom: 88px; display: flex; gap: 16px; align-items: baseline; transform: translateX(-50%); white-space: nowrap; }
.slide__no { font-family: var(--serif); font-size: 30px; font-variant-numeric: tabular-nums; }
.slide__title { font-family: var(--jp); font-size: 12px; letter-spacing: .14em; color: var(--dim); }
.slide__bar { position: absolute; left: 50%; bottom: 72px; width: 120px; height: 1px; margin-left: -60px; background: var(--line); }
.slide__bar i { position: absolute; inset: 0; background: var(--fg); transform-origin: left; transform: scaleX(0); transition: transform .6s var(--ease); }
.view { transition: opacity .55s ease; }

/* =========================================================
   Movie — ステージ + リスト
   ========================================================= */
.film { padding: 0 var(--pad) 140px; }
.film__stage { position: relative; aspect-ratio: 16 / 9; max-height: 76vh; width: 100%; overflow: hidden; background: #0d0d0c; cursor: pointer; }
.film__stage video, .film__stage img.film__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.film__stage .is-vertical { object-fit: contain; }
.film__stage .film__blur { filter: blur(30px) brightness(.6); transform: scale(1.2); }
.film__stage .is-on { opacity: 1; }
.film__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45), transparent 40%); pointer-events: none; }
.film__now { position: absolute; z-index: 2; left: 24px; bottom: 20px; display: flex; align-items: baseline; gap: 16px; color: #fff; }
.film__now-no { font-family: var(--serif); font-size: clamp(32px, 4vw, 56px); line-height: 1; }
.film__now-title { font-family: var(--jp); font-size: 13px; letter-spacing: .12em; }
.film__hint { position: absolute; z-index: 2; right: 24px; bottom: 24px; font-family: var(--serif); font-style: italic; font-size: 18px; color: rgba(255,255,255,.8); }
.film__list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.film__row {
  display: grid; grid-template-columns: 4.5em minmax(0, 1fr) auto 4em; gap: 24px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line); cursor: pointer;
  transition: padding .6s var(--ease), color .4s, opacity .4s;
}
.film__list:hover .film__row { opacity: .35; }
.film__list:hover .film__row:hover, .film__row.is-active { opacity: 1; padding-left: 14px; }
.film__no { font-family: var(--serif); font-size: 28px; line-height: 1; }
.film__title { font-family: var(--jp); font-size: 15px; letter-spacing: .08em; }
.film__meta { font-size: 11px; color: var(--dim); letter-spacing: .04em; text-align: right; }
.film__len { font-family: var(--serif); font-style: italic; font-size: 18px; text-align: right; }

/* Player */
.player { position: fixed; inset: 0; z-index: 210; background: #0b0b0a; color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .6s ease; }
.player.is-open { opacity: 1; }
.player__video { max-width: calc(100vw - 2 * var(--pad)); max-height: calc(100vh - 140px); max-height: calc(100svh - 140px); width: auto; height: auto; background: #000; }
.player__bar { position: absolute; left: var(--pad); right: var(--pad); bottom: 22px; display: flex; justify-content: space-between; align-items: baseline; }
.player__title { margin: 0; display: flex; gap: 16px; align-items: baseline; font-family: var(--jp); font-size: 12px; letter-spacing: .12em; }
.player__title span:first-child { font-family: var(--serif); font-size: 28px; letter-spacing: 0; }
.player__close { color: #aaa; transition: color .3s; }
.player__close:hover { color: #fff; }

/* =========================================================
   Web — サイトカード
   ========================================================= */
.sites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(48px, 5vw, 80px) clamp(20px, 3vw, 48px); padding: 0 var(--pad) 140px; }
.site { display: block; cursor: pointer; }
.site__frame { position: relative; padding: 0 9% 9% 0; }
.site__browser { position: relative; overflow: hidden; aspect-ratio: 16 / 11; border-radius: 8px; background: #fff; box-shadow: 0 24px 60px rgba(22, 22, 21, .1), 0 0 0 1px rgba(22, 22, 21, .06); }
.site__browser .browser__bar { position: absolute; top: 0; left: 0; right: 0; z-index: 1; }
.site__view { position: absolute; top: 24px; left: 0; right: 0; bottom: 0; overflow: hidden; }
.site__view img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.site:hover .site__view img { animation: pan 8s ease-in-out infinite alternate; }
@keyframes pan { 0%, 6% { object-position: 50% 0; } 94%, 100% { object-position: 50% 100%; } }
.site__phone { position: absolute; right: 0; bottom: 0; width: 25%; aspect-ratio: 9 / 19.5; overflow: hidden; border: 5px solid var(--fg); border-radius: 18px; background: #fff; box-shadow: 0 20px 40px rgba(22, 22, 21, .16); transition: transform .9s var(--ease); }
.site__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.site:hover .site__phone { transform: translateY(-8px); }
.site__info { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin-top: 18px; }
.site__no { grid-row: span 2; font-family: var(--serif); font-size: 26px; line-height: 1; }
.site__title { font-family: var(--jp); font-size: 14px; letter-spacing: .08em; }
.site__meta { font-size: 11px; color: var(--dim); }

.browser { overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 24px 60px rgba(22, 22, 21, .1), 0 0 0 1px rgba(22, 22, 21, .06); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 12px; background: #eceae5; font-size: 10px; color: var(--dim); }
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: #d4d1ca; }
.browser__bar span { margin-left: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__scroll { max-height: min(72vh, 820px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.browser__scroll img { width: 100%; height: auto; }
.phone { overflow: hidden; border: 7px solid var(--fg); border-radius: 30px; background: #fff; box-shadow: 0 24px 50px rgba(22, 22, 21, .16); }
.phone--scroll { width: min(340px, 78vw); height: min(72vh, 720px); margin: 0 auto; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.phone--scroll::-webkit-scrollbar { display: none; }
.phone--scroll img { width: 100%; height: auto; }

/* Web case（オーバーレイ） */
.sitecase { position: fixed; inset: 0; z-index: 210; overflow-y: auto; background: var(--bg); opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .9s var(--ease); }
.sitecase.is-open { opacity: 1; transform: none; }
.sitecase__top { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; height: 64px; padding: 0 var(--pad); background: rgba(243, 242, 238, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sitecase__no { font-family: var(--serif); font-size: 22px; }
.sitecase__close { color: var(--dim); transition: color .3s; }
.sitecase__close:hover { color: var(--fg); }
.sitecase__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: clamp(32px, 5vw, 80px); padding: clamp(24px, 4vw, 56px) var(--pad) 96px; }
.sitecase__head { position: sticky; top: 96px; align-self: start; }
.sitecase__title { margin: 0 0 24px; font-family: var(--jp); font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: .08em; line-height: 1.5; }
.sitecase__text { margin: 0 0 28px; font-family: var(--jp); font-size: 13px; line-height: 2.1; letter-spacing: .05em; color: #4a4945; }
.sitecase__credits { margin: 0 0 32px; border-top: 1px solid var(--line); }
.sitecase__credits div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sitecase__credits dt { font-size: 11px; color: var(--dim); }
.sitecase__credits dd { margin: 0; font-family: var(--jp); font-size: 12px; }
.sitecase__visit { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 12px; letter-spacing: .06em; transition: gap .5s var(--ease); }
.sitecase__visit:hover { gap: 18px; }
.tabs { display: inline-flex; gap: 4px; margin: 0 0 20px; padding: 4px; border-radius: 999px; background: var(--tile); }
.tabs button { padding: 8px 22px; border-radius: 999px; font-size: 12px; letter-spacing: .1em; color: var(--dim); transition: background .4s, color .4s; }
.tabs button[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.sitecase__sp { padding: 8px 0; }
.sitecase__hint { margin: 16px 0 0; font-family: var(--jp); font-size: 11px; color: var(--dim); letter-spacing: .06em; }

/* =========================================================
   DTP — 制作物を切り取らずに見せる
   ========================================================= */
.prints { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 5vw, 80px) clamp(20px, 3vw, 48px); padding: 0 var(--pad) 140px; }
.print { display: block; cursor: pointer; }
.print__tile { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.pair { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; gap: 5%; padding: 8%; }
.pair img { flex: 0 1 auto; min-width: 0; max-width: 45%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 14px 34px rgba(22, 22, 21, .16); transition: transform 1.1s var(--ease); }
.print:hover .pair img { transform: translateY(-6px) rotate(-1deg); }
.print:hover .pair img + img { transform: translateY(-6px) rotate(1deg); transition-delay: .05s; }
.print__info { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin-top: 18px; }
.print__no { grid-row: span 2; font-family: var(--serif); font-size: 26px; line-height: 1; }
.print__title { font-family: var(--jp); font-size: 14px; letter-spacing: .08em; }
.print__meta { font-size: 11px; color: var(--dim); }

/* =========================================================
   Viewer（写真・DTP）
   ========================================================= */
.viewer { position: fixed; inset: 0; z-index: 220; background: var(--bg); opacity: 0; transition: opacity .6s ease; }
.viewer.is-open { opacity: 1; }
.viewer__stage { position: absolute; inset: 72px var(--pad) 92px; display: grid; place-items: center; overflow: hidden; }
.viewer__img { max-width: 100%; max-height: calc(100vh - 164px); max-height: calc(100svh - 164px); width: auto; height: auto; object-fit: contain; opacity: 0; transform: scale(1.03); transition: opacity .7s ease, transform 1.2s var(--ease); }
.viewer.is-print .viewer__img { box-shadow: 0 24px 60px rgba(22, 22, 21, .16); }
.viewer__img.is-ready { opacity: 1; transform: none; }
.viewer__hit { position: absolute; top: 0; bottom: 0; width: 50%; }
.viewer__hit--prev { left: 0; }
.viewer__hit--next { right: 0; }
.viewer__bar { position: absolute; left: var(--pad); right: var(--pad); bottom: 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; }
.viewer__no { margin: 0; font-family: var(--serif); font-size: 28px; font-variant-numeric: tabular-nums; }
.viewer__no i { margin: 0 8px; font-style: normal; color: var(--dim); }
.viewer__title { margin: 0; display: flex; gap: 14px; font-family: var(--jp); font-size: 12px; letter-spacing: .14em; }
.viewer__cat { color: var(--dim); }
.viewer__close { justify-self: end; color: var(--dim); transition: color .3s; }
.viewer__close:hover { color: var(--fg); }

/* =========================================================
   Information（暗いパネルで反転）
   ========================================================= */
.info { position: fixed; inset: 0; z-index: 250; }
.info__shade { position: absolute; inset: 0; background: rgba(243, 242, 238, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .7s ease; }
.info__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); overflow-y: auto;
  padding: 96px clamp(24px, 4vw, 56px) 48px; background: var(--fg); color: var(--bg);
  transform: translateX(100%); transition: transform .9s var(--ease-io);
}
.info.is-open .info__shade { opacity: 1; }
.info.is-open .info__panel { transform: none; }
.info__close { position: absolute; top: 24px; right: clamp(24px, 4vw, 56px); color: #8f8d87; }
.info__label { margin: 0 0 18px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8f8d87; }
.info__name { margin: 0 0 36px; font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 7vw, 92px); line-height: .9; }
.info__name em { color: #8f8d87; }
.info__text { margin: 0 0 36px; font-family: var(--jp); font-size: 13px; line-height: 2.1; letter-spacing: .06em; }
.info__list { margin: 0 0 40px; border-top: 1px solid rgba(243, 242, 238, .16); }
.info__list div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(243, 242, 238, .16); }
.info__list dt { font-size: 11px; color: #8f8d87; letter-spacing: .04em; }
.info__list dd { margin: 0; font-family: var(--jp); font-size: 13px; }
.info__list a { border-bottom: 1px solid currentColor; }
.info__dm { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; background: var(--bg); color: var(--fg); font-family: var(--jp); font-size: 13px; letter-spacing: .1em; transition: padding .5s var(--ease); }
.info__dm i { font-style: normal; transition: transform .5s var(--ease); }
.info__dm:hover { padding-left: 30px; }
.info__dm:hover i { transform: translateX(6px); }

/* =========================================================
   Cursor
   ========================================================= */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 500; pointer-events: none;
  width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; mix-blend-mode: difference;
  display: grid; place-items: center; opacity: 0;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), opacity .3s;
}
.cursor.is-active { opacity: 1; }
.cursor.is-label { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
.cursor__label { font-family: var(--serif); font-style: italic; font-size: 16px; color: #000; opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .has-cursor, .has-cursor a, .has-cursor button, .has-cursor .slide, .has-cursor .film__row, .has-cursor .film__stage, .has-cursor .site, .has-cursor .print { cursor: none; } }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1023px) {
  .sites { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sitecase__inner { grid-template-columns: 1fr; }
  .sitecase__head { position: static; }
}
@media (max-width: 767px) {
  .hd { grid-template-columns: 1fr auto; height: auto; padding-top: calc(14px + env(safe-area-inset-top)); align-items: start; row-gap: 8px; }
  .hd__cats { grid-column: 1 / -1; grid-row: 2; gap: 20px; padding-left: 10px; }
  .hd__nav { grid-column: 2; grid-row: 1; gap: 14px; }
  .ft { grid-template-columns: 1fr auto; }
  .ft__caption { display: none; }
  .ft__views { justify-self: start; gap: 18px; padding-left: 10px; }
  .view--index { padding-top: 132px; }
  .index__preview img { max-width: 80vw; }
  .sl-item { height: 58vh; }
  .sites, .prints { grid-template-columns: 1fr; }
  .film__row { grid-template-columns: 3em minmax(0, 1fr) 3.5em; }
  .film__meta { display: none; }
  .film__hint { display: none; }
  .viewer__bar { grid-template-columns: auto 1fr; row-gap: 6px; }
  .viewer__title { grid-column: 1 / -1; grid-row: 2; }
  .cat-head { padding-top: 132px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .grain { display: none; }
}
.site__frame, .site__browser, .print__tile { display: block; }
/* Slide：縦横比を保つ */
.sl-item img { width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* Movie：選択したらサムネイル＋再生ボタン */
.film__stage { cursor: default; }
.film__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.film__still.is-vertical { object-fit: contain; background: #0d0d0c; }
.film__still.is-on { opacity: 1; }
.film__play {
  position: absolute; z-index: 3; left: 50%; top: 50%; display: grid; place-items: center; gap: 10px;
  width: clamp(96px, 9vw, 132px); aspect-ratio: 1; margin: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .75); color: #fff; background: rgba(0, 0, 0, .18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transform: translate(-50%, -50%) scale(.9); opacity: .0; transition: opacity .6s ease, transform .8s var(--ease), background .4s;
}
.film__stage:hover .film__play, .film__stage.is-picked .film__play, .film__play:focus-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.film__play:hover { background: rgba(255, 255, 255, .92); color: var(--fg); }
.film__play-icon { width: 0; height: 0; margin-left: 4px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent currentColor; }
.film__play-label { position: absolute; bottom: -30px; font-family: var(--serif); font-style: italic; font-size: 16px; color: #fff; white-space: nowrap; }
.film__play-label i { font-style: italic; opacity: .8; }
.film__play:hover .film__play-label { color: #fff; }
.film__row.is-active .film__no { font-style: italic; }
@media (hover: none) { .film__play { opacity: 1; transform: translate(-50%, -50%) scale(1); } }



/* カーソル：作品の上では色を反転させない（半透明の白い円＋ぼかし） */
.cursor.is-label {
  mix-blend-mode: normal;
  background: rgba(243, 242, 238, .78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 24px rgba(22, 22, 21, .12);
}
.cursor.is-label .cursor__label { color: var(--fg); }
