/* ============================================
   SLJ Recruit Page — Design System
   Brand: Speed Link Japan
   Primary: Teal #2A9D8F
   ============================================ */

:root {
  /* === Brand Colors (面積比 緑7:橙2:紫1) === */
  /* 主色：緑 — ロゴ/CTA/見出しアクセント */
  --primary: #2A9D8F;
  --primary-dark: #1F7A6F;
  --primary-light: #4FB8AB;
  --primary-soft: #E8F4F2;
  /* 緑のグラデーション4段階（ドーナツ用） */
  --teal-1: #1F7A6F;
  --teal-2: #2A9D8F;
  --teal-3: #5BBCAE;
  --teal-4: #A3D9D0;
  --donut-bg: #E5E7EB;
  --primary-overlay: rgba(74, 161, 139, 0.88);
  /* 補助：橙 — カジュアル面談CTAのみ */
  --orange: #E58944;
  --orange-dark: #C9742F;
  --orange-cta: #A5581B;      /* 白文字5.23:1 AA適合のCTA用オレンジ */
  --orange-cta-dark: #8F4A14;
  /* 強調：紫 — 要点ラベル限定 */
  --purple: #8E6BBD;
  --purple-soft: #EFEAF4;
  --header-bg: #FFFFFF;

  /* Neutral */
  --bg: #FFFFFF;
  /* 帯の交互リズム用：ベース#F8F9FAに対して体感できる淡ティール紙 */
  --bg-soft: #EDF5F2;
  --bg-dark: #1A2E2C;
  --text: #1F2937;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;

  /* === Typography Scale（5段階） === */
  --fs-hero: 48px;      /* ヒーローのみ 800w */
  --fs-h1: 40px;        /* page header 700w */
  --fs-h2: 32px;        /* section heading 700w */
  --fs-h3: 20px;        /* card heading 700w */
  --fs-sub: 18px;       /* sub label 600w */
  --fs-body: 16px;      /* body 400w */
  --fs-sm: 14px;        /* meta 500w */
  --fs-xs: 12px;        /* en label 600w */

  --font-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --font-en: 'Inter', 'Helvetica Neue', sans-serif;

  /* === Spacing Scale（8pxグリッド） === */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;

  /* Layout */
  --max-width: 1200px;
  --header-height: 64px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(42, 157, 143, 0.1);

  /* Easing */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset & Base
   ============================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  font-size: 16px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.sns-card:focus-visible,
.person-card:focus-visible,
.job-item:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

body {
  font-family: var(--font-jp);
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--primary-dark);
}

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

ul {
  list-style: none;
}

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

/* ============================================
   Layout Utilities
   ============================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--space-12) 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--dark {
  background: var(--bg-dark);
  color: #fff;
}

/* ============================================
   Header
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
}

.header__inner {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  height: 40px;
}

.header__logo img {
  height: 100%;
  width: auto;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.04em;
}

.header__nav a:hover {
  color: var(--primary-dark);
  opacity: 1;
}

.header__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s var(--ease);
}

.header__nav a:hover::after {
  width: 100%;
}

/* No.263 — 選択中タブに黒下線 */
.header__nav a.is-active {
  color: var(--text);
}

.header__nav a.is-active::after {
  width: 100%;
  background: #1A1A1A;
}

/* No.223/224 — nav・企業ページタブ・カジュアル面談ボタンを1グループに集約しバランス配置 */
.header__right {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* ハンバーガーメニュー（≤1024px） */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  position: relative;
  z-index: 101;
}

.header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 90;
  padding: 12px 24px 40px;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  overflow-y: auto;
  display: none;
  flex-direction: column;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu a {
  padding: 16px 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu__group-label {
  padding: 16px 4px 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.mobile-menu__group a {
  padding: 12px 4px 12px 16px;
  font-size: 15px;
  font-weight: 600;
  border-bottom: none;
}

.mobile-menu__group + a {
  margin-top: 4px;
}

.mobile-menu__cta {
  margin-top: 24px;
  text-align: center;
  border-radius: var(--radius-pill);
  border-bottom: none !important;
  background: var(--orange);
  color: #fff !important;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .header__burger,
  .mobile-menu {
    display: flex;
  }
}

.header__cta {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  height: var(--header-height);
}

.header__cta .btn {
  border-radius: 4px;
  padding: 9px 18px;
  height: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
}

.header__cta .btn--cta-jobs {
  background: var(--primary);
  color: #fff;
}

.header__cta .btn--cta-jobs:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: none;
  box-shadow: none;
}

.header__cta .btn--cta-meeting {
  background: var(--orange-cta);
  color: #fff;
}

.header__cta .btn--cta-meeting:hover {
  background: var(--orange-cta-dark);
  color: #fff;
  transform: none;
  box-shadow: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: transparent;
  color: var(--primary-dark);
  border: 1.5px solid var(--primary-dark);
}

.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

/* ============================================
   Hero
   ============================================ */

/* No.294 — ヒーローをスクロール中固定し、次セクションが上から覆いかぶさるパララックス演出。
   wrapの高さ分だけ画面内に居座った後、通常のスクロールに戻る */
.hero-sticky-wrap {
  position: relative;
  height: 160vh;
}

.hero {
  position: sticky;
  top: 0;
  min-height: 760px;
  height: 100vh;
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1A2E2C;
  overflow: hidden;
  z-index: 0;
}

/* No.294 — ヒーローの上に確実に覆いかぶさるよう不透明背景とz-indexを付与 */
#about {
  position: relative;
  z-index: 1;
  background: var(--bg);
}

/* ============================================================
   No.299 — ヒーロー背景の合成モーション（エスカレーター状）
   ① 各タイル: ゆっくりズーム(ken-burns)で画像自体が動く
   ② 3列に分割: 左=上→下 / 中央=下→上 / 右=上→下 に縦スクロール
   ③ 全体: 右→左へ横パン
   前景(コピー/CTA/SNS)とオーバーレイ(.hero::after)は固定。
   ---- 寸法(PC) ----
   列幅 col=520 / タイル高 th=320 / gap=10 / 1列=4タイル
   縦: セット高 = 4*320+3*10 = 1310 → track=2セット、縦移動量=1310+gap=1320
   横: block幅 = 3*520+2*10 = 1580 → pan=2block、横移動量=1580+gap=1590
   ============================================================ */
:root {
  --hero-gap: 10px;
  /* No.302 — 広い画面で次blockの1列目(4列目)が見えてしまう指摘に対応。
     列幅を画面幅可変にし、1block(3列+gap2つ)=100vwで常に3列ジャストに収める */
  --hero-col: calc((100vw - 2 * var(--hero-gap)) / 3);
  --hero-th: 320px;         /* 1タイルの高さ */
  --hero-radius: 10px;
  --hero-vmove: 1320px;     /* 縦1セット分(=4*th+4*gap相当のpitch) */
  --hero-hmove: calc(100vw + var(--hero-gap));  /* 横1block分=画面幅ジャスト */
  /* No.301 — スクロールを少しだけゆっくりに（縦24→30s / 横44→54s） */
  --hero-vdur: 30s;         /* 縦スクロール周期 */
  --hero-hdur: 54s;         /* 横パン周期(ゆっくり) */
}

