/* ==========================================================================
    LPベースデザイン：グローバル＆メインビジュアルスタイル
   ========================================================================== */
.lp-body-override {
    min-height: 100vh;
    background-color: #f4f7f6;
    font-family: 'SF Pro Display', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background-image: 
        radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(56, 189, 248, 0.15) 0px, transparent 50%);
}

.lp-container {
    max-width: 850px;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 32px;
    padding: 55px 45px;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

/* 「妥協なきエンジニアへ。」を目立たせるスタイル */
.kicker-title {
    font-size: 58px;
    font-weight: 900;
    color: #022c22;
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
    line-height: 1.1;
    text-shadow: 2px 2px 0px rgba(16, 185, 129, 0.15);
}

/* 👑 3行目のサイズ */
.title {
    font-size: 34px; 
    font-weight: 850; 
    line-height: 1.4;
    color: #064e3b; 
    margin: 0 0 30px 0; 
    letter-spacing: -0.01em;
    display: inline-block; 
}

/*マーカーラインの厚みと位置 */
.title-highlight {
    background: linear-gradient(
        to right, 
        rgba(52, 211, 153, 0.4) 0%, 
        rgba(16, 185, 129, 0.7) 100%
    );
    background-size: 100% 35%; 
    background-repeat: no-repeat;
    background-position: 0 88%;
    color: #047857;
    padding: 0 6px; 
    border-radius: 4px;
}

.description {
    font-size: 15px;
    line-height: 1.75;
    color: #475569;
    max-width: 650px;
    margin: 0 auto 35px auto;
}
.bold-text {
    font-weight: 700;
    color: #0f172a;
}

.stats-panel {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.stat-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px 24px;
    min-width: 160px;
    flex: 1;
}
.stat-label {
    font-size: 11px;
    color: #64748b;
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
}
.stat-value {
    font-size: 18px;
    font-weight: 800;
    color: #047857;
    margin: 0;
}
.stat-num {
    font-size: 24px;
    color: #d97706;
}

/* 安心バッジ */
.status-ribbon {
    display: inline-flex;
    align-items: center;
    background-color: #064e3b;
    color: #34d399;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
}

.action-area {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.launch-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 14px;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.25);
    transition: all 0.2s ease;
    letter-spacing: 0.03em;
    white-space: nowrap;
}
.launch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35);
    filter: brightness(1.05);
}

.register-sub-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 14px;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.25);
    transition: all 0.2s ease;
    letter-spacing: 0.03em;
    white-space: nowrap;
}
.register-sub-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35);
    filter: brightness(1.05);
}

/* ==========================================================================
 📱 スマホ・レスポンシブ最適化
 ========================================================================== */
@media (max-width: 768px) {
  /* 1. タイトルをスマホに最適なサイズへ */
  .kicker-title {
    font-size: 32px !important; /* 64pxからスマホ用に最適化 */
    line-height: 1.3 !important;
    margin-bottom: 20px !important;
  }

  /* 2. 横並び大動脈を縦並びへ美しくスイッチ */
  .badge-action-wrapper {
    display: flex !important;
    flex-direction: column !important; /* 縦並びにする */
    gap: 16px !important;
    margin: 15px 0 25px 0 !important;
    width: 100% !important;
  }

  /* 3. 年収アップバッジのサイズと折り返しを調整 */
  .mid-accent {
    font-size: 14px !important; /* 20pxからスマホサイズへ引き締め */
    height: auto !important;     /* 高さを固定せず文字数に合わせる */
    padding: 12px 20px !important;
    border-radius: 16px !important; /* スマホで見やすい角丸へ */
    text-align: center !important;
    justify-content: center !important;
  }

  /* 4. 無料相談ミニボタンも横幅いっぱいに広げて押しやすく */
  .mini-consult-btn {
    width: 100% !important;
    height: 50px !important;
    font-size: 15px !important;
    padding: 0 !important;
  }
  
  /* 5. メインの2行目タイトルもスマホサイズに調整 */
  .title {
    font-size: 22px !important;
    line-height: 1.5 !important;
  }
  /* 6. 下部ツインボタンをスマホ向けにスマートに引き締め */
  .launch-btn,
  .register-sub-btn {
    width: 100% !important;        /* 横幅いっぱいに広げて押しやすく */
    padding: 14px 16px !important; /* 上下を18pxから14pxに薄くしてスタイリッシュに */
    font-size: 15px !important;    /* 文字を16pxから15pxに微調整 */
    border-radius: 12px !important;/* 角丸を少しシャープにして上品に */
  }
  .action-area {
    gap: 12px !important;          /* ボタン同士の上下の隙間を少し詰める */
  }
    /* 11. スマホ画面の最上部の隙間（余白）を完全にゼロにする */
  body {
    margin: 0 !important;
    padding-top: 0 !important; /* 上の余白を完全粉砕 */
  }
  
 /* 7. 案件一覧のサイドバーは、スマホ時はJavaScriptの平仄に合わせて「完全非表示」にする */
  #main-sidebar {
    display: none !important; /* JSと喧嘩しないよう、最優先で完全に消去 */
  }

  /* 左側のロゴをミニマル化 */
  #main-sidebar h2 {
    font-size: 14px !important;     /* 文字を小さくしてシャープに */
    margin: 0 !important;
    color: #064e3b !important;
  }

  /* 💡 スマホでは不要な環境バッジを非表示にしてスペースを最大確保 */
  .env-badge {
    display: none !important; 
  }

  /* 右側のメニューリンクを1行にコンパクト整列 */
  #main-sidebar nav {
    display: flex !important;
    flex-direction: row !important; /* 横並び */
    align-items: center !important;
    gap: 4px !important;            /* ボタン同士の隙間を最小に */
    width: auto !important;         /* 右側にキュッと寄せる */
  }
  
  /* リンクボタンが右端からはみ出さないように文字を最終引き締め */
  #main-sidebar nav a {
    padding: 5px 8px !important;   
    font-size: 10.5px !important;  /* ほんの少しだけ小さくして画面内に確実に収める */
    white-space: nowrap !important;
    border-radius: 6px !important;
    background-color: #f1f5f9 !important;
  }

  /* アクティブな「案件一覧」は一目でわかる爽やかエメラルド */
  #main-sidebar nav a.active {
    background-color: #a7f3d0 !important;
    color: #047857 !important;
  }

  /* 8. メインコンテンツを画面いっぱいに100%大開通 */
  #main-content {
    margin-left: 0 !important;
    margin-top: 0 !important;    /* 上の余白も不要なので0に */
    width: 100% !important;
    padding: 15px !important;    /* jobs.jsの指定に完全同期 */
    box-sizing: border-box !important;
  }
  /* 9. 画面全体の横揺れ・はみ出しを絶対に許さない一撃ガード */
  html, body {
    overflow-x: hidden !important; /* 横スクロールを強制カット */
    width: 100% !important;
  }

  /* 10. 右側にはみ出している5列スペックシートをスマホ用に完全縦並び化 */
  .spec-grid-5 {
    grid-template-columns: 1fr !important; /* 強制的に1列（縦並び）にする */
    gap: 12px !important;
    padding: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 縦並びになるので、右側の線を消して、下線に変更 */
  .spec-item {
    border-right: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 0 0 8px 0 !important;
    width: 100% !important;
  }
  
  .spec-grid-5 .spec-item:last-child {
    border-bottom: none !important; /* 最後の項目は下線なし */
  }

}

