@charset "UTF-8";
/* ============================================================
   株式会社Grand Line — デザイン案3
   Concept: Bold Editorial & Storytelling
   Palette: Ink Black × Bone Paper × Klein Blue (+ Signal Coral)
   ============================================================ */

:root {
  --ink: #0c0d10;
  --ink-soft: #17181d;
  --paper: #f2efe7;
  --paper-dim: #e6e2d6;
  --blue: #1b48ff;
  --blue-deep: #0f2fc4;
  --coral: #ff5c33;
  --line: rgba(12, 13, 16, 0.16);
  --line-light: rgba(242, 239, 231, 0.2);

  --font-display: "Anton", sans-serif;
  --font-en: "Archivo", sans-serif;
  --font-serif: "Shippori Mincho B1", serif;
  --font-jp: "Zen Kaku Gothic New", sans-serif;

  --header-h: 72px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* 警告：scroll-behavior: smooth をここに書いてはならない。
     スクロール中に ScrollTrigger.refresh()（リサイズ・回転・フォント
     再計算で発生）が走ると、全トリガーの start がスクロール量ぶん
     マイナスにずれ、Hero演出が「ページ最上部で進捗50%から始まる」
     状態に破壊される（GSAP公式も併用非推奨）。アンカーのスムーズ
     スクロールは main.js の initAnchorScroll が JS で担う */
  /* バウンス対策①：万一オーバースクロールが発生しても、ページ外周に
     露出するキャンバスを Hero と同じ闇色にして「背景のチラ見え」を
     視認不能にする（フッターも同色なので下端バウンスも同様） */
  background: var(--ink);
  overscroll-behavior: none;
}

body {
  font-family: var(--font-jp);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.9;
  letter-spacing: 0.04em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* バウンス対策②：Chrome はビューポートの overscroll-behavior を
     html ではなく body から伝播させる（overflow と同じ仕様上の癖）。
     html 側だけに書いてもバウンスは無効化されない——sticky 化した
     シネマ幕がバウンスで揺すられ「画像が縮んで見える」再発の直接原因。
     必ず body にも指定すること */
  overscroll-behavior: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

.pc-only {
  display: none;
}

@media (min-width: 768px) {
  .pc-only {
    display: inline;
  }
}

/* 紙のようなノイズ質感（誌面感） */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
}

::selection {
  background: var(--blue);
  color: var(--paper);
}

/* ============================================================
   共通パーツ
   ============================================================ */

/* セクションラベル（誌面のノンブル風） */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.sec-label i {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--blue);
  border-bottom: 3px solid var(--blue);
  padding-bottom: 0.1em;
}

.sec-label--light {
  color: var(--paper);
}

/* 見出し：明朝の巨大タイポ + 行ごとのマスクリビール */
.sec-title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 5rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.sec-title--light {
  color: var(--paper);
}

.sec-title__line {
  display: block;
  overflow: hidden;
}

.sec-title__line > span {
  display: inline-block;
  transform: translateY(110%);
}

.sec-lead {
  max-width: 34em;
  font-size: 0.95rem;
}

/* 画像マスクリビール（clip-pathをJSで開く） */
.mask-img {
  overflow: hidden;
}

.mask-img > img,
.mask-img > div {
  clip-path: inset(0 100% 0 0);
  transform: scale(1.15);
}

/* 画像プレースホルダー（CLAUDE.md規約：欠落画像は必ず枠を確保） */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0 14px,
      rgba(12, 13, 16, 0.05) 14px 15px
    ),
    var(--paper-dim);
  border: 1px dashed rgba(12, 13, 16, 0.35);
  color: rgba(12, 13, 16, 0.55);
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  line-height: 1.6;
}

.img-placeholder--logo {
  min-width: 180px;
  height: 64px;
  flex: none;
}

/* Marquee（背景を流れるテキスト帯） */
.marquee {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}

.marquee > span,
.marquee > ul {
  display: flex;
  flex: none;
}

.u-blue {
  color: var(--blue);
}

/* 語中改行の防止：見出しをフレーズ単位の inline-block で組み、
   折り返しはフレーズの境界（読点の直後など）でしか起きないようにする */
.u-phrase {
  display: inline-block;
}

/* ============================================================
   Loader
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--paper);
}

.loader__curtain {
  position: absolute;
  inset: 0;
  background: var(--ink);
  z-index: -1;
}

.loader__curtain--2 {
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: bottom;
  z-index: -2;
}

.loader__count {
  font-family: var(--font-display);
  font-size: clamp(5rem, 22vw, 15rem);
  line-height: 1;
}

.loader__label {
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  opacity: 0.6;
}

/* ============================================================
   Header / Fullscreen Nav
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  /* ロゴは別レイヤー（.brand）へ出したので、中身は右端の操作系のみ */
  justify-content: flex-end;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  mix-blend-mode: difference;
  color: #fff;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.is-hidden {
  transform: translateY(-100%);
}

/* ---- ブランドロゴ（ヘッダーとは別レイヤー） ----
   .header の mix-blend-mode: difference は要素とその子孫を1つの
   グループとして合成するため、子要素側で解除することができない。
   ロゴ画像のブランドカラーを正しく出すには、ヘッダーの外に独立した
   固定要素として置くしかない。位置とスクロール連動はヘッダーに合わせる */
