/* ============================================================================
   ENKA — Takagi Enka Co. リニューアル (DAC スタイル踏襲 + 花火アクセント)
   cream + deep olive green + Cormorant Garamond + 朱赤 + 金 + 動画 KV
============================================================================ */

:root {
  --bg:           #F3F2EF;          /* cream / アイボリー (DAC 由来) */
  --bg-soft:      #ECE9E2;          /* slightly darker cream */
  --ink:          #2E3530;          /* deep olive (DAC は #495249 だが ENKA は更に深く) */
  --ink-2:        #5D685F;          /* secondary text */
  --ink-3:        #95988F;          /* muted */
  --line:         rgba(46, 53, 48, .14);
  --line-soft:    rgba(46, 53, 48, .08);

  --green-deep:   #2E5142;          /* 深緑 (Brands 巨大セリフ色) */
  --green-mid:    #4A6B5A;
  --gold:         #C9A961;          /* CTA ピル (DAC 由来) */
  --gold-deep:    #A88940;
  --vermilion:    #C13D29;          /* 花火朱赤 (ロゴアクセント) */
  --vermilion-soft: #E5B5AC;        /* dusty wave divider 用 */
  --footer:       #1A1810;          /* dark smoke / footer */
  --footer-soft:  #2A2418;

  --f-en:         "Cormorant Garamond", "Times New Roman", serif;
  --f-en-2:       "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono:       "JetBrains Mono", "SF Mono", ui-monospace, monospace;
  /* 本文・スローガン・見出しはすべて明朝体 (Noto Serif JP) */
  --f-jp:         "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN",
                  "ヒラギノ明朝 ProN", "游明朝", "Yu Mincho", "YuMincho", serif;
  --f-jp-display: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN",
                  "ヒラギノ明朝 ProN", "游明朝", serif;

  --r-sm: 4px;
  --r:    10px;
  --r-pill: 999px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-jp);
  font-size: 14.5px;
  line-height: 2.0;
  letter-spacing: .02em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt" 1, "kern" 1;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ============================================================================
   HEADER (fixed, transparent on top of video, then cream-tinted on scroll)
============================================================================ */
.app-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 22px 36px;
  /* KV 上では透明、暗いビデオの上に乗るので文字を白に */
  background: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 100%);
  transition: background .35s ease, color .35s ease;
  color: #fff;
}
.app-header.is-scrolled {
  background: rgba(243,242,239,.96);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: inherit;
}
.brand__mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
}
.brand__mark svg { width: 42px; height: 42px; }
.brand__name {
  font-family: var(--f-en); font-weight: 500;
  font-size: 24px; letter-spacing: .14em;
  color: inherit;
  line-height: 1;
  display: inline-flex; align-items: baseline; gap: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
  transition: text-shadow .3s ease;
}
.app-header.is-scrolled .brand__name { text-shadow: none; }
.brand__name small {
  font-family: var(--f-en-2); font-weight: 600;
  font-size: 9.5px; letter-spacing: .3em;
  color: inherit; opacity: .72;
}

.app-header__nav {
  display: flex; gap: 32px;
  justify-content: center;
  font-family: var(--f-en-2); font-weight: 600;
  font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase;
}
.app-header__nav a {
  color: inherit; position: relative;
  padding: 6px 0;
  transition: color .15s;
  /* KV 上では白文字の可読性のため shadow */
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.app-header.is-scrolled .app-header__nav a { text-shadow: none; }
.app-header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1.5px; background: var(--vermilion);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s;
}
.app-header__nav a:hover { color: var(--vermilion); }
.app-header__nav a:hover::after { transform: scaleX(1); }

.app-header__right {
  display: inline-flex;
  height: 48px;
}
.app-header__right a {
  display: inline-flex; align-items: center;
  padding: 0 24px;
  font-family: var(--f-en); font-style: italic; font-weight: 500;
  font-size: 14px; letter-spacing: .04em;
  background: var(--vermilion);
  color: #fff;
  border-radius: var(--r-pill);
  border: none;
  transition: background .15s, transform .15s;
  text-shadow: none;
}
.app-header__right a:hover {
  background: #9c2818;
  transform: translateY(-1px);
}

