@charset "UTF-8";
/* ==========================================================================
   にっこり通販株式会社 ― style.css
   --------------------------------------------------------------------------
   設計方針
   ・純白の無菌クリーンルーム。UIは無彩色に徹し、色は映像の肉体（肌・瞳・唇）に任せる
   ・唯一の色は「記録灯（REC）」の --c-signal のみ
   ・角丸／影／グラデーションボタン／グラス表現／汎用アイコン／ハンバーガー／
     バウンス（オーバーシュートするイージング）は一切使用しない
   ・罫線は 1px の極細ヘアラインのみ
   ========================================================================== */


/* --------------------------------------------------------------------------
   0. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* color */
  --c-white: #FFFFFF;
  --c-paper: #F6F6F7;
  --c-ink: #141416;
  --c-mute: #7A7A80;
  --c-faint: #ABABB1;
  --c-line: rgba(15, 15, 18, 0.08);
  --c-signal: #A3242B;            /* 記録灯。サイト内で唯一の色 */
  --c-night: #0E0E10;             /* シネマ暗転時のみ */
  --c-night-ink: #E9E9EB;
  --c-night-mute: rgba(233, 233, 235, 0.48);
  --c-night-line: rgba(255, 255, 255, 0.08);

  /* type */
  --f-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --f-en: "Inter", "Helvetica Neue", Arial, var(--f-ja);
  --f-serif: "Cormorant Garamond", "Times New Roman", serif;

  --fw-thin: 200;
  --fw-light: 300;
  --fw-reg: 400;

  --tr-xxl: 0.5em;
  --tr-xl: 0.35em;
  --tr-l: 0.28em;
  --tr-m: 0.2em;
  --tr-s: 0.1em;

  --fs-micro: 9px;
  --fs-xs: 10px;
  --fs-s: 11px;
  --fs-m: 12px;
  --fs-body: 14px;
  --fs-name: clamp(28px, 3vw, 44px);
  --fs-display: clamp(30px, 4.6vw, 72px);
  --fs-ura: clamp(19px, 2.4vw, 36px);
  --fs-index: clamp(44px, 6.4vw, 104px);

  /* space */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;
  --s10: 144px;
  --gutter: clamp(20px, 4.4vw, 76px);
  --sec-y: clamp(128px, 15vw, 248px);
  --head-gap: clamp(64px, 8vw, 128px);
  --header-h: 76px;
  --sound-bottom: clamp(20px, 3.6vh, 36px);
  --sound-h: 27px;

  /* line */
  --hair: 1px solid var(--c-line);
  --hair-night: 1px solid var(--c-night-line);

  /* motion（全てオーバーシュートなし） */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 0.4s;
  --t-mid: 0.8s;
  --t-slow: 1.4s;
  --t-gate: 1.8s;
}


/* --------------------------------------------------------------------------
   1. RESET / BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* UA既定の角丸を打ち消す（角丸の完全排除） */
button,
a,
input,
video,
iframe,
img {
  border-radius: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--c-white);
}

html.is-gated,
html.is-locked {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-ink);
  font-family: var(--f-ja);
  font-weight: var(--fw-light);
  font-size: var(--fs-body);
  line-height: 2;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}

h1, h2, h3, h4, p, ol, ul, dl, dd, figure {
  margin: 0;
  padding: 0;
}

ol, ul {
  list-style: none;
}

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

img,
video {
  display: block;
  max-width: 100%;
}

button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

::selection {
  background: var(--c-ink);
  color: var(--c-white);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 1px solid var(--c-ink);
  outline-offset: 4px;
}

.cinema :focus-visible {
  outline-color: var(--c-night-ink);
}


/* --------------------------------------------------------------------------
   2. SHARED PARTS
   -------------------------------------------------------------------------- */

/* 静かなテキストリンク（ボタンの代替） */
.textlink {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 8px 0;
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: var(--fs-xs);
  letter-spacing: var(--tr-l);
  line-height: 1.4;
  white-space: nowrap;
  color: inherit;
  transition: color var(--t-mid) var(--ease);
}

.textlink::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s var(--ease-out);
}

.textlink:hover::after,
.textlink:focus-visible::after {
  transform: scaleX(1);
}

.textlink--cta {
  font-size: var(--fs-s);
  letter-spacing: var(--tr-xl);
}

/* サブリミナル副題（RECRUIT） */
.subliminal {
  pointer-events: none;
  white-space: nowrap;
  font-family: var(--f-ja);
  font-weight: var(--fw-light);
  color: var(--c-ink);
  opacity: 0;
}

@keyframes subliminal {
  0%   { opacity: 0; }
  9%   { opacity: 0.62; }
  22%  { opacity: 0.2; }
  100% { opacity: 0.16; }
}

/* 記録灯 */
.rec {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.rec__lamp {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 12px;
  background: var(--c-signal);
  animation: rec-blink 2s steps(1, end) infinite;
}

@keyframes rec-blink {
  0%   { opacity: 1; }
  50%  { opacity: 0.15; }
}

/* スクロールで静かに現れる */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity var(--t-slow) var(--ease-out),
    transform 1.8s var(--ease-out);
  transition-delay: var(--d, 0s);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* 企業ロゴマーク（四角と、口角） */
.mark {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.mark * {
  vector-effect: non-scaling-stroke;
}


/* --------------------------------------------------------------------------
   3. 00 ENTRY GATE
   -------------------------------------------------------------------------- */
.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--c-white);
  transition:
    opacity var(--t-gate) var(--ease-io),
    visibility 0s linear var(--t-gate);
}

.gate__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  transition:
    filter var(--t-gate) var(--ease-io),
    transform var(--t-gate) var(--ease-io),
    opacity 1.2s var(--ease-io);
}

