/* ==========================================================================
   ADBENTOBOY IT事業部ページ（page-it.php）専用スタイル
   Figma: PC = node 26:35 / SP = node 26:671
   HERO / PROCESS / CULTURE は ver.2（node 81:2）に差し替え済み

   すべてのセレクタを .it-page 配下にスコープしている。
   additional.css には `section h2 { font-size:160px }` `ul { display:table }`
   といった素の要素セレクタがあり、スコープを外すと他ページ用の指定を拾って崩れる。
   ========================================================================== */

.it-page {
  /* --- Figma デザイントークン --- */
  --it-bg: #191c27;         /* color/blue/13  Mirage */
  --it-bg-alt: #1a1d2a;     /* color/blue/13 2       */
  --it-accent: #ffcc33;     /* color/yellow/60 Sunglow */
  --it-accent-2: #64a0ff;   /* color/azure/70  Malibu  */

  --it-font-jp: "Kiwi Maru", serif;
  /* Nova Flat に日本語グリフは無い。Figma 上で和文に Nova Flat が
     指定されている箇所は Kiwi Maru にフォールバックさせる。 */
  --it-font-en: "Nova Flat", "Kiwi Maru", cursive;
  --it-font-ui: "Inter", "Kiwi Maru", sans-serif;

  font-family: var(--it-font-jp);
  color: #fff;
  background-color: var(--it-bg);
}

/* --- リセット（Bootstrap reboot / additional.css の打ち消し） --- */
.it-page section {
  position: relative;
  overflow: hidden;
}

/* 素の要素セレクタ（additional.css / Bootstrap reboot / UA）を打ち消すためのリセット。
   :where() で詳細度を 0 にしてあるのは意図的。ここに詳細度を持たせると、
   下のコンポーネント側の1クラス指定（.it-lead__text の padding-top、
   .it-issue__head の padding など）を
   リセット側が勝ってしまい、余白やレイアウトが丸ごと消える。 */
:where(.it-page) h1,
:where(.it-page) h2,
:where(.it-page) h3,
:where(.it-page) p,
:where(.it-page) figure,
:where(.it-page) blockquote {
  margin: 0;
  padding: 0;
}

:where(.it-page) h1,
:where(.it-page) h2,
:where(.it-page) h3 {
  font-weight: 400;
}

:where(.it-page) ul,
:where(.it-page) ol {
  display: block;
  width: auto;
  padding: 0;
  margin: 0;
  list-style: none;
}

:where(.it-page) li {
  display: block;
  width: auto;
}

:where(.it-page) a {
  color: inherit;
  text-decoration: none;
}

:where(.it-page) button {
  font-family: inherit;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  outline: none;
}

/* 上の outline:none と additional.css の `button:focus { outline:none }` で
   キーボードのフォーカス位置が見えなくなるため、代わりのリングを必ず出す。
   詳細度 0,2,1 で additional.css の `button:focus`（0,1,1）に勝つ。 */
.it-page button:focus-visible,
.it-page a:focus-visible {
  outline: 2px solid var(--it-accent);
  outline-offset: 2px;
}

/* このページでは AOS（data-aos）を使わない。
   aos.css は [data-aos] を opacity:0 にして aos.js が付ける .aos-animate で初めて見せる作りで、
   CDN 側の aos.js だけ落ちると本文がまるごと消える。CSS だけでは
   「まだ初期化されていない」と「二度と初期化されない」を区別できず、
   打ち消しを入れると今度は一瞬見えてから消える。Figma にも登場アニメーションの指定は無いので、
   依存ごと持たない。フェードインを足すなら aos.js の初期化を待つ実装とセットにすること。 */

/* additional.css の `section h2 { font-family:"Nova Flat"; font-size:160px; padding-top:5% }`
   を打ち消す。こちらは `section h2`（詳細度 0,0,2）に勝つ必要があるので :where() は使えない。
   これを上書きする .it-head__title / .it-contact__title 側は .it-page を足して詳細度を上げている。 */
.it-page h2 {
  font-family: var(--it-font-jp);
  font-size: 36px;
  line-height: 50.4px;
  color: #fff;
  padding-top: 0;
}

.it-page [hidden] {
  display: none !important;
}

/* SP だけで改行させる <br>。既定では display:none で改行そのものを消し、
   600px 以下のメディアクエリで復活させる。 */
.it-page .it-br-sp {
  display: none;
}

/* --- セクション共通レイアウト --- */
.it-section {
  padding: 120px;
  background-color: var(--it-bg);
}

.it-section--alt {
  background-color: var(--it-bg-alt);
}

.it-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- セクション見出し（WHAT WE DO / ISSUES / WORKS 共通） --- */
.it-head {
  text-align: center;
}

.it-head__en {
  font-family: var(--it-font-en);
  font-size: 90px;
  line-height: 90px;
  letter-spacing: 3.6px;
  color: rgba(255, 255, 255, 0.25);
}

.it-page .it-head__title {
  padding-top: 13px;
}

/* 左寄せ見出し（CROSS / CONTACT） */
.it-lead__label {
  font-family: var(--it-font-en);
  font-size: 11px;
  line-height: 19.8px;
  letter-spacing: 2.2px;
  color: var(--it-accent);
  text-transform: uppercase;
}

.it-lead__en {
  font-family: var(--it-font-en);
  font-size: 70px;
  line-height: 70px;
  letter-spacing: 2.8px;
  color: rgba(255, 255, 255, 0.25);
  padding-top: 4px;
}

