@charset "UTF-8";
/* ==========================================================================
   スギデン 営業職採用LP — v3（エディトリアルデザイン）
   参照トーン: omicale.co.jp（大型明朝タイポ・余白主導・フラット・EN大ラベル）
   見出し: Shippori Mincho ／ 本文: Zen Kaku Gothic New
   紙色（生成り）×深緑×赤（CTAのみ）。グラデーション・重い影は使わない
   モバイルファースト（390px基準）／CSS変数管理／クラス名はv2から変更しない
   ========================================================================== */

:root {
  /* カラー */
  --c-navy: #0e2117;            /* 深緑（見出し面・強調面） */
  --c-navy-deep: #081a11;       /* フッター */
  --c-ink: #1a232c;             /* 本文 */
  --c-ink-2: #4a545e;
  --c-ink-3: #666e76; /* 生成り背景でもコントラスト4.5:1を満たす値（元: #767e85） */
  --c-paper: #f4f3ef;           /* 生成り（ベース背景） */
  --c-paper-2: #edece6;         /* 生成り濃 */
  --c-white: #ffffff;
  --c-line: #dcdad2;            /* 罫線（暖色ニュートラル） */
  --c-line-dark: #b9b6ac;
  --c-brand: #187fc4;           /* ロゴブルー（リンク・チャート用に限定使用） */
  --c-brand-dark: #0f5f96;
  --c-brand-deep: #0e2117;      /* v2互換（JSは参照しないがHTML互換のため） */
  --c-brand-pale: #e9eef2;
  --c-cta: #c30d23;             /* 赤はCTAとアクセントルールのみ */
  --c-cta-dark: #9d0a1c;
  --c-bg: var(--c-paper);
  --c-bg-soft: #efeee8;
  --c-warn-bg: #f7efe2;
  --c-warn-ink: #8a5a1e;

  /* 書体 */
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Noto Sans JP", sans-serif;

  /* タイポスケール */
  --fs-xs: 12px;
  --fs-s: 13px;
  --fs-base: 15.5px;
  --fs-m: 17px;
  --fs-l: 21px;
  --fs-xl: 30px;
  --fs-xxl: 40px;

  /* 余白（8pxグリッド） */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;
  --sp-14: 112px;

  --radius-s: 2px;
  --radius-m: 2px;
  --radius-l: 2px;
  --shadow-card: none;
  --shadow-deep: none;
  --shadow-cta: none;

  /* 2段階幅システム: テキスト720 / ビジュアル1120 */
  --content-w: 760px;
  --content-w-wide: 1160px;
  --bar-h: 66px;

  /* セクション縦リズム */
  --sec-pad: clamp(88px, 16vw, 168px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.03em;
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}

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

a {
  color: var(--c-brand-dark);
}

/* スマホのみの改行 */
.sp-only {
  display: inline;
}

/* PCのみの改行（900px以上で有効） */
.pc-only {
  display: none;
}

@media (min-width: 900px) {
  .pc-only {
    display: inline;
  }
}

/* ===== 共通レイアウト ===== */
.container {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.container-wide {
  max-width: var(--content-w-wide);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* 広幅コンテナ内でテキストだけ読みやすい行長に抑える */
.container-wide > .sec-label,
.container-wide > h2,
.container-wide > .lead,
.container-wide > .stat-caption,
.container-wide > .supplement,
.container-wide > .timeline,
.container-wide > .day-head {
  max-width: 760px;
}

section {
  padding: var(--sec-pad) 0;
  overflow: hidden;
}

/* 白背景セクション（生成りと交互のリズム） */
.evidence,
.holiday-sec,
#b7,
.gallery-sec {
  background: var(--c-white);
}

/* ===== セクション見出し（EN大ラベル＋番号＋和文ラベル） ===== */
.sec-label {
  display: block;
  margin-bottom: var(--sp-4);
}

.sec-label::before {
  content: attr(data-en);
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(42px, 7.5vw, 84px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--c-ink);
  font-feature-settings: "palt";
  margin-bottom: 18px;
}

.sec-label i {
  font-style: normal;
  font-family: var(--font-serif);
  font-size: var(--fs-s);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-cta);
  margin-right: 12px;
  font-variant-numeric: tabular-nums;
}

.sec-label {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--c-ink-3);
}

.sec-label::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--c-line-dark);
  margin-left: 16px;
  vertical-align: 4px;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4.6vw, 42px);
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-feature-settings: "palt";
  text-wrap: balance;
  margin-bottom: var(--sp-3);
}

h3 {
  font-family: var(--font-serif);
  font-size: var(--fs-m);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.6;
  font-feature-settings: "palt";
}

.lead {
  font-size: var(--fs-base);
  color: var(--c-ink-2);
  line-height: 2.1;
}

.note {
  font-size: var(--fs-xs);
  color: var(--c-ink-3);
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* 「数値確認中」プレースホルダー */
.pending {
  display: inline-block;
  font-size: 0.72em;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-warn-ink);
  background: var(--c-warn-bg);
  border: 1px dashed rgba(138, 90, 30, 0.45);
  border-radius: 2px;
  padding: 1px 8px;
  vertical-align: 2px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* ===== ボタン（フラット・角なし・赤はCTAのみ） ===== */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 62px;
  padding: 8px 24px;
  font-size: var(--fs-base);
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  border-radius: var(--radius-s);
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    opacity 0.25s ease;
}

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

.btn-primary:hover {
  background: var(--c-cta-dark);
}

/* 準備中などの無効ボタン */
.btn:disabled,
.btn[disabled] {
  background: var(--c-line-dark);
  color: #fff;
  cursor: not-allowed;
  opacity: 0.75;
  pointer-events: none;
}

/* フォーム準備中の注記 */
.form-prep-note {
  margin-bottom: var(--sp-2);
  color: var(--c-warn-ink);
  font-weight: 500;
}

.btn-secondary {
  background: #fff;
  color: var(--c-ink);
  border: 1px solid var(--c-line-dark);
}

.btn-secondary:hover {
  border-color: var(--c-ink);
}

.btn-ghost-blue {
  background: var(--c-navy);
  color: #fff;
}

.btn-ghost-blue:hover {
  background: #1c3a29;
}

.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: var(--sp-4);
}

