/* ============================================================
   REBELLIS Official — Black & White Edition (2026-07-06)
   Palette: #000 / #fff のみ。罫線・薄膜は白黒のalpha表現に限定。
   Fonts: Noto Sans JP (JP) / Montserrat (EN display) / Cormorant Garamond (EN serif accent)
   TTP基準: grust(編集的余白・細罫線・大英字タイル) / cerebrix(バンド交互・巨大英字+和ラベル・scrollキュー)
            / conscience(黒地・ゴースト文字・serifアクセント) / reris(静かな動き)
   ============================================================ */

:root {
  --black: #000000;
  --white: #ffffff;
  --line-w: rgba(255, 255, 255, 0.16);   /* hairline on black */
  --line-b: rgba(0, 0, 0, 0.14);         /* hairline on white */
  --soft-w: rgba(255, 255, 255, 0.62);   /* secondary text on black */
  --soft-b: rgba(0, 0, 0, 0.60);         /* secondary text on white */
  --ghost-w: rgba(255, 255, 255, 0.05);
  --ghost-b: rgba(0, 0, 0, 0.045);
  /* Adobe Fonts kit imo6ljq — TTP対象: cerebrix=roc-grotesk / grust=源ノ角ゴシック(=Noto) / conscience=serif。
     kitにroc-grotesk・source-han-sans-japaneseを追加すると本命フォントに切替。未追加時は下記の
     グロテスク/システム日本語にフォールバック（=grust系Helveticaに近く崩れない）。 */
  --font-jp: 'source-han-sans-japanese', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --font-en: 'roc-grotesk', 'Helvetica Neue', 'Arial', sans-serif;
  --font-serif: 'cormorant-garamond', 'Cormorant Garamond', Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; background: none; border: none; color: inherit; cursor: pointer; }

.container { width: min(1200px, calc(100% - 96px)); margin: 0 auto; }
@media (max-width: 720px) { .container { width: calc(100% - 48px); } }

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

/* ---- grain: 全面の粒状ノイズ（白黒） ---- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
}

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-solid { background: rgba(0, 0, 0, 0.92); border-bottom-color: var(--line-w); backdrop-filter: blur(12px); }
.header.is-hidden { transform: translateY(-100%); }
.nav {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
}
.nav__logo img { height: 24px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__links a {
  font-family: var(--font-jp);
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em;
  color: var(--soft-w);
  position: relative; padding: 6px 0;
  transition: color 0.3s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--white); transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links a span { font-family: var(--font-jp); font-weight: 500; letter-spacing: 0.08em; }

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-jp);
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  border: 1px solid var(--white); border-radius: 999px;
  padding: 15px 32px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
  position: relative; overflow: hidden;
}
.btn .arrow { display: inline-block; margin-left: 4px; transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(6px); }
.btn--fill { background: var(--white); color: var(--black); }
.btn--fill:hover { background: transparent; color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }
/* on white bands / 白FV */
.band--white .btn--fill, .hero--b .btn--fill { background: var(--black); color: var(--white); border-color: var(--black); }
.band--white .btn--fill:hover, .hero--b .btn--fill:hover { background: transparent; color: var(--black); }
.band--white .btn--ghost, .hero--b .btn--ghost { color: var(--black); border-color: var(--black); }
.band--white .btn--ghost:hover, .hero--b .btn--ghost:hover { background: var(--black); color: var(--white); }
.nav .btn { padding: 11px 24px; font-size: 12px; }

/* ---- 明色ヘッダー（白FV用・grust TTP: 常時白ヘッダー） ---- */
.header--light { background: rgba(255, 255, 255, 0.92); border-bottom-color: var(--line-b); backdrop-filter: blur(12px); }
.header--light.is-solid { background: rgba(255, 255, 255, 0.95); border-bottom-color: var(--line-b); }
.header--light .nav__links a { color: var(--soft-b); }
.header--light .nav__links a:hover { color: var(--black); }
.header--light .nav__links a::after { background: var(--black); }
.header--light .btn--fill { background: var(--black); color: var(--white); border-color: var(--black); }
.header--light .btn--fill:hover { background: transparent; color: var(--black); }
.header--light .hamburger span { background: var(--black); }

.hamburger { display: none; width: 44px; height: 44px; position: relative; z-index: 110; }
.hamburger span {
  position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--white);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.hamburger span:nth-child(1) { top: 17px; }
