@charset "UTF-8";
/* =========================================================================
   埼玉グリーンサービス株式会社 リニューアル提案用デモサイト
   配色：緑を背景一面に使わず、差し色に格下げする。
        背景 #FAF9F5 ／ 主色 #14372B ／ アクセント #E4A020 ／ 差し色 #3E7C59
   ========================================================================= */

/* ---------- トークン ---------- */
:root {
  --c-bg:        #FAF9F5;   /* ページ地。純白にしない（紙の質感） */
  --c-bg-tint:   #F3F1EA;   /* セクション交互の地。緑は使わない */
  --c-main:      #14372B;   /* 見出し・ヘッダー・フッター */
  --c-accent:    #E4A020;   /* CTA・数字・区切り線 */
  --c-accent-dk: #B87C0C;   /* アクセント上の文字・hover用 */
  /* 明地の上に置く数字用。#E4A020 は #F3F1EA に対し 1.99:1 しか出ずコントラスト不足のため、
     同系statのまま暗くした色を数字テキストに使う（背景に対し約4.4〜4.8:1）。 */
  --c-accent-text: #9A6405;
  --c-sub:       #3E7C59;   /* 差し色。アイコンとタグのみ */
  --c-text:      #1A1A1A;   /* 本文 */
  --c-muted:     #5C5C5C;   /* 補足 */
  --c-line:      #DCD8CC;
  --c-white:     #FFFFFF;

  --wrap:        1120px;
  --wrap-narrow: 800px;
  --radius:      12px;
  --shadow:      0 1px 2px rgba(20,55,43,.05), 0 8px 24px rgba(20,55,43,.06);

  --sp-1: 8px;  --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-5: 48px; --sp-6: 64px; --sp-7: 96px;

  --header-h:  72px;
  --sticky-h:  60px;
  --ease-out:  cubic-bezier(.22,.61,.36,1);
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text);
  background: var(--c-bg);
  /* 375pxで横スクロールを出さない。
     overflow-x:hidden にすると overflow-y が auto に解決されて body がスクロールコンテナ化し、
     ScrollTrigger のピン留め（S02）が効かなくなるため、clip を使う。 */
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: .02em; line-height: 1.4; margin: 0; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  z-index: 200; background: var(--c-main); color: var(--c-white);
  padding: 12px 24px; border-radius: 0 0 8px 8px; text-decoration: none;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 0; }
.nowrap { white-space: nowrap; }

/* ---------- レイアウト ---------- */
/* 追従ヘッダーの下にアンカー先が潜らないようにする */
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 40px, var(--wrap-narrow)); }
.section { padding: var(--sp-7) 0; }
.section--tint { background: var(--c-bg-tint); }
.center { text-align: center; }

.sec-head { margin-bottom: var(--sp-5); text-align: center; }
.sec-title {
  font-size: clamp(24px, 4.2vw, 34px);
  color: var(--c-main);
  margin-bottom: var(--sp-2);
}
/* 見出し下のアクセント罫 */
.sec-title::after {
  content: ""; display: block; width: 48px; height: 3px;
  background: var(--c-accent); margin: var(--sp-2) auto 0;
}
.sec-title__icon { display: inline-block; width: 34px; height: 34px; vertical-align: -6px; margin-right: 8px; }
.sec-lead { color: var(--c-muted); font-size: 16px; }
.sec-lead + .sec-lead { margin-top: 1em; }
.minihead {
  font-size: 17px; color: var(--c-main); margin-bottom: var(--sp-2);
  padding-left: 12px; border-left: 4px solid var(--c-sub);
}
.minihead__icon { display: inline-block; width: 22px; height: 22px; vertical-align: -4px; margin-right: 6px; }
.note { font-size: 14px; color: var(--c-muted); margin-top: var(--sp-3); text-align: center; }
.credit { font-size: 12px; color: var(--c-muted); margin-top: 6px; }