.brand {
  position: fixed;
  top: 0;
  left: clamp(1rem, 4vw, 2.5rem);
  z-index: 201;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand.is-hidden {
  transform: translateY(-100%);
}

.brand img {
  height: 32px;
  width: auto;
  /* 金の紋章が暗い船内でも沈まないよう、ごく薄い落ち影で浮かせる */
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

@media (min-width: 768px) {
  .brand img {
    height: 38px;
  }
}

.header__right {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.header__cta {
  display: none;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  padding: 0.7em 1.6em;
  border: 1.5px solid currentColor;
  transition:
    background 0.3s,
    color 0.3s;
}

@media (min-width: 768px) {
  .header__cta {
    display: inline-block;
  }
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  padding: 6px 0;
}

.menu-toggle__line {
  display: block;
  width: 34px;
  height: 2px;
  background: currentColor;
  transition:
    transform 0.4s,
    width 0.4s;
}

.menu-toggle__line:nth-child(2) {
  width: 22px;
}

.menu-toggle__label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.58rem;
  letter-spacing: 0.3em;
}

.menu-toggle.is-open .menu-toggle__line:nth-child(1) {
  transform: translateY(4.5px) rotate(-20deg);
}

.menu-toggle.is-open .menu-toggle__line:nth-child(2) {
  width: 34px;
  transform: translateY(-4.5px) rotate(20deg);
}

/* 全画面ナビ：誌面の目次 */
.fullnav {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(5rem, 12vh, 8rem) clamp(1.5rem, 8vw, 7rem);
  visibility: hidden;
  pointer-events: none;
}

.fullnav.is-open {
  visibility: visible;
  pointer-events: auto;
}

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

.fullnav__list {
  position: relative;
  display: flex;
  flex-direction: column;
  counter-reset: nav;
}

.fullnav__link {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 0.35em 0;
  color: var(--paper);
  border-bottom: 1px solid var(--line-light);
  overflow: hidden;
}

.fullnav__link small {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--coral);
}

.fullnav__link span {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-display);
  /* 8項目（MESSAGE / RECRUIT 追加後）が 100vh に収まる上限。
     旧 7.5vh は6項目時代の値で、8項目では下端がはみ出す */
  font-size: clamp(1.6rem, 5.8vh, 3.4rem);
  line-height: 1.15;
  letter-spacing: 0.04em;
  transition:
    color 0.3s,
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.fullnav__link em {
  font-family: var(--font-jp);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  opacity: 0.55;
}

.fullnav__link:hover span,
.fullnav__link:focus-visible span {
  color: var(--blue);
  transform: translateX(0.35em);
}

.fullnav__foot {
  position: relative;
  margin-top: 2.5rem;
  font-family: var(--font-en);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: rgba(242, 239, 231, 0.45);
}

/* ============================================================
   1. Hero（多重レイヤーZ軸パララックス：荒波の中を突き進む）
   ============================================================ */
.hero {
  position: relative;
  /* 次章（.trust / z-index: 2）との境界で万一1pxのシームが出ても
     下のレイヤーに隠れるよう、Heroは低い方に置く */
  z-index: 1;
  /* 保険の地色：次章と同じ紙色で吸収する */
  background: var(--paper);
  color: var(--paper);
}

/* シネマ演出時（JSが .is-cinema を付与）：演出のスクロール距離は
   セクション自身の高さで確保する。GSAP の pin / pin-spacer は
   一切使わないため、spacer 由来の余白（空白）は構造上発生しない。
   内訳 ≒ 表示1画面 + 演出380% + 余韻100% */
.hero.is-cinema {
  height: 580vh; /* svh 非対応ブラウザ用フォールバック */
  height: 580svh;
}

/* Hero内の全演出を包むシネマ幕。CSSネイティブの sticky で画面に
   固定され、親（.hero.is-cinema）の高さを使い切ると自然に次章へ
   押し出される。JSによるピン留めではないため、逆スクロール・
   リサイズ・リフレッシュのどんな競合でも固定が破綻しない */
.hero__cinema {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

/* ---- レイヤーステージ：奥行きのある舞台 ---- */
.hero__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  perspective: 1200px;
  transform-style: preserve-3d;
}

/* ---- 最背面：丸窓の奥に見える荒波と帆船 ---- */
.hero__sea {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  transform-origin: 50% 45%;
  will-change: transform;
}

.hero__sea img {
  position: absolute;
  /* 揺れアニメーションで縁が見えないよう、ひと回り大きく敷く。
     グローバルリセットの max-width: 100% はオーバースキャンを
     打ち消してしまうため必ず解除する */
  inset: -1.5%;
  width: 103%;
  max-width: none;
  height: 103%;
  object-fit: cover;
  object-position: center 42%;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}

/* ---- 最前面：船長の部屋（丸窓が透過済みのPNG） ----
   丸窓のアルファ実測値（img/船内.png 1672x941）：
   中心 = 画像の (50.3%, 38.58%) / ガラス半径 = 幅の4.72% */
.hero__cabin {
  position: absolute;
  inset: 0;
  z-index: 5;
  /* ズームの消失点＝丸窓の中心。下のimg配置により
     丸窓は常にレイヤーの (50%, 42%) に固定されている */
  transform-origin: 50% 42%;
  will-change: transform, opacity, filter;
  pointer-events: none;
}

.hero__cabin img {
  position: absolute;
  left: 50%;
  top: 42%;
  /* 画面カバーの必要最小値：横 100.6vw / 縦（幅換算）194.2vh。
     旧値 max(104vw, 196vh) は縦マージンが +1% 未満（16:9で上端約6px）
     しかなく、スクラブ補間やGPUラスタライズの一瞬の誤差でも背面の海が
     露出していた。横 +12% / 縦 +5% の実効マージンへ増量し、
     万一 scale が 0.95 程度まで揺らいでも境界が絶対に見えないようにする */
  width: max(112vw, 204vh);
  /* グローバルリセットの max-width: 100% が上の設計サイズを 100vw に
     クランプし、カバー計算を狂わせる（SPでは下部が欠け、PCでは上端に
     闇の帯が出る）ため、演出用レイヤーでは必ず解除する */
  max-width: none;
  height: auto;
  /* 画像内の丸窓中心 (50.3%, 38.58%) をレイヤーの (50%, 42%) にピン留め。
     PC/SPどの画面比率でも丸窓は同じ点から美しく拡大する */
  transform: translate(-50.3%, -38.58%);
  user-select: none;
  -webkit-user-drag: none;
}

/* 引きの構図のとき、部屋の周囲を包む「船内の闇」。
   丸窓と同じ位置に少し大きめの穴を開けてあり（穴の縁は金枠の裏に隠れる）、
   部屋と一体で拡大されるため位置合わせのJSは不要 */
.hero__cabin-void {
  position: absolute;
  inset: -150%;
  background: radial-gradient(circle at 50% 48%, #0d0e12 0%, #050608 60%);
  -webkit-mask-image: radial-gradient(
    circle at 50% 48%,
    transparent 0,
    transparent calc(max(112vw, 204vh) * 0.05),
    #000 calc(max(112vw, 204vh) * 0.057)
  );
  mask-image: radial-gradient(
    circle at 50% 48%,
    transparent 0,
    transparent calc(max(112vw, 204vh) * 0.05),
    #000 calc(max(112vw, 204vh) * 0.057)
  );
}

/* ---- スマホ縦長構図（767px以下）：クローズアップ版の船内画像 ----
   img/船内_モバイル用.png 941x1672 のアルファ実測値：
   丸窓中心 = 画像の (49.96%, 41.23%) / ガラス半径 = 幅の10.948%。
   丸窓をPCと同じ画面上の消失点 (50%, 42%) にピン留めするため、
   #heroCabin の transform-origin(50% 42%) はそのまま共用できる。
   カバー必要最小値：横 100.1vw / 縦（幅換算）57.4vh →
   横 +12% / 縦 +8% の安全マージンを上乗せ */
@media (max-width: 767px) {
  .hero__cabin img {
    width: max(112vw, 62vh);
    transform: translate(-49.96%, -41.23%);
  }
  /* 船内の闇の「穴」もモバイル版の大きなガラス半径（10.948%W）に合わせる。
     穴の縁（11.6%〜13.2%）は丸窓の金枠の裏に隠れる */
  .hero__cabin-void {
    -webkit-mask-image: radial-gradient(
      circle at 50% 48%,
      transparent 0,
      transparent calc(max(112vw, 62vh) * 0.116),
      #000 calc(max(112vw, 62vh) * 0.132)
    );
    mask-image: radial-gradient(
      circle at 50% 48%,
      transparent 0,
      transparent calc(max(112vw, 62vh) * 0.116),
      #000 calc(max(112vw, 62vh) * 0.132)
    );
  }
}

/* ---- 漆黒のオープニング幕 ---- */
.hero__blackout {
  position: absolute;
  inset: 0;
  z-index: 11;
  background: radial-gradient(circle at 50% 42%, #0b0c10 0%, #030405 70%);
  pointer-events: none;
}

/* テキスト可読性のためのスクリム（レイヤー飛翔後にフェードイン） */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      rgba(12, 13, 16, 0.82) 8%,
      rgba(12, 13, 16, 0.25) 55%,
      rgba(27, 72, 255, 0.28) 100%
    ),
    linear-gradient(to top, rgba(12, 13, 16, 0.9), transparent 42%);
}

/* 背景を流れる超巨大アウトライン文字 */
.hero__marquee {
  position: absolute;
  z-index: 11;
  top: 8%;
  left: 0;
  right: 0;
  overflow: hidden;
  opacity: 0.4;
}

.marquee--hero {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 15rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 239, 231, 0.35);
}

.hero__inner {
  position: relative;
  z-index: 12;
  width: 100%;
  padding: calc(var(--header-h) + 4vh) clamp(1.2rem, 6vw, 6rem) 14vh;
}

.hero__issue {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  margin-bottom: clamp(1.2rem, 4vh, 2.5rem);
}

.hero__issue-line {
  flex: 0 1 120px;
  height: 1px;
  background: rgba(242, 239, 231, 0.5);
}

.hero__title {
  font-weight: 400;
}

.hero__title-row {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}

.hero__title-row--offset {
  margin-left: clamp(1.5rem, 12vw, 14rem);
}

.hero__title-en {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 16.5vw, 13.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  /* 隠しオフセット注意：行ボックスは継承line-height(1.9)のストラット分
     スパンより高いため、110%ではフォントが小さいSPで文字の頭が行から
     覗いてしまう（実測+9px）。余裕を持って135%で完全に隠す */
  transform: translateY(135%) rotate(4deg);
  transform-origin: left bottom;
}

.hero__title-en--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--paper);
}

/* 和文キャッチ「全てを挑戦の渦へ」の主役行。
   隠しオフセットは .hero__title-en と同じ135%（落とし穴3c：
   110%だと行ボックスのストラット分、SPで文字の頭が覗く） */
.hero__title-main {
  display: inline-block;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(2.9rem, 13vw, 10rem);
  line-height: 1.12;
  letter-spacing: 0.04em;
  transform: translateY(135%) rotate(4deg);
  transform-origin: left bottom;
}

/* 「渦」だけアウトライン（旧2行目のアウトライン演出を継承） */
.hero__title-main em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 2px var(--paper);
}

.hero__title-jp {
  display: inline-block;
  margin-top: 0.6em;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.3rem, 4.2vw, 2.6rem);
  letter-spacing: 0.12em;
  background: var(--blue);
  color: var(--paper);
  padding: 0.25em 0.7em;
  transform: translateY(150%);
}

/* 帯の英文表記（キャッチの直訳。青帯のスタイルは -jp を継承） */
.hero__title-jp--en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(0.72rem, 2.2vw, 1.1rem);
  letter-spacing: 0.22em;
}