/* ===== ヘッダー =====
   fixed＋最上部（.is-top）では背景透過の特別表示。
   スクロールで生成り背景へ切り替わる */
.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  background: rgba(244, 243, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(185, 182, 172, 0.4);
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

/* 最上部：透過ヘッダー（SPメニュー展開中は除く） */
.site-header.is-top:not(.nav-open) {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.site-header.is-top:not(.nav-open) .logo {
  filter: brightness(0) invert(1);
}

.site-header.is-top:not(.nav-open) .global-nav a {
  color: #fff;
  text-shadow: 0 1px 10px rgba(8, 26, 17, 0.5);
}

.site-header.is-top:not(.nav-open) .global-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.site-header.is-top:not(.nav-open) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.14);
}

.site-header.is-top:not(.nav-open) .nav-toggle:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.site-header.is-top:not(.nav-open) .nav-toggle span,
.site-header.is-top:not(.nav-open) .nav-toggle span::before,
.site-header.is-top:not(.nav-open) .nav-toggle span::after {
  background: #fff;
}

/* fixedヘッダー分、アンカー着地位置を下げる */
section,
#company {
  scroll-margin-top: 76px;
}

.site-header .inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 16px; /* SP/タブレット：ロゴ・ハンバーガーを端に寄せる（左右均等・PCは900+で40pxに上書き） */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ロゴ＋タグライン（2026-08-07 追加。ヒーロー上（is-top）では非表示・スクロール後にフェード表示） */
.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.header-tagline {
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--c-navy);
  font-feature-settings: "palt";
  white-space: nowrap;
  padding-left: 14px;
  border-left: 1px solid var(--c-line);
  transition: opacity 0.35s ease;
}

.site-header.is-top:not(.nav-open) .header-tagline {
  opacity: 0;
}

@media (max-width: 899px) {
  /* SPは2行表示（sp-onlyのbrで改行）で幅を節約 */
  .header-brand {
    gap: 10px;
  }
  .header-tagline {
    font-size: 10px;
    letter-spacing: 0.04em;
    padding-left: 10px;
  }
}

.site-header .logo {
  display: block;
  width: 118px;
  height: 43px;
  transition: width 0.35s ease, height 0.35s ease, filter 0.35s ease;
}

/* 最上部（透過ヘッダー）ではロゴを拡大表示（SPは控えめに） */
.site-header.is-top:not(.nav-open) .logo {
  width: 138px;
  height: 50px; /* SVG比率 529.78:190.83 に合わせた整数値 */
}

.site-header .header-cta {
  display: none;
}

/* ===== ページ内ナビ（PC=横並び／SP=ハンバーガー開閉） ===== */
.global-nav {
  display: none;
}

.site-header.nav-open .global-nav {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
}

.global-nav ul {
  list-style: none;
}

.global-nav a {
  display: block;
  padding: 15px 28px;
  font-size: var(--fs-s);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--c-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--c-line);
}

.global-nav a:hover {
  color: var(--c-cta);
}

/* ハンバーガー：細罫線の枠＋細いライン（エディトリアル調） */
.nav-toggle {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--c-line-dark);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.nav-toggle:hover {
  border-color: var(--c-ink);
  background: rgba(255, 255, 255, 0.8);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 1.4px;
  margin-left: -10px;
  background: var(--c-ink);
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.25s ease;
}

.nav-toggle span {
  top: 50%;
  margin-top: -0.7px;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* 展開時：中央を消して上下をXに */
.site-header.nav-open .nav-toggle span {
  background: transparent;
}

.site-header.nav-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.nav-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ===== B1 ヒーロー（全面写真＋明朝大型タイポ） ===== */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
  background: var(--c-navy);
}

/* ヒーロースライダー（クロスフェード） */
.hero-slides {
  position: absolute;
  inset: 0;
}

.hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  opacity: 0;
  transition: opacity 2s ease;
}

.hero .hero-bg.is-active {
  opacity: 1;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(8, 26, 17, 0.55) 0%,
      rgba(8, 26, 17, 0.25) 55%,
      rgba(8, 26, 17, 0.05) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 26, 17, 0.1) 0%,
      rgba(8, 26, 17, 0.3) 45%,
      rgba(8, 26, 17, 0.88) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 104px 24px 30px;
  color: #fff;
}

/* h1複合構造のラッパー（2026-08-31。子のeyebrow/titleが全スタイルを持つ） */
.hero-heading {
  margin: 0;
  width: 100%;
  max-width: 560px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--sp-3);
}

.hero-eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--c-cta);
}

/* 最大テーマ「つなぐ営業」— CTAボタン列と同じ横幅（560px）に両端揃えで固定 */
.hero .hero-title {
  display: block;
  width: 100%;
  max-width: 560px;
  font-family: var(--font-serif);
  font-size: clamp(56px, 15.5vw, 104px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: 0;
  font-feature-settings: "palt";
  text-shadow: 0 2px 32px rgba(8, 26, 17, 0.6);
  white-space: nowrap;
  text-align: justify;
  text-align-last: justify;
}

.hero .hero-title .accent {
  color: #b5ddf8;
}

.hero .hero-lead {
  width: 100%;
  max-width: 560px; /* タイトル・CTAと同幅に固定 */
  margin-top: var(--sp-3);
  font-size: var(--fs-base);
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(8, 26, 17, 0.5);
}

/* 主要条件行（2026-08-31 広告品質スコア対策。値はrecruit-dataからJS注入） */
.hero-specs {
  width: 100%;
  max-width: 560px;
  margin-top: 14px;
  font-size: var(--fs-s);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(8, 26, 17, 0.5);
  line-height: 1.9;
}

.hero-specs .hs-item {
  white-space: nowrap;
}

.hero-specs .hs-sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.55);
  margin: 0 14px;
  vertical-align: -1px;
}

/* CTAはヒーローをシンプルに保つため幅を絞る */
.hero .cta-stack {
  max-width: 560px;
}

/* ===== 求人サマリー（FV直下・2026-08-31） ===== */
.job-summary {
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
  padding: 26px 0 22px;
}

.js-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
}

.js-cell {
  padding: 2px 24px;
  border-left: 1px solid var(--c-line);
}

.js-cell:first-child {
  border-left: none;
  padding-left: 0;
}

.js-cell dt {
  font-size: var(--fs-xs);
  color: var(--c-ink-3);
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}