.it-lead__text {
  padding-top: 24px;
  font-size: 15px;
  line-height: 31.5px;
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   1. HERO（Figma ver.2: PC = node 157:2966 / SP = node 157:2983）
   ========================================================================== */
.it-hero {
  display: flex;
  align-items: center;
  min-height: clamp(640px, 56.25vw, 900px);
  padding: 120px 0;
  background-color: #0d1220;
}

/* 画像は装飾なので、文字の下に全面で敷く */
.it-hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.it-hero__body {
  position: relative;
  z-index: 1;
  padding: 0 49px;
}

.it-hero__title {
  font-family: var(--it-font-jp);
  font-size: 51px;
  line-height: 78px;
  letter-spacing: 1.04px;
  color: #fff;
}

.it-hero__title em {
  font-style: normal;
  color: var(--it-accent);
}

.it-hero__lead {
  padding-top: 41px;
  font-size: 18px;
  line-height: 29px;
  letter-spacing: 0.8px;
  color: #f4f3ee;
}

/* Figma は段落の間に空行1つ分（= 行の高さ）を空けている */
.it-hero__lead p + p {
  margin-top: 29px;
}

/* 読み込み時のフェードアップ（manus と同じ 0.8秒・0.2秒ずつずらす）。
   CSS アニメーションだけで完結し、終わると表示状態で止まるので JS には依存しない。 */
.it-fade-up {
  animation: it-fade-up 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.2s both;
}

.it-fade-up + .it-fade-up {
  animation-delay: 0.4s;
}

@keyframes it-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* スクロール出現（it.js が data-it-reveal と遅延・長さの変数を付け、画面に入ると .is-revealed を足す）。
   隠すのは .is-reveal-ready（it.js が付ける）があるときだけなので、JS が動かなければ全部見えたまま。
   fill-mode を backwards にしているのは、終わったら要素本来のスタイルに戻すため
   （透かしの translateY(-50%) を上書きしない／clip-path を残して字形の端を切らない）。 */
@media screen and (prefers-reduced-motion: no-preference) {
  .it-page.is-reveal-ready [data-it-reveal]:not(.is-revealed) {
    opacity: 0;
  }

  .it-page [data-it-reveal].is-revealed {
    animation: it-fade-up var(--it-reveal-duration, 0.8s) cubic-bezier(0.23, 1, 0.32, 1) var(--it-reveal-delay, 0s) backwards;
  }

  /* 左寄せの英字見出しは行いっぱいの幅を持つので、そのままだと文字のある左端だけが一瞬で開く。
     幅を文字に合わせ、ワイプの所要時間がそのまま文字にかかるようにする（左寄せなので見た目は変わらない）。 */
  .it-page.is-reveal-ready [data-it-reveal="wipe"] {
    width: fit-content;
  }

  .it-page [data-it-reveal="wipe"].is-revealed {
    animation-name: it-reveal-wipe;
    animation-duration: var(--it-reveal-duration, 1.2s);
  }

  .it-page [data-it-reveal="split"].is-revealed {
    animation-name: it-reveal-split;
    animation-duration: var(--it-reveal-duration, 1.2s);
  }
}

/* 上下・外側に余白を持たせて開くのは、行の高さ＝文字サイズの英字見出しで字形の端を切らないため */
@keyframes it-reveal-wipe {
  from {
    clip-path: inset(-50% 100% -50% -10%);
  }
  to {
    clip-path: inset(-50% -10% -50% -10%);
  }
}

@keyframes it-reveal-split {
  from {
    clip-path: inset(-50% 50% -50% 50%);
  }
  to {
    clip-path: inset(-50% -10% -50% -10%);
  }
}

/* 大きな英字見出し（PROCESS / CULTURE。Figma ver.2 の左寄せ見出し） */
.it-big-en {
  font-family: var(--it-font-en);
  font-size: 70px;
  line-height: 70px;
  letter-spacing: 2.8px;
  color: rgba(255, 255, 255, 0.25);
  padding-top: 4px;
}

/* 枠線ボタン（MORE WORKS / CONTACT 共通の見た目） */
.it-btn {
  display: inline-block;
  font-family: var(--it-font-en);
  font-size: 13px;
  line-height: 23.4px;
  letter-spacing: 1.95px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 14px 37px 15px;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.it-btn:hover {
  color: var(--it-bg);
  background-color: var(--it-accent);
  border-color: var(--it-accent);
}

/* ==========================================================================
   2. ISSUES（アコーディオン）
   ========================================================================== */
.it-issues__list {
  margin-top: 64px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.it-issue + .it-issue {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.it-issue__head {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 28px 36px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s;
}

.it-issue__no {
  flex: 0 0 auto;
  min-width: 28px;
  font-family: var(--it-font-en);
  font-size: 13px;
  line-height: 23.4px;
  letter-spacing: 1.3px;
  color: rgba(255, 204, 51, 0.45);
  transition: color 0.3s;
}

.it-issue__title {
  flex: 1 1 auto;
  font-family: var(--it-font-jp);
  font-size: 18px;
  line-height: 32.4px;
  letter-spacing: 0.36px;
  color: #fff;
  transition: color 0.3s;
}

.it-issue__en {
  flex: 0 0 auto;
  font-family: var(--it-font-en);
  font-size: 11px;
  line-height: 19.8px;
  letter-spacing: 1.65px;
  color: rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  transition: color 0.3s;
}

.it-issue__mark {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 29px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  font-family: var(--it-font-jp);
  font-size: 16px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.35);
  transition: transform 0.3s, color 0.3s, border-color 0.3s;
}

/* 本文が未入稿の項目（it.js が判定して付ける）。開閉できないので
   +/× マークもポインタも出さない。原稿を入れれば自動的に通常の項目に戻る。 */
.it-issue.is-empty .it-issue__head {
  cursor: default;
}

.it-issue.is-empty .it-issue__mark {
  visibility: hidden;
}

.it-issue.is-open {
  background-color: rgba(255, 204, 51, 0.04);
}

.it-issue.is-open .it-issue__no,
.it-issue.is-open .it-issue__title {
  color: var(--it-accent);
}

.it-issue.is-open .it-issue__en {
  color: rgba(255, 204, 51, 0.5);
}

.it-issue.is-open .it-issue__mark {
  transform: rotate(45deg);
  color: var(--it-accent);
  border-color: var(--it-accent);
}

/* 閉状態（max-height:0）は it.js が初期化時にインラインで付ける。
   CSS 側で初期値として max-height:0 を持たせると、it.js が動かなかったときに
   本文が永久に読めなくなるため、ここでは指定しない。 */
.it-issue__panel {
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.it-issue__panel-inner {
  display: flex;
  gap: 32px;
  padding: 0 36px 36px 92px;
}

.it-issue__text {
  flex: 1 1 0;
  min-width: 0;
  font-size: 14px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.65);
}

.it-issue__text p + p {
  margin-top: 28px;
}

.it-issue__quote {
  flex: 1 1 0;
  min-width: 0;
  align-self: flex-start;
  padding: 13px 20px 14px 22px;
  background-color: rgba(255, 204, 51, 0.04);
  border-left: 2px solid rgba(255, 204, 51, 0.3);
  border-radius: 0 4px 4px 0;
}

.it-issue__quote p {
  font-size: 13px;
  line-height: 24.7px;
  color: rgba(255, 255, 255, 0.5);
}

.it-issue__cite {
  display: block;
  margin-top: 10px;
  font-family: var(--it-font-ui);
  font-size: 11px;
  line-height: 19.8px;
  letter-spacing: 1.1px;
  color: rgba(255, 204, 51, 0.5);
  font-style: normal;
}

/* ==========================================================================
   3. 2カラム（CROSS）
   ========================================================================== */
.it-cols {
  display: flex;
  align-items: center;
  gap: 80px;
}

.it-cols__item {
  flex: 1 1 0;
  min-width: 0;
}

/* ==========================================================================
   4. CROSS（ベン図）
   ========================================================================== */
.it-cross__watermark {
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  font-family: var(--it-font-en);
  font-size: 200px;
  line-height: 1;
  letter-spacing: -4px;
  color: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.it-cross .it-inner {
  position: relative;
  z-index: 1;
}

.it-venn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 23px;
  height: 420px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
}

.it-venn__figure {
  position: relative;
  width: 300px;
  height: 210px;
}

.it-venn__circle {
  position: absolute;
  top: 10px;
  display: flex;
  align-items: center;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  font-size: 12px;
  line-height: 19.2px;
  text-align: center;
}

.it-venn__circle--a {
  left: 0;
  padding-left: 17px;
  background-color: rgba(255, 204, 51, 0.1);
  border: 1px solid rgba(255, 204, 51, 0.28);
  color: var(--it-accent);
}

.it-venn__circle--b {
  right: 0;
  justify-content: flex-end;
  padding-right: 17px;
  background-color: rgba(100, 160, 255, 0.08);
  border: 1px solid rgba(100, 160, 255, 0.28);
  color: var(--it-accent-2);
}

.it-venn__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  line-height: 17.6px;
  color: #fff;
  text-align: center;
  white-space: nowrap;
}

.it-venn__caption {
  font-family: var(--it-font-ui);
  font-size: 12px;
  line-height: 21.6px;
  color: rgba(255, 255, 255, 0.25);
  text-align: center;
}

.it-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
}

.it-points li {
  display: flex;
  gap: 16px;
  padding: 16px 20px 16px 22px;
  background-color: rgba(255, 255, 255, 0.03);
  border-left: 2px solid var(--it-accent);
}

.it-points__no {
  flex: 0 0 auto;
  padding-top: 3px;
  font-family: var(--it-font-en);
  font-size: 11px;
  line-height: 19.8px;
  color: var(--it-accent);
}

.it-points p {
  font-size: 14px;
  line-height: 25.2px;
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   5. SERVICES
   ========================================================================== */
.it-services__list {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-top: 64px;
}

.it-service {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 37px 21px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

/* 140px のイラストを高さ 60px 分だけ流れに置き、上下ははみ出させる（Figma の配置）。
   英字見出しがカード上端から 117px（37 + 60 + 20）に来る。 */
.it-service__icon {
  display: block;
  flex-shrink: 0;
  width: 140px;
  max-width: none;
  height: 140px;
  margin: -40.5px 0 -39.5px;
}

/* ホバーでイラストを少し浮かせる。1024px 以下は横スクロールの枠が縦もクリップし、
   浮かせた分が切れるので PC 幅だけにしている。 */
@media (hover: hover) and (min-width: 1025px) {
  .it-service {
    transition: background-color 0.3s, border-color 0.3s;
  }

  .it-service__icon {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .it-service:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
  }

  .it-service:hover .it-service__icon {
    transform: translateY(-8px);
  }
}

.it-service__en {
  margin-top: 20px;
  font-family: var(--it-font-en);
  font-size: 10px;
  line-height: 18px;
  letter-spacing: 1.5px;
  color: var(--it-accent);
  text-align: center;
}

.it-service__title {
  margin-top: 10px;
  font-size: 14px;
  line-height: 21px;
  color: #fff;
  text-align: center;
}

.it-service__text {
  margin-top: 13px;
  font-size: 12px;
  line-height: 22.8px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* ==========================================================================
   6. PROCESS（Figma ver.2: PC = node 153:2109 / SP = node 153:2565）
   左のレールが追従し、画面中央に来た工程に合わせて it.js が番号・目次・進行ラインを切り替える。
   ========================================================================== */
.it-process {
  --it-ease: cubic-bezier(0.23, 1, 0.32, 1);
  /* 右上の淡い光と、62px 間隔の縦線（Figma: white 2.8%） */
  background-image:
    radial-gradient(circle at 80% 12%, rgba(255, 204, 51, 0.09), rgba(255, 204, 51, 0) 20rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, rgba(255, 255, 255, 0) 1px);
  background-size: auto, 62px 100%;
}

/* sticky を効かせるため、共通の overflow:hidden を外す（clip ならはみ出しは切ったまま sticky が動く） */
.it-page .it-process {
  overflow: clip;
}

.it-process__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 351px;
  gap: 64px;
  align-items: end;
  margin-bottom: 72px;
}

.it-page .it-process__title {
  padding-top: 0;
}

.it-process__intro-text {
  font-size: 15px;
  line-height: 31.5px;
  color: #bac1d1;
}

.it-process__layout {
  display: grid;
  grid-template-columns: 318px minmax(0, 1fr);
  gap: 115px;
  align-items: start;
}

.it-process__rail {
  align-self: stretch;
  min-width: 0;
}

/* 共通ヘッダ（additional.css の nav: position fixed / top 5%）に潜らない高さで止める */
.it-process__rail-sticky {
  position: sticky;
  top: 100px;
  padding: 20px 0 26px;
}

.it-process__current {
  position: relative;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.it-process__current::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 54px;
  height: 2px;
  background-color: var(--it-accent);
}

.it-process__current-label {
  margin-bottom: 9px;
  font-family: var(--it-font-en);
  font-size: 9px;
  line-height: 16.2px;
  letter-spacing: 1.26px;
  color: rgba(255, 255, 255, 0.43);
}

.it-process__current-no {
  font-family: var(--it-font-en);
  font-size: 158px;
  line-height: 120px;
  letter-spacing: -0.075em;
  text-indent: -0.08em;
  text-shadow: 1px 0 rgba(255, 255, 255, 0.2);
  color: var(--it-accent);
}

.it-process__current-total {
  margin: 13px 0 21px 5px;
  font-family: var(--it-font-en);
  font-size: 11px;
  line-height: 19.8px;
  letter-spacing: 1.21px;
  color: rgba(255, 255, 255, 0.38);
}

.it-process__current-phase {
  margin-bottom: 7px;
  font-size: 10px;
  line-height: 18px;
  letter-spacing: 1.2px;
  color: var(--it-accent);
}

.it-process__current-title {
  font-size: 29px;
  line-height: 42px;
  letter-spacing: 1.16px;
  color: #fff;
}

.it-process__current-short {
  margin-top: 4px;
  font-size: 14px;
  line-height: 23.8px;
  color: #bac1d1;
}

/* --- 目次（縦の進行ライン付き） --- */
.it-process__index {
  position: relative;
  margin-top: 24px;
}

.it-process__index ol {
  display: grid;
  gap: 5px;
}

.it-process__index a {
  display: grid;
  grid-template-columns: 26px 7px minmax(0, 1fr);
  gap: 10px;
  min-height: 36px;
  padding: 3px 0;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.18s var(--it-ease);
}

.it-process__index a > span {
  font-family: var(--it-font-en);
  font-size: 10px;
  line-height: 18px;
  letter-spacing: 0.8px;
}

.it-process__index a i {
  position: relative;
  z-index: 1;
  width: 7px;
  height: 7px;
  margin-top: 3px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background-color: var(--it-bg);
  transition: transform 0.18s var(--it-ease);
}

.it-process__index a b {
  overflow: hidden;
  padding-left: 6px;
  font-size: 12px;
  font-weight: 400;
  line-height: 17.4px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.it-process__index a:hover,
.it-process__index a.is-active {
  color: #fff;
}

.it-process__index a.is-active > span {
  color: var(--it-accent);
}

.it-process__index a.is-active i {
  border-color: var(--it-accent);
  background-color: var(--it-accent);
  box-shadow: 0 0 0 4px rgba(255, 204, 51, 0.11);
  transform: scale(1.15);
}

/* 進行ライン。--it-progress（0〜1）は it.js が入れる。丸の中心 = 26px + 10px + 3.5px に合わせる */
.it-process__track,
.it-process__fill {
  position: absolute;
  width: 1px;
}

.it-process__track {
  top: 8px;
  bottom: 8px;
  left: 39px;
  background-color: rgba(255, 255, 255, 0.2);
}

.it-process__fill {
  inset: 0 auto 0 0;
  background-color: var(--it-accent);
  transform: scaleY(var(--it-progress, 0));
  transform-origin: top;
  transition: transform 0.22s var(--it-ease);
}

/* --- 右の6工程 --- */
.it-process__story {
  min-width: 0;
}

.it-process__phase {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 41px;
  font-size: 10px;
  letter-spacing: 1.4px;
  color: rgba(255, 255, 255, 0.51);
}

.it-process__phase::before,
.it-process__phase::after {
  content: "";
  height: 1px;
  background-color: rgba(255, 255, 255, 0.21);
}

.it-process__phase::before {
  width: 27px;
  background-color: var(--it-accent);
}

.it-process__phase::after {
  flex: 1;
}

.it-step {
  position: relative;
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 38px;
  min-height: 207px;
  padding: 27px 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  /* 目次のリンクで飛んだとき、共通ヘッダの下に隠れないようにする */
  scroll-margin-top: 30vh;
}

/* 選択中の工程の上辺に出る黄色いバー */
.it-step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 62px;
  height: 2px;
  background-color: var(--it-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--it-ease);
}

.it-step.is-active::before {
  transform: scaleX(1);
}

.it-step__no {
  padding-top: 5px;
  font-family: var(--it-font-en);
  font-size: 66px;
  line-height: 0.9;
  letter-spacing: -0.07em;
  color: rgba(255, 255, 255, 0.22);
  transition: color 0.22s var(--it-ease);
}

.it-step.is-active .it-step__no {
  color: var(--it-accent);
}

.it-step__main {
  min-width: 0;
}

.it-step__en {
  margin-bottom: 6px;
  font-family: var(--it-font-en);
  font-size: 10px;
  letter-spacing: 1.3px;
  color: var(--it-accent);
}

.it-step__title {
  font-size: 31px;
  line-height: 1.35;
  letter-spacing: 1.1px;
  color: #fff;
}

.it-step__short {
  margin: 3px 0 12px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.it-step__body {
  max-width: 530px;
  font-size: 14px;
  line-height: 1.88;
  color: #bac1d1;
}

.it-step__lines {
  display: grid;
  gap: 4px;
  max-width: 560px;
  margin: 16px 0 0;
}

.it-step__lines div {
  display: grid;
  grid-template-columns: 5.9em minmax(0, 1fr);
  gap: 12px;
  font-size: 13px;
  line-height: 1.65;
}

.it-step__lines dt {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 204, 51, 0.74);
}

.it-step__lines dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.it-step__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}

.it-step__tags li {
  padding: 4px 7px;
  border: 1px solid rgba(255, 204, 51, 0.5);
  font-size: 11px;
  line-height: 1.3;
  color: var(--it-accent);
}

/* --- 末尾の注記と相談リンク --- */
.it-process__closing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  max-width: 770px;
  margin: 46px 0 0 auto;
}

.it-process__notice {
  max-width: 470px;
  font-size: 14px;
  line-height: 1.85;
  color: #bac1d1;
}

.it-process__contact {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 46px;
  padding: 10px 0;
  border-bottom: 1px solid var(--it-accent);
  font-size: 15px;
  line-height: 1.5;
  color: #fff;
}

.it-process__contact span {
  font-family: var(--it-font-en);
  font-size: 17px;
  color: var(--it-accent);
  transition: transform 0.18s var(--it-ease);
}

.it-process__contact:hover {
  color: var(--it-accent);
}

.it-process__contact:hover span {
  transform: translateX(4px);
}

/* ==========================================================================
   7. WORKS
   ========================================================================== */
.it-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}