/* ============================================================================
   VIDEO STAGE — KV (100vh) + Philosophy (100vh) = 合計 200vh
   ・動画 / overlay / vignette は position: fixed で viewport に張り付き、ずっと背景として流れ続ける
   ・KV (100vh) と Philosophy (100vh) は通常フローでスクロール → 動画の上に重なる
   ・News 以降は position: relative + 高い z-index + opaque bg で fixed 動画を覆い隠す
   ・スクロールバック時も video は fixed のままなので、戻ると自然に再表示される
============================================================================ */
.video-stage {
  position: relative;
  height: 200vh;            /* KV 100vh + Philosophy 100vh */
  background: #0a0a0a;
  isolation: isolate;
}
/* 動画は viewport に position: fixed — 真の "固定背景" として機能 */
.video-stage__video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
}
/* DAC 風オレンジオーバーレイ — 動画上に warm dusty orange を薄く (動画が主役) */
.video-stage__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(180deg,
    rgba(199, 100, 70, .28) 0%,
    rgba(155, 70, 55, .32) 50%,
    rgba(85, 45, 35, .35) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 2;
}
/* 上下に黒のグラデーション (Header 周り + scroll hint 周りのテキスト可読性のみ) */
.video-stage__vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,.40) 0%,
      rgba(0,0,0,0)   18%,
      rgba(0,0,0,0)   75%,
      rgba(0,0,0,.40) 100%);
  pointer-events: none;
  z-index: 3;
}
/* コンテンツコンテナ: 通常フローで video-stage の高さ全域 (200vh) を埋める
   ・KV 100vh と Philosophy 100vh が縦に並ぶ
   ・fixed の動画 (z:1) より高い z-index で前景に
   ・pointer-events: none / auto で動画クリック透過 */