.hamburger span:nth-child(2) { top: 26px; }
.hamburger.is-open span:nth-child(1) { transform: translateY(4.5px) rotate(20deg); }
.hamburger.is-open span:nth-child(2) { transform: translateY(-4.5px) rotate(-20deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 105;
  background: var(--black);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 0 40px;
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-jp); font-size: 26px; font-weight: 700; letter-spacing: 0.04em;
  padding: 14px 0; border-bottom: 1px solid var(--line-w);
  display: flex; align-items: baseline; gap: 16px;
}
.mobile-menu a small { font-family: var(--font-jp); font-size: 12px; font-weight: 500; color: var(--soft-w); letter-spacing: 0.1em; }
.mobile-menu .btn { margin-top: 28px; justify-content: center; }

@media (max-width: 960px) {
  .nav { padding: 0 24px; }
  .nav__links, .nav .btn { display: none; }
  .hamburger { display: block; }
}

/* ============ BANDS ============ */
.band { position: relative; overflow: hidden; }
.band--black { background: var(--black); color: var(--white); }
.band--white { background: var(--white); color: var(--black); }
.band__inner { padding: clamp(96px, 12vw, 168px) 0; position: relative; z-index: 2; }

/* ---- 斜め光条（白黒のみ・黒バンド用の質感） ---- */
.streaks { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5; }
.streaks::before, .streaks::after {
  content: ''; position: absolute; inset: -20%;
  background: linear-gradient(115deg,
    transparent 0%, transparent 42%,
    rgba(255, 255, 255, 0.045) 46%, transparent 52%,
    transparent 66%, rgba(255, 255, 255, 0.03) 70%, transparent 76%);
}
.streaks::after { transform: translateX(18%) scaleY(1.15); opacity: 0.7; }

/* ---- セクション見出し: 小和ラベル + 巨大英字 ---- */
.sec-head { margin-bottom: clamp(48px, 7vw, 88px); }
.sec-label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-jp); font-size: 12px; font-weight: 700; letter-spacing: 0.24em;
  color: var(--soft-w);
  margin-bottom: 18px;
}
.band--white .sec-label { color: var(--soft-b); }
.sec-label::before { content: ''; width: 26px; height: 1px; background: currentColor; }
.sec-en {
  font-family: var(--font-en);
  font-size: clamp(44px, 7.5vw, 104px);
  font-weight: 800; line-height: 0.95; letter-spacing: 0.01em; text-transform: uppercase;
}
.sec-en .thin { font-weight: 400; }

/* ---- ゴースト文字（縦・横） ---- */
.ghost {
  position: absolute; z-index: 1; pointer-events: none;
  font-family: var(--font-en); font-weight: 800; text-transform: uppercase; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--ghost-w);
  font-size: clamp(120px, 22vw, 320px);
  letter-spacing: 0.02em;
  white-space: nowrap;
  user-select: none;
}
.band--white .ghost { -webkit-text-stroke-color: var(--ghost-b); }
.ghost--fill { -webkit-text-stroke: 0; color: var(--ghost-w); }
.band--white .ghost--fill { color: var(--ghost-b); }

