/* ==========================================================================
   Forge One Capital — capital.forgeone.ltd
   受け取ったデザイン（PSD：nouhin261018）に合わせた CSS。
   PC は幅 1440px、スマホは幅 375px のデザインが基準。
   ブレークポイント：
     - 1023px 以下：ヘッダーをスマホ用（ハンバーガー）にする
     - 767px 以下：ページ本体をスマホ用のレイアウトにする

   1. 変数・リセット・共通
   2. ヘッダー・スマホメニュー
   3. 共通パーツ（見出し、ボタン、お問い合わせへの誘導、フッター）
   4. トップ
   5. What We Do
   6. Recruit
   7. Contact
   8. 404
   9. 動き（アニメーション）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 変数・リセット・共通
   -------------------------------------------------------------------------- */
:root {
  --navy: #001f48;        /* ヘッダー・フッター・本文 */
  --navy-box: #08305b;    /* 紺の箱 */
  --blue: #3c5882;        /* 小見出し・お問い合わせへの誘導の背景 */
  --blue-line: #4a6394;   /* 線のイラスト */
  --gold: #d1a857;
  --gray-text: #b0b1b9;   /* フッターの住所、入力欄の例文 */
  --red: #c64c46;         /* 必須 */
  --bg: #ebebeb;          /* ページの地 */
  --bg-light: #f4f4f4;
  --bg-lighter: #fbfbfb;

  --font-mincho: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --font-en: "Urbanist", "Helvetica Neue", Arial, sans-serif;

  --header-h: 86px;
  --container: 930px;
  --gutter: 32px;

  /* 動きの速さ・動き方（サイト全体で共通。ここを変えると全部の動きが変わる）
     上品に見えるよう、ゆっくり始まってゆっくり止まる1種類の動き方にそろえている。 */
  --ease: cubic-bezier(.45, 0, .25, 1);
  --dur-fade: 1.2s;    /* 透明からふわっと出る */
  --dur-reveal: .9s;   /* 写真が広がる・箱が伸びる・線が伸びる・スマホメニューが開く */
  --dur-part: .6s;     /* 点・輪などの小さな部品、色が変わる */
  --dur-ui: .4s;       /* マウスを乗せたとき・スマホメニューが閉じる・ヘッダーの色 */
  --stagger: .2s;      /* 順番に出るときの間隔 */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.93;
  color: var(--navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  /* 和文と英数字の間に少しアキを入れる（デザインの組み方に合わせる。対応ブラウザのみ） */
  text-autospace: normal;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { font-weight: inherit; font-size: inherit; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; position: relative; }
.en { font-family: var(--font-en); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
/* 改行の出し分け */
.br-sp { display: none; }
@media (max-width: 767px) {
  .br-pc { display: none; }
  .br-sp { display: inline; }
}

/* 右向きの矢印（ボタン・メニュー用） */
.chevron { width: 8px; height: 14px; flex: none; }

/* --------------------------------------------------------------------------
   2. ヘッダー・スマホメニュー
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: var(--navy);
  transition: background-color var(--dur-ui) var(--ease);
}
/* トップの PC：ファーストビューの写真の上では背景なし（写真が隠れるまでスクロールすると main.js が is-solid を付けて紺になる） */
@media (min-width: 1024px) {
  .is-top .site-header:not(.is-solid) { background-color: transparent; }
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 33px 0 34px;
}
.site-header__logo img { width: 131px; height: auto; }

.gnav { display: flex; align-items: center; }
.gnav__list { display: flex; gap: 34px; margin-right: 31px; }
.gnav__list a,
.gnav__contact {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: .13em;
  line-height: 1;
}
.gnav__list a { color: #fff; transition: color var(--dur-ui) var(--ease); }
.gnav__list a:hover { color: var(--gold); }
.gnav__contact,
.site-header__contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--navy);
  border-radius: 3px;
  transition: color var(--dur-ui) var(--ease);
}
.gnav__contact { width: 149px; height: 45px; padding-left: .13em; }

.site-header__contact,
.menu-btn { display: none; }

@media (max-width: 1023px) {
  :root { --header-h: 48px; }
  .site-header__inner { padding: 0 0 0 11px; }
  .site-header__logo img { width: 73px; }
  .gnav { display: none; }
  .site-header__contact {
    display: inline-flex;
    width: 89px;
    height: 32px;
    margin-left: auto;
    margin-right: 17px;
    font-family: var(--font-en);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: .13em;
    padding-left: .13em;
  }
  .menu-btn { display: block; }
}

/* ハンバーガー／閉じるボタン */
.menu-btn {
  position: relative;
  width: 50px;
  height: 50px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-btn span {
  position: absolute;
  left: 11px;
  width: 28px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-btn span:nth-child(3) { top: 31px; }
/* 閉じる（×）：2本とも真ん中（top 24px）に置いて交差させる。
   :nth-child(n) を付けないと、上の三本線用の top（15px・23px）が優先されて × が崩れる */
.menu-btn--close span,
.menu-btn--close span:nth-child(n) { left: 10px; width: 30px; top: 24px; }
.menu-btn--close span:nth-child(1) { transform: rotate(45deg); }
.menu-btn--close span:nth-child(2) { transform: rotate(-45deg); }

/* スマホメニュー（全画面） */
.sp-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  color: #fff;
  overflow-y: auto;
  visibility: hidden;
  transition: visibility 0s linear var(--dur-ui);
}
.sp-menu.is-open { visibility: visible; transition: none; }
/* 開く：Who We Are の箱と同じく、紺が上から下へ伸びる → 中身がふわっと出る。閉じる：紺が上へ縮む（開くより速く）。
   紺の地は ::before を縦に伸ばす（transform）。clip-path で切り抜くより描き直しが少なく、iPhone の Safari でも滑らかに動く。
   箱と違って紺は最初から不透明（半透明だと、下のヘッダーの三本線と × が重なって見えるため） */
.sp-menu::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--navy);
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform var(--dur-ui) var(--ease);
}
.sp-menu.is-open::before { transform: scaleY(1); transition: transform var(--dur-reveal) var(--ease); }
.sp-menu__close,
.sp-menu__body,
.sp-menu__lines { opacity: 0; transition: opacity calc(var(--dur-ui) / 2) var(--ease); }
/* × は紺がヘッダーの三本線を覆ったころに出す */
.sp-menu.is-open .sp-menu__close { opacity: 1; transition: opacity var(--dur-ui) var(--ease) .15s; }
.sp-menu.is-open .sp-menu__body,
.sp-menu.is-open .sp-menu__lines { opacity: 1; transition: opacity var(--dur-part) var(--ease) .5s; }
.sp-menu__close { position: absolute; top: 0; right: 0; }
.sp-menu__body { width: min(299px, 100% - 76px); margin: 0 auto 0 38px; padding: 133px 0 40px; }
.sp-menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  padding: 26px 10px 0 2px;
  border-bottom: 1px solid var(--blue-line);
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
}
.sp-menu__list li:first-child a { height: 53px; padding-top: 0; }
.sp-menu__btn { margin-top: 50px; }
.sp-menu__lines {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 53px;
  pointer-events: none;
}
/* スマホ：トップのファーストビューの波の線（幅に合わせて伸び縮みする）と同じ位置に置き、
   メニューを開いたときに線がずれて見えないようにする。571 は SVG の viewBox の上端、375 はデザインの幅 */