.video-stage__content {
  position: relative;
  z-index: 4;
  height: 200vh;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.video-stage__content > * { pointer-events: auto; }
.kv-text {
  flex: 0 0 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 28px;
}
/* Philosophy エリア — KV の下、通常フローで縦に並ぶ。fixed 動画の上を流れる */
.slogan-pin {
  flex: 0 0 100vh;
  position: relative;
  width: 100%;
}
.slogan-pin__inner {
  position: relative;
  height: 100vh;
  width: 100%;
}
.slogan-stage {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* 下に余白を確保 — CTA ボタンが News との境目にぶつからないように */
  padding: 0 28px 140px;
  color: #fff;
  position: relative;
}
/* Philosophy エリアの追加暗化は無し — fixed video bg + text-shadow だけで読める。
   かつてのセクション境界に出ていたシャドウ帯 (切替面が分断されて見える) を解消。 */
.slogan-stage > * { position: relative; z-index: 1; }

/* 明示的に descendant selector で白指定 — cream 背景用 .slogan__text を完全上書き */
.slogan-stage .slogan__label {
  font-family: var(--f-en); font-style: italic;
  font-size: 18px;
  color: rgba(255, 220, 200, .92) !important;
  margin-bottom: 36px;
  letter-spacing: .06em;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.slogan-stage .slogan__label::before { content: "( "; color: #FFD4C2; }
.slogan-stage .slogan__label::after  { content: " )"; color: #FFD4C2; }

.slogan-stage .slogan__text,
.slogan-stage .slogan__text--onvideo,
.slogan__text--onvideo {
  font-family: var(--f-jp-display); font-weight: 400;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 2.5;
  letter-spacing: .14em;
  color: #ffffff !important;          /* 動画上で確実に白 */
  margin: 0 auto 56px;
  max-width: 860px;
  word-break: keep-all;
  text-shadow:
    0 2px 8px rgba(0,0,0,.95),
    0 0 18px rgba(0,0,0,.85),
    0 0 48px rgba(0,0,0,.7);            /* 三段重ね — 暗化 layer 無しでも動画 noise に負けない */
}
.slogan-stage .slogan__text em,
.slogan-stage .slogan__text--onvideo em,
.slogan__text--onvideo em {
  font-style: normal;
  color: #FFD4C2 !important;            /* dusty peach 強調 (warm-on-warm overlay でも浮く) */
  font-weight: 600;
  text-shadow:
    0 2px 14px rgba(0,0,0,.85),
    0 0 28px rgba(193,61,41,.4);
}

/* 下位互換: 旧 .kv セレクタが他で参照されている場合に備えて空定義 */
.kv { position: relative; }
.kv__video { object-fit: cover; }
.kv__overlay { pointer-events: none; }

.kv__copy {
  position: relative;
  z-index: 4;
  text-align: center;
  color: #fff;
  padding: 0 28px;
  max-width: 1100px;
}
.kv__copy-eyebrow {
  font-family: var(--f-en-2); font-weight: 500;
  font-size: 11.5px; letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  margin-bottom: 22px;
}
.kv__copy-main {
  font-family: var(--f-jp-display); font-weight: 500;
  font-size: clamp(38px, 5.6vw, 84px);
  line-height: 1.3;
  letter-spacing: .14em;
  margin: 0 0 26px;
  text-shadow: 0 4px 30px rgba(0,0,0,.7);
}
.kv__copy-main em {
  font-style: normal;
  color: var(--vermilion-soft);
  font-weight: 600;
}
.kv__copy-sub {
  font-family: var(--f-en); font-style: italic; font-weight: 400;
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: .04em;
  color: rgba(255,255,255,.86);
  margin: 0;
}

.kv__scroll {
  position: absolute;
  left: 50%; bottom: 32px;
  transform: translateX(-50%);
  z-index: 5;
  font-family: var(--f-en-2); font-weight: 600;
  font-size: 10px; letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  display: inline-flex; align-items: center; gap: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  opacity: 1;
  transition: opacity .18s ease, visibility 0s linear .18s;
  pointer-events: none;
}
/* is-hidden は opacity 0 + visibility hidden で完全消去 (重ね描画されない) */
.kv__scroll.is-hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility 0s linear 0s;
}
.kv__scroll::before, .kv__scroll::after {
  content: ""; width: 36px; height: 1px;
  background: rgba(255,255,255,.55);
}

/* sound on/off control — 右上 sticky の小さなボタン */
.kv__sound {
  position: fixed;
  right: 36px; top: 100px;
  z-index: 50;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .15s, transform .15s, opacity .3s;
  opacity: 1;
}
.kv__sound.is-hidden { opacity: 0; pointer-events: none; }
.kv__sound:hover { background: var(--vermilion); transform: scale(1.06); }
.kv__sound svg { width: 18px; height: 18px; }

/* ============================================================================
   SECTION shared
============================================================================ */
.sec {
  padding: 140px 36px;
  position: relative;
}
.sec__inner {
  max-width: 1280px; margin: 0 auto;
}
.sec__label {
  font-family: var(--f-en); font-style: italic; font-weight: 400;
  font-size: clamp(14px, 1.2vw, 17px);
  color: var(--ink-2);
  letter-spacing: .02em;
  margin-bottom: 18px;
}
.sec__head {
  font-family: var(--f-en); font-weight: 500;
  font-size: clamp(64px, 11vw, 180px);
  line-height: .92;
  letter-spacing: -0.01em;
  color: var(--green-deep);
  margin: 0 0 28px;
  word-break: keep-all;
  /* parallax 用 (JS から --tx を更新) */
  transform: translateX(var(--tx, 0px));
  will-change: transform;
  transition: transform .05s linear;
}
.sec__head--reveal {
  display: inline-block;
  overflow: visible;
}
.sec__head em {
  font-style: italic;
  color: var(--vermilion);
}

/* 巨大セリフ — Brands 風 (大型 stage の上に重ねる用) */
.bigtype-stage {
  position: relative;
  height: clamp(360px, 50vw, 620px);
  overflow: hidden;
}
.bigtype-stage__title {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(var(--tx, 0));
  font-family: var(--f-en); font-weight: 500;
  font-size: clamp(120px, 18vw, 280px);
  line-height: .85;
  color: var(--green-deep);
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
  will-change: transform;
}
.bigtype-stage__img {
  position: absolute;
  width: clamp(220px, 28vw, 440px);
  aspect-ratio: 4/3;
  border-radius: var(--r);
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s cubic-bezier(.2,.8,.2,1);
}
.bigtype-stage.is-in .bigtype-stage__img { opacity: 1; transform: translateY(0); }
.bigtype-stage__img--l {
  left: 6%; top: 8%;
  background: linear-gradient(135deg, #1a1410, var(--green-deep));
  z-index: 1;
}
.bigtype-stage__img--r {
  right: 6%; bottom: 8%;
  background: linear-gradient(135deg, #2a0e08, var(--vermilion));
  z-index: 3;
  transition-delay: .25s;
}
.bigtype-stage__img::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,180,80,.4), transparent 45%),
    radial-gradient(circle at 75% 65%, rgba(193,61,41,.5), transparent 50%);
  mix-blend-mode: screen;
}
.sec__lead {
  font-family: var(--f-jp);
  font-size: 14.5px;
  line-height: 2.1;
  color: var(--ink-2);
  max-width: 560px;
  margin: 0;
}

/* decorative red swooshing curve (sections 連結) */
.curve {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  width: 100%; height: auto;
  opacity: .55;
}
.curve path { stroke: var(--vermilion); stroke-width: 1; fill: none; }

/* ============================================================================
   POST-VIDEO STACK — video-stage 以降の section は fixed video (z:3) より高い
   z-index と opaque bg で背景の動画を覆い隠す (DAC style)
============================================================================ */
.news,
.craft,
.works,
.heritage,
.recruit,
.dualcta,
.app-footer {
  position: relative;
  z-index: 5;
}

/* ============================================================================
   NEWS list
============================================================================ */
.news {
  padding: 100px 36px 60px;
  background: var(--bg);
}
.news__inner {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: start;
}
.news__title {
  font-family: var(--f-en); font-style: italic; font-weight: 500;
  font-size: 26px;
  color: var(--green-deep);
  margin: 0;
}
.news__list { display: flex; flex-direction: column; gap: 14px; }
.news__item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--f-jp); font-size: 13.5px;
  transition: color .15s;
}
.news__item:hover { color: var(--vermilion); }
.news__date {
  font-family: var(--f-mono); font-size: 11.5px;
  color: var(--ink-3); letter-spacing: .06em;
}
.news__tag {
  font-family: var(--f-en-2); font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--vermilion);
}