.gate__company {
  padding-left: 0.56em;                 /* トラッキング分の光学補正 */
  font-size: var(--fs-m);
  font-weight: var(--fw-light);
  letter-spacing: 0.56em;
  line-height: 1;
  font-feature-settings: "palt";
  animation: gate-in 2.4s var(--ease) 0.3s both;
}

.gate__enter {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1.1em;
  padding: 14px 6px;
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: var(--fs-xs);
  letter-spacing: var(--tr-xl);
  line-height: 1;
  color: var(--c-mute);
  animation: gate-in 2.4s var(--ease) 1.2s both;
  transition: color var(--t-mid) var(--ease), gap 1.2s var(--ease-out);
}

.gate__label {
  padding-left: var(--tr-xl);
  animation: gate-breath 4.2s ease-in-out 3.6s infinite alternate;
}

.gate__enter::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 1.2s var(--ease-out);
}

.gate__enter:hover,
.gate__enter:focus-visible {
  color: var(--c-ink);
  gap: 1.6em;
}

.gate__enter:hover::after,
.gate__enter:focus-visible::after {
  transform: scaleX(1);
}

.gate.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate.is-leaving .gate__inner {
  filter: blur(10px);
  transform: scale(1.015);
  opacity: 0;
}

@keyframes gate-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes gate-breath {
  from { opacity: 1; }
  to   { opacity: 0.42; }
}


/* --------------------------------------------------------------------------
   4. HEADER / NAV / RAIL
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  background-color: rgba(255, 255, 255, 0);
  opacity: 0;
  transition:
    opacity 1.6s var(--ease) 0.9s,
    background-color var(--t-mid) var(--ease),
    border-color var(--t-mid) var(--ease);
}

.is-entered .site-header {
  opacity: 1;
}

.site-header.is-solid {
  background-color: var(--c-white);
  border-bottom-color: var(--c-line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1;
}

.brand__ja {
  font-size: var(--fs-m);
  font-weight: var(--fw-light);
  letter-spacing: 0.32em;
  font-feature-settings: "palt";
}

.brand__en {
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: 8px;
  letter-spacing: var(--tr-xl);
  color: var(--c-mute);
}

.gnav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}

.gnav__item {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: var(--fs-xs);
  letter-spacing: var(--tr-l);
  line-height: 1;
  color: var(--c-mute);
  transition: color var(--t-mid) var(--ease);
}

.gnav__no {
  font-family: var(--f-serif);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.gnav__item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s var(--ease-out);
}

.gnav__item:hover,
.gnav__item:focus-visible,
.gnav__item[aria-current="true"] {
  color: var(--c-ink);
}

.gnav__item:hover::after,
.gnav__item:focus-visible::after {
  transform: scaleX(1);
}

.gnav__item--recruit {
  padding-left: clamp(20px, 3vw, 44px);
  border-left: var(--hair);
}

.gnav__item--recruit::after {
  left: clamp(20px, 3vw, 44px);
}

.subliminal--nav {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-xl);
}

.gnav__item--recruit:hover .subliminal--nav,
.gnav__item--recruit:focus-visible .subliminal--nav {
  animation: subliminal 3s var(--ease) forwards;
}

/* rail */
.rail {
  position: fixed;
  left: max(16px, calc(var(--gutter) / 2 - 8px));
  top: 50%;
  z-index: 30;
  display: flex;
  gap: 14px;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s var(--ease);
}

.rail.is-visible {
  opacity: 1;
}

.rail__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rail__list li {
  position: relative;
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-m);
  line-height: 1;
  color: var(--c-faint);
  transition: color var(--t-mid) var(--ease);
}

.rail__list li.is-active {
  color: var(--c-ink);
}

.rail__track {
  position: relative;
  width: 1px;
  background: var(--c-line);
}

.rail__fill {
  position: absolute;
  inset: 0;
  background: var(--c-ink);
  transform: scaleY(0);
  transform-origin: top center;
}


/* --------------------------------------------------------------------------
   5. 01 FIRST VIEW
   -------------------------------------------------------------------------- */
.fv {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--c-white);
}

.fv__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2.6s var(--ease);
}

.fv.has-video .fv__video {
  opacity: 1;
}

/* 動画が再生できたら、背後のフォールバック演出は休止させる */
.fv.has-video .fv__fallback,
.fv.has-video .fv__fallback * {
  animation-play-state: paused;
}

/* ---- フォールバック：光学クリーンルーム ---- */
.fv__fallback {
  --hz: 46%;                                /* 地平線（消失点）の高さ */
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 64% at 50% var(--hz), #FFFFFF 0%, #FCFCFD 38%, #F2F2F4 74%, #E8E8EB 100%);
}

.fv__room {
  position: absolute;
  inset: 0;
  perspective: 100vh;                       /* 面の手前端が必ずカメラより奥に収まる距離 */
  perspective-origin: 50% var(--hz);
}

.fv__floor,
.fv__ceiling {
  position: absolute;
  left: -90%;
  width: 280%;
  height: 80vh;
  background-image:
    repeating-linear-gradient(90deg, rgba(15, 15, 18, 0.06) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(0deg, rgba(15, 15, 18, 0.05) 0 1px, transparent 1px 84px);
}

.fv__floor {
  top: var(--hz);
  transform-origin: 50% 0;
  transform: rotateX(78deg);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.35) 30%, #000 70%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.35) 30%, #000 70%);
}

.fv__ceiling {
  bottom: calc(100% - var(--hz));
  transform-origin: 50% 100%;
  transform: rotateX(-78deg);
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0, 0, 0, 0.3) 34%, #000 76%);
  mask-image: linear-gradient(to top, transparent 0%, rgba(0, 0, 0, 0.3) 34%, #000 76%);
}