@media (max-width: 767px) {
  .sp-menu__lines { position: absolute; left: 0; top: calc(100vw * 571 / 375); margin: 0; }
}
.sp-menu-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   3. 共通パーツ
   -------------------------------------------------------------------------- */
main { display: block; }
.page-sub main { padding-top: var(--header-h); }

/* 英語の小見出し＋金の線 */
.sec-label {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .11em;
  line-height: 1;
  color: var(--gold);
  padding: 0 0 7px 1px;
  border-bottom: 2px solid var(--gold);
}
.sec-label--lg { font-size: 20px; padding-bottom: 8px; }

/* 日本語の見出し */
.sec-title {
  font-weight: 800;
  font-size: 32px;
  line-height: 1.84;
  letter-spacing: 0;
}

/* ボタン（金） */
.btn-gold {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 352px;
  max-width: 100%;
  height: 59px;
  margin-inline: auto;
  background: var(--gold);
  color: var(--navy);
  border: 0;
  border-radius: 3px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .25);
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .08em;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: color var(--dur-ui) var(--ease);
}
.btn-gold .chevron { position: absolute; right: 23px; top: 50%; translate: 0 -50%; transition: translate var(--dur-ui) var(--ease); }

/* 金色のボタン（ヘッダーの Contact を含む）にマウスを乗せたとき：
   紺が左から広がり、文字と矢印が金色に。外周 1px の金は残して縁取りに見せる。離すと紺は右へ抜ける */
.gnav__contact::before,
.site-header__contact::before,
.btn-gold::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--dur-ui) var(--ease);
}
.gnav__contact:focus-visible, .site-header__contact:focus-visible, .btn-gold:focus-visible { color: var(--gold); }
.gnav__contact:focus-visible::before, .site-header__contact:focus-visible::before, .btn-gold:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left center;
}
.btn-gold:focus-visible .chevron { translate: 4px -50%; }
@media (hover: hover) {
  .gnav__contact:hover, .site-header__contact:hover, .btn-gold:hover { color: var(--gold); }
  .gnav__contact:hover::before, .site-header__contact:hover::before, .btn-gold:hover::before {
    transform: scaleX(1);
    transform-origin: left center;
  }
  .btn-gold:hover .chevron { translate: 4px -50%; }
}

/* ボタン（線） */
.btn-line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 352px;
  max-width: 100%;
  height: 60px;
  border: 1px solid var(--blue);
  border-radius: 2px;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: .02em;
  color: var(--navy);
  transition: background-color var(--dur-ui) var(--ease), color var(--dur-ui) var(--ease);
}
.btn-line .chevron { position: absolute; right: 23px; top: 50%; translate: 0 -50%; }
.btn-line:hover { background: var(--navy); color: #fff; }

/* お問い合わせへの誘導（各ページ下部） */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 117px 0 124px;
}
.cta__lines {
  position: absolute;
  left: -4px;
  top: -76px;
  width: calc(100% + 8px);
  height: 619px;
  pointer-events: none;
}
.cta__lines--sp, .platform__lines--sp { display: none; }
@media (max-width: 767px) {
  .cta__lines--pc, .platform__lines--pc { display: none; }
  .cta__lines--sp, .platform__lines--sp { display: block; }
}
.cta__inner { position: relative; }
.cta__title { font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.6; letter-spacing: .02em; }
.cta__text { margin-top: 26px; font-weight: 600; font-size: clamp(14px, 2.05vw, 18px); line-height: 1.6; letter-spacing: .02em; }
.cta .btn-gold { margin-top: 67px; }