.hero-mosaic {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  /* No.301 — タイル間の隙間を白に。gap空間はこの背景(白)が透ける */
  background: #fff;
  /* No.284 — 全体を明るく。文字部分の可読性は.hero::afterのグラデーションで確保 */
  filter: saturate(0.9) brightness(1.04);
}

/* ③ 全体を右→左へパン。block2枚を横に並べ、-1pitchで継ぎ目なし */
.hero-mosaic__pan {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  gap: var(--hero-gap);
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
  animation: hero-pan-x var(--hero-hdur) linear infinite;
}
@keyframes hero-pan-x {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(var(--hero-hmove) * -1), 0, 0); }
}

.hero-block {
  display: flex;
  gap: var(--hero-gap);
  height: 100%;
}

/* ② 3列。各列は縦スクロール枠(overflow hidden)。 */
.hero-col {
  position: relative;
  width: var(--hero-col);
  height: 100%;
  overflow: hidden;
  flex: 0 0 auto;
}
.hero-col__track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--hero-gap);
  will-change: transform;
  backface-visibility: hidden;
}
/* 左=上→下(down)：-1セット→0 で下方向へ流れる */
.hero-col--down .hero-col__track { animation: hero-scroll-down var(--hero-vdur) linear infinite; }
/* 中央=下→上(up)：0→-1セット で上方向へ流れる */
.hero-col--up   .hero-col__track { animation: hero-scroll-up   var(--hero-vdur) linear infinite; }
@keyframes hero-scroll-down {
  from { transform: translate3d(0, calc(var(--hero-vmove) * -1), 0); }
  to   { transform: translate3d(0, 0, 0); }
}
@keyframes hero-scroll-up {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, calc(var(--hero-vmove) * -1), 0); }
}

/* ① 各タイル：枠でクリップし、中のimgだけゆっくりズーム */
.hero-tile {
  width: 100%;
  height: var(--hero-th);
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: var(--hero-radius);
  background: #223;
}
/* No.300 — タイルは動画(人が動く)。videoでもimgでも同じ表示規則。
   動画自体が動くのでken-burnsズームは付けない(負荷軽減) */
.hero-tileimg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  background: #223;
}

/* No.276/284 — テキストが載る下部を暗く、上部にいくほど明るい固定グラデーション（動かさない） */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 18, 16, 0.06) 0%, rgba(8, 18, 16, 0.24) 55%, rgba(8, 18, 16, 0.62) 100%);
  pointer-events: none;
}

/* 動きを止めても構図が成立する初期位置のまま静止 */
@media (prefers-reduced-motion: reduce) {
  .hero-mosaic__pan,
  .hero-col__track,
  .hero-tileimg { animation: none !important; }
}

/* タブレット：列幅とタイル高を縮小（縦移動量・横移動量も追従）。方向は不変 */
@media (max-width: 900px) {
  :root {
    --hero-col: 300px;
    --hero-th: 220px;
    /* 縦: 4*220+4*10=920、横: 3*300+2*10=920+gap=930 */
    --hero-vmove: 920px;
    --hero-hmove: 930px;
    /* No.301 — 少しゆっくり（20→25s / 38→47s） */
    --hero-vdur: 25s;
    --hero-hdur: 47s;
  }
}

/* スマホ(390基準)：3列を画面幅に収める。速度もやや落とす */
@media (max-width: 640px) {
  :root {
    --hero-col: 148px;
    --hero-th: 130px;
    --hero-gap: 6px;
    /* 縦: 4*130+4*6=544、横: 3*148+2*6=456+gap=462 */
    --hero-vmove: 544px;
    --hero-hmove: 462px;
    /* No.301 — 少しゆっくり（18→22s / 30→37s） */
    --hero-vdur: 22s;
    --hero-hdur: 37s;
  }
}

.hero__card {
  position: absolute;
  z-index: 2;
  left: var(--space-5);
  bottom: 56px;
  max-width: 560px;
  margin: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  color: #fff;
  box-shadow: none;
  border-radius: 0;
}

.hero__eyebrow {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #fff;
  margin-bottom: 20px;
  opacity: 0.92;
}

/* No.267 — 見出し上の会社説明サブテキスト */
.hero__subtext {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
  margin-bottom: 14px;
  opacity: 0.92;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 0;
  color: #fff;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero__title strong {
  color: #fff;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.hero__title strong::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: rgba(255, 255, 255, 0.55);
}

.hero__lead {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0;
  max-width: none;
}

.hero__actions {
  display: none; /* CTAはヘッダー右に常設のため、ヒーローでは省略 */
}

/* No.264 — 縦並びで右側に配置 */
.hero__sns {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3;
}

.hero__sns a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.hero__sns a:hover {
  transform: translateY(-3px);
  background: #fff;
}

.hero__sns img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

/* ============================================
   Section Heading
   ============================================ */

.section-heading {
  text-align: center;
  margin-bottom: var(--space-6);
}

.section-heading__eyebrow {
  font-family: var(--font-en);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.section-heading__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: var(--space-2);
  letter-spacing: 0.02em;
}

.section-heading__lead {
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================
   MVV Cards
   ============================================ */

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mvv-card {
  background: #fff;
  border-radius: var(--radius);
  padding: var(--space-5) var(--space-4);
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all 0.3s var(--ease);
}

.mvv-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}

/* No.183: mvv-cardがaタグ化したため、リンク色の意図しない継承を防止 */
.mvv-card,
.mvv-card:hover {
  color: var(--text);
}

.mvv-card__title {
  color: var(--text);
}

.mvv-card__num {
  font-family: var(--font-en);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 20px;
  display: block;
}

.mvv-card__num::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: currentColor;
  margin: 12px auto 0;
}

/* MVV配色：ティール／ブルー／パープルの3色分離（No.277,278：緑が多いとのFB対応）
   上端の色バーは廃止し、カード全面の淡色ワッシュで色分け */
.mvv-card--mission .mvv-card__num,
.mvv-card--mission .mvv-card__label { color: var(--primary-dark); }
.mvv-card--mission { background: #E7F2EF; border-color: transparent; }

.mvv-card--vision .mvv-card__num,
.mvv-card--vision .mvv-card__label { color: #22688A; }
.mvv-card--vision { background: #E9F5FA; border-color: transparent; }

.mvv-card--value .mvv-card__num,
.mvv-card--value .mvv-card__label { color: #6E4FA3; }
.mvv-card--value { background: #F3EFF9; border-color: transparent; }

/* No.247 — 評価制度カード：section--soft背景と同化するため、白背景+枠線で輪郭を出す */
.mvv-grid--on-soft .mvv-card {
  background: #fff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.mvv-card__label {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 8px;
}

.mvv-card__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: var(--space-2);
  letter-spacing: 0.02em;
}

/* No.220-222 — 評価制度カード：タイトルと説明文の間に画像 */
.mvv-card__icon {
  width: 100%;
  max-width: 160px;
  height: 110px;
  object-fit: contain;
  margin: 4px auto var(--space-3);
}

.mvv-card__desc {
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: var(--text-muted);
}

/* ============================================
   People Cards (社員インタビュー)
   写真主役のマガジン型：大型写真＋職種チップ＋名前オーバーレイ
   ============================================ */

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.people-grid--4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

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

.person-card {
  --pc: var(--primary-dark);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.person-card:hover {
  border-color: var(--pc);
  box-shadow: var(--shadow-md);
}

.person-card__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}

/* 対談カードはグループ写真のため横長比率 */
.person-card--talk .person-card__photo {
  aspect-ratio: 16 / 10;
}

.person-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.person-card:hover .person-card__photo img {
  transform: scale(1.05);
}

/* 名前の可読性用：写真下部のみ暗くするスクリム（顔は素の明るさを保つ） */
.person-card__photo::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56%;
  background: linear-gradient(180deg,
    rgba(12, 26, 23, 0) 0%,
    rgba(12, 26, 23, 0.22) 48%,
    rgba(12, 26, 23, 0.76) 100%);
  pointer-events: none;
}

.person-card__role {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--pc);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.person-card__id {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.person-card__num {
  display: none;
}

.person-card__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 24px;
  flex: 1;
}

.person-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--text);
  letter-spacing: 0.01em;
}

.person-card__meta {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.person-card__excerpt {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--text-muted);
}

.section-cta {
  text-align: center;
}

/* ============================================
   Environment (写真ギャラリー)
   ============================================ */

.environment-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
  height: 480px;
}