.js-cell dd {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--c-ink);
  font-feature-settings: "palt";
  white-space: nowrap;
}

.js-link {
  display: inline-block;
  margin-top: 16px;
  font-size: var(--fs-s);
  font-weight: 700;
  color: var(--c-brand-dark);
  letter-spacing: 0.04em;
}

@media (max-width: 899px) {
  .js-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 0;
  }
  .js-cell {
    padding: 2px 16px;
  }
  .js-cell:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }
  .js-cell dd {
    font-size: 16px;
  }
}

/* ===== メッセージ（つなぐ営業の本文） ===== */
.message-sec {
  background: var(--c-white);
  position: relative;
}

/* ===== Message フローティング装飾 ===== */
.msg-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.mdf {
  position: absolute;
  will-change: transform;
}

.mdf .mdf-inner {
  display: block;
  transition: transform 0.6s ease;
  will-change: transform;
  perspective: 700px; /* imgのカードめくり（rotateY）用の奥行き */
}

.mdf img {
  width: 100%;
  aspect-ratio: 1 / 1; /* CLS防止：領域を確保 */
  object-fit: cover;
  display: block;
  transform-origin: center center;
  will-change: transform, opacity;
}

/* SP: 2点のみ・上下の余白に小さく（テキストに重ねない） */
.mdf-3,
.mdf-4,
.mdf-5,
.mdf-6,
.mdf-7,
.mdf-8 {
  display: none;
}

.mdf-1 {
  width: 122px; /* 大 */
  top: 22px;
  right: 12px;
}

.mdf-2 {
  width: 72px; /* 小 */
  bottom: 30px;
  left: 16px;
}

/* タブレット: 3点。上下の余白に大小差をつけて配置 */
@media (min-width: 700px) {
  .mdf-3 {
    display: block;
    width: 150px; /* 大 */
    top: 34px;
    left: 24px;
  }
  .mdf-1 {
    width: 116px; /* 中 */
  }
  .mdf-2 {
    width: 78px; /* 小 */
  }
}

/* PC: 5点を左右ガターに配置（テキスト760pxの外側）。大小差を強調 */
@media (min-width: 1100px) {
  .mdf {
    /* テキスト760pxの外側の片側ガター幅。大写真はこの幅を超えないようクランプ */
    --gutter: calc((100vw - 760px) / 2);
  }
  .mdf-4,
  .mdf-5,
  .mdf-6,
  .mdf-7,
  .mdf-8 {
    display: block;
  }
  /* mdf-3＝最大 / mdf-1＝大 / mdf-5＝中 / mdf-2＝小 / mdf-4＝最小 */
  .mdf-1 {
    width: min(186px, calc(var(--gutter) - 34px)); /* 大 */
    top: 12%;
    right: auto;
    left: 2%;
  }
  .mdf-2 {
    width: 88px; /* 小 */
    top: auto;
    bottom: 17%;
    left: 3%;
  }
  .mdf-3 {
    width: min(216px, calc(var(--gutter) - 34px)); /* 最大 */
    top: 7%;
    left: auto;
    right: 2%;
  }
  .mdf-4 {
    width: 78px; /* 最小 */
    top: 46%;
    right: 5%;
  }
  .mdf-5 {
    width: 130px; /* 中 */
    bottom: 12%;
    right: 3%;
  }
  /* 追加3点（左ガター中・上、右ガター下寄り） */
  .mdf-6 {
    width: 104px; /* 中小 */
    top: 42%;
    left: 8%;
  }
  .mdf-7 {
    width: 72px; /* 小 */
    top: 5%;
    left: 11%;
  }
  .mdf-8 {
    width: 96px; /* 小中 */
    top: 63%;
    right: 9%;
  }
}

/* スマホのみ：余白が少ないので写真を5点に増やし、文章に少し重ねて配置。
   文章と重なっても読めるよう画像は不透明度10%（2026-07-28 Kensuke指示。旧0.8では被った文字が読みづらい） */
@media (max-width: 699px) {
  .mdf {
    opacity: 0.1;
  }
  .mdf-3,
  .mdf-4,
  .mdf-5 {
    display: block;
  }
  .mdf-6,
  .mdf-7,
  .mdf-8 {
    display: none;
  }
  .mdf-1 {
    width: 112px; /* 大 */
    top: 4%;
    right: 3%;
    left: auto;
    bottom: auto;
  }
  .mdf-2 {
    width: 82px; /* 小 */
    top: 25%;
    left: 2%;
    right: auto;
    bottom: auto;
  }
  .mdf-3 {
    width: 100px; /* 中 */
    top: 45%;
    right: 2%;
    left: auto;
    bottom: auto;
  }
  .mdf-4 {
    width: 74px; /* 最小 */
    top: 64%;
    left: 4%;
    right: auto;
    bottom: auto;
  }
  .mdf-5 {
    width: 94px; /* 中小 */
    bottom: 4%;
    right: 7%;
    top: auto;
    left: auto;
  }
}

/* Message 締めの「つなぐ」トリオ＋サイン（明朝で強調） */
.message-closing {
  margin-top: var(--sp-6);
  font-family: var(--font-serif);
  font-size: var(--fs-l);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--c-ink);
  font-feature-settings: "palt";
  padding-left: 20px;
  border-left: 2px solid var(--c-cta);
}

.message-sign {
  margin-top: var(--sp-3);
  font-family: var(--font-serif);
  font-size: var(--fs-m);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-ink); /* 黒（2026-07-20 青→黒に変更） */
}

/* ===== 現場フィルムストリップ（Scroll-Driven Animations） ===== */
.filmstrip {
  overflow: hidden; /* 幅超えのトラックをクリップ（横スクロール防止） */
  background: var(--c-paper-2);
  padding: clamp(36px, 6vw, 64px) 0;
}

.filmstrip-track {
  display: flex;
  width: max-content;
  will-change: transform;
  /* 左へ連続スクロール（マーキー）。図版を2列並べ、-50%で1列ぶん送るとシームレス */
  animation: film-marquee 48s linear infinite;
}

.filmstrip figure {
  flex: 0 0 auto;
  margin: 0 14px 0 0; /* 均一の右マージン＝-50%移動でつなぎ目が出ない */
}