.card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- ボタン（タップ領域44px以上） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 28px;
  font-size: 16px; font-weight: 700; line-height: 1.4; text-align: center;
  text-decoration: none; border: 2px solid transparent; border-radius: 8px;
  cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out),
              border-color .2s var(--ease-out), transform .2s var(--ease-out);
}
.btn--accent { background: var(--c-accent); color: var(--c-main); border-color: var(--c-accent); }
.btn--accent:hover { background: #F0AE30; border-color: #F0AE30; transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.10); color: var(--c-white); border-color: rgba(255,255,255,.72); }
.btn--ghost:hover { background: var(--c-white); color: var(--c-main); border-color: var(--c-white); }
.btn--ghost-light { background: transparent; color: var(--c-white); border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: 15px; }
.btn--wide { width: 100%; max-width: 420px; }

/* 文中の電話番号リンク：行送りを崩さずにタップ領域だけ44px以上へ広げる
   （余白を足した分を負のマージンで打ち消す） */
p a[href^="tel:"],
dd a[href^="tel:"] {
  display: inline-block;
  padding: 11px 6px;
  margin: -11px -6px;
  font-weight: 700;
  text-underline-offset: 3px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-main); color: var(--c-white);
}
.site-header__inner {
  width: min(100% - 32px, var(--wrap)); margin-inline: auto;
  min-height: var(--header-h);
  display: flex; align-items: center; gap: var(--sp-3);
}
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto;
  min-height: 44px;                    /* タップ領域44px以上 */
}
.brand__mark {
  width: 30px; height: 30px; flex: none; border-radius: 7px;
  background: var(--c-sub);
  box-shadow: inset 0 0 0 2px rgba(250,249,245,.35);
}
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-weight: 700; font-size: 16px; line-height: 1.3; letter-spacing: .02em; }
.brand__sub { font-size: 11px; line-height: 1.4; color: rgba(250,249,245,.72); }
.site-nav { display: flex; gap: var(--sp-3); }
.site-nav a {
  font-size: 14px; font-weight: 500; text-decoration: none;
  padding: 6px 2px; border-bottom: 2px solid transparent;
  transition: border-color .2s var(--ease-out), color .2s var(--ease-out);
}
.site-nav a:hover { border-bottom-color: var(--c-accent); }

/* ---------- S01 ヒーロー ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  padding: var(--sp-6) 0 var(--sp-7);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; z-index: -2; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(20,55,43,.94) 0%, rgba(20,55,43,.80) 42%, rgba(20,55,43,.30) 78%, rgba(20,55,43,.18) 100%),
    linear-gradient(to top, rgba(20,55,43,.55), transparent 45%);
}
.hero__inner { width: min(100% - 40px, var(--wrap)); margin-inline: auto; color: var(--c-white); }
.hero__eyebrow {
  display: inline-block; font-size: 14px; font-weight: 500; letter-spacing: .06em;
  padding-left: 14px; border-left: 3px solid var(--c-accent);
  margin-bottom: var(--sp-3);
}
.hero__title {
  font-size: clamp(34px, 7.4vw, 68px);
  line-height: 1.28; letter-spacing: .02em;
  margin-bottom: var(--sp-3);
  text-shadow: 0 2px 24px rgba(20,55,43,.45);
}
.hero__title .line { display: block; }
.hero__title .char { display: inline-block; will-change: transform, opacity; }
.hero__lead { max-width: 40em; font-size: clamp(16px, 1.9vw, 18px); margin-bottom: var(--sp-3); }

.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--sp-4); }
.badge {
  font-size: 14px; font-weight: 500; padding: 7px 16px; border-radius: 999px;
  background: rgba(250,249,245,.12);
  border: 1px solid rgba(250,249,245,.45);
  backdrop-filter: blur(2px);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__credit {
  position: absolute; right: 16px; bottom: 12px;
  font-size: 11px; color: rgba(250,249,245,.72);
}

/* ---------- S02 変化のピン留めストーリー ---------- */
.seq { position: relative; background: var(--c-main); }
.seq__pin {
  position: relative; height: 100svh; min-height: 520px;
  overflow: hidden; isolation: isolate;
}
.seq__stages { position: absolute; inset: 0; }
.seq__stage {
  position: absolute; inset: 0; margin: 0;
  opacity: 0;
}
.seq__stage.is-active { opacity: 1; }
/* 3枚とも同じ object-fit / object-position。ずらすと「変化」に見えなくなる */
.seq__stage img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
/* 読み上げ用のコピー。通常時は画面に出さず、reduced-motion 時のみ表示する */
.seq__stage-cap {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.seq__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,55,43,.86) 0%, rgba(20,55,43,.42) 38%, rgba(20,55,43,.12) 70%, rgba(20,55,43,.30) 100%);
}
.seq__body {
  position: absolute; left: 0; right: 0; bottom: clamp(56px, 10vh, 104px);
  width: min(100% - 40px, var(--wrap)); margin-inline: auto;
  color: var(--c-white);
}
.seq__captions { position: relative; min-height: 4.6em; }
.seq__caption {
  position: absolute; left: 0; top: 0; right: 0; margin: 0;
  font-size: clamp(26px, 5.4vw, 52px); font-weight: 700; line-height: 1.4; letter-spacing: .02em;
  text-shadow: 0 2px 22px rgba(20,55,43,.6);
  opacity: 0;
}
.seq__caption.is-active { opacity: 1; }