.gallery-item {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  background-size: cover;
  background-position: center;
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.gallery-item__label {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.gallery-item--lg {
  grid-row: span 2;
  background-color: var(--primary-dark);
  background-size: cover;
  background-position: center;
}

.gallery-item--alt {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
}

.gallery-item--dark {
  background: linear-gradient(135deg, #2D3748 0%, #1A2E2C 100%);
}

.environment-lead {
  text-align: center;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

.env-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.env-stats__item {
  text-align: center;
  padding: 28px 16px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--primary);
}

.env-stats__item:nth-child(2) { border-top-color: var(--primary-dark); }
.env-stats__item:nth-child(3) { border-top-color: var(--primary); }
.env-stats__item:nth-child(4) { border-top-color: var(--primary-light); }

.env-stats__value {
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
}

.env-stats__unit {
  font-size: 16px;
  margin-left: 3px;
  color: var(--text-muted);
}

.env-stats__label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 640px) {
  .env-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .env-stats__value {
    font-size: 32px;
  }
}

/* ============================================
   SNS
   ============================================ */

.sns-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}

.sns-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 12px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: all 0.25s var(--ease);
  text-decoration: none;
}

.sns-card__icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.sns-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.sns-card__name {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* ============================================
   Jobs (募集要項)
   ============================================ */

.jobs-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.jobs-cta__title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}

.jobs-cta__lead {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 32px;
  opacity: 0.95;
}

.jobs-cta .btn--primary {
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
}

.jobs-cta .btn--primary:hover {
  background: #fff;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

/* ============================================
   Casual Meeting (カジュアル面談)
   ============================================ */

/* No.252 — カジュアル面談セクションを中央揃えの単一カラムに再構成 */
.casual-grid {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.casual-content__illustration {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 20px;
  display: block;
}

.casual-content__title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 24px;
}

.casual-content__lead {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* No.269 — 2列2行の配置に変更（旧: 中央寄せの折り返し1行） */
.casual-features {
  list-style: none;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}

.casual-features li {
  padding: 14px 18px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: #fff;
}

@media (max-width: 560px) {
  .casual-features { grid-template-columns: 1fr; }
}

/* ============================================
   Form
   ============================================ */

.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group label .required {
  color: #E53E3E;
  margin-left: 4px;
  font-size: 12px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s var(--ease);
  background: #fff;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

.form-radio {
  display: flex;
  gap: 16px;
}

.form-radio label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 500;
  margin-bottom: 0;
  flex: 1;
  transition: all 0.2s var(--ease);
}

.form-radio label:has(input:checked) {
  border-color: var(--primary-dark);
  background: var(--primary-soft);
  color: var(--primary);
}

.form-radio input {
  accent-color: var(--primary);
}

/* ============================================
   Detail Page Components
   ============================================ */

.page-header {
  padding-top: calc(var(--header-height) + 64px);
  padding-bottom: 64px;
  background: linear-gradient(135deg, var(--primary-soft) 0%, #F7FAFA 100%);
  position: relative;
  overflow: hidden;
}

/* No.189/190/191/192 — 見出し背景に写真を差し込み（横いっぱい・透明度50%） */
.page-header__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: 0;
}

/* 写真の上に淡いスクリムを重ね、見出し文字の可読性を確保（左側ほど濃く） */
.page-header__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(247, 250, 250, 0.92) 0%,
    rgba(247, 250, 250, 0.72) 38%,
    rgba(247, 250, 250, 0.35) 68%,
    rgba(247, 250, 250, 0.15) 100%);
}

@media (max-width: 640px) {
  .page-header__photo::after {
    background: rgba(247, 250, 250, 0.82);
  }
}

.page-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.page-header__eyebrow {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-header__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.page-header__lead {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 680px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

/* Donut Chart */
.donut-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.donut-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 24px 32px;
  text-align: center;
}

.donut {
  --p: 70;
  --b: 22px;
  --c: var(--primary);
  --bg: var(--donut-bg);
  width: 200px;
  aspect-ratio: 1;
  margin: 0 auto 22px;
  position: relative;
  display: grid;
  place-content: center;
}

.donut::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--bg) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(50% - var(--b)), #000 calc(50% - var(--b) + 1px));
          mask: radial-gradient(farthest-side, transparent calc(50% - var(--b)), #000 calc(50% - var(--b) + 1px));
}

.donut--multi::before {
  background: var(--gradient);
}

.donut__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.donut__value {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}

.donut__unit {
  font-size: 18px;
  color: var(--text-muted);
  margin-left: 3px;
  font-weight: 600;
}

.donut__sublabel {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
}

.donut-card__label {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.donut-legend {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
}

.donut-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.donut-legend span::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--c);
  flex-shrink: 0;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
}

.stat-card__value {
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card__unit {
  font-size: 16px;
  color: var(--text-muted);
  margin-left: 4px;
}

.stat-card__label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Job List */
.job-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.job-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s var(--ease);
  cursor: pointer;
}

.job-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.job-item__category {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.job-item__title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

/* No.281 — 中途9職種カード：一覧時点でも紹介文を表示 */
.job-item__catch {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.job-item__type {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 600;
}

.job-item__arrow {
  color: var(--primary);
  font-size: 24px;
  font-weight: 300;
}

/* Quote / Vision — 濃緑パネルはポップな全体トーンから浮くため淡ティール紙に */
.quote-block {
  background: #E9F4F2;
  color: var(--text);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}

/* No.294 — 「会社の役割について/子育てと経営について/企業の存在価値について」の見出し色をオレンジに */
.quote-block__heading {
  font-size: 18px;
  font-weight: 800;
  color: var(--orange-dark);
  margin-bottom: 16px;
  margin-top: 8px;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}

.quote-block__heading:first-of-type {
  margin-top: 0;
}

.quote-block__text {
  font-size: 15.5px;
  line-height: 2.05;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

/* No.290 — 代表メッセージ本文の強弱づけ */
.quote-block__text strong {
  font-weight: 800;
  color: var(--primary-dark);
}

.quote-block__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quote-block__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
}

.quote-block__name {
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--text);
}

.quote-block__title {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--bg-dark);
  color: #fff;
  padding: 64px 0 32px;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 32px;
}

.footer__brand {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer__desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-light);
}