.fv__horizon {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--hz);
  height: 22vh;
  transform: translateY(-50%);
  background: linear-gradient(to bottom, rgba(15, 15, 18, 0) 0%, rgba(15, 15, 18, 0.028) 50%, rgba(15, 15, 18, 0) 100%);
}

/* 霧の向こうに佇む、白い正装の人影 */
.fv__figures {
  position: absolute;
  inset: 0;
}

.fv__figures i {
  position: absolute;
  display: block;
  background: linear-gradient(to bottom, rgba(20, 20, 22, 0.075) 0%, rgba(20, 20, 22, 0.06) 70%, rgba(20, 20, 22, 0.1) 100%);
  filter: blur(6px);
  transform: translateX(-50%);
  animation: presence 13s ease-in-out infinite alternate;
}

.fv__figures i::before {                  /* 頭部 */
  content: "";
  position: absolute;
  left: 27%;
  width: 46%;
  top: -15%;
  height: 12%;
  background: rgba(20, 20, 22, 0.085);
}

.fv__figures i:nth-child(1) { left: 23%; bottom: calc(100% - var(--hz) - 5.5vh); width: 2.4vh; height: 20vh; animation-delay: -2s; }
.fv__figures i:nth-child(2) { left: 37%; bottom: calc(100% - var(--hz) - 11vh); width: 3.5vh; height: 31vh; animation-delay: -7s; }
.fv__figures i:nth-child(3) { left: 51%; bottom: calc(100% - var(--hz) - 8vh);  width: 3vh;   height: 26vh; animation-delay: -4s; }
.fv__figures i:nth-child(4) { left: 63%; bottom: calc(100% - var(--hz) - 13vh); width: 3.8vh; height: 34vh; animation-delay: -10s; }
.fv__figures i:nth-child(5) { left: 77%; bottom: calc(100% - var(--hz) - 4.5vh); width: 2.2vh; height: 18vh; animation-delay: -5s; }

@keyframes presence {
  0%   { opacity: 0.42; }
  50%  { opacity: 0.9; }
  100% { opacity: 0.58; }
}

/* 呼吸する微細な光 */
.fv__glow {
  position: absolute;
  left: 50%;
  top: var(--hz);
  width: 110vmax;
  height: 70vmax;
  transform: translate(-50%, -50%) scale(0.95);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.55) 45%, rgba(255, 255, 255, 0) 100%);
  animation: breathe 10s ease-in-out infinite alternate;
}

@keyframes breathe {
  from { opacity: 0.55; transform: translate(-50%, -50%) scale(0.94); }
  to   { opacity: 1;    transform: translate(-50%, -50%) scale(1.06); }
}

/* 空調に漂う微粒子 */
.fv__motes,
.fv__motes::before {
  position: absolute;
  inset: -8%;
  background-image:
    radial-gradient(circle at 12% 28%, rgba(20, 20, 22, 0.22) 0 0.6px, transparent 1.4px),
    radial-gradient(circle at 27% 64%, rgba(20, 20, 22, 0.16) 0 0.6px, transparent 1.4px),
    radial-gradient(circle at 41% 18%, rgba(20, 20, 22, 0.18) 0 0.6px, transparent 1.4px),
    radial-gradient(circle at 58% 72%, rgba(20, 20, 22, 0.14) 0 0.6px, transparent 1.4px),
    radial-gradient(circle at 66% 34%, rgba(20, 20, 22, 0.2) 0 0.6px, transparent 1.4px),
    radial-gradient(circle at 79% 56%, rgba(20, 20, 22, 0.16) 0 0.6px, transparent 1.4px),
    radial-gradient(circle at 88% 22%, rgba(20, 20, 22, 0.14) 0 0.6px, transparent 1.4px),
    radial-gradient(circle at 93% 81%, rgba(20, 20, 22, 0.18) 0 0.6px, transparent 1.4px),
    radial-gradient(circle at 7% 86%, rgba(20, 20, 22, 0.16) 0 0.6px, transparent 1.4px),
    radial-gradient(circle at 49% 47%, rgba(20, 20, 22, 0.12) 0 0.6px, transparent 1.4px);
  animation: drift 26s ease-in-out infinite alternate;
}

.fv__motes {
  display: block;
}

.fv__motes::before {
  content: "";
  inset: 0;
  transform: rotate(180deg) scale(1.3);
  opacity: 0.7;
  animation-duration: 34s;
  animation-direction: alternate-reverse;
}

@keyframes drift {
  from { translate: 0 0; }
  to   { translate: 1.5% -4%; }
}

/* ゆっくり横切る光の帯 */
.fv__sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40vw;
  width: 40vw;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 100%);
  animation: sweep 16s var(--ease-io) infinite;
}

@keyframes sweep {
  0%   { transform: translateX(0); }
  62%  { transform: translateX(180vw); }
  100% { transform: translateX(180vw); }
}

/* ---- 刻印・スクロールライン ---- */
.fv__stamp {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(22px, 4vh, 40px);
  z-index: 2;
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-l);
  line-height: 2.3;
  color: var(--c-mute);
  opacity: 0;
  transition: opacity 1.6s var(--ease) 1.4s;
}

.fv__stamp-co {
  color: var(--c-ink);
}

.fv__stamp-ja {
  font-family: var(--f-ja);
  letter-spacing: 0.3em;
}

.is-entered .fv__stamp {
  opacity: 1;
}

.fv__scroll {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 1.6s var(--ease) 1.8s;
}

.is-entered .fv__scroll {
  opacity: 1;
}