.hero__lead {
  max-width: 36em;
  margin-top: clamp(1.4rem, 4vh, 2.6rem);
  font-size: clamp(0.85rem, 1.6vw, 1rem);
}

/* SCROLL インジケーター（全レイヤーより手前） */
.hero__scroll {
  position: absolute;
  z-index: 13;
  right: clamp(1.2rem, 4vw, 3rem);
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.hero__scroll-text {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.5em;
  writing-mode: vertical-rl;
}

.hero__scroll-track {
  position: relative;
  width: 1px;
  height: 84px;
  background: rgba(242, 239, 231, 0.3);
  overflow: hidden;
}

.hero__scroll-thumb {
  position: absolute;
  left: 0;
  top: -40%;
  width: 100%;
  height: 40%;
  background: var(--coral);
  animation: scrollThumb 1.8s cubic-bezier(0.6, 0, 0.3, 1) infinite;
}

@keyframes scrollThumb {
  0% {
    top: -40%;
  }
  60%,
  100% {
    top: 100%;
  }
}

/* 画面下端の帯（全レイヤーより手前） */
.hero__edge {
  position: absolute;
  z-index: 13;
  left: 0;
  bottom: 0;
  display: flex;
  gap: 1.2em;
  padding: 0.9em clamp(1.2rem, 6vw, 6rem);
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  color: rgba(242, 239, 231, 0.75);
  border-top: 1px solid rgba(242, 239, 231, 0.2);
  width: 100%;
}

.hero__edge span:nth-child(2) {
  color: var(--coral);
}

/* ============================================================
   2. ISMS / Trust
   ============================================================ */
.trust {
  position: relative;
  /* sticky な Hero シネマ幕（z-index: 1）との境界を確実に
     覆えるよう、上のレイヤーに置く */
  z-index: 2;
  padding: clamp(6rem, 16vh, 11rem) clamp(1.2rem, 6vw, 6rem);
  background: var(--paper);
  overflow: hidden;
}

/* 背景の巨大タイポ（パララックスで漂う） */
.trust__bigtype,
.collab__bigtype,
.gallery__bigtype,
.contact__bigtype {
  position: absolute;
  top: 0.05em;
  left: -0.04em;
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 19rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(12, 13, 16, 0.14);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* 特集ページの誌面グリッド：左にタイポ組み、右にロゴのコラージュ */
.trust__editorial {
  position: relative;
  display: grid;
  gap: 4rem;
  max-width: 1480px;
  margin-inline: auto;
}

@media (min-width: 960px) {
  .trust__editorial {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: clamp(1rem, 4vw, 4rem);
  }
  .trust__head {
    padding-top: 6rem;
  }
}

.trust__head .sec-title {
  margin: 1.6rem 0 1.8rem;
}

/* 見出し：規格番号は欧文ディスプレイ体で誌面の主役に */
.trust__title-en {
  font-family: var(--font-display);
  font-weight: 400;
  /* nowrap の1行組み。2カラム化後（960px〜）は左カラム幅に
     収まる上限（4.6rem）でクランプする */
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
  white-space: nowrap;
}

.trust__title-en em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 2px var(--blue);
}

.trust__lead {
  max-width: 30em;
}

/* 適用範囲：規約文らしく罫線で区切ったコロフォン風ブロック */
.trust__scope {
  margin-top: 2.2rem;
  max-width: 34em;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0 1.2rem;
}

.trust__scope dt {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.trust__scope dd {
  font-size: 0.85rem;
  line-height: 2;
}

/* ---- 認証ロゴのアシンメトリー・コラージュ ----
   %ベースの絶対配置＋aspect-ratio で、どの幅でも構図が保たれる。
   出現アニメと縦視差は main.js の initTrust が付与する */
.trust__logos {
  position: relative;
  aspect-ratio: 10 / 11;
  max-width: 520px;
  margin-inline: auto;
  width: 100%;
}

@media (min-width: 960px) {
  .trust__logos {
    /* 左のタイポ組みへ食い込ませ、テキストと絡み合う誌面にする */
    margin-left: clamp(-4.5rem, -3vw, -1rem);
  }
}

.trust__logo {
  position: absolute;
  margin: 0;
}

.trust__logo img {
  width: 100%;
  height: auto;
}

/* 主役：QFS登録シンボル（縦長 800x940）を白いプレートで大きく */
.trust__logo--qfs {
  top: 0;
  left: 4%;
  width: 56%;
  z-index: 2;
  background: #fff;
  padding: clamp(1rem, 2.4vw, 1.8rem);
  border: 1px solid var(--line);
  box-shadow: 14px 14px 0 var(--blue);
  transform: rotate(-2deg);
}

/* 脇役：IAF相互承認マーク（横長 1012x636）を右下に中サイズで */
.trust__logo--iaf {
  right: 0;
  bottom: 10%;
  width: 46%;
  z-index: 3;
  background: var(--paper-dim);
  padding: clamp(0.8rem, 2vw, 1.4rem);
  border: 1px solid var(--line);
  transform: rotate(2.5deg);
}

/* 点景：SCC認定シンボル（ほぼ正方形 500x456）は素のまま小さく */
.trust__logo--scc {
  left: 0;
  bottom: 24%;
  width: 26%;
  z-index: 4;
  transform: rotate(-5deg);
  filter: drop-shadow(0 14px 22px rgba(12, 13, 16, 0.18));
}

/* 誌面の隅に置くクレジット表記（IAFマークの下、右端揃え） */
.trust__logos-note {
  position: absolute;
  bottom: -1.2rem;
  right: 0;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  line-height: 1.9;
  text-align: right;
  color: rgba(12, 13, 16, 0.45);
}

/* ============================================================
   帯マーキー
   ============================================================ */
.strip {
  background: var(--ink);
  color: var(--paper);
  padding: 1em 0;
  overflow: hidden;
  border-top: 2px solid var(--ink);
}

.marquee--strip {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.4vw, 2.4rem);
  letter-spacing: 0.06em;
  line-height: 1;
}

/* ============================================================
   3. Our Business（アシンメトリーな誌面グリッド）
   ============================================================ */
.business {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: clamp(6rem, 16vh, 10rem) clamp(1.2rem, 6vw, 6rem)
    clamp(6rem, 14vh, 9rem);
}

/* 背景の巨大タイポ（暗地なので明るいアウトラインで） */
.business__bigtype {
  position: absolute;
  top: 0.05em;
  right: -0.04em;
  font-family: var(--font-display);
  font-size: clamp(6rem, 21vw, 18rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 239, 231, 0.12);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.business__inner {
  position: relative;
  max-width: 1480px;
  margin-inline: auto;
}

.business__head {
  margin-bottom: clamp(3.5rem, 9vh, 6.5rem);
}

.business__head .sec-title {
  margin: 1.6rem 0 1.8rem;
}

.business__head .u-blue {
  font-style: normal;
}

.business__lead {
  max-width: 32em;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* ---- 左右非対称の2本柱 ----
   PC: 通信＝左上に大きく（縦長写真）、建設＝右下へ大きくずらす
   （横長写真）。負のマージンで互いの余白へ食い込ませ、
   誌面の見開きのような対角の流れをつくる */
.business__grid {
  display: grid;
  gap: clamp(4rem, 10vh, 6rem);
}

.biz {
  position: relative;
}

@media (min-width: 960px) {
  .business__grid {
    display: block; /* 幅と負マージンで自由に組む */
  }
  .biz--telecom {
    width: 56%;
  }
  .biz--construct {
    width: 52%;
    margin-left: auto;
    /* 通信の本文ブロックの高さぶんだけ引き上げ、対角に重ねる */
    margin-top: clamp(-16rem, -22vh, -8rem);
  }
}

/* 背景に沈む章番号 */
.biz__num {
  position: absolute;
  top: -0.45em;
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(242, 239, 231, 0.28);
  pointer-events: none;
  user-select: none;
  z-index: 3;
}

.biz--telecom .biz__num {
  left: -0.06em;
}

.biz--construct .biz__num {
  right: -0.06em;
}

/* 写真：縦長／横長を混ぜてエディトリアル感を出す。
   img は figure より縦に 12% 大きくしておき、initBusiness の
   縦パララックス（yPercent ±4）でも上下端が見切れない */
.biz__media {
  position: relative;
  z-index: 1;
}

.biz__media--portrait {
  aspect-ratio: 4 / 5;
}

.biz__media--landscape {
  aspect-ratio: 7 / 5;
}

.biz__media img {
  position: relative;
  width: 100%;
  height: 112%;
  top: -6%;
  object-fit: cover;
  filter: saturate(0.9);
}

/* 本文：写真に重ねたインクのプレート */
.biz__body {
  position: relative;
  z-index: 2;
  background: var(--ink-soft);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-top: 3px solid var(--blue);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  /* 事業名が長くなった（最長13文字）ため、1行で収まる幅に拡大 */
  width: min(94%, 520px);
  margin-top: clamp(-4rem, -8vh, -2.5rem);
}

.biz--telecom .biz__body {
  margin-left: auto;
  margin-right: clamp(-3rem, -4vw, -1rem);
}

.biz--construct .biz__body {
  margin-left: clamp(-3rem, -4vw, -1rem);
}

@media (max-width: 599px) {
  /* SPでは食み出しを抑えて重なりだけ残す */
  .biz--telecom .biz__body {
    margin-right: 0;
  }
  .biz--construct .biz__body {
    margin-left: 0;
  }
}

.biz__en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  color: var(--coral);
  margin-bottom: 0.6rem;
}

.biz__name {
  font-family: var(--font-serif);
  font-weight: 800;
  /* 「セールスプロモーション事業」（13文字）がPCのプレート幅
     （520px − パディング）に1行で収まる上限 1.95rem。
     これ以上大きくすると中途半端な位置で折り返す */
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

/* 折り返しは <span> の区切り（〜ソリューション／事業）だけで
   起こす。語中の不自然な改行（プロモーショ/ン）を防ぐ */
.biz__name span {
  display: inline-block;
}

.biz__text {
  font-size: 0.88rem;
  opacity: 0.85;
  margin-bottom: 1.2rem;
}

.biz__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.biz__tags li {
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  padding: 0.4em 1em;
  border: 1px solid rgba(242, 239, 231, 0.35);
}

/* ============================================================
   4. Collaboration（協業パートナー募集）
   雑誌のタイアップ広告を思わせる、非対称の見開きレイアウト。
   紙面（paper）の上にクラインブルーの版面を差し込み、
   大判ビジュアルをずらして重ねることで「特集」の格をつくる
   ============================================================ */
.collab {
  position: relative;
  padding: clamp(6rem, 16vh, 11rem) clamp(1.2rem, 5vw, 5rem);
  background: var(--paper);
  overflow: hidden;
}

.collab__bigtype {
  left: auto;
  right: -0.04em;
}

/* タイアップ広告の柱：小さなラベルから紙面を横断する罫線が伸びる */
.collab__tiein {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.1em;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  padding-bottom: 1.1rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: clamp(2.4rem, 7vh, 4rem);
}

.collab__tiein span {
  flex: none;
  background: var(--ink);
  color: var(--paper);
  padding: 0.45em 1.1em;
}

/* ---- 見開き本文：左に主張、右にビジュアル ---- */
.collab__inner {
  position: relative;
  display: grid;
  gap: clamp(2rem, 6vh, 3.4rem);
}

@media (min-width: 960px) {
  .collab__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "head  hero"
      "quote hero";
    align-items: start;
    column-gap: clamp(2rem, 5vw, 4.5rem);
  }
  .collab__head {
    grid-area: head;
  }
  .collab__hero {
    grid-area: hero;
    /* 見出しの天地より少し下げて、誌面らしいズレをつくる */
    margin-top: 2.6rem;
  }
  .collab__quote {
    grid-area: quote;
    align-self: start;
    /* ブルーの版面を右のビジュアルへ食い込ませる */
    margin-right: clamp(-5rem, -4vw, -2rem);
    position: relative;
    z-index: 2;
  }
}

.collab__title {
  margin-top: 1.4rem;
}

.collab__lead {
  margin-top: 1.8rem;
}

/* 大判ビジュアル */
.collab__hero {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ink);
}

@media (max-width: 959px) {
  .collab__hero {
    aspect-ratio: 4 / 3;
  }
}

.collab__hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collab__hero figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-en);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  padding: 0.6em 1.1em;
}