/* フッター */
.site-footer {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 104px 0 36px;
  letter-spacing: .09em;
}
.site-footer__name { font-weight: 500; font-size: 18px; line-height: 1.6; }
.site-footer__address { margin-top: 12px; font-weight: 500; font-size: 14px; line-height: 1.6; color: var(--gray-text); }
.site-footer__copy { margin-top: 74px; font-weight: 500; font-size: 12px; line-height: 1.6; color: var(--gray-text); }
.site-footer__copy small { font-size: inherit; }

@media (max-width: 767px) {
  .sec-label { font-size: 16px; }
  .sec-label--lg { font-size: 20px; }
  .sec-title { font-size: 18px; line-height: 1.95; }
  .btn-gold { width: 100%; }
  .cta { padding: 66px 0 54px; }
  .cta__lines { top: 49px; left: -1px; width: calc(100% + 2px); height: 163px; }
  .cta__title { font-size: 20px; line-height: 2; letter-spacing: 0; }
  .cta__text { margin-top: 11px; font-size: 14px; line-height: 2; letter-spacing: 0; }
  .cta .btn-gold { margin-top: 37px; }
  .site-footer { padding: 37px 0 36px; }
  .site-footer__name { font-size: 16px; }
  .site-footer__address { margin-top: 13px; font-size: 13px; line-height: 1.7; }
  .site-footer__copy { margin-top: 30px; }
}

/* --------------------------------------------------------------------------
   4. トップ
   -------------------------------------------------------------------------- */

/* ---- ファーストビュー ---- */
.hero { position: relative; aspect-ratio: 1440 / 762; background: var(--bg); }
/*
 * 紺の背景は、下の波形（グレーの面）の裏で終わらせる。
 * 画面の幅によってファーストビューの高さに端数が出ると、いちばん下の1px で紺が透けて線に見えるため。
 * 切り替え位置：PC は波形の面の上端（右側 653/762 ≒ 85.7%）より下、スマホは 617/679 ≒ 90.9% より下。
 */
.hero__visual { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(to bottom, var(--navy) 86.5%, var(--bg) 86.5%); }
.hero__photo {
  position: absolute;
  left: 0;
  bottom: 13.52%;
  width: 100%;
  height: auto;
  max-width: none;
  opacity: .4;
}
.hero__veil { position: absolute; inset: 0; background: #eef0f3; opacity: 0; pointer-events: none; }
.hero__wave { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; }
.hero__wave--sp { display: none; }
.hero__copy {
  position: absolute;
  left: 52.57%;
  top: 27.4%;
  right: 2%;
  color: #fff;
}
.hero__catch {
  font-weight: 700;
  font-size: clamp(32px, 4.167vw, 80px);
  line-height: 1.233;
  letter-spacing: 0;
}
.hero__lead {
  margin-top: 1.35em;
  font-weight: 700;
  font-size: clamp(14px, 1.25vw, 24px);
  line-height: 2.39;
  letter-spacing: .01em;
}

/* ---- Forge One は〜／Who We Are ---- */
.intro { position: relative; padding: 100px 0 94px; overflow: hidden; }
.intro__photo { position: absolute; height: 360px; opacity: .3; overflow: hidden; }
.intro__photo img { width: 100%; height: 100%; object-fit: cover; }
.intro__photo--1 { top: 100px; left: calc(50% + 30px); right: 0; }
.intro__photo--2 { top: 578px; left: 0; right: calc(50% + 34px); }
.intro__photo--3 { top: 1018px; left: calc(50% + 30px); right: 0; }
.intro__about { position: relative; display: flex; align-items: flex-start; min-height: 401px; }
.intro__text {
  padding-top: 92px;
  font-weight: 800;
  font-size: 20px;
  line-height: 2.1;
}
.intro__figure { position: absolute; left: 491px; top: 20px; width: 439px; }

.who { position: relative; margin-top: 115px; }
.who .sec-label { border-bottom: 0; padding-bottom: 9px; }
.who__box { position: relative; padding: 110px 139px 101px; color: #fff; border-top: 2px solid var(--gold); }
/* 後ろの写真が少し透ける紺（PSD では「乗算・不透明度90%」） */
.who__box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 44, 84, .9);
}
.who__text { position: relative; font-weight: 600; font-size: 15px; line-height: 2.4; }
.who__diagrams { position: relative; display: flex; justify-content: space-between; margin-top: 103px; }
.who__diagrams img { width: 290px; }

