/* しなの茶屋 — 夜の庭（藍）と灯り（金）、鳥居の朱、月白の読み物面 */
:root {
  --night: #161a2c;
  --night-2: #1d2238;
  --night-3: #283050;
  --moon: #e9edf2;
  --moon-2: #dde3ea;
  --moon-line: #c3cad6;
  --ink: #1d2030;
  --ink-2: #4a5066;
  --on-night: #eef0f6;
  --on-night-2: #b8bdd0;
  --gold: #e9be76;
  --gold-line: #c9a25e;
  --gold-soft: rgba(233, 190, 118, 0.32);
  --shu: #c63d2b;
  --shu-deep: #a52f20;
  --asagi: #5cc9bd;
  --green: #2e5b4f;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 64px;
  --max: 1640px;
  --read: 38em;
  --font-display: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Noto Serif CJK JP", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Noto Sans CJK JP", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--moon);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: .04em;
  font-feature-settings: "palt" 0;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-underline-offset: .28em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; letter-spacing: inherit; }
:focus-visible { outline: 3px solid var(--asagi); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.no-js .js-only { display: none !important; }
main:focus { outline: none; }
main { overflow-x: clip; } /* 横から入る写真の動きで一瞬はみ出さないように */

.skip { position: absolute; left: 12px; top: 0; transform: translateY(-110%); z-index: 100; background: var(--gold); color: var(--night); padding: 10px 16px; font-weight: 700; border-radius: 4px; }
.skip:focus { transform: translateY(12px); }

/* ---------- サイトを開いた時：白い画面にロゴが浮かび、霧が晴れるように本編へ ---------- */
.intro-veil { display: none; }
html.intro .intro-veil {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 300;
  background: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  animation: veil-clear 2.6s cubic-bezier(.45, 0, .35, 1) 2.4s forwards;
}
.intro-veil__logo { width: min(300px, 60vw); }
.intro-veil__logo img { width: 100%; height: auto; }
html.intro .intro-veil__logo { animation: veil-logo-in 2s cubic-bezier(.22, .61, .36, 1) .25s both; }
html.intro .intro-veil__out { animation: veil-logo-out 1.8s cubic-bezier(.45, 0, .35, 1) 2.4s forwards; }
/* 文字の書体が読み込み終わるまで霧を晴らさない（晴れた後に文字がずれないように） */
/* 演出の間は、ページ側のアニメーションを止めておき、霧が晴れてから始める（演出そのものは止めない） */
html.intro body * { animation-play-state: paused !important; }
html.intro .intro-veil, html.intro .intro-veil * { animation-play-state: running !important; }
html.intro.fonts-wait .intro-veil, html.intro.fonts-wait .intro-veil__out { animation-play-state: paused !important; }
html.intro.intro-skip .intro-veil, html.intro.intro-skip .intro-veil__out { animation-duration: .6s; animation-delay: 0s; animation-play-state: running !important; }
@keyframes veil-logo-in { from { opacity: 0; transform: scale(.96); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes veil-logo-out { from { opacity: 1; transform: none; filter: blur(0); } to { opacity: 0; transform: scale(1.04); filter: blur(10px); } }
@keyframes veil-clear {
  0% { background-color: rgba(255, 255, 255, 1); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
  45% { background-color: rgba(255, 255, 255, .55); }
  100% { background-color: rgba(255, 255, 255, 0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); visibility: hidden; }
}

/* ---------- 文字 ---------- */
.h-page, .h-section, .hero__display, .profile__name, .card__name, .roster__h, .tl__title, .h-sub {
  font-family: var(--font-display);
  font-feature-settings: "palt" 1;
}
.h-page { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem); font-weight: 800; line-height: 1.3; letter-spacing: .06em; }
.h-section { font-size: clamp(1.65rem, 1.2rem + 1.5vw, 2.5rem); font-weight: 800; line-height: 1.4; letter-spacing: .06em; margin-bottom: .7em; }
.h-sub { font-size: 1.25rem; font-weight: 700; line-height: 1.5; letter-spacing: .06em; margin-bottom: .8em; }

.flower { width: 1em; height: 1em; fill: var(--asagi); flex: none; }
.flower--lg { width: 40px; height: 40px; }

/* ---------- ボタン・リンク ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .55em 1.5em;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none;
  letter-spacing: .08em; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--shu { background: var(--shu); color: #fff; }
.btn--shu:hover { background: var(--shu-deep); }
.btn--line { background: transparent; color: inherit; border-color: currentColor; }
.btn--line:hover { background: rgba(127, 127, 127, .14); }
.btn--lg { min-height: 56px; font-size: 1.06rem; padding-inline: 2em; }
.header-cta { gap: 0; }
.btn--sm { min-height: 44px; padding: .4em 1.1em; font-size: .9rem; }
.btn--ext .ext { width: .9em; height: .9em; }

.link-ext { display: inline-flex; align-items: center; gap: .3em; font-weight: 500; text-decoration: underline; transition: color .2s ease; }
.link-ext .ext { width: .85em; height: .85em; flex: none; }
.link-ext:hover { text-decoration-thickness: 2px; }
.link-arrow { display: inline-flex; align-items: center; gap: .6em; font-weight: 700; text-decoration: none; padding-block: .5em; }
.link-arrow::after { content: ""; width: 28px; height: 1px; background: currentColor; transition: width .25s var(--ease); }
.link-arrow:hover::after { width: 44px; }
.link-arrow:hover { text-decoration: underline; }

.tag { display: inline-block; padding: .05em .7em; border: 1px solid currentColor; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; line-height: 1.7; }
.tag--gold { color: var(--gold); margin-right: .6em; }
.tag--muted { color: var(--ink-2); margin-left: .6em; }
.gen { font-size: .82rem; letter-spacing: .1em; margin-left: .7em; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22, 26, 44, .94);
  color: var(--on-night);
  border-bottom: 1px solid rgba(233, 190, 118, .16);
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(22, 26, 44, .82); backdrop-filter: blur(10px); } }
.site-header__inner {
  max-width: var(--max); margin: 0 auto; min-height: var(--header-h);
  padding: 6px var(--gutter); padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right));
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; margin-right: auto; text-decoration: none; min-height: 44px; }
.brand__mark { width: 48px; height: 48px; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: .1em; line-height: 1; }
h1, h2, h3, .hero__lead, .page-head__lead, .voice p, .card__quote, .profile__quote, figcaption, .staff__quote, .next__none { word-break: auto-phrase; }
.gnav { display: none; }
.gnav__list { list-style: none; display: flex; gap: clamp(12px, 1.6vw, 28px); }
.gnav__list a { display: block; padding: 10px 2px; text-decoration: none; color: var(--on-night-2); font-size: .94rem; font-weight: 500; background: linear-gradient(var(--gold), var(--gold)) no-repeat left bottom 4px / 0 1px; transition: color .2s ease, background-size .25s var(--ease); }
.gnav__list a:hover, .gnav__list a[aria-current="page"] { color: var(--on-night); background-size: 100% 1px; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 6px; background: none; border: 0; color: var(--on-night); cursor: pointer; }
.menu-btn__bars, .menu-btn__bars::before { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; }
.menu-btn__bars::before { content: ""; position: absolute; top: 7px; width: 14px; }
.menu-btn__bars { transform: translateY(-3px); }
.menu-btn__label { font-size: .82rem; }
@media (max-width: 400px) { .menu-btn__label, .header-cta__tail { display: none; } .header-cta { padding-inline: .9em; font-size: .84rem; letter-spacing: .04em; } .brand__name { font-size: 1.02rem; letter-spacing: .04em; } .brand__mark { width: 44px; height: 44px; } }
.no-js .gnav { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--night); overflow-x: auto; }
.no-js .gnav__list { padding: 0 var(--gutter); width: max-content; }
@media (min-width: 1180px) {
  .gnav, .no-js .gnav { display: block; position: static; background: none; }
  .no-js .gnav__list { padding: 0; }
  .menu-btn { display: none; }
  .header-cta { margin-left: 12px; }
  .brand { margin-right: auto; }
}

/* サイト内検索：ヘッダー右の虫眼鏡 */
.search-btn { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; background: none; border: 1px solid transparent; border-radius: 50%; color: var(--on-night); cursor: pointer; transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
.search-btn:hover { color: var(--gold); border-color: var(--gold-soft); }
.search-btn[aria-expanded="true"] { color: var(--gold); }
@media (min-width: 1180px) { .search-btn { margin-left: 4px; } }

.search { padding: 0; border: 0; margin: 0 auto auto; width: 100%; max-width: 100%; max-height: 100%; background: transparent; color: var(--on-night); overflow: visible; }
.search::backdrop { background: rgba(8, 10, 20, .62); }
@supports (backdrop-filter: blur(4px)) { .search::backdrop { background: rgba(8, 10, 20, .5); backdrop-filter: blur(4px); } }
.search__panel {
  width: min(760px, 100%); margin: 0 auto; max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
  padding: max(14px, env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
  background: var(--night); border-bottom: 1px solid rgba(233, 190, 118, .22); box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
@media (min-width: 800px) {
  .search { margin-top: calc(var(--header-h) + 12px); }
  .search__panel { max-height: calc(100dvh - var(--header-h) - 40px); border: 1px solid rgba(233, 190, 118, .22); border-radius: 14px; padding: 18px 26px 22px; }
}
.search[open] .search__panel { animation: search-in .32s var(--ease); }
@keyframes search-in { from { opacity: 0; transform: translateY(-10px); } }
.search__label { display: block; margin-bottom: 8px; font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .14em; color: var(--gold); }
.search__field { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--gold-soft); padding-bottom: 8px; }
.search__field:focus-within { border-bottom-color: var(--gold); }
.search__icon { flex: none; color: var(--on-night-2); }
.search__input { flex: 1; min-width: 0; min-height: 44px; padding: 0; border: 0; background: none; color: var(--on-night); font: inherit; font-size: max(16px, 1.15rem); letter-spacing: .04em; }
.search__input::placeholder { color: rgba(184, 189, 208, .62); }
.search__input:focus { outline: none; }
.search__input::-webkit-search-cancel-button { filter: invert(.8); cursor: pointer; }
.search__close { flex: none; min-height: 40px; padding: 0 14px; background: none; border: 1px solid var(--gold-soft); border-radius: 999px; color: var(--on-night); font-size: .86rem; cursor: pointer; }
.search__close:hover { border-color: var(--gold); }
.search__status { margin: 12px 0 0; font-size: .86rem; color: var(--on-night-2); }
.search__status:empty { display: none; }
.search__hints { margin-top: 16px; }
.search__hints-h { font-size: .8rem; letter-spacing: .12em; color: var(--on-night-2); margin-bottom: 8px; }
.search__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.search__chips button { min-height: 36px; padding: 0 14px; background: rgba(233, 190, 118, .06); border: 1px solid var(--gold-soft); border-radius: 999px; color: var(--on-night); font: inherit; font-size: .88rem; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.search__chips button:hover { background: rgba(233, 190, 118, .14); border-color: var(--gold); }
.search__results { list-style: none; margin-top: 6px; }
.search__results:empty { display: none; }
.search__results li + li { border-top: 1px solid rgba(233, 190, 118, .12); }
.search__hit { display: grid; gap: 3px; padding: 13px 10px; margin: 0 -10px; border-radius: 8px; text-decoration: none; color: var(--on-night); transition: background-color .15s ease; }
.search__hit:hover, .search__hit:focus-visible { background: rgba(233, 190, 118, .09); }
.search__hit:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.search__crumb { font-size: .76rem; letter-spacing: .08em; color: var(--on-night-2); }
.search__title { font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; line-height: 1.5; }
.search__snip { font-size: .86rem; line-height: 1.75; color: var(--on-night-2); overflow-wrap: anywhere; }
.search mark { background: none; color: var(--gold); font-weight: 700; box-shadow: inset 0 -.32em rgba(233, 190, 118, .2); }
@media (forced-colors: active) { .search mark { color: Highlight; } }

/* メニュー（スマホ） */
.menu { padding: 0; border: 0; margin: 0 0 0 auto; width: min(420px, 100%); max-width: 100%; height: 100%; max-height: 100%; background: var(--night); color: var(--on-night); }
.menu::backdrop { background: rgba(8, 10, 20, .6); }
.menu[open] { animation: menu-in .24s var(--ease); }
@keyframes menu-in { from { transform: translateX(24px); opacity: 0; } }
.menu__inner { min-height: 100%; overflow-y: auto; padding: max(16px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) 28px; display: flex; flex-direction: column; gap: 24px; }
.menu__close { align-self: flex-end; min-height: 44px; padding: 0 16px; background: none; border: 1px solid var(--gold-soft); border-radius: 999px; color: var(--on-night); cursor: pointer; }
.menu__list { list-style: none; display: grid; }
.menu__list a { display: block; padding: 12px 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(233, 190, 118, .14); }
.menu__list a[aria-current="page"] { color: var(--gold); }
.menu__ext { list-style: none; display: grid; gap: 8px; color: var(--on-night-2); }
.menu__ext a { min-height: 44px; }

/* ---------- 次回営業 ---------- */
.next { border-left: 2px solid var(--gold-line); padding: 2px 0 2px 18px; }
.next__label { display: flex; align-items: center; gap: .5em; font-family: var(--font-body); font-size: .9rem; font-weight: 700; letter-spacing: .14em; margin: 0 0 .4em; }
.next__date { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; line-height: 1.35; margin: 0; letter-spacing: .04em; }
.next__date.is-cancelled { text-decoration: line-through; text-decoration-thickness: 2px; }
.next__time { font-size: 1.05rem; font-weight: 700; margin: 0 0 .3em; }
.next__tz { font-size: .8rem; font-weight: 500; margin-left: .7em; opacity: .85; }
.next__status { font-weight: 700; color: var(--shu); }
.next__title, .next__note { margin: .2em 0; }
.next__none { margin: 0 0 .3em; font-weight: 500; }
.next__more { margin: .4em 0 0; font-size: .92rem; }

/* ---------- キービジュアル ---------- */
.hero { background: var(--night); color: var(--on-night); padding: 0 var(--gutter) clamp(48px, 7vw, 96px); overflow: clip; }
.hero__frame {
  --g: 12px;
  display: grid; gap: 22px var(--g);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "main" "copy" "act";
  max-width: var(--max); margin: 0 auto;
}
.hero__main { grid-area: main; margin-inline: calc(var(--gutter) * -1); min-width: 0; }

/* スライド（写真は全体表示。16:9の写真を同じ枠で切り替える） */
.slider { position: relative; overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; background: var(--night-2); touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.slider__track { position: relative; height: 100%; }
.slider__slide { position: absolute; inset: 0; min-width: 0; visibility: hidden; }
.slider__slide.is-current { visibility: visible; z-index: 2; }
.slider__slide.is-next { visibility: visible; z-index: 1; }
.no-js .slider__slide:first-child { visibility: visible; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.js .slider { cursor: grab; }
.js .slider.is-dragging { cursor: grabbing; }
.slider-ctrl { grid-area: ctrl; display: flex; align-items: center; justify-content: flex-end; min-width: 0; margin-top: -10px; }
.slider-ctrl__pause { width: 36px; height: 36px; opacity: .75; }
.slider-ctrl__pause:hover, .slider-ctrl__pause:focus-visible { opacity: 1; }
.slider-ctrl__btn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold-soft); background: transparent; color: var(--on-night); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.slider-ctrl__btn:hover { border-color: var(--gold); background: rgba(233, 190, 118, .1); }
.slider-ctrl__btn svg { width: 18px; height: 18px; }
.slider-ctrl__pause .i-play { display: none; }
.slider-ctrl__pause[aria-pressed="true"] .i-play { display: block; }
.slider-ctrl__pause[aria-pressed="true"] .i-pause { display: none; }
.slider-ctrl__now { display: flex; align-items: baseline; gap: 12px; margin: 0 0 0 8px; min-width: 0; flex: 1 1 auto; }
.slider-ctrl__count { font-family: var(--font-display); font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.slider-ctrl__cap { font-size: .92rem; color: var(--on-night-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.slider-ctrl__dots { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; padding-inline: 48px; }
.slider-ctrl__dot { display: grid; place-items: center; width: 26px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.slider-ctrl__dot span { display: block; width: 18px; height: 2px; background: rgba(233, 190, 118, .3); transition: background-color .3s ease, height .3s ease; }
.slider-ctrl__dot[aria-current="true"] span { background: var(--gold); height: 3px; }
.slider-ctrl__dot:hover span { background: var(--gold-line); }
@media (min-width: 600px) { .slider-ctrl { margin-top: -6px; } }
@media (max-width: 719px) { .slider-ctrl { margin-top: -14px; } }
.hero__cast { grid-area: cast; width: min(82%, 440px); justify-self: end; margin-top: 18px; }
.hero__cast img { width: 100%; height: auto; }
.hero__cast-link { display: block; }
.hero__copy { grid-area: copy; }
.hero__act { grid-area: act; display: grid; gap: 28px; }
.hero__eyebrow { display: inline-block; font-size: .95rem; font-weight: 700; letter-spacing: .14em; color: var(--gold); margin: 0 0 .6em; }
.hero__display { font-size: clamp(2.3rem, 1.3rem + 4.2vw, 3.9rem); font-weight: 800; line-height: 1.32; letter-spacing: .08em; margin: 0 0 .45em; }
.hero__lead { color: var(--on-night-2); max-width: 26em; font-size: 1.02rem; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__btns .btn--shu { flex: 1 1 220px; }
.hero__btns .btn--line { flex: 0 1 auto; color: var(--on-night); border-color: var(--gold-soft); }
.hero .next__more a, .hero .link-ext { color: var(--on-night-2); }
.hero__caption { grid-area: caption; margin: -8px 0 0; justify-self: end; width: min(82%, 440px); }
.hero__caption a { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 12px; text-decoration: none; padding-block: 6px; }
.hero__caption-role { grid-column: 1; font-size: .82rem; color: var(--gold); letter-spacing: .12em; }
.hero__caption-name { grid-column: 1; font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; letter-spacing: .08em; line-height: 1.4; }
.hero__caption-go { grid-column: 2; grid-row: 1 / 3; align-self: end; font-size: .9rem; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.hero__caption a:hover .hero__caption-go { color: var(--gold); }

@media (min-width: 720px) {
  .hero__frame {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-areas: "main main" "copy act";
    gap: 28px 32px;
  }
  .hero__main { margin-inline: 0; margin-top: 16px; }
  .hero__cast { width: 100%; margin-top: 0; align-self: start; }
  .hero__caption { width: 100%; margin-top: -16px; }
  .hero__copy { align-self: end; }
}
@media (min-width: 1100px) {
  .hero { padding-top: 18px; }
  .hero__frame {
    --g: 14px;
    width: min(100%, var(--max), max(980px, calc((100vh - var(--header-h) - 190px) * 1.7778)));
    width: min(100%, var(--max), max(980px, calc((100svh - var(--header-h) - 190px) * 1.7778)));
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    grid-template-areas: "main main" "copy act";
    column-gap: var(--g);
    row-gap: 26px;
  }
  .hero__main, .hero__cast { margin: 0; }
  .hero__copy { align-self: start; padding-right: 24px; }
  .hero__display { font-size: clamp(2.2rem, 2.9vw, 3.6rem); }
  .hero__act { align-self: start; padding-top: 6px; gap: 22px; }
  .hero__caption { margin: 0; align-self: start; }
  .hero__caption a { grid-template-columns: 1fr; }
  .hero__caption-go { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; }
}
/* ロゴと見出しの時間差（画像はすぐ表示） */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__copy > * { animation: rise-soft 1.8s cubic-bezier(.22, .61, .36, 1) .2s both; }
  .js .hero__copy > :nth-child(2) { animation-delay: .6s; }
  .js .hero__copy > :nth-child(3) { animation-delay: 1.1s; }
  .js .hero__act { animation: rise-soft 1.8s cubic-bezier(.22, .61, .36, 1) 1.5s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
@keyframes rise-soft { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- 公式PV ---------- */
.intro { background: var(--night); color: var(--on-night); padding: 0 var(--gutter) clamp(64px, 9vw, 120px); }
.intro__inner { max-width: 1240px; margin: 0 auto; display: grid; gap: 36px; border-top: 1px solid rgba(233, 190, 118, .2); padding-top: clamp(40px, 6vw, 72px); }
.intro__text p { color: var(--on-night-2); max-width: var(--read); }
.intro__text .h-section { color: var(--on-night); }
@media (min-width: 900px) { .intro__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; } }

.xembed__stage { position: relative; min-width: 0; }
.xembed:not(.is-loaded) .xembed__stage { display: grid; place-items: center; min-height: 220px; border: 1px solid var(--gold-soft); border-radius: 2px; padding: 28px; text-align: center; }
.xembed--light:not(.is-loaded) .xembed__stage { border-color: var(--moon-line); background: rgba(255, 255, 255, .45); }
.xembed__thumb { width: 100%; height: auto; margin-bottom: 16px; }
.xembed__placeholder { display: grid; justify-items: center; gap: 12px; max-width: 26em; color: var(--on-night-2); }
.xembed--light .xembed__placeholder { color: var(--ink-2); }
.xembed.is-loaded .xembed__placeholder, .xembed.is-loaded .xembed__thumb { display: none; }
.xembed__frame { display: flex; justify-content: center; min-width: 0; }
.xembed__frame > * { max-width: 100% !important; }
.xembed__status:empty { display: none; }
.xembed__status { margin: 12px 0 0; font-size: .92rem; padding: 10px 14px; border-radius: 2px; background: rgba(127, 127, 127, .14); }
.xembed__status.is-error { border-left: 3px solid var(--shu); }
.xembed__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 16px; }
.xembed--dark .btn--line { border-color: var(--gold-soft); }
.xembed__note { margin-top: 10px; font-size: .86rem; opacity: .85; }
.xembed.is-loaded .xembed__note { display: none; }
.xembed.is-loaded [data-xembed-load] { display: none; }

/* ---------- 引用（本人の言葉） ---------- */
.voice { margin: 1.4em 0 0; padding-left: 18px; border-left: 2px solid var(--shu); }
.voice p { font-family: var(--font-display); font-size: 1.22rem; font-weight: 700; line-height: 1.7; margin: 0 0 .3em; }
.voice footer { font-size: .88rem; }
.voice footer a { text-decoration: underline; }
.voice--night { border-left-color: var(--gold-line); }

/* ---------- 過ごし方 ---------- */
.ways { padding: clamp(64px, 9vw, 128px) var(--gutter); }
.ways__inner { max-width: 1240px; margin: 0 auto; display: grid; gap: 32px; }
.ways__head p, .ways__item p { max-width: var(--read); color: var(--ink-2); }
.ways__item h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; letter-spacing: .06em; margin-bottom: .5em; line-height: 1.5; }
.ways__photo img { width: 100%; height: 100%; object-fit: cover; }
.ways__photo--sweets { aspect-ratio: 4 / 5; width: min(88%, 440px); justify-self: end; }
.ways__photo--sweets img { object-position: center 40%; }
.ways__photo--conv { margin-inline: calc(var(--gutter) * -1); aspect-ratio: 16 / 9; }
@media (min-width: 960px) {
  .ways__inner { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
  .ways__head { grid-column: 1 / 6; grid-row: 1; align-self: end; }
  .ways__photo--sweets { grid-column: 7 / 12; grid-row: 1 / 3; width: 100%; }
  .ways__item--a { grid-column: 2 / 6; grid-row: 2; align-self: start; }
  .ways__photo--conv { grid-column: 1 / 9; grid-row: 3; margin: 0; }
  .ways__item--b { grid-column: 9 / 13; grid-row: 3; align-self: end; }
}

/* ---------- 人物カード ---------- */
.card { list-style: none; min-width: 0; }
.card__link { display: grid; text-decoration: none; color: inherit; gap: 4px; padding-bottom: 6px; }
.card__photo { display: block; overflow: hidden; background: var(--night-2); outline: 1px solid transparent; outline-offset: 3px; transition: outline-color .25s ease; }
.card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, center 18%); transition: transform .3s var(--ease); }
.card__meta { margin-top: 10px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; color: var(--gold); }
.card__meta .gen { margin-left: .4em; color: var(--on-night-2); }
.card__name { font-size: 1.22rem; font-weight: 800; line-height: 1.45; letter-spacing: .06em; }
.card__name-text { background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0 1px; transition: background-size .25s var(--ease); padding-bottom: 2px; }
.card__quote { font-size: .9rem; line-height: 1.75; color: var(--on-night-2); }
.card__link:hover .card__photo img, .card__link:focus-visible .card__photo img { transform: scale(1.02); }
.card__link:hover .card__photo, .card__link:focus-visible .card__photo { outline-color: var(--gold-line); }
.card__link:hover .card__name-text, .card__link:focus-visible .card__name-text { background-size: 100% 1px; }
.card__link:focus-visible { outline-offset: 6px; }

/* トップの顔ぶれ */
.cast-strip { background: var(--night); color: var(--on-night); padding: clamp(64px, 9vw, 120px) 0; }
.cast-strip__inner { max-width: var(--max); margin: 0 auto; }
.cast-strip__head { padding: 0 var(--gutter); display: grid; gap: 4px 48px; margin-bottom: 36px; }
.cast-strip__head p { color: var(--on-night-2); max-width: var(--read); }
.cast-strip__head .btn { justify-self: start; color: var(--on-night); border-color: var(--gold-soft); margin-top: 8px; }
.cast-strip__list { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 16px; scroll-padding-inline: var(--gutter); scrollbar-color: var(--gold-line) transparent; }
.cast-strip__list .card { scroll-snap-align: start; }
@media (min-width: 760px) {
  .cast-strip__head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .cast-strip__head .h-section { grid-column: 1 / -1; }
  .cast-strip__head .btn { margin: 0; }
  .cast-strip__list { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; gap: 32px 20px; padding: 4px var(--gutter) 0; }
}
@media (min-width: 1100px) { .cast-strip__list { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ---------- 空間 ---------- */
.space { background: var(--night); color: var(--on-night); padding-bottom: clamp(64px, 9vw, 120px); }
.space__hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 55%; }
.space__hero figcaption { max-width: var(--max); margin: 10px auto 0; padding: 0 var(--gutter); font-size: .86rem; color: var(--on-night-2); }
@media (min-width: 760px) { .space__hero img { aspect-ratio: 21 / 9; } }
.space__inner { max-width: 1320px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gutter) 0; display: grid; gap: 40px; }
.space__head p { color: var(--on-night-2); max-width: var(--read); }
.space__grid { list-style: none; display: grid; gap: 28px; }
.space__item figure { display: flex; flex-direction: column; height: 100%; }
.space__item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.space__item figcaption { margin-top: 10px; font-size: .9rem; color: var(--on-night-2); }
.space__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--on-night); letter-spacing: .06em; }
.space__more { margin: 0; }
.space__head, .space__more { position: relative; z-index: 2; } /* 写真が横から入る間も文字を隠さない */
@media (min-width: 900px) {
  .space__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 56px; }
  .space__head { grid-column: 1; grid-row: 1; align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
  .space__grid { grid-column: 2; grid-row: 1 / 3; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 16px; }
  .space__more { grid-column: 1; grid-row: 2; align-self: end; }
  .space__item--1 { grid-column: span 4; }
  .space__item--2 { grid-column: span 2; }
  .space__item--3 { grid-column: span 2; }
  .space__item--4 { grid-column: span 4; }
  .space__item--2 img, .space__item--3 img { aspect-ratio: auto; flex: 1 1 0; min-height: 0; height: 100%; }
}

/* ---------- 初めての方へ（トップ） ---------- */
.first { padding: clamp(64px, 9vw, 128px) var(--gutter); }
.first__inner { max-width: 1240px; margin: 0 auto; display: grid; gap: 36px; }
.first__photo { margin-inline: calc(var(--gutter) * -1); }
.first__photo img { width: 100%; }
.first__body > p { color: var(--ink-2); max-width: var(--read); }
@media (min-width: 960px) {
  .first__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
  .first__photo { margin: 0; }
}
.steps { list-style: none; display: grid; gap: 18px; margin: 28px 0 32px; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
.steps__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; line-height: 1; padding-bottom: 2px; }
.steps h3 { font-size: 1.05rem; line-height: 1.6; margin: 8px 0 2px; }
.steps p { color: var(--ink-2); margin: 0; }

/* ---------- 実績 ---------- */
.records { padding: clamp(56px, 8vw, 112px) var(--gutter); background: var(--moon-2); }
.records__inner { max-width: 1240px; margin: 0 auto; }
.records__grid { display: grid; gap: 40px; }
.record h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; letter-spacing: .05em; line-height: 1.5; margin-bottom: .3em; }
.record__kind { font-size: .86rem; font-weight: 700; letter-spacing: .12em; color: var(--ink-2); margin-bottom: .5em; }
.record--vket { display: grid; gap: 18px; }
.record__text p { color: var(--ink-2); }
.record__detail { display: flex; align-items: end; gap: 14px; margin-top: 16px; }
.record__detail p { font-size: .86rem; color: var(--ink-2); margin: 0; }
.record--media { border-left: 2px solid var(--shu); padding-left: 20px; }
.record--media p { color: var(--ink-2); }
.yt { position: relative; width: 100%; max-width: 640px; aspect-ratio: 16 / 9; margin-top: 12px; background: var(--night); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.record--history .link-arrow { margin-top: 10px; }
.mini-timeline { list-style: none; display: grid; gap: 0; }
.mini-timeline li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--moon-line); }
.mini-timeline time { font-family: var(--font-display); font-weight: 700; }
@media (max-width: 420px) { .mini-timeline li { grid-template-columns: minmax(0, 1fr); gap: 0; } }
@media (min-width: 960px) {
  .records__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 56px; }
  .record--vket { grid-row: 1 / 3; }
}

/* 拡大できる画像 */
.zoom { display: block; position: relative; cursor: zoom-in; }
.zoom img { width: 100%; }
.zoom__hint { position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(22, 26, 44, .78); color: #fff; transition: transform .2s ease; }
.zoom__hint svg { width: 20px; height: 20px; }
.zoom:hover .zoom__hint { transform: scale(1.06); }
.zoom--detail { width: 160px; flex: none; border: 1px solid var(--moon-line); }
.zoom--detail .zoom__hint { width: 32px; height: 32px; right: 6px; bottom: 6px; }

/* ---------- 下層ページの見出し ---------- */
.page-head { padding: clamp(36px, 6vw, 80px) var(--gutter) clamp(40px, 6vw, 72px); }
.page-head--night { background: var(--night); color: var(--on-night); }
.page-head--night .page-head__lead { color: var(--on-night-2); }
.page-head__inner { max-width: 1240px; margin: 0 auto; }
.page-head__lead { max-width: var(--read); margin-top: 1em; color: var(--ink-2); font-size: 1.04rem; }
.page-head__jump { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.crumb { font-size: .88rem; margin-bottom: 1.2em; display: flex; gap: .6em; flex-wrap: wrap; }
.crumb a { text-decoration: underline; }
.page-head__photo img { width: 100%; }
.page-head__inner--split { display: grid; gap: 32px; }
@media (min-width: 1000px) { .page-head__inner--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; } }

/* ---------- 一覧ページ ---------- */
.page-cast { background: var(--night); }
.roster { background: var(--night); color: var(--on-night); padding: 0 var(--gutter) clamp(72px, 10vw, 128px); }
.roster__inner { max-width: var(--max); margin: 0 auto; }
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; padding: 12px 0; }
.filter__btn { display: inline-flex; align-items: center; gap: .6em; min-height: 44px; padding: .3em 1.2em; border-radius: 999px; border: 1px solid var(--gold-soft); background: transparent; color: var(--on-night); cursor: pointer; font-weight: 700; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.filter__btn:hover { border-color: var(--gold); }
.filter__btn[aria-pressed="true"] { background: var(--gold); color: var(--night); border-color: var(--gold); }
.filter__n { font-size: .8rem; font-weight: 500; opacity: .8; }
.roster__group { margin-top: clamp(32px, 5vw, 56px); }
.roster__group[hidden] { display: none; }
.roster__h { display: flex; align-items: center; gap: 16px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-weight: 800; letter-spacing: .08em; margin-bottom: 24px; }
.roster__h::after { content: ""; flex: 1; height: 1px; background: var(--gold-soft); }
.roster__count { font-family: var(--font-body); font-size: .9rem; font-weight: 500; color: var(--on-night-2); letter-spacing: .08em; }
.roster__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, clamp(148px, 21vw, 280px)), 1fr)); gap: 40px clamp(14px, 2vw, 28px); }
.roster__list .card[hidden] { display: none; }

/* ---------- 個別プロフィール ---------- */
.pslider { width: 100%; width: round(down, 100%, 1px); }
.page-profile { background: var(--moon); }
.profile__inner { display: grid; }
.profile__photo { background: var(--night); padding: 0; }
.profile__photo > img { width: 100%; height: auto; max-height: none; }
.profile__body { padding: 32px var(--gutter) 48px; min-width: 0; }
.profile__meta { color: var(--ink-2); margin-bottom: .6em; }
.profile__name { font-size: clamp(2.3rem, 1.6rem + 3vw, 4rem); font-weight: 800; line-height: 1.25; letter-spacing: .06em; margin-bottom: .5em; }
.profile__quote { font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); font-weight: 700; line-height: 1.75; padding-left: 18px; border-left: 2px solid var(--shu); margin-bottom: 1.6em; max-width: 30em; }
.profile__bio { max-width: var(--read); font-size: 1.04rem; }
.profile__bio p { margin-bottom: 1.2em; }
.profile__work, .profile__video, .profile__extra { position: relative; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--moon-line); max-width: 600px; }
.profile__video { border-top-color: transparent; }
.profile__line { position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--moon-line); transform-origin: left center; }
.profile__extra { display: grid; gap: 16px; }
.profile__extra-item figcaption { font-size: .86rem; color: var(--ink-2); margin-top: 6px; }
.profile__nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 24px var(--gutter) 64px; max-width: 1240px; margin: 0 auto; border-top: 1px solid var(--moon-line); }
.sib { display: grid; text-decoration: none; padding: 6px 0; min-width: 0; }
.sib--next { text-align: right; }
.sib__dir { font-size: .82rem; color: var(--ink-2); }
.sib__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; text-decoration: underline; text-decoration-thickness: 1px; }
@media (max-width: 520px) {
  .profile__nav { grid-template-columns: 1fr 1fr; }
  .profile__nav .btn { grid-column: 1 / -1; grid-row: 2; }
}
@media (min-width: 960px) {
  .profile__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: calc(100vh - var(--header-h)); }
  .profile__photo { display: flex; align-items: flex-start; justify-content: center; padding: 40px clamp(24px, 3vw, 56px); }
  .profile__photo > img { position: sticky; top: calc(var(--header-h) + 32px); width: auto; max-width: 100%; max-height: calc(100vh - var(--header-h) - 64px); }
  .profile__body { padding: 56px clamp(32px, 5vw, 96px) 72px; }
  .pslider { position: sticky; top: calc(var(--header-h) + 32px); width: min(100%, calc((100vh - var(--header-h) - 64px - 44px) * var(--arw))); width: min(100%, calc((100svh - var(--header-h) - 64px - 44px) * var(--arw))); width: round(down, min(100%, calc((100svh - var(--header-h) - 64px - 44px) * var(--arw))), 1px); }
}