/* ============ TICKER ============ */
.ticker {
  border-top: 1px solid var(--line-w); border-bottom: 1px solid var(--line-w);
  overflow: hidden; padding: 14px 0; background: var(--black);
}
.ticker__track { display: flex; width: max-content; animation: tickerMove 110s linear infinite; }
.ticker__item {
  font-family: var(--font-en); font-size: 11px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--soft-w);
  padding-right: 72px; white-space: nowrap;
}
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ HERO 共通 ============ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 36px) 0 96px;
}
.hero__eyebrow {
  font-family: var(--font-jp); font-size: 12px; font-weight: 700; letter-spacing: 0.22em;
  color: var(--soft-w);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 26px;
}
.hero__eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--white); }
.hero__headline {
  font-size: clamp(40px, 7.2vw, 96px);
  font-weight: 900; line-height: 1.18; letter-spacing: 0.015em;
}
.hero__sub { margin-top: 30px; max-width: 560px; color: var(--soft-w); font-size: 14px; }
.hero__serif {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(16px, 2vw, 24px); letter-spacing: 0.06em; color: var(--soft-w);
}
.hero__actions { display: flex; gap: 16px; margin-top: 44px; flex-wrap: wrap; }
/* スペック列: pillチップを廃止し、grust式の区切り線インライン列（キャリハイのpillと差別化） */
.hero__specs { display: flex; flex-wrap: wrap; align-items: center; margin-top: 36px; }
.hero__spec {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--soft-w);
  padding: 3px 20px; position: relative;
}
.hero__spec:first-child { padding-left: 0; }
.hero__spec:not(:first-child)::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 13px; background: var(--line-w);
}
.scroll-cue {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 5;
}
.scroll-cue span {
  font-family: var(--font-en); font-size: 9px; font-weight: 600; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--soft-w);
}
.scroll-cue::after {
  content: ''; width: 1px; height: 72px;
  background: linear-gradient(to bottom, var(--white), transparent);
  animation: cueDrop 2.2s var(--ease) infinite;
}
@keyframes cueDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============ FV 案A: TYPOGRAPHY MONOLITH（cerebrix TTP: 面×中央タイポ×scrollキュー） ============ */
.hero--a { text-align: center; align-items: center; }
.hero--a .hero__eyebrow { justify-content: center; }
.hero--a .hero__eyebrow::before { display: none; }
.hero--a .hero__eyebrow::after { display: none; }
.hero--a .hero__logotype {
  font-family: var(--font-en); font-weight: 800; text-transform: uppercase;
  font-size: clamp(64px, 12.5vw, 190px); line-height: 0.92; letter-spacing: 0.01em;
}
.hero--a .hero__headline { font-size: clamp(22px, 3vw, 38px); font-weight: 700; margin-top: 34px; }
.hero--a .hero__serif { margin-top: 18px; }
.hero--a .hero__sub { margin-left: auto; margin-right: auto; }
.hero--a .hero__actions, .hero--a .hero__quals { justify-content: center; }
.hero--a .streaks { opacity: 0.9; }
.hero--a .hero__ring {
  position: absolute; z-index: 1; left: 50%; top: 50%;
  width: min(120vmin, 980px); height: min(120vmin, 980px);
  transform: translate(-50%, -50%);
  border: 1px solid var(--line-w); border-radius: 50%;
  opacity: 0.45; pointer-events: none;
  animation: ringSpin 60s linear infinite;
}
.hero--a .hero__ring::before {
  content: ''; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px;
  background: var(--white); border-radius: 50%;
}
.hero--a .hero__ring--2 { width: min(88vmin, 700px); height: min(88vmin, 700px); animation-duration: 42s; animation-direction: reverse; opacity: 0.3; }
@keyframes ringSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ============ FV 案B: EDITORIAL SPLIT（grust TTP: 白の編集面×黒巨大タイポ×縦罫線） ============ */
/* isolation:isolate + パネルz:-1 により、静的コンテンツがパネルの上に描画され、
   h1のmix-blend-mode:difference が白面=黒/黒パネル上=白として正しく効く */
.hero--b { background: var(--white); color: var(--black); isolation: isolate; }
/* 縦グリッド線は井手指摘（2026-07-06「違和感」）で撤去。分割は黒パネルのみで表現 */
.hero--b .hero__grid { display: none !important; }
.hero--b .hero__panel { display: none;
  position: absolute; z-index: -1; pointer-events: none;
  background: var(--black);
}
.hero--b .hero__panel--1 { right: 0; top: 0; width: 36%; height: 56%; }
.hero--b .hero__panel--2 { right: 0; bottom: 0; width: 24%; height: 30%; }
.hero--b .hero__eyebrow { color: var(--soft-b); }
.hero--b .hero__eyebrow::before { background: var(--black); }
.hero--b .hero__headline {
  font-family: var(--font-en);
  font-size: clamp(44px, 8.6vw, 126px); font-weight: 800; line-height: 0.94;
  text-transform: uppercase; letter-spacing: 0;
  color: var(--white); mix-blend-mode: difference; /* 白面では黒・黒パネル上では白に反転 */
}
.hero--b .hero__sub { margin-top: 22px; }
.hero--b .hero__actions { margin-top: 32px; }
.hero--b .hero__specs { margin-top: 26px; }
.hero--b .hero__spec { color: var(--soft-b); }
.hero--b .hero__spec:not(:first-child)::before { background: var(--line-b); }
.hero--b .hero__jp { font-size: clamp(18px, 2.4vw, 30px); font-weight: 900; margin-top: 34px; }
.hero--b .hero__sub { color: var(--soft-b); }
.hero--b .scroll-cue span { color: var(--soft-b); }
.hero--b .scroll-cue::after { background: linear-gradient(to bottom, var(--black), transparent); }
@media (max-width: 720px) {
  .hero--b .hero__panel--1 { display: none; }
  .hero--b .hero__panel--2 { display: none; }
}

