/* =====================================================================
   株式会社ミライテック 採用LP — Stylesheet
   構成：1.変数 2.リセット 3.共通ユーティリティ 4.ボタン 5.画像プレースホルダー
        6.ヘッダー/ナビ 7.FV 8.セクション共通 9.各セクション個別
        10.モバイル固定CTA 11.アニメーション 12.アクセシビリティ
        13.レスポンシブ（モバイルファースト・min-width）
===================================================================== */

/* ---------- 1. 変数 ---------- */
:root {
  /* カラー：白 / ライトグレー / 深いネイビー / ブルー */
  --white: #ffffff;
  --gray-50: #f7f8fa;
  --gray-100: #eef1f5;
  --gray-200: #e2e7ee;
  --gray-300: #cdd5e0;
  --gray-500: #7c8797;
  --gray-700: #47505c;
  --navy: #10233f;
  --navy-2: #16305a;
  --navy-3: #0a1830;
  --blue: #2f6fed;
  --blue-dark: #1d54c4;
  --blue-light: #eaf1ff;
  --success: #1f9d55;

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;

  --container-w: 1160px;
  --container-w-narrow: 760px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(16, 35, 63, 0.06);
  --shadow-md: 0 8px 30px rgba(16, 35, 63, 0.10);
  --shadow-lg: 0 20px 50px rgba(16, 35, 63, 0.18);

  --section-py: clamp(56px, 9vw, 108px);
  --header-h: 68px;
  --mobile-cta-h: 68px;

  --dur-fast: 0.2s;
  --dur-base: 0.5s;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--navy);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--mobile-cta-h);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; }

/* ---------- 3. 共通ユーティリティ ---------- */
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: var(--container-w-narrow); }
.only-mobile { display: inline; }

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(22px, 4.2vw, 32px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
.section-lead {
  color: var(--gray-700);
  font-size: 15px;
  max-width: 640px;
  margin-bottom: 34px;
}
/* .fv / .final-cta は独自にpaddingを制御する全面ビジュアル型セクションのため除外
   （section[class]単体だと詳細度(0,1,1)が.fvの(0,1,0)に勝ってしまうため:not()で明示除外） */
section[class]:not(.fv):not(.final-cta) { padding: var(--section-py) 0; }

/* ---------- 4. ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
  white-space: nowrap;
  min-height: 48px;
}
.btn--primary { background: var(--blue); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn--outline-white { background: rgba(255,255,255,0.08); color: var(--white); border: 2px solid rgba(255,255,255,0.85); backdrop-filter: blur(2px); }
.btn--outline-white:hover, .btn--outline-white:focus-visible { background: var(--white); color: var(--navy); transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: 13px; min-height: 38px; }
.btn--lg { padding: 16px 32px; font-size: 16px; min-height: 54px; }
.btn--block { width: 100%; }

/* ---------- 5. 画像プレースホルダー ---------- */
.img-slot {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ratio, 4/3);
  border-radius: var(--radius-md);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, var(--blue-light) 0 14px, var(--white) 14px 28px);
  border: 2px dashed var(--blue);
}
.img-slot--round { border-radius: 50%; }
.img-slot--photo { border: none; background: none; }
.img-slot--photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 6. ヘッダー / ナビ ---------- */
.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  height: var(--header-h);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.logo__mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; flex-shrink: 0;
}
.logo__text { display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; color: var(--navy); }
.logo__text small { font-size: 10px; font-weight: 500; color: var(--gray-700); letter-spacing: 0.06em; }

.main-nav { display: none; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 24px; }
.main-nav a:not(.btn) { font-size: 14px; font-weight: 500; position: relative; padding: 4px 2px; }
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--blue); transition: width var(--dur-fast) var(--ease);
}
.main-nav a:not(.btn):hover::after, .main-nav a:not(.btn):focus-visible::after { width: 100%; }

.nav-toggle {
  width: 44px; height: 44px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border-radius: var(--radius-sm);
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  padding: 20px;
  z-index: 199;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.mobile-nav a:not(.btn) { display: block; padding: 13px 8px; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--gray-100); min-height: 44px; display: flex; align-items: center; }