/* 紹介ページの写真スライド：指では端末の慣性スクロールのまま、マウス・点・キーではゆっくり減速して止まる */
.pslider__view { overflow-x: auto; overflow-y: hidden; aspect-ratio: var(--ar); background: var(--night); scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pslider__view::-webkit-scrollbar { display: none; }
.js .pslider__view { cursor: grab; }
.pslider.is-anim .pslider__view, .pslider.is-drag .pslider__view { scroll-snap-type: none; }
.pslider.is-drag .pslider__view { cursor: grabbing; }
.pslider__view:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.pslider__track { display: flex; height: 100%; }
.pslider__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.pslider__slide img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.pslider__dots { display: flex; justify-content: center; gap: 2px; padding: 10px 0 6px; }
.profile__photo--slides .pslider__dots { background: var(--night); }
.pslider__dot { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; background: none; border: 0; cursor: pointer; }
.pslider__dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(238, 240, 246, .34); transition: background-color .45s ease, transform .45s var(--ease); }
.pslider__dot:hover::before { background: rgba(238, 240, 246, .6); }
.pslider__dot[aria-current="true"]::before { background: var(--gold); transform: scale(1.3); }
.pslider__dot:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: 50%; }

/* ---------- 初めての方へ ---------- */
.page-head--moon { background: var(--moon); }
.roles { background: var(--night); color: var(--on-night); padding: clamp(56px, 8vw, 112px) var(--gutter); }
.roles__inner { max-width: 1240px; margin: 0 auto; display: grid; gap: 40px; }
.roles__photos { position: relative; padding-bottom: 56px; }
.roles__main img { width: 100%; }
.roles__detail { position: absolute; right: -8px; bottom: 0; width: 38%; max-width: 240px; border: 6px solid var(--night); }
.roles__detail img { width: 100%; }
.roles__list { display: grid; gap: 18px; margin: 0 0 24px; }
.roles__list div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(233, 190, 118, .2); }
.roles__list dt { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--gold); }
.roles__list dd { margin: 0; color: var(--on-night-2); }
@media (min-width: 960px) { .roles__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; } }

