/* _editorial.css — Editorial パーツの共通語彙（PCI 案件 2026-10-17 で起こした。値は --cds-* だけ、案件固有の値は持たない）
   出典: Master Prompt §10（Editorial Design: asymmetrical / oversized typography / large whitespace / vertical rhythm）、
         §18〜§19（Text Reveal: opacity ＋ translateY 12〜24px、700〜1100ms、stagger 40〜120ms。見出しは行単位で 1 行目 → 間 → 2 行目）、
         littleplains.com 実測（見出し → 内容 64。measured/littleplains.md）。
   どのスタイルセットでも使えるが、表示語のセリフは --cds-font-display を持つセット（pci / night-serif）で効く */

/* 章の見出し: セリフの表示語 ＋ 小さな和文。Editorial は左揃え（中央揃えにしない） */
.ed-head { display: grid; gap: 16px; margin-bottom: 40px; }   /* 見出し → 内容 40（littleplains 32 / 塊 64 の間） */
.ed-title { font-family: var(--cds-font-display, var(--cds-font-en)); font-weight: 300; font-size: clamp(36px, 3.8889vw, 56px); line-height: 1.1; letter-spacing: var(--cds-track-head); color: var(--cds-text); font-feature-settings: "palt"; word-break: auto-phrase; }
.ed-title .line { display: block; }
.line__in { display: block; }
.ed-sub { font-size: 14px; line-height: 1.6; letter-spacing: 0.1em; color: var(--cds-text-secondary); }
/* 小さなラベル（項目の入口。章全部には付けない: j-generic-tells J-5） */
/* ラベルの前に短い罫（— LABEL）を付けない: AI が作ったサイトの常套句（依頼側 2026-10-17「この線は AI がよく入れる。AI っぽいデザインは徹底排除」）。太さ・大きさ・色だけで立たせる */
.ed-label { display: block; font-family: var(--cds-font-en); font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--cds-text) 82%, transparent); }
/* 大きな文（問い・ステートメント）: セリフ。2 段 */
.ed-statement { font-family: var(--cds-font-display, var(--cds-font-en)); font-weight: 300; font-size: clamp(24px, 2.2222vw, 32px); line-height: 1.5; letter-spacing: -0.01em; color: var(--cds-text); font-feature-settings: "palt"; word-break: auto-phrase; }
.ed-statement--lg { font-size: clamp(28px, 2.7778vw, 40px); line-height: 1.4; }
.ed-statement .line { display: block; }
/* 本文 */
.ed-body { font-size: 16px; line-height: 1.9; letter-spacing: 0.01em; color: var(--cds-text-body); word-break: auto-phrase; }
.ed-body--lg { font-size: clamp(17px, 1.25vw, 18px); }

/* 行の出現（§19 ＋ holon-inc.jp 実測 2026-10-17）: .line がマスク、.line__in が 110% 下から skewY(3deg) を戻しながら 0.92s で上がる。
   HOLON は translate3d(0,160%,0) skewY(7deg)、transform 0.92s cubic-bezier(0.47,0.43,0,0.998)、opacity 0.92s cubic-bezier(0.54,0,0,0.99)。移動と傾きは半分に（Quiet Motion）。行の間は 0.15s。
   マスクで字の下（p / g のディセンダ、和文の払い）が切れないよう .line に 0.12em の下余白を取り、同じだけ詰める */
.ed-lines .line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.ed-lines .line__in { display: block; }
.is-js .ed-lines .line > .line__in[data-reveal] { opacity: 0; transform: translate3d(0, 110%, 0) skewY(3deg); transform-origin: left top; transition: transform 0.7s cubic-bezier(0.47, 0.43, 0, 0.998) calc(var(--cds-delay-reveal) + var(--i, 0) * 0.1s), opacity 0.7s cubic-bezier(0.54, 0, 0, 0.99) calc(var(--cds-delay-reveal) + var(--i, 0) * 0.1s); }
.is-js .ed-lines .line > .line__in[data-reveal].is-inview { opacity: 1; transform: none; }
/* 最後の一手「歌声のズレ」（PLAYBOOK §14.1）: 主役の文だけ 0.3s 遅れて出る。ページに 1 か所だけ使う */
.is-js .ed-lines.ed-late .line > .line__in[data-reveal] { transition-delay: calc(var(--cds-delay-reveal) + 0.2s + var(--i, 0) * 0.1s); }
.is-static .ed-lines .line > .line__in, .is-static .ed-lines .line > .line__in[data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .is-js .ed-lines .line > .line__in[data-reveal] { opacity: 1; transform: none; transition: none; } }
/* ブロックの出現（HOLON の footer 実測: translateY(20px) ＋ 透明度、0.58〜0.68s cubic-bezier(0.66,0,0.34,1)、兄弟 0.1s ずつ）。見出し以外の [data-reveal="up"] */
.is-js .sec [data-reveal="up"]:not(.line__in), .is-js .fed [data-reveal="up"]:not(.line__in) { transform: translateY(20px); transition-duration: 0.65s, 0.65s; transition-timing-function: cubic-bezier(0.66, 0, 0.34, 1), cubic-bezier(0.66, 0, 0.34, 1); }
.is-js .sec [data-reveal="up"].is-inview:not(.line__in), .is-js .fed [data-reveal="up"].is-inview:not(.line__in) { transform: none; }
/* 兄弟の stagger 100ms（HOLON 実測 0.1s。§18: 40〜120ms）。base.css の 50ms を上書き */
.is-js [data-stagger="80"] > [data-reveal="up"] { transition-delay: calc(var(--cds-delay-reveal) + var(--i, 0) * 0.06s); }