.mobile-nav .btn { margin-bottom: 10px; }
.mobile-nav .btn:last-child { margin-bottom: 0; }

/* ---------- 7. FV ---------- */
.fv {
  position: relative;
  padding: 0;
  min-height: min(78vh, 680px); /* モバイルの低め端末でもCTAが固定バーと重ならない余裕を確保 */
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}
.fv__bg { position: absolute; inset: 0; z-index: 0; background: var(--navy-3); }
.fv__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.fv__img img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 74% 22%; /* スマホ縦長クロップでも被写体（スタッフ）の顔が見出しテキスト帯と重なりにくい位置に調整 */
}
.fv__overlay {
  position: absolute; inset: 0;
  /* モバイル基準：見出しが写真のどの位置に重なっても可読性を保てるよう、上部から十分に暗くする */
  background: linear-gradient(180deg,
    rgba(8,18,36,0.46) 0%,
    rgba(8,18,36,0.64) 22%,
    rgba(8,18,36,0.72) 48%,
    rgba(8,18,36,0.86) 75%,
    rgba(8,18,36,0.96) 100%);
}
.fv__content { position: relative; z-index: 1; padding-top: 44px; padding-bottom: 16px; }
.fv__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--blue-light); margin-bottom: 14px; }
.fv__title { font-size: clamp(30px, 7.4vw, 58px); font-weight: 900; line-height: 1.3; margin-bottom: 12px; text-shadow: 0 2px 18px rgba(0,0,0,0.25); }
.fv__sub { font-size: clamp(14px, 2.6vw, 18px); font-weight: 500; margin-bottom: 14px; color: var(--gray-100); }
.fv__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.fv__badges li {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.5);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}
.fv__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.fv__scroll {
  display: none; /* モバイルではCTAボタンと視覚的に干渉するため非表示、PCのみ表示 */
  position: absolute; z-index: 1; left: 50%; bottom: 22px; transform: translateX(-50%);
  flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.14em; color: var(--white); opacity: 0.85;
}
.fv__scroll span { width: 1px; height: 30px; background: linear-gradient(var(--white), transparent); animation: scrollLine 1.8s infinite var(--ease); }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 8. セクション背景の使い分け ---------- */
.stats, .reasons, .day, .requirements { background: var(--gray-50); }
.concerns, .jobs, .growth, .benefits, .faq, .apply, .case-study { background: var(--white); }
.workplace, .voice { background: var(--navy); color: var(--white); }
.workplace .section-title, .voice .section-title { color: var(--white); }
.workplace .section-lead { color: var(--gray-200); }

/* ---------- 9-1. 働きやすさ ---------- */
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 26px 18px;
  text-align: center; box-shadow: var(--shadow-sm);
}
.stat-card__num { display: flex; align-items: baseline; justify-content: center; gap: 3px; font-size: clamp(30px, 6vw, 42px); font-weight: 900; color: var(--blue); }
.stat-card__unit { font-size: 15px; font-weight: 700; color: var(--navy); }
.stat-card__label { margin-top: 8px; font-size: 13px; color: var(--gray-700); font-weight: 500; }
.stats__note { margin-top: 22px; font-size: 12px; color: var(--gray-700); }

/* ---------- 9-2. 求職者の不安 ---------- */
.concerns__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.concern-card { background: var(--blue-light); border-radius: var(--radius-md); padding: 22px; border-left: 4px solid var(--blue); }
.concern-card__q { font-weight: 700; margin-bottom: 8px; color: var(--navy-2); }
.concern-card__q::before { content: "Q. "; color: var(--blue); }
.concern-card__a { font-size: 14px; color: var(--gray-700); }
.concern-card__a::before { content: "A. "; color: var(--blue); font-weight: 700; }

