@charset "UTF-8";

/* ==========================================================================
   株式会社ステッチ Webサイト 共通スタイルシート
   ロゴの三色の糸と生成りの地を基調にした「一本の糸」デザイン
   ========================================================================== */

/* Google Fontsの読み込み（Zen Maru Gothic & Noto Sans JP） */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Zen+Maru+Gothic:wght@500;700;900&display=swap');

/* --- 変数定義 --- */
:root {
  /* 基本配色 */
  --color-text: #46322B;          /* 温かみのあるこげ茶（本文・枠線基本色） */
  --color-text-dark: #3A2925;     /* より濃いブラウン（見出し強調用） */
  --color-text-light: #6C5850;    /* 補助テキスト */
  --color-bg-base: #FFFBF4;       /* ベース背景色（生成り） */
  --color-bg-soft: #F6EFE3;       /* 一段濃い生成り（フッター・ボタン地） */
  --color-bg-white: #FFFFFF;
  --color-line: #E8DECF;          /* 区切り線 */
  --color-shadow: rgba(70, 50, 43, 0.14);
  --color-shadow-soft: rgba(70, 50, 43, 0.06);
  --color-focus: #3F6E97;

  /* アクセントカラー（白文字を載せても読める濃さ） */
  --color-accent-orange: #BF4F22; /* ボタン・CTA・ハイライトオレンジ */
  --color-accent-orange-dark: #A2401A;
  --color-accent-orange-shadow: #84330F;

  /* ロゴの三色の糸（トップページの糸） */
  --color-thread-green: #6A9A72;
  --color-thread-orange: #D9653A;
  --color-thread-blue: #5B8DB8;
  --color-green-ink: #47764F;     /* 糸の緑を文字色にしたもの */
  --color-blue-ink: #3F6E97;      /* 糸の青を文字色にしたもの */
  --color-green-ink-dark: #3A6342;
  --color-dot-yellow: #D9A93A;    /* 支援内容ラベルの丸（黄） */
  --color-dot-purple: #9A7BB0;    /* 支援内容ラベルの丸（紫） */

  /* パステルカラーパレット（カード・ピルラベル用） */
  --color-pastel-blue: #CDE5F7;   /* 児童発達支援・運動感覚 */
  --color-pastel-green: #BFE3C6;  /* 放課後等デイ・健康生活 */
  --color-pastel-pink: #F2D0C9;   /* 認知行動・学習支援 */
  --color-pastel-yellow: #EFE3C3; /* 言語コミュニケーション・SST */
  --color-pastel-purple: #E3CFE0; /* 人間関係社会性・保護者交流 */

  /* フォント指定 */
  --font-heading: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', sans-serif;
  --font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;

  /* 枠線・角丸 */
  --border-thick: 1px solid var(--color-line);
  --border-circle: 5px solid var(--color-bg-white);
  --radius-card: 24px;
  --radius-pill: 9999px;
  --radius-box: 16px;
  --radius-photo: 22px;

  /* カードの影（枠線の代わりに使う） */
  --shadow-card: 0 2px 22px var(--color-shadow-soft);
  --shadow-hover: 0 8px 22px var(--color-shadow);

  /* ヘッダーの高さ（スマホメニューの位置合わせに使う） */
  --header-height: 68px;

  /* コンテナ幅 */
  --max-width: 1120px;
}

/* --- リセット & 基本設定 --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg-base);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

/* --- タイポグラフィ共通 --- */
h1, h2, h3, h4, .font-maru {
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --- 背景（クラス名は旧デザインの名残。縞模様は使わない） --- */
.bg-stripe {
  background-color: var(--color-bg-base);
}

/* --- 糸の飾り線：ロゴの「---- stitch ----」と同じ三色の縫い目 --- */
.page-hero-title::after,
.section-title::after {
  content: "";
  display: block;
  width: 112px;
  height: 3px;
  margin: 18px auto 0;
  background: linear-gradient(90deg,
    var(--color-thread-green) 0 22%, transparent 22% 28%,
    var(--color-thread-green) 28% 44%, transparent 44% 50%,
    var(--color-thread-blue) 50% 66%, transparent 66% 72%,
    var(--color-thread-orange) 72% 100%);
  border-radius: 3px;
}

/* --- 見出し装飾（イエローマーカー下線） --- */
.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin-bottom: 16px;
  display: inline-block;
}