.join { padding: clamp(64px, 9vw, 120px) var(--gutter); }
.join__inner { max-width: 1240px; margin: 0 auto; }
.join__head p { color: var(--ink-2); max-width: var(--read); }
.join__grid { display: grid; gap: 40px; margin-top: 36px; }
.join-steps { list-style: none; display: grid; gap: 0; counter-reset: s; }
.join-steps li { position: relative; padding: 0 0 36px 64px; min-width: 0; }
.join-steps li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 48px; bottom: 6px; width: 1px; background: var(--moon-line); }
.join-steps__n { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--moon); font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; line-height: 1; padding-bottom: 2px; }
.join-steps h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; line-height: 1.5; padding-top: 6px; margin-bottom: .5em; }
.join-steps p { color: var(--ink-2); max-width: var(--read); }
.join-steps__fact { color: var(--ink) !important; font-weight: 700; padding: 10px 14px; background: #fff; border-left: 3px solid var(--shu); }
.join-steps__note { font-size: .92rem; }
.ri-name { display: inline-flex; align-items: center; gap: .2em; font-weight: 700; color: var(--shu); text-decoration: underline; text-underline-offset: .25em; }
.ri-name .ext { width: .85em; height: .85em; }
.ri-name:hover { color: var(--shu-deep); }
.join__note { margin-top: 32px; padding: 14px 18px; border-left: 3px solid var(--gold-line); background: rgba(255, 255, 255, .55); font-size: .95rem; max-width: 46em; }
.first__note { font-size: .9rem; color: var(--ink-2); margin: -12px 0 24px; }
.join__side { display: grid; gap: 32px; align-content: start; }
.join__side .next { background: var(--night); color: var(--on-night); border-left: 0; padding: 24px; border-radius: 2px; }
.join__side .next .link-ext { color: var(--on-night-2); }
.join__group h3 { font-size: 1.05rem; margin-bottom: .4em; }
.join__group p { color: var(--ink-2); font-size: .95rem; }
@media (min-width: 960px) { .join__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; } }
.facts { margin-top: 24px; padding-top: 32px; border-top: 1px solid var(--moon-line); }
.facts dl { display: grid; gap: 0; margin: 0; }
.facts__row { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--moon-line); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
@media (max-width: 480px) { .facts__row { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.poster { background: var(--night); color: var(--on-night); padding: clamp(56px, 8vw, 100px) var(--gutter); }
.poster__inner { max-width: 1040px; margin: 0 auto; display: grid; gap: 32px; align-items: center; }
.poster__img { width: min(78%, 340px); }
.poster__text p { color: var(--on-night-2); max-width: var(--read); }
.poster__note { font-size: .92rem; border-left: 2px solid var(--gold-line); padding-left: 14px; }
@media (min-width: 760px) { .poster__inner { grid-template-columns: 340px minmax(0, 1fr); gap: 56px; } .poster__img { width: 100%; } }

.faq, .rules, .sns { padding: clamp(56px, 8vw, 100px) var(--gutter) 0; }
.faq__inner, .rules__inner, .sns__inner { max-width: 880px; margin: 0 auto; }
.sns { padding-bottom: clamp(56px, 8vw, 100px); }
.faq { padding-bottom: clamp(56px, 8vw, 100px); }
.faq__list { border-top: 1px solid var(--moon-line); }
.faq__item { border-bottom: 1px solid var(--moon-line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 18px 0; min-height: 44px; font-weight: 700; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__a { padding: 0 0 20px; color: var(--ink-2); max-width: var(--read); }
.rules__summary { padding-left: 1.2em; display: grid; gap: 8px; margin-bottom: 24px; }
.rules__full summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.rules__full > div { padding-top: 12px; color: var(--ink-2); }

/* ---------- 人と空間 ---------- */
.space--page .space__hero img { aspect-ratio: 16 / 9; }
@media (min-width: 760px) { .space--page .space__hero img { aspect-ratio: 21 / 9; } }
.people { padding: clamp(64px, 9vw, 120px) var(--gutter); }
.people__inner { max-width: 1240px; margin: 0 auto; display: grid; gap: 56px; }
.people__inner > .h-section { margin-bottom: -24px; }
.people__staff { display: grid; gap: 48px; }
.staff { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px clamp(20px, 4vw, 48px); align-items: start; }
.staff__photo img { width: 100%; }
.staff__meta { color: var(--ink-2); }
.staff__name { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-weight: 800; letter-spacing: .06em; line-height: 1.4; margin: .2em 0 .5em; }
.staff__name a { text-decoration: none; }
.staff__name a:hover { text-decoration: underline; }
.staff__quote { font-family: var(--font-display); font-weight: 700; line-height: 1.8; }
@media (min-width: 1000px) { .people__staff { grid-template-columns: 1fr 1fr; } }
.appear__list { list-style: none; display: grid; gap: 16px; }
.appear__item { border-left: 2px solid var(--shu); padding: 4px 0 4px 20px; }
.appear__label { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin-bottom: .2em; }
.appear__item p { color: var(--ink-2); }
.appear__item .btn, .appear__item .link-arrow { margin-top: 8px; }
.support p { color: var(--ink-2); }
.support__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-top: 20px; }
.mini-person { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; text-decoration: none; }
.mini-person__photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--night); }
.mini-person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.mini-person__text { display: grid; }
.mini-person__meta { font-size: .9rem; color: var(--ink-2); }
.mini-person__name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.mini-person:hover .mini-person__name { text-decoration: underline; }
.credits__list { display: grid; margin: 0; }
.credits__list div { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--moon-line); }
.credits__list dd { margin: 0; }
.credits__note { display: block; font-size: .88rem; color: var(--ink-2); }
.group-photo { background: var(--night); padding: clamp(48px, 7vw, 96px) var(--gutter); }
.group-photo__inner { max-width: 1240px; margin: 0 auto; }