.footer__heading {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.footer__list li {
  margin-bottom: 12px;
}

.footer__list a {
  color: var(--text-light);
  font-size: 13px;
  transition: color 0.2s var(--ease);
}

.footer__list a:hover {
  color: var(--primary-light);
}

.footer__bottom {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
}

/* ============================================
   Responsive
   ============================================ */

/* タブレット 1024px以下 */
@media (max-width: 1024px) {
  .header__nav {
    display: none;
  }
  .header__cta .btn {
    padding: 0 20px;
    font-size: 13px;
  }

  /* Hero Mosaic：タブレットはタイル高さを縮約（列構成は3列のまま維持） */
  .hero {
    min-height: 640px;
  }
  .hero-mosaic__track .tile {
    height: 240px;
  }
  .hero-mosaic__track .tile--sm {
    height: 130px;
  }
  .hero__card {
    max-width: 560px;
    padding: 56px 40px;
  }
  .hero__card::before,
  .hero__card::after {
    width: 72px;
    height: 64px;
  }

  /* Grids 1列化 */
  .mvv-grid,
  .job-list,
  .casual-grid {
    grid-template-columns: 1fr;
  }
  /* 写真主役カードはタブレットで2列を維持 */
  .people-grid,
  .people-grid--4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .sns-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .environment-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .gallery-item--lg {
    grid-row: span 1;
    height: 240px;
  }
  .gallery-item {
    height: 180px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .donut-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* モバイル 640px以下 */
@media (max-width: 640px) {
  :root {
    --fs-hero: 32px;
    --fs-h1: 28px;
    --fs-h2: 24px;
    --fs-h3: 18px;
  }
  .section {
    padding: var(--space-8) 0;
  }
  .container {
    padding: 0 20px;
  }

  /* Header */
  .header {
    height: 60px;
  }
  .header__inner {
    padding: 0 16px;
  }
  .header__logo {
    height: 32px;
  }
  .header__cta {
    margin-right: -16px;
    height: 60px;
  }
  .header__cta .btn {
    padding: 0 16px;
    font-size: 12px;
    min-height: 40px;
    letter-spacing: 0.04em;
  }
  .header__cta .btn--cta-jobs {
    display: none; /* ヘッダー下のCTAエリアで誘導 */
  }

  /* Hero */
  :root {
    --header-height: 60px;
  }
  .hero {
    min-height: 520px;
    padding-top: 60px;
  }
  .hero-mosaic {
    gap: 3px;
  }
  /* No.292 — left+marginの二重オフセットで右端がhero__snsと重なっていたのを解消。left/rightを直接指定し画像左端基準に固定 */
  .hero__card {
    left: 16px;
    right: 56px;
    margin: 0;
    padding: 28px 18px;
    max-width: none;
  }
  /* No.292 — モバイルはSNSアイコンを縮小し見出しとの重なりを回避 */
  .hero__sns {
    right: 10px;
    gap: 6px;
  }
  .hero__sns a {
    width: 28px;
    height: 28px;
  }
  .hero__sns img {
    width: 13px;
    height: 13px;
  }
  .hero__card::before {
    top: -16px;
    left: -16px;
    width: 56px;
    height: 56px;
  }
  .hero__card::after {
    bottom: -18px;
    right: -18px;
    width: 72px;
    height: 50px;
  }
  .hero__eyebrow {
    font-size: 11px;
    margin-bottom: 14px;
    letter-spacing: 0.25em;
  }
  .hero__title {
    font-size: 26px;
    margin-bottom: 18px;
  }
  .hero__lead {
    font-size: 13px;
    line-height: 1.85;
  }

  /* Section Headings */
  .section-heading {
    margin-bottom: 40px;
  }
  .section-heading__title {
    font-size: 26px;
  }

  /* MVV / Cards */
  .sns-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .mvv-card {
    padding: 32px 24px;
  }
  .mvv-card__num {
    font-size: 44px;
  }

  /* Person Card：1列。縦4:5のままだと巨大になるため4:3に */
  .people-grid,
  .people-grid--4,
  .people-grid--2 {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .person-card__photo {
    aspect-ratio: 4 / 3;
  }
  .person-card--talk .person-card__photo {
    aspect-ratio: 16 / 10;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .stat-card {
    padding: 24px 16px;
  }
  .stat-card__value {
    font-size: 32px;
  }
  .donut-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .donut {
    width: 180px;
  }
  .donut__value {
    font-size: 40px;
  }

  /* Gallery */
  .environment-gallery {
    grid-template-columns: 1fr;
  }
  .gallery-item,
  .gallery-item--lg {
    height: 200px;
  }

  /* CTA & Casual */
  .jobs-cta {
    padding: 48px 24px;
  }
  .jobs-cta__title {
    font-size: 24px;
  }
  .casual-grid {
    gap: 40px;
  }
  .casual-content__title {
    font-size: 26px;
  }

  /* Form */
  .form-card {
    padding: 28px 20px;
  }
  .form-radio {
    flex-direction: column;
  }

  /* Page Header */
  .page-header {
    padding-top: calc(60px + 40px);
    padding-bottom: 48px;
  }
  .page-header__title {
    font-size: 28px;
  }

  /* Quote */
  .quote-block {
    padding: 40px 24px;
  }
  .quote-block__text {
    font-size: 17px;
  }

  /* Footer */
  .footer {
    padding: 48px 0 24px;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* CTAボタン共通 */
  .btn--lg {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ============================================
   v2 Pop Refresh — 親しみ・楽しさ・あたたかさ
   ============================================ */

:root {
  /* 丸モチーフ用の追加radius */
  --radius-xl: 28px;
  --radius-2xl: 40px;
  --radius-pill: 999px;
  /* ぬくもりカラー（補助・アクセント・blob装飾用） */
  --warm-yellow: #FFD66E;
  --warm-pink: #FFB5B5;
  --warm-cream: #FFF6E9;
  --bg-warm: #F8F9FA; /* No.213: 全ページ背景色を#F8F9FAに統一 */
  --bounce: cubic-bezier(0.22, 1.4, 0.36, 1);
  /* ドーナツチャート用カラフルパレット（No.64） */
  --accent-blue: #5BB7E5;
  --accent-blue-light: #A8D6E8;
  --accent-pink: #F08CA5;
  --accent-pink-light: #F4B4C4;
  --accent-purple: #A47ECF;
  --accent-purple-light: #C8B0E0;
}

/* ============================================
   MVV Card — Background Image (No.58 / No.63)
   ============================================ */

.mvv-card.mvv-card--bg {
  position: relative;
  background-color: transparent;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  isolation: isolate;
  overflow: hidden;
  color: var(--text);
}

.mvv-card--bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.86) 0%,
    rgba(255, 255, 255, 0.78) 55%,
    rgba(255, 255, 255, 0.66) 100%);
  z-index: -1;
}

.mvv-card--bg:hover::before {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.68) 55%,
    rgba(255, 255, 255, 0.55) 100%);
}

.mvv-card--bg .mvv-card__desc {
  font-weight: 600;
}

/* 全体 — ベース背景を温かみのあるオフホワイトに */
body {
  background: var(--bg-warm);
}

/* セクション切替で丸い装飾を入れる */
.section--soft {
  position: relative;
  overflow: hidden;
}
.section--soft::before,
.section--soft::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}
.section--soft::before {
  width: 280px; height: 280px;
  background: var(--primary-light);
  top: -80px; right: -80px;
}
.section--soft::after {
  width: 220px; height: 220px;
  background: var(--warm-yellow);
  bottom: -80px; left: -60px;
}
.section--soft > .container {
  position: relative;
  z-index: 1;
}

/* カード共通：丸み・ふわっとシャドウ・バウンスホバー */
.mvv-card,
.person-card,
.sns-card,
.stat-card,
.donut-card,
.job-item,
.jobs-cta,
.gallery-item,
.hero__card {
  border-radius: var(--radius-xl) !important;
  transition: transform 0.35s var(--bounce), box-shadow 0.35s var(--ease) !important;
}
.mvv-card:hover,
.person-card:hover,
.sns-card:hover,
.job-item:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 16px 36px rgba(42, 157, 143, 0.18);
}

/* ボタンをピル状に */
.btn,
.btn--primary,
.btn--outline,
.btn--lg,
.header__cta .btn--cta-jobs,
.header__cta .btn--cta-meeting {
  border-radius: var(--radius-pill) !important;
}

/* セクション見出し：サイズに強弱をつけ、下線はティール単色＋オレンジの丸ドット */
.section-heading {
  position: relative;
}
.section-heading__title {
  display: inline-block;
  position: relative;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
}
.section-heading__title::after {
  content: "";
  display: block;
  width: 52px;
  height: 6px;
  margin: 18px auto 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg,
    var(--primary) 0 38px,
    transparent 38px 46px,
    var(--orange) 46px);
}