.filmstrip img {
  height: clamp(170px, 24vw, 280px);
  width: auto;
  display: block;
  border-radius: 6px; /* 角丸 */
}

@keyframes film-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* 動きを控えたい設定では停止（左寄せ静止） */
@media (prefers-reduced-motion: reduce) {
  .filmstrip-track {
    animation: none;
  }
}

.tsunagu-label {
  margin-top: var(--sp-6);
  font-family: var(--font-serif);
  font-size: var(--fs-m);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-ink);
}

.tsunagu-label::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--c-cta);
  margin-top: 12px;
}

.tsunagu-list {
  margin-top: var(--sp-4);
}

/* SPで見出しの1文字折返しを防ぐ */
.tsunagu-list h3 {
  letter-spacing: 0.02em;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--sp-3);
}

.badge {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(14, 33, 23, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 6px 16px;
  line-height: 1.5;
  backdrop-filter: blur(4px);
}

.video-link {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: var(--sp-4);
  padding: 12px 14px;
  background: rgba(8, 26, 17, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-s);
  backdrop-filter: blur(6px);
  text-decoration: none;
  color: #fff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.video-link:hover {
  background: rgba(8, 26, 17, 0.75);
  border-color: rgba(255, 255, 255, 0.6);
}

.video-link .thumb {
  position: relative;
  flex: 0 0 112px;
  overflow: hidden;
}

.video-link .thumb img {
  width: 112px;
  height: 63px;
  object-fit: cover;
}

.video-link .thumb::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 11px solid #fff;
  border-top: 6.5px solid transparent;
  border-bottom: 6.5px solid transparent;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.video-link p {
  font-size: var(--fs-s);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.video-link span {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

/* スクロールキュー（PC表示） */
.scroll-cue {
  display: none;
  position: absolute;
  z-index: 2;
  right: 40px;
  bottom: 0;
  height: 128px;
  color: rgba(255, 255, 255, 0.8);
}

.scroll-cue span {
  position: absolute;
  right: 10px;
  top: -4px;
  font-size: 10px;
  letter-spacing: 0.32em;
  writing-mode: vertical-rl;
}

.scroll-cue::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  transform-origin: top;
  animation: cue 2.4s cubic-bezier(0.6, 0, 0.3, 1) infinite;
}

@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  46% { transform: scaleY(1); transform-origin: top; }
  54% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== マーキー（デザイン装飾・aria-hidden） ===== */
.marquee {
  overflow: hidden;
  padding: clamp(40px, 9vw, 96px) 0 0;
  background: var(--c-paper);
}

.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
}

.marquee-track span {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(44px, 9vw, 104px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(26, 35, 44, 0.4);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .scroll-cue::after { animation: none; }
}

/* ===== 写真フレーム（オフセット罫線・エディトリアル） ===== */
.photo-frame {
  position: relative;
  margin-top: var(--sp-5);
}

.photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(14px, 14px);
  border: 1px solid var(--c-line); /* オフセット罫線は薄めに（元: --c-line-dark） */
  pointer-events: none;
}

.photo-frame::after {
  content: none;
}

.photo-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* ===== B2 フロー（SP=縦コンパクト／PC=横型） ===== */
.flow-svg-wrap {
  margin-top: var(--sp-6);
}

.flow-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

.flow-svg-wrap .flow-sp {
  max-width: 420px;
  margin: 0 auto;
}

.flow-svg-wrap .flow-pc {
  display: none;
}

/* B2 写真×補足 */
.b2-grid {
  display: grid;
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}

@media (min-width: 900px) {
  .flow-svg-wrap .flow-sp {
    display: none;
  }

  .flow-svg-wrap .flow-pc {
    display: block;
  }

  .b2-grid {
    grid-template-columns: 460px 1fr;
    gap: var(--sp-10);
    align-items: center;
  }

  .b2-grid .photo-frame {
    margin-top: 0;
  }

  .b2-grid .why-cards {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
}

/* B2 補足（大型明朝数字＋下線見出し） */
.why-cards {
  display: grid;
  gap: var(--sp-5);
  margin-top: var(--sp-5);
}

.why-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
}

.why-num {
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 500;
  line-height: 0.9;
  color: var(--c-line-dark);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}

.why-card h3 {
  font-size: var(--fs-m);
  color: var(--c-ink);
  letter-spacing: 0.05em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line-dark);
  margin-bottom: 14px;
}

.why-card p {
  font-size: var(--fs-s);
  color: var(--c-ink-2);
  line-height: 2;
}

@media (min-width: 700px) and (max-width: 899px) {
  .why-cards {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== B3 証拠 ===== */
.site-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 24px 20px;
  margin: var(--sp-6) -24px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.site-card {
  flex: 0 0 216px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--c-line);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.site-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-ink);
}

.site-card .shot {
  position: relative;
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
}

.site-card .shot img {
  width: 100%;
  aspect-ratio: 39 / 60;
  object-fit: cover;
  object-position: top;
}

.site-card .shot::after {
  content: "実サイトが開きます";
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(14, 33, 23, 0.85);
  padding: 3px 10px;
}

.site-card .meta {
  padding: 14px 16px 16px;
}

.site-card .meta p {
  font-family: var(--font-serif);
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.site-card .meta span {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-ink-3);
  margin-top: 4px;
  line-height: 1.6;
}

.site-card .meta .inq {
  display: inline-block;
  font-size: 11px; /* 「お問い合わせ件数　約◯件／月」を1行に収める */
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--c-ink);
  border: 1px solid var(--c-line-dark);
  padding: 3px 8px;
  margin-top: 10px;
  line-height: 1.5;
}

/* 「数字で見るスギデン」パネル（深緑・大型数字） */
.numbers {
  margin-top: var(--sp-8);
  background: var(--c-navy);
  color: #fff;
  padding: 48px 28px 36px;
}

.num-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: #e57783;
  text-align: center;
}

.num-title {
  font-family: var(--font-serif);
  font-size: var(--fs-l);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-align: center;
  margin: 8px 0 40px;
}

.num-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 24px;
}

/* 3セル構成（Web問い合わせ／創業／施工実績）: SPは1セル目を全幅に */
.num-cell:first-child {
  grid-column: 1 / -1;
}

.num-cell {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 16px;
}

.num-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.12em;
}