.section-title.with-marker {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.section-lead {
  text-align: center;
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: 40px;
  line-height: 1.9;
}

/* --- 立体感のあるオレンジピルボタン（CTA） --- */
.btn-orange-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-bg-white);
  background: var(--color-accent-orange);
  padding: 14px 44px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
}

.btn-orange-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  background: var(--color-accent-orange-dark);
  color: var(--color-bg-white);
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg-base);
  border-bottom: 1px solid var(--color-line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1680px;
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 8px 24px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-brand img {
  width: 50px;
  height: 50px;
}

.header-brand-text,
h1.header-brand-text {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.3;
  white-space: nowrap;
}

.header-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-text-light);
}

.header-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

/* デスクトップナビゲーション */
.site-nav {
  margin-left: auto;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 8px 10px;
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  border-radius: 10px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent-orange);
}

/* ドロップダウンメニュー */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  min-width: 190px;
  padding: 10px;
  white-space: nowrap;
  background-color: var(--color-bg-white);
  border-radius: 14px;
  box-shadow: 0 10px 30px var(--color-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 7px 12px;
  font-size: 0.9rem;
  color: var(--color-text);
  border-radius: 8px;
}

.dropdown-menu a:hover {
  color: var(--color-accent-orange);
  background-color: var(--color-bg-soft);
}

/* ヘッダー右側ボタン（電話・問い合わせ） */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-header-tel,
.btn-header-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  border-radius: var(--radius-pill);
}

.btn-header-tel {
  color: var(--color-text);
  background-color: var(--color-bg-soft);
}

.btn-header-contact {
  color: var(--color-bg-white);
  background-color: var(--color-accent-orange);
}

.btn-header-contact:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px var(--color-shadow);
}

/* ハンバーガーボタン（スマホ用） */
.btn-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--color-text);
  background: none;
  border: 0;
  cursor: pointer;
}

.btn-hamburger span {
  display: block;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.btn-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.btn-hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   トップページ（一本の糸）
   三色の糸が一本になり、写真と約束を縫い合わせながら最後のハートまで続く。
   糸の線は main.js が data-thread を付けた要素の中心をつないで描く。
   ========================================================================== */
.thread-page {
  position: relative;
  overflow: hidden;
}

.thread-svg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

.thread-svg path {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
}

.thread-base {
  opacity: 0.2;
}

.thread-page .wrap,
.thread-page .hero {
  position: relative;
  z-index: 1;
}

.thread-page .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* 糸の通り道を決めるための見えない目印 */
.thread-page .tp {
  position: absolute;
  width: 1px;
  height: 1px;
}

/* --- メインビジュアル --- */
.thread-page .hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: 8px 24px 0;
}

.thread-page .hero img {
  width: 100%;
  border-radius: 28px;
}

/* --- 紹介 --- */
.thread-page .intro {
  position: relative;
  padding: 150px 0 130px;
}

.thread-page .tp-merge {
  top: 52px;
  left: 62%;
}

.thread-page .intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 72px;
  align-items: center;
}

.thread-page .intro-eyebrow {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-light);
}

.thread-page .intro-name {
  margin: 4px 0 28px;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.thread-page .intro-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-weight: 500;
  line-height: 2.15;
}

.thread-page .intro-lead strong {
  font-weight: 700;
  border-bottom: 2px dashed var(--color-thread-orange);
}

.thread-page .intro-photo {
  position: relative;
}

.thread-page .intro-photo > img {
  width: 100%;
  border-radius: var(--radius-photo);
}