/* ============================================================================
   SLOGAN
============================================================================ */
.slogan {
  padding: 160px 36px;
  background: var(--bg);
  text-align: center;
  position: relative;
}
.slogan__label {
  font-family: var(--f-en); font-style: italic;
  font-size: 17px; color: var(--ink-2);
  margin-bottom: 36px;
  letter-spacing: .04em;
}
.slogan__label::before { content: "( "; color: var(--vermilion); }
.slogan__label::after  { content: " )"; color: var(--vermilion); }
.slogan__text {
  font-family: var(--f-jp-display); font-weight: 400;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 2.4;
  letter-spacing: .14em;
  color: var(--ink);
  margin: 0 auto 56px;
  max-width: 820px;
  word-break: keep-all;
}
.slogan__text em {
  font-style: normal;
  color: var(--vermilion);
  font-weight: 600;
  position: relative;
}

/* CTA pill — gold gradient */
.btn-pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 100%);
  color: #fff;
  font-family: var(--f-en); font-style: italic; font-weight: 500;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  border: none;
  letter-spacing: .04em;
  box-shadow: 0 8px 22px rgba(201,169,97,.32);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-pill:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #b59038, var(--gold-deep) 100%);
  box-shadow: 0 12px 28px rgba(201,169,97,.45);
}
.btn-pill svg { width: 18px; height: 18px; }

/* ============================================================================
   CRAFT — 3 つのこだわり
============================================================================ */
.craft {
  padding: 160px 36px;
  position: relative;
  overflow: hidden;
  /* bg なし → fixed video が透けて見える (Rick 仕様) */
  background: transparent;
  color: #fff;
}
/* Craft のテキストは白 + 強い text-shadow で動画上でも読めるように */
.craft .sec__head {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.85), 0 0 32px rgba(0,0,0,.6);
}
.craft .sec__head em { color: var(--vermilion-soft, #e85a40); }
.craft .sec__label {
  color: rgba(255,255,255,.78);
  text-shadow: 0 2px 8px rgba(0,0,0,.7);
}
.craft .sec__lead {
  color: rgba(255,255,255,.86);
  text-shadow: 0 2px 10px rgba(0,0,0,.7);
}
.craft .craft-card__title {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.75);
}
.craft .craft-card__title-en {
  color: rgba(255,255,255,.65);
  text-shadow: 0 2px 8px rgba(0,0,0,.7);
}
.craft .craft-card__desc {
  color: rgba(255,255,255,.86);
  text-shadow: 0 2px 8px rgba(0,0,0,.7);
}
.craft__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}
.craft__head .sec__head em {
  font-style: italic; color: var(--vermilion);
}

