/* ==========================================================================
   ワーレックス株式会社 TOPページ
   coding-rules-xd.md / coding-standards.md 準拠
   基準幅: PC 1280px（コンテンツ幅1120px, 左右余白80px）/ SP 480px
   ブレークポイント: 768px以下でSPレイアウト（※推定。確認事項リスト参照）
   ========================================================================== */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}

/* === CSS Custom Properties（デザイントークン / TOP_SPEC.md §2 準拠） === */
:root {
  /* --- 基準幅・ブレークポイント --- */
  --pc-artboard: 1280px;
  --pc-content-width: 1120px; /* 左右余白80pxを含めた外枠は1200px */
  --pc-container-max: 1200px; /* = content-width(1120) + padding(40*2) */
  --sp-artboard: 480px;
  --bp-sp: 768px; /* 要確認: シート未記入のため推定 */

  /* --- Color --- */
  --color-primary: #A00000; /* ヘッダー赤・ボタン・スラッシュ等。#AE0000は統一のため使用しない（確認事項6） */
  --color-text: #000000;
  --color-text-label: #211815;
  --color-heading-en: #F5E5E5;
  --color-border-label: #666666;
  --color-border-card: #DCE0DE;
  --color-border-photo: #EEEDED;
  --color-divider-sp: #929292;
  --color-footer-bg: #232323;
  --color-bg-grad-end: #EAE9E9;
  --color-white: #FFFFFF;

  /* --- Gradient --- */
  --grad-diagonal: linear-gradient(135deg, var(--color-white) 0%, var(--color-bg-grad-end) 100%);
  --grad-vertical: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg-grad-end) 100%);
  --grad-briefing-bg: linear-gradient(146deg, var(--color-white) 0%, var(--color-bg-grad-end) 100%); /* 要確認: 角度は近似値 */

  /* --- Shadow --- */
  --shadow-header: 4px 4px 10px rgba(0, 0, 0, 0.29);
  --shadow-cta-pc: 2px 2px 2px rgba(0, 0, 0, 0.18);
  --shadow-hamburger-sp: 0 1px 2px rgba(0, 0, 0, 0.10);
  --shadow-cta-sp: 2px 1px 2px rgba(0, 0, 0, 0.18);

  /* --- Font --- */
  --font-body: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --fw-black: 900;

  /* フォントサイズ（px値 ÷16 = rem。coding-rules-xd.md §1-1） */
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-17: 1.0625rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-21: 1.3125rem;
  --fs-22: 1.375rem;
  --fs-24: 1.5rem;
  --fs-30: 1.875rem;
  --fs-40: 2.5rem;
  --fs-80: 5rem;
  --fs-sp-40: 2.5rem;

  /* 行送り（単位なし比率。coding-rules-xd.md §1-1） */
  --lh-single: 1; /* 単行見出し */
  --lh-about-h2: 1.4175;   /* 56.7/40 */
  --lh-briefing-h2: 1.665; /* 66.6/40 */
  --lh-body-18: 1.889;     /* 34/18 ABOUT・SERVICE説明文 */
  --lh-card-18: 1.575;     /* 28.35/18 カード本文・RECRUIT本文・会社説明会本文 */
  --lh-list-18: 1.578;     /* 28.4/18 会社説明会 箇条書き */
  --lh-interview-21: 1.486; /* 31.2/21 */
  --lh-jobs-18: 1.572;     /* 28.3/18 */
  --lh-linkcard-22: 1.577; /* 34.7/22 */
  --lh-footer-addr: 1.75;  /* 28/16 */
  --lh-sp-h2: 1.418;       /* 31.2/22 */
  --lh-sp-body: 1.594;     /* 25.5/16 */
  --lh-sp-linkcard: 1.26;  /* 22.7/18 */
  --lh-sp-list: 1.417;     /* 25.5/18 */
  --lh-sp-footer: 1.594;   /* 25.5/16 */

  /* 字間（値÷1000em。coding-rules-xd.md §1-1） */
  --ls-none: 0;
  --ls-006: 0.06em;
  --ls-005: 0.05em;
  --ls-01: 0.1em;

  /* --- Layout --- */
  --header-height-pc: 136.2px;
  --header-height-sp: 104px;
  --sp-fixed-cta-height: 60px; /* SP固定バナー（電話・求人応募フォーム）の高さ。768px以下で body の下余白にも使う（クライアント修正依頼 TOP No.5） */
  --section-gap-heading: calc(121.7px - var(--container-inset)); /* 全セクション見出しink左端=121.7pxに統一（確認事項7）。.containerの内容領域は左側に--container-inset分の余白があるため、絶対x座標から差し引いた値をpadding-leftとして使用する */

  /* 斜めカットはすべて22.5°（水平オフセット = 高さ×0.4142）。各要素のclip-path座標はTOP_SPEC.mdの実測値をpxで直接指定 */
  --slant-ratio: 0.4142; /* 22.5°斜めカットの水平オフセット比率（÷高さ）。coding-rules-xd.md §5 */
  --container-inset: 80px; /* .containerの内容領域左端 = 仕様の絶対x − 80px（coding-rules-xd.md §5） */

  --transition-base: 0.3s ease; /* 要確認: ホバー仕様はシート未記入のため推定（確認事項2） */
  --hover-opacity: .8; /* 要確認: ホバー仕様はシート未記入のため推定（確認事項2）。.u-hover-fade で使用 */
}

/* === Typography Utilities === */
.en-heading {
  font-size: var(--fs-80);
  font-weight: var(--fw-bold);
  line-height: var(--lh-single);
  color: var(--color-heading-en);
  letter-spacing: var(--ls-none);
}

/* PC/SPで改行位置が異なるテキスト用の<br>出し分け（brk-pc=PCのみ表示 / brk-sp=SPのみ表示） */
.brk-sp {
  display: none;
}
.briefing__sub-heading {
  display: none;
}
.interview-card__sep {
  display: none;
}

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 16px;
  z-index: 2000;
}
.skip-link:focus {
  left: 8px;
}

/* === 共通ユーティリティ === */
/* ホバー/フォーカス時に不透明度を下げる共通挙動（元は22箇所に個別定義されていたtransition+hoverをここに集約） */
.u-hover-fade {
  transition: opacity var(--transition-base); /* TODO: 要確認（ホバー仕様はデザインシート未記入のため推定。確認事項2） */
}
.u-hover-fade:hover,
.u-hover-fade:focus-visible {
  opacity: var(--hover-opacity);
}

/* === Layout: container / stage === */
.container {
  width: 100%;
  max-width: var(--pc-container-max);
  margin: 0 auto;
  padding: 0 40px;
}

/* stage: 1280px基準のビジュアル座標系（装飾・写真ブリードの絶対配置に使用） */
.stage {
  position: relative;
  width: 100%;
  max-width: var(--pc-artboard);
  margin: 0 auto;
  height: 100%;
  pointer-events: none;
}
.stage > * {
  pointer-events: auto;
}

/* === ボタン共通 === */
.btn-fill {
  display: inline-flex;
  align-items: flex-start;
  justify-content: space-between;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: var(--fs-20);
  line-height: 1;
  width: 200px;
  min-height: 30px; /* テキスト要素のためheight固定を回避（coding-rules-xd.md §5）。内容が収まる限り現在の高さ(30px)を維持する */
  padding-top: 3px; /* baseline=上端+21.7に合わせる実測補正（§3-2） */
  padding-left: 51.3px;
  padding-right: 6.3px;
}
.btn-fill .arrow {
  font-size: var(--fs-20);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--color-white);
  color: var(--color-text);
  border: 1px solid var(--color-primary);
  font-size: var(--fs-16);
}
.btn-outline .arrow {
  color: var(--color-primary);
}

/* === セクション見出し（英字＋スラッシュ＋h2）共通 === */
.section-heading {
  position: relative;
}
.section-heading__en {
  font-size: var(--fs-80);
  font-weight: var(--fw-bold);
  line-height: var(--lh-single);
  color: var(--color-heading-en);
  letter-spacing: var(--ls-none);
  padding-left: var(--section-gap-heading);
}
.section-heading__ja {
  position: relative;
  font-size: var(--fs-40);
  font-weight: var(--fw-bold);
  line-height: var(--lh-single);
  color: var(--color-text);
  letter-spacing: var(--ls-01);
  padding-left: var(--section-gap-heading);
}
.about .section-heading__ja {
  line-height: var(--lh-about-h2);
}
.section-heading__slash {
  position: absolute;
  left: 4px;
  top: -16.3px; /* 赤入れ No.3: h2 1行目とスラッシュを縦中央で揃える（SERVICEの実測値+3.7に統一） */
}
.section-heading__slash--pc {
  width: 36.1px;
  height: 80px;
}
.section-heading__slash--sp {
  display: none;
}

/* PC/SPで異なる画像アセットを出し分ける共通ユーティリティ（.is-sp-onlyはSPのみ表示） */
.is-sp-only {
  display: none;
}

/* === ラベル（斜めカード右上密着） === */
.label-tri {
  --slant: calc(40px * var(--slant-ratio)); /* 22.5°斜めカットの水平オフセット（高さ40px基準） */
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2px; /* baselineを仕様(上端+28)に合わせる実測補正 */
  width: 136.6px;
  min-height: 40px; /* テキスト要素のためheight固定を回避（coding-rules-xd.md §5） */
  clip-path: polygon(var(--slant) 0, 100% 0, calc(136.6px - var(--slant)) 100%, 0 100%);
  background-color: var(--color-white);
  font-size: var(--fs-21);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  text-align: center;
}
.label-tri--bordered::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: polygon(var(--slant) 0, 100% 0, calc(136.6px - var(--slant)) 100%, 0 100%);
  border: 1.4px solid var(--color-primary);
  pointer-events: none;
}
.label-tri--plain {
  font-weight: var(--fw-regular);
  font-size: var(--fs-18);
  padding-top: 5.75px; /* baselineを仕様(上端+28)に合わせる実測補正（18px用） */
}

/* ==========================================================================
   Header
   2026-10-06 クライアント修正依頼 TOP No.1〜4 でヘッダーを作り直した（新ヘッダーは下の「Header v2」）。
   新マークアップはクラス名を分けてあり、旧マークアップ（.header__logo / .global-nav* / .header__contact）の
   ページが残っている間（propagate_common.py で全ページへ反映するまで）も旧レイアウトのまま崩れない。
   全ページが新ヘッダーになったら、「旧ヘッダー」と書いたルール（このブロックと、下の @media 内の同名セレクタ）は削除できる。
   ========================================================================== */
.header {
  position: relative;
  background: var(--color-white);
  height: var(--header-height-pc);
  z-index: 100;
}
.header__inner {
  display: flex;
  align-items: flex-start;
  max-width: var(--pc-artboard);
  margin: 0 auto;
  height: 100%;
}

/* --- 旧ヘッダー（全ページ切替後に削除可）ここから --- */
.header__logo {
  flex-shrink: 0;
  margin-left: 78px;
  margin-top: 53.5px;
  width: 257px;
  height: 75px;
}
.header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.global-nav {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 294px; /* 赤入れ No.1: 33.8(ナビ末尾-赤ブロック間隔) + 260.2(赤ブロックの元占有幅=width260+旧margin-right0.2)。赤ブロックがposition:absoluteで独立したため、その分ナビの右余白を広げて右端ink x=986を維持する */
}
.global-nav__list {
  position: relative;
  top: 29.1px; /* 中央揃えによるbaselineずれを実測差分で補正（仕様baseline 104.8） */
  display: flex;
  align-items: baseline;
  gap: 10.5px; /* 要確認: ai実測は連続テキストの全角スペース区切りのため、flex項目間隔は近似値（確認事項リスト参照） */
  flex-wrap: nowrap;
}
.global-nav__list a {
  font-size: var(--fs-18);
  font-weight: var(--fw-regular);
  white-space: nowrap;
}

.header__contact {
  flex-shrink: 0;
  position: absolute; /* 赤入れ No.1: .header(position:relative)基準で右端に密着させ、1280px超でも画面右端に追従させる */
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: 260px;
  height: 300px; /* 装飾兼コンテナのため高さ固定可（内部のテキスト要素はheight未指定）。MVへのはみ出しは.header(height固定)からの自然なoverflowで表現 */
  padding-top: 66.4px; /* TEL行の開始位置（baselineを仕様90.4に合わせる実測補正） */
  background-color: var(--color-primary);
  box-shadow: var(--shadow-header);
  color: var(--color-white);
}
/* --- 旧ヘッダー ここまで（.header__tel-row / .header__tel は SPメニューでも使うので残す。.header__hours 以降の旧ルールは下） --- */

