/* P3V2 の演出。pattern.css（P3 本線契約）のあとに読む。契約は spec/p3-v2.md */

/* --- TOP の探す: 見出しは左上 fixed。本文は全幅。1セクション=1画面 --- */
.splitflow {
  display: block;
  width: 100%;
  margin-top: 0;
}
.splitflow-side {
  position: fixed;
  top: calc(var(--split-top, 108px) + 16px);
  left: clamp(20px, 3vw, 48px);
  right: auto;
  width: auto;
  max-width: min(42vw, 420px);
  text-align: left;
  z-index: 20;
  pointer-events: none;
  transition: color 0.28s ease;
}
.splitflow-side .more { transition: color 0.28s ease; }
.splitflow-side.is-on-photo { color: #f6f1e7; }
.splitflow-side.is-on-photo .split-title { background: color-mix(in srgb, var(--ink) 78%, transparent); color: #f6f1e7; }
.splitflow-side.is-on-photo .more { background: color-mix(in srgb, var(--ink) 78%, transparent); color: rgba(246, 241, 231, .88); }
.splitflow-side.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.splitflow-side a { pointer-events: auto; }
.splitflow-item {
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
.splitflow-item.is-on {
  opacity: 1;
  visibility: visible;
}
.splitflow-body { width: 100%; }
.splitflow-sec:first-child { margin-top: 0; }
/* HERO と About のあいだだけ外側余白を足す（spec/p3-v2.md「TOP の About」2026-08-31 追加）。他セクションの間隔は変えない */
.splitflow-sec:has(.home-about) { margin-top: 64px; }
.splitflow-sec-head { display: none; }
@media (min-width: 901px) {
  .splitflow-sec {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0;
    padding: 64px 0;
  }
  .splitflow-sec:has(.mat-rail),
  .splitflow-sec:has(.proj-rail),
  .splitflow-sec:has(.lkd-pick),
  .splitflow-sec:has(.jp-zoom) {
    justify-content: stretch;
  }
}
.split-title {
  font-size: calc(var(--fs-h2) * 1.08);
  letter-spacing: .12em;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
  padding: .32em .6em;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  color: var(--ink);
}
.splitflow-side .more,
.splitflow-sec-head .more,
.home-about-copy .more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
  padding: .2em .5em;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
}

/* 見出し切替はクロスフェード＋字の据わり（0.28〜0.4 秒。跳ねない）。静止状態は常に最終形 */
html[data-motion="on"] .splitflow-item .split-title {
  letter-spacing: .3em;
  transform: translateY(-.08em);
  transition:
    letter-spacing .38s cubic-bezier(.22,.61,.21,1),
    transform .38s cubic-bezier(.22,.61,.21,1),
    color .28s ease,
    background .28s ease;
}
html[data-motion="on"] .splitflow-item.is-on .split-title { letter-spacing: .12em; transform: none; }
html[data-motion="on"] .splitflow-item .more { opacity: 0; transition: opacity .28s ease .08s, color .28s ease, background .28s ease; }
html[data-motion="on"] .splitflow-item.is-on .more { opacity: 1; }

/* 地図の滲みは TOP でも動かす。ホバーの fill だけ 0.9 秒 */
html[data-page="home"] .jp-map path {
  transition: opacity .55s ease var(--sd, 0ms), fill 0.9s cubic-bezier(.22,.61,.21,1);
}

/* モバイルのセクション頭（900px 以下でだけ出す）も同じ据わり */
html[data-motion="on"] .splitflow-sec-head .split-title {
  opacity: 0;
  letter-spacing: .3em;
  transform: translateY(-.1em);
  transition:
    opacity 0.35s ease .12s,
    letter-spacing 0.35s cubic-bezier(.22,.61,.21,1) .12s,
    transform 0.35s cubic-bezier(.22,.61,.21,1) .12s;
}
html[data-motion="on"] .splitflow-sec.is-visible .splitflow-sec-head .split-title { opacity: 1; letter-spacing: .12em; transform: none; }
html[data-motion="on"] .splitflow-sec-head .more { opacity: 0; transition: opacity 0.28s ease 0.08s; }
html[data-motion="on"] .splitflow-sec.is-visible .splitflow-sec-head .more { opacity: 1; }

/* --- TOP の About: フルブリード横長ビジュアル + 左寄りオーバーレイ（BMW X1 型）。据わりは付けず最初から最終形 --- */
.splitflow-sec .home-about {
  display: block;
  width: 100%;
  margin: 0;
}
.home-about-fig {
  position: relative;
  margin: 0;
  height: calc(100svh - 128px);
  min-height: 420px;
  overflow: hidden;
  background: var(--paper);
}
.home-about-fig > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 白文字の可読性を担保する左グラデ。静的なので視覚効果OFFでも掛かる */
.home-about-fig::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--ink) 68%, transparent) 0%,
    color-mix(in srgb, var(--ink) 36%, transparent) 46%,
    transparent 74%
  );
}
.home-about-copy {
  position: absolute;
  z-index: 1;
  left: clamp(20px, 6vw, 96px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: min(600px, calc(100% - 40px));
}
/* About の座布団は撤去（改訂3）。文字はすべて白。他セクションの座布団は残す */
.home-about-copy .split-title {
  margin: 0;
  padding: 0;
  font-size: calc(var(--fs-h2) * 1.08);
  background: none;
  color: #fff;
}
.home-about-copy .home-about-lead {
  margin: 0;
  padding: 0;
  background: none;
  color: #fff;
  font-size: .9375rem;
  line-height: 1.9;
}
.home-about-copy .home-about-note {
  margin: 0;
  padding: 0;
  background: none;
  color: #fff;
  font-size: .8125rem;
  line-height: 1.85;
}
.home-about-copy .more {
  margin: 0;
  padding: 0;
  background: none;
  color: #fff;
}

/* --- 地図の地方ズーム（TOP）。全国は地方単位・透過。県境界はズーム後 --- */
/* overflow-x: clip — 閉じた県パネルは translateX(24px) で右へはみ出し、visibility: hidden でもスクロール領域に含まれるためページ横スクロールの種になる。ここで横だけ切る（縦は visible のまま、開閉アニメは変えない） */
html[data-page="home"] .jp-zoom { position: relative; min-height: calc(100svh - 128px); overflow-x: clip; }
html[data-page="home"] .jp-zoom .jp-stage {
  background: transparent;
  padding: 0;
  min-height: calc(100svh - 128px);
}
html[data-page="home"] .jp-districts {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
}
html[data-page="home"] .jp-zoombar {
  position: absolute;
  left: 0;
  right: 0;
  top: 20px;
  margin: 0;
}
html[data-page="home"] .jp-zoom .jp-mapbox { width: min(92vw, 920px, 78svh); }
/* 全国ビュー: 県境は消し、地方の外周線（.jp-edge）だけ出す。塗りは地方ごとの2トーン */
html[data-page="home"] .jp-zoom:not(.is-pref) .jp-map path {
  stroke: none;
  fill: color-mix(in srgb, var(--ink) 22%, transparent);
  cursor: pointer;
}
html[data-page="home"] .jp-zoom:not(.is-pref) .jp-map path.is-open {
  fill: color-mix(in srgb, var(--ink) 22%, transparent);
}
html[data-page="home"] .jp-zoom:not(.is-pref) .jp-dg[data-dg="kanto"] path,
html[data-page="home"] .jp-zoom:not(.is-pref) .jp-dg[data-dg="kinki"] path,
html[data-page="home"] .jp-zoom:not(.is-pref) .jp-dg[data-dg="shikoku"] path,
html[data-page="home"] .jp-zoom:not(.is-pref) .jp-dg[data-dg="kyushu"] path,
html[data-page="home"] .jp-zoom:not(.is-pref) .jp-map g[data-inset] path,
html[data-page="home"] .jp-zoom:not(.is-pref) .jp-map g[data-inset] path.is-open {
  fill: color-mix(in srgb, var(--ink) 30%, transparent);
}
.jp-edge { pointer-events: none; }
html[data-page="home"] .jp-zoom.is-pref .jp-edge { display: none; }
/* ズーム後: その地方の県境だけ出す。他地方は薄く */
html[data-page="home"] .jp-zoom.is-pref .jp-dg:not(.is-active) { opacity: .22; }
html[data-page="home"] .jp-zoom.is-pref .jp-dg.is-active path {
  stroke: rgba(255, 255, 255, .65);
  stroke-width: 1;
}
/* 選択枠は outline を使わない。stroke にして svg 内に収める */
html[data-page="home"] .jp-mapbox { overflow: hidden; }
html[data-page="home"] .jp-map { overflow: hidden; }
html[data-page="home"] .jp-map path:focus-visible { outline: none; }
/* 枠は専用オーバーレイ path（.jp-focus-ring）。ズームレイヤの最後に描くので県の塗り・県境より上に出る */
html[data-page="home"] .jp-zoom .jp-mapbox .jp-map path.jp-focus-ring {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
  opacity: 1;
  transition: none;
}
/* ホバーは面が据わる（fill が墨に寄る。0.9 秒。跳ねない）。地方ビューは地方の面全体、県ビューは県の面 */
html[data-page="home"] .jp-zoom:not(.is-pref) .jp-dg:hover path,
html[data-page="home"] .jp-zoom:not(.is-pref) .jp-map g[data-inset]:hover path {
  fill: color-mix(in srgb, var(--ink) 44%, transparent);
}
html[data-page="home"] .jp-zoom.is-pref .jp-dg.is-active path:hover {
  fill: #b7b5ac;
}
html[data-page="home"] .jp-zoom.is-pref .jp-dg.is-active path.is-open:hover {
  fill: #8f8d84;
}
.jp-zoom .jp-stage { padding: clamp(16px, 3vh, 32px) 16px 14px; }
.jp-zoom-layer {
  transform-box: view-box;
  transform-origin: 0 0;
  /* 地方ズームは 0.6 秒で補間する（ジャンプ禁止）。跳ねない */
  transition: transform .6s cubic-bezier(.22,.61,.21,1);
}
.jp-dg { transition: opacity .6s ease; }
.jp-zoom .jp-map path { vector-effect: non-scaling-stroke; cursor: pointer; }
.jp-districts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 14px; }
.jp-district {
  border: 0;
  background: none;
  padding: 6px 2px;
  min-height: 44px;
  font-size: .8125rem;
  letter-spacing: .08em;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color .5s ease, border-color .5s ease;
}
.jp-district:hover, .jp-district:focus-visible { color: var(--ink); }
.jp-district.is-on { color: var(--ink); border-bottom-color: var(--ink); }
.jp-zoombar {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  margin: 12px 0 0;
  min-height: 44px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .5s ease;
}
.jp-zoombar.is-on { visibility: visible; opacity: 1; }
.jp-back {
  border: 0;
  background: none;
  padding: 6px 2px;
  min-height: 44px;
  font-size: .8125rem;
  letter-spacing: .08em;
  color: var(--ink);
  cursor: pointer;
  border-bottom: 1px solid var(--ink);
}
.jp-zoomname { color: var(--muted); font-size: .8125rem; letter-spacing: .08em; }