.seq__final { margin-top: var(--sp-2); opacity: 0; }
.seq__final-copy {
  font-size: clamp(16px, 2.3vw, 21px); font-weight: 500; line-height: 1.75;
  margin-bottom: var(--sp-3); text-shadow: 0 2px 18px rgba(20,55,43,.6);
}
.seq__dots {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 26px;
  display: flex; gap: 10px;
}
.seq__dots li {
  width: 28px; height: 3px; background: rgba(250,249,245,.32);
  transition: background-color .5s var(--ease-out);
}
.seq__dots li.is-active { background: var(--c-accent); }
.seq__note {
  position: absolute; right: 16px; bottom: 12px;
  font-size: 11px; color: rgba(250,249,245,.72); margin: 0;
}

/* ---------- S03 3つの理由 ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.reason { padding: var(--sp-4) var(--sp-3); text-align: center; }
.reason__icon { width: 56px; height: 56px; margin: 0 auto var(--sp-2); }
.reason__title { font-size: 20px; color: var(--c-main); margin-bottom: 10px; }
.reason p { font-size: 16px; color: var(--c-muted); text-align: left; }

/* ---------- S04 数字 ---------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-2); }
.stat { text-align: center; padding: var(--sp-2) 8px; border-left: 1px solid var(--c-line); }
.stat:first-child { border-left: 0; }
.stat__num {
  font-size: clamp(34px, 4.4vw, 52px);   /* 数字は本文の約1.4倍以上で組む */
  font-weight: 700; line-height: 1.15; color: var(--c-accent-text);
  letter-spacing: .01em; font-variant-numeric: tabular-nums;
}
.stat__unit { font-size: .42em; font-weight: 700; margin-left: 3px; color: var(--c-main); }
.stat__label { font-size: 14px; line-height: 1.6; color: var(--c-muted); margin-top: 6px; }

/* ---------- S05 職種タブ ---------- */
.tabs__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: -1px; }
.tabs__btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 64px; padding: 12px 16px;
  font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--c-main);
  background: var(--c-bg-tint); border: 1px solid var(--c-line);
  border-radius: 10px 10px 0 0; cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}