/* ==========================================================================
   Header v2（2026-10-06 クライアント修正依頼 TOP No.1〜4 → 2026-10-11 ディレクター追加指示で配置を変更）
   - 左: ロゴ群（WORLEXロゴ＋カタカナ ／ 縦の区切り線 ／ 五十鈴ロゴ仮枠＋「五十鈴倉庫」）
   - 右端: 「お問い合わせフォーム」の赤い縦長ブロック(.header__cta)。ヘッダーの高さいっぱい・画面右端に接する。アイコンが上・文字が下
   - その左は2段: 上段=電話番号と資料ダウンロードのテキストリンク(.header__utils。右寄せで横並び)、下段=グロナビ(.header__nav)
     上段・下段の右端は、赤ブロックの左端から同じ余白(--header-right-gap)でそろえる
   - グロナビ: 企業情報・事業内容・採用情報はマウスオーバー／キーボードフォーカスで下層メニューを表示
   ヘッダーの高さは従来どおり（PC 136.2px / SP 104px）。ヘッダーの外（MV・ページヘッダー）へはみ出さない（ドロップダウン表示中を除く）
   ========================================================================== */
.header {
  --header-logo-w: 210px;       /* WORLEXロゴの表示幅（元画像514px÷2=257pxから縮小） */
  --header-brand-gap: 20px;     /* ロゴ｜区切り線｜五十鈴 の間隔 */
  --header-isuzu-box: 40px;     /* 五十鈴ロゴ（仮枠）の一辺 */
  --header-isuzu-fs: var(--fs-18);
  --header-utils-h: 60px;       /* 上段（電話番号・資料ダウンロード）の高さ。残りがグロナビの行 */
  --header-cta-w: 150px;        /* 右端の赤い「お問い合わせフォーム」ブロックの幅（高さはヘッダーいっぱい） */
  --header-right-gap: 28px;     /* 赤ブロックの左端から、上段・下段の右端（文字の右端）までの余白 */
  --header-util-gap: 32px;      /* 上段の「電話番号」と「資料ダウンロード」の間隔 */
  --header-nav-pad-x: 5px;      /* グロナビ各項目の左右余白（項目間=2倍） */
}

/* --- 左: ロゴ群 --- */
.header__inner { /* 画面幅いっぱい（赤ブロックを1280px超でも画面右端に付けるため）。ロゴ群は従来どおり1280pxの紙面の左端を基準に置く */
  max-width: none;
  margin: 0;
}
.header__brand {
  align-self: center;
  display: flex;
  align-items: center;
  min-width: 0;
  margin-left: calc(max(0px, (100% - var(--pc-artboard)) / 2) + clamp(24px, 6.09vw, 78px)); /* 1280pxで旧ロゴと同じ左位置78px。狭い幅では詰める。1280px超は紙面の左端から78px */
}
.header__brand-logo {
  display: block;
  flex-shrink: 0;
  width: var(--header-logo-w);
}
.header__brand-logo img {
  width: 100%;
  height: auto;
  aspect-ratio: 514 / 150; /* 支給ロゴ画像(514x150)の縦横比を維持 */
}
.header__brand-kana {
  display: block;
  margin-top: -6px; /* ロゴ画像下部の透明余白を相殺して、ロゴ本体の直下に寄せる */
  padding-left: 0.3em; /* letter-spacing末尾の空きを相殺して、ロゴの中央に揃える */
  font-size: 13px;
  font-weight: var(--fw-medium);
  line-height: 1.2;
  letter-spacing: 0.3em;
  text-align: center;
  color: var(--color-text);
}
.header__brand-divider {
  flex-shrink: 0;
  width: 1px;
  height: 40px;
  margin: 0 var(--header-brand-gap);
  background-color: var(--color-divider-sp);
}
.header__isuzu {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
}
.header__isuzu-logo {
  flex-shrink: 0;
  width: var(--header-isuzu-box);
  height: var(--header-isuzu-box);
  object-fit: contain; /* 縦横比が正方形でない画像でも歪ませない */
}
/* 五十鈴コーポレートマーク(109x144 透過PNG)。高さを枠の一辺に合わせ、幅は縦横比から決める（PC 40px→幅約30px / SP clamp(24px,7.6vw,40px)に連動） */
img.header__isuzu-logo {
  width: auto;
  height: var(--header-isuzu-box);
  aspect-ratio: 109 / 144;
}
/* 五十鈴ロゴの仮枠（現在は <img> に差し替え済み。仮枠 <span> を使わないため、この修飾クラスのルールは未使用） */
.header__isuzu-logo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-grad-end);
  border: 1px dashed #B3B1B1;
  color: var(--color-border-label);
  font-size: 11px;
  font-weight: var(--fw-bold);
  line-height: 1;
}
.header__isuzu-name {
  font-size: var(--header-isuzu-fs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* --- 右端: 赤い縦長ブロック「お問い合わせフォーム」（ヘッダーの高さいっぱい。.header__inner は画面幅いっぱいなので1280px超でも画面右端に付く） --- */
.header__cta {
  flex: none;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: var(--header-cta-w);
  padding: 0 10px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: var(--fs-16);
  font-weight: var(--fw-bold);
  line-height: 1.4;
  text-align: center;
}
.header__cta img {
  flex-shrink: 0;
  width: 32px;
  height: 24px;
}
.header__cta-text span {
  display: inline-block; /* 「お問い合わせ」「フォーム」の途中では折り返さない */
}
.header__cta:focus-visible { /* 赤地でも見える白いフォーカスリング。内側に引いて、画面端・ヘッダー上端に接するブロックでも切れないようにする */
  outline: 2px solid var(--color-white);
  outline-offset: -4px;
}

/* --- 右（赤ブロックの左）: 2段（上=電話番号・資料ダウンロード / 下=グロナビ）。幅はグロナビの内容幅で決まる --- */
.header__right {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: var(--header-right-gap);
}
.header__utils {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: flex-end;
  gap: var(--header-util-gap);
  height: var(--header-utils-h);
}
.header__util {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-16);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  white-space: nowrap;
}
.header__util img {
  flex-shrink: 0;
}
.header__util--tel img {
  width: 15.4px;
  height: 20.6px;
}
.header__util--doc img {
  width: 15.7px;
  height: 20.3px;
}
.header__util--group img {
  width: 12px;
  height: 12px;
}
.header__util-tel-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.header__util-tel-num {
  font-size: var(--fs-20);
  font-weight: var(--fw-bold);
  line-height: 1.2;
}
.header__util-hours {
  font-size: 12px;
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-005);
  line-height: 1.3;
}