/* ---------- お知らせ ---------- */
.news { padding: 0 var(--gutter) clamp(64px, 9vw, 120px); }
.news__inner { max-width: 1000px; margin: 0 auto; display: grid; gap: 56px; }
.news .next--news { background: var(--night); color: var(--on-night); border-left: 0; padding: 24px 28px; border-radius: 2px; }
.news .next--news .link-ext { color: var(--on-night-2); }
.empty { color: var(--ink-2); padding: 20px 0; border-top: 1px solid var(--moon-line); }
.posts, .logs { list-style: none; border-top: 1px solid var(--moon-line); }
.post, .log { display: grid; gap: 6px 32px; padding: 24px 0; border-bottom: 1px solid var(--moon-line); }
.post time, .log time { font-family: var(--font-display); font-weight: 700; }
.post h3, .log h3 { font-size: 1.15rem; line-height: 1.6; margin-bottom: .4em; }
.log__photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin-top: 12px; }
@media (min-width: 760px) { .post, .log { grid-template-columns: 12em minmax(0, 1fr); } .post figure { grid-column: 2; } }

/* ---------- 茶屋のあゆみ（縦型タイムライン） ---------- */
.history { padding: 0 var(--gutter) clamp(72px, 10vw, 128px); }
.history__inner { max-width: 820px; margin: 0 auto; }
.tl { list-style: none; --dot: 13px; --dot-y: .95rem; }
.tl__item { position: relative; padding: 0 0 44px 44px; min-width: 0; }
.tl__item::before { content: ""; position: absolute; left: calc(var(--dot) / 2 - .5px); top: var(--dot-y); height: 100%; width: 1px; background: var(--gold-line); }
.tl__item:last-child::before { display: none; }
.tl__item::after { content: ""; position: absolute; left: 0; top: calc(var(--dot-y) - var(--dot) / 2); width: var(--dot); height: var(--dot); border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--moon); }
.tl__date { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.9rem; letter-spacing: .06em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tl__title { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); font-weight: 800; line-height: 1.5; letter-spacing: .05em; margin-top: 2px; }
.tl__note { margin-top: .5em; color: var(--ink-2); max-width: var(--read); }
.tl__episode { margin-top: .6em; max-width: var(--read); }
.tl__people { font-size: .9rem; color: var(--ink-2); }
.tl__photo { margin-top: 16px; max-width: 520px; }
.tl__links { list-style: none; margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.history__closing { margin-top: 24px; padding-top: 32px; border-top: 1px solid var(--moon-line); font-family: var(--font-display); font-size: 1.15rem; line-height: 2; }

/* ---------- フッター ---------- */
.site-footer { background: var(--night); color: var(--on-night-2); border-top: 1px solid rgba(233, 190, 118, .2); padding: 56px var(--gutter) max(28px, env(safe-area-inset-bottom)); }
.page-home .site-footer, .page-cast .site-footer, .page-about .site-footer { border-top-color: rgba(233, 190, 118, .2); }
.site-footer__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 36px; }
.site-footer__logo { display: inline-block; width: 210px; max-width: 100%; }
.site-footer__lead { margin-top: 10px; font-size: .9rem; }
.site-footer__nav ul, .site-footer__ext ul { list-style: none; display: grid; gap: 2px; }
.site-footer__nav a, .site-footer__ext a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; color: var(--on-night); }
.site-footer__nav a:hover, .site-footer__ext a:hover { color: var(--gold); text-decoration: underline; }
.site-footer__h { font-size: .86rem; letter-spacing: .12em; margin-bottom: .4em; }
.site-footer__copy { max-width: var(--max); margin: 40px auto 0; font-size: .82rem; }
@media (min-width: 760px) {
  .site-footer__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer__nav ul { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}

/* ---------- 拡大表示 ---------- */
.lightbox { padding: 0; border: 0; margin: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; background: rgba(10, 12, 22, .96); color: var(--on-night); }
.lightbox::backdrop { background: rgba(10, 12, 22, .9); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: fade .22s ease; }
@keyframes fade { from { opacity: 0; } }
.lightbox__bar { display: flex; justify-content: flex-end; padding: max(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 6px 12px; }
.lightbox__close { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--gold-soft); background: rgba(22, 26, 44, .8); color: var(--on-night); cursor: pointer; }
.lightbox__stage { min-height: 0; overflow: auto; display: grid; place-items: center; padding: 0 max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left)); }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__cap { margin: 0; padding: 10px 16px max(14px, env(safe-area-inset-bottom)); text-align: center; font-size: .92rem; }