/* ---------- 9-3. 3つの理由 ---------- */
.reasons__list { display: grid; grid-template-columns: 1fr; gap: 20px; }
.reason-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 30px 24px;
  box-shadow: var(--shadow-sm); position: relative; border-top: 4px solid var(--blue);
}
.reason-card__num { font-size: 34px; font-weight: 900; color: var(--gray-200); display: block; margin-bottom: 6px; }
.reason-card__title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.reason-card__text { font-size: 14px; color: var(--gray-700); }

/* ---------- 9-4. 仕事内容 ---------- */
.jobs__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.job-card { position: relative; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-top: 12px; }
.badge--soft { background: var(--blue-light); color: var(--blue-dark); }
.job-card__title { font-size: 17px; font-weight: 700; margin-top: 8px; margin-bottom: 6px; }
.job-card__text { font-size: 13.5px; color: var(--gray-700); }

/* ---------- 9-5. 成長STEP ---------- */
.step-line { position: relative; padding-left: 30px; }
.step-line::before { content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 2px; background: var(--gray-200); }
.step-line__item { position: relative; padding-bottom: 34px; padding-left: 26px; }
.step-line__item:last-child { padding-bottom: 0; }
.step-line__dot {
  position: absolute; left: -30px; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--gray-300); color: var(--gray-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; z-index: 1;
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.step-line__item.is-visible .step-line__dot { background: var(--blue); border-color: var(--blue); color: var(--white); }
.step-line__time { font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: 0.04em; }
.step-line__title { font-size: 16px; font-weight: 700; margin: 4px 0 6px; }
.step-line__text { font-size: 13.5px; color: var(--gray-700); }

/* ---------- 9-6. 職場環境 ---------- */
.workplace__gallery { display: grid; grid-template-columns: 1fr; gap: 16px; }
.workplace .img-slot { background: repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 14px, rgba(255,255,255,0.02) 14px 28px); border-color: var(--blue); }
/* 生産フロア(緑床)・休憩スペース・更衣室(暖色系)の彩度をわずかに抑え、他画像の青系トーンと統一感を持たせる */
.workplace__gallery .img-slot--photo img { filter: saturate(0.72) brightness(1.02); }

/* ---------- 9-7. 社員インタビュー ---------- */
.voice__grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.voice-card { background: rgba(255,255,255,0.06); border-radius: var(--radius-lg); padding: 26px; text-align: center; }
.voice-card .img-slot { width: 108px; margin: 0 auto 16px; }
.voice-card__quote { font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.voice-card__name { font-size: 14px; font-weight: 700; color: var(--blue-light); }
.voice-card__meta { font-size: 12px; color: var(--gray-300); margin-bottom: 12px; }
.voice-card__text { font-size: 13.5px; color: var(--gray-100); text-align: left; }

/* ---------- 9-8. 1日の流れ ---------- */
.day__timeline { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--gray-200); }
.day__item { display: flex; align-items: center; gap: 20px; padding: 16px 4px; border-bottom: 1px solid var(--gray-200); }
.day__time { flex: 0 0 64px; font-weight: 900; color: var(--blue); font-size: 16px; }
.day__text { font-size: 14px; font-weight: 500; }

/* ---------- 9-9. 待遇・福利厚生 ---------- */
.benefits__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.benefit-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--gray-50); border-radius: var(--radius-md); padding: 16px;
  font-size: 13px; font-weight: 700;
}
.benefit-item__icon { width: 26px; height: 26px; flex-shrink: 0; color: var(--blue); }
.benefit-item small { font-weight: 500; color: var(--gray-700); font-size: 11px; }

/* ---------- 9-10. 募集要項 ---------- */
.req-table { border-top: 1px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden; }
.req-table__row { display: flex; flex-direction: column; border-bottom: 1px solid var(--gray-200); }
.req-table__th { background: var(--gray-100); padding: 12px 16px; font-size: 13px; font-weight: 700; color: var(--navy-2); }
.req-table__td { padding: 14px 16px; font-size: 14px; color: var(--gray-700); }