.header__nav {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}
.header__nav-list {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: nowrap;
  margin-right: calc(-1 * var(--header-nav-pad-x)); /* 末尾項目の左右余白ぶん外へ出して、最後の文字の右端を上段の右端にそろえる */
}
.header__nav-item {
  position: relative;
  display: flex;
}
.header__nav-item > a {
  display: flex;
  align-items: center;
  padding: 0 var(--header-nav-pad-x);
  font-size: var(--fs-18);
  font-weight: var(--fw-regular);
  white-space: nowrap;
}
.header__nav-list a.is-current { /* 現在地（下層ページ。旧 lower.css の .global-nav__list a.is-current と同じ見た目） */
  text-decoration: underline;
  text-decoration-color: var(--color-primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* --- グロナビ ドロップダウン（企業情報・事業内容・採用情報）。マウスのホバー／キーボードのフォーカス（:focus-visible）で開く --- */
.header__nav-sub {
  position: absolute; /* フローに入れない=開閉でレイアウトがずれない */
  top: 100%; /* グロナビ行の下端=ヘッダー下端。隙間を作らずホバーが途切れないようにする */
  left: 50%; /* 親項目の中央にそろえる（左そろえだと、斜めにポインタを動かしたとき隣の項目のメニューに入りやすい） */
  min-width: 220px;
  padding: 6px 0 8px;
  background-color: var(--color-white);
  border-top: 3px solid var(--color-primary);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.header__nav-item--has-sub:hover > .header__nav-sub { /* マウスのホバーで開く */
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.header__nav-item--has-sub:has(:focus-visible) > .header__nav-sub { /* キーボード操作で開く。:focus-within だと、Ctrl/Cmd+クリックなどマウスで押した後もフォーカスが残って開いたままになるため :focus-visible に限る */
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
@supports not selector(:has(*)) { /* :has() 非対応の古いブラウザは従来どおり :focus-within で開く（上の :has 付きルールは丸ごと無視されるため） */
  .header__nav-item--has-sub:focus-within > .header__nav-sub {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition-delay: 0s;
  }
}
.header__nav-item--has-sub:hover:not(.is-dismissed):not(:has(:focus-visible)) > .header__nav-sub { /* ホバーで開くときだけ 120ms 待つ（斜めに動かして隣の項目を通り過ぎただけでは開かない）。キーボード操作と閉じる側は待たない */
  transition-delay: 0.12s;
}
.header__nav-item--has-sub.is-dismissed > .header__nav-sub { /* Escキーで閉じた状態（main.js）。ポインタが外れる／フォーカスが外れると解除 */
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -4px);
}
.header__nav-sub a {
  display: block;
  padding: 11px 24px;
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.header__nav-sub a:hover,
.header__nav-sub a:focus-visible {
  background-color: rgba(160, 0, 0, 0.06);
  color: var(--color-primary);
}
@media (prefers-reduced-motion: reduce) {
  .header__nav-sub { /* フェード・スライドはしない（0s）。ただし「ホバーで開くときの 120ms 待ち」と「閉じるときの 0.2s の遅れ」は残す。
                        閉じるのを遅らせないと、Tab で親リンクからサブメニューへフォーカスを移す一瞬（親のフォーカスが外れた直後）にメニューが消え、移動先がフォーカスできなくなる */
    transition: opacity 0s linear 0.2s, transform 0s linear 0.2s, visibility 0s linear 0.2s;
  }
  .header__nav-sub a {
    transition: none;
  }
}

/* v2 の幅別調整（769〜1100pxは右カラム・赤ブロックごと非表示=ハンバーガー方式。1101〜1279pxはグロナビ16px・ロゴ群と上段・赤ブロックも縮小。768px以下はロゴ群をvw比例で縮小） */
@media (min-width: 769px) and (max-width: 1100px) {
  .header__right,
  .header__cta {
    display: none;
  }
}
@media (min-width: 1101px) and (max-width: 1279px) {
  .header {
    --header-logo-w: clamp(152px, 14.5vw, 210px);
    --header-brand-gap: clamp(12px, 1.5vw, 20px);
    --header-isuzu-fs: var(--fs-16);
    --header-nav-pad-x: 5px;
    --header-cta-w: 140px;
    --header-right-gap: clamp(16px, 1.8vw, 24px);
    --header-util-gap: 24px;
  }
  .header__nav-item > a {
    font-size: clamp(15px, 1.4vw, 16px); /* 1101pxで15px、1279pxで16px。ロゴ群と横に重ならない範囲で最大にする */
  }
  .header__util {
    font-size: 14px;
  }
  .header__util-tel-num {
    font-size: 18px;
  }
  .header__util-hours {
    font-size: 11px;
  }
}
@media (max-width: 768px) {
  /* ロゴ群（ロゴ＋カタカナ／五十鈴の仮枠＋五十鈴倉庫）は右端のハンバーガー(幅100px)と重ならないよう、画面幅に比例して縮小する（320〜768pxで確認） */
  .header {
    --header-logo-w: clamp(92px, calc((100vw - 100px) * 0.45), 190px); /* (画面幅−ハンバーガー100px)の45% */
    --header-brand-gap: clamp(6px, 2.2vw, 12px);
    --header-isuzu-box: clamp(24px, 7.6vw, 40px);
    --header-isuzu-fs: clamp(10.5px, 3.1vw, 16px);
  }
  .header__brand {
    margin-left: clamp(10px, 3.2vw, 24px);
  }
  .header__brand-kana {
    margin-top: -4px;
    font-size: clamp(10px, 2.9vw, 13px);
    letter-spacing: 0.25em;
    padding-left: 0.25em;
  }
  .header__brand-divider {
    height: clamp(28px, 8vw, 40px);
  }
  .header__isuzu {
    gap: clamp(4px, 1.4vw, 8px);
  }
  .header__isuzu-logo--placeholder {
    font-size: clamp(9px, 2.4vw, 11px);
  }
  .header__right,
  .header__cta {
    display: none;
  }
}

/* SPメニュー内の電話行（.sp-menu__contact）でも使用。旧ヘッダーの赤ブロックでも使っていた */
.header__tel-row {
  display: flex;
  align-items: center;
  gap: 6.9px;
  margin-left: 24.5px;
}
.header__tel-row img {
  width: 15.4px;
  height: 20.6px;
}
.header__tel {
  font-size: var(--fs-20);
  font-weight: var(--fw-bold);
  color: var(--color-white);
}
/* --- 旧ヘッダー（全ページ切替後に削除可）：赤ブロック内の受付・区切り線・リンク --- */
.header__hours {
  margin-top: 1.1px; /* baselineを仕様116.5に合わせるため実測差分で補正 */
  margin-left: 22.8px;
  font-size: var(--fs-14);
  letter-spacing: var(--ls-01);
}
.header__divider {
  margin-left: 20.5px;
  width: 160px;
  height: 0.6px;
  background-color: var(--color-white);
}
.header__divider--1 { margin-top: 13.7px; }
.header__divider--2 { margin-top: 27.4px; }
.header__link {
  margin-top: 27.3px; /* baselineを仕様182.5に合わせるため実測差分で補正 */
  margin-left: 22.2px;
  font-size: var(--fs-16);
  font-weight: var(--fw-bold);
}
.header__link--doc {
  margin-top: 24.4px; /* baselineを仕様260.2に合わせる実測差分補正 */
  margin-left: 18.1px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.header__link--doc img {
  width: 13.1px;
  height: 16.9px;
}
/* --- 旧ヘッダー ここまで --- */

/* --- SPハンバーガー --- */
.hamburger {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 80px;
  background-color: var(--color-primary);
  box-shadow: var(--shadow-hamburger-sp);
  align-items: center;
  justify-content: center;
}
.hamburger img {
  width: 56px;
  height: 24px;
}

/* --- SPメニュー（全画面） 要確認: デザイン無しのため推定（確認事項5） --- */
.sp-menu {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--color-primary);
  color: var(--color-white);
  z-index: 1000;
  overflow-y: auto;
  padding: 32px 30px 48px;
}
.sp-menu.is-open {
  display: block;
}
.sp-menu__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-white);
}
.sp-menu__group {
  margin-top: 48px;
}
.sp-menu__group:first-of-type {
  margin-top: 24px;
}
.sp-menu__group-title {
  font-size: var(--fs-18);
  font-weight: var(--fw-bold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.sp-menu__group ul li a {
  display: block;
  font-size: var(--fs-16);
  padding: 10px 0;
}
.sp-menu__group ul li.is-child a {
  padding-left: 1em;
}
.sp-menu__contact {
  margin-top: 40px;
  display: grid;
  gap: 16px;
}
.sp-menu__contact .header__tel {
  font-size: var(--fs-20);
}
.sp-menu__contact-hours {
  font-size: var(--fs-14);
  letter-spacing: var(--ls-01);
  margin-top: 4px;
}
.sp-menu__contact-btn {
  display: block;
  text-align: center;
  border: 1px solid var(--color-white);
  padding: 12px;
  font-size: var(--fs-16);
  font-weight: var(--fw-bold);
}

/* ==========================================================================
   SP固定バナー（電話・求人応募フォーム）クライアント修正依頼(2026-10-02) TOP No.5
   768px以下の全ページで画面下に固定する。769px以上では表示しない。
   配色はCTAセクションに合わせる（電話=白地・赤アイコン・黒文字 / 求人応募フォーム=赤地・白文字）。
   重なり順: ヘッダー(100) < バナー(900) < SPメニュー(1000)。メニューを開いている間は背面になり、main.jsでinertにもする。
   ========================================================================== */
.sp-fixed-cta {
  display: none;
}
@media (max-width: 768px) {
  body:has(> .sp-fixed-cta) { /* バナーでフッターが隠れないよう、バナーのあるページだけ下余白を付ける（全ページにバナーが入った後は body だけで足りる） */
    padding-bottom: calc(var(--sp-fixed-cta-height) + env(safe-area-inset-bottom, 0px));
  }
  html { /* キーボードでフォーカスした要素が固定バナーに隠れないよう、スクロール時の下側の余白をバナーの高さ分とる（WCAG 2.4.11 フォーカスを隠さない） */
    scroll-padding-bottom: calc(var(--sp-fixed-cta-height) + env(safe-area-inset-bottom, 0px));
  }
  .sp-fixed-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
    display: flex;
    height: calc(var(--sp-fixed-cta-height) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background-color: var(--color-white);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.18);
  }
  .sp-fixed-cta__btn {
    flex: 1 1 0; /* 2ボタンは等幅 */
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: var(--fw-bold);
    line-height: 1.2;
    white-space: nowrap;
  }
  .sp-fixed-cta__btn--tel {
    color: var(--color-text);
    font-size: clamp(16px, 5.2vw, 22px);
  }
  .sp-fixed-cta__btn--tel img {
    flex-shrink: 0;
    width: 15px;
    height: auto;
    aspect-ratio: 25.5 / 33.8;
  }
  .sp-fixed-cta__btn--apply {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: clamp(14px, 4.2vw, 18px);
    letter-spacing: var(--ls-005);
  }
  .sp-fixed-cta__btn--apply img {
    flex-shrink: 0;
    width: 5.2px;
    height: 20px;
  }
}

/* ==========================================================================
   MV
   ========================================================================== */
.mv {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #000;
}
.mv__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease; /* 要確認: フェード秒数は推定（確認事項3） */
}
.mv__slide.is-active {
  opacity: 1;
}
.mv__picture {
  display: contents; /* SP用<source>追加用のpictureラッパーに位置指定を持たせない */
}

/* ==========================================================================
   Notices（お知らせ・ブログ）
   ========================================================================== */
.notices {
  background-color: var(--color-white);
  padding-top: 50.1px;
  padding-bottom: 25.2px;
  min-height: 395.8px; /* セクション下端をABOUT開始位置(1252)に固定 */
}
.notices__heading {
  font-size: var(--fs-24);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-006);
  padding-left: calc(144.9px - var(--container-inset));
}
.notices__list {
  margin-top: 13.1px;
}
.notices__item {
  display: flex;
  align-items: flex-start;
  min-height: 52.75px;
  padding-left: calc(144.6px - var(--container-inset));
  gap: 0;
}
.notices__date {
  flex-shrink: 0;
  font-size: var(--fs-20);
  width: 108.9px;
}
.notices__label {
  flex-shrink: 0;
  margin-left: 103.3px; /* 日付右端(108.9)からラベル左端(356.8)までの間隔 */
  width: 150px;
  min-height: 30px; /* テキスト要素のためheight固定を回避（coding-rules-xd.md §5） */
  line-height: 28px; /* min-height化に伴い実高さ(=min-height)を30pxに収めるための行送り調整 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5.2px; /* ink左を仕様に合わせる実測補正 */
  font-size: var(--fs-20);
  text-align: center;
}
.notices__label--new {
  background-color: var(--color-primary);
  color: var(--color-white);
}
.notices__label--plain {
  background-color: var(--color-white);
  border: 0.6px solid var(--color-border-label);
  color: var(--color-text-label);
}
.notices__text {
  font-size: var(--fs-20);
  margin-left: 56.2px; /* ラベル右端(506.8)から見出し左端(563.0)までの間隔 */
  min-width: 0;
  overflow-wrap: break-word;
}
.notices__more {
  display: none; /* PCでは無し。SPのみ表示 */
}

/* ==========================================================================
   ABOUT US
   ========================================================================== */
.about {
  position: relative;
  background: var(--grad-diagonal);
  padding-top: 38.2px;
  padding-bottom: 79.7px;
  min-height: 1000px; /* セクション下端をSERVICE開始位置(2252)に固定 */
  overflow: hidden; /* 1280px超で右角まで現れる写真/下敷きを画面端で切る */
}
.about .section-heading__ja {
  margin-top: 11px;
}
.about .section-heading__slash--pc {
  top: -7.8px; /* 実測差分でh2 baseline-53.6の位置に合わせる */
}
.about__body-wrap {
  margin-top: 11.7px;
  max-width: 586.7px; /* padding-left(41.7)+本文が入る幅(545)。内側で41.7を引いても545残るようにする */
}
.about__text {
  font-size: var(--fs-18);
  line-height: var(--lh-body-18);
  padding-left: var(--section-gap-heading);
  overflow-wrap: break-word;
  hanging-punctuation: first; /* 要確認: 約物ぶら下げはブラウザ依存（確認事項12） */
}
.about__text + .about__text {
  margin-top: 34.2px;
}

/* 写真は本文と同じ行に重なってブリードする（絶対配置=装飾扱い） */
.about__photo-region {
  position: absolute;
  left: 0;
  right: 0;
  top: 75.6px; /* 写真bbox top(1327.6) - セクションtop(1252) */
  height: 450px;
  z-index: 1;
}
.about > .container {
  position: relative;
  z-index: 2;
}
.about__photo-under {
  position: absolute;
  left: 56.54%; /* 723.7/1280 */
  top: 60px;
  width: 53.62%; /* 686.3/1280 */
  height: 450px;
  background-color: var(--color-white);
  clip-path: polygon(27.14% 0, 0 100%, 72.85% 100%, 100% 0);
}
.about__photo {
  position: absolute;
  left: 53.41%; /* 683.7/1280 */
  top: 0;
  width: 53.62%; /* 686.3/1280 */
  height: 450px;
  object-fit: cover;
  clip-path: polygon(27.14% 0, 0 100%, 72.85% 100%, 100% 0);
}

.link-cards {
  position: relative;
  max-width: var(--pc-artboard);
  margin: 115.7px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 389.7px));
  justify-content: start;
  column-gap: 0;
}
.link-cards li:nth-child(1) { margin-left: 6px; }
.link-cards li:nth-child(2) { margin-left: -1.2px; }
.link-cards li:nth-child(3) { margin-left: -10.9px; }
.link-card {
  position: relative;
  width: 389.7px;
  height: 210px;
}
.link-card a {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}
.link-card__photo {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(284.8 / 389.7 * 100%);
  height: 210px;
  object-fit: cover;
  clip-path: polygon(29.78% 0, 0 100%, 70.23% 100%, 100% 0);
}
.link-card__label {
  position: absolute;
  left: calc(199.1 / 389.7 * 100%);
  top: 60px;
  width: calc(190.6 / 389.7 * 100%);
  min-height: 150px; /* テキスト要素のためheight固定を回避（coding-rules-xd.md §5） */
  background-color: var(--color-primary);
  clip-path: polygon(31.79% 0, 100% 0, 68.2% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 赤入れ No.2 */
  text-align: left; /* 赤入れ No.2 */
  padding-left: calc(46.8 / 389.7 * 100%); /* 赤入れ No.2: paddingの%は要素自身の幅(190.6)ではなくcontaining block(.link-card a, 389.7)基準のため389.7で正規化。実測でRange矩形がラベルの斜辺から2px以上離れる値に調整（下記letter-spacingとセットで検証済み） */
}
.link-card__text {
  width: 100%; /* 赤入れ No.2/6: flexのfit-content計算がtext-indent分の余白を考慮せず不要な折返しが発生するのを防ぐ */
  font-size: var(--fs-22);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  letter-spacing: -0.07em; /* 赤入れ No.2: 「ワーレックス」が斜辺から2px以上離れるよう実測で調整（仕様の-0.04emでは1行目が斜辺に接近するため詰めを強めた） */
  font-feature-settings: "palt"; /* 赤入れ No.2 */
  line-height: var(--lh-linkcard-22);
}
.link-card__arrow {
  position: absolute;
  left: 23.03%; /* 赤入れ No.2/6: ラベル相対43.9/190.6。矢印を.link-card__label内側に移動 */
  top: 76.53%; /* 114.8/150 */
  width: 41.97%; /* 80/190.6 */
  height: auto;
  aspect-ratio: 80 / 11.1;
}

/* ==========================================================================
   SERVICE
   ========================================================================== */
.service {
  background-color: var(--color-white);
  padding-top: 53.9px;
  min-height: 998px; /* セクション下端をRECRUIT開始位置(3250)に固定 */
}
.service__head {
  display: grid;
  grid-template-columns: minmax(0, 375.6px) minmax(0, 1fr);
  gap: 0 40px;
}
.service__head .section-heading__ja {
  margin-top: 32.8px;
}
/* 赤入れ No.3: .section-heading__slash共通のtop(-16.3px)と同値になったため削除 */
.service__desc {
  margin-top: 111.6px;
  font-size: var(--fs-18);
  line-height: var(--lh-body-18);
  padding-left: 1.7px; /* 見出し列との間隔（実測差分から調整。ink左497.3に合わせる） */
  overflow-wrap: break-word;
}

.service__gradbox-wrap {
  position: relative;
  margin-top: 155.3px; /* 灰ボックスtop(2708.9) - 見出し列下端(2553.6) */
}
.service__gradbox {
  background: var(--grad-diagonal);
  max-width: 1050px; /* ai実測: 灰ボックス幅1050（コンテンツ幅1120とは別） */
  margin-left: 41px; /* 灰ボックスleftは121（中央寄せ115ではない） */
  height: 450px;
}
.service-cards {
  position: absolute;
  left: 41px;
  top: -97.4px; /* 写真top(2611.5)は灰ボックスtop(2708.9)より97.4px上にはみ出す */
  width: 1050px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: center;
  column-gap: 41.15px; /* 写真間隔を等間隔41.15に正規化（確認事項8） */
}
.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  min-height: 540.3px; /* 本文の行数がカード毎に異なっても、ボタン位置を揃えるための固定高さ */
}
.service-card__photo {
  width: 300px;
  height: 200px;
  object-fit: cover;
  clip-path: polygon(19.4px 0, 0 46.8px, 0 100%, 100% 100%, 100% 0);
}
.service-card__title {
  margin-top: 26.3px;
  display: flex;
  align-items: center;
  gap: 8.9px;
  font-size: var(--fs-30);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-01);
  transform: translate(-9.2px, -12.9px); /* カード中央揃えの実測位置を仕様のink位置に合わせる補正 */
}
.service-card__title img {
  width: 10.3px;
  height: 20px;
}
.service-card__body {
  margin-top: 3.8px;
  width: 313px; /* 17文字×18px=306pxが収まる幅（308px確保。カード写真300pxより広い。確認事項へ） */
  font-size: var(--fs-18);
  line-height: var(--lh-card-18);
  align-self: flex-start;
  padding-left: 5px;
  overflow-wrap: break-word;
}
.service-card__btn {
  margin-top: auto; /* 本文行数がカードごとに違ってもボタンをカード下端に揃える */
  margin-bottom: 20px;
}