/* スマホ対応の平仄合わせ */
@media (max-width: 768px) {
    .job-main-header-row { flex-direction: column !important; align-items: flex-start !important; gap: 14px !important; }
    .job-title-group { width: 100%; min-width: 100%; }
    .btn-listen-jobs { width: 100% !important; height: 46px !important; }
 /* スマホのときは「2列のグリッド構造」にして縦幅の間延びを完全粉砕！ */
  .spec-grid-5 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; /* 強制的に2列に並べる */
    gap: 10px 12px !important;  /* 縦の隙間10px、横の隙間12pxの極薄設計 */
    padding: 12px 14px !important; /* 全体の余白もキュッと引き締め */
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 項目ごとの無駄な下線や余白を排除 */
  .spec-item {
    border-right: none !important;
    border-bottom: none !important; /* 下線を消去してスッキリ */
    padding: 0 !important;
    width: 100% !important;
  }
  /* 「5番目の項目（報酬）」だけは、横いっぱいに2列分ブチ抜いて1行で魅せる */
  .spec-grid-5 .spec-item:last-child {
    grid-column: span 2 !important; 
    border-top: 1px dashed #cbd5e1 !important; /* 報酬だけ上にうっすら点線を入れてメリハリ */
    padding-top: 8px !important;
    margin-top: 2px !important;
  }
    .accordion-inner { grid-template-columns: 1fr !important; gap: 16px !important; }
    .detail-section { border-right: none !important; border-bottom: 1px solid #e2e8f0 !important; padding: 0 0 12px 0 !important; }
    .detail-section.no-border { padding-left: 0 !important; }
}

#main-sidebar {
    width: 250px;
    background-color: #f1f5f9; 
    color: #334155; 
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: fixed;
    height: 100vh;
    top: 0;
    left: 0;
    border-right: 1px solid #cbd5e1; /* 境界線を繊細にデザイン */
    box-shadow: 2px 0 8px rgba(15, 23, 42, 0.04);
    z-index: 300;
}

/* 最上段ロゴ */
#main-sidebar h2 { 
    font-size: 20px; 
    font-weight: 800; 
    color: #064e3b; /* LPと平仄を合わせた深緑へ */
    margin: 0 0 4px 0; 
}
/* Xserver PHP Mode などの環境バッジ */
.env-badge { 
    font-size: 11px; 
    background-color: #e2e8f0; /* 明るい背景に馴染む薄いグレーへ */
    color: #475569; 
    padding: 2px 8px; 
    border-radius: 4px; 
    font-family: monospace; 
}

/* ナビゲーションメニューの囲み */
#main-sidebar nav { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
}

/* メニューの通常リンク（LPに戻る、お問い合わせ 等） */
#main-sidebar nav a { 
    font-size: 14px; 
    font-weight: bold; 
    color: #64748b; /* ❌旧 #94a3b8 ➔ 明るい背景で見やすいチャコールへ */
    text-decoration: none; 
    padding: 10px; 
    border-radius: 8px; 
    transition: all 0.2s ease;
}