/* ============ FV 案C: GHOST & RIBBON（conscience TTP: 黒地×ゴースト×serif混植×帯） ============ */
.hero--c .hero__ghost-bg {
  position: absolute; z-index: 1; left: -2vw; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-en); font-weight: 800; text-transform: uppercase;
  font-size: clamp(140px, 26vw, 380px); line-height: 0.88; letter-spacing: 0;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  white-space: pre-line; pointer-events: none; user-select: none;
}
.hero--c .hero__ribbon { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hero--c .hero__ribbon path { fill: none; stroke: rgba(255, 255, 255, 0.22); stroke-width: 1.2; }
.hero--c .hero__ribbon .rb-1 {
  /* conscience TTP: stroke-dasharrayの線描画エントランス */
  stroke-dasharray: 2400; stroke-dashoffset: 2400;
  animation: ribbonDraw 2.6s var(--ease) 0.4s forwards;
}
.hero--c .hero__ribbon .rb-1b { animation-delay: 0.9s; }
.hero--c .hero__ribbon .rb-2 { stroke: rgba(255, 255, 255, 0.10); stroke-width: 40; }
@keyframes ribbonDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero--c .hero__ribbon .rb-1 { animation: none; stroke-dashoffset: 0; }
}
.hero--c .hero__content { position: relative; z-index: 3; }
.hero--c .hero__headline em {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  letter-spacing: 0.02em;
}
.hero--c .hero__serif-line {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(20px, 2.6vw, 34px); color: var(--white); opacity: 0.9;
  margin-top: 20px; letter-spacing: 0.04em;
}

/* ============ MESSAGE ============ */
.message-copy {
  font-size: clamp(26px, 3.6vw, 48px); font-weight: 900; line-height: 1.6; letter-spacing: 0.03em;
}
.message-copy .serif { font-family: var(--font-serif); font-style: italic; font-weight: 500; display: block; font-size: 0.52em; margin-top: 22px; color: var(--soft-w); letter-spacing: 0.08em; }
.message-body { margin-top: 40px; max-width: 620px; color: var(--soft-w); font-size: 14px; }

/* ============ DIFFERENCE (VS) ============ */
.vs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-b); }
.vs__col--other { border-right: 1px solid var(--line-b); }
.vs__head {
  font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 22px 28px; border-bottom: 1px solid var(--line-b); color: var(--soft-b);
}
.vs__col--self .vs__head { background: var(--black); color: var(--white); font-family: var(--font-jp); letter-spacing: 0.1em; }
.vs__col--self .vs__head .en { font-family: var(--font-en); letter-spacing: 0.2em; }
.vs__row { padding: 19px 28px; border-bottom: 1px solid var(--line-b); font-size: 13.5px; color: var(--soft-b); }
.vs__row:last-child { border-bottom: none; }
.vs__col--self .vs__row { font-weight: 700; color: var(--black); }
.vs__col--self .vs__row::before { content: '—'; margin-right: 12px; }
@media (max-width: 720px) {
  .vs { grid-template-columns: 1fr; }
  .vs__col--other { border-right: none; border-bottom: 1px solid var(--line-b); }
}

/* ============ JOB TABLE ============ */
.job { border: 1px solid var(--line-w); }
.job__row { display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px solid var(--line-w); }
.job__row:last-child { border-bottom: none; }
.job__th {
  padding: 24px 30px;
  font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--soft-w); border-right: 1px solid var(--line-w);
  display: flex; flex-direction: column; gap: 2px;
}
.job__th small { font-family: var(--font-jp); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; }
.job__td { padding: 24px 30px; font-size: 13.5px; color: var(--soft-w); line-height: 1.9; }
@media (max-width: 720px) {
  .job__row { grid-template-columns: 1fr; }
  .job__th { border-right: none; padding: 16px 20px 4px; }
  .job__td { padding: 4px 20px 18px; }
}

/* ============ REASONS ============ */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-b); }
.reason {
  padding: 44px 32px 52px; border-bottom: 1px solid var(--line-b);
  border-right: 1px solid var(--line-b);
}
.reason:last-child { border-right: none; }
.reason__num {
  font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--soft-b); margin-bottom: 26px; display: flex; align-items: center; gap: 12px;
}
.reason__num::after { content: ''; flex: 1; height: 1px; background: var(--line-b); }
.reason__title { font-size: 19px; font-weight: 900; line-height: 1.7; margin-bottom: 16px; }
.reason__text { font-size: 13.5px; color: var(--soft-b); }
@media (max-width: 880px) {
  .reasons { grid-template-columns: 1fr; }
  .reason { border-right: none; }
}

/* ============ NUMBERS ============ */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line-w); }
.number { padding: 52px 32px; text-align: center; border-right: 1px solid var(--line-w); }
.number:last-child { border-right: none; }
.number__val {
  font-family: var(--font-en); font-size: clamp(48px, 6vw, 84px); font-weight: 800; line-height: 1;
}
.number__val .unit { font-family: var(--font-jp); font-size: 0.32em; font-weight: 700; margin-left: 6px; }
.number__label { margin-top: 16px; font-size: 12px; color: var(--soft-w); letter-spacing: 0.06em; line-height: 1.8; }
@media (max-width: 720px) {
  .numbers { grid-template-columns: 1fr; }
  .number { border-right: none; border-bottom: 1px solid var(--line-w); }
  .number:last-child { border-bottom: none; }
}