/* ==========================================================================
   RECRUIT
   ========================================================================== */
.recruit {
  background-color: var(--color-white);
  padding-top: 46.6px; /* セクション開始位置(3250)を基準に、EN見出しbaselineを仕様値に合わせる */
  padding-bottom: 66.5px; /* 右列(6行)の実高さがmin-heightを超えないよう調整 */
  min-height: 951.2px; /* セクション下端をINTERVIEW開始位置(4201.2)に固定 */
}
.recruit .section-heading__ja {
  margin-top: 37.8px;
}
.recruit-grid {
  margin-top: 55.5px;
  max-width: var(--pc-content-width);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 524.3px));
  column-gap: 17.6px;
  justify-content: center;
}
.recruit-block {
  min-width: 0;
}
.recruit-block__photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 524.3 / 300;
}
.recruit-block__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(23.7% 0, 0 100%, 76.3% 100%, 100% 0);
}
.recruit-block__accent {
  position: absolute;
  left: 94.66%; /* 496.3/524.3（写真幅基準）。769〜1279pxで追従 */
  top: 0;
  width: 36.1px;
  height: 80px;
}
.recruit-block__label {
  position: absolute;
  left: 32.6%;
  top: 101.6%;
  width: 270.7px;
  min-height: 50px; /* テキスト要素のためheight固定を回避（coding-rules-xd.md §5） */
  max-width: 51.6%;
  background: var(--grad-diagonal); /* 赤入れ No.4: 白→#EAE9E9のグレーグラデーションに変更 */
  clip-path: polygon(7.6% 0, 100% 0, 92.4% 100%, 0 100%);
  display: flex;
  align-items: flex-start;
  padding-top: 4px; /* baselineを仕様(上端+33.7)に合わせる実測補正 */
  justify-content: center;
  text-align: center;
  font-size: var(--fs-24);
  font-weight: var(--fw-bold);
}
.recruit-block__text {
  margin-top: 80.5px;
  min-height: 170.1px; /* 最大6行分の高さを確保し、本文行数に依らずボタン位置を揃える */
  font-size: var(--fs-18);
  line-height: var(--lh-card-18);
  padding-left: 46.4px;
  overflow-wrap: break-word;
}
.recruit-block__btn {
  margin-top: 16px; /* 本文min-height(170.1px)基準でボタン位置を両列とも4076.4に固定 */
  margin-left: 46.4px;
}

/* ==========================================================================
   INTERVIEW
   ========================================================================== */
.interview {
  background: var(--grad-diagonal);
  padding-top: 34.2px;
  padding-bottom: 72.8px;
  min-height: 595px; /* セクション下端をBREAFING開始位置(4796.2)に固定 */
}
.interview .section-heading__ja {
  margin-top: 17.4px;
}
.slider {
  position: relative;
  margin-top: 30px;
}
.interview .slider {
  margin-top: 70.4px;
}
.interview .slider__viewport {
  margin-left: 80.2px; /* カード1の絶対x160.2に合わせる（80(container)+80.2） */
  width: 959.6px; /* カード3枚(300×3+29.8×2)分に幅を固定し、表示枚数を超えるカードが右端に見切れるのを防ぐ */
}
.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10.3px;
  height: 40px;
  z-index: 5;
}
/* .u-hover-fade の共通値(.8)とは異なり、矢印のみ.6を維持（既存デザインの実測値） */
.slider__arrow.u-hover-fade:hover,
.slider__arrow.u-hover-fade:focus-visible {
  opacity: 0.6;
}
.slider__arrow img {
  width: 100%;
  height: 100%;
}
.slider__arrow--prev { left: 21.2px; }
.slider__arrow--next { right: 36.5px; }

.slider__viewport {
  overflow: hidden;
}
.slider__track {
  display: flex;
  width: fit-content;
  margin: 0 auto; /* カード3枚(959.6px)をviewport(959.6px。.interview .slider__viewportで表示枚数分に絞り込み済み)内に配置 */
  gap: 29.8px;
  transition: transform 0.5s ease;
}
.interview-card {
  position: relative;
  flex: 0 0 300px;
  min-width: 0;
  background-color: var(--color-white);
  border: 1.4px solid var(--color-border-card);
}
.interview-card__photo-wrap {
  position: relative;
  width: 100%;
  height: 200px;
}
.interview-card__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.interview-card__body {
  padding: 6.1px 32.4px 9.5px; /* カード高さを仕様の280pxに合わせる（実測差分で調整） */
}
.interview-card__year,
.interview-card__name {
  font-size: var(--fs-21);
  line-height: var(--lh-interview-21);
  letter-spacing: var(--ls-005);
}

/* ==========================================================================
   BREAFING（会社説明会）※綴りはカンプ通り（確認事項11）
   ========================================================================== */
.briefing {
  position: relative;
  background-color: var(--color-white);
  padding-top: 74.2px;
  padding-bottom: 53.6px;
  min-height: 703.8px; /* セクション下端をJOBS開始位置(5500)に固定 */
}
.briefing__text-col,
.briefing .section-heading {
  position: relative;
  z-index: 2;
}
.briefing .section-heading__ja {
  margin-top: 11.7px;
  line-height: var(--lh-briefing-h2);
}
.briefing .section-heading__slash--pc {
  top: -3px; /* 赤入れ No.3: h2のline-height(66.6px)がSERVICE等と異なるため個別補正（33.3-40+3.7） */
}
.briefing-grid {
  position: relative;
  margin-top: 24.7px;
}
.briefing__text-col {
  max-width: 545px;
}
.briefing__desc {
  font-size: var(--fs-18);
  line-height: var(--lh-card-18);
  padding-left: var(--section-gap-heading);
  overflow-wrap: break-word;
}
.briefing__list {
  margin-top: 25px;
  padding-left: var(--section-gap-heading);
}
.briefing__list li {
  position: relative;
  font-size: var(--fs-18);
  font-weight: var(--fw-medium);
  line-height: var(--lh-list-18);
  overflow-wrap: break-word;
}
.briefing__list li + li {
  margin-top: 11.7px; /* 項目間baseline gapを仕様(68.3)に合わせる実測差分補正 */
}
.briefing__list img {
  position: absolute;
  left: -17.4px;
  top: 3.5px;
  width: 13.2px;
  height: 20px;
}
.briefing__btn {
  margin-top: 24.7px;
  margin-left: calc(205.6px - var(--container-inset)); /* 見出し列とは別インデント */
  width: 250px;
  min-height: 38px; /* テキスト要素のためheight固定を回避（coding-rules-xd.md §5） */
  font-size: var(--fs-18);
  padding-top: 9.35px; /* baseline=上端+26.2に合わせる実測補正（250x38用） */
  padding-left: 58.1px;
  padding-right: 18.9px;
}
.briefing__btn .arrow {
  font-size: var(--fs-18);
}

/* 右側の写真群は本文（左カラム）と同じ行に重なってブリードする（絶対配置=装飾扱い） */
.briefing__photo-region {
  position: absolute;
  left: 0;
  right: 0;
  top: 83.3px; /* 写真1 bbox top(679.5) - セクションtop(596.2) */
  height: 494.6px;
  z-index: 1;
}
.briefing__bg {
  position: absolute;
  left: min(53.4%, calc(50% + 43.5px)); /* 1280未満: 683.5/1280の比率 / 1280以上: 中央ステージ左端(50%-640px)+683.5px */
  right: 0; /* 1280pxを超えたら画面右端までブリード（aiの右辺はアートボード端の垂直線のため） */
  top: 57.9px; /* 背景多角形top(737.4) - region top(679.5) */
  height: 520px;
  background: var(--grad-briefing-bg);
  clip-path: polygon(215.4px 0, 0 100%, 100% 100%, 100% 0); /* 左辺の斜めはpx固定（高さ固定のため） */
}
.briefing__photo1 {
  position: absolute;
  left: 48.38%; /* 619.3/1280 */
  top: 0;
  width: 36.38%; /* 465.7/1280 */
  height: 400px;
  object-fit: cover;
  clip-path: polygon(35.6% 0, 0 100%, 64.4% 100%, 100% 0);
}
.briefing__accent {
  position: absolute;
  left: 82.91%; /* 1061.3/1280 */
  top: 0;
  width: 36.1px;
  height: 80px;
}
.briefing__photo2 {
  position: absolute;
  left: 62.07%; /* 794.5/1280 */
  top: 247.4px; /* 写真2 bbox top(926.9) - region top(679.5) */
  width: 31.52%; /* 403.5/1280 */
  height: 250px;
  object-fit: cover;
  clip-path: polygon(25.7% 0, 0 100%, 74.3% 100%, 100% 0);
  outline: 2.8px solid var(--color-border-photo);
  outline-offset: -1.4px;
}

/* ==========================================================================
   JOBS
   ========================================================================== */