.tabs__btn img { width: 30px; height: 30px; flex: none; transition: filter .2s var(--ease-out); }
.tabs__btn.is-active { background: var(--c-main); color: var(--c-white); border-color: var(--c-main); }
/* 選択中は濃緑地になるためアイコンを白へ寄せる */
.tabs__btn.is-active img { filter: brightness(0) invert(1) opacity(.92); }
.tabs__btn:hover:not(.is-active) { background: #EAE7DD; }

.tabs__panel {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--sp-4);
  padding: var(--sp-4);
  background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: 0 0 var(--radius) var(--radius);
}
.tabs__panel[hidden] { display: none; }
.tabs__media img { border-radius: 10px; width: 100%; }
.tabs__text h3 { font-size: 22px; color: var(--c-main); margin-bottom: var(--sp-2); }
.tabs__text h4 {
  font-size: 14px; color: var(--c-sub); margin-top: var(--sp-3); margin-bottom: 4px;
  letter-spacing: .04em;
}
.tabs__text p { font-size: 16px; }
.spec { margin: var(--sp-3) 0; border-top: 1px solid var(--c-line); }
.spec > div { display: flex; gap: var(--sp-2); padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.spec dt { flex: none; width: 5em; font-weight: 700; font-size: 16px; color: var(--c-main); }
.spec dd { margin: 0; font-size: 16px; font-weight: 700; }

/* ---------- S06 1日の流れ ---------- */
.timeline { position: relative; padding-left: 0; }
.timeline__item {
  position: relative; display: grid; grid-template-columns: 84px 1fr;
  gap: var(--sp-3); align-items: start;
  padding: var(--sp-2) 0 var(--sp-2) 0;
}
/* 時刻列と本文列の間を通す縦線 */
.timeline__item::before {
  content: ""; position: absolute; left: 95px; top: 0; bottom: 0;
  width: 2px; background: var(--c-line);
}
.timeline__item:first-child::before { top: 50%; }
.timeline__item:last-child::before  { bottom: 50%; }
.timeline__item::after {
  content: ""; position: absolute; left: 90px; top: calc(50% - 6px);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--c-accent); box-shadow: 0 0 0 4px var(--c-bg-tint);
}
.timeline__time {
  font-size: 20px; font-weight: 700; color: var(--c-main);
  font-variant-numeric: tabular-nums; text-align: right;
  line-height: 1.6;
}
.timeline__text { padding-left: var(--sp-3); font-size: 16px; }

/* ---------- S07 先輩の声 ---------- */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); align-items: start; }
.voice { overflow: hidden; display: flex; flex-direction: column; }
.voice__media { position: relative; }
.voice__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.voice__media .credit {
  position: absolute; right: 8px; bottom: 6px; margin: 0;
  font-size: 11px; color: var(--c-white);
  background: rgba(20,55,43,.62); padding: 2px 8px; border-radius: 4px;
}
.voice__body { padding: var(--sp-3); }
.voice__who {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: var(--c-white); background: var(--c-sub);
  padding: 3px 12px; border-radius: 999px; margin-bottom: 10px;
}
.voice__title { font-size: 18px; color: var(--c-main); margin-bottom: var(--sp-2); line-height: 1.5; }
.qa > div { padding: 10px 0; border-top: 1px solid var(--c-line); }
.qa dt { font-size: 13px; font-weight: 700; color: var(--c-sub); letter-spacing: .04em; }
.qa dd { margin: 2px 0 0; font-size: 16px; line-height: 1.75; }

/* カード3（異業種からの完全未経験）を一番目立たせる */
.voice--feature { position: relative; border-color: var(--c-accent); box-shadow: 0 4px 14px rgba(228,160,32,.18), 0 14px 40px rgba(20,55,43,.10); }
.voice--feature .voice__flag {
  position: absolute; z-index: 2; top: 12px; left: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--c-main); background: var(--c-accent);
  padding: 5px 14px; border-radius: 999px;
}
.voice--feature .voice__title { font-size: 20px; }
.voice__link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; margin-top: var(--sp-2);
  font-size: 16px; font-weight: 700; color: var(--c-main); text-decoration: none;
  border-bottom: 2px solid var(--c-accent);
  transition: gap .2s var(--ease-out);
}
.voice__link img { width: 20px; height: 20px; }
.voice__link:hover { gap: 14px; }

/* ---------- S08 資格取得支援 ---------- */
.quals { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--sp-5); align-items: start; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--sp-3); }
.tags li {
  font-size: 14px; font-weight: 500; color: #316546;
  background: rgba(62,124,89,.09); border: 1px solid rgba(62,124,89,.32);
  padding: 5px 14px; border-radius: 999px;
}
.tags__more { color: var(--c-muted) !important; background: transparent !important; border-style: dashed !important; }
.quals__media img { border-radius: 10px; width: 100%; }