/* ---- Platform ---- */
.platform { position: relative; background: var(--bg-light); padding: 124px 0 95px; overflow: hidden; }
.platform__lines {
  position: absolute;
  left: -4px;
  top: 139px;
  width: calc(100% + 7px);
  height: 619px;
  pointer-events: none;
}
.platform .sec-title { margin-top: 47px; line-height: 1.84; }
.pillars { margin-top: 63px; }
.pillar { display: grid; grid-template-columns: 161px 94px 1fr; align-items: center; column-gap: 0; }
.pillar + .pillar { margin-top: 49px; }
.pillar__name {
  font-weight: 800;
  font-size: 28px;
  letter-spacing: .06em;
  line-height: 1.2;
  color: var(--blue);
  padding-left: 2px;
}
.pillar__line { display: block; height: 2px; background: var(--gold); }
.pillar__text { padding-left: 46px; font-size: 14px; line-height: 1.93; }
.platform__more { display: flex; justify-content: flex-end; margin-top: 77px; }
.platform__more .btn-line { margin: 0; }

/* ---- Forge One の強み ---- */
.strength { background: var(--bg-lighter); padding: 124px 0 118px; }
.strength .sec-title { margin-top: 40px; }
.strength__list { margin-top: 37px; }
.strength__item {
  display: grid;
  grid-template-columns: 470px 1fr;
  column-gap: 31px;
  align-items: start;
}
.strength__item + .strength__item { margin-top: 60px; }
.strength__item:nth-child(even) { grid-template-columns: 428px 1fr; column-gap: 32px; }
.strength__item:nth-child(even) .strength__photo { order: -1; }
.strength__body { padding-top: 15px; }
.strength__num {
  display: inline-block;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  letter-spacing: .02em;
}
.strength__title { margin-top: 7px; font-weight: 500; font-size: 22px; line-height: 1.9; }
.strength__text { margin-top: 18px; font-size: 14px; line-height: 1.93; }
.strength__photo { width: 428px; max-width: 100%; aspect-ratio: 428 / 212; object-fit: cover; }

/* ---- Leadership ---- */
.leaders { background: var(--bg-light); padding: 100px 0 111px; }
.leaders .sec-title { margin-top: 42px; font-weight: 500; font-size: 30px; line-height: 1.9; }
.leaders__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; margin-top: 60px; }
.leader__role { font-weight: 500; font-size: 15px; letter-spacing: .09em; line-height: 1.6; color: var(--blue); }
.leader__name {
  margin-top: 15px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--blue);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: .12em;
  line-height: 1.4;
}
.leader__bio { margin-top: 32px; font-size: 14px; line-height: 1.93; text-align: justify; }