/* ブルーの引用パネル：誌面のリード段落 */
.collab__quote {
  background: var(--blue);
  color: var(--paper);
  padding: clamp(1.8rem, 5vw, 2.8rem);
}

.collab__quote p {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.collab__quote cite {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--font-en);
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  opacity: 0.75;
}

/* ---- 協業のかたち（番号つき3本立て） ---- */
.collab__ways {
  margin-top: clamp(4rem, 12vh, 7rem);
}

.collab__ways-label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.64rem;
  letter-spacing: 0.4em;
  opacity: 0.6;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(1.6rem, 5vh, 2.6rem);
}

.collab__list {
  display: grid;
  gap: clamp(1.8rem, 5vh, 2.6rem);
}

@media (min-width: 900px) {
  .collab__list {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.6rem, 3vw, 2.8rem);
  }
}

.collab__way {
  display: flex;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 2px solid var(--ink);
}

.collab__way-num {
  flex: none;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--blue);
}

.collab__way-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  opacity: 0.55;
}

.collab__way-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.22rem;
  line-height: 1.6;
  margin: 0.3rem 0 0.7rem;
}

.collab__way-text {
  font-size: 0.86rem;
  line-height: 1.95;
}

/* ---- 協業ビジュアルの見開き ----
   素材は4枚とも横長（1.50～2.12）なので、縦長の4連帯に入れると
   中央だけを切り抜いた究極のアップになってしまう。
   16/9 のコマを 2×2 で組み、右列を一段落として誌面のズレを作る */
.collab__band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin-top: clamp(3.4rem, 10vh, 5.5rem);
}

@media (min-width: 700px) {
  .collab__band {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 2.2vw, 1.8rem);
    /* 右列を落とした分だけ下に逸げ場を作る */
    padding-bottom: 2.4rem;
  }

  /* 右列（2・4枚目）を一段下げて、整列した表に見えないようにする */
  .collab__band-item:nth-child(2n) {
    translate: 0 2.4rem;
  }
}

.collab__band-item {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-dim);
}

.collab__band-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.collab__band-item:hover img {
  transform: scale(1.12);
}

/* ---- 締めのCTA ---- */
.collab__cta {
  margin-top: clamp(3.6rem, 10vh, 6rem);
  padding-top: clamp(2rem, 6vh, 3rem);
  border-top: 2px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem clamp(1.6rem, 4vw, 3rem);
}

.collab__cta-text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.2rem, 3.2vw, 1.9rem);
  line-height: 1.6;
  flex: 1 1 16em;
}

.collab__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 1.2em;
  flex: none;
  background: var(--ink);
  color: var(--paper);
  padding: 1.05em 2.2em;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  transition:
    background 0.35s,
    color 0.35s;
}

.collab__cta-btn-text {
  font-family: var(--font-jp);
  letter-spacing: 0.14em;
}

.collab__cta-btn-arrow {
  transition: translate 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.collab__cta-btn:hover {
  background: var(--blue);
}

.collab__cta-btn:hover .collab__cta-btn-arrow {
  translate: 0.4em 0;
}

.collab__cta-note {
  flex: 1 1 100%;
  font-size: 0.76rem;
  opacity: 0.65;
}

.collab__cta-note b {
  color: var(--blue);
}

/* ============================================================
   5. Locations
   ============================================================ */
.locations {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(6rem, 16vh, 11rem) clamp(1.2rem, 5vw, 5rem);
  overflow: hidden;
}

.locations__head .sec-title {
  margin-top: 1.4rem;
}

.locations__stage {
  position: relative;
  margin-top: clamp(2.5rem, 7vh, 4.5rem);
  min-height: 70vh;
  display: grid;
}

/* マップ（Google Maps 埋め込み）
   ステージのグリッド 1/1 に敷き、その上に巨大タイポと詳細カードが重なる。
   プレースホルダー（.img-placeholder--map）を外したため、サイズ・背景色は
   ここで直接持たせる（読み込み前でも背景が闇色のまま浮かないように） */
.locations__map {
  grid-area: 1 / 1;
  position: relative;
  width: 100%;
  min-height: 70vh;
  background: var(--ink-soft);
  border: 1px solid rgba(242, 239, 231, 0.16);
  overflow: hidden;
}

.locations__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 70vh;
  border: 0;
  /* エディトリアルなトーンに合わせた「ダークマップ」化。
     グレースケール後に反転させることで、闇色の紙面に沈む地図になる
     （素のままだと真っ白な板が黒い章の中で浮いてしまう） */
  filter: grayscale(100%) invert(92%) contrast(0.9) brightness(0.95);
  transition: filter 0.6s ease;
}