.holders { border-top: 2px solid var(--c-main); }
.holders li {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-2);
  padding: 11px 4px; border-bottom: 1px solid var(--c-line);
}
.holders__name { font-size: 16px; }
.holders__n {
  font-size: 26px; font-weight: 700; color: var(--c-accent-text);
  font-variant-numeric: tabular-nums; line-height: 1;
}
.holders__n small { font-size: 13px; color: var(--c-main); margin-left: 2px; }
.holders + .note { text-align: left; }

/* ---------- S09 / S10 定義リスト（スマホではカードに分解） ---------- */
.deflist { border-top: 2px solid var(--c-main); }
.deflist__row {
  display: grid; grid-template-columns: 190px 1fr;
  border-bottom: 1px solid var(--c-line);
}
.deflist dt {
  padding: 16px var(--sp-2); font-weight: 700; font-size: 16px; color: var(--c-main);
  background: rgba(62,124,89,.06);
}
.deflist dd { margin: 0; padding: 16px var(--sp-3); font-size: 16px; }
.deflist a { color: var(--c-main); font-weight: 700; }

/* 発注元：装飾なし・本文と同じ大きさ */
.clients { margin-top: var(--sp-5); }
.clients p { font-size: 16px; color: var(--c-muted); }

/* ---------- S11 施工の記録 ---------- */
.works { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.work { overflow: hidden; }
.work__media { position: relative; }
.work__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.work__media .credit {
  position: absolute; right: 8px; bottom: 6px; margin: 0;
  font-size: 11px; color: var(--c-white);
  background: rgba(20,55,43,.62); padding: 2px 8px; border-radius: 4px;
}
.work__body { padding: var(--sp-3) var(--sp-2) var(--sp-3); }
.work__title {
  font-size: 17px; color: var(--c-main); margin-bottom: 6px;
  padding-bottom: 6px; border-bottom: 2px solid var(--c-accent); display: inline-block;
}
.work__body p { font-size: 16px; color: var(--c-muted); }

/* ---------- S12 応募フォーム ---------- */
.section--apply { background: var(--c-bg-tint); }
.form {
  background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: var(--sp-4); text-align: center;
}
.field { text-align: left; margin-bottom: var(--sp-3); }
.field label {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 700; color: var(--c-main); margin-bottom: 6px;
}
.req, .opt {
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 2px 8px; border-radius: 4px;
}
.req { background: var(--c-accent); color: var(--c-main); }
.opt { background: var(--c-bg-tint); color: var(--c-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font-size: 16px;                       /* 16px未満だとiOSで拡大される */
  background: var(--c-bg); color: var(--c-text);
  border: 1px solid var(--c-line); border-radius: 8px;
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.field textarea { min-height: 120px; line-height: 1.7; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9A9A9A; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--c-sub); box-shadow: 0 0 0 3px rgba(62,124,89,.16);
}
.form__hint { font-size: 14px; color: var(--c-muted); margin-top: 10px; }
.form__demo {
  margin-top: var(--sp-2); font-size: 14px; font-weight: 700; color: var(--c-main);
  background: rgba(228,160,32,.16); border: 1px dashed var(--c-accent);
  border-radius: 8px; padding: 10px;
}
.form__demo[hidden] { display: none; }

.tel-block {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  margin-top: var(--sp-4); padding: var(--sp-2) var(--sp-4);
  text-decoration: none; border-radius: var(--radius);
  background: var(--c-white); border: 1px solid var(--c-line);
  transition: border-color .2s var(--ease-out), transform .2s var(--ease-out);
  text-align: left;
}
.tel-block:hover { border-color: var(--c-sub); transform: translateY(-2px); }
.tel-block img { width: 34px; height: 34px; flex: none; }
.tel-block__text { display: flex; flex-direction: column; }
.tel-block__label { font-size: 12px; color: var(--c-muted); }
.tel-block__num {
  font-size: 30px; font-weight: 700; color: var(--c-main); line-height: 1.2;
  font-variant-numeric: tabular-nums; letter-spacing: .01em;
}
.tel-block__sub { font-size: 12px; color: var(--c-muted); }

/* ---------- S13 フッター ---------- */
.site-footer {
  background: var(--c-main); color: rgba(250,249,245,.86);
  padding: var(--sp-6) 0 var(--sp-4);
  font-size: 16px;
}
.site-footer a:not(.btn) { color: var(--c-white); font-weight: 700; }
.site-footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--sp-4);
  padding-bottom: var(--sp-4); border-bottom: 1px solid rgba(250,249,245,.18);
}
.site-footer__name { font-size: 18px; font-weight: 700; color: var(--c-white); margin-bottom: 8px; }
.site-footer__est { margin-top: 8px; font-size: 14px; color: rgba(250,249,245,.66); }
.site-footer__h {
  font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--c-accent);
  margin-bottom: 8px;
}
.site-footer__cta { display: flex; gap: 14px; justify-content: center; padding: var(--sp-4) 0; }
.site-footer__cta .btn { min-width: 200px; }
.site-footer__disclaimer {
  font-size: 13px; line-height: 1.9; color: rgba(250,249,245,.72);
  border: 1px solid rgba(250,249,245,.22); border-radius: 8px;
  padding: var(--sp-2); margin-bottom: var(--sp-3);
}
.site-footer__copy { font-size: 12px; color: rgba(250,249,245,.6); text-align: center; }