@media (max-width: 1100px) and (min-width: 768px) {
  .intro__figure { left: auto; right: 0; width: 40%; }
  .intro__text { font-size: 18px; max-width: 52%; }
  .who__box { padding-inline: 8%; }
  .who__diagrams { gap: 24px; }
  .who__diagrams img { width: calc(50% - 12px); }
  .strength__item, .strength__item:nth-child(even) { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}

@media (max-width: 767px) {
  .hero { aspect-ratio: 375 / 679; }
  .hero__visual { background: linear-gradient(to bottom, var(--navy) 91.5%, var(--bg) 91.5%); }
  .hero__photo { top: 0; bottom: auto; height: 90.9%; object-fit: cover; object-position: center; }
  .hero__wave--pc { display: none; }
  .hero__wave--sp { display: block; }
  .hero__copy { left: 8.53%; top: 29.6%; right: 4%; }
  .hero__catch { font-family: var(--font-en); font-weight: 400; font-size: 7.47vw; line-height: 1.57; letter-spacing: .04em; }
  .hero__lead { margin-top: 3.6vw; font-size: 4.27vw; line-height: 2.125; }

  .intro { padding: 34px 0 57px; }
  .intro__photo { height: auto; }
  .intro__photo--1 { top: 84px; left: 56px; right: 0; aspect-ratio: 319 / 167; }
  .intro__photo--2 { top: 331px; left: 0; right: 31px; aspect-ratio: 344 / 180; }
  .intro__photo--3 { top: 591px; left: 56px; right: 0; aspect-ratio: 319 / 167; }
  .intro__about { display: block; min-height: 0; }
  .intro__text { padding-top: 0; font-size: 16px; line-height: 2; }
  .intro__figure { position: relative; left: auto; top: auto; width: 263px; margin: 51px auto 0; }
  .who { margin-top: 98px; }
  .who__box { padding: 27px 25px 46px; }
  .who__text { font-size: 15px; line-height: 2.4; letter-spacing: .02em; }
  .who__diagrams { flex-direction: column; align-items: center; gap: 63px; margin-top: 40px; }
  .who__diagrams img { width: 264px; }

  .platform { padding: 60px 0 61px; }
  .platform__lines { top: 139px; left: -1px; width: calc(100% + 2px); height: 163px; }
  .platform .sec-title { margin-top: 23px; }
  .pillars { margin-top: 46px; }
  .pillar { display: block; text-align: center; }
  .pillar + .pillar { margin-top: 49px; }
  .pillar__name { font-size: 26px; letter-spacing: 0; color: var(--gold); padding: 0; }
  .pillar__line { width: 2px; height: 28px; margin: 14px auto 6px; }
  .pillar__text { padding: 0; text-align: left; }
  .platform__more { justify-content: center; margin-top: 48px; }
  .platform__more .btn-line { width: 100%; }

  .strength { padding: 61px 0 54px; }
  .strength .sec-title { margin-top: 20px; }
  .strength__list { margin-top: 40px; }
  .strength__item, .strength__item:nth-child(even) { display: block; }
  .strength__item + .strength__item { margin-top: 46px; }
  .strength__body { padding-top: 0; }
  .strength__title { margin-top: 13px; font-size: 18px; line-height: 1.83; }
  .strength__text { margin-top: 13px; }
  .strength__photo { width: 100%; margin-top: 25px; }

  .leaders { padding: 55px 0 80px; }
  .leaders .sec-title { margin-top: 18px; font-weight: 800; font-size: 18px; }
  .leaders__list { display: block; margin-top: 27px; }
  .leader + .leader { margin-top: 78px; }
  .leader__role { font-size: 14px; }
  .leader__name { margin-top: 15px; padding-bottom: 25px; }
  .leader__bio { margin-top: 28px; }
}

/* --------------------------------------------------------------------------
   5. What We Do
   -------------------------------------------------------------------------- */
.wwd-hero { position: relative; padding: 118px 0 100px; overflow: hidden; }
.wwd-hero__bg { position: absolute; left: 0; top: 3px; width: 100%; height: 757px; object-fit: cover; object-position: center top; }
.wwd-hero__inner { position: relative; width: min(1122px, 100% - 64px); margin-inline: auto; display: flex; justify-content: space-between; align-items: flex-start; }
.page-label {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: .11em;
  line-height: 1;
  color: var(--gold);
}
.page-title {
  margin-top: 33px;
  font-weight: 700;
  font-size: clamp(26px, 3.3vw, 38px);
  line-height: 2.07;
  letter-spacing: .03em;
}
.page-lead { margin-top: 31px; font-weight: 600; font-size: 18px; line-height: 2; }
.wwd-hero__copy { width: 580px; padding-top: 1px; }
.wwd-hero__copy .page-lead { max-width: 545px; }
.wwd-hero__figure { width: 466px; margin-right: 1px; }

.wwd-detail { position: relative; width: min(1122px, 100%); margin: 0 auto; padding: 114px 96px 122px 97px; background: var(--navy-box); color: #fff; }
.func { display: grid; grid-template-columns: 316px 1fr 340px; align-items: start; }
.func + .func { margin-top: 118px; }
.func__photo { position: relative; width: 316px; aspect-ratio: 1; }
.func__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.func__photo .func__ring { position: absolute; inset: 0; }
.func__label {
  position: relative;
  align-self: stretch;
  height: 316px;
}
.func__name {
  position: absolute;
  bottom: calc(50% + 12px);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: .03em;
  line-height: 1.2;
  color: var(--gold);
  white-space: nowrap;
}
.func__line { position: absolute; top: calc(50% - 1px); height: 2px; background: var(--gold); }
.func__dot { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); top: 50%; translate: -50% -50%; }
.func__text { padding-top: 15px; font-weight: 600; font-size: 14px; line-height: 2; }
/* Capital・Operation：写真が左、文章が右 */
.func--left .func__name { right: 34px; }
.func--left .func__line { left: -158px; right: 30px; }
.func--left .func__dot { left: -158px; }
.func--left .func__text { padding-left: 0; }
/* Asset：文章が左、写真が右 */
.func--right { grid-template-columns: 340px 1fr 316px; }
.func--right .func__photo { order: 3; }
.func--right .func__text { order: 1; }
.func--right .func__label { order: 2; }
.func--right .func__name { left: 30px; }
.func--right .func__line { left: 27px; right: -158px; }
.func--right .func__dot { left: calc(100% + 158px); }

.wwd-tagline {
  padding: 50px 0 54px;
  text-align: center;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: .03em;
  line-height: 1.2;
}

@media (max-width: 1100px) and (min-width: 768px) {
  .wwd-hero__copy { width: 56%; }
  .wwd-hero__figure { width: 40%; }
  .wwd-detail { padding-inline: 5%; }
  .func, .func--right { grid-template-columns: 240px 1fr 300px; }
  .func--right { grid-template-columns: 300px 1fr 240px; }
  .func__photo { width: 240px; }
  .func--left .func__line { left: -120px; }
  .func--left .func__dot { left: -120px; }
  .func--right .func__line { right: -120px; }
  .func--right .func__dot { left: calc(100% + 120px); }
  .func__name { font-size: 22px; }
  .wwd-hero__copy .page-lead { font-size: 16px; }
}

@media (max-width: 767px) {
  .wwd-hero { padding: 35px 0 59px; }
  .wwd-hero__bg { top: -2px; height: 293px; }
  .wwd-hero__inner { display: block; width: calc(100% - 62px); }
  .page-label { font-size: 13px; }
  .page-title { margin-top: 18px; font-size: 22px; line-height: 1.91; letter-spacing: 0; }
  .page-lead { margin-top: 19px; font-size: 14px; line-height: 2.29; }
  .wwd-hero__copy { width: auto; }
  .wwd-hero__figure { width: 312px; margin: 37px auto 0; }
  .wwd-detail { width: calc(100% - 62px); padding: 49px 25px 59px; }
  .func, .func--right { display: flex; flex-direction: column; align-items: center; }
  .func + .func { margin-top: 52px; }
  .func__photo { width: 224px; order: 1 !important; }
  .func__label { order: 2 !important; position: relative; width: 100%; height: auto; padding-top: 96px; text-align: center; }
  .func__name, .func--left .func__name, .func--right .func__name { position: static; font-size: 28px; }
  .func__line, .func--left .func__line, .func--right .func__line { left: calc(50% - 1px); right: auto; top: -110px; width: 2px; height: 194px; }
  .func__dot, .func--left .func__dot, .func--right .func__dot { left: 50%; top: -118px; translate: -50% 0; }
  .func__text, .func--left .func__text { order: 3 !important; padding: 0; margin-top: 18px; width: 100%; }
  .wwd-tagline { padding: 26px 0 29px; font-size: 15px; color: var(--blue-line); }
}

/* --------------------------------------------------------------------------
   6. Recruit
   -------------------------------------------------------------------------- */
.page-recruit { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.page-recruit main { flex: 1; display: flex; flex-direction: column; }
.recruit {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 578px;
  padding-top: 101px;
  text-align: center;
  background: var(--bg) url(../img/recruit/bg-desktop.png) center bottom / 100% auto no-repeat;
}
.recruit__label { font-family: var(--font-en); font-weight: 400; font-size: 14px; letter-spacing: .11em; line-height: 1; color: var(--gold); }
.recruit__title { margin-top: 6px; font-weight: 700; font-size: 24px; letter-spacing: .03em; line-height: 1.6; }
.recruit__text { margin-top: 25px; font-weight: 500; font-size: 16px; line-height: 2.5; }

@media (max-width: 767px) {
  .recruit {
    min-height: 502px;
    padding-top: 99px;
    background-image: url(../img/recruit/bg-mobile.png);
  }
  .recruit__label { font-size: 12px; }
  .recruit__title { margin-top: 10px; font-weight: 500; font-size: 16px; }
  .recruit__text { margin-top: 18px; font-size: 14px; line-height: 2.14; }
}

/* --------------------------------------------------------------------------
   7. Contact
   -------------------------------------------------------------------------- */
.contact-hero { position: relative; }
.contact-hero__bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 757px;
  overflow: hidden;
  opacity: .6;
}
.contact-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.contact-hero__bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(to bottom, rgba(235, 235, 235, 0), var(--bg));
}
.contact-hero__inner { position: relative; width: min(1122px, 100% - 64px); margin-inline: auto; padding: 122px 0 112px; }
.contact-hero .page-title { margin-top: 42px; font-size: clamp(26px, 3.1vw, 36px); line-height: 2; }
.contact-hero .page-lead { margin-top: 33px; font-weight: 500; font-size: clamp(14px, 2.05vw, 18px); }