.thread-page .intro-girl {
  position: absolute;
  right: -44px;
  bottom: -52px;
  width: 136px;
  height: 136px;
  overflow: hidden;
  background-color: var(--color-bg-white);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--color-bg-base);
}

.thread-page .service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  margin-top: 104px;
}

.thread-page .service {
  padding: 34px 36px 32px;
  background-color: var(--color-bg-white);
  border-radius: 20px;
  box-shadow: 0 2px 22px var(--color-shadow-soft);
}

.thread-page .service-name {
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
}

.thread-page .service-kids .service-name {
  color: var(--color-blue-ink);
}

.thread-page .service-after .service-name {
  color: var(--color-green-ink);
}

/* --- 見出し（糸の通り道を空けるため左寄せ） --- */
.thread-page .section-head {
  max-width: 640px;
  margin-bottom: 64px;
}

.thread-page .section-head h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.thread-page .section-head p {
  color: var(--color-text-light);
}

/* --- 支援内容 --- */
.thread-page .support {
  position: relative;
  padding: 40px 0 140px;
}

.thread-page .tp-support {
  top: 96px;
  right: 7%;
}

.thread-page .support-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 32px;
}

.thread-page .support-item {
  position: relative;
}

.thread-page .item-1 { grid-column: 1 / 7; }
.thread-page .item-2 { grid-column: 8 / 13; margin-top: 120px; }
.thread-page .item-3 { grid-column: 2 / 6; margin-top: 72px; }
.thread-page .item-4 { grid-column: 7 / 13; margin-top: 40px; }
.thread-page .item-5 { grid-column: 1 / 6; margin-top: 48px; }

.thread-page .support-boy {
  grid-column: 8 / 13;
  align-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 48px;
}

.thread-page .support-boy img {
  width: 132px;
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--color-bg-base);
}

.thread-page .support-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-photo);
}

.thread-page .support-label {
  width: fit-content;
  margin-top: 8px;
  padding: 4px 14px 4px 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  background-color: var(--color-bg-base);
}

.thread-page .btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-bg-white);
  white-space: nowrap;
  background-color: var(--color-accent-orange);
  border-radius: var(--radius-pill);
}

.thread-page .btn::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.thread-page .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--color-shadow);
}

/* --- 6つの約束（糸がジグザグに縫い進む） --- */
.thread-page .promises {
  position: relative;
  padding: 40px 0 140px;
}

.thread-page .tp-promise {
  top: 100px;
  right: 10%;
}

.thread-page .promise-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 140px;
}

.thread-page .promise {
  position: relative;
  background-color: var(--color-bg-base);
}

.thread-page .promise:nth-child(even) {
  margin-top: 72px;
  margin-bottom: -72px;
}

.thread-page .knot {
  position: absolute;
  top: 8px;
  width: 16px;
  height: 16px;
  background-color: var(--color-bg-base);
  border: 4px solid var(--color-thread-orange);
  border-radius: 50%;
}

.thread-page .promise:nth-child(odd) .knot {
  right: -56px;
}

.thread-page .promise:nth-child(even) .knot {
  left: -56px;
}

.thread-page .promise-num {
  margin-bottom: 0;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent-orange);
}

.thread-page .promise-title {
  margin: 2px 0 8px;
  font-size: 1.4rem;
  line-height: 1.55;
  color: var(--color-text);
}

.thread-page .promise-action {
  margin-top: 120px;
}

/* --- ご利用のご案内（カードとクレジットは全ページ共通の見た目） --- */
.thread-page .section-guidance {
  position: relative;
  padding: 40px 0 88px;
}

.thread-page .tp-guidance {
  top: 90px;
  right: 8%;
}

.thread-page .company-credit-box {
  justify-content: flex-start;
}

.thread-page .thread-heart {
  flex-shrink: 0;
  width: 190px;
  margin-left: auto;
}

.thread-page .thread-heart path {
  fill: none;
  stroke: var(--color-thread-blue);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 9 7;
}