.num-label::before {
  content: none;
}

.num-value {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.num-value .num-unit {
  font-size: var(--fs-s);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-left: 4px;
  letter-spacing: 0.08em;
}

.num-note {
  margin-top: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.num-caption {
  margin-top: 32px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
  letter-spacing: 0.04em;
}

@media (min-width: 900px) {
  .numbers {
    padding: 64px 64px 40px;
  }

  .num-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .num-cell:first-child {
    grid-column: auto;
  }

  .num-value {
    font-size: 54px;
  }
}

.stat-caption {
  margin-top: var(--sp-2);
}

/* B3 補足（電話対応の分担） */
.supplement {
  margin-top: var(--sp-3);
  background: var(--c-paper);
  border-left: 2px solid var(--c-cta);
  padding: 14px 20px;
}

.supplement p {
  font-size: var(--fs-s);
  color: var(--c-ink-2);
  line-height: 1.9;
}

.evidence-shot {
  margin-top: var(--sp-4);
  border: 1px dashed var(--c-line-dark);
  background: var(--c-paper);
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-3);
}

.jump-job {
  margin-top: var(--sp-6);
}

.jump-job .btn {
  max-width: 420px;
  margin: 0 auto;
}

/* ===== B4 仕事内容 ===== */
.job-grid {
  display: grid;
  gap: var(--sp-5);
  margin-top: var(--sp-4);
}

.job-list {
  list-style: none;
  border-top: 1px solid var(--c-line-dark);
}

.job-list li {
  position: relative;
  padding: 15px 0 15px 36px;
  border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-base);
  letter-spacing: 0.04em;
}

.job-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 24px;
  width: 7px;
  height: 12px;
  border-right: 1.5px solid var(--c-ink);
  border-bottom: 1.5px solid var(--c-ink);
  transform: rotate(42deg);
}

.day-head {
  margin-top: var(--sp-8);
  font-size: clamp(20px, 3vw, 24px);
}

.timeline {
  margin-top: var(--sp-4);
  border-left: 1px solid var(--c-line-dark);
  padding-left: 24px;
}

.timeline > div {
  position: relative;
  padding: 10px 0;
}

.timeline > div::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 22px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-paper);
  border: 1px solid var(--c-ink);
}

.timeline dt {
  font-family: var(--font-serif);
  font-size: var(--fs-s);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-ink);
  font-variant-numeric: tabular-nums;
}

.timeline dd {
  font-size: var(--fs-base);
  color: var(--c-ink-2);
  margin: 0;
}

/* ===== B5 忙しさ（実写背景＋深緑オーバーレイ） ===== */
.honest {
  position: relative;
  overflow: hidden;
  background: var(--c-navy);
  color: #fff;
}

.honest .bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.3;
}

.honest::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 26, 17, 0.6) 0%,
    rgba(8, 26, 17, 0.85) 55%,
    rgba(8, 26, 17, 0.96) 100%
  );
}

.honest .container {
  z-index: 2;
}

.honest .sec-label {
  color: rgba(255, 255, 255, 0.6);
}

.honest .sec-label::before {
  color: #fff;
}

.honest .sec-label i {
  color: #e57783;
}

.honest .sec-label::after {
  background: rgba(255, 255, 255, 0.35);
}

.honest h2 {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.honest .honest-copy p {
  margin-top: var(--sp-2);
  color: rgba(255, 255, 255, 0.88);
  line-height: 2.1;
}

.honest h3 {
  margin-top: var(--sp-8);
  font-size: clamp(20px, 3vw, 24px);
  color: #fff;
}

.chart-card {
  background: #fff;
  color: var(--c-ink);
  padding: var(--sp-4) var(--sp-3) var(--sp-3);
  margin-top: var(--sp-4);
}

.chart-card svg {
  width: 100%;
  height: auto;
  display: block;
}

.chart-card .note {
  margin-top: var(--sp-1);
}

/* ===== B5h 休日（独立セクション） ===== */
.holiday-sec .holiday-copy p {
  margin-top: var(--sp-2);
  color: var(--c-ink-2);
  line-height: 2.1;
}

.holiday-sec .chart-card {
  border: 1px solid var(--c-line);
}

/* ===== B6 動画 ===== */
.video-facade {
  position: relative;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  margin-top: var(--sp-6);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.96;
}

.video-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-facade .play-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.4) 100%);
  border: none;
  cursor: pointer;
  padding: 0;
}

.video-facade .play-btn::before {
  content: "";
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(195, 13, 35, 0.95);
  transition: transform 0.25s ease;
}

.video-facade .play-btn::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 22px solid #fff;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  margin-left: 6px;
}

.video-facade .play-btn:hover::before {
  transform: scale(1.06);
}

.qa-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 880px;
  margin: var(--sp-4) auto 0;
}

.qa-chips span {
  font-size: var(--fs-s);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--c-ink-2);
  background: #fff;
  border: 1px solid var(--c-line-dark);
  border-radius: 999px;
  padding: 7px 17px;
  line-height: 1.5;
}

/* ===== B7 教育ステップ ===== */
.edu-grid {
  display: grid;
  gap: var(--sp-5);
}

@media (min-width: 900px) {
  .edu-grid {
    grid-template-columns: 460px 1fr;
    gap: var(--sp-10);
    align-items: center;
    margin-top: var(--sp-4);
  }

  .edu-grid .edu-photo {
    margin-top: 0;
  }

  .edu-grid .edu-photo img {
    aspect-ratio: 1 / 1;
  }

  .edu-grid .steps {
    margin-top: 0;
  }
}

.edu-photo {
  margin-top: var(--sp-4);
  overflow: hidden;
}

.edu-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.steps {
  margin-top: var(--sp-4);
  display: grid;
  gap: 32px;
  counter-reset: edustep;
}

.step {
  counter-increment: edustep;
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 18px;
  align-items: start;
}

.step::before {
  content: counter(edustep);
  grid-row: 1 / 3;
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 500;
  line-height: 0.9;
  color: var(--c-line-dark);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}

.step .when {
  font-family: var(--font-serif);
  font-size: var(--fs-m);
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: 0.06em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line-dark);
}

.step .what {
  margin-top: 12px;
  font-size: var(--fs-s);
  color: var(--c-ink-2);
  line-height: 2;
}