/* 操作しようとした時だけ本来の配色に戻し、地図として読みやすくする */
.locations__map:hover iframe,
.locations__map:focus-within iframe {
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .locations__map iframe {
    transition: none;
  }
}

/* 巨大地名タイポ */
.locations__names {
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4em;
  padding: clamp(1rem, 4vw, 3rem);
  pointer-events: none;
}

.loc-name {
  pointer-events: auto;
  display: inline-flex;
  align-items: baseline;
  gap: 1rem;
  width: fit-content;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 11vw, 9rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(242, 239, 231, 0.55);
  transition:
    color 0.4s,
    -webkit-text-stroke-color 0.4s,
    transform 0.4s;
  text-align: left;
}

.loc-name span {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  color: rgba(242, 239, 231, 0.7);
  -webkit-text-stroke: 0;
}

.loc-name.is-open {
  color: var(--blue);
  -webkit-text-stroke-color: var(--blue);
}

.loc-name.is-open span {
  color: var(--paper);
}

/* --- 1拠点レイアウト：巨大タイポは装飾、詳細カードを主役に --- */
.locations__stage--single .locations__names {
  justify-content: flex-start;
  padding-top: clamp(1rem, 5vw, 3.5rem);
}

.locations__stage--single .loc-name {
  cursor: default;
  /* 装飾テキストなので、下に敷いた地図の操作を邪魔しない */
  pointer-events: none;
}

.locations__stage--single .loc-name:hover,
.locations__stage--single .loc-name:focus-visible {
  transform: none;
}

.locations__stage--single .loc-detail {
  justify-self: stretch;
  max-width: none;
}

@media (min-width: 900px) {
  .locations__stage--single .loc-detail {
    justify-self: end;
    max-width: 520px;
    margin-right: clamp(1rem, 5vw, 4rem);
    padding: clamp(1.8rem, 3.4vw, 2.8rem);
  }
}

/* 詳細カード：クリックで浮上 */
.loc-detail {
  grid-area: 1 / 1;
  z-index: 3;
  align-self: end;
  justify-self: start;
  margin: 0 clamp(0.5rem, 3vw, 2.5rem) clamp(0.5rem, 3vw, 2.5rem);
  max-width: 460px;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: 14px 14px 0 var(--blue);
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
}

/* スクロールで浮上済みの状態（JS が付与） */
.loc-detail.is-revealed {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.loc-detail.is-open {
  pointer-events: auto;
}

.loc-detail__en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  color: var(--blue);
  margin-bottom: 0.4rem;
}

.loc-detail__name {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
}

.loc-detail__addr {
  font-size: 0.82rem;
  margin-bottom: 0.7rem;
}

.loc-detail__note {
  font-size: 0.78rem;
  opacity: 0.65;
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}

/* ============================================================
   6. Members
   ============================================================ */
.members {
  position: relative;
  background: var(--paper);
  padding: clamp(7rem, 18vh, 12rem) clamp(1.2rem, 5vw, 5rem);
  overflow: hidden;
}

.members__marquee {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2em;
  overflow: hidden;
  pointer-events: none;
}

.marquee--people {
  font-family: var(--font-display);
  font-size: clamp(5rem, 17vw, 15rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(12, 13, 16, 0.16);
}

.marquee--people-sub {
  font-size: clamp(2.4rem, 8vw, 6.5rem);
  -webkit-text-stroke: 0;
  color: rgba(27, 72, 255, 0.12);
}

.members__inner {
  position: relative;
  z-index: 2;
}

.members__inner .sec-title {
  margin: 1.4rem 0 2.4rem;
}

.members__soon {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(1.8rem, 5vw, 3.5rem);
  max-width: 880px;
  box-shadow: 14px 14px 0 var(--coral);
}

.members__soon-en {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6.5vw, 4.5rem);
  line-height: 1;
  color: var(--coral);
  margin-bottom: 1rem;
}

.members__soon-jp {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1.8rem;
}

.members__frames {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.members__frame {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  border: 1px dashed rgba(242, 239, 231, 0.4);
}

.members__frame i {
  font-family: var(--font-en);
  font-style: normal;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  opacity: 0.5;
  writing-mode: vertical-rl;
}

/* ============================================================
   7. Message（社長の言葉：トップインタビュー誌面）
   ============================================================ */
.message {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(6rem, 16vh, 11rem) clamp(1.2rem, 6vw, 6rem);
  overflow: hidden;
}

/* 背景の巨大タイポ（暗地なので明るいアウトライン） */
.message__bigtype {
  position: absolute;
  top: 0.05em;
  left: -0.04em;
  font-family: var(--font-display);
  font-size: clamp(6rem, 21vw, 18rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 239, 231, 0.12);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* 見開きインタビュー：左＝縦長ポートレート / 右＝タイポ組み */
.message__inner {
  position: relative;
  display: grid;
  gap: 3.5rem;
  max-width: 1440px;
  margin-inline: auto;
}

/* 2カラム化は 1100px から。960px 台で 4:8 に割ると本文カラムが
   原稿の最長行（約40字）を保持できず、指定の <br> 位置以外で
   折り返してしまうため、単カラム（＝全幅）のままにする */
@media (min-width: 1100px) {
  .message__inner {
    /* 5:7 → 4:8。写真は 440px で十分な存在感が出るので、
       余った分をすべて本文カラムに回して縦の間延びを解消する */
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(2rem, 4vw, 5rem);
    align-items: center;
  }
}

/* ポートレート：img は figure より縦に12%大きく組み、
   initMessage の縦パララックス（yPercent ±4）でも端が見切れない
   （.biz__media img と同じ構造） */
.message__photo {
  position: relative;
  aspect-ratio: 5 / 7;
  max-width: 440px;
  width: 100%;
  box-shadow: 14px 14px 0 var(--blue);
}

.message__photo img {
  position: relative;
  width: 100%;
  height: 112%;
  top: -6%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.04);
}

.message__photo-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  padding: 0.6em 1.2em;
}

.message__title {
  margin: 1.6rem 0 2rem;
  /* sec-title 既定の 7vw では、2カラム時（960px〜）の本文カラム幅に
     収まらず語中改行が起きる。カラム幅 ≒ (82vw − gap) × 7/12 に対し、
     旧タイトルは1行11文字で上限 4vw / 3.6rem だった。
     現タイトルは最長行が「ワクワクする方へ。」＝9文字のため、
     11/9 倍まで引き上げられる（安全率を見て 4.7vw / 4.2rem）。 */
  font-size: clamp(2rem, 4.7vw, 4.2rem);
}

.message__title em {
  font-style: normal;
}

.message__text {
  max-width: 40em;
  display: grid;
  gap: 1.2em;
  font-size: 0.92rem;
  opacity: 0.9;
}

/* PC：原稿の <br> がそのまま行になるよう、幅の制限を外して
   カラムいっぱいを使う。文字サイズは 1.02vw で追従させ、
   最長行（約40字）が常にカラム幅に収まるようにしている */
@media (min-width: 1100px) {
  .message__text {
    max-width: none;
    font-size: clamp(0.88rem, 1.02vw, 1.06rem);
  }
}

/* インタビュー誌面の定石：書き出しの1文字目だけ大きく（ドロップキャップ） */
.message__text p:first-child::first-letter {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 3.1em;
  float: left;
  line-height: 0.9;
  padding: 0.08em 0.18em 0 0;
  color: var(--blue);
}

/* 書き出しが1行だけの短い段落のため、float したドロップキャップ
   （3.1em × line-height 0.9 ≒ 2.8em）が次の段落へはみ出して重なる。
   最初の段落に高さを確保して、以降の文字組みを守る */
.message__text p:first-child {
  min-height: 3em;
}

/* 原稿のキーフレーズ（＝見出しと同じ一文）だけは、
   本文の流れの中でひと呼吸置く一行として立たせる */
.message__text-lead {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.35em;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--blue);
  margin: 0.6em 0;
}

/* 署名 */
.message__sign {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-light);
  max-width: 40em;
}

/* ------------------------------------------------------------
   本文＋署名の開閉（READ MORE）
   原稿を1文字も削らずに、初期表示のテキストカラムを
   ポートレート写真とほぼ同じ高さに収めるための仕組み。

   ・クランプは max-height。展開は GSAP が height を実測値へ
     アニメーションさせる（initMessageReadMore）
   ・下端は mask-image のグラデーションで文字を溶かす。
     .is-open が付いた時点でマスクを解除する
   ・.is-expanding はアニメーション中だけの状態。
     max-height は外すが overflow:hidden は保持し、
     height の補間からコンテンツがはみ出さないようにする
   ------------------------------------------------------------ */
