/* =========================================================
   共通スタイルシート
   ---------------------------------------------------------
   ■ 目次(検索して該当セクションにジャンプできます)
     1. カラー・共通設定 ......... :root
     2. リセット & ベース
     3. レイアウト共通 ........... .container / .section
     4. ボタン ................... .btn
     5. ヘッダー・ナビ ........... .site-header / .global-nav
     6. ヒーロー ................. .hero / .page-hero
     7. カード類 ................. .feature-card / .service-card
     8. 実績数値 ................. .stats-band
     9. ステップ ................. .steps
    10. CTAバンド ................ .cta-band
    11. テーブル ................. .info-table
    12. サービス詳細 ............. .service-detail
    13. 代表メッセージ ........... .message-box
    14. 採用情報 ................. .job-card
    15. お問い合わせ ............. .contact-card
    16. フッター ................. .site-footer
    17. アニメーション ........... .reveal
    18. レスポンシブ(タブレット) @media (max-width: 900px)
    19. レスポンシブ(スマホ) ... @media (max-width: 600px)
   ---------------------------------------------------------
   ■ 項目の追加・削除について
   ・カード類(.card-grid / .steps / .contact-grid など)は
     グリッドが自動調整されるため、HTML側で <div> を増減する
     だけでレイアウトが崩れません。CSSの変更は不要です。
   ・会社情報の表は js/site-config.js の companyInfo を
     編集するだけで反映されます。
   ・カラーは :root のカスタムプロパティで一元管理しています。
   ========================================================= */

:root {
  /* カラーパレット(やわらかな薄いオレンジ基調)
     ★ サイト全体の色を変えたいときは、まずこのブロックを編集 */
  --primary:       #F5A155;   /* メインのオレンジ(ボタン・リンクなど) */
  --primary-dark:  #EB9445;   /* 濃いめのオレンジ(ホバー時など) */
  --primary-deep:  #B0742F;   /* 見出し・フッターの深いブラウンオレンジ */
  --accent:        #FFB871;   /* アクセント(ラベル・番号など) */
  --accent-light:  #FFDFB8;   /* 薄いオレンジ(濃い背景の上の文字など) */
  --bg-light:      #FEF9F2;   /* 薄いクリーム色の背景 */
  --bg-blue-tint:  #FCF0DF;   /* 薄いオレンジの背景(※変数名は旧ブルー時代の名残) */
  --text:          #2B2622;   /* 本文(黒に近いダークブラウン) */
  --text-muted:    #6E655D;   /* 補足テキスト */
  --border:        #F3E4D0;   /* 枠線 */
  --white:         #ffffff;

  /* ---- サイズ統一(全ページで大きさを揃えるための共通値) ----
     ★ カードの見出し・本文の大きさを変えたいときはここを編集 */
  --fs-card-title:  1.2rem;    /* カードの見出し */
  --fs-block-title: 1.4rem;    /* 大きめブロックの見出し */
  --fs-body-sm:     0.95rem;   /* カード内・表の本文 */
  --card-pad:       40px 30px; /* 標準カードの内側余白 */

  --gradient:      linear-gradient(135deg, #F5A155 0%, #FFC078 100%);
  --gradient-deep: linear-gradient(135deg, #B0742F 0%, #EB9445 55%, #FFC078 100%);

  --shadow-sm: 0 2px 8px rgba(229, 138, 56, 0.08);
  --shadow-md: 0 8px 24px rgba(229, 138, 56, 0.12), 0 2px 6px rgba(155, 110, 65, 0.06);
  --shadow-lg: 0 18px 48px rgba(155, 110, 65, 0.18), 0 4px 12px rgba(155, 110, 65, 0.08);

  --radius:    16px;
  --radius-lg: 24px;
  --header-h:  76px;

  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

/* ---------- リセット & ベース ---------- */

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

img, svg { max-width: 100%; vertical-align: middle; }

a { color: var(--primary); text-decoration: none; }

ul, ol { list-style: none; }

/* hidden属性が付いた要素は必ず非表示にする
   (site-config.js に無い項目の自動非表示に使用) */
[hidden] { display: none !important; }

/* 会社情報(site-config.js)の反映が終わるまでページを隠し、
   編集前の内容が一瞬見えるのを防ぐ(main.js が解除する) */
html.config-loading body { visibility: hidden; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- レイアウト共通 ---------- */

.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: 96px; }
.section--light { background: var(--bg-light); }
.section--tint  { background: var(--bg-blue-tint); }

.section-header { text-align: center; margin-bottom: 56px; }

.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-label::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 2px;
  background: var(--gradient);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--primary-deep);
}

.section-lead {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--text-muted);
}