/* ---------- 9-11. FAQ ---------- */
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--gray-50); border-radius: var(--radius-md); padding: 4px 20px;
  border: 1px solid var(--gray-200);
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 30px 16px 0; font-weight: 700; font-size: 14.5px;
  position: relative; min-height: 44px; display: flex; align-items: center;
  transition: color var(--dur-fast) var(--ease);
}
.faq-item summary:hover, .faq-item summary:focus-visible { color: var(--blue-dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; color: var(--blue); font-weight: 900; margin-right: 10px; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 20px; font-weight: 300; color: var(--blue); transition: transform var(--dur-fast) var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 0 18px 26px; font-size: 13.5px; color: var(--gray-700); }

/* ---------- 9-12. 最終CTA ---------- */
.final-cta { position: relative; color: var(--white); text-align: center; overflow: hidden; background: var(--navy-3); padding: var(--section-py) 0; }
.final-cta__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.final-cta__img img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 65% 40%; /* スマホの強いクロップでもスタッフ3名が収まるよう調整 */
}
.final-cta__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,40,0.58) 0%, rgba(10,20,40,0.74) 100%);
}
.final-cta__content { position: relative; z-index: 1; }
.final-cta__title { font-size: clamp(24px, 5vw, 38px); font-weight: 900; margin-bottom: 14px; }
.final-cta__sub { font-size: 14px; color: var(--gray-100); margin-bottom: 26px; }
.final-cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- 9-13. 応募フォーム ---------- */
.apply-form { display: flex; flex-direction: column; gap: 20px; }
.apply-form__field { display: flex; flex-direction: column; gap: 8px; }
.apply-form__field label, .apply-form__field legend { font-size: 13.5px; font-weight: 700; padding: 0; }
.apply-form__field input[type="text"],
.apply-form__field input[type="tel"],
.apply-form__field input[type="email"],
.apply-form__field textarea {
  border: 1px solid var(--gray-300); border-radius: var(--radius-sm); padding: 13px 14px; font-size: 15px;
  background: var(--gray-50); min-height: 48px;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.apply-form__field textarea { min-height: 110px; resize: vertical; }
.apply-form__field input:focus, .apply-form__field textarea:focus {
  outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px var(--blue-light);
}
.apply-form__field:invalid input:not(:placeholder-shown):invalid { border-color: #d33; }
.required { background: #e85555; color: var(--white); font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.optional { background: var(--gray-200); color: var(--gray-700); font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.apply-form__field--radio { border: none; padding: 0; margin: 0; }
.apply-form__field--radio legend { margin-bottom: 8px; padding: 0; }
.radio-label, .checkbox-label { display: flex; flex-direction: row; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; min-height: 44px; }
.radio-label input, .checkbox-label input { width: 20px; height: 20px; accent-color: var(--blue); flex-shrink: 0; }
.policy-note { color: var(--blue); text-decoration: underline; }
.apply-form__note { font-size: 12px; color: var(--gray-700); text-align: center; }
.apply-form__success { text-align: center; padding: 50px 20px; }
.apply-form__success-icon { width: 60px; height: 60px; line-height: 60px; margin: 0 auto 18px; border-radius: 50%; background: var(--success); color: var(--white); font-size: 26px; font-weight: 900; }
.apply-form__success h3 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.apply-form__success p { font-size: 13.5px; color: var(--gray-700); margin-bottom: 24px; }

/* ---------- 9-14. CASE STUDY ---------- */
.case-study { background: var(--gray-100); }
.case-study__grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 26px; }
.case-study__grid dt { font-size: 11px; font-weight: 800; color: var(--blue-dark); letter-spacing: 0.06em; margin-bottom: 4px; }
.case-study__grid dd { font-size: 14px; font-weight: 500; margin: 0; }
.case-study__disclaimer {
  background: #fff7e6; border: 1px solid #f2d189; color: #7a5a12;
  border-radius: var(--radius-md); padding: 18px 20px; font-size: 13px; line-height: 1.8;
}

/* ---------- 9-15. フッター ---------- */
.site-footer { background: var(--navy-3); color: var(--gray-300); padding: 46px 0 calc(46px + var(--mobile-cta-h)); }
.site-footer__inner { display: flex; flex-direction: column; gap: 22px; }
.site-footer__brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--white); }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer__nav a { font-size: 13px; }
.site-footer__nav a:hover { color: var(--white); }
.site-footer__copy { font-size: 11.5px; color: var(--gray-500); }