.message__expand-wrapper {
  /* 写真は max-width 440px × aspect-ratio 5/7 ＝ 最大616px。
     ラベル＋タイトル（約250px）を差し引いた残りがこの値 */
  --msg-collapse: 360px;
  position: relative;
  max-height: var(--msg-collapse);
  overflow: hidden;
  /* 下端32%で文字が消えていく。展開時に none で解除する */
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 62%,
    rgba(0, 0, 0, 0.55) 84%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 62%,
    rgba(0, 0, 0, 0.55) 84%,
    transparent 100%
  );
}

@media (min-width: 1100px) {
  .message__expand-wrapper {
    --msg-collapse: 380px;
  }
}

/* アニメーション中：高さの制限だけ外す（マスクは残したまま） */
.message__expand-wrapper.is-expanding {
  max-height: none;
}

/* 展開完了：マスクを解除し、クリップも外す */
.message__expand-wrapper.is-open {
  max-height: none;
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}

/* READ MORE：雑誌のキャプション組みに寄せた細い罫線＋広い字間。
   角丸なし・塗りなしで、誌面の邪魔をしない */
/* [hidden] は display:inline-flex に負けるため、明示的に打ち消す */
.message__readmore[hidden] {
  display: none;
}

.message__readmore {
  display: inline-flex;
  align-items: baseline;
  gap: 1em;
  margin-top: 2rem;
  padding: 0 0 0.7em;
  border: 0;
  border-bottom: 1px solid rgba(242, 239, 231, 0.3);
  background: none;
  color: var(--paper);
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.4s ease,
    border-color 0.4s ease;
}

.message__readmore:hover,
.message__readmore:focus-visible {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* 矢印だけがゆっくり上下する（誘目性を上げつつ主張はしない） */
.message__readmore-arrow {
  display: inline-block;
  letter-spacing: 0;
  animation: readmoreNudge 2.4s ease-in-out infinite;
}

@keyframes readmoreNudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(0.28em);
  }
}

@media (prefers-reduced-motion: reduce) {
  .message__readmore-arrow {
    animation: none;
  }
}

/* 署名の罫線は本文カラムと同じ幅で通す（.message__text の解除と対） */
@media (min-width: 1100px) {
  .message__sign {
    max-width: none;
  }
}

.message__sign-role {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  opacity: 0.7;
}

.message__sign-name {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.14em;
  margin-top: 0.2em;
}

.message__sign-name small {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  opacity: 0.5;
  margin-left: 0.8em;
}

/* 直筆サイン風の欧文（アウトラインで軽く沈める） */
.message__sign-en {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1;
  margin-top: 0.3em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 239, 231, 0.35);
  letter-spacing: 0.06em;
}

/* ============================================================
   8. Company（会社概要：ミニマルな罫線テーブル）
   ============================================================ */
.company {
  position: relative;
  background: var(--paper);
  padding: clamp(6rem, 16vh, 11rem) clamp(1.2rem, 6vw, 6rem);
  overflow: hidden;
}

.company__bigtype {
  position: absolute;
  top: 0.05em;
  right: -0.04em;
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 19rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(12, 13, 16, 0.14);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.company__inner {
  position: relative;
  max-width: 1080px;
  margin-inline: auto;
}

.company__head .sec-title {
  margin-top: 1.4rem;
}

.company__table {
  margin-top: clamp(2.5rem, 7vh, 4rem);
  border-top: 2px solid var(--ink);
}

.company__row {
  display: grid;
  gap: 0.3rem 2rem;
  padding: 1.2rem 0.2rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 700px) {
  .company__row {
    grid-template-columns: 200px 1fr;
    padding: 1.4rem 0.2rem;
  }
}

.company__row dt {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--blue);
}

.company__row dd {
  font-size: 0.88rem;
  line-height: 2;
}

/* ============================================================
   9. Recruit CTA（誌面広告風の採用ページ誘導）
   荒海の写真＋アウトラインのマーキー見出し＋ENTRYボタン。
   ボタンは recruit.html の .entry__btn を共用する
   ============================================================ */
.rcta {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(7rem, 20vh, 13rem) clamp(1.2rem, 6vw, 6rem);
  overflow: hidden;
}

/* 背景写真：initRecruit の縦パララックス（yPercent ±4）で端が
   見切れないよう、ひと回り大きく敷く（.rhero__bg と同じ構造） */
.rcta__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.rcta__bg img {
  position: absolute;
  inset: -6% 0;
  width: 100%;
  max-width: none;
  height: 112%;
  object-fit: cover;
  filter: grayscale(0.45) contrast(1.1) brightness(0.5);
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}

.rcta__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      rgba(12, 13, 16, 0.88) 10%,
      rgba(12, 13, 16, 0.35) 60%,
      rgba(27, 72, 255, 0.3) 100%
    ),
    linear-gradient(to top, rgba(12, 13, 16, 0.85), transparent 50%);
}

.rcta__marquee {
  position: absolute;
  z-index: 3;
  top: 6%;
  left: 0;
  right: 0;
  overflow: hidden;
  opacity: 0.35;
}

.marquee--rcta {
  font-family: var(--font-display);
  font-size: clamp(4rem, 13vw, 11rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 239, 231, 0.4);
}

.rcta__inner {
  position: relative;
  z-index: 4;
  max-width: 1280px;
  margin-inline: auto;
}

.rcta__title {
  margin: 1.4rem 0 1.6rem;
}

/* 2行目「渦を創ろう。」を右へずらし、誌面広告の対角の流れをつくる */
.rcta__title .sec-title__line:nth-child(2) {
  margin-left: clamp(1.5rem, 6vw, 7rem);
}

.rcta__title em {
  font-style: normal;
}

.rcta__lead {
  max-width: 32em;
  font-size: 0.95rem;
  margin-bottom: clamp(2.2rem, 6vh, 3.5rem);
}

/* ENTRYボタンの誌面広告的なアクセント（ベースは .entry__btn） */
.rcta__btn {
  box-shadow: 12px 12px 0 var(--coral);
}

.rcta__note {
  margin-top: 1.4rem;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  opacity: 0.65;
}

/* ============================================================
   10. Contact
   ============================================================ */
.contact {
  position: relative;
  background: var(--blue);
  color: var(--paper);
  padding: clamp(6rem, 16vh, 11rem) clamp(1.2rem, 5vw, 5rem);
  overflow: hidden;
}

.contact__bigtype {
  -webkit-text-stroke-color: rgba(242, 239, 231, 0.18);
  top: auto;
  bottom: 0.02em;
  left: auto;
  right: -0.04em;
}

.contact__inner {
  position: relative;
  display: grid;
  gap: 3.5rem;
  max-width: 1280px;
  margin-inline: auto;
}

@media (min-width: 960px) {
  .contact__inner {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(2.5rem, 7vw, 7rem);
  }
}

.contact__title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 11rem);
  line-height: 0.95;
  margin: 1.2rem 0 1.6rem;
}

.contact__title-outline {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--paper);
}

.contact__lead {
  max-width: 30em;
  font-size: 0.95rem;
}

.contact__ai {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 2rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid rgba(242, 239, 231, 0.4);
  max-width: 420px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.contact__ai small {
  font-family: var(--font-jp);
  font-weight: 400;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.contact__ai-dot {
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 0.3em;
  border-radius: 50%;
  background: #4dffb8;
  box-shadow: 0 0 12px #4dffb8;
  animation: aiPulse 1.6s ease-in-out infinite;
}

@keyframes aiPulse {
  50% {
    opacity: 0.35;
  }
}

/* フォーム */
.contact__form {
  display: grid;
  gap: 1.5rem;
}

.form-field label {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0.5em;
}

.form-field label b {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  background: var(--coral);
  color: var(--ink);
  padding: 0.2em 0.7em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--paper);
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(242, 239, 231, 0.45);
  padding: 0.6em 0.1em;
  border-radius: 0;
  transition: border-color 0.3s;
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f2efe7' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.4em center;
}

.form-field select option {
  color: var(--ink);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(242, 239, 231, 0.4);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--paper);
}

.form-field textarea {
  resize: vertical;
}

/* AIスキャン演出 */
.ai-scan {
  position: relative;
  border: 1px solid rgba(242, 239, 231, 0.4);
  padding: 0.8em 1.1em;
  overflow: hidden;
}