/* --- 県パネル（TOP のみ）: 県を選ぶと地図が左へスライドし、右にパネルが開く。0.6 秒。跳ねない --- */
.jp-mapcol {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.jp-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(43, 38, 32, .14);
  padding: 20px 20px 16px;
  text-align: left;
  font-size: .8125rem;
  line-height: 1.8;
  color: var(--ink);
  z-index: 2;
}
/* 閉じている間は畳むだけ。中身は DOM に残し、開けば最終形が見える（reduce 短絡は置かない） */
html[data-page="home"] .jp-panel {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.jp-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.jp-panel-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: normal;
  letter-spacing: .1em;
}
.jp-panel-theme { margin: 4px 0 0; color: var(--muted); letter-spacing: .06em; }
.jp-panel-close {
  border: 0;
  background: none;
  padding: 6px 2px;
  min-height: 44px;
  font-size: .8125rem;
  letter-spacing: .08em;
  color: var(--ink);
  cursor: pointer;
  border-bottom: 1px solid var(--ink);
  white-space: nowrap;
}
.jp-panel-count { margin: 14px 0 0; color: var(--muted); letter-spacing: .08em; }
.jp-panel-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.jp-panel-tile { display: block; color: var(--ink); text-decoration: none; }
.jp-panel-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--paper);
}
.jp-panel-tile span { display: block; margin-top: 6px; font-size: .75rem; letter-spacing: .06em; }
/* 「もっと見る」は一覧を grid-rows 0fr→1fr で広げる。パネル自体も少し広がる */
.jp-panel-more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .6s cubic-bezier(.22,.61,.21,1);
}
.jp-panel-more-in {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transition: opacity .5s ease;
}
.jp-zoom.is-more .jp-panel-more { grid-template-rows: 1fr; }
.jp-zoom.is-more .jp-panel-more-in { opacity: 1; }
.jp-panel-sub {
  margin: 18px 0 0;
  font-size: .75rem;
  font-weight: normal;
  letter-spacing: .12em;
  color: var(--muted);
}
.jp-panel-list { list-style: none; margin: 4px 0 0; padding: 0; }
.jp-panel-list li + li { border-top: 1px solid var(--line); }
.jp-panel-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  color: var(--ink);
  text-decoration: none;
}
.jp-panel-list a:hover { text-decoration: underline; }
.jp-panel-cat { color: var(--muted); font-size: .75rem; white-space: nowrap; }
.jp-panel-visit { margin: 18px 0 0; }
.jp-panel-visit a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  letter-spacing: .08em;
}
.jp-panel-note { margin: 14px 0 0; color: var(--muted); }
.jp-panel-morebtn {
  display: block;
  margin: 16px auto 0;
  border: 0;
  background: none;
  padding: 6px 2px;
  min-height: 44px;
  font-size: .8125rem;
  letter-spacing: .08em;
  color: var(--ink);
  cursor: pointer;
  border-bottom: 1px solid var(--ink);
}
/* 開いている県は墨の塗り。選択枠（.jp-focus-ring）は従来どおり最前面のオーバーレイ */
html[data-page="home"] .jp-zoom.is-pref .jp-dg.is-active path.is-sel,
html[data-page="home"] .jp-zoom.is-pref .jp-dg.is-active path.is-sel:hover,
html[data-page="home"] .jp-zoom.is-pref .jp-map g[data-inset] path.is-sel,
html[data-page="home"] .jp-zoom.is-pref .jp-map g[data-inset] path.is-sel:hover {
  fill: var(--ink);
}