.fv__scroll-label {
  padding-left: var(--tr-xl);
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-xl);
  line-height: 1;
  color: var(--c-mute);
}

.fv__scroll-line {
  position: relative;
  display: block;
  width: 1px;
  height: clamp(56px, 9vh, 88px);
  overflow: hidden;
  background: var(--c-line);
}

.fv__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-ink);
  transform: translateY(-100%);
  animation: scroll-line 3s var(--ease-io) infinite;
}

@keyframes scroll-line {
  0%   { transform: translateY(-100%); }
  50%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}


/* --------------------------------------------------------------------------
   6. SECTION COMMON
   -------------------------------------------------------------------------- */
.sec {
  position: relative;
  padding: var(--sec-y) var(--gutter);
  border-top: var(--hair);
}

.sec__head {
  display: grid;
  grid-template-columns: auto auto minmax(24px, 1fr) auto auto;
  align-items: baseline;
  column-gap: clamp(14px, 1.8vw, 28px);
  margin-bottom: var(--head-gap);
}

.sec__no {
  font-family: var(--f-serif);
  font-weight: var(--fw-light);
  font-size: var(--fs-index);
  line-height: 0.78;
  letter-spacing: 0;
}

.sec__en {
  font-family: var(--f-en);
  font-weight: var(--fw-thin);
  font-size: var(--fs-s);
  letter-spacing: var(--tr-xl);
  line-height: 1;
}

.sec__rule {
  align-self: center;
  height: 1px;
  background: var(--c-line);
}

.sec__ja {
  font-size: var(--fs-s);
  letter-spacing: 0.3em;
  line-height: 1;
  color: var(--c-mute);
}

.sec__code {
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-l);
  line-height: 1;
  color: var(--c-faint);
  white-space: nowrap;
}

.sec__lead {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s3) var(--s7);
  margin-bottom: var(--s8);
  font-size: 13px;
  letter-spacing: 0.12em;
  line-height: 2;
}

.sec__note {
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  color: var(--c-mute);
}


/* --------------------------------------------------------------------------
   7. 02 PHILOSOPHY
   -------------------------------------------------------------------------- */
.philosophy__stage {
  --p: 0;                                   /* 0 → 1：スクロール進行（app.js が更新） */
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--s5);
}

.philosophy__label {
  grid-column: 2 / 9;
  grid-row: 1;
  margin-bottom: var(--s6);
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-xl);
  line-height: 1;
  color: var(--c-faint);
}

.philosophy__omote-wrap {
  grid-column: 2 / 11;
  grid-row: 2;
}

/* 表の刻印：企業スローガン */
.philosophy__omote {
  font-size: var(--fs-display);
  font-weight: var(--fw-thin);
  letter-spacing: 0.16em;
  line-height: 1.62;
  font-feature-settings: "palt";
  color: var(--c-ink);
  opacity: calc(1 - var(--p) * 0.62);
}

/* 裏の刻印：縦書きで、横書きの表と対峙する */
.philosophy__ura {
  grid-column: 11 / 12;
  grid-row: 1 / 5;
  justify-self: center;
  align-self: start;
  margin-top: calc(var(--s8) * -0.25);
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: var(--fs-ura);
  font-weight: var(--fw-light);
  letter-spacing: 0.62em;
  line-height: 1;
  white-space: nowrap;
  color: var(--c-ink);
  opacity: calc(0.045 + var(--p) * 0.955);
  user-select: none;
}

.philosophy__body {
  grid-column: 2 / 8;
  grid-row: 3;
  margin-top: clamp(80px, 10vw, 160px);
}

.philosophy__statement {
  max-width: 33em;
  font-size: var(--fs-body);
  font-weight: var(--fw-light);
  letter-spacing: 0.1em;
  line-height: 2.55;
  line-break: strict;
  text-align: justify;
}

.philosophy__sign {
  margin-top: var(--s6);
  font-family: var(--f-en);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-l);
  color: var(--c-mute);
}

.philosophy__body .textlink--cta {
  margin-top: clamp(56px, 6vw, 88px);
}


/* --------------------------------------------------------------------------
   8. 03 EMPLOYEES
   -------------------------------------------------------------------------- */
.emp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: var(--hair);
  border-left: var(--hair);
}

.emp {
  border-right: var(--hair);
  border-bottom: var(--hair);
}

.emp__btn {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  height: 100%;
  padding: clamp(12px, 1.5vw, 22px);
  text-align: left;
  transition: background-color var(--t-mid) var(--ease);
}

.emp__btn:hover,
.emp__btn:focus-visible {
  background-color: var(--c-paper);
}

.emp__frame {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--c-paper);
}

.emp__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  transition:
    opacity 1.4s var(--ease),
    transform 2.4s var(--ease-out);
}

.emp__frame.has-img .emp__img {
  opacity: 1;
}

.emp__btn:hover .emp__img,
.emp__btn:focus-visible .emp__img {
  transform: scale(1.03);
}

.emp__cap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  row-gap: 6px;
  padding: 0 2px 4px;
}

.emp__no {
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-l);
  line-height: 1;
  color: var(--c-mute);
}

.emp__open {
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-l);
  line-height: 1;
  color: var(--c-ink);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease-out);
}

.emp__btn:hover .emp__open,
.emp__btn:focus-visible .emp__open {
  opacity: 1;
  transform: none;
}

.emp__name {
  grid-column: 1 / -1;
  margin-top: 8px;
  font-size: 16px;
  font-weight: var(--fw-light);
  letter-spacing: 0.22em;
  line-height: 1.4;
  font-feature-settings: "palt";
}