.it-filter__btn {
  height: 36px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  font-family: var(--it-font-ui);
  font-size: 12px;
  line-height: 34px;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}

.it-filter__btn:hover {
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.35);
}

.it-filter__btn.is-active {
  color: var(--it-accent);
  border-color: var(--it-accent);
  background-color: rgba(255, 204, 51, 0.05);
}

.it-works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* 3件制限と「MORE WORKS」の出し入れは CSS では一切やらず、すべて it.js に任せている。
   CSS で先に隠すと、it.js が読み込めなかった／落ちたときに4件目以降が永久に見えなくなる。
   初期状態は「全件表示・MOREは hidden（page-it.php が付与）」で、
   JSが動いたときだけ3件に絞られる = 失敗しても情報が欠けない向きに倒してある。 */

.it-work {
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.it-work__thumb {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 24px;
  aspect-ratio: 382 / 159;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background-image:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 204, 51, 0.05) 0%, rgba(255, 204, 51, 0) 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.07) 100%);
}

/* aspect-ratio 非対応ブラウザ向けのフォールバック */
@supports not (aspect-ratio: 1) {
  .it-work__thumb {
    height: 160px;
  }
}

.it-work__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 画像の上でもカテゴリ名が読めるように暗幕を敷く */
.it-work__thumb img + .it-work__veil {
  position: absolute;
  inset: 0;
  background-color: rgba(19, 21, 31, 0.55);
}