.contact-body { position: relative; padding-bottom: 114px; }
.card + .card { margin-top: 75px; }
.card .sec-label { padding-bottom: 6px; }
.card__box { position: relative; padding: 62px 137px 80px; }
/* 背景は ::before に置く（出るときに上から伸ばすため。動きの章を参照） */
.card__box::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .9); }
.card__box > [data-anim-inner] { position: relative; }
.card__title { font-weight: 800; font-size: 24px; line-height: 1.7; }
.card__lead { margin-top: 24px; font-size: 14px; line-height: 1.93; }

/* フォーム */
.form { margin-top: 74px; }
.form__row {
  display: grid;
  grid-template-columns: 195px 1fr;
  align-items: start;
  padding: 0 0 17px;
  border-bottom: 2px solid #e1e1e3;
}
.form__row + .form__row { margin-top: 20px; }
.form__row--textarea { border-bottom: 0; padding-bottom: 0; }
.form__label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 8px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .075em;
  line-height: 1.6;
}
.form__req {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 41px;
  height: 21px;
  border: 1px solid var(--red);
  border-radius: 2px;
  color: var(--red);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .075em;
  line-height: 1;
}
.form__input,
.form__textarea {
  width: 100%;
  border: 1px solid #b6b8c0;
  border-radius: 3px;
  background: #fff;
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: 14px;
  color: var(--navy);
  padding: 0 15px;
}
.form__input { height: 39px; }
.form__textarea { height: 120px; padding-top: 9px; line-height: 1.93; resize: vertical; display: block; }
.form__input::placeholder, .form__textarea::placeholder { color: var(--gray-text); opacity: 1; }
.form__input:focus, .form__textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(209, 168, 87, .25); }
.form__privacy { margin-top: 40px; font-weight: 500; font-size: 13px; line-height: 1.8; color: var(--blue); }
.form__submit { margin-top: 24px; }
.form__status { margin-top: 20px; font-size: 14px; line-height: 1.8; text-align: center; }
.form__status--error { color: var(--red); }
.form__status--success { color: var(--navy); }