/* 通常メニューのホバーエフェクト（マウスを乗せたとき） */
#main-sidebar nav a:hover {
    background-color: rgba(6, 78, 59, 0.04); /* 優しい超薄緑の座布団 */
    color: #064e3b;
}

/* 🔥 現在地（アクティブ状態：今開いている「案件一覧」の超リッチ強調） */
#main-sidebar nav a.active { 
    color: #047857 !important; /* ❌旧 #ffffff ➔ クッキリ深緑文字 */
    background-color: #a7f3d0 !important; /* ❌旧 #4f46e5 ➔ 優しいエメラルドの座布団へ！ */
    box-shadow: 0 2px 6px -1px rgba(4, 120, 87, 0.15);
}
/* 💻 メインコンテンツ（左側に250pxの絶対余白を強制確保） */
#main-content {
    margin-left: 250px;
    flex: 1;
    padding: 40px;
    box-sizing: border-box;
    max-width: 1300px;
    width: calc(100% - 250px);
}

.card-box { background-color: #ffffff; border-radius: 16px; padding: 24px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; }
.flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.btn-orange { background-color: #d97706; color: white; font-weight: 900; font-size: 15px; border: none; padding: 14px 32px; border-radius: 12px; cursor: pointer; text-decoration: none; box-shadow: 0 4px 12px rgba(217,119,6,0.3); text-align: center; white-space: nowrap; }

/* 🔍 フィルター回り */
.filter-title { font-size: 16px; font-weight: bold; color: #1e293b; border-left: 4px solid #4f46e5; padding-left: 10px; margin: 0; }
.filter-grid { display: flex; gap: 12px; flex-wrap: wrap; }
.filter-group { flex: 1; min-width: 140px; }
.filter-label { font-size: 11px; font-weight: bold; color: #64748b; display: block; margin-bottom: 4px; }
.filter-select { width: 100%; border: 1px solid #cbd5e1; border-radius: 6px; padding: 8px; font-size: 13px; background-color: white; color: #334155; }
.filter-bottom { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; }
.filter-input { width: 100%; border: 1px solid #cbd5e1; border-radius: 6px; padding: 9px 12px; font-size: 13px; box-sizing: border-box; outline: none; }
.btn-group { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-gray { background-color: #e2e8f0; color: #475569; font-weight: bold; border: none; border-radius: 6px; padding: 11px 24px; font-size: 14px; cursor: pointer; }
.btn-blue { background-color: #4f46e5; color: white; font-weight: bold; border: none; border-radius: 6px; padding: 11px 32px; font-size: 14px; cursor: pointer; box-shadow: 0 2px 4px rgba(79,70,229,0.2); }

/* 👑 2段目：スペック5列横並び（Flexbox駆動） */
.spec-container { display: flex; flex-direction: row; gap: 12px; background-color: #f8fafc; padding: 16px; border-radius: 12px; border: 1px solid #f1f5f9; flex-wrap: wrap; }
.spec-item { flex: 1; min-width: 120px; padding: 4px; }
.spec-border { border-right: 1px solid #cbd5e1; padding-right: 8px; }

/* 👑 3段目：詳細4列横並び（Flexbox駆動） */
.details-container { gap: 15px; border-top: 1px solid #f1f5f9; padding-top: 20px; flex-wrap: wrap; }
.details-block { flex: 1; min-width: 200px; padding-bottom: 10px; }
.details-border { border-right: 1px solid #f1f5f9; padding-right: 10px; }

/* ＝ ＝ ＝ ＝ ＝ 強い理由セクション専用スタイル隔離 ＝ ＝ ＝ ＝ ＝ */
.reasons-section {
    margin-top: 55px;
    padding-top: 45px;
    border-top: 1px solid #e2e8f0;
    text-align: left;
}
.reasons-main-title {
    font-size: 28px;
    font-weight: 800;
    color: #064e3b;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
}
.reasons-main-title span {
    color: #d97706;
}
.reason-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}
.reason-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 30px;
    box-sizing: border-box;
}
.reason-card img {
    width: 100%;          /* カードの横幅いっぱいに広げる */
    height: 180px;        /* 💡高さを他と全く同じ値で固定（160px〜200px等で調整） */
    object-fit: contain;  /* 💡縦横比を崩さず、はみ出さずに枠内に収める */
}
.reason-badge {
    display: inline-block;
    background: #064e3b;
    color: #34d399;
    font-size: 14px;
    font-weight: 900;
    padding: 4px 14px;
    border-radius: 9999px;
    margin-bottom: 15px;
}
.reason-title {
    font-size: 22px;
    font-weight: 800;
    color: #022c22;
    margin: 0 0 15px 0;
}
.reason-title span {
    color: #ea580c;
}
.reason-body {
    font-size: 14px;
    line-height: 1.75;
    color: #475569;
    margin: 0;
}
.reason-visual-box {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #64748b;
    font-weight: bold;
}
/* 👑 1行目のさらなる強調：圧倒的な存在感へ引き上げ */
.kicker-title {
    font-size: 64px !important; /* さらにでっかく強調 */
    font-weight: 900;
    color: #022c22;
    margin: 0 0 8px 0; /* 下の間隔をキュッと詰める */
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 2px 3px 0px rgba(16, 185, 129, 0.18); /* 立体シャドウを少し強化 */
}

/* 1行目と2行目の間を美しく繋ぐ「年収アップ」のマイルドアクセント */
/* 左側：年収アップバッジ（極大サイズ＆ハイコントラスト） */
.mid-accent {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 20px; /* 20pxへ究極強調！極大サイズへ */
    font-weight: 900; /* 圧倒的太さ */
    color: #9a3412; /* 視認性を極限まで高めた深い琥珀オレンジ */
    
    /* 輝きを増したゴールド＆アンバーのグラデーション座布団 */
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.12) 0%, rgba(249, 115, 22, 0.06) 100%);
    
    height: 54px; /* 高さを54pxにリッチ化 */
    padding: 0 32px; /* 左右のクッションもふっくら拡張 */
    box-sizing: border-box;
    
    border-radius: 9999px;
    border: 1px solid rgba(234, 88, 12, 0.35); /* 枠線をクッキリ強調 */
    box-shadow: 0 4px 15px -2px rgba(234, 88, 12, 0.1);
}

/* 矢印のエフェクト */
.mid-accent .arrow-pulse {
    color: #ea580c;
    font-weight: 900;
    font-size: 22px;
}

/* 親コンテナ：上下の文字との間隔を広げてバッジを孤高の主役に */
.badge-action-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 28px 0 35px 0; /* 上下余白を大幅に拡張して呼吸させる */
    flex-wrap: nowrap;
}

/* 右側：ミニ無料相談ボタン（高さ54pxに完全同期） */
.mini-consult-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    
    height: 54px; /* 左側の極大バッジと完全に同期 */
    padding: 0 32px;
    box-sizing: border-box;
    
    border-radius: 9999px;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.25);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.mini-consult-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.35);
    filter: brightness(1.05);
}
/* ==========================================================================
   👑 📍 【3層分離・完成形】白基調スペックシート ＆ 4列展開アコーディオン
   ========================================================================== */

/* カード全体の器（白背景・大きな角丸） */
.job-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 24px !important;
    padding: 28px !important;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05) !important;
    margin-bottom: 24px !important;
    color: #0f172a !important;
    text-align: left !important;
}

/* 2. 1〜2行目を包む座布団 */
.job-card-header-wrapper {
    background: linear-gradient(135deg, #f0fdfa 0%, #eff6ff 100%) !important;
    border-radius: 16px !important;
    padding: 14px 20px !important; /* 上下を14pxに薄くして間延びを完全粉砕！ */
    margin-bottom: 20px !important;
    border: 1px solid #e2e8f0 !important;
}

/* 1段目：メタ情報 */
.job-meta-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
    flex-wrap: wrap !important;
}

/* 1. ポジションバッジの調整（背景を同化・文字をクッキリ強調） */
.job-position-capsule {
    display: inline-flex !important;
    align-items: center !important;
    background-color: transparent !important; /* 周辺の座布団背景と100%完全同化 */
    border: none !important;
    padding: 4px 0 !important;               /* 背景が透明なので左右の余白をリセット */
    font-size: 14px !important;              
    font-weight: 900 !important;              /* 太さで存在感を確保 */
    white-space: nowrap !important;
}
/* ポジション内のテキスト色の個別強調 */
.job-position-capsule .position-label {
    color: #e11d48 !important; 
    font-weight: 900 !important;
    margin-right: 4px !important;
}
.job-position-capsule .position-value {
    color: #1e3a8a !important; /* 濃いネイビー */
    font-weight: 900 !important;
}

/* 業務委託バッジ */
.job-contract-badge {
    font-size: 11px !important;
    background-color: #4f46e5 !important;
    color: #ffffff !important;
    padding: 4px 14px !important;
    border-radius: 9999px !important;
    font-weight: 800 !important;
    letter-spacing: 0.03em !important;
}
.job-company-name {
    font-size: 13px !important;
    color: #64748b !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
}

/* 2段目：主役レイヤー（一直線横並び） */
.job-main-header-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
    padding-bottom: 4px !important;
    flex-wrap: wrap !important;
}
.job-title-group {
    flex: 1 !important;
    min-width: 300px !important;
}
.job-card-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    display: block !important;
}
.job-action-wrap {
    display: flex !important;
    align-items: center !important;
}

/* 話を聞いてみるボタン（緑） */
.btn-listen-jobs {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #059669 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    padding: 12px 28px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.15) !important;
    white-space: nowrap !important;
}
.btn-listen-jobs:hover {
    background-color: #047857 !important;
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.25) !important;
}