/* ホバーで画像を寄せ、暗幕を薄くする。カードはリンクではないので、カーソルは変えず控えめに。 */
.it-work__thumb {
  overflow: hidden;
}

@media (hover: hover) {
  .it-work {
    transition: border-color 0.3s;
  }

  .it-work__thumb img {
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .it-work__thumb img + .it-work__veil {
    transition: background-color 0.4s;
  }

  .it-work:hover {
    border-color: rgba(255, 204, 51, 0.3);
  }

  .it-work:hover .it-work__thumb img {
    transform: scale(1.05);
  }

  .it-work:hover .it-work__thumb img + .it-work__veil {
    background-color: rgba(19, 21, 31, 0.4);
  }
}

/* 絞り込み・MORE WORKS で新しく現れたカード（it.js が .is-entering と遅延を付ける） */
@media (prefers-reduced-motion: no-preference) {
  .it-work.is-entering {
    animation: it-fade-up 0.5s cubic-bezier(0.23, 1, 0.32, 1) var(--it-enter-delay, 0s) backwards;
  }
}

.it-work__cat,
.it-work__placeholder {
  position: relative;
  z-index: 1;
  text-align: center;
}

.it-work__cat {
  font-family: var(--it-font-en);
  font-size: 11px;
  line-height: 18px;
  letter-spacing: 0.5px;
  color: var(--it-accent);
}

.it-work__placeholder {
  font-size: 12px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.25);
}