.ai-scan__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: rgba(242, 239, 231, 0.16);
}

.ai-scan__text {
  position: relative;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
}

.ai-scan.is-done .ai-scan__text {
  color: #4dffb8;
}

/* 送信ボタン */
.contact__submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.1em 1.4em;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  letter-spacing: 0.06em;
  overflow: hidden;
  transition: color 0.35s;
}

.contact__submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.contact__submit:hover::before,
.contact__submit:focus-visible::before {
  transform: scaleX(1);
}

.contact__submit:hover,
.contact__submit:focus-visible {
  color: var(--paper);
}

.contact__submit-text,
.contact__submit-arrow {
  position: relative;
}

.contact__note {
  font-size: 0.68rem;
  opacity: 0.65;
}

/* ============================================================
   11. Instagram（CMS化までのプレースホルダー）
   将来プラグインの出力に .insta__grid の中身を差し替える前提で、
   枠・余白・比率だけを先に確定させておく箱
   ============================================================ */
.insta {
  background: var(--paper);
  padding: clamp(4.5rem, 12vh, 8rem) clamp(1.2rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
}

.insta__inner {
  /* 前後のセクションと同じくセクション padding だけで版面を決める
     （max-width で絞ると Contact / Footer と左端が揃わない） */
  margin-inline: auto;
}

.insta__head {
  display: grid;
  gap: 0.9rem;
  margin-bottom: clamp(2rem, 6vh, 3rem);
}

.insta__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8em;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 6vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.insta__soon {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--blue);
  padding: 0.55em 1.1em;
  translate: 0 -0.15em;
}

.insta__lead {
  font-size: 0.86rem;
  opacity: 0.7;
  max-width: 34em;
}

.insta__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

@media (min-width: 700px) {
  .insta__grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.9rem;
  }
}

/* 正方形の枠：プラグインが吐く画像もこの比率に収まる想定 */
.insta__cell {
  aspect-ratio: 1 / 1;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.footer__marquee {
  border-bottom: 1px solid var(--line-light);
  padding: 0.4em 0;
  overflow: hidden;
}

.marquee--footer {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 1.1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 239, 231, 0.3);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 2.2rem clamp(1.2rem, 5vw, 5rem);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
}

.footer__brand small {
  font-family: var(--font-jp);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  opacity: 0.6;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
}

.footer__nav a:hover {
  color: var(--coral);
}

.footer__top {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.2em;
}

.footer__copy {
  text-align: center;
  padding: 1rem;
  font-size: 0.62rem;
  opacity: 0.5;
  border-top: 1px solid var(--line-light);
}

/* ============================================================
   Recruit Page（recruit.html 専用）
   トップの Hero（sticky シネマ構造）とは独立した1画面Hero。
   .hero__scroll / .hero__edge / .marquee 等の共通部品は再利用する
   ============================================================ */

/* ---- 1. Recruit Hero ---- */
.rhero {
  position: relative;
  height: 100vh; /* svh 非対応ブラウザ用フォールバック */
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

/* 背景写真：縦パララックス（initRecruit の yPercent ±5）で
   端が見切れないよう、ひと回り大きく敷いておく */
.rhero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.rhero__bg img {
  position: absolute;
  inset: -6% 0;
  width: 100%;
  max-width: none;
  height: 112%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.08) brightness(0.62);
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}

.rhero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      rgba(12, 13, 16, 0.85) 8%,
      rgba(12, 13, 16, 0.3) 55%,
      rgba(27, 72, 255, 0.32) 100%
    ),
    linear-gradient(to top, rgba(12, 13, 16, 0.92), transparent 45%);
}

.rhero__marquee {
  position: absolute;
  z-index: 3;
  top: 8%;
  left: 0;
  right: 0;
  overflow: hidden;
  opacity: 0.35;
}

.rhero__inner {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: calc(var(--header-h) + 4vh) clamp(1.2rem, 6vw, 6rem) 14vh;
}

.rhero__issue {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  margin-bottom: clamp(1.2rem, 4vh, 2.5rem);
}

.rhero__issue-line {
  flex: 0 1 120px;
  height: 1px;
  background: rgba(242, 239, 231, 0.5);
}

.rhero__title {
  font-weight: 400;
}

.rhero__title-row {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}

.rhero__title-row--offset {
  margin-left: clamp(1.5rem, 8vw, 10rem);
}

/* 隠しオフセットはトップHeroと同じ135%（落とし穴3c：110%だと
   行ボックスのストラット分、SPで文字の頭が行から覗く） */
.rhero__title-en {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 13vw, 10rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: transparent;
  -webkit-text-stroke: 2px var(--paper);
  transform: translateY(135%) rotate(4deg);
  transform-origin: left bottom;
}

.rhero__title-main {
  display: inline-block;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(2.4rem, 10.5vw, 8rem);
  line-height: 1.12;
  letter-spacing: 0.04em;
  transform: translateY(135%) rotate(4deg);
  transform-origin: left bottom;
}

.rhero__title-main em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 2px var(--paper);
}

.rhero__title-jp {
  display: inline-block;
  margin-top: 0.6em;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(0.72rem, 2.2vw, 1.1rem);
  letter-spacing: 0.22em;
  background: var(--blue);
  color: var(--paper);
  padding: 0.25em 0.7em;
  transform: translateY(150%);
}

.rhero__lead {
  max-width: 36em;
  margin-top: clamp(1.4rem, 4vh, 2.6rem);
  font-size: clamp(0.85rem, 1.6vw, 1rem);
}

/* ---- 2. 募集要項 ---- */
.jobs {
  position: relative;
  background: var(--paper);
  padding: clamp(6rem, 16vh, 11rem) clamp(1.2rem, 6vw, 6rem);
  overflow: hidden;
}

.jobs__bigtype {
  position: absolute;
  top: 0.05em;
  right: -0.04em;
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 19rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(12, 13, 16, 0.14);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.jobs__inner {
  position: relative;
  max-width: 1080px;
  margin-inline: auto;
}

.jobs__head {
  margin-bottom: clamp(3rem, 8vh, 5rem);
}

.jobs__head .sec-title {
  margin: 1.4rem 0 1.6rem;
}

/* 職種カード：太罫で区切ったエディトリアルな2カラム */
.job {
  border-top: 2px solid var(--ink);
  padding: clamp(1.8rem, 5vh, 3rem) 0.2rem;
  display: grid;
  gap: 1.8rem;
}

.job:last-of-type {
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .job {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 5vw, 5rem);
  }
}

.job__en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  color: var(--coral);
  margin-bottom: 0.7rem;
}

.job__name {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.4;
  margin-bottom: 0.9rem;
}

/* 職種の説明文（.job__desc）を置かない構成では、
   職種名の下マージンが宙に浮くため詰める */
.job__name:last-child {
  margin-bottom: 0;
}

.job__desc {
  font-size: 0.85rem;
  opacity: 0.75;
  max-width: 26em;
}

.job__row {
  display: grid;
  gap: 0.2rem 1.6rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--line);
}

.job__row:last-child {
  border-bottom: none;
}

@media (min-width: 600px) {
  .job__row {
    grid-template-columns: 120px 1fr;
  }
}

.job__row dt {
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  color: var(--blue);
}

.job__row dd {
  font-size: 0.85rem;
  line-height: 1.9;
}

.jobs__note {
  margin-top: 1.6rem;
  font-size: 0.72rem;
  opacity: 0.6;
}

/* ---- 3. Interview（先輩の声） ----
   墨のベタ面に、明るいビジュアルのカードを3枚。人物写真を使わないため
   「引用の大きさ」で語らせ、イニシャルの紋章が顔の代わりを務める */
.interview {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(6rem, 16vh, 11rem) clamp(1.2rem, 6vw, 6rem);
  overflow: hidden;
}

.interview__inner {
  position: relative;
  max-width: 1180px;
  margin-inline: auto;
}

.interview__head {
  margin-bottom: clamp(3rem, 8vh, 5rem);
}

.interview__head .sec-title {
  margin: 1.4rem 0 1.6rem;
}

.interview__lead {
  opacity: 0.75;
}

.interview__grid {
  display: grid;
  gap: clamp(2rem, 6vh, 3rem);
}

@media (min-width: 860px) {
  .interview__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.4rem, 3vw, 2.4rem);
    align-items: start;
  }
  /* 3枚を階段状にずらして誌面の律動をつくる */
  .interview__grid > :nth-child(2) {
    translate: 0 2.6rem;
  }
  .interview__grid > :nth-child(3) {
    translate: 0 5.2rem;
  }
}