/* ---------- 10. モバイル固定CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  display: flex; gap: 10px; padding: 10px 14px;
  background: var(--white); border-top: 1px solid var(--gray-200);
  box-shadow: 0 -6px 20px rgba(16,35,63,0.10);
  height: var(--mobile-cta-h);
}
.mobile-cta .btn { flex: 1; min-height: 44px; padding: 10px 14px; font-size: 14px; }

/* ---------- 11. アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease); transition-delay: var(--delay, 0s); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fv__scroll span { animation: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- 12. アクセシビリティ ---------- */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.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; }

/* =====================================================================
   13. レスポンシブ（モバイルファースト）
===================================================================== */

/* ---- タブレット以上 768px ---- */
@media (min-width: 768px) {
  .container { padding: 0 32px; }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .concerns__grid { grid-template-columns: repeat(2, 1fr); }
  .reasons__list { grid-template-columns: repeat(3, 1fr); }
  .jobs__grid { grid-template-columns: repeat(2, 1fr); }
  .workplace__gallery { grid-template-columns: repeat(3, 1fr); }
  .voice__grid { grid-template-columns: repeat(3, 1fr); }
  .voice-card__text { text-align: center; }
  .benefits__grid { grid-template-columns: repeat(4, 1fr); }
  .req-table__row { flex-direction: row; align-items: center; }
  .req-table__th { flex: 0 0 190px; }
  .req-table__td { flex: 1; }
  .case-study__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---- デスクトップ 1024px以上：ハンバーガー→フルナビ、モバイルCTA非表示 ---- */
@media (min-width: 1024px) {
  .only-mobile { display: none; }
  .main-nav { display: flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
  .mobile-cta { display: none; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 46px; }

  .fv { min-height: 88vh; }
  .fv__scroll { display: flex; }
  .fv__content { padding-top: 0; padding-bottom: 100px; }
  .fv__title { margin-bottom: 16px; }
  .fv__sub { margin-bottom: 24px; }
  .fv__badges { gap: 10px; margin-bottom: 30px; }
  .fv__img img { object-position: 62% 28%; } /* PCは横幅に余裕があるため中央寄りに調整 */
  /* PCは左側に十分な余白があるため、テキスト側だけを暗くし写真の見える面積を確保 */
  .fv__overlay {
    background:
      linear-gradient(180deg, rgba(8,18,36,0.18) 0%, rgba(8,18,36,0.40) 42%, rgba(8,18,36,0.80) 72%, rgba(8,18,36,0.95) 100%),
      linear-gradient(90deg, rgba(8,18,36,0.55) 0%, rgba(8,18,36,0.18) 46%, rgba(8,18,36,0) 68%);
  }

  /* 最終CTA：PCでは画像の余白（左側）にテキストを寄せ、写真の見える面積を確保 */
  .final-cta { text-align: left; }
  .final-cta__overlay {
    background:
      linear-gradient(90deg, rgba(10,20,40,0.78) 0%, rgba(10,20,40,0.42) 40%, rgba(10,20,40,0.08) 64%),
      linear-gradient(180deg, rgba(10,20,40,0.2) 0%, rgba(10,20,40,0.45) 100%);
  }
  .final-cta__buttons { justify-content: flex-start; }

  .stat-card { padding: 34px 22px; }
  .concern-card { padding: 28px; }
  .day__item { padding: 18px 8px; }

  .step-line { padding-left: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .step-line::before { left: 0; right: 0; top: 13px; bottom: auto; width: auto; height: 2px; }
  .step-line__item { padding-left: 0; padding-top: 40px; padding-bottom: 0; }
  .step-line__dot { left: 50%; top: 0; transform: translateX(-50%); }
  .step-line__body { text-align: center; }

  .case-study__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- 大画面 1280px以上 ---- */
@media (min-width: 1280px) {
  .fv__title { font-size: 60px; }
}