.it-work__body {
  padding: 24px;
}

.it-work__title {
  font-size: 16px;
  line-height: 28.8px;
  color: #fff;
}

.it-work__excerpt {
  margin-top: 10px;
  font-size: 13px;
  line-height: 24.7px;
  color: rgba(255, 255, 255, 0.5);
}

.it-work__excerpt b {
  font-family: var(--it-font-ui);
  font-size: 11px;
  font-weight: 700;
  line-height: 20.9px;
  letter-spacing: 0.55px;
  color: rgba(255, 255, 255, 0.75);
}

.it-works__more {
  margin-top: 48px;
  text-align: center;
}

.it-works__more button {
  min-width: 184px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--it-font-en);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 2.8px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}

.it-works__more button:hover {
  color: var(--it-bg);
  background-color: var(--it-accent);
  border-color: var(--it-accent);
}

/* ==========================================================================
   8. CULTURE（Figma ver.2: PC = node 153:2462 / SP = node 153:2804）
   タブ（it.js）で3つの価値観を切り替える。軌道図のリングは CSS だけで回し続ける。
   ========================================================================== */
.it-culture {
  --it-ease: cubic-bezier(0.23, 1, 0.32, 1);
  background-color: #151a27;
  background-image: radial-gradient(ellipse at 14% 62%, rgba(78, 104, 169, 0.12), rgba(78, 104, 169, 0) 38%);
}

/* 左から右へ消えていく 56px 方眼 */
.it-culture__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, rgba(255, 255, 255, 0) 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, rgba(255, 255, 255, 0) 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 76%);
  mask-image: linear-gradient(90deg, #000, transparent 76%);
}

.it-culture .it-inner {
  position: relative;
  max-width: 1100px;
}

.it-culture__masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  padding-bottom: 36px;
}

.it-page .it-culture__title {
  padding-top: 13px;
  font-size: 36px;
  line-height: 52.92px;
  letter-spacing: 0.72px;
}

.it-culture__title em {
  font-style: normal;
  color: var(--it-accent);
  white-space: nowrap;
}

.it-culture__intro {
  margin-bottom: 3px;
  padding-left: 23px;
  border-left: 1px solid rgba(255, 204, 51, 0.42);
  font-size: 16px;
  line-height: 28.8px;
  color: #e0e5ee;
}

.it-culture__intro span {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 21.6px;
  color: #aeb8ca;
}

/* --- タブ --- */
.it-culture__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.it-culture__tab {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-height: 72px;
  padding: 17px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  line-height: 1.6;
  color: #afb8ca;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.16s var(--it-ease), color 0.16s var(--it-ease);
}

.it-culture__tab:last-child {
  border-right: 0;
}

.it-culture__tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background-color: var(--it-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.16s var(--it-ease);
}

.it-culture__tab:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.024);
}

.it-culture__tab[aria-selected="true"] {
  color: #fff;
  background-color: rgba(255, 204, 51, 0.055);
}

.it-culture__tab[aria-selected="true"]::after {
  transform: scaleX(1);
}

.it-culture__tab-no {
  align-self: start;
  padding-top: 3px;
  font-family: var(--it-font-en);
  font-size: 11px;
  letter-spacing: 1.1px;
  color: #a4acc0;
}

.it-culture__tab[aria-selected="true"] .it-culture__tab-no {
  color: var(--it-accent);
}

.it-culture__tab strong {
  font-weight: 400;
}

.it-culture__tab-short {
  display: none;
}

/* タブの下辺のバーと重ならないよう、フォーカスリングは内側に出す */
.it-page .it-culture__tab:focus-visible {
  outline-offset: -3px;
}

/* --- 本文と軌道図 --- */
.it-culture__layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
  padding-top: 38px;
}

.it-culture__panels {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  min-width: 0;
}

/* JS が動かない環境ではタブ列が hidden のまま出ないので、3つの本文を縦に並べて全部読めるようにする */
.it-culture__panel + .it-culture__panel {
  margin-top: 56px;
}

/* JS が動いたら（.is-ready）3つを同じマスに重ね、選択中以外を隠す。
   display:none ではなく visibility にしているのは、一番長い本文の高さで枠を固定し、
   切り替えのたびに下のセクションが上下に動かないようにするため。 */
.it-culture.is-ready .it-culture__panel {
  grid-area: 1 / 1;
  margin-top: 0;
}

.it-culture.is-ready .it-culture__panel:not(.is-active) {
  visibility: hidden;
}

.it-page .it-culture__panel:focus-visible {
  outline: 2px solid var(--it-accent);
  outline-offset: 4px;
}