@media (max-width: 1100px) {
  .thread-page .intro-grid {
    gap: 48px;
  }

  .thread-page .promise-list {
    column-gap: 100px;
  }

  .thread-page .promise:nth-child(odd) .knot {
    right: -42px;
  }

  .thread-page .promise:nth-child(even) .knot {
    left: -42px;
  }
}

/* スマホ：糸は左端の一本に。本文はその右に並べる */
@media (max-width: 768px) {
  .thread-page .wrap {
    padding: 0 18px 0 42px;
  }

  .thread-page .hero {
    padding: 0;
  }

  .thread-page .hero img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: 53% 50%;
    border-radius: 0;
  }

  .thread-page .intro {
    padding: 56px 0 72px;
  }

  .thread-page .intro-grid,
  .thread-page .service-grid,
  .thread-page .promise-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .thread-page .intro-girl {
    right: -8px;
    bottom: -28px;
    width: 104px;
    height: 104px;
  }

  .thread-page .service-grid {
    gap: 18px;
    margin-top: 64px;
  }

  .thread-page .service {
    padding: 24px 22px;
  }

  .thread-page .section-head {
    margin-bottom: 36px;
  }

  .thread-page .support,
  .thread-page .promises {
    padding: 16px 0 72px;
  }

  .thread-page .support-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .thread-page .item-2,
  .thread-page .item-3,
  .thread-page .item-4,
  .thread-page .item-5 {
    margin-top: 0;
  }

  .thread-page .support-boy {
    padding-top: 0;
  }

  .thread-page .support-boy img {
    width: 96px;
  }

  .thread-page .promise-list {
    gap: 32px;
  }

  .thread-page .promise:nth-child(even) {
    margin: 0;
  }

  .thread-page .promise:nth-child(odd) .knot,
  .thread-page .promise:nth-child(even) .knot {
    top: 4px;
    right: auto;
    left: -32px;
  }

  .thread-page .promise-title {
    font-size: 1.22rem;
  }

  .thread-page .promise-action {
    margin-top: 44px;
  }

  .thread-page .section-guidance {
    padding: 16px 0 56px;
  }

  .thread-page .company-credit-box {
    flex-wrap: wrap;
  }

  .thread-page .thread-heart {
    width: 120px;
    margin-left: 0;
  }
}

/* ==========================================================================
   サービス一覧カード（画像1の下段レイアウト再現）
   ========================================================================== */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.service-card {
  border-radius: 20px;
  background-color: var(--color-bg-white);
  box-shadow: var(--shadow-card);
  padding: 34px 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* サービス名（クラス名は旧デザインの名残。カプセル型にはしない） */
.service-card-pill {
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
}

.service-card.type-kids .service-card-pill {
  color: var(--color-blue-ink);
}

.service-card.type-afterschool .service-card-pill {
  color: var(--color-green-ink);
}

.service-card-desc {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--color-text);
}

/* ==========================================================================
   丸写真＋カラーピルラベル（supportページ）
   ========================================================================== */
.circle-photo-frame {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: var(--border-circle);
  box-shadow: var(--shadow-card);
  background-color: var(--color-bg-white);
}

.circle-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 写真直下のラベル（色は先頭の丸で示す） */
.circle-pill-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
}

.circle-pill-label::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  background-color: var(--pill-color, var(--color-thread-orange));
  border-radius: 50%;
}

.circle-pill-label.pill-blue { --pill-color: var(--color-thread-blue); }
.circle-pill-label.pill-pink { --pill-color: var(--color-thread-orange); }
.circle-pill-label.pill-yellow { --pill-color: var(--color-dot-yellow); }
.circle-pill-label.pill-green { --pill-color: var(--color-thread-green); }
.circle-pill-label.pill-purple { --pill-color: var(--color-dot-purple); }

/* ==========================================================================
   ご利用のご案内セクション（全ページ共通）
   ========================================================================== */