/* 章の前後の余白を続きの小見出しブロックへ渡す（People → Environment → Join Us のように、1 つの章を小さなブロックで続けるとき） */
.sec.sec--lead { padding-bottom: var(--cds-blk); }
.sec.sec--follow { padding-top: var(--cds-blk); }

/* テキストリンク（文字 ＋ 矢印の窓）: サイト内の「進む」の 1 形。出典: Cuolega C案 .b-news-row（矢印 13.33×11.67 が右へ抜け左から戻る、0.7s / hover 0.45s）、PLAYBOOK §7「矢印は 1 形」。
   依頼側 2026-10-17「矢印のデザイン性を Cuolega から一部参考に」。丸＋↗（base.css .link）はこのサイトでは使わない */
.alink { display: inline-flex; align-items: center; gap: 14px; padding: 8px 0; margin: -8px 0; font-family: var(--cds-font-en); font-size: 14px; font-weight: 500; line-height: 1; letter-spacing: 0.1em; white-space: nowrap; color: var(--cds-text); transition: color 0.5s var(--cds-ease); }
.alink__t { position: relative; padding-bottom: 3px; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-size: 0 1px; background-position: 0 100%; transition: background-size 0.9s var(--cds-ease); }
.alink__a { position: relative; display: block; flex: none; width: 14px; height: 12px; overflow: hidden; }
.alink__a svg { position: absolute; inset: 0; width: 14px; height: 12px; transition: transform 0.9s var(--cds-ease), opacity 0.9s var(--cds-ease); }
.alink__a svg + svg { transform: translateX(-20px); opacity: 0; }
@media (hover: hover) {
  a.alink:hover { color: var(--cds-text); }
  a.alink:hover .alink__t { background-size: 100% 1px; transition-duration: 0.6s; }
  a.alink:hover .alink__a svg { transform: translateX(20px); opacity: 0; transition-duration: 0.6s, 0.6s; }
  a.alink:hover .alink__a svg + svg { transform: translateX(0); opacity: 1; transition-duration: 0.6s, 0.6s; }
}
/* 押せないテキストリンク（href 未定。矢印を持たず、hover で動かない。灰色にはしない） */
.alink--off { cursor: default; }

/* 招待のボタン（Waitlist）: サイトで 1 つの「押せる面」。hairline の長方形 52px、英字 12px / 0.2em。
   hover で光（--cds-accent）が左から満ち、文字は地の色に。入り 0.5s / 戻り 0.7s の非対称（PLAYBOOK §6）。アクセントは hover の動きの中にだけ出る。
   出典: 依頼側 2026-10-17「Waitlist は重要な要素なので、もっと良い感じに見せたい」 */
.invite { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 36px; border: 1px solid var(--cds-text); color: var(--cds-text); font-family: var(--cds-font-en); font-size: 12px; font-weight: 400; letter-spacing: 0.14em; text-indent: 0.14em; text-transform: uppercase; line-height: 1; white-space: nowrap; overflow: hidden; isolation: isolate; transition: color 0.9s var(--cds-ease), border-color 0.9s var(--cds-ease); }
.invite__fill { position: absolute; inset: 0; z-index: 0; background: var(--cds-text); transform: scaleX(0); transform-origin: left center; transition: transform 0.9s var(--cds-ease); }
.invite__t { position: relative; z-index: 1; }
@media (hover: hover) {
  .invite:hover { color: var(--cds-bg); border-color: var(--cds-text); transition-duration: 0.6s, 0.6s; }
  .invite:hover .invite__fill { transform: scaleX(1); transition-duration: 0.7s; }
}
.invite--off { cursor: default; }
@media (max-width: 767px) { .invite { min-height: 48px; padding: 0 28px; } }

/* SP で矢印だけにするのは行リスト（rows-editorial の .rows__act-t）だけ。事業の行や記事の Learn more は SP でも文字を残す（依頼側 2026-10-17「このセクションは SP 版も Learn more を残す」） */