/* 会社情報・直接のご連絡 */
.card__box--office { padding: 46px 137px 66px; }
.office__label { font-weight: 800; font-size: 13px; line-height: 1.5; color: #787878; }
.office__name { margin-top: 23px; font-weight: 800; font-size: 24px; line-height: 1.5; }
.office__address { margin-top: 5px; font-size: 13px; line-height: 1.85; }
.card__box--direct { padding: 55px 137px 81px; }
.direct__title { font-weight: 800; font-size: 20px; line-height: 1.6; }
.direct__text { margin-top: 26px; font-size: 14px; line-height: 1.93; }
.direct__box {
  display: flex;
  justify-content: center;
  margin-top: 27px;
  padding: 28px 20px 26px;
  border: 1px solid var(--blue);
}
.direct__box p { font-weight: 500; font-size: 14px; letter-spacing: .1em; line-height: 2.36; }
.direct__box a { text-decoration: underline; text-decoration-color: rgba(0, 31, 72, .3); text-underline-offset: 3px; }
.direct__box a:hover { text-decoration-color: currentColor; }

@media (max-width: 1100px) and (min-width: 768px) {
  .card__box, .card__box--office, .card__box--direct { padding-inline: 8%; }
}

@media (max-width: 767px) {
  .contact-hero__bg { top: -2px; height: 293px; }
  .contact-hero__inner { width: calc(100% - 62px); padding: 37px 0 69px; }
  .contact-hero .page-label { font-size: 13px; }
  .contact-hero .page-title { margin-top: 21px; font-size: 22px; line-height: 1.73; letter-spacing: 0; }
  .contact-hero .page-lead { margin-top: 29px; font-weight: 600; font-size: 14px; line-height: 2.29; }
  .contact-body { padding-bottom: 77px; }
  .card + .card { margin-top: 54px; }
  .card__box { padding: 70px 24px 59px; }
  .card__title { font-size: 18px; }
  .card__lead { margin-top: 18px; }
  .form { margin-top: 51px; }
  .form__row { display: block; padding-bottom: 17px; }
  .form__row + .form__row { margin-top: 20px; }
  .form__label { padding-top: 0; margin-bottom: 10px; }
  .form__privacy { margin-top: 32px; }
  .card__box--office { padding: 22px 24px 61px; }
  .office__name { margin-top: 30px; font-size: 18px; }
  .office__address { margin-top: 14px; }
  .card__box--direct { padding: 24px 24px 59px; }
  .direct__title { font-size: 18px; }
  .direct__text { margin-top: 22px; }
  .direct__box { margin-top: 26px; justify-content: flex-start; padding: 25px 16px 25px 21px; }
  .direct__box p { letter-spacing: .04em; }
}

/* --------------------------------------------------------------------------
   8. 404
   -------------------------------------------------------------------------- */
.notfound { padding: 120px 0 140px; text-align: center; }
.notfound .page-label { display: block; }
.notfound .page-title { margin-top: 24px; font-size: 30px; }
.notfound p { margin-top: 16px; font-size: 15px; }
.notfound .btn-line { margin: 48px auto 0; }
@media (max-width: 767px) {
  .notfound { padding: 70px 0 90px; }
  .notfound .page-title { font-size: 22px; }
}

/* --------------------------------------------------------------------------
   9. 動き（アニメーション）
   申し送り：見本の動画に近い動き。指定がないところは透明からのフェードイン。
   main.js が、画面に入った要素に .is-in を付ける（[data-anim] の付いた要素）。
   動きを減らす設定の人には、最初から表示する（いちばん下）。
   -------------------------------------------------------------------------- */
/* 共通：透明からふわっと出る（data-delay で順番に） */
.js [data-anim="fade"] { opacity: 0; transition: opacity var(--dur-fade) var(--ease); }
.js [data-anim="fade"].is-in { opacity: 1; }
.js [data-delay="1"] { transition-delay: calc(var(--stagger) * 1); }
.js [data-delay="2"] { transition-delay: calc(var(--stagger) * 2); }
.js [data-delay="3"] { transition-delay: calc(var(--stagger) * 3); }
.js [data-delay="4"] { transition-delay: calc(var(--stagger) * 4); }

/* トップ：Forge One は〜（動画 01top-02intro と同じ0.5秒間隔で、右上の写真 → 左の写真 → 文章と図） */
.js .intro [data-intro-step="1"] { transition-delay: 0s; }
.js .intro [data-intro-step="2"] { transition-delay: .5s; }
.js .intro [data-intro-step="3"] { transition-delay: 1s; }

/*
 * 滑らかに動かすための決まり：動かすのは transform（伸び縮み・移動）と opacity（透明度）だけにする。
 * この2つはブラウザが描き直さずに動かせる。clip-path（切り抜き）や filter は、1コマごとに描き直しが起きやすく、
 * 大きな面（写真・箱）だとスマホ（特に iPhone の Safari）でカクつく原因になる。
 * 切り抜いて見せたい所は、「背景色の幕」や「背景だけの層（::before）」を伸び縮みさせて同じ見た目にしている。
 * 例外：What We Do の丸い写真と名前は面が小さいので clip-path のまま（測って問題がないことを確認済み）。
 */

/* トップ：ファーストビュー（写真が左から広がり、灰色から紺に変わる → ヘッダー → コピー）
   写真の上に背景色の幕（::after）を置き、右へ縮めて写真を左から見せる */
.js .is-top .hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform-origin: right center;
  transition: transform var(--dur-reveal) var(--ease);
}
.js .is-top .hero__veil { opacity: .55; transition: opacity var(--dur-reveal) var(--ease); }
.js .is-top .site-header { opacity: 0; transition: opacity var(--dur-fade) var(--ease) .8s, background-color var(--dur-ui) var(--ease); }
.js .is-top .hero__copy { opacity: 0; transition: opacity var(--dur-fade) var(--ease) 1.3s; }
.is-top.is-loaded .hero__visual::after { transform: scaleX(0); }
.is-top.is-loaded .hero__veil { opacity: 0; }
.is-top.is-loaded .site-header { opacity: 1; }
.is-top.is-loaded .hero__copy { opacity: 1; }