/* デスクトップ: パネルは右に絶対配置。地図は margin-right の分だけ左へスライドし、チップとズームバーも同じ分だけ左へ寄る */
@media (min-width: 901px) {
  html[data-page="home"] .jp-panel {
    position: absolute;
    right: 0;
    top: 50%;
    width: clamp(280px, 34%, 420px);
    max-height: calc(100% - 48px);
    overflow-y: auto;
    transform: translateY(-50%) translateX(24px);
    transition:
      opacity .6s cubic-bezier(.22,.61,.21,1),
      transform .6s cubic-bezier(.22,.61,.21,1),
      width .6s cubic-bezier(.22,.61,.21,1),
      visibility 0s linear .6s;
  }
  html[data-page="home"] .jp-zoom.is-panel .jp-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
    transition-delay: 0s;
  }
  html[data-page="home"] .jp-zoom.is-more .jp-panel { width: clamp(320px, 42%, 560px); }
  html[data-page="home"] .jp-zoom .jp-mapcol {
    transition: margin-right .6s cubic-bezier(.22,.61,.21,1);
  }
  html[data-page="home"] .jp-zoom.is-panel .jp-mapcol {
    margin-right: calc(clamp(280px, 34%, 420px) + clamp(16px, 2.4vw, 40px));
  }
  html[data-page="home"] .jp-zoom.is-more .jp-mapcol {
    margin-right: calc(clamp(320px, 42%, 560px) + clamp(16px, 2.4vw, 40px));
  }
  html[data-page="home"] .jp-zoom .jp-mapbox {
    transition: width .6s cubic-bezier(.22,.61,.21,1);
  }
  html[data-page="home"] .jp-zoom.is-panel .jp-mapbox { width: min(60vw, 640px, 64svh); }
  html[data-page="home"] .jp-zoom.is-more .jp-mapbox { width: min(52vw, 560px, 58svh); }
  html[data-page="home"] .jp-districts,
  html[data-page="home"] .jp-zoombar {
    transition: opacity .5s ease, right .6s cubic-bezier(.22,.61,.21,1);
  }
  html[data-page="home"] .jp-zoom.is-panel .jp-districts,
  html[data-page="home"] .jp-zoom.is-panel .jp-zoombar {
    right: calc(clamp(280px, 34%, 420px) + clamp(16px, 2.4vw, 40px));
  }
  html[data-page="home"] .jp-zoom.is-more .jp-districts,
  html[data-page="home"] .jp-zoom.is-more .jp-zoombar {
    right: calc(clamp(320px, 42%, 560px) + clamp(16px, 2.4vw, 40px));
  }
}