/* ============ FLOW ============ */
.flow { counter-reset: step; }
.flow__item {
  display: grid; grid-template-columns: 120px 1fr; gap: 32px;
  padding: 40px 0; border-bottom: 1px solid var(--line-b);
  align-items: baseline;
}
.flow__item:first-child { border-top: 1px solid var(--line-b); }
.flow__num {
  font-family: var(--font-en); font-size: clamp(34px, 4vw, 52px); font-weight: 800; line-height: 1;
  color: rgba(0, 0, 0, 0.18);
}
.flow__title { font-size: 19px; font-weight: 900; margin-bottom: 10px; }
.flow__text { font-size: 13.5px; color: var(--soft-b); max-width: 640px; }
@media (max-width: 720px) {
  .flow__item { grid-template-columns: 1fr; gap: 10px; padding: 30px 0; }
}

/* ============ FAQ ============ */
/* FAQ: 通し番号＋ライン式アイコンの編集的リスト（白バンド。キャリハイの素朴なアコーディオンと差別化） */
.faq { border-top: 1px solid var(--line-b); }
.faq__item { border-bottom: 1px solid var(--line-b); position: relative; }
.faq__item::after {
  content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--black);
  transition: width 0.5s var(--ease);
}
.faq__item.is-open::after { width: 100%; }
.faq__q {
  width: 100%; text-align: left;
  display: flex; align-items: center; gap: 22px;
  padding: 26px 4px; font-size: 15px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--black);
  transition: gap 0.35s var(--ease);
}
.faq__q:hover { gap: 30px; }
.faq__no {
  font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.28); flex-shrink: 0; width: 26px;
}
.faq__qt { flex: 1; }
.faq__icon { position: relative; width: 15px; height: 15px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; background: var(--black);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.faq__icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.faq__item.is-open .faq__icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.45s var(--ease);
  font-size: 13.5px; color: var(--soft-b); padding: 0 4px 0 52px; line-height: 2;
}
.faq__item.is-open .faq__a { max-height: 320px; padding: 0 4px 28px 52px; }

/* ============ CTA ============ */
.cta { text-align: center; }
.cta__display {
  font-size: clamp(34px, 5.6vw, 74px); font-weight: 900; line-height: 1.35; letter-spacing: 0.02em;
}
.cta__display em { font-style: normal; position: relative; white-space: nowrap; }
.cta__display em::after {
  content: ''; position: absolute; left: 0; bottom: 0.02em; width: 100%; height: 2px; background: var(--white);
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) 0.3s;
}
.is-inview .cta__display em::after { transform: scaleX(1); }
.cta__sub { margin-top: 28px; color: var(--soft-w); font-size: 14px; }
.cta__actions { display: flex; gap: 16px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.cta__note { margin-top: 26px; font-size: 11px; letter-spacing: 0.14em; color: var(--soft-w); }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line-w); background: var(--black); }
.footer__inner {
  padding: 72px 0 0;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px;
}
.footer__logo img { height: 22px; width: auto; }
.footer__desc { margin-top: 20px; font-size: 12px; color: var(--soft-w); line-height: 2.1; }
.footer__contact { margin-top: 14px; font-size: 12px; color: var(--soft-w); }
.footer__contact a { color: var(--white); border-bottom: 1px solid var(--line-w); padding-bottom: 1px; }
.footer__col-title {
  font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--soft-w); margin-bottom: 20px;
}
.footer__col ul li { margin-bottom: 12px; }
.footer__col ul a { font-size: 13px; color: var(--soft-w); transition: color 0.3s; }
.footer__col ul a:hover { color: var(--white); }
.footer__bottom {
  margin-top: 64px; padding: 24px 0;
  border-top: 1px solid var(--line-w);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer__copy { font-family: var(--font-en); font-size: 10px; letter-spacing: 0.16em; color: var(--soft-w); }
@media (max-width: 720px) { .footer__inner { grid-template-columns: 1fr; gap: 36px; } }

/* ============ PAGE HERO（下層） ============ */
.page-hero { padding: calc(var(--header-h) + 96px) 0 72px; position: relative; overflow: hidden; }
.page-hero .sec-label { margin-bottom: 14px; }
.page-hero__title {
  font-family: var(--font-en); font-size: clamp(48px, 8.5vw, 120px); font-weight: 800;
  text-transform: uppercase; line-height: 0.95;
}
.page-hero__jp { margin-top: 18px; font-size: 15px; font-weight: 700; letter-spacing: 0.12em; color: var(--soft-w); }

/* ---- company table ---- */
.ctable { width: 100%; border: 1px solid var(--line-b); border-collapse: collapse; }
.ctable th, .ctable td { border-bottom: 1px solid var(--line-b); text-align: left; vertical-align: top; }
.ctable tr:last-child th, .ctable tr:last-child td { border-bottom: none; }
.ctable th {
  width: 220px; padding: 24px 30px;
  font-family: var(--font-jp); font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--soft-b); border-right: 1px solid var(--line-b);
  background: rgba(0, 0, 0, 0.02);
}
.ctable td { padding: 24px 30px; font-size: 13.5px; color: var(--soft-b); line-height: 1.9; }
.ctable td a { border-bottom: 1px solid var(--line-b); padding-bottom: 1px; }
@media (max-width: 720px) {
  .ctable th { width: 112px; padding: 16px 14px; }
  .ctable td { padding: 16px 14px; }
}