.jobs {
  background-color: var(--color-white);
  padding-top: 6.5px;
  padding-bottom: 54.9px;
  min-height: 583.8px; /* セクション下端をCTA開始位置(6083.8)に固定 */
}
.jobs .section-heading__ja {
  margin-top: 33.3px;
}
.jobs .slider {
  margin-top: 69px;
}
.jobs .slider__arrow--prev { left: 93.6px; }
.jobs .slider__arrow--next { right: 93.6px; }
.jobs .slider__viewport {
  margin-left: 151.3px; /* カード1の絶対x231.3に合わせる（80(container)+151.3） */
  width: 821.4px; /* カード3枚(250×3+35.7×2)分に幅を固定し、表示枚数を超えるカードが右端に見切れるのを防ぐ */
}
.jobs .slider__track {
  gap: 35.7px; /* カード間隔36.5/34.9→35.7に統一（確認事項8） */
  margin-left: 0; /* 位置合わせは.jobs .slider__viewportのmargin-leftへ移設済み */
  margin-right: auto;
}
.jobs-card {
  position: relative;
  flex: 0 0 250px;
  min-width: 0;
  background-color: var(--color-white);
  border: 1.4px solid var(--color-border-card);
}
.jobs-card__photo-wrap {
  position: relative;
  width: 100%;
  height: 150px;
}
.jobs-card__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jobs-card__list {
  padding: 2.3px 15.1px 4.3px; /* カード高さを仕様の300pxに合わせる（実測差分で調整） */
  font-size: var(--fs-18);
  line-height: var(--lh-jobs-18);
  letter-spacing: var(--ls-005);
}
.jobs-card__list li {
  overflow-wrap: break-word;
}
.jobs__dots {
  display: none;
}
.jobs__more {
  display: none;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  position: relative;
  background: var(--grad-diagonal);
  padding-top: 47.2px;
  padding-bottom: 63.9px;
  min-height: 297.9px; /* セクション下端をフッター開始位置(6381.7)に固定 */
}
.cta__inner {
  position: relative;
  z-index: 2;
}
.cta__operator-stage {
  position: absolute;
  inset: 0;
  max-width: var(--pc-artboard);
  margin: 0 auto;
  z-index: 1;
}
.cta__heading {
  width: 65.13%; /* 729.5/1120（コンテンツ幅基準）。白箱174.7〜赤ボタン904.2の範囲の中央に見出しを配置 */
  max-width: 729.5px;
  margin: 0 auto 0 7.48%; /* 83.8/1120 */
  font-size: var(--fs-40);
  font-weight: var(--fw-bold);
  text-align: center;
}
.cta__box-group {
  margin-top: 14.8px;
  margin-left: 94.7px; /* 白箱leftを絶対x174.7に合わせる（中央寄せしない） */
  display: flex;
  align-items: flex-start; /* min-height化した子要素同士が高さを揃えて伸びるのを防ぐ */
  justify-content: flex-start;
  gap: 29.5px;
  flex-wrap: wrap;
}
.cta__phone-box {
  display: flex;
  flex-direction: column;
  width: 340px;
  min-height: 94.5px; /* テキスト要素のためheight固定を回避（coding-rules-xd.md §5） */
  padding-top: 10px; /* align-items:baselineで電話番号のbaselineを仕様(43.8)に合わせる基準位置 */
  padding-left: 24.6px; /* 受付時間のink左に合わせる（電話行は.cta__phone-topのmargin-leftで追加調整） */
  background-color: var(--color-white);
  box-shadow: var(--shadow-cta-pc);
}
.cta__phone-top {
  display: flex;
  align-items: baseline;
  margin-left: 8.9px; /* 電話アイコンのink左(33.5) - 親padding-left(24.6) */
  gap: 22.4px; /* 電話番号ink左(81.4) - アイコンink左(33.5) - アイコン幅(25.5) */
}
.cta__phone-icon {
  position: relative;
  top: 4.4px; /* baseline整列時のアイコン位置を仕様(top 14.4)に合わせる実測補正 */
  width: 25.5px;
  height: 33.8px;
}
.cta__phone-number {
  line-height: 20px; /* min-height化に伴う行送り調整（アイコン高さに収める） */
  font-size: var(--fs-30);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
}
.cta__hours {
  margin-top: 15.1px; /* baselineを仕様(上端+55.2)に合わせる実測補正 */
  line-height: 24px; /* min-height化に伴う行送り調整 */
  font-size: var(--fs-20);
  color: var(--color-primary);
  letter-spacing: var(--ls-01);
}
.cta__apply-btn {
  position: relative;
  top: -2.7px; /* 白箱と赤ボタンの上端の実測差分を補正 */
  width: 360px;
  min-height: 100px; /* テキスト要素のためheight固定を回避（coding-rules-xd.md §5） */
  background-color: var(--color-primary);
  box-shadow: var(--shadow-cta-pc);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 42.5px; /* 矢印アイコンのink右を仕様(317.5)に合わせる */
}
.cta__apply-btn span {
  position: relative;
  top: -1.45px; /* baselineを仕様(上端+60.1)に合わせる実測差分補正 */
  padding-left: 38.4px;
  font-size: var(--fs-30);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-005);
}
.cta__apply-btn img {
  width: 5.2px;
  height: 20px;
}
.cta__operator {
  position: absolute;
  left: 71.38%; /* 913.6/1280 */
  top: 53.9px; /* オペレーターtop(1937.7) - CTAセクションtop(1883.8) */
  width: 16.04%; /* 205.3/1280 */
  height: auto;
  aspect-ratio: 205.3 / 243.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--color-footer-bg);
  color: var(--color-white);
  padding-top: 30.8px;
  padding-bottom: 30px;
  min-height: 288.3px; /* セクション下端をページ全体の高さ(6670)に固定 */
}
.footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 368px) minmax(0, 1fr); /* 住所(padding-left26.6を除いた実文字幅336px以上)が折り返さない幅に拡張 */
  grid-template-areas: "brand nav"; /* SNSは"nav"列に意図的に同居させる（元デザインでもナビ3列目とSNSは同じx帯で縦方向にのみ分離しており、独立列を切るとナビ内部の固定幅3カラムが圧縮されるため） */
  column-gap: 40px;
}
.footer__brand {
  grid-area: brand;
  min-width: 0;
}
.footer__logo {
  margin-left: 7.9px; /* 絶対x 87.9 - container内側80 */
  width: 264px;
  height: 74px;
  object-fit: cover;
}
.footer__name {
  margin-top: 25.8px;
  padding-left: 26.6px; /* 絶対x 106.6 - container内側80 */
  font-size: var(--fs-16);
  font-weight: var(--fw-black);
}
.footer__address {
  margin-top: 0.4px;
  padding-left: 26.6px; /* 絶対x 106.6 - container内側80 */
  font-size: var(--fs-16);
  font-weight: var(--fw-medium);
  line-height: var(--lh-footer-addr);
}
.footer__group-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0 26.6px; /* 住所と同じ左位置 */
  font-size: 14px;
  font-weight: var(--fw-medium);
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__group-link img {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
}
.footer__nav--pc {
  grid-area: nav;
  display: grid;
  grid-template-columns: minmax(0, 206.7px) minmax(0, 208.4px) minmax(0, 1fr); /* px指定の3列（確認事項へ）。769〜1279pxで縮小可能に */
  gap: 0;
  margin-left: 56.2px; /* ナビ列1 ink左端 絶対x544.2 に合わせる */
  padding-top: 16.5px;
  align-content: start;
}
.footer__nav--sp {
  display: none;
}
.footer__nav a {
  display: block;
  font-size: var(--fs-16);
  line-height: var(--lh-footer-addr);
  letter-spacing: var(--ls-005);
}
.footer__nav li.is-child a {
  padding-left: 1em;
}
.footer__sns.is-pc-only {
  grid-area: nav; /* .footer__nav--pcと同じ列に同居（上記コメント参照） */
  justify-self: start;
  align-self: start;
  margin-left: 472.7px; /* nav列開始位置(408)からSNS目標x(880.7)までの距離 */
  margin-top: 161.3px;
  display: flex;
  gap: 31.6px;
}
.footer__sns a {
  display: block;
}
.footer__sns img {
  width: 42.7px;
  height: 42.7px;
}
.footer__sns .footer__youtube {
  width: 58.8px;
  height: 42.7px;
}

/* ==========================================================================
   Responsive: PC fluid（769〜1279px）
   1280pxちょうどでは本セクションの指定が影響しないよう、比率のみで縮小させる
   ========================================================================== */
@media (min-width: 769px) and (max-width: 1279px) {
  /* ABOUT本文カラム: 545px固定幅が写真(left53.4%)に食い込むため、
     1280基準のvw値にして写真と連動して縮小させる（1280ちょうどでは100vw=1280pxとなり元のpx値と一致） */
  .about__body-wrap {
    max-width: calc(586.7 / 1280 * 100vw); /* 41.7(padding)+545(本文幅) */
  }
  .about__text {
    padding-left: calc(41.7 / 1280 * 100vw);
  }
  /* ABOUTリンクカード: 固定幅389.7pxがgrid trackをはみ出すため、track幅に追従させる */
  .link-card {
    width: 100%;
    max-width: none;
  }
  .link-card__text {
    font-size: clamp(14px, 1.72vw, 22px); /* 1280で22px。幅縮小時のラベル文字見切れ防止 */
  }
  /* SERVICEカード群: 固定幅1050pxがコンテナ幅からはみ出すため比率で追従させる */
  .service-cards {
    left: 3.66%; /* 41/1120（コンテンツ幅基準） */
    width: 93.75%; /* 1050/1120 */
    column-gap: 3.919%; /* 41.15/1050（自身の幅基準） */
  }
  /* SERVICEカード: 本文が長くなりボタンに重なるため、この帯では通常フロー（写真→h3→本文→ボタンを縦積み）に切り替える */
  .service-card {
    display: block;
    min-height: 0;
  }
  .service-card__photo {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 3 / 2;
    clip-path: polygon(6.47% 0, 0 23.4%, 0 100%, 100% 100%, 100% 0);
  }
  .service-card__title {
    margin-top: 16px;
    transform: none;
    justify-content: flex-start;
  }
  .service-card__body {
    width: 100%;
    max-width: 313px;
    margin-top: 12px;
    align-self: auto;
  }
  .service-card__btn.is-pc-only {
    margin-top: 16px;
    margin-bottom: 0;
  }
  /* RECRUITラベル: 幅縮小時の文字見切れ防止 */
  .recruit-block__label {
    font-size: clamp(16px, 1.875vw, 24px); /* 1280で24px */
  }
  /* フッター: ナビ3列が潰れて1文字ずつ縦に並ぶため、ブランド行+ナビ行の2段グリッドに変更 */
  .footer__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand sns"
      "nav nav";
    row-gap: 24px;
    column-gap: 20px;
  }
  .footer__brand {
    grid-area: brand;
  }
  .footer__sns.is-pc-only {
    grid-area: sns;
    position: static;
    align-self: center;
    margin: 0; /* PC用(1280px+)のmargin-left(472.7px)/margin-top(161.3px)が残っていると、sns列がその分だけ幅を要求してbrand列(1fr)を圧迫し潰れるため打ち消す */
  }
  .footer__nav--pc {
    grid-area: nav;
    margin-left: 0;
    padding-top: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 20px;
  }

  /* スライダー: PC用のviewport固定幅がこの帯の縮小したコンテナ幅を超えるとはみ出すため、残り幅を上限にする（はみ出した分はoverflow:hiddenで切る） */
  .interview .slider__viewport {
    width: min(959.6px, calc(100% - 80.2px));
  }
  .jobs .slider__viewport {
    width: min(821.4px, calc(100% - 151.3px));
  }
}