/* モバイル: パネルは地図の下に全幅で開く（縦積み契約） */
@media (max-width: 900px) {
  html[data-page="home"] .jp-panel {
    width: 100%;
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    overflow: hidden;
    transition:
      max-height .6s cubic-bezier(.22,.61,.21,1),
      opacity .5s ease,
      margin .6s cubic-bezier(.22,.61,.21,1),
      padding .6s cubic-bezier(.22,.61,.21,1),
      border-width .6s ease,
      visibility 0s linear .6s;
  }
  html[data-page="home"] .jp-zoom.is-panel .jp-panel {
    max-height: 78svh;
    margin-top: 16px;
    padding: 16px;
    border-width: 1px;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
}

@media (max-width: 900px) {
  .splitflow { width: 100%; }
  .splitflow-side { display: none; }
  .splitflow-sec { margin-top: 56px; }
  .splitflow-sec:first-child { margin-top: 0; }
  .splitflow-sec:has(.home-about) { margin-top: 56px; }
  .splitflow-sec-head { display: block; margin: 20px 18px 12px; }
  .mat-rail, .proj-rail, .lkd-pick { min-height: 70svh; height: 70svh; }
  .home-about-fig { height: 70svh; min-height: 320px; }
}

/* --- 素材: 2列正方形。自動送りなし。手動の横スクロールだけ --- */
.mat-rail { width: 100%; height: calc(100svh - 128px); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.mat-rail::-webkit-scrollbar { display: none; }
.mat-rail-track {
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-auto-flow: column;
  grid-auto-columns: calc((100svh - 128px - 12px) / 2);
  height: 100%;
  gap: 12px;
}
.mat-cell { display: block; overflow: hidden; min-width: 0; min-height: 0; }
.mat-cell img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* --- 実例: 1面1枚、左から右へ（自動送りは実例だけ） --- */
.proj-rail { width: 100%; height: calc(100svh - 128px); overflow: hidden; touch-action: pan-y; }
.proj-rail-track { display: flex; height: 100%; will-change: transform; }
.proj-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.proj-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.proj-slide-name {
  position: absolute;
  left: 20px;
  bottom: 20px;
  color: #fff;
  letter-spacing: .08em;
  font-size: .875rem;
}

/* --- LKD: 3×2 で1画面。枠の間は 12px --- */
.lkd-pick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  height: calc(100svh - 128px);
  gap: 12px;
}
.lkd-cell { position: relative; overflow: hidden; min-width: 0; min-height: 0; }
.lkd-cell img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lkd-cell-kanji {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(40px, 8vw, 88px);
  letter-spacing: .12em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}

/* TOP の LKD だけ明度を落とす。/lkd/ の .lkd-card は触らない。.lkd-pick は TOP だけに出る */
.lkd-pick .lkd-cell img { filter: brightness(.85); }

/* --- ホバーはゆっくり（0.7〜1.1 秒）。跳ねない --- */
@media (hover: hover) and (pointer: fine) {
  .header-nav a::after { transition: transform .8s cubic-bezier(.22,.61,.21,1); }
  .logo { transition: letter-spacing .8s cubic-bezier(.22,.61,.21,1); }
  .card-photo img,
  .home-about-fig img,
  .tile img,
  .lkd-card img { transition: transform 1s cubic-bezier(.22,.61,.21,1); }
  .lkd-card .lkd-kanji { transition: letter-spacing .8s cubic-bezier(.22,.61,.21,1); }
}

/* --- 素材と実例のトーン --- */
.tone-projects .page-hero img { opacity: .62; }
.tone-projects .card-photo { aspect-ratio: 16 / 10; }
.tone-projects .card-meta { padding-top: 8px; }
.tone-projects .card-meta h3 { font-size: calc(var(--fs-h2) * 0.67); }
.tone-projects .kicker { font-size: .6875rem; }

.tone-materials .page-hero img { opacity: .4; }
.tone-materials .card { background: var(--paper); }
.tone-materials .card-meta { padding: 12px 14px 16px; }
.tone-materials .card-meta h3 { letter-spacing: .1em; }
.tone-materials .tags { margin-top: 10px; }

/* --- 地域から探すの整え --- */
.jp-wrap { gap: clamp(36px, 5vw, 72px); margin-top: 48px; }
.jp-side { padding-top: 24px; }
.jp-side .label { font-size: var(--fs-small); letter-spacing: .12em; color: var(--muted); }
.jp-legend { margin-top: 24px; }
.jp-areas { margin-top: 20px; gap: 12px 20px; }
.jp-area { padding-bottom: 4px; }
.region-sub { margin-top: 64px; }
.region-back { margin-bottom: 28px; }

@media (max-width: 900px) {
  .jp-wrap { gap: 28px; margin-top: 32px; }
  .jp-stage { padding: 20px 12px 12px; }
  .jp-mapbox { width: 100%; }
  .region-sub { margin-top: 48px; }
}

/* --- 素材詳細のコラム --- */
.columns {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin: calc(var(--space-section) * 0.83) auto 0;
}
.column-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  border-bottom: 1px solid var(--line);
}
.column-tabs button {
  border: 0;
  background: none;
  padding: 10px 2px;
  min-height: 44px;
  font-family: var(--serif);
  font-size: calc(var(--fs-h2) * 0.92);
  letter-spacing: .08em;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color .5s ease, border-color .5s ease;
}
.column-tabs button.is-on { color: var(--ink); border-bottom-color: var(--ink); }