/* ---------- ボタン ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  padding: 16px 36px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn .btn-arrow { transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(150, 100, 55, 0.25);
}
.btn-white:hover { transform: translateY(-3px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.24); transform: translateY(-3px); }

.btn-outline {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }

/* ---------- ヘッダー ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(155, 110, 65, 0.10);
}

/* スクロール後の白背景+すりガラス効果は疑似要素に持たせる。
   ヘッダー本体に backdrop-filter を付けると、中のメニュー
   (position: fixed)がヘッダーの枠内に閉じ込められて
   ページ途中でメニューが切れてしまうため、本体には付けないこと */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.site-header.is-scrolled::before { opacity: 1; }

.header-inner {
  max-width: 1200px;
  height: 100%;
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  transition: color 0.35s ease;
}
.site-header.is-scrolled .brand { color: var(--primary-deep); }

.brand-mark {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gradient);
  box-shadow: var(--shadow-sm);
}

/* ロゴ画像(正方形・白背景なので、角丸+影で白いカード風に見せる) */
.brand-logo {
  display: block;
  height: 54px;
  width: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-en {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  opacity: 0.75;
  text-transform: uppercase;
}

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

.global-nav a {
  display: inline-block;
  padding: 10px 16px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--white);
  border-radius: 999px;
  position: relative;
  transition: color 0.35s ease, background 0.25s ease;
}
.site-header.is-scrolled .global-nav a { color: var(--text); }

.global-nav a:hover { background: rgba(255, 255, 255, 0.16); }
.site-header.is-scrolled .global-nav a:hover { background: var(--bg-blue-tint); }

.global-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--accent-light);
}
.site-header.is-scrolled .global-nav a.is-active::after { background: var(--gradient); }

.global-nav a.nav-cta {
  margin-left: 10px;
  padding: 11px 24px;
  background: var(--white);
  color: var(--primary) !important;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.global-nav a.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.global-nav a.nav-cta::after { display: none; }
.site-header.is-scrolled .global-nav a.nav-cta {
  background: var(--gradient);
  color: var(--white) !important;
}

/* ハンバーガーボタン */

.nav-toggle {
  display: none;
  position: relative;
  z-index: 120;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}
.site-header.is-scrolled .nav-toggle { background: var(--bg-blue-tint); }

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled .nav-toggle span,
body.nav-open .nav-toggle span { background: var(--primary-deep); }

.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 29px; }

body.nav-open .nav-toggle { background: var(--bg-blue-tint); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- ヒーロー(トップ) ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  /* 下層ページ(.page-hero)と同じ余白スケールに統一 */
  padding: calc(var(--header-h) + 88px) 24px 110px;
  /* ビル群の写真の上にオレンジのグラデーションを重ねて馴染ませる */
  background:
    linear-gradient(135deg, rgba(176, 116, 47, 0.90) 0%, rgba(235, 148, 69, 0.82) 55%, rgba(255, 192, 120, 0.72) 100%),
    url("../images/header.jpg") center / cover no-repeat;
  overflow: hidden;
  color: var(--white);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-bg .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.35;
  animation: float 9s ease-in-out infinite;
}
.shape-1 { width: 380px; height: 380px; top: -120px; right: -80px;  background: radial-gradient(circle at 30% 30%, #FFDFB8, transparent 70%); }
.shape-2 { width: 260px; height: 260px; bottom: 60px; left: -90px;  background: radial-gradient(circle at 60% 40%, #FFC894, transparent 70%); animation-delay: -3s; }
.shape-3 { width: 160px; height: 160px; top: 28%;    left: 12%;     background: radial-gradient(circle at 50% 50%, #FFB871, transparent 70%); animation-delay: -6s; opacity: 0.25; }
.shape-4 { width: 120px; height: 120px; bottom: 30%; right: 16%;    background: radial-gradient(circle at 50% 50%, #FFEBD2, transparent 70%); animation-delay: -1.5s; opacity: 0.3; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50%      { transform: translateY(-28px) translateX(14px); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
}

.hero-content {
  position: relative;
  max-width: 1120px;
  margin-inline: auto;
  width: 100%;
}

.hero-sub {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--accent-light);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-head);
  /* 下層ページの見出し(.page-hero-title)と同じサイズ */
  font-size: clamp(1.8rem, 4.4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
  margin-bottom: 26px;
  text-shadow: 0 4px 24px rgba(150, 100, 55, 0.3);
}

.hero-lead {
  max-width: 560px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; height: 60px; }

/* ---------- 下層ページ用ヒーロー ---------- */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 88px) 24px 110px;
  /* トップと同じ写真+オレンジのグラデーションで統一感を出す */
  background:
    linear-gradient(135deg, rgba(176, 116, 47, 0.90) 0%, rgba(235, 148, 69, 0.84) 55%, rgba(255, 192, 120, 0.76) 100%),
    url("../images/header.jpg") center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
  text-align: center;
}

.page-hero .shape { position: absolute; border-radius: 50%; opacity: 0.3; animation: float 9s ease-in-out infinite; }

.page-hero-label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--accent-light);
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
  position: relative;
}

.page-hero-title {
  position: relative;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-hero-lead {
  position: relative;
  max-width: 640px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.85);
}

.page-hero .hero-wave svg { height: 60px; }

/* ---------- カード ---------- */

.card-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--card-pad);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(229, 138, 56, 0.35);
}