.section-guidance {
  padding: 85px 0 70px;
}

.guidance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 56px;
}

.guidance-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 26px;
  background-color: var(--color-bg-white);
  border-radius: 20px;
  box-shadow: 0 2px 16px var(--color-shadow-soft);
}

.guidance-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px var(--color-shadow);
}

.guidance-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
}

.guidance-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--color-accent-orange);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guidance-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--color-text);
}

.guidance-card:hover .guidance-title {
  color: var(--color-accent-orange);
}

/* 運営会社クレジット */
.company-credit-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.company-credit-logo {
  flex-shrink: 0;
  width: 104px;
  height: auto;
  border-radius: 20px;
}

.company-credit-text a {
  color: var(--color-accent-orange);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer {
  padding: 64px 0 28px;
  color: var(--color-text);
  background-color: var(--color-bg-soft);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
}

.footer-info-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-info-brand img {
  width: 52px;
  height: 52px;
}

.footer-address {
  font-style: normal;
  font-size: 0.92rem;
}

.footer-tel,
.footer-fax {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  align-content: start;
}

.footer-links-grid a {
  font-size: 0.94rem;
}

.footer-links-grid a:hover {
  color: var(--color-accent-orange);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.78rem;
  color: var(--color-text-light);
  border-top: 1px solid var(--color-line);
}

/* ==========================================================================
   ページ上部へ戻るボタン
   ========================================================================== */
.btn-back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--color-bg-white);
  background-color: var(--color-accent-orange);
  border-radius: 50%;
  box-shadow: 0 6px 16px var(--color-shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.btn-back-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   下層ページ共通（ページヘッダー・パンくず・装飾）
   ========================================================================== */
.page-hero {
  background-color: var(--color-bg-base);
  padding: 64px 0 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin-bottom: 18px;
}

.breadcrumb-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.breadcrumb-list a:hover {
  color: var(--color-accent-orange);
  text-decoration: underline;
}

.breadcrumb-list .current {
  color: var(--color-text);
  font-weight: 700;
}

/* 下層ページ内のコンテンツブロック */
.page-content-section {
  padding: 70px 0;
}

.content-block {
  background: var(--color-bg-white);
  border-radius: var(--radius-card);
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-card);
}

.content-block-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px dashed var(--color-line);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 6つの約束カード（aboutページ用） */
.promises-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.promise-card {
  background: var(--color-bg-soft);
  border-radius: var(--radius-box);
  padding: 24px 24px 22px;
}

.promise-num {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent-orange);
  margin-bottom: 2px;
}

.promise-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.promise-text {
  font-size: 0.94rem;
  line-height: 1.75;
}

/* タイムライン・1日の流れ */
.timeline-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
}

.timeline-tab-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 30px;
  border-radius: var(--radius-pill);
  border: 0;
  background: var(--color-bg-soft);
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.25s ease;
}

.timeline-tab-btn.active {
  background: var(--color-accent-orange);
  color: var(--color-bg-white);
}

.timeline-panel {
  display: none;
}

.timeline-panel.active {
  display: block;
}

.timeline-list {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 30px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 10px;
  width: 3px;
  background: linear-gradient(var(--color-thread-green), var(--color-thread-orange), var(--color-thread-blue));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  margin-bottom: 26px;
  background: var(--color-bg-white);
  padding: 18px 24px;
  border-radius: var(--radius-box);
  box-shadow: var(--shadow-card);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 22px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-bg-base);
  border: 4px solid var(--color-thread-orange);
}

.timeline-time {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-accent-orange);
  margin-bottom: 4px;
}

.timeline-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

/* 自信サイクル図（supportページ） */
.cycle-flow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 30px 20px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-card);
  margin: 30px 0;
}

.cycle-step-card {
  background: var(--color-bg-white);
  border-radius: 16px;
  padding: 16px 20px;
  text-align: center;
  min-width: 110px;
  box-shadow: var(--shadow-card);
}