/* ===== B8 向き不向き ===== */
.fit-grid {
  display: grid;
  gap: var(--sp-6);
  margin-top: var(--sp-5);
}

.fit-block {
  border-top: 1px solid var(--c-ink);
}

.fit-block h3 {
  font-size: var(--fs-l);
  padding: 20px 0 14px;
  color: var(--c-ink);
  letter-spacing: 0.08em;
}

.fit-block h3::before {
  content: "◯";
  font-size: 0.85em;
  color: var(--c-cta);
  margin-right: 12px;
}

.fit-block.ng h3::before {
  content: "×";
  color: var(--c-ink-3);
}

.fit-block.ng {
  border-top-color: var(--c-line-dark);
}

.fit-block.ng h3 {
  color: var(--c-ink-2);
}

.fit-block ul {
  list-style: none;
}

.fit-block li {
  position: relative;
  padding: 12px 0 12px 28px;
  font-size: var(--fs-s);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--c-line);
}

.fit-block li:last-child {
  border-bottom: none;
}

.fit-block li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 19px;
  width: 6px;
  height: 10px;
  border-right: 1.5px solid var(--c-ink);
  border-bottom: 1.5px solid var(--c-ink);
  transform: rotate(42deg);
}

.fit-block.ng li {
  color: var(--c-ink-2);
}

.fit-block.ng li::before {
  content: "×";
  width: auto;
  height: auto;
  border: none;
  background: none;
  transform: none;
  top: 10px;
  left: 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink-3);
  line-height: 1.6;
}

/* ===== B9 ギャラリー ===== */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: var(--sp-6);
}

.gallery figure {
  position: relative;
  overflow: hidden;
}

.gallery figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.gallery figure.wide {
  grid-column: 1 / -1;
}

.gallery figure.wide img {
  aspect-ratio: 16 / 9;
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
  padding: 24px 14px 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.55));
  line-height: 1.5;
}

/* ===== B10 募集要項 ===== */
.req-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--sp-4);
  background: transparent;
  border-top: 1px solid var(--c-ink);
}

.req-table th,
.req-table td {
  font-size: var(--fs-s);
  padding: 16px 12px 16px 0;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.9;
}

.req-table th {
  width: 96px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--c-ink-3);
  background: transparent;
}

.company-car-note {
  margin-top: var(--sp-3);
  background: var(--c-paper-2);
  border-left: 2px solid var(--c-navy);
  padding: 14px 20px;
  font-size: var(--fs-s);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-ink);
}

.company-car-note .note {
  font-weight: 400;
  margin-top: 4px;
}

/* Googleマップ埋め込み */
.map-embed {
  margin-top: var(--sp-3);
  border: 1px solid var(--c-line);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

@media (min-width: 900px) {
  .map-embed iframe {
    height: 420px;
  }
}

.map-card {
  display: block;
  margin-top: var(--sp-4);
  border: 1px solid var(--c-line);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: border-color 0.25s ease;
}

.map-card:hover {
  border-color: var(--c-ink);
}

.map-card svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-card .map-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--c-line);
}

.map-card .map-meta p {
  font-size: var(--fs-s);
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.map-card .map-meta .open {
  flex-shrink: 0;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-ink);
  white-space: nowrap;
}

.access-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--sp-3);
}

.access-note {
  margin-top: var(--sp-2);
}

.access-chips span {
  font-size: var(--fs-s);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 6px 16px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

/* ===== B11 フォーム（深緑セクション×白パネル） ===== */
.entry {
  background: var(--c-navy);
  color: #fff;
}

.entry .sec-label {
  color: rgba(255, 255, 255, 0.6);
}

.entry .sec-label::before {
  color: #fff;
}

.entry .sec-label i {
  color: #e57783;
}

.entry .sec-label::after {
  background: rgba(255, 255, 255, 0.35);
}

.entry h2 {
  color: #fff;
}

.entry > .container > .lead {
  color: rgba(255, 255, 255, 0.85);
}

.entry-form {
  margin-top: var(--sp-6);
  background: #fff;
  color: var(--c-ink);
  padding: var(--sp-5) 24px var(--sp-6);
}

.form-field {
  margin-top: var(--sp-3);
}

.form-field:first-child {
  margin-top: 0;
}

.form-field > label,
.form-field > .group-label {
  display: block;
  font-size: var(--fs-s);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.tag-req,
.tag-opt {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 2px;
  padding: 2px 8px;
  margin-left: 10px;
  vertical-align: 1px;
}

.tag-req {
  background: var(--c-cta);
  color: #fff;
}

.tag-opt {
  background: var(--c-paper-2);
  color: var(--c-ink-2);
}

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  font-size: var(--fs-base);
  font-family: inherit;
  color: var(--c-ink);
  background: #fff;
  border: 1px solid var(--c-line-dark);
  border-radius: var(--radius-s);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

/* セレクトは矢印を自前で描画（ネイティブ矢印が右端に寄りすぎる問題を解消） */
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%231a232c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible,
.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--c-brand);
  outline-offset: 2px;
}

.form-field input[type="file"] {
  font-size: var(--fs-s);
  padding: 8px 0;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--c-line-dark);
  border-radius: var(--radius-s);
  font-size: var(--fs-s);
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.radio-row input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--c-navy);
}

.radio-row label:has(input:checked) {
  border-color: var(--c-navy);
  background: var(--c-paper);
  color: var(--c-ink);
}

.field-error {
  display: none;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-cta);
  margin-top: 6px;
}

.form-field.has-error .field-error {
  display: block;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: var(--c-cta);
  background: #fdf5f6;
}

.form-consent {
  font-size: var(--fs-xs);
  color: var(--c-ink-2);
  line-height: 1.8;
  margin-bottom: var(--sp-2);
  text-align: center;
}

.form-consent a {
  color: var(--c-brand-dark);
  text-decoration: underline;
}

.form-submit {
  margin-top: var(--sp-5);
}

.form-status {
  display: none;
  margin-top: var(--sp-3);
  padding: 16px 20px;
  font-size: var(--fs-s);
  font-weight: 700;
  line-height: 1.8;
}

.form-status.ok {
  display: block;
  background: #eef6ef;
  color: #1e6b34;
  border: 1px solid #bfe3c8;
}