/* 個別ページの宣材写真：開いた時に、ゆっくり浮かび上がる */
@media (prefers-reduced-motion: no-preference) {
  .profile__photo > img, .pslider { animation: emerge 2.2s cubic-bezier(.22, .61, .36, 1) .15s both; }
}
@keyframes emerge {
  from { opacity: 0; transform: translateY(18px) scale(.985); filter: blur(6px); }
  60% { filter: blur(0); }
  to { opacity: 1; transform: none; filter: none; }
}

/* ---------- しなの茶屋の想い ---------- */
.page-philo { background: var(--night); }
.philo-label { font-family: var(--font-body); font-size: .9rem; font-weight: 700; letter-spacing: .32em; color: var(--gold); margin: 0 0 1.4em; }
.philo-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; letter-spacing: .24em; color: var(--on-night-2); margin: 0 0 3em; }
.philo-motto { position: relative; background: var(--night); color: var(--on-night); padding: clamp(36px, 6vw, 72px) var(--gutter) clamp(72px, 10vw, 128px); overflow: clip; }
.philo-motto::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 50% 46% at 50% 46%, rgba(233, 190, 118, .14), rgba(233, 190, 118, 0) 70%); }
.philo-motto__inner { position: relative; max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.philo-motto .crumb { align-self: flex-start; }
.motto__word { writing-mode: vertical-rl; text-orientation: upright; font-family: var(--font-display); font-weight: 800; font-size: clamp(3.4rem, 2rem + 7vw, 7.2rem); line-height: 1; letter-spacing: .32em; margin: 0 0 .4em; color: var(--on-night); }
.motto__word span { display: inline-block; }
.motto__reading { font-size: .95rem; letter-spacing: .5em; color: var(--gold); margin: 0 0 1.6em; padding-left: .5em; }
.motto__meaning { max-width: 30em; color: var(--on-night-2); line-height: 2.1; }

.philo-block { padding: clamp(80px, 11vw, 150px) var(--gutter); }
.philo-block__inner { max-width: 880px; margin: 0 auto; }
.philo-statement { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 1rem + 1.5vw, 2.1rem); line-height: 2; letter-spacing: .08em; margin: 0; word-break: auto-phrase; }
.philo-mission { background: var(--moon); color: var(--ink); }
.philo-mission .philo-label { color: var(--shu); }
.philo-vision { background: var(--night-2); color: var(--on-night); text-align: center; }
.vision__sky { position: relative; height: 90px; margin: 0 auto 36px; max-width: 520px; }
.vision__moon { position: absolute; left: 50%; top: 4px; width: 54px; height: 54px; margin-left: -27px; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #fff3d6, var(--gold) 70%); box-shadow: 0 0 40px 10px rgba(233, 190, 118, .28); }
.vision__line { position: absolute; left: 0; right: 0; bottom: 18px; height: 1px; background: linear-gradient(to right, rgba(233, 190, 118, 0), var(--gold) 50%, rgba(233, 190, 118, 0)); }
.philo-values { background: var(--moon); color: var(--ink); }
.philo-values .philo-label { color: var(--shu); }
.values { list-style: none; display: grid; gap: clamp(28px, 4vw, 44px); }
.values__item { display: grid; grid-template-columns: clamp(64px, 9vw, 96px) minmax(0, 1fr); gap: clamp(16px, 3vw, 32px); align-items: start; }
.values__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 1.8rem + 3vw, 4rem); line-height: 1; color: var(--ink); text-align: center; padding-top: 4px; }
.values__body { position: relative; padding-top: 14px; min-width: 0; }
.values__rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--gold-line); transform-origin: left center; }
.values__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); letter-spacing: .12em; line-height: 1.5; margin-bottom: .3em; }
.values__text { color: var(--ink-2); max-width: var(--read); }
.philo-message { background: var(--night); color: var(--on-night); }
.message__text p { color: var(--on-night-2); line-height: 2.2; font-size: 1.04rem; margin-bottom: 1.5em; max-width: 36em; }
.message__sign { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 16px; margin-top: 40px; }
.message__role { font-size: .9rem; letter-spacing: .2em; color: var(--on-night-2); }
.message__name { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .16em; }
.message__seal { display: inline-block; width: 64px; }
.message__seal img { width: 100%; height: auto; }