.cycle-step-arrow {
  color: var(--color-accent-orange);
  font-size: 1.5rem;
  font-weight: 900;
}

/* ステップカード（flowページ用） */
.flow-step-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.flow-step-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--color-bg-white);
  border-radius: var(--radius-card);
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.flow-step-badge {
  background: var(--color-accent-orange);
  color: var(--color-bg-white);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  padding: 12px 18px;
  border-radius: 12px;
  flex-shrink: 0;
  text-align: center;
}

.flow-step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

/* 会社概要・事業所情報 テーブル */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border-radius: var(--radius-box);
  overflow: hidden;
  border: 1px solid var(--color-line);
}

.info-table th,
.info-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
}

.info-table th {
  background-color: var(--color-bg-soft);
  font-weight: 700;
  color: var(--color-text-dark);
  width: 28%;
  white-space: nowrap;
}

.info-table td {
  background-color: var(--color-bg-white);
}

/* お問い合わせフォーム */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
}

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

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.form-label .badge-required {
  background: var(--color-accent-orange);
  color: var(--color-bg-white);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-label .badge-optional {
  background: var(--color-text-light);
  color: var(--color-bg-white);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-bg-white);
  color: var(--color-text);
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent-orange);
  box-shadow: 0 0 0 3px var(--color-line);
}

.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
}

/* スマホ下部固定バー */
.mobile-fixed-cta {
  display: none;
}

.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 56px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
}

.mobile-cta-tel {
  color: var(--color-text);
  background-color: var(--color-bg-soft);
}

.mobile-cta-mail {
  color: var(--color-bg-white);
  background-color: var(--color-accent-orange);
}

/* ==========================================================================
   レスポンシブ共通グリッドクラス（下層ページ用）
   ========================================================================== */
.responsive-two-col {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: start;
}

.responsive-feature-col {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
}

.responsive-outdoor-col {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 36px;
  align-items: center;
}

.responsive-concept-col {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: center;
}