/* ---- CEO message（conscience Our Message型: 縦ゴースト×太字見出し×大判写真） ---- */
.ceo2 { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.ceo__key {
  font-size: 18px !important; font-weight: 900; letter-spacing: 0.08em;
  color: var(--white) !important; padding: 6px 0;
}
.ceo__close { font-weight: 700; color: var(--white) !important; }
.ceo__headline {
  font-size: clamp(26px, 3.4vw, 42px); font-weight: 900; line-height: 1.5; letter-spacing: 0.04em; margin-bottom: 36px;
}
.ceo2__text p { font-size: 14px; color: var(--soft-w); margin-bottom: 22px; line-height: 2.2; }
.ceo2__text p:last-child { margin-bottom: 0; }
.ceo2__figure { position: sticky; top: 96px; margin: 0; }
.ceo2__media { overflow: hidden; }
.ceo2__media img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top;
  display: block;
}
.ceo2__figure figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; }
.ceo2__name { font-size: 15px; font-weight: 900; letter-spacing: 0.08em; }
.ceo2__role { font-family: var(--font-en); font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--soft-w); }
@media (max-width: 840px) {
  .ceo2 { grid-template-columns: 1fr; gap: 40px; }
  .ceo2__figure { position: static; }
}

/* ---- access / map ---- */
.map-embed { border: 1px solid var(--line-b); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(1) contrast(1.04); }

/* ---- legal / policy ---- */
.legal-wrap { max-width: 780px; }
.legal-date { font-size: 12px; color: var(--soft-b); margin-bottom: 44px; letter-spacing: 0.06em; }
.legal-block { margin-bottom: 56px; }
.legal-block h2 {
  font-size: 15px; font-weight: 900; letter-spacing: 0.08em;
  padding-left: 16px; border-left: 2px solid var(--black);
  margin-bottom: 20px;
}
.legal-block p { font-size: 13.5px; color: var(--soft-b); margin-bottom: 14px; }
.legal-block ul { margin: 14px 0 14px 22px; }
.legal-block ul li { font-size: 13.5px; color: var(--soft-b); list-style: disc; margin-bottom: 8px; line-height: 1.9; }
.legal-note { border: 1px solid var(--line-b); padding: 28px 32px; margin-top: 44px; }
.legal-note p { font-size: 13px; color: var(--soft-b); line-height: 2; }
.legal-note strong { color: var(--black); }
.ltable { width: 100%; border: 1px solid var(--line-b); border-collapse: collapse; }
.ltable th, .ltable td { border-bottom: 1px solid var(--line-b); text-align: left; vertical-align: top; }
.ltable tr:last-child th, .ltable tr:last-child td { border-bottom: none; }
.ltable th {
  width: 200px; padding: 20px 26px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--soft-b); border-right: 1px solid var(--line-b); background: rgba(0, 0, 0, 0.02);
}
.ltable td { padding: 20px 26px; font-size: 13px; color: var(--soft-b); line-height: 1.95; }
@media (max-width: 680px) {
  .ltable th { width: 104px; padding: 14px 12px; }
  .ltable td { padding: 14px 12px; }
}

/* ============ TILES（grust TTP: 3リンクの回遊ボックス・ホバーで白黒反転） ============ */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-w); }
.tile {
  display: block; position: relative; overflow: hidden;
  padding: clamp(48px, 6vw, 84px) 36px clamp(56px, 7vw, 96px);
  border-right: 1px solid var(--line-w);
  transition: background 0.45s var(--ease), color 0.45s var(--ease);
}
.tile:last-child { border-right: none; }
.tile__en {
  display: block;
  font-family: var(--font-en); font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1;
}
.tile__jp { display: block; margin-top: 12px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; color: var(--soft-w); transition: color 0.45s; }
.tile__arrow {
  margin-top: clamp(28px, 4vw, 52px);
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-size: 12px; letter-spacing: 0.1em;
}
.tile__arrow::before { content: ''; width: 44px; height: 1px; background: currentColor; transition: width 0.45s var(--ease); }
.tile:hover { background: var(--white); color: var(--black); }
.tile:hover .tile__jp { color: var(--soft-b); }
.tile:hover .tile__arrow::before { width: 72px; }
@media (max-width: 880px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { border-right: none; border-bottom: 1px solid var(--line-w); }
  .tile:last-child { border-bottom: none; }
}