.voice {
  border-top: 2px solid var(--paper);
  padding-top: 1.4rem;
}

.voice__media {
  aspect-ratio: 4 / 3;
  background: var(--ink-soft);
  margin-bottom: 1.4rem;
}

.voice__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice__en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  color: var(--paper);
  opacity: 0.55;
}

.voice__quote {
  margin: 0.7rem 0 1.1rem;
}

.voice__quote p {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.voice__quote em {
  display: inline-block;
  font-style: normal;
  color: var(--blue);
  /* 暗い地の上でクラインブルーが沈まないよう、白の下線で拾う */
  box-shadow: inset 0 -0.12em 0 rgba(242, 239, 231, 0.5);
}

.voice__text {
  font-size: 0.84rem;
  line-height: 1.95;
  opacity: 0.8;
}

.voice__name {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-light);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
}

/* イニシャルの紋章（ポートレートの代役） */
.voice__initial {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.voice__name-body {
  display: flex;
  flex-direction: column;
}

.voice__name small {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

/* ---- 4. Gallery（社内の雰囲気） ----
   トップの旧コラージュと同じ「不揃いなグリッド＋微回転」の作法を、
   明るいビジュアル向けにトーンを上げて再構成する */
.gallery {
  position: relative;
  background: var(--paper);
  padding: clamp(6rem, 16vh, 11rem) clamp(1.2rem, 5vw, 5rem);
  overflow: hidden;
}

.gallery__bigtype {
  left: -0.04em;
  right: auto;
  /* ATMOSPHERE は字数が多いので一段小さく組む */
  font-size: clamp(4rem, 15vw, 13rem);
}

.gallery__inner {
  position: relative;
  max-width: 1180px;
  margin-inline: auto;
}

.gallery__head {
  margin-bottom: clamp(3rem, 8vh, 5rem);
}

.gallery__head .sec-title {
  margin: 1.4rem 0 1.6rem;
}

.gallery__collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

@media (min-width: 900px) {
  .gallery__collage {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 108px;
    gap: 1.1rem;
  }
  .gallery__item--a {
    grid-column: 1 / 3;
    grid-row: 1 / 4;
    rotate: -1.1deg;
  }
  .gallery__item--b {
    grid-column: 3 / 6;
    grid-row: 1 / 5;
    rotate: 0.7deg;
    translate: 0 1.4rem;
  }
  .gallery__item--c {
    grid-column: 6 / 7;
    grid-row: 2 / 5;
    rotate: 1.3deg;
  }
  .gallery__item--d {
    grid-column: 2 / 5;
    grid-row: 5 / 9;
    rotate: -0.7deg;
  }
  .gallery__item--e {
    grid-column: 5 / 7;
    grid-row: 5 / 8;
    rotate: 0.9deg;
    translate: 0 1.6rem;
  }
  .gallery__item--f {
    grid-column: 1 / 2;
    grid-row: 4 / 7;
    rotate: -1.4deg;
  }
  .gallery__note {
    grid-column: 1 / 2;
    grid-row: 7 / 9;
    align-self: end;
  }
}

.gallery__item {
  position: relative;
  overflow: hidden;
  background: var(--paper-dim);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 「明るい雰囲気」を主役にするため、旧コラージュのような
     強いグレースケールはかけず、わずかに彩度を上げるだけに留める */
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.02);
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery__item:hover img,
.gallery__item:focus-within img {
  transform: scale(1.12);
}

.gallery__item figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.7em;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 0.5em 1em;
  translate: 0 100%;
  transition: translate 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery__item:hover figcaption,
.gallery__item:focus-within figcaption {
  translate: 0 0;
}

.gallery__item figcaption b {
  font-family: var(--font-en);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  color: var(--blue);
}

.gallery__note {
  font-size: 0.74rem;
  line-height: 1.9;
  opacity: 0.6;
  padding-top: 1rem;
  border-top: 2px solid var(--ink);
  grid-column: 1 / -1;
}

/* ---- 5. Entry CTA ---- */
.entry {
  position: relative;
  background: var(--blue);
  color: var(--paper);
  padding: clamp(6rem, 18vh, 12rem) clamp(1.2rem, 6vw, 6rem);
  overflow: hidden;
}

.entry__bigtype {
  position: absolute;
  top: auto;
  bottom: 0.02em;
  right: -0.04em;
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 19rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 239, 231, 0.18);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.entry__inner {
  position: relative;
  max-width: 1080px;
  margin-inline: auto;
}

.entry__title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  line-height: 1.25;
  margin: 1.4rem 0 1.2rem;
}

.entry__title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 2px var(--paper);
}

.entry__lead {
  max-width: 32em;
  font-size: 0.95rem;
  margin-bottom: clamp(2.2rem, 6vh, 3.5rem);
}

/* エントリーボタン：contact__submit と同じホバー機構（塗り→反転） */
.entry__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  min-width: min(100%, 420px);
  padding: 1.1em 1.4em;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  letter-spacing: 0.06em;
  overflow: hidden;
  transition: color 0.35s;
}

.entry__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.entry__btn:hover::before,
.entry__btn:focus-visible::before {
  transform: scaleX(1);
}

.entry__btn:hover,
.entry__btn:focus-visible {
  color: var(--paper);
}

.entry__btn-text,
.entry__btn-arrow {
  position: relative;
}

.entry__note {
  margin-top: 1rem;
  font-size: 0.68rem;
  opacity: 0.65;
}

/* ============================================================
   Thanks Page（thanks.html 専用）
   フォーム送信後の1画面完結ページ。ヘッダー／フッター／ナビは
   index.html・recruit.html と完全に共通の部品を使う
   ============================================================ */
.thanks {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(8rem, 22vh, 13rem) clamp(1.2rem, 6vw, 6rem)
    clamp(5rem, 14vh, 9rem);
  overflow: hidden;
}

/* 背景の巨大タイポ（.entry__bigtype と同じ機構） */
.thanks__bigtype {
  position: absolute;
  bottom: 0.02em;
  right: -0.04em;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 19vw, 17rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 239, 231, 0.18);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.thanks__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
}

/* チェックマークは Anton に字形が無いため和文フォント側で描く */
.thanks .sec-label i {
  font-family: var(--font-jp);
  font-size: 1.1rem;
  color: var(--paper);
  border-bottom-color: var(--paper);
}

.thanks__title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(2.2rem, 7.5vw, 5rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin: 1.4rem 0 1.4rem;
}

.thanks__title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 2px var(--paper);
}

.thanks__lead {
  max-width: 34em;
  font-size: clamp(0.95rem, 2.4vw, 1.05rem);
  margin-bottom: 1.6rem;
}

.thanks__note {
  max-width: 34em;
  font-size: 0.78rem;
  line-height: 1.9;
  opacity: 0.6;
  border-top: 1px solid var(--line-light);
  padding-top: 0.9rem;
  margin-bottom: clamp(2.4rem, 6vh, 3.5rem);
}

.thanks__note a {
  color: var(--paper);
  border-bottom: 1px solid currentColor;
}

/* トップへ戻るボタン：.entry__btn と同じ塗り反転ホバー */
.thanks__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  min-width: min(100%, 380px);
  padding: 1.1em 1.4em;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  letter-spacing: 0.06em;
  overflow: hidden;
  transition: color 0.35s;
}

.thanks__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.thanks__btn:hover::before,
.thanks__btn:focus-visible::before {
  transform: scaleX(1);
}

.thanks__btn:hover,
.thanks__btn:focus-visible {
  color: var(--paper);
}

.thanks__btn-text,
.thanks__btn-arrow {
  position: relative;
}

/* ============================================================
   Reduced Motion（アクセシビリティ配慮）
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero__scroll-thumb,
  .contact__ai-dot {
    animation: none;
  }
  /* シネマティック演出は行わず、丸窓の奥の大海原＋タイポの静止ビューを表示 */
  .hero__sea,
  .hero__sea img,
  .hero__cabin {
    will-change: auto;
  }
  .hero__cabin,
  .hero__blackout {
    display: none;
  }
  .hero__title-en,
  .hero__title-main,
  .hero__title-jp,
  .rhero__title-en,
  .rhero__title-main,
  .rhero__title-jp,
  .sec-title__line > span {
    transform: none;
  }
  .mask-img > img,
  .mask-img > div {
    clip-path: none;
    transform: none;
  }
}