.emp__roman {
  grid-column: 1 / -1;
  font-family: var(--f-en);
  font-weight: var(--fw-thin);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-xl);
  line-height: 1.6;
  color: var(--c-mute);
}

.emp__dept {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding-top: 12px;
  border-top: var(--hair);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  line-height: 1.7;
  color: var(--c-mute);
}

/* ---- 写真未収録のプレート（宣材の差し替え前でも成立させる） ---- */
.plate {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  background: linear-gradient(to bottom, #FCFCFD 0%, #F3F3F5 64%, #ECECEF 100%);
  color: var(--c-faint);
}

.plate__ghost {
  position: absolute;
  left: 50%;
  bottom: 11%;
  width: 21%;
  height: 66%;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(20, 20, 22, 0) 0%, rgba(20, 20, 22, 0.07) 22%, rgba(20, 20, 22, 0.05) 100%);
  filter: blur(14px);
}

.plate__cm {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 0 solid rgba(15, 15, 18, 0.22);
}

.plate__cm--tl { top: 12px; left: 12px; border-top-width: 1px; border-left-width: 1px; }
.plate__cm--tr { top: 12px; right: 12px; border-top-width: 1px; border-right-width: 1px; }
.plate__cm--bl { bottom: 12px; left: 12px; border-bottom-width: 1px; border-left-width: 1px; }
.plate__cm--br { bottom: 12px; right: 12px; border-bottom-width: 1px; border-right-width: 1px; }

.plate__no {
  position: relative;
  font-family: var(--f-serif);
  font-weight: var(--fw-light);
  font-size: clamp(26px, 2.6vw, 40px);
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--c-mute);
}

.plate__txt {
  position: relative;
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: 8px;
  letter-spacing: var(--tr-xl);
  line-height: 1;
}


/* --------------------------------------------------------------------------
   9. 04 RECORDS
   -------------------------------------------------------------------------- */
.rec-table {
  font-size: var(--fs-m);
}

.rec-head,
.rec-row {
  display: grid;
  grid-template-columns:
    9.6em
    minmax(8em, 1.05fr)
    minmax(11em, 1.5fr)
    minmax(9em, 1.25fr)
    7.6em
    5.6em
    13em;
  align-items: center;
  column-gap: clamp(14px, 1.8vw, 28px);
}

.rec-head {
  padding: 0 var(--s4) var(--s4);
  border-bottom: var(--hair);
  font-size: var(--fs-m);                    /* 列幅(em)を行と揃えるため本文サイズを維持 */
}

.rec-head > span {
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-l);
  line-height: 1;
  color: var(--c-faint);
}

.rec-head > span:last-child {
  justify-self: end;
}

.rec-row {
  position: relative;
  min-height: 96px;
  padding: var(--s5) var(--s4);
  border-bottom: var(--hair);
  transition: background-color var(--t-mid) var(--ease);
}

.rec-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  bottom: -1px;
  width: 1px;
  background: var(--c-ink);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.9s var(--ease-out);
}

.rec-row:not(.is-sealed):hover,
.rec-row:not(.is-sealed):focus-within {
  background-color: var(--c-paper);
}

.rec-row:not(.is-sealed):hover::before,
.rec-row:not(.is-sealed):focus-within::before {
  transform: scaleY(1);
}

.rec-c {
  min-width: 0;
  line-height: 1.7;
}

.rec-c--no,
.rec-c--date,
.rec-c--film {
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: var(--fs-xs);
  letter-spacing: var(--tr-m);
}

.rec-c--no {
  color: var(--c-ink);
  white-space: nowrap;
}

.rec-c--title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

/* 行全体をクリック可能にする（stretched button） */
.rec-open {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  text-align: left;
}

.rec-open::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.rec-title {
  font-size: 20px;
  font-weight: var(--fw-light);
  letter-spacing: 0.34em;
  line-height: 1.3;
  font-feature-settings: "palt";
  transition: letter-spacing 1.2s var(--ease-out);
}

.rec-row:not(.is-sealed):hover .rec-title {
  letter-spacing: 0.42em;
}

.rec-title-en {
  font-family: var(--f-en);
  font-weight: var(--fw-thin);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-xl);
  color: var(--c-mute);
}

.rec-c--dept,
.rec-c--subj {
  font-size: var(--fs-s);
  letter-spacing: 0.1em;
  color: var(--c-mute);
}

.rec-c--subj {
  color: var(--c-ink);
}

.rec-c--date {
  color: var(--c-mute);
}

.rec-c--film {
  position: relative;
  display: grid;
  color: var(--c-mute);
}

.rec-c--film > span {
  grid-area: 1 / 1;
  transition: opacity var(--t-mid) var(--ease);
}

.f-play {
  color: var(--c-ink);
  opacity: 0;
}

.rec-row:not(.is-sealed):hover .f-dur { opacity: 0; }
.rec-row:not(.is-sealed):hover .f-play { opacity: 1; }

.rec-c--act {
  position: relative;
  z-index: 2;                                 /* stretched button より手前 */
  justify-self: end;
}

/* 未公開（黒塗り） */
.rec-row.is-sealed {
  color: var(--c-faint);
  cursor: default;
}

.rec-row.is-sealed .rec-c--no,
.rec-row.is-sealed .rec-c--subj {
  color: var(--c-faint);
}

.redact {
  display: inline-block;
  width: 5.6em;
  height: 1.15em;
  vertical-align: middle;
  background: var(--c-ink);
}


/* --------------------------------------------------------------------------
   10. 05 RECRUIT / SIGNATURE / FOOTER
   -------------------------------------------------------------------------- */