/* 3段目：5列スペックシート（大きな薄グレーの角丸座布団 ＆ 縦線区切り） */
/* PC・タブレット共通：幅が狭くなったら自動で折り返す柔軟なFlex構造へ変更 */
.spec-grid-5 {
  display: flex !important;         /* gridからflexへ大動脈を切り替え */
  flex-wrap: wrap !important;       /* 画面幅が狭くなったら自動で折り返しを許可 */
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  padding: 16px !important;         /* 少しコンパクトに引き締め */
  border-radius: 16px !important;
  text-align: left !important;
  margin-bottom: 20px !important;
  gap: 12px 16px !important;        /* 横の隙間と、折り返したときの縦の隙間を確保 */
}
/* 各項目の幅を柔軟にし、右の縦線を「折り返し時」には消せるように調整 */
.spec-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  padding: 0 !important;
  border-right: none !important; 
  flex: 1 1 140px !important;    
  min-width: 120px !important;
}
.spec-grid-5 .spec-item:last-child {
    border-right: none !important; /* 最後の列は線なし */
}
.spec-label {
    font-size: 11px !important;
    color: #64748b !important;
    font-weight: 700 !important;
}
.spec-value {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}
.spec-value-highlight {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #16a34a !important;
}
.spec-value-blue {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #2563eb !important;
}
.spec-value-orange {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #ea580c !important;
}