.it-culture__statement {
  margin-bottom: 10px;
  font-family: var(--it-font-en);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 1.1px;
  color: var(--it-accent);
}

.it-culture__statement span {
  margin-right: 10px;
  color: #a9b3c9;
}

.it-culture__panel-title {
  margin-bottom: 21px;
  font-size: 29px;
  line-height: 1.65;
  letter-spacing: 0.29px;
  color: #fff;
}

.it-culture__paragraphs p {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.95;
  color: #bdc5d5;
  overflow-wrap: anywhere;
}

.it-culture__paragraphs p:first-child {
  font-size: 17px;
  color: #edf0f5;
}

.it-culture__paragraphs .it-culture__conclusion {
  margin: 23px 0 0;
  padding: 11px 0 11px 19px;
  border-left: 2px solid var(--it-accent);
  font-size: 17px;
  line-height: 1.85;
  color: #fff0b5;
}

/* --- 軌道図 --- */
.it-culture__diagram {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  width: min(100%, 300px);
  min-width: 0;
  /* ノードの軌道半径を図の幅（cqw）から決める */
  container-type: inline-size;
}

.it-culture__diagram-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  font-family: var(--it-font-en);
  font-size: 8px;
  letter-spacing: 0.96px;
  color: #919eb5;
}

.it-culture__stage {
  --it-radius-outer: 39cqw;
  --it-radius-middle: 32cqw;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.it-culture__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.it-culture__ring--inner {
  width: 38%;
  height: 38%;
  border-color: rgba(255, 204, 51, 0.22);
}

.it-culture__ring--middle {
  width: 65%;
  height: 65%;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.18);
  animation: it-orbit-spin 38s linear infinite;
}

.it-culture__ring--outer {
  width: 94%;
  height: 94%;
  border-color: rgba(255, 204, 51, 0.22);
  animation: it-orbit-spin 58s linear infinite reverse;
}

/* 軌道を周回する光の点 */
.it-culture__ring--middle::before,
.it-culture__ring--outer::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--it-accent);
  box-shadow: 0 0 10px rgba(255, 204, 51, 0.6);
}

/* 画面外にある間は回さない（.is-offscreen は it.js が付け外しする） */
.it-culture.is-offscreen .it-culture__ring {
  animation-play-state: paused;
}

@keyframes it-orbit-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.it-culture__core {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 59px;
  height: 59px;
  border: 1px solid rgba(255, 204, 51, 0.7);
  border-radius: 50%;
  background-color: #202332;
  font-family: var(--it-font-en);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.63px;
  text-align: center;
  color: var(--it-accent);
  transform: translate(-50%, -50%);
}

/* ノードは中心から --it-node-angle の方向へ半径分ずらし、向きは元に戻す */
.it-culture__node {
  --it-node-radius: var(--it-radius-outer);
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 72px;
  min-height: 61px;
  padding: 6px 0;
  font-family: var(--it-font-en);
  text-align: center;
  color: #a7b1c5;
  cursor: pointer;
  transform:
    rotate(var(--it-node-angle))
    translate(var(--it-node-radius))
    rotate(calc(-1 * var(--it-node-angle)))
    translate(-50%, -50%);
}

.it-culture__node--middle {
  --it-node-radius: var(--it-radius-middle);
}

.it-culture__node i {
  display: block;
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.it-culture__node span {
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.9px;
}

.it-culture__node strong {
  font-size: 9px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.54px;
}

.it-culture__node:hover {
  color: #fff;
}

.it-culture__node.is-active {
  color: var(--it-accent);
}

.it-culture__node.is-active i {
  background-color: var(--it-accent);
  outline: 1px solid rgba(255, 204, 51, 0.25);
  outline-offset: 3px;
}

.it-culture__reading {
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--it-font-en);
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #adb6c8;
}

/* ==========================================================================
   9. CONTACT
   ========================================================================== */
.it-contact {
  padding: 159px 120px 160px;
  text-align: center;
}

.it-contact__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 450px;
  max-width: 100%;
  transform: translate(-50%, -50%);
  background-image: radial-gradient(ellipse at center, rgba(255, 204, 51, 0.05) 0%, rgba(255, 204, 51, 0) 70%);
  pointer-events: none;
}

.it-contact .it-inner {
  position: relative;
  z-index: 1;
}

.it-page .it-contact__title {
  margin-top: 19px;
  padding-top: 13px;
  font-size: 44px;
  line-height: 70.4px;
}

.it-contact__lead {
  max-width: 600px;
  margin: 32px auto 0;
  font-size: 15px;
  line-height: 33px;
  color: rgba(255, 255, 255, 0.6);
}

.it-contact__lead p + p {
  margin-top: 33px;
}

.it-contact__action {
  margin-top: 32px;
}

.it-contact__action .it-btn {
  padding: 18px 57px 19px;
  font-size: 15px;
  letter-spacing: 3px;
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.35);
}

.it-contact__action .it-btn:hover {
  background-color: var(--it-accent);
  border-color: var(--it-accent);
}

.it-contact__note {
  margin-top: 19px;
  font-size: 12px;
  line-height: 22.6px;
  color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   10. FOOTER（このページ専用。共通 footer.php の代わり）
   ========================================================================== */
.it-footer {
  padding: 49px 24px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background-color: var(--it-bg);
  font-family: var(--it-font-ui);
  font-size: 12px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.25);
  text-align: center;
}

/* 法令表示リンク。コピーライトより少し明るくして、確実に見つかるようにする */
.it-footer__links {
  margin-bottom: 12px;
}

.it-footer__links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}

.it-footer__links a:hover {
  color: var(--it-accent);
}