.column-panel {
  max-width: 880px;
  margin: 0 auto;
  padding-top: 56px;
  line-height: 2;
}
.column-panel > p { margin-bottom: 1.2em; }
.column-lead { font-family: var(--serif); font-size: 1.125rem; line-height: 1.9; margin-bottom: 1.6em; }
.column-place { color: var(--muted); font-size: .8125rem; letter-spacing: .1em; margin-bottom: 2em; }
.column-fig { margin: 2.4em 0; overflow: hidden; }
.column-fig img { aspect-ratio: 3 / 2; background: var(--paper); }
.column-spec { margin-top: 2.4em; border-top: 1px solid var(--line); }
.column-spec > div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.column-spec dt { color: var(--muted); font-size: .75rem; letter-spacing: .08em; padding-top: 3px; }
.column-spec dd { margin: 0; font-size: .875rem; }

/* コラムの据わり。静止状態は常に最終形 */
html[data-motion="on"] .column-panel .column-lead,
html[data-motion="on"] .column-panel .column-place {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .75s ease .2s, transform .75s cubic-bezier(.22,.61,.21,1) .2s;
}
html[data-motion="on"] .column-panel.is-visible .column-lead,
html[data-motion="on"] .column-panel.is-visible .column-place { opacity: 1; transform: none; }