/* ---------- S00 追従CTA（768px未満） ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: none; gap: 1px;
  height: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--c-main);
  box-shadow: 0 -4px 18px rgba(20,55,43,.22);
  transition: transform .3s var(--ease-out);
}
.sticky-cta__btn {
  flex: 1; display: flex; align-items: center; justify-content: center;
  min-height: var(--sticky-h);
  font-size: 16px; font-weight: 700; text-decoration: none;
  color: var(--c-accent); background: var(--c-main);
}
.sticky-cta__btn--solid { background: var(--c-accent); color: var(--c-main); }
.sticky-cta.is-hidden { transform: translateY(110%); }

/* ---------- スクロール演出の初期状態 ----------
   JS無効・GSAP読み込み失敗・reduced-motion のときに内容が消えないよう、
   隠すのは <html class="js"> が付いている場合だけに限定する。 */
.js .reveal { opacity: 0; }
.js .hero__title .char { opacity: 0; }

/* =========================================================================
   レスポンシブ
   ========================================================================= */
@media (max-width: 1024px) {
  .site-nav { display: none; }         /* 下部追従CTAと重複するため隠す */
  .works { grid-template-columns: repeat(2, 1fr); }
  .quals { grid-template-columns: 1fr; gap: var(--sp-4); }
  .voices { grid-template-columns: 1fr; }
  .voice { flex-direction: row; }
  .voice__media { flex: 0 0 38%; }
  .voice__media img { height: 100%; aspect-ratio: auto; min-height: 220px; }
  .voice__body { flex: 1; }
}