.recruit__block {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--s5);
  row-gap: var(--s6);
  padding: clamp(56px, 7vw, 112px) 0;
  border-top: var(--hair);
  border-bottom: var(--hair);
  transition: background-color var(--t-slow) var(--ease);
}

.recruit__block:hover,
.recruit__block:focus-visible {
  background-color: var(--c-paper);
}

.recruit__head {
  grid-column: 2 / 8;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.recruit__title {
  font-size: var(--fs-display);
  font-weight: var(--fw-thin);
  letter-spacing: 0.18em;
  line-height: 1.3;
  font-feature-settings: "palt";
}

.subliminal--recruit {
  font-size: var(--fs-m);
  letter-spacing: var(--tr-xxl);
}

.recruit__block:hover .subliminal--recruit,
.recruit__block:focus-visible .subliminal--recruit {
  animation: subliminal 3.4s var(--ease) forwards;
}

.recruit__copy {
  grid-column: 2 / 8;
  font-size: var(--fs-body);
  letter-spacing: 0.12em;
}

.recruit__spec {
  grid-column: 8 / 12;
  grid-row: 1 / 3;
  align-self: end;
  display: flex;
  flex-direction: column;
  border-top: var(--hair);
}

.recruit__row {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: var(--s4);
  padding: 14px 0;
  border-bottom: var(--hair);
  font-size: var(--fs-s);
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.recruit__k {
  color: var(--c-mute);
}

.recruit__more {
  grid-column: 8 / 12;
  justify-self: start;
}

.recruit__block:hover .recruit__more::after {
  transform: scaleX(1);
}

.signature {
  padding: clamp(180px, 24vw, 360px) 0 clamp(40px, 6vw, 80px);
  text-align: center;
}

.signature__main {
  padding-left: 0.42em;
  font-size: 13px;
  font-weight: var(--fw-light);
  letter-spacing: 0.42em;
  line-height: 1;
  font-feature-settings: "palt";
}

.signature__sub {
  margin-top: 22px;
  padding-left: 0.42em;
  font-size: var(--fs-xs);
  letter-spacing: 0.42em;
  line-height: 1;
  color: var(--c-mute);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px var(--s6);
  padding: 22px calc(var(--gutter) + 180px) 26px var(--gutter);
  border-top: var(--hair);
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  letter-spacing: var(--tr-s);
  color: var(--c-mute);
}

.site-footer small {
  font-size: var(--fs-micro);
  line-height: 1.8;
}

.site-footer__copy {
  letter-spacing: var(--tr-m);
}


/* --------------------------------------------------------------------------
   11. SOUND INDICATOR
   -------------------------------------------------------------------------- */
.sound {
  position: fixed;
  right: var(--gutter);
  bottom: var(--sound-bottom);
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: var(--sound-h);
  padding: 0 0 0 14px;
  background: transparent;
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-l);
  line-height: 1;
  color: var(--c-mute);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 1.6s var(--ease) 1.2s,
    color var(--t-mid) var(--ease);
}

.is-entered .sound {
  opacity: 1;
  pointer-events: auto;
}

.sound:hover {
  color: var(--c-ink);
}

.sound__meter {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
}

.sound__meter i {
  display: block;
  width: 1px;
  height: 100%;
  background: currentColor;
  transform: scaleY(0.1);
  transform-origin: bottom center;
  transition: transform 0.12s linear;
}

.sound.is-on .sound__state {
  color: var(--c-ink);
}

.sound.is-on .sound__meter {
  color: var(--c-ink);
}

/* Web Audio 解析が使えない環境（file:// 等）では擬似メーター */
.sound.is-audible.is-simulated .sound__meter i {
  animation: meter 1.3s ease-in-out infinite alternate;
}
.sound.is-audible.is-simulated .sound__meter i:nth-child(2) { animation-duration: 0.9s; }
.sound.is-audible.is-simulated .sound__meter i:nth-child(3) { animation-duration: 1.6s; }
.sound.is-audible.is-simulated .sound__meter i:nth-child(4) { animation-duration: 1.1s; }
.sound.is-audible.is-simulated .sound__meter i:nth-child(5) { animation-duration: 1.4s; }

@keyframes meter {
  from { transform: scaleY(0.15); }
  to   { transform: scaleY(0.85); }
}

.sound.is-unavailable {
  cursor: default;
}

/* FVを抜けた後とオーバーレイ上では、本文と重ならないよう白い台座を敷く */
.is-scrolled .sound,
.is-locked .sound {
  background: var(--c-white);
}

/* シネマ（暗転）中は反転 */
.is-cinema .sound,
.is-cinema .sound.is-on .sound__state,
.is-cinema .sound.is-on .sound__meter {
  color: var(--c-night-mute);
}

.is-cinema .sound {
  background: var(--c-night);
}


/* --------------------------------------------------------------------------
   12. PERSON OVERLAY（純白の全画面）
   -------------------------------------------------------------------------- */
.person {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(380px, 1fr);
  grid-template-rows: var(--header-h) minmax(0, 1fr) auto;
  background: var(--c-white);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1s var(--ease-io),
    visibility 0s linear 1s;
}

.person.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 1s var(--ease-io);
}

.person__bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  border-bottom: var(--hair);
}

.person__kicker {
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-l);
  color: var(--c-mute);
}

.person__media {
  grid-column: 1;
  grid-row: 2 / 4;
  position: relative;
  overflow: hidden;
  background: var(--c-white);
  border-right: var(--hair);
}

.pm-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}

.pm-layer.is-ready {
  opacity: 1;
}

.pm-plate .plate {
  background: var(--c-white);
}

.pm-plate.is-ready {
  opacity: 1;
}

.pm-img.is-ready {
  animation: still-breath 14s ease-in-out infinite alternate;
}