.card-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--bg-blue-tint);
  color: var(--primary);
  margin-bottom: 22px;
}

.feature-card h3 {
  font-family: var(--font-head);
  font-size: var(--fs-card-title);
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 12px;
}

.feature-card p { color: var(--text-muted); font-size: var(--fs-body-sm); }

/* 写真付きカード(選ばれる理由など)
   写真はカード上部いっぱいに表示し、被写体の位置は
   HTML側の style="object-position: X% Y%" で1枚ずつ調整する */
.feature-card--photo {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card--photo .feature-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.feature-card--photo .feature-card-body { padding: var(--card-pad); }

.card-num {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

/* サービス紹介カード(トップ) */

.service-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.service-card-head {
  padding: 44px 32px 36px;
  background: var(--gradient);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.service-card:nth-child(2) .service-card-head {
  background: linear-gradient(135deg, #FFB871 0%, #E2801F 100%);
}

.service-card-head::after {
  content: "";
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  right: -60px; top: -60px;
  background: rgba(255, 255, 255, 0.14);
}

.service-card-head .en {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.85;
  display: block;
  margin-bottom: 8px;
}

.service-card-head h3 {
  font-family: var(--font-head);
  font-size: var(--fs-block-title);
  font-weight: 700;
}

.service-card-body { padding: 30px 32px 36px; }
.service-card-body p { color: var(--text-muted); font-size: var(--fs-body-sm); margin-bottom: 18px; }

.service-card-more {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-card-more .btn-arrow { transition: transform 0.25s ease; }
.service-card:hover .service-card-more .btn-arrow { transform: translateX(5px); }

.service-card .plan-points { margin-bottom: 20px; }

.service-card:nth-child(3) .service-card-head {
  background: linear-gradient(135deg, #FFB871 0%, #EB9445 100%);
}

/* ---------- 実績数値 ---------- */

.stats-band {
  background: var(--gradient-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  top: -200px; right: -120px;
  background: radial-gradient(circle, rgba(255, 223, 184, 0.25), transparent 70%);
}

.stats-grid {
  position: relative;
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  text-align: center;
}

.stat-item .stat-label {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-light);
  display: block;
  margin-bottom: 6px;
}

.stat-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.2;
}

.stat-value .stat-unit { font-size: 0.45em; margin-left: 4px; font-weight: 700; }

.stat-note {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- ステップ(支援の流れ / 選考フロー) ---------- */

.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  counter-reset: step;
}

.step-item {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 26px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.step-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 14px;
}

.step-item h3 {
  font-family: var(--font-head);
  font-size: var(--fs-card-title);
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 10px;
}

.step-item p { font-size: var(--fs-body-sm); color: var(--text-muted); }

/* ---------- CTAバンド ---------- */

.cta-band {
  position: relative;
  background: var(--gradient);
  color: var(--white);
  text-align: center;
  padding-block: 88px;
  overflow: hidden;
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.cta-band::before { width: 300px; height: 300px; top: -140px; left: -80px; }
.cta-band::after  { width: 220px; height: 220px; bottom: -100px; right: -40px; }

.cta-band .section-title { color: var(--white); position: relative; }

.cta-band p {
  position: relative;
  max-width: 620px;
  margin: 18px auto 36px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ---------- テーブル(会社概要・募集要項) ---------- */

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.info-table th,
.info-table td {
  padding: 20px 26px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-body-sm);
  vertical-align: top;
}

.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }

.info-table th {
  width: 28%;
  min-width: 130px;
  background: var(--bg-blue-tint);
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--primary-deep);
  white-space: nowrap;
}

/* ---------- サービス詳細 ---------- */

.service-section { display: grid; gap: 40px; }

.service-detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.service-detail-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 36px 40px;
  background: linear-gradient(120deg, var(--bg-blue-tint), var(--bg-light));
  border-bottom: 1px solid var(--border);
}

.service-detail-head .card-icon { margin: 0; background: var(--white); box-shadow: var(--shadow-sm); }

.service-detail-head h3 {
  font-family: var(--font-head);
  font-size: var(--fs-block-title);
  font-weight: 700;
  color: var(--primary-deep);
}
.service-detail-head .en {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.service-detail-body { padding: 36px 40px 40px; }
.service-detail-body > p { color: var(--text-muted); margin-bottom: 28px; }

.menu-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.menu-list li {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.menu-list li:hover { border-color: rgba(229, 138, 56, 0.4); transform: translateY(-3px); }

.menu-list h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-list h4::before {
  content: "";
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gradient);
}

.menu-list p { font-size: var(--fs-body-sm); color: var(--text-muted); }

/* 料金プランカード */

.plan-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--card-pad);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.plan-card.is-featured { border-color: var(--primary); box-shadow: var(--shadow-md); }

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-card h3 {
  font-family: var(--font-head);
  font-size: var(--fs-card-title);
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 14px;
}

.plan-card .plan-desc { font-size: var(--fs-body-sm); color: var(--text-muted); margin-bottom: 20px; flex-grow: 1; }

.plan-points { text-align: left; display: grid; gap: 10px; }

.plan-points li {
  position: relative;
  padding-left: 28px;
  font-size: var(--fs-body-sm);
}

.plan-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gradient);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0Zm3.7 6.2-4.2 4.4a.9.9 0 0 1-1.3 0L4.3 8.7a.9.9 0 1 1 1.3-1.2l1.2 1.3 3.6-3.8a.9.9 0 0 1 1.3 1.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0Zm3.7 6.2-4.2 4.4a.9.9 0 0 1-1.3 0L4.3 8.7a.9.9 0 1 1 1.3-1.2l1.2 1.3 3.6-3.8a.9.9 0 0 1 1.3 1.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- 代表メッセージ ---------- */

.message-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  box-shadow: var(--shadow-sm);
}

.message-body h3 {
  font-family: var(--font-head);
  font-size: var(--fs-block-title);
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 18px;
  line-height: 1.6;
}

.message-body p { color: var(--text-muted); font-size: var(--fs-body-sm); margin-bottom: 14px; }

.message-sign {
  margin-top: 24px;
  text-align: right;
  font-family: var(--font-head);
}
.message-sign .sign-role { font-size: 0.8rem; color: var(--text-muted); display: block; }
.message-sign .sign-name { font-size: var(--fs-card-title); font-weight: 700; color: var(--primary-deep); }

/* ---------- 採用情報 ---------- */

.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.job-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.job-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 26px 30px;
  background: linear-gradient(120deg, var(--bg-blue-tint), var(--bg-light));
  border-bottom: 1px solid var(--border);
}