/* 4段目：動的アコーディオン内部（4列横並び ＆ 縦線区切り ＆ はみ出しガード） */
.job-details-accordion {
    margin-top: 20px !important;
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 20px !important;
    text-align: left !important;
    width: 100% !important;
}
.accordion-inner {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 16px !important;
    background: #ffffff !important;
    width: 100% !important;
}
.detail-section {
    padding: 0 12px 0 0 !important;
    border-right: 1px solid #e2e8f0 !important;
    min-width: 0 !important;
}
.detail-section.no-border {
    border-right: none !important;
    padding-left: 12px !important;
}
.detail-section h4 {
    font-size: 13px !important;
    color: #0f172a !important;
    margin: 0 0 12px 0 !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
}
.detail-section h4 .dot-icon {
    font-size: 10px !important;
}
.detail-section p {
    font-size: 12px !important;
    color: #475569 !important;
    margin: 0 !important;
    line-height: 1.6 !important;
    word-break: break-all !important;
    overflow-wrap: break-word !important;
}

/* 5段目：開閉ボタン（青紫色のカプセル型） */
.toggle-container {
    text-align: center !important;
    margin-top: 16px !important;
}
.toggle-details-btn {
    background-color: #4f46e5 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 36px !important;
    border-radius: 9999px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2) !important;
    transition: all 0.2s !important;
}
/* ==========================================================================
  過去の参考案件（募集終了）専用のグレーアウト美化
 ========================================================================== */
/* 募集終了時のヘッダー座布団（一段階濃いめのクールグレーへチューニング） */
.job-card-header-wrapper.is-closed {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%) !important; /* クッキリとした濃いめのグレー */
    border: 1px solid #94a3b8 !important;                                    /* 枠線も合わせて少し濃くして引き締め */
}

/* 募集終了時：会社名やタイトルもグレーに負けないように少し濃いめの墨色に調整 */
.is-closed .job-company-name,
.is-closed .job-card-title {
    color: #334155 !important;
}

/* 募集終了時：会社名やタイトルを少しトーンダウンさせて「終了感」を演出 */
.is-closed .job-company-name,
.is-closed .job-card-title {
    color: #475569 !important;
}


/* ==========================================================================
  登録画面（register.php）専用マイルドスタイル
 ========================================================================== */
.register-container {
  max-width: 600px;
  margin: 40px auto;
  background: #ffffff;
  padding: 35px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}
.reg-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px dashed #e2e8f0;
}
.reg-back-link {
  display: inline-block;
  color: #475569;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 15px;
  transition: color 0.2s;
}
.reg-back-link:hover {
  color: #059669;
}
.reg-title {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
}
.reg-badge-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.reg-badge {
  background-color: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid #a7f3d0;
}
.possessed-card {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 30px;
  display: none;
}
.possessed-hint {
  font-size: 12px;
  color: #166534;
  margin-bottom: 6px;
  font-weight: 500;
}
.possessed-title {
  font-size: 16px;
  font-weight: 700;
  color: #14532d;
}
.form-group {
  margin-bottom: 24px;
}
.form-label {
  display: block;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 8px;
  color: #334155;
}
.required-tag {
  background-color: #fee2e2;
  color: #dc2626;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 700;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background-color: #f8fafc;
  color: #1e293b;
  box-sizing: border-box;
  transition: all 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: #10b981;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  cursor: pointer;
  padding: 10px 14px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: background-color 0.2s;
}
.radio-label:hover {
  background-color: #f1f5f9;
}
.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #10b981;
  margin: 0;
}
textarea.form-control {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}
.submit-area {
  margin-top: 35px;
}
.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
}
.submit-btn:active {
  transform: translateY(1px);
}

@media (max-width: 768px) {
  .register-container {
    padding: 25px 20px;
    border-radius: 16px;
    margin: 15px auto;
  }
  .reg-title {
    font-size: 20px;
  }
  .submit-btn {
    padding: 14px 16px;
    font-size: 15px;
  }
}

/* ==========================================================================
  【LP（index.php）専用スタイル】
 ========================================================================== */

/* 年収アップバッジの margin リセット */
.lp-badge-margin-override {
    margin: 0 !important;
}

/* 無料転職サポート登録のドット */
.lp-status-dot {
    color: #34d399;
    margin-right: 6px;
}

/* 7. 完全データ駆動化：強みセクションの基盤 */
.lp-reasons-section {
    margin-top: 55px;
    padding-top: 45px;
    border-top: 1px solid #e2e8f0;
    text-align: left;
    display: block !important;
}