/* ヘッダー: 769〜1100pxはSPと同じハンバーガー方式にしてナビの見切れを廃止する（新ヘッダーの .header__right は Header v2 の @media で非表示） */
@media (min-width: 769px) and (max-width: 1100px) {
  .global-nav,
  .header__contact {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  /* BREAFING: 写真リージョンが本文・h2に重なるため、通常フローに切り替えて本文の下に右寄せ配置する */
  .briefing {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-bottom: 40px;
  }
  .briefing__photo-region {
    order: 2;
    position: static;
    height: auto;
    width: 60%;
    max-width: 480px;
    margin: 32px 40px 0 auto;
  }
  .briefing__bg,
  .briefing__accent,
  .briefing__photo2 {
    display: none;
  }
  .briefing .stage {
    position: static;
    height: auto;
    max-width: none;
  }
  .briefing__photo1 {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 465.7 / 400;
    clip-path: polygon(35.6% 0, 0 100%, 64.4% 100%, 100% 0);
  }
}

/* ヘッダー: 1101〜1279pxはナビを表示（フォント縮小のまま）。ただし切れないようoverflow:hiddenは使わない（新ヘッダーの縮小は Header v2 の @media） */
@media (min-width: 1101px) and (max-width: 1279px) {
  .global-nav__list {
    gap: 8px;
  }
  .global-nav__list a {
    font-size: 16px;
  }

  /* BREAFING: %配置のまま。本文カラムの右端が写真の斜辺に触れないよう幅を絞る */
  .briefing__text-col {
    max-width: 440px;
  }
}

/* ==========================================================================
   Responsive: SP（768px以下）
   ========================================================================== */
@media (max-width: 768px) {
  .container {
    padding: 0;
  }

  .brk-pc {
    display: none;
  }
  .brk-sp {
    display: inline;
  }
  .briefing__sub-heading {
    display: block;
  }
  .interview-card__sep {
    display: inline;
  }
  .notices__item:nth-child(n + 4) {
    display: none; /* SPはお知らせを3件のみ表示（要確認: 実測はPC5件/SP3件） */
  }
  .is-pc-only {
    display: none;
  }
  .is-sp-only {
    display: block;
  }
  .section-heading__slash--pc {
    display: none;
  }
  .section-heading__slash--sp {
    display: block;
    width: 20px;
    height: 47px;
  }

  /* --- Header（新ヘッダーの縮小は Header v2 の @media。旧ヘッダー用の .header__logo / .global-nav / .header__contact は全ページ切替後に削除可） --- */
  .header {
    height: var(--header-height-sp);
  }
  .header__inner {
    max-width: none;
  }
  .header__logo {
    margin-left: 14.7px;
    margin-top: 12.1px;
    width: 257px;
    height: 75.5px;
  }
  .global-nav,
  .header__contact {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  /* --- MV --- */
  .mv {
    aspect-ratio: 480 / 270;
  }

  /* --- Notices --- */
  .notices {
    padding-top: 16.45px;
    padding-bottom: 39.5px;
    min-height: 452.6px; /* セクション下端をABOUT開始位置(826.6)に固定 */
  }
  .notices__heading {
    display: none; /* SPは見出し無し */
  }
  .notices__list {
    margin-top: 0;
  }
  .notices__item {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 97.5px;
    padding-left: 29.7px;
    padding-right: 16px;
  }
  .notices__date {
    display: block;
    width: auto;
    flex-shrink: 0;
    line-height: 1.5; /* 30px。ラベル(30px)と高さを揃える */
  }
  .notices__label {
    position: static;
    flex-shrink: 0;
    margin: 0 0 0 22.4px; /* 日付右端からラベル左端(152px)までの間隔 */
  }
  .notices__text {
    position: absolute;
    left: 178.2px;
    top: 72.45px;
    right: 16px;
    display: block;
    margin-top: 0;
    margin-left: 0;
    font-size: var(--fs-18);
    letter-spacing: var(--ls-005);
  }
  .notices__more {
    position: relative;
    display: flex; /* inline-flexだと行ボックスのbaseline整列で親の高さが変わるため block-level flex に */
    align-items: flex-start;
    justify-content: center;
    margin-top: 46.95px;
    margin-left: 29.9px;
    width: calc(100% - 59.8px);
    max-width: 420px;
    min-height: 40px; /* テキスト要素のためheight固定を回避（coding-rules-xd.md §5） */
    padding: 1.9px 40px 0 29.8px; /* baseline=上端+26.6、文字中央位置を仕様に合わせる実測補正 */
    border-color: var(--color-primary);
    border-width: 0.6px;
    font-size: var(--fs-20);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-005);
  }
  .notices__more .arrow {
    position: absolute;
    right: 25.8px;
    top: 50%;
    transform: translateY(calc(-50% - 2.1px)); /* baselineを仕様に合わせる実測補正 */
  }

  /* --- section-heading共通(SP) --- */
  .section-heading__en {
    font-size: var(--fs-sp-40);
    padding-left: 29.7px;
  }
  .section-heading__ja {
    font-size: var(--fs-22);
    line-height: var(--lh-sp-h2);
    letter-spacing: var(--ls-01);
    padding-left: 49.7px;
  }
  .section-heading__slash {
    left: 29.7px;
    top: -7.9px; /* 赤入れ No.7: h2 1行目とスラッシュを縦中央で揃える */
    width: 20px;
    height: 47px;
  }
  .recruit .section-heading__en {
    position: relative;
    top: -1.5px; /* baselineを仕様に合わせる実測補正 */
  }
  .recruit .section-heading__ja {
    padding-left: 59.2px;
  }
  .interview .section-heading__en {
    padding-left: 25.4px;
    position: relative;
    top: -2px; /* baselineを仕様に合わせる実測補正 */
  }
  .interview .section-heading__ja {
    padding-left: 58.7px;
  }
  .briefing .section-heading__en {
    padding-left: 26.6px;
    position: relative;
    top: -1.6px; /* baselineを仕様に合わせる実測補正 */
  }
  .briefing .section-heading__ja {
    padding-left: 58.7px;
  }
  .jobs .section-heading__en {
    position: relative;
    top: -1.8px; /* baselineを仕様に合わせる実測補正 */
  }
  .jobs .section-heading__ja {
    padding-left: 58.7px;
  }

  /* --- ABOUT --- */
  .about {
    padding-top: 28.8px;
    padding-bottom: 29.5px;
    min-height: 1040px;
  }
  .about .section-heading__ja {
    margin-top: 36px;
  }
  /* 赤入れ No.7: .section-heading__slash共通のtop(-7.9px)と同値になったため削除 */
  .about__body-wrap {
    margin-top: 108.2px;
    max-width: none;
  }
  .about__text {
    font-size: var(--fs-16);
    line-height: var(--lh-sp-body);
    padding-left: 49.7px;
    padding-right: 16px;
  }
  .about__text + .about__text {
    margin-top: 25.6px;
  }
  .about__photo-region {
    top: 37px; /* 写真bbox top(863.6) - セクションtop(826.6) */
    height: 244.5px;
  }
  .about__photo-under {
    display: none;
  }
  .about__photo {
    left: calc(183.6 / 480 * 100%);
    top: 0;
    width: calc(296.4 / 480 * 100%);
    height: auto;
    aspect-ratio: 296.4 / 244.5;
    clip-path: polygon(34.2% 0, 0 100%, 100% 100%, 100% 0);
  }
  .link-cards {
    margin-top: 27.7px;
    max-width: var(--sp-artboard);
    grid-template-columns: 1fr;
    row-gap: 15.6px;
  }
  .link-cards li:nth-child(1),
  .link-cards li:nth-child(2),
  .link-cards li:nth-child(3) {
    margin-left: 0;
  }
  .link-card {
    width: 100%;
    max-width: none; /* PC用のmax-width(389.7px)を打ち消す */
    height: 130px;
  }
  .link-card__photo {
    width: calc(313.3 / 480 * 100%);
    max-width: 100%;
    height: 130px;
    clip-path: polygon(0 0, 0 100%, 82.8% 100%, 100% 0);
  }
  .link-card__label {
    left: min(calc(264.9 / 480 * 100%), calc(100% - 150px)); /* 極小幅で文字が見切れないよう右端を確保 */
    top: 65px;
    width: max(calc(190 / 480 * 100%), 150px);
    min-height: 65.1px; /* テキスト要素のためheight固定を回避（coding-rules-xd.md §5） */
    clip-path: polygon(14.2% 0, 100% 0, 85.8% 100%, 0 100%);
    padding-left: calc(21.8 / 480 * 100%); /* 赤入れ No.6: paddingの%は.link-card(containing block, 480基準)基準のため480で正規化。PC用のpadding-leftを上書き */
  }
  .link-card__text {
    font-size: clamp(14px, 3.75vw, 18px); /* 赤入れ No.6 修正: 480で18px・320で14px(下限)になるよう比例縮小し、矢印(%指定)との間隔を全幅で確保する */
    line-height: var(--lh-sp-linkcard); /* 無単位比率のためfont-sizeに連動して行送りも比例する */
    text-indent: 10.8%; /* 赤入れ No.6: 1行目「ワーレックス」だけ+18.2px相当右へ（斜辺に沿って2行目を左に寄せる） */
  }
  .link-card__arrow {
    left: 53.16%; /* 赤入れ No.6: ラベル相対101/190 */
    top: 65.13%; /* 42.4/65.1 */
    width: 31.58%; /* 60/190 */
    height: auto;
    aspect-ratio: 60 / 8.3;
  }

  /* --- SERVICE --- */
  .service {
    padding-top: 64.5px;
    min-height: 0;
  }
  .service__head {
    display: block;
  }
  .service__head .section-heading__ja {
    margin-top: 34.9px;
  }
  .service__desc {
    margin-top: 14.2px;
    padding-left: 51.4px;
    padding-right: 16px;
    font-size: var(--fs-16);
    line-height: var(--lh-sp-body);
  }
  .service__gradbox-wrap {
    position: relative;
    margin-top: 3.5px;
  }
  .service__gradbox {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0; /* 赤入れ No.10: ラップ全体を覆う（375/320でも灰背景がセクション下端まで届くように） */
    margin-left: 0;
    background: var(--grad-vertical);
    max-width: none;
    width: 100%;
    height: auto; /* 赤入れ No.10: 固定1200pxを廃止しtop/bottomで可変化 */
    padding: 0;
    z-index: 0;
  }
  .service-cards {
    position: static; /* PC用のposition:absoluteがSPに漏れて高さが潰れるのを防ぐ */
    left: auto;
    top: auto;
    width: auto;
    margin-top: 0;
    padding-top: 56.4px;
    padding-bottom: 47.5px; /* 赤入れ No.10: +7.5px。灰ボックスラップの高さを1200pxに揃える（480の見た目は不変。.recruitのpadding-topで相殺） */
    max-width: var(--sp-artboard);
    grid-template-columns: 1fr;
    row-gap: 28.1px;
    z-index: 1;
  }
  .service-card {
    position: relative;
    display: block;
    min-height: 0;
    padding-bottom: 40px;
    border-bottom: 1.4px solid var(--color-divider-sp);
  }
  .service-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .service-card__photo {
    margin-left: 2.5%; /* 赤入れ No.9/10: 12/480。包含ブロック.service-card(480基準)の%化 */
    width: 56.83%; /* 272.8/480 */
    max-width: none;
    height: auto;
    aspect-ratio: 272.8 / 180;
    clip-path: polygon(26.7% 0, 0 100%, 73.3% 100%, 100% 0); /* 赤入れ No.8: 右辺も斜めに（仕様(72.8,0)(0,180)(200,180)(272.8,0)） */
  }
  .service-card__title {
    position: absolute;
    left: 57.48%; /* 赤入れ No.9/10: 275.9/480 */
    top: calc(52.7 / 480 * 100vw); /* 赤入れ No.9/10: 375/320でも写真に対する相対位置を維持 */
    right: 16px;
    margin-top: 0;
    gap: 12.3px;
    transform: none; /* PC用のtranslate補正を打ち消す */
    font-size: clamp(16px, 4.17vw, 20px); /* 赤入れ No.9/10 */
  }
  .service-card__title img.is-sp-only {
    order: -1; /* スラッシュを文字より前（左）に表示 */
    width: 18.1px;
    height: 25px;
  }
  .service-card__btn.is-sp-only {
    display: flex; /* .is-sp-only(display:block)より後勝ちさせてflex行を維持 */
    position: absolute;
    left: 57.48%; /* 赤入れ No.9/10: 275.9/480 */
    top: calc(118.4 / 480 * 100vw); /* 赤入れ No.9/10 */
    margin: 0;
    width: 29.17%; /* 赤入れ No.9/10: 140/480 */
    min-height: 20px; /* テキスト要素のためheight固定を回避（coding-rules-xd.md §5） */
    line-height: 14.8px; /* min-height化に伴い実高さ(=min-height)を20pxに収めるための行送り調整 */
    background-color: var(--color-white);
    border: 0.6px solid var(--color-primary);
    color: var(--color-primary);
    font-size: clamp(13px, 3.33vw, 16px); /* 赤入れ No.9/10 */
    letter-spacing: var(--ls-005);
    white-space: nowrap; /* 赤入れ No.9/10: 320px付近でflexのテキストが不要に折り返し高さが伸びるのを防ぐ */
    justify-content: space-between;
    padding-top: 2.4px; /* baselineを仕様に合わせる実測補正（min-height化に伴い再調整） */
    gap: 0;
    padding-left: 5.19%; /* 赤入れ No.9/10: 24.9/480 */
    padding-right: 1.875%; /* 9/480 */
  }
  .service-card__btn .arrow-icon {
    width: 6px;
    height: 12px;
  }
  .service-card__body {
    margin-top: 28.8px;
    width: auto;
    max-width: none; /* PC用のmax-width(313px)を打ち消す */
    padding-left: 13.27%; /* 赤入れ No.9/10: 63.7/480 */
    padding-right: 3.33%; /* 16/480 */
    font-size: var(--fs-16);
    line-height: var(--lh-sp-body);
  }

  /* --- RECRUIT --- */
  .recruit {
    padding-top: 97.8px; /* 赤入れ No.10: -7.5px。.service-cardsのpadding-bottom増分を相殺し、RECRUIT以降のyを維持 */
    padding-bottom: 89.6px;
    min-height: 0;
  }
  .recruit .section-heading__ja {
    margin-top: 38.8px;
  }
  .recruit-grid {
    margin-top: 33.2px;
    max-width: var(--sp-artboard);
    grid-template-columns: 1fr;
    row-gap: 102px;
  }
  .recruit-block__photo-wrap {
    width: calc(374.3 / 480 * 100%);
    margin-left: calc(44 / 480 * 100%);
    aspect-ratio: 374.3 / 180;
  }
  .recruit-block__label {
    left: calc(150.5 / 374.3 * 100%); /* 写真ラップ(374.3px基準)に対する比率 */
    top: 80%; /* 赤入れ No.11: 写真ラップ高180の80%=144（480は不変）。375/320でも写真に20%重なるよう追従させる */
    width: calc(240 / 374.3 * 100%);
    min-height: 44.3px; /* テキスト要素のためheight固定を回避（coding-rules-xd.md §5） */
    max-width: none;
    clip-path: polygon(7.6% 0, 100% 0, 92.3% 100%, 0 100%);
    font-size: clamp(14px, 4.17vw, 20px); /* 480pxで20px。幅が縮む320〜375pxで文字がラベル幅からはみ出すのを防ぐ */
    padding-top: 6.2px; /* baseline=上端+30.9に合わせる実測補正（20px用） */
  }
  .recruit-block__accent {
    left: 95.16%; /* 赤入れ No.13: 写真ラップ相対356.2/374.3。写真の右へ配置し、幅も比例化して重なりを防ぐ */
    right: auto;
    top: 0;
    width: 9.64%; /* 36.1/374.3 */
    height: auto;
    aspect-ratio: 36.1 / 80;
  }
  .recruit-block__text {
    margin-top: 31.5px;
    min-height: 0; /* PC用のmin-height(170.1px)を打ち消す */
    padding-left: 47.9px;
    padding-right: 16px;
    font-size: var(--fs-16);
    line-height: var(--lh-sp-body);
  }
  .recruit-block__btn {
    margin-top: 15.3px;
    margin-left: calc(240 / 480 * 100%);
    width: calc(200 / 480 * 100%);
    font-size: clamp(13px, 3.33vw, 16px); /* 赤入れ No.12: 375/320でも文字が折り返さないよう比例縮小 */
    padding-top: 6.7px; /* baseline=上端+21.7に合わせる実測補正（16px用） */
    padding-left: 10.69%; /* 赤入れ No.12: 包含ブロック.recruit-block(480基準)で51.3px相当 */
    padding-right: 1.31%; /* 6.3px相当 */
  }
  .recruit-block:nth-child(2) .recruit-block__btn {
    margin-top: 32.8px; /* 本文が6行のため間隔を調整 */
  }
  .recruit-block__btn .arrow {
    font-size: 1em; /* 赤入れ No.12: ボタン文字サイズに追従させる */
  }

  /* --- INTERVIEW --- */
  .interview {
    padding-top: 61.6px;
    padding-bottom: 42.5px;
    min-height: 505px;
  }
  .interview .section-heading__ja {
    margin-top: 43.4px;
  }
  .slider {
    margin-top: 8.2px;
  }
  .interview .slider {
    margin-top: 36.4px; /* PC用の.interview .slider(70.4px, 2クラス)がSPでも勝つため上書き */
  }
  .slider__arrow--prev { left: 31.1px; width: 7px; height: 27.2px; }
  .slider__arrow--next { right: 30.9px; width: 7px; height: 27.2px; }
  .interview .slider__arrow {
    top: calc(50% + 16.4px); /* カード中央より少し下に配置（実測差分） */
  }
  .slider__track {
    width: auto;
    margin: 0;
    gap: 0;
  }
  .interview .slider__viewport {
    width: calc(380 / 480 * 100%); /* カード幅と同じにして次カードの見切れを防ぐ */
    margin: 0 auto;
  }
  .interview .slider__track {
    padding-left: 0;
  }
  .jobs .slider__viewport {
    width: calc(420 / 480 * 100%); /* カード幅と同じにして次カードの見切れを防ぐ */
    margin: 0 auto;
  }
  .jobs .slider__track {
    gap: 0;
    padding-left: 0; /* margin-leftの打ち消しは不要（PC用の151.3pxは.jobs .slider__viewport側へ移設済みで、上の.jobs .slider__viewport{margin:0 auto}が上書きする） */
  }
  .interview-card {
    flex: 0 0 100%; /* padding-left(50px)を除いた残り幅を基準に縮小し、max-widthで380pxを上限にする */
    max-width: 380px;
  }
  .interview-card__body {
    padding: 4.2px 0 18.2px 20px;
    margin: 0 15px;
  }
  .interview-card__year {
    display: inline;
    margin-top: 0;
    font-size: var(--fs-16);
  }
  .interview-card__name {
    display: inline;
    margin-top: 0;
    font-size: var(--fs-16);
  }
  .label-tri {
    --slant: calc(45px * var(--slant-ratio)); /* 22.5°斜めカットの水平オフセット（高さ45px基準） */
    width: 150px;
    min-height: 45px; /* テキスト要素のためheight固定を回避（coding-rules-xd.md §5） */
    clip-path: polygon(var(--slant) 0, 100% 0, calc(150px - var(--slant)) 100%, 0 100%);
    font-size: var(--fs-16);
    padding-top: 10px; /* baselineを仕様に合わせる実測補正（16px/45px用） */
  }
  .label-tri--bordered::before {
    clip-path: polygon(var(--slant) 0, 100% 0, calc(150px - var(--slant)) 100%, 0 100%);
  }
  .label-tri--plain {
    font-size: var(--fs-18);
    padding-top: 7.45px; /* baselineを仕様に合わせる実測補正（18px/45px用） */
    padding-right: 12.8px; /* ink左を仕様に合わせる実測補正 */
  }

  /* --- BREAFING --- */
  .briefing {
    padding-top: 106.2px;
    padding-bottom: 0.4px;
    min-height: 0;
  }
  .briefing .section-heading__ja {
    margin-top: 30.9px;
  }
  .briefing .section-heading__slash--sp {
    top: -5.2px; /* 赤入れ No.7: h2のline-height(36.63px)がABOUT等と異なるため個別補正 */
  }
  .briefing-grid {
    margin-top: 0;
  }
  .briefing__photo-region {
    height: auto; /* 赤入れ No.14: 375/320でも幅からの比例縮小にし、写真1・2の下端ズレを解消 */
    aspect-ratio: 480 / 314.3;
    top: 137.6px; /* 写真1 bbox top(643.5) - セクションtop(505.9) */
  }
  .briefing__bg {
    display: none;
  }
  .briefing__photo1 {
    left: calc(166.8 / 480 * 100%);
    top: 0;
    width: calc(313.2 / 480 * 100%);
    height: auto;
    aspect-ratio: 313.2 / 314.3;
    clip-path: polygon(41.6% 0, 0 100%, 75.2% 100%, 100% 40.5%, 100% 0);
  }
  .briefing__accent {
    left: calc(413.5 / 480 * 100%);
    top: auto; /* 赤入れ No.14 */
    bottom: 0; /* 赤入れ No.14: 写真の下端に追従させる */
    width: calc(28.3 / 480 * 100%);
    height: auto;
    aspect-ratio: 28.3 / 62.9;
  }
  .briefing__photo2 {
    left: 0;
    top: auto; /* 赤入れ No.14 */
    bottom: 0; /* 赤入れ No.14: 写真1と下端を揃える */
    width: calc(236.3 / 480 * 100%);
    height: auto;
    aspect-ratio: 236.3 / 196.4;
    clip-path: polygon(0 0, 0 100%, 65.6% 100%, 100% 0);
  }
  .briefing__sub-heading {
    display: block;
    margin-top: calc(277.6 / 480 * 100vw); /* 赤入れ No.14: 比例化しても写真下端との間隔が375/320で30px以上保てるため変更（判断事項参照） */
    text-align: center;
    font-size: var(--fs-22);
    font-weight: var(--fw-bold);
  }
  .briefing__text-col {
    max-width: none;
  }
  .briefing__desc {
    margin-top: 19px;
    padding-left: 45.8px;
    padding-right: 16px;
    font-size: var(--fs-16);
    line-height: var(--lh-sp-body);
  }
  .briefing__list {
    margin-top: 38.8px;
    padding-left: 58.1px; /* 赤入れ No.15: カンプ実測(文字57〜58/スラッシュ42〜49)に合わせて2項目目基準に統一。40.7だと2項目目・スラッシュが左に寄りすぎるため+17.4 */
    padding-right: 8px; /* 赤入れ No.15: padding-left+17.4で2項目目1行目が480px内で折返してしまうため、右余白を詰めて可読幅を確保（16→8） */
  }
  .briefing__list li {
    font-size: var(--fs-18);
    font-weight: var(--fw-bold);
    line-height: var(--lh-sp-list);
  }
  .briefing__list li + li {
    margin-top: 24.7px;
  }
  .briefing__list img {
    left: -17.4px;
    top: 4px;
    width: 10px;
    height: 13.8px;
  }
  .briefing__btn {
    position: relative;
    margin-top: 20.2px;
    margin-left: 30px;
    width: calc(100% - 60px);
    max-width: 420px;
    height: 40px;
    background-color: var(--color-primary);
    font-size: var(--fs-20);
    justify-content: center;
    padding-top: 7.9px; /* baseline=上端+26.6に合わせる実測補正（20px/40px用） */
    padding-left: 0;
    padding-right: 0;
  }
  .briefing__btn .arrow {
    position: absolute;
    right: 29.8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--fs-18);
  }

  /* --- JOBS --- */
  .jobs {
    padding-top: 88.3px;
    padding-bottom: 95.9px;
    min-height: 0;
  }
  .jobs .section-heading__ja {
    margin-top: 31px;
  }
  .jobs .slider {
    margin-top: 42.7px;
  }
  .jobs .slider__arrow {
    display: none;
  }
  .jobs-card {
    flex: 0 0 100%; /* padding-left(30px)を除いた残り幅を基準に縮小し、max-widthで420pxを上限にする */
    max-width: 420px;
  }
  .jobs-card__photo-wrap {
    height: 150px;
  }
  .jobs-card__list {
    padding: 16.2px 0 23.5px 31px; /* 行送り25.5化に伴いbaselineを補正 */
    font-size: var(--fs-16);
    line-height: var(--lh-sp-body);
    letter-spacing: var(--ls-none);
  }
  .jobs__dots {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 19.8px;
  }
  .jobs__dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    background-color: var(--color-divider-sp);
  }
  .jobs__dots button.is-active {
    background-color: var(--color-primary);
  }
  .jobs__more {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 50.6px auto 0;
    width: calc(100% - 60px);
    max-width: 420px;
    min-height: 40px; /* テキスト要素のためheight固定を回避（coding-rules-xd.md §5） */
    padding: 2.5px 40px 0 28.8px; /* baseline=上端+26.6、文字中央位置を仕様に合わせる実測補正 */
    font-size: var(--fs-20);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-005);
  }
  .jobs__more .arrow {
    position: absolute;
    right: 25.8px;
    top: 50%;
    transform: translateY(-50%);
  }

  /* --- CTA --- */
  .cta {
    padding-top: 41.4px;
    padding-bottom: 1.8px;
    min-height: 290px;
  }
  .cta__heading {
    width: calc(310 / 480 * 100%);
    margin: 0 0 0 calc(88.2 / 480 * 100%);
    font-size: var(--fs-20);
  }
  .cta__box-group {
    margin-top: 13.7px;
    margin-left: 0; /* PC用のmargin-left(94.7px)を打ち消す（各子要素で個別に位置指定） */
    flex-direction: column;
    align-items: flex-start;
    gap: 17.7px;
  }
  .cta__phone-box {
    margin-left: calc(31.1 / 480 * 100%); /* 白箱leftを絶対x31.1に合わせる（中央寄せしない） */
    width: calc(310 / 480 * 100%);
    min-height: 80px; /* テキスト要素のためheight固定を回避（coding-rules-xd.md §5） */
    padding-top: 7.9px; /* align-items:baselineで電話番号のbaselineを仕様(38.9)に合わせる基準位置 */
    padding-left: 23.8px; /* 受付時間のink左に合わせる（電話行は.cta__phone-topのmargin-leftで追加調整） */
    box-shadow: var(--shadow-cta-sp);
  }
  .cta__phone-top {
    margin-left: -4.1px; /* 電話アイコンのink左(19.7) - 親padding-left(23.8) */
    gap: 9.6px; /* 電話番号ink左(52.5) - アイコンink左(19.7) - アイコン幅(23.2) */
  }
  .cta__phone-icon {
    top: 2.9px; /* baseline整列時のアイコン位置を仕様(top 10.8)に合わせる実測補正 */
    width: 23.2px;
    height: 31px;
  }
  .cta__phone-number {
    font-size: var(--fs-30);
    color: var(--color-text);
  }
  .cta__hours {
    margin-top: 8.3px; /* baselineを仕様6902.4に合わせる実測補正 */
    font-size: var(--fs-17);
    letter-spacing: var(--ls-01);
  }
  .cta__apply-btn {
    top: 0;
    margin-left: calc(31.1 / 480 * 100%); /* 白箱と同じ左位置 */
    width: calc(310 / 480 * 100%);
    min-height: 80px; /* テキスト要素のためheight固定を回避（coding-rules-xd.md §5） */
    padding-right: 16.21%; /* 赤入れ No.16: 77.8/480。包含ブロック.cta__box-group基準 */
    box-shadow: var(--shadow-cta-sp);
  }
  .cta__apply-btn span {
    top: 0;
    padding-left: 9.82%; /* 赤入れ No.16: 22.8/232.2。spanのpaddingの%はボタンのコンテント幅(310-padding-right77.8=232.2)基準のため232.2で正規化 */
    font-size: var(--fs-22);
  }
  .cta__apply-btn img {
    width: 5.1px;
    height: 20px;
  }
  .cta__operator {
    right: auto;
    left: calc(290.5 / 480 * 100%);
    top: 97.9px;
    width: calc(162.2 / 480 * 100%);
    height: auto;
    aspect-ratio: 162.2 / 192.6;
  }

  /* --- Footer --- */
  .footer {
    padding: 0;
    min-height: 386.7px;
  }
  .footer__white-band {
    background-color: var(--color-white);
    padding: 59.6px 0 7.7px 7.125%; /* 赤入れ No.17: 34.2/480 */
    display: flex;
    justify-content: flex-start;
  }
  .footer__logo {
    margin-left: 0; /* PC用のmargin-left(7.9px)を打ち消す（白帯側でpadding-leftを付与済み） */
    width: 238px;
    height: 67px;
  }
  .footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav";
    padding-top: 20.9px;
    padding-bottom: 30px;
  }
  .footer__brand {
    grid-area: brand;
  }
  .footer__name {
    margin-top: 0;
    padding-left: 12.17%; /* 赤入れ No.17: 58.4/480 */
    font-size: var(--fs-20);
    letter-spacing: var(--ls-005);
    text-align: left;
  }
  .footer__address {
    margin-top: 8px; /* baselineを仕様7253.1に合わせる実測補正 */
    padding-left: 12.17%; /* 赤入れ No.17: 58.4/480 */
    font-size: clamp(13px, 3.75vw, 16px); /* 赤入れ No.17: 375/320でも住所1行目が折り返さないよう縮小 */
    line-height: var(--lh-sp-footer);
  }
  .footer__group-link {
    margin-top: 16px; /* 右に重ねて置くSNSアイコン(住所と同じ高さ)の下端と重ならない位置 */
    margin-left: 12.17%; /* 住所と同じ左位置 */
    font-size: clamp(12px, 3.5vw, 14px);
  }
  .footer__sns.is-pc-only {
    display: none; /* 特異性(0,2,0)が同じbase側の.footer__sns.is-pc-only{display:flex}と並び、後勝ちで確実に非表示にする（.is-pc-only単体では特異性不足で打ち消せない） */
  }
  .footer__sns.is-sp-only {
    grid-area: brand; /* .footer__brandと同じ行に重ねて配置（住所1行目とx帯は重なるがy帯が異なるため実害なし） */
    display: flex; /* .is-sp-only(display:block)より後勝ちさせてflex行を維持 */
    justify-self: start;
    align-self: start;
    margin-left: 64.9%; /* 赤入れ No.17: 311.5/480 */
    margin-top: 86.1px; /* 住所と同じ高さに合わせる（実測差分で調整） */
    gap: 23.4px;
  }
  .footer__sns img {
    width: 31.5px;
    max-width: none;
    height: 31.5px;
  }
  .footer__sns .footer__youtube {
    width: 43.4px;
    max-width: none;
    height: 31.5px;
  }
  .footer__nav--pc {
    display: none;
  }
  .footer__nav--sp {
    grid-area: nav;
    display: block;
    margin-top: 50.65px; /* 行送り25.5化に伴うbaseline補正 */
    padding-left: 12.17%; /* 赤入れ No.17: 58.4/480 */
  }
  .footer__nav--sp a {
    padding: 0;
    line-height: var(--lh-sp-footer); /* 25.5送りに統一 */
  }
}