.form-status.ng {
  display: block;
  background: #fdf5f6;
  color: var(--c-cta);
  border: 1px solid #efc4ca;
}

/* ===== フッター ===== */
.site-footer {
  background: var(--c-navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--sp-8) 0;
  text-align: center;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  line-height: 2.2;
}

/* トップに戻る（2026-08-07 追加。フラット・角丸2px・ヘアライン枠） */
.to-top {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--sp-4);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.to-top-arrow {
  display: block;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  position: relative;
  transition: background 0.3s, border-color 0.3s;
}

.to-top-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 56%;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.to-top-label {
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-indent: 0.3em; /* letter-spacing分の右ズレを相殺して中央揃え */
}

.to-top:hover .to-top-arrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.85);
}

/* 募集要項テーブル内リンク（2026-08-31 勤務地の（マップ）用） */
.req-table a {
  color: var(--c-brand-dark);
  font-weight: 700;
}

/* B11 電話案内（2026-08-31 追加→同日 白カード化＝深緑背景で文字が読めなかったためKensuke指摘で修正） */
.form-tel-note {
  margin-top: var(--sp-3);
  padding: 16px 22px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 2px;
  font-size: var(--fs-s);
  color: var(--c-ink);
  letter-spacing: 0.03em;
  line-height: 1.9;
}

.form-tel-note a {
  font-family: var(--font-serif);
  font-size: 1.3em;
  font-weight: 600;
  color: var(--c-brand-dark);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  white-space: nowrap;
}

#form-tel-hours {
  color: var(--c-ink-2);
}

/* ヘッダー電話マーク（2026-08-31 追加。PCのみ表示＝SPは固定バーに電話があるため） */
.header-tel {
  display: none;
}

@media (min-width: 900px) {
  .header-tel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 1px solid var(--c-navy);
    border-radius: 2px;
    color: var(--c-navy);
    transition: background 0.3s, color 0.3s, border-color 0.3s;
  }

  .header-tel svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }

  .header-tel:hover {
    background: var(--c-navy);
    color: #fff;
  }

  .site-header.is-top:not(.nav-open) .header-tel {
    border-color: rgba(255, 255, 255, 0.85);
    color: #fff;
  }

  .site-header.is-top:not(.nav-open) .header-tel:hover {
    background: rgba(255, 255, 255, 0.14);
  }
}

/* 夏季休暇のお知らせ（B11・期間限定 2026-08-08〜16。8/17以降はmain.jsが自動非表示） */
.holiday-notice {
  margin: var(--sp-3) 0 var(--sp-2);
  padding: 18px 22px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-cta); /* 赤＝アクセントルール用途 */
  border-radius: 2px;
  line-height: 1.9;
  font-size: var(--fs-s);
}

.holiday-notice .hn-title {
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-navy);
  margin-bottom: 6px;
}

.holiday-notice a {
  font-weight: 700;
  color: var(--c-brand-dark);
}

/* ページ読み込み中インジケータ（2026-08-07 追加。JS無効時はindex.htmlのnoscriptで非表示） */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 12000; /* 最前面（既存最大は60・猫マスコット含め全てより上） */
  background: var(--c-paper);
  display: grid;
  place-items: center;
  transition: opacity 0.45s ease;
}

.page-loader.is-done {
  opacity: 0;
  pointer-events: none;
}

.loader-ring {
  width: 34px;
  height: 34px;
  border: 2px solid var(--c-line);
  border-top-color: var(--c-navy);
  border-radius: 50%;
  animation: loader-spin 0.9s linear infinite;
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader-ring {
    animation: none;
  }
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer .logo {
  width: 140px;
  height: 51px;
  margin: 0 auto var(--sp-3);
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* ===== 固定CTAバー（スマホ） ===== */
.fixed-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(244, 243, 239, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--c-line);
}

.fixed-bar .btn {
  min-height: 46px;
  font-size: var(--fs-s);
  letter-spacing: 0.08em;
}

.fixed-bar .tel {
  flex: 0 0 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 46px;
  border: 1px solid var(--c-navy);
  border-radius: var(--radius-s);
  color: var(--c-ink);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
}

.fixed-bar .tel svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.fixed-bar .tel.is-disabled {
  border-color: var(--c-line-dark);
  color: #565e66; /* 固定バー背景でもコントラスト4.5:1を確保 */
  pointer-events: none;
}

/* ===== アニメーション（ゆっくり・上質に） ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s cubic-bezier(0.2, 0.6, 0.2, 1),
      transform 1s cubic-bezier(0.2, 0.6, 0.2, 1);
  }

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

/* ===== タブレット・PC ===== */
@media (min-width: 700px) {
  .fit-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }

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

  .gallery figure.wide {
    grid-column: span 2;
  }

  .gallery figure.wide img {
    aspect-ratio: auto;
    height: 100%;
  }

  .gallery figure:last-child {
    grid-column: span 2;
  }

  .gallery figure:last-child img {
    aspect-ratio: auto;
    height: 100%;
    max-height: 300px;
  }

  .cta-stack {
    flex-direction: row;
  }

  .cta-stack .btn {
    max-width: 320px;
  }

  .req-table th {
    width: 168px;
  }

  .job-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
    align-items: center;
  }

  .job-grid .photo-frame {
    margin-top: var(--sp-2);
  }
}