/* 強みセクションのメインタイトル */
.lp-reasons-main-title {
    font-size: 28px;
    font-weight: 800;
    color: #064e3b;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
    display: block !important;
}

/* 各理由カードを包む縦並びコンテナ */
.lp-reason-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

/* 理由カード個別 */
.lp-reason-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 30px;
    box-sizing: border-box;
    display: block !important;
}

/* 理由のIDバッジ（例：01） */
.lp-reason-badge {
    display: inline-block;
    background: #064e3b;
    color: #34d399;
    font-size: 14px;
    font-weight: 900;
    padding: 4px 14px;
    border-radius: 9999px;
    margin-bottom: 15px;
}

/* 理由のタイトル */
.lp-reason-title {
    font-size: 22px;
    font-weight: 800;
    color: #022c22;
    margin: 0 0 15px 0;
}

/* 理由の説明文 */
.lp-reason-body {
    font-size: 14px;
    line-height: 1.75;
    color: #475569;
    margin: 0;
}

/* 確定した画像パーツを包むボックス */
.lp-reason-visual-image-box {
    text-align: center;
    margin-top: 20px;
    width: 100%;
}

/* 画像自体のリッチ装飾 */
.lp-reason-img {
    max-width: 100%;
    height: auto;
    max-height: 250px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

/* 準備中ダミー枠 */
.lp-reason-visual-box-dummy {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #64748b;
    font-weight: bold;
}

/* 最下部無料相談オファーエリア */
.lp-bottom-offer {
    margin-top: 50px;
    padding: 45px 30px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    text-align: center;
}

/* 最下部オファー：タイトル */
.lp-bottom-offer-title {
    font-size: 24px;
    font-weight: 800;
    color: #064e3b;
    margin: 0 0 12px 0;
    letter-spacing: -0.01em;
}

/* 最下部オファー：説明文 */
.lp-bottom-offer-desc {
    font-size: 14px;
    line-height: 1.75;
    color: #475569;
    max-width: 580px;
    margin: 0 auto 25px auto;
}

/* 移設バッジ風：30秒登録完了カプセル */
.lp-bottom-badge-capsule {
    display: inline-flex;
    align-items: center;
    background-color: #064e3b;
    color: #34d399;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

/* 最下部ボタン配置ラッパー */
.lp-bottom-btn-wrapper {
    display: flex;
    justify-content: center;
}

/* 最下部専用：極上オレンジボタン */
.lp-bottom-orange-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    padding: 18px 45px;
    border-radius: 14px;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.25);
    transition: all 0.2s ease;
    white-space: nowrap;
}