/* ============ 縦ゴースト（conscience TTP: 回転した巨大英字） ============ */
.ghost--v {
  writing-mode: vertical-rl; text-orientation: mixed;
  font-size: clamp(90px, 11vw, 170px);
  top: 50%; transform: translateY(-50%);
}

/* ============ NEXT LINK（grust c-bottom-link TTP: 下層末尾の巨大次ページリンク） ============ */
.next-link {
  display: block; position: relative; overflow: hidden; text-align: center;
  border-top: 1px solid var(--line-w);
  padding: clamp(80px, 11vw, 150px) 0;
  background: var(--black); color: var(--white);
}
.next-link__label {
  font-family: var(--font-jp); font-size: 12px; font-weight: 700; letter-spacing: 0.24em;
  color: var(--soft-w); display: block; margin-bottom: 18px;
  transition: color 0.5s;
}
.next-link__en {
  font-family: var(--font-en); font-size: clamp(52px, 9vw, 128px);
  /* text-strokeはグリフ内部の自己交差パスが露出するため使わず、薄い白ベタ→ホバー点灯 */
  font-weight: 800; text-transform: uppercase; line-height: 0.95; letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.24);
  transition: color 0.5s var(--ease);
  display: block;
}
.next-link__arrow {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 26px;
  font-family: var(--font-en); font-size: 12px; letter-spacing: 0.14em; color: var(--soft-w);
  transition: gap 0.4s var(--ease);
}
.next-link:hover .next-link__en { color: var(--white); }
.next-link:hover .next-link__arrow { gap: 26px; }

/* ============ BREADCRUMBS（cerebrix下層TTP） ============ */
.crumbs {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.1em; color: var(--soft-w);
  margin-bottom: 26px;
}
.crumbs a { color: var(--soft-w); border-bottom: 1px solid var(--line-w); padding-bottom: 1px; transition: color 0.3s; }
.crumbs a:hover { color: var(--white); }
.crumbs .sep { font-family: var(--font-en); opacity: 0.5; }

/* ============ FAQ on white band ============ */