/* ゆったりとしたアニメーション（画面に入った時に一度だけ。JSが動いていない時や動きを減らす設定では静止表示） */
@media (prefers-reduced-motion: no-preference) {
  .anim-ready [data-play]:not(.is-play) :is(.a-fade, .a-ink, .a-rise, .a-breathe, .a-moon, .a-line, .a-num, .a-rule, .a-stamp, .a-quote) { opacity: 0; }
  .is-play .a-fade { animation: a-fade 1.8s ease calc(var(--i, 0) * .4s) both; }
  .is-play .a-ink { animation: a-ink 2.6s cubic-bezier(.22, .61, .36, 1) calc(.5s + var(--i, 0) * .75s) both; }
  .is-play .a-rise { animation: a-rise 2s cubic-bezier(.22, .61, .36, 1) var(--d, .3s) both; }
  .is-play .a-breathe { animation: a-breathe 3.2s cubic-bezier(.22, .61, .36, 1) var(--d, .5s) both; }
  .is-play .a-quote { animation: a-quote 1.6s cubic-bezier(.65, 0, .35, 1) var(--d, .5s) both; }
  .is-play .a-moon { animation: a-moon 3s cubic-bezier(.22, .61, .36, 1) .2s both; }
  .is-play .a-line { animation: a-line 2.4s cubic-bezier(.65, 0, .35, 1) .3s both; }
  .is-play .a-num { animation: a-num 2s cubic-bezier(.22, .61, .36, 1) .1s both; }
  .is-play .a-rule { animation: a-rule 1.8s cubic-bezier(.65, 0, .35, 1) var(--d, .5s) both; }
  .is-play .a-stamp { animation: a-stamp 1.3s cubic-bezier(.3, 1.4, .5, 1) var(--d, 1s) both; }
  .is-play.philo-motto::before { animation: a-fade 5s ease both; }
}
@keyframes a-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes a-ink { 0% { opacity: 0; filter: blur(16px); transform: scale(1.16); } 55% { opacity: 1; filter: blur(2px); } 100% { opacity: 1; filter: none; transform: none; } }
@keyframes a-rise { from { opacity: 0; transform: translateY(14px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes a-breathe { from { opacity: 0; letter-spacing: .2em; filter: blur(6px); } to { opacity: 1; letter-spacing: .08em; filter: none; } }
@keyframes a-quote { from { opacity: 0; border-left-color: transparent; clip-path: inset(0 0 100% 0); } 30% { opacity: 1; } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes a-moon { from { opacity: 0; transform: translateY(34px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes a-line { from { opacity: 0; transform: scaleX(0); } 20% { opacity: 1; } to { opacity: 1; transform: scaleX(1); } }
@keyframes a-num { from { opacity: 0; transform: scale(.82); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes a-rule { from { opacity: 1; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes a-stamp { 0% { opacity: 0; transform: scale(1.7) rotate(-10deg); } 60% { opacity: 1; transform: scale(.94) rotate(2deg); } 100% { opacity: 1; transform: none; } }

/* ---------- 画面に入った時の表示 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal=""] > * { transition: opacity 1.6s ease calc(var(--d, 0s) + var(--k, 0) * .22s), transform 1.8s cubic-bezier(.22, .61, .36, 1) calc(var(--d, 0s) + var(--k, 0) * .22s); }
  .reveal-ready [data-reveal=""]:not(.is-in) > * { opacity: 0; transform: translateY(16px); }
  .reveal-ready [data-reveal=""] > :nth-child(2) { --k: 1; }
  .reveal-ready [data-reveal=""] > :nth-child(3) { --k: 2; }
  .reveal-ready [data-reveal=""] > :nth-child(4) { --k: 3; }
  .reveal-ready [data-reveal=""] > :nth-child(n+5) { --k: 4; }
  /* 写真（data-reveal="left/right"）はスクロール位置に合わせてJSで動かす */
  [data-reveal="left"], [data-reveal="right"] { will-change: opacity, transform; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .card__link:hover .card__photo img { transform: none; }
}
@media print { .site-header, .menu, .search, .xembed__actions { display: none; } }