/* ==========================================================================
   Responsive: SP狭幅（480px未満）
   480pxちょうどの表示（既存のSPルール）は一切変更せず、
   固定pxのまま縮小して発生する重なり・見切れ・文字の不自然な分断のみを
   fluid化やレイアウト変更で解消する。
   ========================================================================== */
@media (max-width: 479px) {
  /* --- Header: ロゴ幅を縮小してハンバーガーとの重なりを防ぐ（旧ヘッダー用。新ヘッダーは Header v2 の vw 比例で320〜768pxを賄うため不要。全ページ切替後に削除可） --- */
  .header__logo {
    width: calc(257 / 480 * 100%);
    height: auto; /* 高さを親.header(高さ固定)基準の%にすると幅縮小に追従せず潰れるため、imgのaspect-ratioに委ねる */
  }
  .header__logo img {
    height: auto;
    aspect-ratio: 514 / 150; /* 支給ロゴ画像(514x150)の縦横比を維持 */
  }

  /* --- お知らせ一覧ボタン・募集要項一覧ボタン: 文字の折返しを防ぐ --- */
  .notices__more,
  .jobs__more {
    white-space: nowrap;
    padding-left: 16px;
    padding-right: 32px;
  }
  .notices__more .arrow,
  .jobs__more .arrow {
    right: 12px;
  }

  /* 赤入れ No.12: RECRUITボタンは.recruit-block__btnの%padding+clamp(font-size)で375/320でも折り返さないため、この上書きは不要になり削除 */
  /* 赤入れ No.11: RECRUITラベルがtop:80%で写真ラップに追従するようになったため、本文側の余白確保は不要になり削除 */

  /* --- ABOUT: 写真リージョンを絶対配置ではなくh2直後の通常フローにして重なりを防ぐ --- */
  .about > .container {
    display: contents;
  }
  .about {
    display: flex;
    flex-direction: column;
  }
  .about__photo-region {
    position: static;
    order: 1;
    height: auto;
    width: 100%;
    margin-top: 16px;
  }
  .about .section-heading {
    order: 0;
  }
  .about__body-wrap {
    order: 2;
    margin-top: 16px;
  }
  .link-cards {
    order: 3;
    width: 100%; /* .about(flex column)の子になったことでgridのfr計算が0幅になるバグを打ち消す */
  }
  .about__photo {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 296.4 / 244.5;
    clip-path: polygon(0 0, 0 100%, 88% 100%, 100% 0);
  }
  .link-card__photo {
    height: auto;
    aspect-ratio: 313.3 / 130; /* 幅計算(calc(313.3/480*100%))に連動して高さも比例縮小させる */
  }
  /* 赤入れ No.6 修正: 矢印の固定px上書き(left:91px;width:39px)は480→479で不連続にジャンプする副作用があったため削除。
     768px側の.link-card__text{font-size:clamp(14px,3.75vw,18px)}で文字もラベルと一緒に比例縮小させることで、
     矢印は768px側の%/aspect-ratio指定（left:53.16%; top:65.13%; width:31.58%; aspect-ratio:60/8.3;）のみで
     320〜480の全幅を賄う */

  /* 赤入れ No.9/10: SERVICEの縦積みレイアウト（写真→h3/ボタン→本文）を廃止し、768px側のルールを%/vw化して375/320でも写真の右にh3・ボタンを配置する構成に統一 */

  /* --- CTA: 電話番号・受付時間・応募ボタン文字の折返しを防ぐ --- */
  .cta__phone-number {
    font-size: clamp(20px, 6.25vw, 30px);
    white-space: nowrap;
  }
  .cta__hours {
    font-size: clamp(13px, 3.54vw, 17px);
    white-space: nowrap;
  }
  .cta__apply-btn span {
    font-size: clamp(14px, 4.58vw, 22px); /* 赤入れ No.16: %化したpaddingで320px時に文字とシェブロンが接触するため下限を14pxに緩和（320では4.58vw=14.66pxが採用され16pxクランプを回避） */
    white-space: nowrap;
  }

  /* 赤入れ No.17: フッターSNSは.footer__sns.is-sp-onlyのmargin-left(%化)により480と同じ配置(住所2〜3行目の右)を375/320でも維持できるため、この上書きは不要になり削除 */
}

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