/* ============ 見出しクリップ描画（conscience線描画の思想をタイポへ） ============ */
.sec-head.reveal.is-inview .sec-en {
  animation: titleSweep 1.05s var(--ease) 0.12s both;
}
@keyframes titleSweep {
  from { clip-path: inset(0 100% 0 0); transform: translateX(-14px); }
  to { clip-path: inset(0 -2% 0 0); transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sec-head.reveal.is-inview .sec-en { animation: none; }
}

/* ============ WORK STYLE（雇用形態の斜めバンド・井手指定） ============ */
.ws-lead { font-size: 15px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 36px; }
.ws-band { display: flex; gap: 16px; flex-wrap: wrap; padding: 0 8px; }
.ws-item {
  flex: 1 1 160px;
  background: var(--black); color: var(--white);
  text-align: center; padding: 30px 8px;
  transform: skewX(-14deg);
}
.ws-item i {
  display: inline-block; font-style: normal;
  transform: skewX(14deg);
  font-size: 15px; font-weight: 700; letter-spacing: 0.1em;
}
.ws-note { font-size: 12px; color: var(--soft-b); margin-top: 22px; letter-spacing: 0.04em; }
@media (max-width: 720px) {
  .ws-band { gap: 10px; }
  .ws-item { flex: 1 1 42%; padding: 20px 6px; }
}

/* ============ REVEAL（信頼性ガード: 静的opacity:0を持たない加点方式） ============ */
@keyframes safeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.reveal { animation: safeUp 0.9s var(--ease) both; animation-play-state: paused; }
.reveal.is-inview { animation-play-state: running; }
html.no-js .reveal { animation: none; }

/* ============ OPENING REVEAL（conscience is-opening思想の翻訳・黒→FVのリフト・1セッション1回） ============ */
.opening {
  position: fixed; inset: 0; z-index: 200; background: var(--black);
  display: flex; align-items: center; justify-content: center;
}
.opening img { width: min(46vw, 280px); height: auto; opacity: 0; animation: openingLogo 0.85s var(--ease) 0.15s forwards; }
.opening.is-done { animation: openingLift 0.7s var(--ease) forwards; }
@keyframes openingLogo { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes openingLift { to { transform: translateY(-101%); } }
html.no-js .opening { display: none; }
@media (prefers-reduced-motion: reduce) { .opening { display: none; } }

/* ============ ANIMATION ESSENCE 2（3社TTPの学び拡張・2026-07-19井手GO） ============ */
/* --- scroll progress（現在地の細ライン・blend差分で黒白両バンド対応） --- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--white); mix-blend-mode: difference; z-index: 210;
}
html.no-js .progress { display: none; }

/* --- hero panels: 開幕後に右から建築的ワイプ（conscience構造の翻訳） --- */
html:not(.no-js) .hero--b .hero__panel { clip-path: inset(0 0 0 100%); }
html.is-entered .hero--b .hero__panel { animation: panelIn 1.05s var(--ease) forwards; }
html.is-entered .hero--b .hero__panel--2 { animation-delay: 0.18s; }
@keyframes panelIn { to { clip-path: inset(0 0 0 0%); } }

/* --- FV headline: 1文字ずつのライズ（conscience文字リビールの翻訳・JSが.chへ分割） --- */
.hero__headline .ch { display: inline-block; }
html:not(.no-js) .hero__headline.is-split .ch { opacity: 0; transform: translateY(0.55em); }
html.is-entered .hero__headline.is-split .ch {
  animation: chUp 0.6s var(--ease) forwards;
  animation-delay: calc(0.1s + var(--chi) * 0.03s);
}
@keyframes chUp { to { opacity: 1; transform: none; } }

/* --- sec-label: 小罫線の伸長 --- */
.sec-head.reveal .sec-label::before { width: 0; transition: width 0.7s var(--ease) 0.15s; }
.sec-head.reveal.is-inview .sec-label::before { width: 26px; }

/* --- ws-item: 斜めバンドの横ワイプ（skew保持・staggerに乗る） --- */
.ws-item.reveal { animation-name: wsIn; }
@keyframes wsIn {
  from { opacity: 0; transform: translateX(-22px) skewX(-14deg); }
  to { opacity: 1; transform: skewX(-14deg); }
}

/* --- numbers: 等幅数字＋ホバーの反応 --- */
.number__val { font-variant-numeric: tabular-nums; }
.number { transition: background 0.5s var(--ease); }
.number:hover { background: rgba(255, 255, 255, 0.05); }

/* --- buttons: 触った感のリフト --- */
.btn { transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-2px); }

/* --- CEO photo: ホバーのゆっくりズーム（grustズームの初適用・写真は常時表示＝信頼性優先） --- */
.ceo2__media img { transition: transform 1.4s var(--ease); }
.ceo2__figure:hover .ceo2__media img { transform: scale(1.04); }

/* --- page leave: 遷移時のフェード（conscience is-change-startの翻訳） --- */
html.is-leaving body { opacity: 0; transition: opacity 0.22s ease; }

@media (prefers-reduced-motion: reduce) {
  .progress { display: none; }
  html:not(.no-js) .hero--b .hero__panel { clip-path: none; animation: none; }
  html:not(.no-js) .hero__headline.is-split .ch { opacity: 1; transform: none; animation: none; }
  .sec-head.reveal .sec-label::before { width: 26px; transition: none; }
  .ceo2__figure:hover .ceo2__media img { transform: none; }
  html.is-leaving body { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none !important; }
  .ticker__track { animation-duration: 550s; }
  .scroll-cue::after, .hero--a .hero__ring { animation: none; }
}


/* ============ FV写真版（2026-08-05 井手確定: 案16×16-A。写真は暫定でUnsplash直リンク・正式画像決定後にimg/配置へ切替 ============ */
.hero--b.v16photo::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("https://images.unsplash.com/photo-1602646993760-7b885ba225af?fm=jpg&q=82&w=1920") center/cover no-repeat;
  filter: grayscale(1) contrast(1.04);
}
.hero--b.v16photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(0, 0, 0, 0.4);
}
.hero--b.v16photo .hero__headline {
  color: var(--white); mix-blend-mode: normal;
  font-weight: 500; font-size: clamp(58px, 7.8vw, 146px);
  line-height: 1.0; letter-spacing: -0.01em;
}
.hero--b.v16photo .hero__eyebrow, .hero--b.v16photo .hero__jp { color: var(--white); }
.hero--b.v16photo .hero__eyebrow::before { background: var(--white); }
.hero--b.v16photo .hero__sub { color: rgba(255, 255, 255, 0.82); }
.hero--b.v16photo .scroll-cue span { color: rgba(255, 255, 255, 0.72); }
.hero--b.v16photo .scroll-cue::after { background: linear-gradient(to bottom, var(--white), transparent); }
@media (max-width: 720px) {
  .hero--b.v16photo .hero__headline { font-size: clamp(30px, 9.4vw, 46px); }
}