@media (min-width: 900px) {
  .sp-only {
    display: none;
  }

  body {
    padding-bottom: 0;
  }

  .fixed-bar {
    display: none;
  }

  .site-header .inner {
    padding: 14px 40px;
  }

  .site-header .header-cta {
    display: inline-flex;
    width: auto;
    min-height: 44px;
    padding: 6px 30px;
    font-size: var(--fs-s);
    letter-spacing: 0.14em;
  }

  .nav-toggle {
    display: none;
  }

  .global-nav {
    display: block;
    margin-left: auto;
  }

  .global-nav ul {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .global-nav a {
    padding: 8px 13px;
    border-bottom: none;
    white-space: nowrap;
    font-size: var(--fs-xs);
    letter-spacing: 0.1em;
    transition: color 0.2s ease;
  }

  .hero {
    min-height: 700px;
    max-height: 960px;
    height: 94vh;
  }

  .hero .hero-bg {
    object-position: 50% 30%;
  }

  .hero::after {
    background: linear-gradient(
        90deg,
        rgba(8, 26, 17, 0.68) 0%,
        rgba(8, 26, 17, 0.36) 48%,
        rgba(8, 26, 17, 0.08) 100%
      ),
      linear-gradient(180deg, rgba(8, 26, 17, 0) 50%, rgba(8, 26, 17, 0.72) 100%);
  }

  .hero-inner {
    padding: 140px 40px 60px;
  }

  .hero-inner > * {
    max-width: 640px;
  }

  /* 「つなぐ営業」= CTA列と同幅560pxに固定（グリフ520px＋両端揃えで560px） */
  .hero h1 {
    max-width: 560px;
    font-size: 104px;
    line-height: 1.15;
  }

  .hero .hero-lead {
    font-size: var(--fs-m);
  }

  .hero .cta-stack {
    max-width: 560px;
  }

  .scroll-cue {
    display: block;
  }

  .site-scroll {
    margin: var(--sp-6) 0 0;
    padding: 4px 0 20px;
    gap: 24px;
  }

  .site-card {
    flex: 1 1 0;
  }

  .entry-form {
    padding: var(--sp-8) var(--sp-10) var(--sp-8);
  }
}

/* ============================================================
   猫マスコット「ニャー」（採用LP・実験導入）
   撤去する場合はこのブロックごと削除。
   JS = js/cat.js ／ HTML = #catMascot・#catMini
   ============================================================ */
.cat-mascot {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 55;
  width: auto;
  pointer-events: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.cat-mascot.in {
  opacity: 1;
  transform: none;
}
.cat-mascot.bye {
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
/* モバイルで最上部（FV）に戻ったときの退避（CTAを隠さない） */
.cat-mascot.in.cat-hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
.cat-mascot #catImg {
  display: block;
  height: 120px;
  width: auto;
  pointer-events: auto;
  cursor: pointer;
  filter: drop-shadow(0 6px 14px rgba(14, 33, 23, 0.18));
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: transform 0.18s ease;
}
.cat-mascot #catImg:hover {
  transform: translateY(-3px) rotate(-2deg);
}
.cat-mascot #catImg:active {
  transform: translateY(0) scale(0.97);
}

.cat-bubble {
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  width: max-content;
  max-width: 220px;
  padding: 10px 13px;
  background: var(--c-white);
  border: 1px solid var(--c-line-dark);
  border-radius: 4px;
  box-shadow: 0 8px 22px rgba(14, 33, 23, 0.12);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--c-ink);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cat-bubble.pop {
  opacity: 1;
  transform: none;
}
.cat-bubble::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: -6px;
  width: 11px;
  height: 11px;
  background: var(--c-white);
  border-right: 1px solid var(--c-line-dark);
  border-bottom: 1px solid var(--c-line-dark);
  transform: rotate(45deg);
}
.cat-link-wrap {
  display: block;
  margin-top: 6px;
}
.cat-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-brand-dark);
  text-decoration: none;
}
.cat-link:hover {
  text-decoration: underline;
}

.cat-close {
  position: absolute;
  top: 2px;
  right: -6px;
  z-index: 2;
  width: 22px;
  height: 22px;
  padding: 0;
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-white);
  color: var(--c-ink-2);
  border: 1px solid var(--c-line-dark);
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(14, 33, 23, 0.14);
  opacity: 0;
  transition: opacity 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cat-mascot.in:hover .cat-close,
.cat-mascot.in:focus-within .cat-close {
  opacity: 1;
}
.cat-close:hover {
  color: var(--c-cta);
  border-color: var(--c-cta);
}

/* ミニ猫（閉じたあとの呼び戻しボタン） */
.cat-mini {
  position: fixed;
  right: 14px;
  bottom: 18px;
  z-index: 55;
  width: 46px;
  height: 46px;
  padding: 0;
  cursor: pointer;
  border: 1px solid var(--c-line-dark);
  border-radius: 50%;
  background-color: var(--c-white);
  background-position: center 60%;
  background-size: 78%;
  background-repeat: no-repeat;
  box-shadow: 0 4px 12px rgba(14, 33, 23, 0.16);
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cat-mini.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.cat-mini:hover {
  transform: translateY(-2px);
}

/* 紙吹雪（復活演出） */
.cat-confetti {
  position: absolute;
  top: 34%;
  width: 6px;
  height: 9px;
  border-radius: 1px;
  pointer-events: none;
  animation: catConfetti 0.9s ease-out forwards;
}
@keyframes catConfetti {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx, 0), -46px) rotate(220deg);
  }
}

/* モバイル：固定CTAバーの上に逃がす＋やや小さく */
@media (max-width: 899px) {
  /* ①ヒーロー1枚目（打ち合わせ）：中央が空くので右寄せして右側の社員を見せる
     2026-08-07 Kensuke指示で画像を少し上へ（Y 30%→45%＝下側を見せる） */
  .hero .hero-bg:first-child {
    object-position: 82% 45%;
  }

  /* ③ヒーロー3枚目（車内PC）：画像を少し上へ（Y 32%→48%＝下側を見せる。2026-08-07 Kensuke指示） */
  .hero .hero-bg:nth-child(3) {
    object-position: 50% 48%;
  }

  .cat-mascot {
    right: 10px;
    bottom: calc(72px + env(safe-area-inset-bottom));
  }
  .cat-mascot #catImg {
    height: 92px;
  }
  /* ⑤猫の吹き出し：上ではなく猫の左横に出す（画面を覆いにくくする） */
  .cat-bubble {
    max-width: 176px;
    font-size: 12px;
    right: calc(100% + 10px);
    bottom: 4px;
    left: auto;
    top: auto;
  }
  .cat-bubble::after {
    right: -6px;
    bottom: auto;
    left: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }
  .cat-mini {
    right: 10px;
    bottom: calc(72px + env(safe-area-inset-bottom));
    width: 42px;
    height: 42px;
  }
  .cat-close {
    opacity: 1; /* タッチ端末は常時表示 */
  }
}

@media (prefers-reduced-motion: reduce) {
  .cat-mascot,
  .cat-mascot #catImg,
  .cat-bubble,
  .cat-mini {
    transition: none;
  }
  .cat-mascot #catImg:hover {
    transform: none;
  }
  .cat-confetti {
    display: none;
  }
}