/* ==========================================================================
   タブレット（〜1024px）
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .it-section {
    padding: 80px 40px;
  }

  .it-head__en {
    font-size: 56px;
    line-height: 56px;
  }

  .it-page h2 {
    font-size: 28px;
    line-height: 44px;
  }

  .it-lead__en {
    font-size: 48px;
    line-height: 48px;
  }

  /* 2カラムを1カラムに */
  .it-cols {
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
  }

  .it-cross__inner {
    flex-direction: column-reverse;
  }

  .it-cross__watermark {
    font-size: 120px;
  }


  /* SERVICES は横スクロール */
  .it-services__list {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 8px;
  }

  .it-service {
    flex: 0 0 auto;
    width: 200px;
    scroll-snap-align: start;
  }

  /* 横スクロールの枠は縦もクリップするので、カード上端からはみ出さない位置に寄せる */
  .it-service__icon {
    margin: -37px 0 -43px;
  }

  .it-works__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .it-contact {
    padding: 100px 40px;
  }

  .it-page .it-contact__title {
    font-size: 32px;
    line-height: 52px;
  }

  /* 画像の左側（暗い部分）が切れて文字に絵が重なるので、左から暗くして読めるようにする */
  .it-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(13, 18, 32, 0.85) 0%, rgba(13, 18, 32, 0.55) 45%, rgba(13, 18, 32, 0) 80%);
    pointer-events: none;
  }

  .it-hero__title {
    font-size: 40px;
    line-height: 62px;
  }

  .it-hero__lead {
    padding-top: 32px;
    font-size: 16px;
    line-height: 27px;
  }

  .it-hero__lead p + p {
    margin-top: 27px;
  }

  .it-big-en {
    font-size: 48px;
    line-height: 48px;
  }

  /* --- PROCESS --- */
  .it-process__intro {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-bottom: 56px;
  }

  .it-process__layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
  }

  .it-process__current-no {
    font-size: 112px;
    line-height: 85px;
  }

  .it-process__current-title {
    font-size: 22px;
    line-height: 32px;
  }

  .it-process__index a {
    grid-template-columns: 24px 7px minmax(0, 1fr);
    gap: 7px;
  }

  .it-process__track {
    left: 34px;
  }

  .it-step {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 16px;
  }

  .it-step__no {
    font-size: 43px;
  }

  .it-step__title {
    font-size: 24px;
  }

  /* --- CULTURE --- */
  .it-culture__masthead {
    grid-template-columns: 1fr;
    gap: 21px;
  }

  .it-page .it-culture__title {
    font-size: 30px;
    line-height: 46px;
  }

  .it-culture__tab-full {
    display: none;
  }

  .it-culture__tab-short {
    display: block;
  }

  .it-culture__layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 29px;
  }

  .it-culture__panels,
  .it-culture__diagram {
    grid-column: 1;
  }

  .it-culture__diagram {
    grid-row: 2;
    width: min(100%, 260px);
  }
}

/* ==========================================================================
   SP（〜600px）Figma: node 26:671
   ========================================================================== */