.craft__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.craft-card {
  display: flex; flex-direction: column;
  gap: 18px;
}
.craft-card__num {
  font-family: var(--f-en); font-style: italic; font-weight: 500;
  font-size: 56px;
  color: var(--vermilion);
  line-height: 1;
  margin-bottom: 4px;
}
.craft-card__title {
  font-family: var(--f-jp-display); font-weight: 600;
  font-size: 24px;
  letter-spacing: .14em;
  color: var(--ink);
  margin: 0 0 4px;
}
.craft-card__title-en {
  font-family: var(--f-en); font-style: italic;
  font-size: 14px; color: var(--ink-3);
  margin: 0 0 14px;
}
.craft-card__visual {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--r);
  background: linear-gradient(135deg, var(--green-deep), var(--ink));   /* fallback / 画像読込前 */
  overflow: hidden;
  position: relative;
}
/* 画像が入った時はグラデオーバーレイは出さない (画像がある時は ::before 隠す) */
.craft-card__visual:not(:has(img))::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), var(--vermilion) 0%, transparent 60%),
    radial-gradient(circle at 70% 30%, var(--gold) 0%, transparent 35%);
  mix-blend-mode: screen;
  opacity: .8;
}
.craft-card__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.craft-card__desc {
  font-family: var(--f-jp);
  font-size: 14px; line-height: 2.1;
  color: var(--ink-2);
  margin: 0;
  letter-spacing: .04em;
}

/* ============================================================================
   WORKS — case grid 2x3
============================================================================ */
.works {
  padding: 160px 36px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.works__head {
  text-align: center;
  margin-bottom: 80px;
}
.works__head .sec__head {
  color: var(--green-deep);
}
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 30px;
  max-width: 1280px; margin: 0 auto;
}
.work {
  display: flex; flex-direction: column;
  gap: 14px;
}
.work__img {
  aspect-ratio: 4/3;
  border-radius: var(--r);
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-deep), #0a0a0a);  /* fallback / loading */
  position: relative;
}
/* 画像が入っていない slot のみ radial overlay を出す (生成待ち or pending) */
.work__img:not(:has(img))::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,180,80,.45), transparent 45%),
    radial-gradient(circle at 75% 65%, rgba(193,61,41,.6), transparent 50%);
  mix-blend-mode: screen;
}
.work__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.work__name {
  font-family: var(--f-en); font-style: italic; font-weight: 500;
  font-size: 19px;
  color: var(--ink);
  margin: 0;
}
.work__sub {
  font-family: var(--f-jp); font-size: 12px;
  color: var(--ink-3);
  margin: 0;
}
.works__more {
  text-align: center; margin-top: 60px;
}

/* ============================================================================
   HERITAGE — 100 年の歴史
============================================================================ */
.heritage {
  padding: 0;
  position: relative;
  background: var(--footer);
  color: #fff;
  overflow: hidden;
}
.heritage__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
}
.heritage__visual {
  /* ベースは section bg (var(--footer)) に揃えて、下端で Recruit と地続きに見せる。
     fallback: vermilion / gold の radial で花火の atmosphere (画像読込前)。 */
  background:
    radial-gradient(circle at 60% 40%, rgba(193,61,41,.42) 0%, transparent 55%),
    radial-gradient(circle at 30% 70%, rgba(201,169,97,.28) 0%, transparent 48%),
    var(--footer);
  position: relative;
  overflow: hidden;
}
.heritage__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}
.heritage__visual::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(255,200,120,.95), transparent),
    radial-gradient(1px 1px at 45% 60%, rgba(255,180,80,.9), transparent),
    radial-gradient(1px 1px at 70% 25%, rgba(255,210,150,.85), transparent),
    radial-gradient(2px 2px at 80% 70%, rgba(255,170,60,.9), transparent),
    radial-gradient(1px 1px at 35% 85%, rgba(255,220,180,.7), transparent),
    radial-gradient(1px 1px at 60% 45%, rgba(255,190,100,.8), transparent);
}
.heritage__body {
  padding: 100px 70px;
  display: flex; flex-direction: column; justify-content: center;
}
.heritage__label {
  font-family: var(--f-en); font-style: italic;
  font-size: 17px;
  color: rgba(255,255,255,.6);
  margin-bottom: 28px;
}
.heritage__label::before { content: "( "; color: var(--vermilion); }
.heritage__label::after  { content: " )"; color: var(--vermilion); }
.heritage__year {
  font-family: var(--f-en); font-weight: 500;
  font-size: clamp(72px, 9vw, 124px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--gold);
  margin: 0 0 14px;
}
.heritage__year small {
  font-family: var(--f-en-2); font-size: 14px;
  letter-spacing: .26em;
  color: rgba(255,255,255,.65);
  display: block;
  margin-top: 6px;
}
.heritage__title {
  font-family: var(--f-jp-display); font-weight: 500;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.7;
  letter-spacing: .1em;
  color: #fff;
  margin: 0 0 24px;
  word-break: keep-all;
}
.heritage__copy {
  font-family: var(--f-jp); font-weight: 400;
  font-size: 14.5px; line-height: 2.2;
  letter-spacing: .04em;
  color: rgba(255,255,255,.78);
  margin: 0 0 36px;
}