/* CHECK2 interview: カードリンク
   先輩社員の声カード（TOP / 採用情報トップ / 社員インタビュー詳細の「他のインタビュー」）を詳細ページへのリンクにする。
   カード寸法（PC 300×280 / SP 380×250）とスライダー動作は変えない。 */
.interview-card__link {
  display: block;
  height: 100%;
}
/* カード内リンクへキーボードでフォーカスすると、overflow:hidden のビューポートが自動スクロールして
   JS の transform と二重にずれ、右側に空白が出る。スクロール不可のクリップにしてこれを防ぐ（見た目は同じ） */
.interview .slider__viewport {
  overflow: clip;
}
/* 役職行は「ドライバー（入社12年目）」など文字数が多いため、カード幅に応じて1行に収まるサイズへ縮小する
   （最長はナカムラさんの「マネージャー（マネージャー歴4年）」≒16.4em。17em 相当で割る。cqw 非対応ブラウザは 14px） */
.interview-card__link .interview-card__body {
  container-type: inline-size;
}
.interview-card__link .interview-card__role {
  padding-top: 6.2px;
  font-size: 14px;
  font-size: min(14px, calc(100cqw / 17));
  line-height: 25px; /* padding 6.2 + 25 = 31.2px: 元の「20XX年入社」行と同じ行高さ・同じベースライン → PCカード高さ280pxを維持 */
  letter-spacing: 0;
}
@media (max-width: 768px) {
  /* SPは役職と氏名を2行に積む（旧: 「20XX年入社　氏名」の1行）。カード高さ250pxに収めるため上下余白を詰める */
  .interview-card__link .interview-card__body {
    padding: 2px 0 3.8px 20px;
  }
  .interview-card__link .interview-card__role,
  .interview-card__link .interview-card__name {
    display: block;
  }
  .interview-card__link .interview-card__role {
    padding-top: 0;
    line-height: 18.2px;
  }
  .interview-card__link .interview-card__name {
    line-height: 24px;
  }
}

/* CHECK4 jobs: 募集要項カード（TOP / 採用情報トップ）を各求人の詳細ページへのリンクにする
   （2026-10-28 クライアント指示 No.12・13・54・55）。カード寸法とスライダー動作は変えない。 */
.jobs-card__link {
  display: block;
  height: 100%;
}
/* 求人写真は文字入りのバナー画像（4:3 / 青梅は3:2）のため、固定高さ（PC150px / SP150px）で切らず、画像本来の比率で表示する。
   募集要項の各項目は原稿の1行目だけを載せ、給与・住所などは折り返して全文を見せる（省略記号は使わない）。
   このためカードの高さはカンプ（PC 300px / SP 320px）より伸びる（2026-10-31 統括判断）。
   スライダー内のカードは .slider__track の stretch で最も高いカードにそろう。 */
.jobs-card__photo-wrap {
  height: auto;
}
.jobs-card__photo-wrap img {
  height: auto; /* 画像本来の比率（岡崎・富士・安城は4:3、青梅は3:2）で表示し、どの画像も切らない */
}