@media screen and (max-width: 600px) {
  .it-page .it-br-sp {
    display: inline;
  }

  .it-section {
    padding: 60px 24px;
  }

  .it-inner {
    max-width: none;
  }

  /* --- セクション見出し --- */
  .it-head__en {
    font-size: 40px;
    line-height: 40px;
    letter-spacing: 2px;
  }

  .it-page h2 {
    font-size: 22px;
    line-height: 31px;
  }

  .it-page .it-head__title {
    padding-top: 12px;
  }

  .it-lead__en {
    font-size: 32px;
    line-height: 36px;
  }

  .it-lead__text {
    font-size: 14px;
    line-height: 29px;
  }

  /* --- ISSUES --- */
  .it-issues__list {
    margin-top: 40px;
  }

  /* 左右に 16px の余白を取ると、見出し「定着しないシステム」（18px×9文字＝162px）が
     375px 幅で折り返す。英字ラベルを隠し、gap も 12 に詰めて1行に収める。 */
  .it-issue__head {
    gap: 12px;
    padding: 28px 16px;
  }

  .it-issue__no {
    min-width: 28px;
  }

  .it-issue__title {
    font-size: 18px;
  }

  .it-issue__en {
    display: none;
  }

  /* SP は本文と引用が 57:43。PC のような左インデントは付けず、見出しと同じ左右余白だけ取る */
  .it-issue__panel-inner {
    padding: 0 16px 28px;
    gap: 0;
  }

  .it-issue__text {
    flex: 0 0 57%;
    padding-right: 10px;
    font-size: 13px;
    line-height: 26px;
  }

  .it-issue__quote {
    flex: 1 1 auto;
    padding: 13px 10px 14px 14px;
  }

  .it-issue__quote p {
    font-size: 12px;
    line-height: 23px;
  }

  /* --- CROSS --- */
  .it-cross__watermark {
    font-size: 72px;
    letter-spacing: -2px;
  }

  .it-venn {
    height: 340px;
  }

  .it-venn__figure {
    transform: scale(0.95);
  }

  .it-points li {
    padding: 16px 16px 16px 18px;
  }

  .it-points p {
    font-size: 13px;
    line-height: 25px;
  }

  /* --- SERVICES --- */
  /* scroll-padding が無いと、scroll-snap が1枚目をスクロール枠の端に吸着させ、
     左の padding 分だけ初期位置がずれて余白が消える */
  .it-services__list {
    margin: 40px -24px 0;
    padding: 0 24px 8px;
    scroll-padding-inline: 24px;
  }

  .it-service {
    width: 132px;
    padding: 37px 12px;
  }

  .it-service__icon {
    width: 100px;
    height: 100px;
    margin: -20px 0;
  }

  .it-service__title {
    font-size: 13px;
  }

  .it-service__text {
    font-size: 11px;
    line-height: 21px;
  }

  /* --- WORKS --- */
  .it-filter {
    margin-top: 40px;
    gap: 8px;
  }

  .it-filter__btn {
    font-size: 11px;
    padding: 0 12px;
  }

  .it-works__grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .it-works__more {
    margin-top: 40px;
  }

  /* --- CONTACT --- */
  .it-contact {
    padding: 60px 24px;
  }

  .it-page .it-contact__title {
    font-size: 24px;
    line-height: 38px;
  }

  .it-contact__lead {
    font-size: 14px;
    line-height: 33px;
  }

  .it-contact__action .it-btn {
    padding: 18px 40px 19px;
    font-size: 14px;
  }

  .it-page .it-br-pc {
    display: none;
  }

  /* --- HERO --- */
  /* SP の絵（390×693）は下半分に主役があるので、文字は上に寄せ、絵は下端で合わせる。
     高さ 196vw = Figma のヘッダ帯 74px ＋ 絵 693px を幅 390px で割った比率。 */
  .it-hero {
    align-items: flex-start;
    min-height: 196vw;
    padding: 156px 0 0;
  }

  .it-hero__visual img {
    object-position: center bottom;
  }

  /* SP の絵は上が暗く、文字の位置に主役が来ないのでグラデーションは要らない */
  .it-hero::after {
    content: none;
  }

  /* 左右を Figma（41px）より詰めている。11px に上げた本文の最長行（28文字）を 375px 幅で1行に収めるため */
  .it-hero__body {
    padding: 0 24px;
  }

  .it-hero__title {
    font-size: 24px;
    line-height: 36px;
  }

  /* Figma は 9px だが、本文として読める大きさに上げている（意図的） */
  .it-hero__lead {
    padding-top: 22px;
    font-size: 11px;
    line-height: 19px;
    letter-spacing: 0;
  }

  .it-hero__lead p + p {
    margin-top: 19px;
  }

  .it-big-en {
    font-size: 40px;
    line-height: 40px;
  }

  /* --- PROCESS --- */
  .it-process {
    background-size: auto, 42px 100%;
  }

  .it-page .it-process__title {
    font-size: 26px;
    line-height: 38px;
  }

  .it-process__intro {
    margin-bottom: 40px;
  }

  .it-process__intro-text {
    font-size: 14px;
    line-height: 28px;
  }

  .it-process__layout {
    display: block;
  }

  /* SP はレールごと画面上部に追従させ、下の工程だけが流れる。画面を覆いすぎないよう、
     目次は番号だけの1行に縮める。背景を敷いて、下を流れる工程を透かさない。
     上端は固定表示のロゴ（.toplogo）とハンバーガーが重なるので、その高さ分を空ける。
     z-index は 1。2 にすると、同じ 2 で先に描かれる SP のサイドメニュー（.sidemenu）より前に出る。 */
  .it-process__rail {
    position: sticky;
    top: 0;
    z-index: 1;
    margin: -40px -24px 32px;
    padding: 64px 24px 12px;
    background-color: var(--it-bg);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .it-process__rail-sticky {
    position: static;
    padding: 0;
  }

  .it-process__current {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    padding-bottom: 17px;
  }

  .it-process__current > p {
    grid-column: 2;
  }

  .it-process__current-label {
    align-self: end;
    margin: 3px 0 5px;
    font-size: 8px;
  }

  .it-process__current .it-process__current-no {
    grid-column: 1;
    grid-row: 1 / span 5;
    align-self: center;
    font-size: 80px;
    line-height: 61px;
  }

  .it-process__current-total {
    margin: 0 0 7px;
    font-size: 9px;
  }

  .it-process__current-phase {
    margin-bottom: 3px;
    font-size: 9px;
  }

  .it-process__current-title {
    font-size: 20px;
    line-height: 29px;
  }

  .it-process__current-short {
    margin-top: 1px;
  }

  /* 目次は番号だけのボタンを1行に並べる。工程名は現在の工程の欄に出ているので、
     リンクの読み上げ名として残したまま見た目だけ隠す */
  .it-process__index {
    margin-top: 12px;
  }

  .it-process__index ol {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
  }

  .it-process__index a {
    display: block;
    padding: 6px 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
  }

  .it-process__index a > span {
    display: block;
    font-size: 11px;
  }

  .it-process__index a i,
  .it-process__track {
    display: none;
  }

  .it-process__index a b {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .it-process__index a.is-active {
    border-color: var(--it-accent);
    background-color: rgba(255, 204, 51, 0.08);
  }

  .it-process__phase {
    height: 37px;
    gap: 11px;
    font-size: 9px;
  }

  .it-process__phase::before {
    width: 18px;
  }

  .it-step {
    grid-template-columns: 45px minmax(0, 1fr);
    gap: 11px;
    min-height: 0;
    padding: 23px 0 27px;
  }

  .it-step::before {
    width: 39px;
  }

  .it-step__no {
    padding-top: 3px;
    font-size: 35px;
  }

  .it-step__en {
    margin-bottom: 4px;
    font-size: 9px;
  }

  .it-step__title {
    font-size: 22px;
  }

  .it-step__short {
    margin: 2px 0 10px;
    font-size: 14px;
  }

  .it-step__lines {
    gap: 7px;
    margin-top: 14px;
  }

  .it-step__lines div {
    display: block;
    font-size: 14px;
  }

  .it-step__lines dt {
    margin-bottom: 1px;
  }

  .it-process__closing {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .it-process__contact {
    width: fit-content;
  }

  /* --- CULTURE --- */
  .it-culture__masthead {
    padding-bottom: 30px;
  }

  /* 「でも、ひとりにはしない。」（12文字）を 375px 幅で1行に収める大きさ */
  .it-page .it-culture__title {
    font-size: 26px;
    line-height: 40px;
  }

  .it-culture__intro {
    padding-left: 0;
    border-left: 0;
    font-size: 13px;
    line-height: 23px;
  }

  .it-culture__intro span {
    margin-top: 6px;
  }

  .it-culture__tab {
    grid-template-columns: 1fr;
    gap: 5px;
    min-height: 72px;
    padding: 11px 7px;
    text-align: center;
  }

  .it-culture__tab-no {
    padding-top: 0;
    font-size: 10px;
  }

  .it-culture__tab-short {
    font-size: 12px;
    white-space: nowrap;
  }

  .it-culture__panel-title {
    margin-bottom: 17px;
    font-size: 23px;
  }

  .it-culture__paragraphs p {
    font-size: 15px;
  }

  .it-culture__paragraphs p:first-child,
  .it-culture__paragraphs .it-culture__conclusion {
    font-size: 16px;
  }

  .it-culture__paragraphs .it-culture__conclusion {
    margin-top: 21px;
    padding-left: 15px;
  }

  .it-culture__diagram {
    width: min(100%, 230px);
  }

  .it-culture__stage {
    --it-radius-middle: 34cqw;
  }

  .it-culture__node {
    width: 60px;
    min-height: 58px;
  }

  .it-culture__node strong {
    font-size: 8px;
    letter-spacing: 0.16px;
  }

  .it-culture__core {
    width: 52px;
    height: 52px;
    font-size: 8px;
  }
}

/* ==========================================================================
   動きを減らす設定（OS の「視差効果を減らす」等）
   KV のフェードアップと軌道の回転を止め、切り替えのトランジションも外す。
   スクロール出現と WORKS の再出現は、no-preference の中にだけ書いてあるのでここには無い。
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .it-fade-up,
  .it-culture__ring {
    animation: none;
  }

  .it-process *,
  .it-process *::before,
  .it-culture *,
  .it-culture *::before,
  .it-culture *::after {
    transition: none;
  }

  /* ホバーの浮き上がり・ズームは動き自体をやめる（色の変化は残す） */
  .it-page .it-service:hover .it-service__icon,
  .it-page .it-work:hover .it-work__thumb img {
    transform: none;
  }
}