.contact-tel-link {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  font-weight: 900;
  color: var(--color-text-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.map-frame-wrap {
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-card);
  background: var(--color-bg-soft);
}

/* ==========================================================================
   レスポンシブ対応
   ========================================================================== */
@media (max-width: 1400px) {
  .header-actions {
    margin-left: auto;
  }

  .btn-hamburger {
    display: flex;
  }

  /* スマホナビ（main.js が .mobile-open を付け外しする） */
  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    z-index: 99;
    display: none;
    margin: 0;
    padding: 16px 24px 96px;
    overflow-y: auto;
    background-color: var(--color-bg-base);
  }

  .site-nav.mobile-open {
    display: block;
  }

  .nav-list {
    display: block;
    max-width: 560px;
    margin: 0 auto;
  }

  .nav-item {
    border-bottom: 1px solid var(--color-line);
  }

  .nav-link {
    padding: 14px 4px;
    font-size: 1.05rem;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    padding: 0 0 12px 12px;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@media (max-width: 1100px) {
  /* サービスカード縦並び */
  .service-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 円形カード */
  .circle-photo-frame {
    width: 160px;
    height: 160px;
  }

  .circle-pill-label {
    min-width: 140px;
    font-size: 0.95rem;
    padding: 6px 18px;
  }

  /* ご利用案内 */
  .guidance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  /* 下層ページの2カラムグリッドを縦積みに統一 */
  .responsive-two-col,
  .responsive-feature-col,
  .responsive-outdoor-col,
  .responsive-concept-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .responsive-feature-col {
    text-align: center;
  }

  .responsive-feature-col > div:last-child {
    text-align: left;
  }

  .responsive-concept-col > div:last-child {
    text-align: center;
  }

  /* 自信のサイクル（矢印を非表示にしてカードグリッド化） */
  .cycle-flow-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 20px 14px;
  }

  .cycle-step-arrow {
    display: none;
  }

  .cycle-step-card {
    min-width: 0;
    padding: 14px 10px;
  }

}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
    --radius-photo: 16px;
  }

  /* ヘッダー：右側のボタンは下部固定バーに任せる */
  .header-inner {
    padding: 8px 12px 8px 16px;
  }

  .header-brand img {
    width: 44px;
    height: 44px;
  }

  .header-actions {
    display: none;
  }

  .btn-hamburger {
    margin-left: auto;
  }

  /* ご利用案内 */
  .guidance-card {
    gap: 8px;
    padding: 16px 12px;
  }

  .guidance-title {
    font-size: 0.98rem;
  }

  .company-credit-logo {
    width: 84px;
  }

  /* フッター */
  .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  /* スマホ下部固定バー */
  .mobile-fixed-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 95;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background-color: var(--color-bg-white);
    box-shadow: 0 -4px 16px var(--color-shadow);
  }

  /* ページトップボタンと下部バーの重なり防止 */
  .btn-back-to-top {
    right: 12px;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 600px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* 下層ページコンテンツブロックのスマホ余白最適化 */
  .content-block {
    padding: 24px 16px;
    border-radius: 16px;
    margin-bottom: 24px;
  }

  .content-block-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 16px;
  }

  .page-content-section {
    padding: 40px 0;
  }

  .page-hero {
    padding: 32px 0 24px;
  }

  .page-hero-title {
    font-size: 1.6rem;
  }

  /* 円形カード */
  .circle-photo-frame {
    width: 130px;
    height: 130px;
  }

  .circle-pill-label {
    min-width: 0;
    max-width: 160px;
    font-size: 0.82rem;
    padding: 5px 10px;
    margin-top: 10px;
    line-height: 1.4;
  }

  /* サービスカード */
  .service-card {
    padding: 24px 18px;
  }

  .service-card-pill {
    font-size: 1.05rem;
    padding: 6px 20px;
    margin-bottom: 16px;
  }

  /* フローカード */
  .flow-step-card {
    flex-direction: column;
    gap: 14px;
    padding: 20px 18px;
  }

  .flow-step-badge {
    align-self: flex-start;
    padding: 8px 14px;
    font-size: 0.95rem;
  }

  .flow-step-title {
    font-size: 1.15rem;
  }

  /* 約束カード */
  .promises-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .promise-card {
    padding: 20px 18px;
  }

  /* 1日の流れ タブ */
  .timeline-tabs {
    flex-direction: column;
    gap: 10px;
  }

  .timeline-tab-btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    text-align: center;
  }

  .timeline-list {
    padding-left: 24px;
  }

  .timeline-item {
    padding: 16px 18px;
  }

  /* 事業所情報・会社概要テーブルのカードブロック化（スマホ視認性向上） */
  .info-table {
    display: block;
    border: none;
    background: transparent;
    margin: 16px 0;
  }

  .info-table tbody {
    display: block;
  }

  .info-table tr {
    display: block;
    margin-bottom: 12px;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-bg-white);
    box-shadow: var(--shadow-card);
  }

  .info-table th {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--color-line);
    background-color: var(--color-bg-soft);
    white-space: normal;
    color: var(--color-text-dark);
  }

  .info-table td {
    display: block;
    width: 100%;
    padding: 12px 14px;
    font-size: 0.92rem;
    border-bottom: none;
    line-height: 1.7;
  }

  /* 地図コンテナの高さ最適化 */
  .map-frame-wrap {
    height: 280px;
  }

  /* ボタン */
  .btn-orange-pill {
    padding: 12px 28px;
    font-size: 1rem;
    max-width: 100%;
  }
}

@media (max-width: 400px) {
  .cycle-flow-wrap {
    grid-template-columns: 1fr;
  }

  .header-brand img {
    width: 40px;
    height: 40px;
  }

  .header-sub {
    font-size: 0.65rem;
  }

  .header-title {
    font-size: 1.02rem;
  }
}

/* ==========================================================================
   採用情報ページ（recruit.html）専用スタイル
   ========================================================================== */