/* ============================================
   Hero Entry Buttons (No.61)
   ============================================ */

.hero__entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.entry-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 18px 16px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  transition: transform 0.3s var(--bounce), box-shadow 0.3s var(--ease);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.entry-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.entry-btn__label {
  font-size: 18px;
  letter-spacing: 0.04em;
}

.entry-btn__sub {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.95;
}

.entry-btn--newgrad {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}

.entry-btn--career {
  background: linear-gradient(135deg, var(--orange-cta), var(--orange-dark));
  color: #fff;
}

/* ============================================
   Communication Cards (No.41-49)
   ============================================ */

.comm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.comm-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--bounce), box-shadow 0.4s var(--ease);
}

.comm-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

/* 写真の鮮度を保つため、文字が乗る下部のみ暗くするスクリム
   （全面の緑オーバーレイは顔色がくすむため廃止） */
.comm-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 24, 21, 0) 42%,
    rgba(10, 24, 21, 0.34) 66%,
    rgba(10, 24, 21, 0.84) 100%);
  z-index: 1;
}

.comm-card__body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
}

.comm-card__label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.comm-card__value {
  font-family: var(--font-en);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

.comm-card__unit {
  font-size: 16px;
  font-weight: 600;
  margin-left: 6px;
}

/* ============================================
   MVV Grid Variants (福利厚生・評価制度)
   ============================================ */

.mvv-grid--2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.mvv-grid--4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ============================================
   New Graduate Block (No.62)
   ============================================ */

.newgrad-block {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px dashed var(--border);
}

.newgrad-block__head {
  text-align: center;
  margin-bottom: 32px;
}

.newgrad-block__title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  display: inline-block;
  position: relative;
}

.newgrad-block__title::after {
  content: "";
  display: block;
  width: 46px;
  height: 5px;
  margin: 10px auto 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg,
    var(--primary) 0 33px,
    transparent 33px 40px,
    var(--orange) 40px);
}

.newgrad-block__lead {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

.newgrad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.newgrad-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s var(--bounce);
}

.newgrad-card:hover {
  transform: translateY(-4px) scale(1.02);
}

.newgrad-card__num {
  font-family: var(--font-en);
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
}

.newgrad-card__unit {
  font-size: 16px;
  font-weight: 600;
  margin-left: 4px;
}

.newgrad-card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.newgrad-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   Career Path (No.62)
   ============================================ */

.career-path {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 12px;
}

.career-step {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--primary-soft);
}

.career-step__year {
  display: inline-block;
  padding: 4px 14px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.career-step__title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.4;
}

.career-step__desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}

.career-step__arrow {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   Pop Refresh — Responsive
   ============================================ */

@media (max-width: 1024px) {
  .comm-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mvv-grid--4col,
  .newgrad-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .career-path {
    grid-template-columns: 1fr;
  }
  .career-step__arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }
}