.job-card-head h3 {
  font-family: var(--font-head);
  font-size: var(--fs-card-title);
  font-weight: 700;
  color: var(--primary-deep);
}

.job-tag {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--white);
  border: 1px solid rgba(229, 138, 56, 0.4);
  border-radius: 999px;
  padding: 4px 14px;
  white-space: nowrap;
}

/* 雇用形態ごとのタグ色(正社員=標準 / 業務委託 / アルバイト) */
.job-tag--contract {
  color: var(--white);
  background: var(--primary-deep);
  border-color: var(--primary-deep);
}
.job-tag--part {
  color: var(--primary-deep);
  background: var(--bg-blue-tint);
  border-color: transparent;
}

.job-card .info-table { border: none; border-radius: 0; box-shadow: none; }

/* ---------- お問い合わせ ---------- */

.contact-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--card-pad);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.contact-card .card-icon { margin-inline: auto; }

.contact-card h3 {
  font-family: var(--font-head);
  font-size: var(--fs-card-title);
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 10px;
}

.contact-card p { color: var(--text-muted); font-size: var(--fs-body-sm); margin-bottom: 24px; }

.contact-tel {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary-deep);
  display: inline-block;
  margin-bottom: 6px;
}

.contact-note { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- フッター ---------- */

.site-footer {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 72px 24px 0;
}

.footer-inner {
  max-width: 1120px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .brand { color: var(--white); margin-bottom: 18px; }
.footer-brand .brand-logo { height: 64px; }

.footer-address { font-size: 0.88rem; line-height: 2; color: rgba(255, 255, 255, 0.7); font-style: normal; }
.footer-address a { color: rgba(255, 255, 255, 0.85); text-decoration: underline; }
.footer-address a:hover { color: var(--accent-light); }

.footer-nav ul { display: grid; gap: 10px; }

.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--accent-light); }