.recruit-intro-box {
  background: var(--color-bg-white);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
  text-align: center;
  max-width: 860px;
  margin: 0 auto 50px;
}

.recruit-intro-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-accent-orange);
  margin-bottom: 20px;
  line-height: 1.4;
}

.recruit-intro-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 30px;
}

.recruit-notice-card {
  background: var(--color-bg-soft);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: left;
  margin: 0 auto 30px;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--color-text);
}

.recruit-notice-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-accent-orange);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-jump-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-accent-orange);
  color: var(--color-bg-white);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-hover);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-jump-form:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  background: var(--color-accent-orange-dark);
  color: var(--color-bg-white);
}

/* 募集要項カード */
.recruit-job-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 920px;
  margin: 0 auto 60px;
}

.recruit-job-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recruit-job-card:hover {
  box-shadow: var(--shadow-hover);
}

.recruit-job-card-header {
  background: var(--color-bg-soft);
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.recruit-job-badge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.recruit-job-badge {
  background: var(--color-accent-orange);
  color: var(--color-bg-white);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}

.recruit-job-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  color: var(--color-text-dark);
  margin: 0;
}

.recruit-job-salary-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.recruit-salary-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text-light);
}

.recruit-salary-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent-orange);
}

.recruit-job-body {
  padding: 30px;
}

.recruit-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-line);
}

.recruit-table th,
.recruit-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
}

.recruit-table th {
  background-color: var(--color-bg-soft);
  font-weight: 700;
  color: var(--color-text-dark);
  width: 25%;
  min-width: 130px;
}

.recruit-table td {
  background-color: var(--color-bg-white);
  line-height: 1.8;
  color: var(--color-text);
}

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

.recruit-table-salary {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-accent-orange);
  margin-bottom: 4px;
}

.recruit-detail-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}

.recruit-detail-list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 4px;
  line-height: 1.65;
}

.recruit-detail-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-accent-orange);
  font-weight: bold;
}

.recruit-req-block {
  margin-bottom: 10px;
}

.recruit-req-block:last-child {
  margin-bottom: 0;
}

.recruit-req-num {
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 4px;
  display: block;
}

.recruit-job-cta {
  text-align: center;
  padding-top: 10px;
}

.btn-apply-job {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-green-ink);
  color: var(--color-bg-white);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 12px 36px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-hover);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-apply-job:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  background: var(--color-green-ink-dark);
  color: var(--color-bg-white);
}

/* 採用応募フォーム専用 */
.recruit-form-box {
  background: var(--color-bg-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 40px 36px;
  max-width: 860px;
  margin: 0 auto;
}

.recruit-form-lead {
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.85;
  color: var(--color-text);
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-radio-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--color-text-dark);
}

.form-radio-item input[type="radio"] {
  accent-color: var(--color-accent-orange);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-policy-box {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .recruit-intro-box {
    padding: 28px 18px;
  }
  .recruit-intro-title {
    font-size: 1.4rem;
  }
  .recruit-job-card-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
  }
  .recruit-job-body {
    padding: 18px 16px;
  }
  .recruit-table th {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--color-line);
  }
  .recruit-table td {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-bottom: 1px solid var(--color-line);
  }
  .form-row-two {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .recruit-form-box {
    padding: 24px 16px;
  }
}


/* お問い合わせ完了モーダル */
.contact-complete-dialog {
  width: calc(100% - 32px);
  max-width: 480px;
  margin: auto;
  padding: 36px 28px;
  color: var(--color-text);
  text-align: center;
  background-color: var(--color-bg-white);
  border: var(--border-thick);
  border-radius: var(--radius-card);
}

.contact-complete-dialog::backdrop {
  background-color: rgba(58, 41, 37, 0.5);
}

.contact-complete-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 16px;
}

.contact-complete-text {
  line-height: 1.85;
  margin-bottom: 12px;
}

.contact-complete-note {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: 24px;
}