@media (max-width: 640px) {
  .hero__entry {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .entry-btn {
    padding: 14px 16px;
  }
  .comm-grid {
    grid-template-columns: 1fr;
  }
  .mvv-grid--2col,
  .mvv-grid--4col,
  .newgrad-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   No.75 — MVV番号を円形バッジ化
   ============================================ */

.mvv-card__num {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 20px !important;
  border-radius: 50% !important;
  font-size: 32px !important;
  color: #fff !important;
  line-height: 1;
  padding: 0;
}

.mvv-card__num::after {
  display: none;
}

.mvv-card--mission .mvv-card__num {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 8px 18px rgba(31, 122, 111, 0.28);
}

.mvv-card--vision .mvv-card__num {
  background: linear-gradient(135deg, #22688A, #2E86AB);
  box-shadow: 0 8px 18px rgba(46, 134, 171, 0.28);
}

.mvv-card--value .mvv-card__num {
  background: linear-gradient(135deg, #6E4FA3, #8E6BBD);
  box-shadow: 0 8px 18px rgba(142, 107, 189, 0.28);
}

/* 評価制度・福利厚生（mvv-grid--2col / mvv-grid--4col）の番号も同じバッジに */
.mvv-grid--2col .mvv-card__num,
.mvv-grid--4col .mvv-card__num {
  width: 64px;
  height: 64px;
  font-size: 24px;
}

/* ============================================
   No.76 — SNSカードを正方形＋円形背景化
   ============================================ */

.sns-card {
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  padding: 16px !important;
  background: #fff;
  border: 2px solid var(--primary-soft);
  gap: 6px !important;
}

.sns-card:hover {
  background: var(--primary-soft);
  transform: translateY(-4px) scale(1.06);
  border-color: var(--primary-light);
}

.sns-card__icon {
  width: 38px !important;
  height: 38px !important;
}

.sns-card__name {
  font-size: 11px !important;
  letter-spacing: 0.04em;
}

/* ============================================
   jobs-cta — エントリーボタン配置（No.74）
   ============================================ */

.jobs-cta__entry {
  margin-top: 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   2026-06-24 フィードバック対応（No.74〜150）
   ============================================ */

/* No.266 ヒーローコピー：太字ゴシック・2行・左下配置（旧: 手書き風・1行・中央） */
/* No.275 — 見出し60px・サブテキスト16pxに拡大 */
.hero__title--bold {
  font-family: var(--font-jp);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
  /* No.286 — さらに大きく（旧60px上限→84px上限） */
  font-size: clamp(34px, 6.4vw, 84px);
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.6), 0 2px 6px rgba(0,0,0,0.5);
}
.hero__title--bold strong {
  font-weight: 800;
  color: #fff;
}
.hero__title--bold strong::after { display: none; }
@media (max-width: 640px) {
  /* No.292 — hero__sns分の余白を確保した幅に収まるサイズへ */
  .hero__title--bold { font-size: 30px; }
}

/* No.76 ヘッダー付近（ヒーロー）SNSアイコンを拡大（No.292でモバイルは縮小のためmin-widthに限定、ソース順で後方の無条件ルールがモバイル用ルールを上書きしないように） */
@media (min-width: 641px) {
  .hero__sns a { width: 46px; height: 46px; }
  .hero__sns img { width: 23px; height: 23px; }
}

/* No.83 / No.116 インタビューカードの色分け（緑・青・橙・紫・濃緑・桃）
   左端の色バーは廃止し、職種チップの背景色で色分けを継承 */
.person-card--c1 { --pc: var(--primary-dark); }
.person-card--c2 { --pc: #22688A; }
.person-card--c3 { --pc: var(--orange-cta); }
.person-card--c4 { --pc: #6E4FA3; }
.person-card--c5 { --pc: var(--primary-dark); }
.person-card--c6 { --pc: #B54A66; }

/* No.94 SNS・ブログカード：説明文つき縦カード（円形アイコン枠は維持） */
.sns-grid--desc {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1020px;
}
.sns-grid--desc .sns-card {
  aspect-ratio: auto !important;
  border-radius: var(--radius-xl) !important;
  flex-direction: column;
  padding: 28px 22px !important;
  gap: 12px !important;
  border: 1px solid var(--border-light);
  background: #fff;
  text-align: center;
}
.sns-grid--desc .sns-card:hover {
  background: #fff;
  border-color: var(--primary-light);
  transform: translateY(-4px);
}
.sns-card__iconwrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--bounce);
}
.sns-grid--desc .sns-card:hover .sns-card__iconwrap { transform: scale(1.08); }
.sns-card__desc {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-muted);
  font-family: var(--font-jp);
  font-weight: 400;
  letter-spacing: 0.01em;
}
@media (max-width: 1024px) { .sns-grid--desc { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sns-grid--desc { grid-template-columns: 1fr; } }

/* No.95 採用区分ボタン：新卒=水色／中途=紫 */
.entry-btn--newgrad { background: linear-gradient(135deg, #22688A, #2E86AB) !important; }
.entry-btn--career { background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light)) !important; }

/* No.97 / No.111 / No.117 カジュアル面談ボタン＝オレンジ */
.btn--orange { background: var(--orange-cta); color: #fff; }
.btn--orange:hover { background: var(--orange-cta-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.jobs-cta .btn--orange { background: var(--orange-cta); color: #fff; }
.jobs-cta .btn--orange:hover { background: var(--orange-cta-dark); color: #fff; }

/* No.112/118/149 CTA背景を写真に（緑オーバーレイで可読性確保） */
.jobs-cta--photo {
  position: relative;
  background: #1F7A6F;
  background-size: cover !important;
  background-position: center !important;
  isolation: isolate;
  overflow: hidden;
}
.jobs-cta--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31,122,111,0.88), rgba(42,157,143,0.80));
  z-index: -1;
}

/* No.108 バリュー3色（番号バッジ＋淡色ワッシュ。上ボーダーは廃止） */
.mvv-card--v1 .mvv-card__num { background: linear-gradient(135deg, var(--primary-dark), var(--primary)) !important; box-shadow: 0 8px 18px rgba(31,122,111,0.28); }
.mvv-card--v1 { background: #E7F2EF; border-color: transparent; }
.mvv-card--v2 .mvv-card__num { background: linear-gradient(135deg, var(--orange-cta), var(--orange-dark)) !important; box-shadow: 0 8px 18px rgba(229,137,68,0.28); }
.mvv-card--v2 { background: #FBF1E6; border-color: transparent; }
.mvv-card--v3 .mvv-card__num { background: linear-gradient(135deg, #22688A, #2E86AB) !important; box-shadow: 0 8px 18px rgba(91,183,229,0.28); }
.mvv-card--v3 { background: #EAF4FA; border-color: transparent; }

/* No.99/101/105 MVV見出しラベル（ミッション/ビジョン/バリュー） */
.section-heading__jp-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

/* No.179 — 代表メッセージ：左に写真・右にメッセージ、写真一覧は本文内に散りばめ */
/* No.270 — 縦2カラム(sticky写真+本文)から、横長プロフィール写真を上部に置く縦積み構成へ再構成 */
.ceo-message {
  display: block;
}

.ceo-message__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* No.288 — 21/9だと横長すぎて頭が見切れていたため縦に余裕を持たせる */
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}

.ceo-message__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* No.288 — 頭が切れないよう基準位置を上寄りに */
  object-position: center 10%;
}

.ceo-message__photo::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(10, 24, 21, 0) 0%, rgba(10, 24, 21, 0.78) 100%);
  pointer-events: none;
}

.ceo-message__photo-caption {
  position: absolute;
  left: 28px; right: 28px; bottom: 22px;
  z-index: 2;
  color: #fff;
}

.ceo-message__photo-name {
  font-size: 32px;
  font-weight: 800;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.ceo-message__photo-title {
  font-size: 14px;
  margin-top: 6px;
  opacity: 0.92;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* 本文中の3セクション（会社の役割/子育てと経営/企業の存在価値）用の画像 */
.ceo-message__section-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin: 18px 0 22px;
}

/* No.282/289 — 画像を半分程度のサイズに縮小しテキストと横並び配置。セクションごとに左右交互。
   No.289 — align-itemsをstretchにして画像の高さを本文の高さに揃え、写真下の余白をなくす */
.quote-block__row {
  display: flex;
  align-items: stretch;
  gap: 28px;
  margin-bottom: 8px;
}
.quote-block__row--reverse {
  flex-direction: row-reverse;
}
.quote-block__row .ceo-message__section-photo {
  width: 42%;
  flex-shrink: 0;
  height: 100%;
  aspect-ratio: auto;
  min-height: 260px;
  margin: 4px 0 0;
}
.quote-block__row .quote-block__text {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .quote-block__row,
  .quote-block__row--reverse {
    flex-direction: column;
  }
  .quote-block__row .ceo-message__section-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .ceo-message__photo {
    aspect-ratio: 4 / 3;
  }
  .ceo-message__photo-name { font-size: 24px; }
}

@media (max-width: 640px) {
  .ceo-message__photo {
    aspect-ratio: 1 / 1;
  }
  .ceo-message__photo-caption { left: 18px; right: 18px; bottom: 16px; }
  .ceo-message__photo-name { font-size: 20px; }
  .ceo-message__photo-title { font-size: 12px; }
}
/* No.110 代表メッセージ後のSNSリンク */
.ceo-sns {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}
.ceo-sns a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--bounce);
}
.ceo-sns a:hover { transform: translateY(-3px) scale(1.06); }
.ceo-sns img { width: 24px; height: 24px; }
@media (max-width: 640px) { .ceo-photos { grid-template-columns: repeat(2, 1fr); } }

/* No.119-125 バックグラウンド棒グラフ */
.bar-charts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.chart-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 28px 30px;
}
.chart-card--wide { grid-column: 1 / -1; }
.chart-card__title { font-size: 17px; font-weight: 700; margin-bottom: 20px; text-align: center; letter-spacing: 0.02em; }
.bar-chart { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 14px; }
.bar-row__label { font-size: 12.5px; color: var(--text); font-weight: 600; text-align: right; line-height: 1.35; }
.bar-row__track { background: var(--border-light); border-radius: var(--radius-pill); height: 15px; overflow: hidden; }
.bar-row__fill { height: 100%; border-radius: var(--radius-pill); min-width: 4px; }
/* No.125 1グラフ1色相の濃淡（上位ほど濃く＝opacity段階） */
.bar--green .bar-row__fill { background: var(--primary); }
.bar--orange .bar-row__fill { background: var(--orange); }
.bar--blue .bar-row__fill { background: var(--accent-blue); }
.bar--purple .bar-row__fill { background: var(--accent-purple); }
.bar--pink .bar-row__fill { background: var(--accent-pink); }
.bar-chart .bar-row:nth-child(1) .bar-row__fill { opacity: 1; }
.bar-chart .bar-row:nth-child(2) .bar-row__fill { opacity: 0.92; }
.bar-chart .bar-row:nth-child(3) .bar-row__fill { opacity: 0.84; }
.bar-chart .bar-row:nth-child(4) .bar-row__fill { opacity: 0.76; }
.bar-chart .bar-row:nth-child(5) .bar-row__fill { opacity: 0.68; }
.bar-chart .bar-row:nth-child(6) .bar-row__fill { opacity: 0.61; }
.bar-chart .bar-row:nth-child(7) .bar-row__fill { opacity: 0.55; }
.bar-chart .bar-row:nth-child(8) .bar-row__fill { opacity: 0.50; }
.bar-chart .bar-row:nth-child(9) .bar-row__fill { opacity: 0.46; }
.bar-chart .bar-row:nth-child(n+10) .bar-row__fill { opacity: 0.42; }
/* No.MBTI比率・出身地：PCは2カラム、スマホは1カラムで表示（横幅が狭いとバーが短くなるため） */
.bar-chart--2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; }
/* 平均値などの数値強調（年齢構成） */
.chart-card__hero { text-align: center; }
.chart-card__hero-value { font-family: var(--font-en); font-size: 52px; font-weight: 800; color: var(--primary); line-height: 1; }
.chart-card__hero-unit { font-size: 20px; color: var(--text-muted); margin-left: 4px; }
.chart-card__hero-label { font-size: 13px; color: var(--text-muted); margin-top: 8px; }

/* No.126-132 働きやすさ＝数値カード（円グラフなし） */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.fact-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 34px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* 上端の色バーは廃止し、数値そのものを色分け（カラフル要件はこちらで継承） */
.fact-grid .fact-card:nth-child(1) .fact-card__value { color: var(--primary); }
.fact-grid .fact-card:nth-child(2) .fact-card__value { color: var(--accent-blue); }
.fact-grid .fact-card:nth-child(3) .fact-card__value { color: var(--accent-purple); }
.fact-grid .fact-card:nth-child(4) .fact-card__value { color: var(--orange); }
.fact-grid .fact-card:nth-child(5) .fact-card__value { color: var(--accent-pink); }
.fact-grid .fact-card:nth-child(6) .fact-card__value { color: var(--primary-dark); }
.fact-card__value { font-family: var(--font-en); font-size: 46px; font-weight: 800; color: var(--text); line-height: 1; }
.fact-card__unit { font-size: 18px; margin-left: 3px; color: var(--text-muted); font-weight: 600; }
.fact-card__label { font-size: 15px; font-weight: 700; margin-top: 12px; }
.fact-card__sub { font-size: 12px; color: var(--text-muted); margin-top: 6px; line-height: 1.6; }
.fact-card__breakdown { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; text-align: left; }
.fact-card__bd { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 12.5px; align-items: center; }
.fact-card__bd-bar { grid-column: 1 / -1; height: 8px; border-radius: var(--radius-pill); background: var(--border-light); overflow: hidden; }
.fact-card__bd-fill { height: 100%; border-radius: var(--radius-pill); }

/* No.135/136/141 コミュニケーション：正方形・下中央・2×2 */
.comm-grid--2x2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; gap: 24px; }
.comm-card--sq { aspect-ratio: 1 / 1; border-radius: var(--radius-xl); }
.comm-card--sq .comm-card__body { align-items: center; justify-content: flex-end; text-align: center; padding-bottom: 28px; }
.comm-card--sq .comm-card__desc { font-size: 12.5px; line-height: 1.65; margin-top: 8px; max-width: 86%; }
@media (max-width: 640px) { .comm-grid--2x2 { grid-template-columns: 1fr; } .fact-grid { grid-template-columns: 1fr; } .bar-charts { grid-template-columns: 1fr; } .bar-row { grid-template-columns: 110px 1fr; } .bar-chart--2col { grid-template-columns: 1fr; } }

/* ============================================
   No.151 ヘッダー「募集要項」ドロップダウン
   ============================================ */
.header__dropdown { position: relative; display: flex; align-items: center; }
.header__dropdown-trigger { display: inline-flex; align-items: center; }
.header__dropdown-trigger::after { content: '▾'; margin-left: 5px; font-size: 10px; transition: transform 0.2s var(--ease); }
.header__dropdown:hover .header__dropdown-trigger::after { transform: rotate(180deg); }
.header__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  min-width: 170px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 200;
}
.header__dropdown:hover .header__dropdown-menu,
.header__dropdown:focus-within .header__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(2px);
}
.header__dropdown-menu a {
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-radius: 6px;
  white-space: nowrap;
}
.header__dropdown-menu a::after { display: none; }
.header__dropdown-menu a:hover { background: var(--primary-soft); color: var(--primary); }

/* ============================================
   募集要項 詳細（spec-list / step-card / check-list）
   ============================================ */
.spec-list { max-width: 880px; margin: 0 auto; border-top: 2px solid var(--primary); }
.spec-row { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 22px 10px; border-bottom: 1px solid var(--border); }
.spec-row__key { font-weight: 700; font-size: 14px; color: var(--primary-dark); letter-spacing: 0.02em; }
.spec-row__val { font-size: 14px; line-height: 1.9; color: var(--text); }
.spec-row__val ul { list-style: disc; margin: 4px 0 0 1.3em; }
.spec-row__val ul li { margin-bottom: 4px; }
.spec-row__val .spec-note { color: var(--text-muted); font-size: 13px; }
@media (max-width: 640px) { .spec-row { grid-template-columns: 1fr; gap: 6px; } }

.job-headline { text-align: center; margin: 0 auto 40px; max-width: 760px; }
.job-headline__cat { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; color: var(--primary); margin-bottom: 10px; }
.job-headline__name { font-size: 26px; font-weight: 800; line-height: 1.4; }
.job-headline__catch { font-size: 15px; color: var(--text-muted); margin-top: 12px; line-height: 1.8; }

.step-flow { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
/* No.214 選考フロー：各ステップ間に下矢印 */
.step-flow__arrow { text-align: center; color: var(--primary); font-size: 20px; font-weight: 800; line-height: 1; margin: -4px 0; }
/* 左端の色バーは使わず、STEP番号ピルをアクセントにする */
.step-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 24px 28px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
.step-card__no { font-family: var(--font-en); font-size: 13px; font-weight: 800; letter-spacing: 0.1em; color: #fff; background: var(--primary); border-radius: var(--radius-pill); padding: 6px 16px; white-space: nowrap; height: fit-content; }
.step-card__title { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.step-card__desc { font-size: 14px; line-height: 1.9; color: var(--text-muted); }

/* No.249 — 入社後のステップ：説明文の右側にイラストを追加 */
.step-flow--with-icons .step-card { grid-template-columns: auto 1fr auto; }
.step-card__icon { width: 110px; height: 90px; object-fit: contain; align-self: center; }

@media (max-width: 640px) {
  .step-card { grid-template-columns: 1fr; gap: 12px; }
  .step-flow--with-icons .step-card { grid-template-columns: 1fr; }
  .step-card__icon { width: 88px; height: 72px; margin: 0 auto; }
}

.check-list { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check-item { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 22px 24px; text-align: center; }
.check-item__title { font-size: 15px; font-weight: 800; color: var(--primary-dark); margin-bottom: 8px; }
.check-item__desc { font-size: 13.5px; line-height: 1.85; color: var(--text-muted); }
@media (max-width: 768px) { .check-list { grid-template-columns: 1fr; } }

/* No.250 — キャリアアップ制度：タイトルと説明文の間にイラストを追加 */
/* No.280 — imgはUAデフォルトでdisplay:blockのためtext-align:centerが効かず左寄りになっていた。margin autoで中央配置 */
.check-item__icon { display: block; width: 100%; max-width: 120px; height: 84px; object-fit: contain; margin: 2px auto 10px; }

/* 中途職種リスト（jobs-mid） */
.job-detail { max-width: 880px; margin: 0 auto 56px; scroll-margin-top: 150px; --jd-accent: var(--primary-dark); --jd-g1: #17594F; --jd-g2: #1F7A6F; }
.job-detail__head { background: linear-gradient(135deg, var(--jd-g1) 0%, var(--jd-g2) 100%); color: #fff; border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 32px 36px; }
.job-detail__cat { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; opacity: 0.9; margin-bottom: 8px; }
.job-detail__name { font-size: 24px; font-weight: 800; }
.job-detail__catch { font-size: 14px; margin-top: 10px; opacity: 0.95; line-height: 1.8; }
.job-detail__body { background: #fff; border: 1px solid var(--border-light); border-top: none; border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 32px 36px; }
.job-detail__block { margin-bottom: 24px; }
.job-detail__block:last-child { margin-bottom: 0; }
.job-detail__label { font-size: 13px; font-weight: 800; color: var(--jd-accent); letter-spacing: 0.04em; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.job-detail__text { font-size: 14px; line-height: 1.9; color: var(--text); }
.job-detail__text ul { list-style: disc; margin: 4px 0 0 1.3em; }
.job-detail__text ul li { margin-bottom: 6px; }
@media (max-width: 640px) { .job-detail__head, .job-detail__body { padding: 24px 20px; } }
.job-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 900px; margin: 0 auto 56px; }
.job-nav a { font-size: 13px; font-weight: 700; padding: 9px 18px; border: 1px solid var(--primary); color: var(--primary); border-radius: var(--radius-pill); transition: all 0.2s var(--ease); }
.job-nav a:hover { background: var(--primary); color: #fff; }
.job-detail__cta { text-align: center; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.job-note { font-size: 12.5px; color: var(--text-muted); background: var(--bg-soft); border-radius: var(--radius); padding: 10px 14px; margin-top: 8px; }

/* ============================================
   レビューH3 — 職種カテゴリ別カラー（緑一色の解消）
   ヘッダー帯の明るい側・アクセント文字とも白/白地で4.5:1以上を実測済み
   ============================================ */
.job-detail--blue { --jd-accent: #22688A; --jd-g1: #1B5570; --jd-g2: #22688A; }
.job-detail--purple { --jd-accent: #6E4FA3; --jd-g1: #5A3D85; --jd-g2: #6E4FA3; }
.job-detail--orange { --jd-accent: var(--orange-cta); --jd-g1: #8F4A14; --jd-g2: #A5581B; }
.job-detail--pink { --jd-accent: #B54A66; --jd-g1: #9E3F58; --jd-g2: #B54A66; }
.job-detail--amber { --jd-accent: #8A6200; --jd-g1: #7E5C0A; --jd-g2: #8A6200; }

/* 職種チップナビ：スクロール追従＋カテゴリ色連動 */
.job-nav {
  position: sticky;
  top: calc(var(--header-height) + 10px);
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 16px;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.job-nav a { border-color: var(--jn, var(--primary-dark)); color: var(--jn, var(--primary-dark)); }
.job-nav a:hover { background: var(--jn, var(--primary-dark)); border-color: var(--jn, var(--primary-dark)); color: #fff; }
.job-nav .jn-blue { --jn: #22688A; }
.job-nav .jn-purple { --jn: #6E4FA3; }
.job-nav .jn-orange { --jn: var(--orange-cta); }
.job-nav .jn-pink { --jn: #B54A66; }
.job-nav .jn-amber { --jn: #8A6200; }

/* ============================================
   No.187 — 数値インフォグラフィックスの一度きりアニメーション
   ビューポート表示時にカウントアップ／バー伸長し、以後は静止（ホールド）
   ============================================ */
.bar-row__fill,
.fact-card__bd-fill {
  width: 0;
  transition: width 1.1s var(--ease);
}

.chart-card__hero-value.is-counting,
.env-stats__value.is-counting,
.donut__value.is-counting,
.fact-card__value.is-counting {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .bar-row__fill, .fact-card__bd-fill { transition: none; }
}

/* ============================================
   v3 Design Refresh (2026-07-15)
   読み物タイポグラフィ／マーカー強調／スクロールリビール
   ============================================ */

/* about.html ミッション・ビジョン本文：読み幅を絞り行間を広げる */
.about-prose {
  max-width: 860px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 2.15;
  color: var(--text);
}

.about-prose p {
  margin-bottom: 28px;
}

.about-prose p:last-child {
  margin-bottom: 0;
}

/* キーフレーズの蛍光マーカー強調（文言は変えず装飾のみ） */
mark.hl {
  background: linear-gradient(transparent 58%, rgba(255, 214, 110, 0.55) 58%);
  color: inherit;
  font-weight: 700;
  padding: 0 2px;
}

/* スクロールリビール：JSが対象へ .reveal を付与し、表示時に .is-in。
   アニメーション完了後は両クラスとも除去され、元のtransitionに戻る */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease) !important;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}


/* ============================================
   レビューH2 — プライバシーポリシーページ＋フォーム同意
   ============================================ */
.privacy-body { max-width: 780px; margin: 0 auto; }
.privacy-intro { font-size: 15px; line-height: 2.0; color: var(--text); margin-bottom: 40px; }
.privacy-body h2 { font-size: 18px; font-weight: 800; color: var(--text); margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--primary-soft); }
.privacy-body p { font-size: 14.5px; line-height: 2.0; color: var(--text); margin-bottom: 12px; }
.privacy-body ul { list-style: disc; margin: 8px 0 16px 1.4em; font-size: 14.5px; line-height: 2.0; color: var(--text); }
.privacy-contact { background: var(--bg-soft); border-radius: var(--radius); padding: 16px 20px; }
.privacy-date { margin-top: 40px; color: var(--text-muted); font-size: 13.5px; }
.privacy-note { margin-top: 24px; font-size: 13px; color: var(--text-muted); }
.privacy-note a { text-decoration: underline; }

.form-consent { text-align: center; margin-top: 24px; }
.form-consent label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.form-consent input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary-dark); flex-shrink: 0; }
.form-consent a { text-decoration: underline; color: var(--primary-dark); }
.form-consent .required { font-size: 11px; color: #C62828; margin-left: 6px; font-weight: 700; }

.footer__bottom a { color: inherit; text-decoration: underline; }
.footer__bottom a:hover { color: #fff; }
.footer__bottom-sep { margin: 0 8px; opacity: 0.5; }