/* ===== 統合追加: 現行 sidebar / jobs.php 用 (_style.css) ===== */
:root{--side:286px;--blue:#176b8a;--orange:#ef7d00;--purple:#5144e8}*{box-sizing:border-box}body{margin:0;color:#101828;font-family:"Segoe UI","Noto Sans JP",sans-serif}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--side);padding:30px;background:#edf3f8;border-right:1px solid #d5dde5}.logo{display:block;margin-bottom:48px;color:#075b4d;font-size:30px;font-weight:900;text-decoration:none}.sidebar nav{display:grid;gap:14px}.sidebar nav a{padding:16px;border-radius:9px;color:#465b72;font-weight:800;text-decoration:none}.sidebar nav a.is-active{background:#9deccf;color:#075b4d}.sidebar nav .login{border:2px solid #0a2937;background:var(--blue);color:#fff;text-align:center}#main-content{margin-left:var(--side);padding:34px 54px}.actions{display:flex;justify-content:flex-end;gap:24px;margin-bottom:24px}.topbtn{display:inline-flex;align-items:center;justify-content:center;min-width:220px;height:58px;border-radius:10px;background:var(--blue);color:#fff;font-weight:900;text-decoration:none}.topbtn.keep{border:2px solid #e0aa08;background:#fff;color:#8b5700}.badge{margin-left:10px;padding:4px 11px;border-radius:999px;background:#f05b17;color:#fff}.box{margin-bottom:24px;padding:28px;border:1px solid #d5dfe8;border-radius:18px;background:#fff;box-shadow:0 2px 7px #0001}.hero{display:flex;align-items:center;justify-content:space-between;gap:24px}.orange{padding:18px 28px;border-radius:12px;background:var(--orange);color:#fff;font-weight:900;text-decoration:none}.grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.grid label,.kw{color:#53677e;font-size:13px;font-weight:800}.grid select,input,textarea{width:100%;margin-top:6px;padding:12px;border:1px solid #cbd7e3;border-radius:7px;font:inherit}.priority{display:flex;gap:10px;margin:18px 0;padding:14px;border:1px solid #ccd6e1;border-radius:9px}.priority label{padding:10px 14px;border:1px solid #ccd6e1;border-radius:7px;font-weight:800}.filterrow{display:flex;align-items:end;gap:14px}.kw{flex:1}.btn{padding:14px 26px;border:0;border-radius:7px;background:var(--purple);color:#fff;font-weight:900}.btn.gray{background:#e5ebf2;color:#43566c}.jobs{display:grid;gap:24px}.job{overflow:hidden;border:1px solid #bfcbd7;border-radius:10px}.job header{display:flex;align-items:center;gap:14px;padding:18px 24px;background:#eaf9fb}.job header h3{margin:0;font-size:23px}.jobbody{display:grid;grid-template-columns:34% 42% 24%}.jobbody>section,.jobbody>aside{padding:26px;border-right:1px solid #d6e0e8}.jobbody>aside{border:0}
/* .jobimg{width:100%;height:170px;object-fit:cover;border-radius:8px;background:#dff4f3} */
.jobimg{
    width:100%;
    height:auto;
    max-height:320px;
    object-fit:contain;
    border-radius:8px;
    background:#dff4f3;
}

.point{color:#ef4444;font-weight:900}
.spec div{padding:12px 0;border-bottom:1px solid #dde4eb}
.spec dt{color:#60758c;font-weight:800}
.spec dd{margin:7px 0 0;font-size:18px;font-weight:900}
.salary{color:#e95a00;font-size:21px;font-weight:900}.link{display:flex;justify-content:center;margin-top:15px;padding:14px;border:1px solid #7e8d9c;border-radius:6px;color:#172033;font-weight:900;text-decoration:none}

/* 求人一覧カードのキープボタン */
.jobbody > aside .link {
    width: 100%;
    min-width: 170px;
    min-height: 52px;
    box-sizing: border-box;
    align-items: center;
    font: inherit;
    cursor: pointer;
}

.jobbody > aside .job-keep-button {
    border: 2px solid #087f70;
    background: #ffffff;
    color: #075e54;
}

.jobbody > aside .job-keep-button:hover:not(:disabled),
.jobbody > aside .job-keep-button:focus-visible:not(:disabled) {
    background: #effaf7;
    border-color: #06695e;
}

.jobbody > aside .job-keep-button[aria-pressed="true"] {
    border-color: #e0a000;
    background: #fff7d6;
    color: #8b5700;
}

.jobbody > aside .job-keep-button[aria-pressed="true"]:hover:not(:disabled),
.jobbody > aside .job-keep-button[aria-pressed="true"]:focus-visible:not(:disabled) {
    background: #ffefad;
    border-color: #bd7c00;
}

.jobbody > aside .job-keep-button:disabled {
    cursor: wait;
    opacity: .7;
}

.recommend{padding:5px 9px;border-radius:999px;background:#ef5b12;color:#fff;font-size:12px;font-weight:900}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{display:grid;gap:8px;padding:22px;border:1px solid #ccd6e1;border-radius:10px;color:#172033;text-decoration:none}.row{display:flex;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid #dde4eb}.status{padding:5px 10px;border-radius:999px;background:#fff0e8;color:#b84300;font-weight:900}.timeline{border-left:3px solid #cbd5e1}.timeline li{padding:0 0 22px 20px}@media(max-width:900px){.grid{grid-template-columns:1fr 1fr}.jobbody{grid-template-columns:1fr}.cards{grid-template-columns:1fr 1fr}}@media(max-width:700px){.sidebar{position:static;width:auto}.sidebar nav{grid-template-columns:1fr 1fr}#main-content{margin:0;padding:18px}.actions,.hero,.filterrow{flex-direction:column;align-items:stretch}.grid,.cards{grid-template-columns:1fr}}

/* ===== 案件一覧ログインボタン色統一 ===== */
.sidebar nav .login,
.actions .topbtn:not(.keep) {
    border: 0;
    background: #9deccf;
    color: #075b4d;
    box-shadow: none;
}
.sidebar nav .login:hover,
.actions .topbtn:not(.keep):hover {
    background: #8be3c2;
    color: #064e3b;
}
.site-header__left .topbtn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:220px;
    height:58px;
    border-radius:10px;
    background:#9deccf;
    color:#075b4d;
    font-weight:900;
    text-decoration:none;
}

.site-header__left .topbtn:hover {
    background: #89e2bf;
}
/* MOCK registration */
.register-page{min-height:100vh;background:#f4f7f6}.reg-eyebrow{color:#047857;font-weight:800}.form-note{color:#64748b;font-size:12px}.register-error{padding:12px;border-radius:8px;background:#fef2f2;color:#b42318}.mail-modal[hidden]{display:none}.mail-modal{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:20px}.mail-modal-backdrop{position:absolute;inset:0;background:#0f172a9e}.mail-modal-panel{position:relative;z-index:1;width:min(680px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:30px;border-radius:18px;background:#fff}.mail-modal-close{position:absolute;right:16px;top:14px;border:0;border-radius:50%;width:38px;height:38px;font-size:24px}.mail-modal-eyebrow{color:#047857;font-weight:900}.mail-preview-meta{border:1px solid #dbe3eb;border-radius:10px;overflow:hidden}.mail-preview-meta div{display:grid;grid-template-columns:90px 1fr}.mail-preview-meta dt,.mail-preview-meta dd{margin:0;padding:12px}.mail-preview-body{margin-top:20px;padding:20px;border-radius:12px;background:#f8fafc}.mail-preview-link-box{padding:14px;border:1px dashed #94a3b8;border-radius:9px;background:#fff}.mail-preview-link-box code{display:block;color:#1d4ed8;overflow-wrap:anywhere}.mail-preview-note{color:#b45309;font-size:12px}.mail-modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:22px}.mail-primary-button,.mail-secondary-button{padding:13px 20px;border-radius:9px;font-weight:800}.mail-primary-button{border:1px solid #059669;background:#059669;color:#fff}.mail-secondary-button{border:1px solid #cbd5e1;background:#fff}.register-complete-container{max-width:620px}.register-block-link{display:flex;justify-content:center;margin-top:20px;text-decoration:none}.registration-success-panel{text-align:center;max-width:520px}body.is-modal-open{overflow:hidden}

/* ==========================================
   Page Navigation
========================================== */

.page-nav,
.page-breadcrumb {
    margin-bottom: 16px;
}

.page-nav a,
.page-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #087f70;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: color .2s ease;
}

.page-nav a:hover,
.page-breadcrumb a:hover {
    color: #06695d;
    text-decoration: underline;
}

.page-nav a:visited,
.page-breadcrumb a:visited {
    color: #087f70;
}

.page-nav a:focus,
.page-breadcrumb a:focus {
    outline: 2px solid rgba(8,127,112,.25);
    outline-offset: 2px;
}

/* Mobile Page Navigation Offset */
@media (max-width: 768px) {
    .page-nav,
    .page-breadcrumb {
        display: flex;
        align-items: center;
        min-height: 44px;
        margin-bottom: 16px;
        padding-left: 76px;
        padding-right: 12px;
        box-sizing: border-box;
    }

    .page-nav a,
    .page-breadcrumb a {
        line-height: 1.5;
        overflow-wrap: anywhere;
    }
}


/* ==========================================
   Mobile Back Link Offset
   固定メニューボタンとの重なりを防止
========================================== */
@media (max-width: 768px) {
    #main-content > .page-nav,
    #main-content > .page-breadcrumb,
    #main-content > a[href="mypage.php"],
    #main-content > nav:first-child {
        position: relative;
        z-index: 1;
        display: flex !important;
        align-items: center;
        min-height: 44px;
        margin: 0 12px 16px 76px !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    #main-content > a[href="mypage.php"],
    #main-content > .page-nav a,
    #main-content > .page-breadcrumb a,
    #main-content > nav:first-child a {
        color: #087f70 !important;
        font-weight: 700;
        line-height: 1.5;
        text-decoration: none;
        overflow-wrap: anywhere;
    }
}
/* ==========================================================================
   Shared header / footer final layout
   ========================================================================== */
.site-header {
    margin-left: var(--side);
    padding: 24px 54px 12px;
    background: #ffffff;
}

.site-header .actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    margin: 0;
}

.site-footer {
    margin-top: 40px;
    margin-left: var(--side);
    padding: 32px 54px;
    border-top: 1px solid #d8dee6;
    background: #ffffff;
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.site-footer__copyright {
    margin: 0;
    color: #475467;
}

.site-footer__links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 24px;
    color: #475467;
}

@media (max-width: 700px) {
    .site-header {
        margin-left: 0;
        padding: 18px;
    }

    .site-header .actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .site-header .topbtn {
        width: 100%;
        min-width: 0;
    }

    .site-footer {
        margin-top: 24px;
        margin-left: 0;
        padding: 24px 18px;
    }

    .site-footer__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .site-footer__links {
        justify-content: flex-start;
        gap: 12px 18px;
    }
}
/* ==========================================
   Hero Mobile Optimization
   ========================================== */

@media (max-width: 700px) {

    .hero {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .hero h1 {
        margin-bottom: 12px;
        line-height: 1.4;
        font-size: 32px;
    }

    .hero p {
        line-height: 1.8;
    }

    .hero .orange {
        width: 100%;
        min-height: 56px;

        display: flex;
        align-items: center;
        justify-content: center;

        text-align: center;

        padding: 16px 20px;
    }
}

/* ==========================================
   Header back navigation
   ========================================== */
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

.site-header__left {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
}

.site-header__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid #b8c4d1;
    border-radius: 8px;
    background: #ffffff;
    color: #172033;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.site-header__back:hover {
    background: #f3f7fa;
}

.site-header .actions {
    flex: 0 0 auto;
}

@media (max-width: 700px) {
    .site-header__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .site-header__left,
    .site-header__back {
        width: 100%;
    }

    .site-header .actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

/* 応募者ログイン状態による表示切替 */
[data-auth-only][hidden],
[data-guest-only][hidden] {
    display: none !important;
}


/* 採用手続き書類の一括提出 */
.procedure-bulk-file-picker {
    display: grid;
    gap: 8px;
    min-width: min(100%, 420px);
}
.procedure-bulk-file-picker > span:first-child {
    font-weight: 700;
}
.procedure-selected-file-name {
    color: #475569;
    overflow-wrap: anywhere;
}
.procedure-bulk-submit-area {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
    padding: 18px;
    border: 1px solid #dbe3ec;
    border-radius: 12px;
    background: #f8fafc;
}
.procedure-bulk-submit-area .procedure-note {
    margin: 0;
}
@media (max-width: 700px) {
    .procedure-bulk-submit-area {
        align-items: stretch;
        flex-direction: column;
    }
}