html[data-motion="on"] .column-fig {
  opacity: 0;
  transform: translateY(16px);
  box-shadow: 0 18px 40px rgba(43, 38, 32, .14);
  transition:
    opacity 1.1s ease .1s,
    transform 1.1s cubic-bezier(.22,.61,.21,1) .1s,
    box-shadow 1.5s ease .1s;
}
html[data-motion="on"] .column-fig img {
  transform: scale(1.04);
  filter: saturate(.78) brightness(1.03);
  transition:
    transform 2.2s cubic-bezier(.22,.61,.21,1) .1s,
    filter 1.8s ease .1s;
}
html[data-motion="on"] .column-fig.is-visible {
  opacity: 1;
  transform: none;
  box-shadow: 0 0 0 rgba(43, 38, 32, 0);
}
html[data-motion="on"] .column-fig.is-visible img { transform: none; filter: none; }

html[data-motion="on"] .column-panel > p:not(.column-lead):not(.column-place) {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity .7s ease var(--pd, 0ms),
    transform .7s cubic-bezier(.22,.61,.21,1) var(--pd, 0ms);
}
html[data-motion="on"] .column-panel > p.is-visible { opacity: 1; transform: none; }

html[data-motion="on"] .column-spec {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .7s ease .1s, transform .7s cubic-bezier(.22,.61,.21,1) .1s;
}
html[data-motion="on"] .column-spec.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .column-panel { padding-top: 40px; }
  .column-fig { margin: 1.8em 0; }
}