.footer-nav-title {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-light);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  padding-block: 22px;
}

/* ---------- フェードインアニメーション ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ---------- レスポンシブ ---------- */

@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .section { padding-block: 72px; }

  /* モバイルナビ(右からスライドイン) */
  .nav-toggle { display: block; }

  /* メニュー表示中は背景をスクロールさせない */
  body.nav-open { overflow: hidden; }

  .global-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 84vw);
    background: var(--white);
    box-shadow: -12px 0 40px rgba(155, 110, 65, 0.18);
    padding: calc(var(--header-h) + 24px) 28px 40px;
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 110;
    overflow-y: auto;
  }
  body.nav-open .global-nav { transform: translateX(0); }

  .global-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }

  .global-nav a,
  .site-header .global-nav a {
    display: block;
    color: var(--text);
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 1.02rem;
  }
  .global-nav a:hover { background: var(--bg-blue-tint); }

  .global-nav a.is-active { background: var(--bg-blue-tint); color: var(--primary); }
  .global-nav a.is-active::after { display: none; }

  .global-nav a.nav-cta,
  .site-header.is-scrolled .global-nav a.nav-cta {
    margin: 18px 0 0;
    text-align: center;
    background: var(--gradient);
    color: var(--white) !important;
  }

  /* メニューの背面だけを暗く・ぼかす。
     ヘッダー(z-index:100)より下の 99 にしないと、
     ヘッダー内にあるメニューパネルまで覆ってしまうので注意 */
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(155, 110, 65, 0.35);
    backdrop-filter: blur(2px);
    z-index: 99;
  }

  .message-box { text-align: center; padding: 40px 28px; }
  .message-sign { text-align: center; }

  .service-detail-head { padding: 28px 26px; }
  .service-detail-body { padding: 28px 26px 32px; }
}

@media (max-width: 600px) {
  /* 説明文・リード文に入れた手動改行(<br>)はスマホでは無効化し、
     画面幅に合わせた自然な折り返しに任せる
     (キャッチコピーやフッター住所の改行は対象外) */
  .hero-lead br,
  .section-lead br,
  .page-hero-lead br,
  .cta-band p br,
  .step-item p br,
  .feature-card p br,
  .contact-card p br,
  .service-card-body p br,
  .service-detail-body > p br,
  .message-body p br,
  .menu-list p br,
  .plan-desc br { display: none; }

  .container { padding-inline: 20px; }
  .header-inner { padding-inline: 16px; }

  .section { padding-block: 56px; }
  .section-header { margin-bottom: 36px; }
  .section-lead { font-size: 0.94rem; }

  .hero { padding: calc(var(--header-h) + 56px) 20px 84px; }
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; max-width: 320px; }
  .hero-wave svg { height: 56px; }

  .page-hero { padding: calc(var(--header-h) + 56px) 20px 84px; }

  .btn { min-width: 0; padding: 15px 28px; }

  /* カード類の余白をスマホ向けに調整 */
  :root { --card-pad: 28px 22px; }

  .card-grid, .contact-grid, .plan-grid { gap: 18px; }
  .steps { gap: 16px; }
  .step-item { padding: 28px 22px 24px; }
  .service-card-head { padding: 32px 24px 28px; }
  .service-card-body { padding: 24px 24px 28px; }
  .message-box { padding: 36px 22px; }
  .job-card-head { padding: 20px 22px; }

  /* 実績数値は2列表示 */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }

  .cta-band { padding-block: 64px; }

  .info-table th,
  .info-table td { display: block; width: 100%; }
  .info-table th { padding: 12px 20px 6px; }
  .info-table td { padding: 6px 20px 14px; }

  .contact-tel { font-size: 1.6rem; }

  .footer-inner { flex-direction: column; gap: 32px; padding-bottom: 36px; }
  .site-footer { padding-top: 56px; }

  .brand-name { font-size: 0.95rem; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-logo { height: 46px; }
  .footer-brand .brand-logo { height: 56px; }
}