/* ============================================================================
   RECRUIT (温故知新) — split panel
============================================================================ */
.recruit {
  padding: 160px 36px;
  position: relative;
  /* bg なし → fixed video が透けて見える (Rick 仕様) */
  background: transparent;
  color: #fff;
}
/* Recruit のテキストは白 + 強い text-shadow */
.recruit .sec__label {
  color: rgba(255,255,255,.78);
  text-shadow: 0 2px 8px rgba(0,0,0,.7);
}
.recruit__head h2 {
  color: #fff !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.85), 0 0 32px rgba(0,0,0,.6);
}
.recruit__body p {
  color: rgba(255,255,255,.88) !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.75);
}
.recruit__body strong {
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.85);
}
.recruit .bigtype-stage__title {
  color: rgba(255,255,255,.92);
  text-shadow: 0 4px 30px rgba(0,0,0,.7);
}
.recruit__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
  max-width: 1240px; margin: 0 auto;
}
.recruit__head h2 {
  font-family: var(--f-en); font-weight: 500;
  font-size: clamp(54px, 7vw, 110px);
  line-height: .92;
  color: var(--green-deep);
  margin: 0;
}
.recruit__head h2 em {
  font-style: italic; color: var(--vermilion);
}
.recruit__body p {
  font-family: var(--f-jp); font-weight: 400;
  font-size: 14.5px; line-height: 2.2;
  letter-spacing: .04em;
  color: var(--ink-2); margin: 0 0 22px;
}
.recruit__body strong { color: var(--ink); font-weight: 700; }