@media (max-width: 768px) {
  :root { --sp-7: 64px; --sp-6: 48px; }
  body { padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px)); }
  .sticky-cta { display: flex; }
  .site-header__cta { display: none; }  /* 追従CTAがあるため重複を避ける */
  .brand__sub { display: none; }

  .hero { min-height: 92svh; padding-top: var(--sp-5); }
  /* 縦位置では写真の明るい部分（空）に文字が重なるため、暗幕を全体的に濃くする */
  .hero__veil { background: linear-gradient(to top, rgba(20,55,43,.95) 0%, rgba(20,55,43,.86) 45%, rgba(20,55,43,.66) 100%); }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }

  .reasons { grid-template-columns: 1fr; }
  .reason { text-align: left; display: grid; grid-template-columns: 46px 1fr; gap: 0 var(--sp-2); }
  .reason__icon { width: 46px; height: 46px; margin: 0; grid-row: span 2; }
  .reason__title { align-self: center; }
  .reason p { grid-column: 2; }

  /* 2列×3段（5項目のため最後の1つは中央寄せ） */
  .stats { grid-template-columns: 1fr 1fr; gap: var(--sp-3) var(--sp-2); }
  .stat { border-left: 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--c-line); }
  .stat:last-child { grid-column: 1 / -1; border-right: 0; border-top: 1px solid var(--c-line); padding-top: var(--sp-3); }

  .tabs__list { gap: 6px; }
  .tabs__btn { flex-direction: column; gap: 6px; font-size: 15px; padding: 10px 8px; min-height: 78px; }
  .tabs__btn img { width: 26px; height: 26px; }
  .tabs__panel { grid-template-columns: 1fr; gap: var(--sp-3); padding: var(--sp-3); }
  .tabs__text .btn { width: 100%; }

  .timeline__item { grid-template-columns: 62px 1fr; gap: var(--sp-2); }
  .timeline__item::before { left: 72px; }
  .timeline__item::after { left: 67px; }
  .timeline__time { font-size: 17px; }
  .timeline__text { padding-left: var(--sp-2); font-size: 16px; }

  .voice { flex-direction: column; }
  .voice__media { flex: none; }
  .voice__media img { aspect-ratio: 3 / 2; min-height: 0; }

  /* 募集要項・会社概要：表をやめて項目ごとのカードに分解する */
  .deflist { border-top: 0; }
  .deflist__row {
    display: block; margin-bottom: var(--sp-2);
    background: var(--c-white); border: 1px solid var(--c-line);
    border-radius: 10px; overflow: hidden;
  }
  .deflist dt { padding: 10px var(--sp-2); font-size: 16px; }
  .deflist dd { padding: var(--sp-2); }

  .works { grid-template-columns: 1fr; }
  .form { padding: var(--sp-3); }
  .tel-block { width: 100%; justify-content: center; padding: var(--sp-3) var(--sp-2); }
  .tel-block__num { font-size: 26px; }

  .site-footer__top { grid-template-columns: 1fr; gap: var(--sp-3); }
  .site-footer__cta { flex-direction: column; }
  .site-footer__cta .btn { width: 100%; min-width: 0; }
}

@media (max-width: 400px) {
  .wrap, .wrap--narrow { width: calc(100% - 28px); }
  .badge { font-size: 13px; padding: 6px 12px; }
  .seq__caption { font-size: 25px; }
  .tel-block__num { font-size: 23px; }
  .sec-title { font-size: 22px; }
}

/* ---------- prefers-reduced-motion：全アニメーション無効 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__title .char { opacity: 1 !important; transform: none !important; }

  /* S02：ピン留めを解除し、3枚を縦に並べて表示する。
     コピーは対になる写真の直下に置く（.seq__captions の重ね表示は使わない）。 */
  .seq__pin { height: auto; min-height: 0; }
  .seq__stages { position: static; display: grid; gap: var(--sp-4); padding: var(--sp-5) 0 0; }
  .seq__stage {
    position: static; opacity: 1;
    width: min(100% - 40px, var(--wrap)); margin-inline: auto;
  }
  .seq__stage img { height: auto; aspect-ratio: 3 / 2; border-radius: var(--radius); }
  .seq__stage-cap {
    position: static; width: auto; height: auto; margin: 0; padding: var(--sp-2) 0 0;
    overflow: visible; clip: auto; white-space: normal;
    font-size: clamp(20px, 3.4vw, 32px); font-weight: 700; line-height: 1.5;
    letter-spacing: .02em; color: var(--c-white);
  }
  .seq__veil { display: none; }
  .seq__captions { display: none; }
  .seq__body {
    position: static; width: min(100% - 40px, var(--wrap));
    padding: var(--sp-4) 0 var(--sp-5);
  }
  .seq__final { opacity: 1; }
  .seq__dots { display: none; }
  .seq__note { position: static; text-align: right; padding: 0 20px var(--sp-4); }
  .sticky-cta { transition: none; }
}