/* 上位レイヤー（スチル→動画）が準備できたら、下位レイヤーは退く */
.person__media .pm-layer.is-covered {
  opacity: 0;
}

@keyframes still-breath {
  from { transform: scale(1); }
  to   { transform: scale(1.035); }
}

.pm-caption {
  position: absolute;
  left: var(--gutter);
  bottom: 22px;
  z-index: 2;
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-l);
  line-height: 1;
  color: var(--c-mute);
}

.person__body {
  grid-column: 2;
  grid-row: 2;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(36px, 4.4vw, 72px) var(--gutter) var(--s8);
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease-out);
}

.person__body.is-swapping {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
}

.person__nav {
  grid-column: 2;
  grid-row: 3;
  display: flex;
  align-items: center;
  gap: 40px;
  height: calc(var(--sound-bottom) * 2 + var(--sound-h));
  padding: 0 var(--gutter);
  border-top: var(--hair);
}

/* 人物記録の中身 */
.pr__kicker {
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-l);
  line-height: 1.8;
  color: var(--c-mute);
}

.pr__dept {
  margin-top: var(--s5);
  font-size: var(--fs-s);
  letter-spacing: 0.16em;
  line-height: 1.8;
  color: var(--c-mute);
}

.pr__name {
  margin-top: 10px;
  font-size: var(--fs-name);
  font-weight: var(--fw-thin);
  letter-spacing: 0.2em;
  line-height: 1.3;
  font-feature-settings: "palt";
}

.pr__roman {
  margin-top: 12px;
  font-family: var(--f-en);
  font-weight: var(--fw-thin);
  font-size: var(--fs-xs);
  letter-spacing: var(--tr-xl);
  line-height: 1.6;
  color: var(--c-mute);
}

.pr__roman span {
  font-family: var(--f-ja);
  letter-spacing: 0.2em;
}

.pr__spec {
  display: grid;
  grid-template-columns: 7em 1fr;
  margin-top: var(--s6);
  border-top: var(--hair);
}

.pr__spec dt,
.pr__spec dd {
  padding: 12px 0;
  border-bottom: var(--hair);
  font-size: var(--fs-s);
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.pr__spec dt {
  color: var(--c-mute);
}

.pr__block {
  margin-top: 40px;
}

.pr__label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--s4);
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-l);
  line-height: 1;
  color: var(--c-faint);
}

.pr__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--c-line);
}

.pr__log li {
  display: grid;
  grid-template-columns: 2.6em 1fr;
  gap: 10px;
  padding: 7px 0;
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  animation: log-in 1.2s var(--ease-out) forwards;
  animation-delay: calc(0.35s + var(--i, 0) * 0.16s);
}

.pr__log-no {
  padding-top: 0.45em;
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-m);
  line-height: 1;
  color: var(--c-faint);
}

.pr__log-txt {
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 2.05;
}

@keyframes log-in {
  to { opacity: 1; transform: none; }
}

.pr__fade {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  animation: log-in 1.2s var(--ease-out) forwards;
  animation-delay: calc(0.35s + var(--i, 0) * 0.16s);
}

.pr__remark {
  display: grid;
  grid-template-columns: 2.6em 1fr;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 2.05;
}

.pr__remark-lamp {
  width: 5px;
  height: 5px;
  margin-top: 0.85em;
  background: var(--c-signal);
}

.pr__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
}


/* --------------------------------------------------------------------------
   13. CINEMA MODAL（暗転する劇場）
   -------------------------------------------------------------------------- */
.cinema {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-rows: var(--header-h) minmax(0, 1fr) auto;
  background: var(--c-night);
  color: var(--c-night-ink);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s var(--ease-io),
    visibility 0s linear 0.8s;
}

.cinema.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s var(--ease-io);
}

.cinema__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  padding: 0 var(--gutter);
  border-bottom: var(--hair-night);
}

.cinema__meta {
  display: flex;
  align-items: baseline;
  gap: 18px;
  min-width: 0;
  line-height: 1;
}

.cinema__kicker,
.cinema__title-en {
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-l);
  color: var(--c-night-mute);
  white-space: nowrap;
}

.cinema__title {
  font-size: 15px;
  font-weight: var(--fw-light);
  letter-spacing: 0.3em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cinema__screen {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: var(--s5) var(--gutter);
}

.cinema__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s5) var(--s7);
  padding: var(--s4) calc(var(--gutter) + 170px) var(--s5) var(--gutter);
  border-top: var(--hair-night);
}

.cinema__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cinema__subject {
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  line-height: 1.8;
  color: var(--c-night-mute);
}

.cinema__summary {
  max-width: 52em;
  font-size: var(--fs-m);
  letter-spacing: 0.1em;
  line-height: 2;
}

.cinema__note[hidden] {
  display: none;
}

/* ---- プレイヤー（mp4：自前の極細コントロール） ---- */
.player {
  width: min(100%, calc((100svh - var(--header-h) - 190px) * 16 / 9));
  min-width: min(100%, 280px);
}

.player__box {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  outline: 1px solid var(--c-night-line);
}

.player__box video,
.player__box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  border: 0;
  object-fit: contain;
}

.player__ctrl {
  display: grid;
  grid-template-columns: auto auto minmax(40px, 1fr) auto auto;
  align-items: center;
  column-gap: clamp(14px, 2vw, 28px);
  height: 46px;
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-m);
  color: var(--c-night-mute);
}

.pc-btn {
  padding: 8px 0;
  line-height: 1;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
}

.pc-btn:hover,
.pc-btn:focus-visible {
  color: var(--c-night-ink);
}