/* ============================================================================
   DUAL CTA (Catalogue / Contact) — DAC 由来
============================================================================ */
.dualcta {
  padding: 0;                 /* edge-to-edge — 左右の白枠を削除 */
  position: relative;
  overflow: hidden;
}
.dualcta__wave {
  display: block;
  width: 100%; height: 120px;
  /* peach の radial → ブラウンの縦グラデ (動画上から dualcta-card #1A1810 にフェード) */
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(42, 36, 24, .55) 45%,
    var(--footer) 100%);
}
.dualcta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: none;            /* フル幅 — 左右の余白を削除 */
  margin: 0;
  border-radius: 0;           /* 角丸を解除して edge-to-edge に */
  overflow: hidden;
}
.dualcta-card {
  position: relative;
  display: block;
  padding: 100px 60px 80px;
  /* グラデーション → 動画と地続きの単色 dark に統一 */
  background: var(--footer);
  color: #fff;
  text-align: center;
  overflow: hidden;
  transition: background .25s;
}
.dualcta-card:hover { background: #2a2418; }
.dualcta-card + .dualcta-card { border-left: 1px solid rgba(255,255,255,.08); }
.dualcta-card__title {
  font-family: var(--f-en); font-weight: 500;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  color: #fff;
  margin: 0 0 18px;
}
.dualcta-card__sub {
  font-family: var(--f-jp); font-size: 13px;
  color: rgba(255,255,255,.6);
  margin: 0 0 36px;
}

/* ============================================================================
   FOOTER
============================================================================ */
.app-footer {
  background: var(--footer);
  color: rgba(255,255,255,.6);
  padding: 80px 36px 40px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.app-footer__inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
}
.app-footer__brand {
  display: flex; flex-direction: column; gap: 18px;
}
.app-footer__brand p {
  font-family: var(--f-en); font-style: italic;
  font-size: 14px; line-height: 1.9;
  color: rgba(255,255,255,.55);
  margin: 0;
}
.app-footer__col h4 {
  font-family: var(--f-en-2); font-weight: 700;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin: 0 0 18px;
}
.app-footer__col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.app-footer__col a {
  font-family: var(--f-jp); font-size: 13px;
  color: rgba(255,255,255,.62);
  transition: color .15s;
}
.app-footer__col a:hover { color: var(--vermilion); }

.app-footer__bottom {
  max-width: 1280px; margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: 10.5px;
  color: rgba(255,255,255,.4);
  letter-spacing: .08em;
}

/* ============================================================================
   MOBILE
============================================================================ */
@media (max-width: 980px) {
  /* nav が display:none になるので 2-col に再定義 — brand 左 / Contact 右 */
  .app-header { grid-template-columns: 1fr auto; padding: 14px 18px; }
  .app-header__nav { display: none; }
  .app-header__right { justify-self: end; }
  .app-header__right a { padding: 0 14px; font-size: 10px; }

  .kv__copy { bottom: 100px; padding: 0 22px; }
  .kv__copy-main { font-size: clamp(28px, 8vw, 44px); letter-spacing: .08em; }
  .kv__copy-sub { font-size: 15px; }
  .kv__sound { right: 16px; top: 70px; }

  .news__inner { grid-template-columns: 1fr; gap: 26px; }
  .news__item { grid-template-columns: 100px 1fr; }
  .news__tag { display: none; }

  .sec { padding: 80px 22px; }
  .slogan { padding: 100px 22px; }
  .slogan__text { font-size: 17px; line-height: 2.1; letter-spacing: .06em; }

  /* Philosophy (.slogan-stage) — モバイルでも完全に中央配置に */
  .slogan-stage {
    padding: 0 22px 80px;       /* PC の 140px → 80px に減らして中身を中央に近づける */
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .slogan-stage .slogan__text,
  .slogan-stage .slogan__text--onvideo {
    font-size: clamp(15px, 4.4vw, 20px);
    line-height: 2.1;
    letter-spacing: .06em;
    max-width: 100%;
    margin: 0 auto 36px;
    padding: 0;
  }
  .slogan-stage .slogan__label { font-size: 14px; margin-bottom: 26px; }
  .slogan-stage .btn-pill { font-size: 14px; padding: 13px 22px; }

  /* PARALLAX をモバイルで無効化 — sec__head / bigtype-stage__title が
     スクロールに応じて横にスライドして「中央で止まらない」問題を解消 */
  .sec__head,
  .bigtype-stage__title {
    transform: translateX(0) !important;
    /* PC parallax 用 transform を打ち消す */
  }
  /* sec__head 自体も font-size を抑え + 中央寄せ */
  .sec__head { font-size: clamp(44px, 12vw, 80px); }

  /* Works 見出しを中央 + grid も中央配置 */
  .works__head { text-align: center; }
  .works__grid { justify-content: center; margin: 0 auto; }
  /* Craft 見出しも 1 col では中央寄せに */
  .craft__head { text-align: center; }
  .craft__head .sec__head { margin-left: auto; margin-right: auto; }
  /* Recruit 見出しも */
  .recruit__head { text-align: center; }
  .recruit__head h2 { font-size: clamp(40px, 11vw, 72px); text-align: center; }

  .craft__head { grid-template-columns: 1fr; gap: 28px; }
  .craft__grid { grid-template-columns: 1fr; gap: 40px; }

  .works__grid { grid-template-columns: 1fr 1fr; gap: 18px; }

  .heritage__inner { grid-template-columns: 1fr; min-height: 0; }
  .heritage__visual { aspect-ratio: 4/3; }
  .heritage__body { padding: 60px 22px; }

  .recruit__inner { grid-template-columns: 1fr; gap: 36px; }

  .dualcta__grid { grid-template-columns: 1fr; }
  .dualcta-card + .dualcta-card { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .dualcta-card { padding: 70px 28px 60px; }

  .app-footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .app-footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

@media (max-width: 600px) {
  .works__grid { grid-template-columns: 1fr; }
  .app-footer__inner { grid-template-columns: 1fr; }
}

/* ============================================================================
   Scroll reveal
============================================================================ */
.sd-appear {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
}
.sd-appear.is-in { opacity: 1; transform: translateY(0); }