/* 箱が上から下へ伸びる → 中身がふわっと出る（Who We Are、お問い合わせの各カード）
   箱の背景は ::before に置いてあり（.who__box・.card__box）、それを上から縦に伸ばす。
   上の金の線（Who We Are）は、動き始める瞬間に出す（伸びる前から薄く見えないように） */
.js [data-anim="drop"] { opacity: .4; transition: opacity var(--dur-reveal) var(--ease); }
.js [data-anim="drop"].is-in { opacity: 1; }
.js [data-anim="drop"]::before { transform: scaleY(0); transform-origin: center top; transition: transform var(--dur-reveal) var(--ease); }
.js [data-anim="drop"].is-in::before { transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-anim="drop"]:not(.is-in) { border-top-color: transparent; }
}
.js [data-anim="drop"] > [data-anim-inner] { opacity: 0; transition: opacity var(--dur-fade) var(--ease) .6s; }
.js [data-anim="drop"].is-in > [data-anim-inner] { opacity: 1; }

/* Who We Are：右の図が白っぽい色から金色に変わる */
.js .who__diagrams [data-goldify] { filter: grayscale(1) brightness(1.15); transition: filter var(--dur-fade) var(--ease) 1.4s; }
.js [data-anim="drop"].is-in .who__diagrams [data-goldify] { filter: none; }

/* What We Do：丸い写真が中心から広がる → 金の輪 → 点 → 線が伸びて名前 → 文章
   前の動きが終わる前に次を重ねて始め、約1.5秒で文章が読める状態になるようにしている。
   0s 写真 / 0.3s 輪 / 0.5s 点 / 0.6s 線 / 0.9s 名前 / 1.0s 文章（すべて出きるのは約2.2秒） */
.js .func .func__photo-img { clip-path: circle(0 at 50% 50%); transition: clip-path var(--dur-reveal) var(--ease); }
.js .func .func__ring { opacity: 0; transition: opacity var(--dur-part) var(--ease) .3s; }
.js .func .func__dot { opacity: 0; scale: .2; transition: opacity var(--dur-part) var(--ease) .5s, scale var(--dur-part) var(--ease) .5s; }
.js .func .func__line { transform: scaleX(0); transition: transform var(--dur-reveal) var(--ease) .6s; }
.js .func--left .func__line { transform-origin: left center; }
.js .func--right .func__line { transform-origin: right center; }
.js .func .func__name { clip-path: inset(0 100% 0 0); transition: clip-path var(--dur-reveal) var(--ease) .9s; }
.js .func--right .func__name { clip-path: inset(0 0 0 100%); }
.js .func .func__text { opacity: 0; transition: opacity var(--dur-fade) var(--ease) 1s; }
.js .func.is-in .func__photo-img { clip-path: circle(43.7% at 50% 50%); }
.js .func.is-in .func__ring { opacity: 1; }
.js .func.is-in .func__dot { opacity: 1; scale: 1; }
.js .func.is-in .func__line { transform: none; }
.js .func.is-in .func__name { clip-path: inset(0 0 0 0); }
.js .func.is-in .func__text { opacity: 1; }
@media (max-width: 767px) {
  .js .func .func__line { transform: scaleY(0); transform-origin: center top; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-anim], .js [data-anim] *, .js .is-top .hero__visual, .js .is-top .hero__veil,
  .js .is-top .site-header, .js .is-top .hero__copy {
    transition: none !important;
  }
  .js [data-anim="fade"], .js [data-anim="drop"], .js [data-anim="drop"] > [data-anim-inner],
  .js .func .func__ring, .js .func .func__dot, .js .func .func__text, .js .is-top .site-header, .js .is-top .hero__copy { opacity: 1; }
  .js .is-top .hero__veil { opacity: 0; }
  .js .func .func__name { clip-path: none; }
  .js .is-top .hero__visual::after { content: none; }
  .js [data-anim="drop"]::before { transform: none; }
  .js .func .func__photo-img { clip-path: circle(43.7% at 50% 50%); }
  .js .func .func__dot { scale: 1; }
  .js .func .func__line { transform: none; }
  .js .who__diagrams [data-goldify] { filter: none; }
  /* スマホメニュー：伸びる動きはやめて、短いフェードだけにする */
  .sp-menu { opacity: 0; transition: opacity var(--dur-ui) var(--ease), visibility 0s linear var(--dur-ui); }
  .sp-menu.is-open { opacity: 1; transition: opacity var(--dur-ui) var(--ease); }
  .sp-menu::before, .sp-menu.is-open::before { transform: none; transition: none; }
  .sp-menu__close, .sp-menu__body, .sp-menu__lines,
  .sp-menu.is-open .sp-menu__close, .sp-menu.is-open .sp-menu__body, .sp-menu.is-open .sp-menu__lines { opacity: 1; transition: none; }
}