.pc-time {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.pc-sep {
  margin: 0 0.6em;
  opacity: 0.5;
}

.pc-bar {
  position: relative;
  height: 21px;
  cursor: pointer;
  touch-action: none;
}

.pc-bar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.pc-fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  height: 1px;
  background: var(--c-night-ink);
  transform: scaleX(0);
  transform-origin: left center;
}

.player--yt .player__box {
  background: #000;
}

.player__box:fullscreen {
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  outline: 0;
}

.player__box:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  outline: 0;
}

/* 映像未配置時 */
.pending {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: var(--s5);
  text-align: center;
  background: var(--c-night);
}

.pending .rec {
  font-family: var(--f-en);
  font-weight: var(--fw-light);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-xl);
  color: var(--c-night-mute);
}

.pending__ja {
  font-size: var(--fs-m);
  letter-spacing: 0.2em;
  line-height: 2;
}

.pending__en {
  font-family: var(--f-en);
  font-weight: var(--fw-thin);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-l);
  color: var(--c-night-mute);
}


/* --------------------------------------------------------------------------
   14. RESPONSIVE
   -------------------------------------------------------------------------- */
/* 8名 → PCは4列×2段、タブレット以下は2列×4段で端数を出さない */
@media (min-width: 900px) {
  .emp-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .rec-head,
  .rec-row {
    grid-template-columns: 8.6em minmax(7em, 1fr) minmax(9em, 1.3fr) minmax(8em, 1.1fr) 7em 4.8em 12em;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 64px;
  }

  .rail {
    display: none;
  }

  /* RECORDS：2段組のカードへ */
  .rec-head {
    display: none;
  }

  .rec-table {
    border-top: var(--hair);
  }

  .rec-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "no    date"
      "title title"
      "dept  dept"
      "subj  subj"
      "film  act";
    row-gap: 6px;
    padding: var(--s5) var(--s3);
  }

  .rec-c--no    { grid-area: no; }
  .rec-c--title { grid-area: title; margin: 6px 0 2px; }
  .rec-c--dept  { grid-area: dept; }
  .rec-c--subj  { grid-area: subj; }
  .rec-c--date  { grid-area: date; justify-self: end; }
  .rec-c--film  { grid-area: film; align-self: center; }
  .rec-c--act   { grid-area: act; }

  .rec-row.is-sealed .rec-c--dept,
  .rec-row.is-sealed .rec-c--subj {
    display: none;
  }

  /* PERSON：縦積み・全体スクロール */
  .person {
    display: block;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .person__bar {
    position: sticky;
    top: 0;
    z-index: 3;
    height: var(--header-h);
    background: var(--c-white);
  }

  .person__media {
    height: 64svh;
    border-right: 0;
    border-bottom: var(--hair);
  }

  .person__body {
    overflow: visible;
    padding-bottom: var(--s6);
  }

  .person__nav {
    padding-bottom: calc(var(--s8) + env(safe-area-inset-bottom));
  }

  .cinema__foot {
    flex-direction: column;
    align-items: flex-start;
    padding-right: var(--gutter);
    padding-bottom: calc(var(--s8) + env(safe-area-inset-bottom));
  }
}

@media (max-width: 760px) {
  :root {
    --fs-body: 13px;
  }

  .brand__en {
    display: none;
  }

  .gnav {
    gap: 16px;
  }

  .gnav__label,
  .person__kicker-label {
    display: none;
  }

  .gnav__label--keep {
    display: inline;
  }

  .gnav__item--recruit {
    padding-left: 16px;
  }

  .gnav__item--recruit::after {
    left: 16px;
  }

  .sec__head {
    grid-template-columns: auto auto minmax(16px, 1fr);
    row-gap: 18px;
  }

  .sec__ja {
    grid-column: 2 / 4;
  }

  .sec__code {
    grid-column: 2 / 4;
  }

  .sec__lead {
    flex-direction: column;
    gap: 4px;
  }

  .philosophy__stage {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: var(--s4);
  }

  .philosophy__label,
  .philosophy__omote-wrap,
  .philosophy__body {
    grid-column: 1;
  }

  .philosophy__ura {
    grid-column: 2;
    grid-row: 1 / 4;
    letter-spacing: 0.5em;
  }

  .philosophy__omote {
    letter-spacing: 0.1em;
  }

  .philosophy__statement {
    text-align: left;
    line-height: 2.4;
  }

  .recruit__block {
    grid-template-columns: minmax(0, 1fr);
    padding-left: var(--s2);
    padding-right: var(--s2);
  }

  .recruit__head,
  .recruit__copy,
  .recruit__spec,
  .recruit__more {
    grid-column: 1;
    grid-row: auto;
  }

  .site-footer {
    flex-direction: column;
    padding: 22px var(--gutter) calc(76px + env(safe-area-inset-bottom));
  }

  .fv__stamp {
    bottom: calc(clamp(56px, 9vh, 88px) + 24px);
  }

  .fv__scroll-label {
    display: none;
  }

  .person__nav {
    height: auto;
    padding-top: 18px;
  }

  .player__ctrl {
    grid-template-columns: auto minmax(40px, 1fr) auto;
  }

  .player__ctrl .pc-time,
  .player__ctrl .pc-mute {
    display: none;
  }
}


/* --------------------------------------------------------------------------
   15. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fv__glow,
  .fv__motes,
  .fv__motes::before,
  .fv__sweep,
  .fv__figures i,
  .fv__scroll-line::after,
  .gate__label,
  .pm-img.is-ready,
  .rec__lamp {
    animation: none;
  }

  [data-reveal] {
    transform: none;
    transition-duration: 0.6s;
  }

  .pr__log li,
  .pr__fade {
    animation-duration: 0.01s;
    animation-delay: 0s;
  }
}
