@charset "utf-8";
/* =========================================================================
   recruit.css : 日本語講師募集（recruit.blade.php）専用デザイン。

   ▼ 方針
     - FAQ(.faq-page)／ご利用方法(.manual-page)／about(.about-page) と
       まったく同じデザイントークン・カード調で統一する。
     - レイアウト土台（.main-layout / .main）・サイドバー(#sidebar)・
       ヒーロー装飾の打ち消し方などは common-page.css の共有定義を共用し、
       ここでは「講師募集ページ固有のパーツ」だけを .recruit-page 配下に足す。
     - 本ページはログイン前専用（ログイン後は使用しない）。

   ▼ 読み込み順の注意
     common.css（Tailwind の [type='text'] リセット, 詳細度 0,1,0）が
     このファイルより後に読み込まれて入力欄の枠を打ち消すため、
     入力欄は .recruit-page を前置して詳細度(0,2,0)に上げ、
     appearance / box-sizing も明示リセットして確実に勝たせる。

   ▼ デザイントークン（common-page.css / common-form.css と同値）
     primary blue #59b8e8 / hover #45a9dd / soft #f0faff / bg #eaf6fd
     amber #ff9f43 / red #ef6b75
     text #1f2937 / muted #4b5563 / muted2 #64748b / faint #94a3b8
     border #eceff3 / border2 #e2e8f0
   ========================================================================= */

.recruit-page {
  --rec-blue: #59b8e8;
  --rec-blue-hover: #45a9dd;
  --rec-blue-soft: #f0faff;
  --rec-blue-bg: #eaf6fd;
  --rec-amber: #ff9f43;
  --rec-amber-soft: #fff6ec;
  --rec-red: #ef6b75;
  --rec-red-soft: #fef2f2;
  --rec-text: #1f2937;
  --rec-muted: #4b5563;
  --rec-muted2: #64748b;
  --rec-faint: #94a3b8;
  --rec-border: #eceff3;
  --rec-border2: #e2e8f0;

  max-width: 880px;
  margin: 0 auto;
  font-family: 'Noto Sans JP', 'ヒラギノ角ゴシック', 'Hiragino Sans', sans-serif;
  color: var(--rec-text);
  -webkit-font-smoothing: antialiased;
}

/* ===== ヒーロー（about / manual と同調） ===== */
.recruit-hero { text-align: center; padding: 1rem 0 1.5rem; }
.recruit-hero-icon {
  width: 56px; height: 56px; margin: 0 auto 1.125rem; border-radius: 18px;
  background: var(--rec-blue-bg); color: var(--rec-blue);
  display: flex; align-items: center; justify-content: center;
}
/* 完了ページ用：達成感のあるグリーンのチェック */
.recruit-hero-icon.is-success { background: #e9f9ef; color: #22a565; }
.recruit-page h1.recruit-hero-title {
  margin: 0 0 .75rem; font-size: 1.85rem; font-weight: 800; letter-spacing: .02em;
  color: var(--rec-text);
  /* style.css の h1.page-title 装飾（青帯）を打ち消す */
  background: none; border: 0; box-shadow: none; padding: 0;
}
@media (min-width: 768px) { .recruit-page h1.recruit-hero-title { font-size: 2rem; } }
.recruit-page .recruit-hero-lead {
  margin: 0 auto; max-width: 42em; font-size: 1rem; line-height: 1.8; color: var(--rec-muted2);
}

/* ===== セクションカード（about-section / manual-section と同調） ===== */
.recruit-section {
  background: #fff; border: 1px solid var(--rec-border); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,.03); padding: 24px 26px; margin-bottom: 18px;
}
.recruit-section-head { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.recruit-section-bar { flex: 0 0 auto; width: 9px; height: 24px; border-radius: 5px; background: var(--rec-blue); }
.recruit-page h2.recruit-section-title {
  margin: 0; font-size: 1.2rem; font-weight: 800; color: var(--rec-text);
  background: none; border: 0; padding: 0; line-height: 1.45;   /* 旧 .title 装飾を打ち消し */
}

/* 本文テキスト（.main-layout p{margin:0} に勝つよう (0,2,1) でスコープ） */
.recruit-page .recruit-section p { margin: 0 0 .9rem; font-size: 15px; line-height: 1.95; color: var(--rec-muted); }
.recruit-page .recruit-section p:last-child { margin-bottom: 0; }
.recruit-page .recruit-section b,
.recruit-page .recruit-section strong { color: var(--rec-text); font-weight: 700; }
.recruit-page .recruit-section a:not(.pill-btn) { color: #2b9fd6; text-decoration: underline; font-weight: 600; word-break: break-all; }
.recruit-page .recruit-section a:not(.pill-btn):hover { color: #1f7fb0; }

/* 注記（※・補足） */
.recruit-page .recruit-note {
  margin: 16px 0 0; padding: 12px 16px; border-radius: 12px;
  background: #f8fafc; border: 1px solid var(--rec-border2);
  font-size: 14.5px; line-height: 1.9; color: var(--rec-muted2);
}

/* ===== 応募条件リスト（チェックアイコン付き） ===== */
.recruit-reqs { list-style: none; margin: 4px 0 0; padding: 0; }
.recruit-reqs li {
  position: relative; padding-left: 32px; margin-bottom: 12px;
  font-size: 15px; line-height: 1.8; color: var(--rec-muted);
}
.recruit-reqs li:last-child { margin-bottom: 0; }
.recruit-reqs li::before {
  content: "\f058";                          /* FontAwesome circle-check */
  font-family: "Font Awesome 6 Free", "FontAwesome"; font-weight: 400;
  position: absolute; left: 0; top: .12em;
  color: var(--rec-blue); font-size: 1.15em; line-height: 1.4;
}
/* 特に重視する条件：濃い文字＋塗りチェックで強調 */
.recruit-reqs li.is-key {
  color: var(--rec-text); font-weight: 700;
}
.recruit-reqs li.is-key::before { font-weight: 900; color: var(--rec-blue-hover); }

/* ===== ドットリスト（レッスン時間・報酬など） ===== */
.recruit-list { list-style: none; margin: 4px 0 0; padding: 0; }
.recruit-list li {
  position: relative; padding-left: 22px; margin-bottom: 12px;
  font-size: 15px; line-height: 1.9; color: var(--rec-muted);
}
.recruit-list li:last-child { margin-bottom: 0; }
.recruit-list li::before {
  content: ""; position: absolute; left: 2px; top: .72em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--rec-blue);
}

/* ===== 必要なもの（カードグリッド） ===== */
.recruit-needs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 4px;
}
.recruit-need {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--rec-border); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.03); padding: 20px 18px;
  transition: box-shadow .15s, transform .15s, border-color .15s;
}
.recruit-need:hover {
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.14); border-color: #dceefb; transform: translateY(-2px);
}
.recruit-need-thumb {
  width: 72px; height: 72px; margin-bottom: 12px; border-radius: 16px;
  background: var(--rec-blue-soft);
  display: flex; align-items: center; justify-content: center;
}
.recruit-need-thumb img { max-width: 46px; max-height: 46px; width: auto; height: auto; }
.recruit-page .recruit-need p {
  margin: 0; font-size: 14px; line-height: 1.8; color: var(--rec-muted2);
}
.recruit-page .recruit-need a { color: #2b9fd6; font-weight: 700; text-decoration: none; }
.recruit-page .recruit-need a:hover { text-decoration: underline; }

/* ===== 講師になるまで（縦タイムライン） ===== */
.recruit-flow { margin: 4px 0 0; padding: 0; list-style: none; position: relative; }
.recruit-flow-step { position: relative; display: flex; gap: 16px; padding-bottom: 18px; }
.recruit-flow-step:last-child { padding-bottom: 0; }
/* 番号の下に伸びる縦線（次のステップへつなぐ） */
.recruit-flow-step:not(:last-child)::before {
  content: ""; position: absolute; left: 17px; top: 36px; bottom: 0;
  width: 2px; background: var(--rec-border2);
}
.recruit-flow-num {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
  background: var(--rec-blue); color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center; z-index: 1;
  box-shadow: 0 4px 10px -3px rgba(89,184,232,.5);
}
.recruit-flow-body {
  flex: 1 1 auto; min-width: 0; padding-top: 6px;
  font-size: 15px; line-height: 1.8; color: var(--rec-muted);
}
.recruit-flow-body .recruit-flow-sub { display: block; margin-top: 2px; font-size: 13px; color: var(--rec-faint); }

/* ===== 登録フォームカード ===== */
.recruit-form { padding-top: 4px; }
.recruit-page .recruit-form-lead { font-size: 15px; line-height: 1.95; color: var(--rec-muted); margin: 0 0 4px; }

/* Zoom 移行のお知らせ（注意喚起の帯） */
.recruit-page .recruit-migrate {
  margin: 18px 0 6px; padding: 13px 16px; border-radius: 12px;
  background: var(--rec-amber-soft); border: 1px solid #ffe4c4; border-left: 4px solid var(--rec-amber);
  font-size: 14.5px; line-height: 1.8; font-weight: 700; color: #b45309;
}

/* --- フィールド（ラベル上・入力下の縦積み） --- */
.recruit-fields { margin-top: 18px; }
.recruit-field { margin-bottom: 20px; }
.recruit-field:last-of-type { margin-bottom: 0; }
.recruit-page .recruit-label {
  display: block; margin: 0 0 8px;
  font-size: 14.5px; font-weight: 700; color: var(--rec-text); line-height: 1.5;
}
.recruit-label .recruit-req-mark {
  display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .02em;
  background: var(--rec-red-soft); color: var(--rec-red); vertical-align: 2px;
}
.recruit-label .recruit-opt-mark {
  display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .02em;
  background: #f1f5f9; color: var(--rec-muted2); vertical-align: 2px;
}
.recruit-page .recruit-hint { margin: 8px 0 0; font-size: 13px; line-height: 1.85; color: var(--rec-muted2); }
.recruit-page .recruit-hint a { color: #2b9fd6; font-weight: 600; text-decoration: none; }
.recruit-page .recruit-hint a:hover { text-decoration: underline; }
.recruit-hint .recruit-howto-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
}
.recruit-hint .recruit-howto-link img { vertical-align: middle; }

/* 案内文（面接可能時間帯など、入力欄の上に置く説明ブロック） */
.recruit-page .recruit-field-note {
  margin: 0 0 10px; padding: 11px 15px; border-radius: 10px;
  background: #f8fafc; border: 1px solid var(--rec-border2);
  font-size: 14px; line-height: 1.9; color: var(--rec-muted2);
}

/* --- 入力欄（common.css の Tailwind リセットに確実に勝つ (0,2,0)） --- */
.recruit-page .form-control {
  -webkit-appearance: none; appearance: none; box-sizing: border-box;
  width: 100%; padding: .8rem 1rem;
  border: 1px solid var(--rec-border2); border-radius: 12px;
  background-color: #fff; color: var(--rec-text);
  font-size: 1rem; line-height: 1.6; font-family: inherit;
  box-shadow: none; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.recruit-page textarea.form-control { resize: vertical; min-height: 3.5rem; }
.recruit-page .form-control::placeholder { color: var(--rec-faint); }
.recruit-page .form-control:focus {
  border-color: var(--rec-blue);
  box-shadow: 0 0 0 3px rgba(89, 184, 232, .18);
}

/* エラー */
.recruit-page .error-box {
  margin: .6rem 0 0; padding: .55rem .85rem; border-radius: 10px;
  background-color: var(--rec-red-soft); color: var(--rec-red);
  font-size: .85rem; font-weight: 600; line-height: 1.6;
}

/* 送信ボタン行 */
.recruit-submit-row { margin-top: 26px; text-align: center; }
.recruit-page .recruit-submit { min-width: 240px; justify-content: center; }
.recruit-page .recruit-submit i { margin-left: 2px; }

/* ===== 応募後の注意（チェックリスト） ===== */
.recruit-checks {
  margin-top: 18px; background: #fff; border: 1px solid var(--rec-border);
  border-radius: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.03); padding: 22px 24px;
}
.recruit-checks-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.02rem; font-weight: 800; color: var(--rec-text); margin: 0 0 14px;
}
.recruit-checks-title .recruit-section-bar { height: 22px; }
.recruit-page ul.recruit-check-list { margin: 0; padding: 0; list-style: none; }
.recruit-page ul.recruit-check-list > li {
  position: relative; padding-left: 30px; margin-bottom: 14px;
  font-size: 14px; line-height: 1.85; color: var(--rec-muted);
}
.recruit-page ul.recruit-check-list > li:last-child { margin-bottom: 0; }
.recruit-page ul.recruit-check-list > li::before {
  content: "\f058"; font-family: "Font Awesome 6 Free", "FontAwesome"; font-weight: 400;
  position: absolute; left: 0; top: .18em; color: var(--rec-blue);
  font-size: 1.05em; line-height: 1.45;
}
.recruit-page .recruit-check-list strong { color: var(--rec-text); font-weight: 700; }
.recruit-page .recruit-check-list a { color: #2b9fd6; font-weight: 600; text-decoration: underline; }
.recruit-page .recruit-check-list a:hover { color: #1f7fb0; }

/* ===== よくある質問（Q&A） ===== */
.recruit-qa {
  margin-top: 18px; background: linear-gradient(180deg, #f5fbff 0%, #ffffff 70%);
  border: 1px solid #dcefff; border-radius: 16px; padding: 20px 24px;
}
.recruit-qa-item { padding: 14px 0; border-top: 1px solid var(--rec-border); }
.recruit-qa-item:first-child { padding-top: 0; border-top: 0; }
.recruit-qa-item:last-child { padding-bottom: 0; }
/* .main-layout p{margin:0}(0,1,1) に勝つよう .recruit-page を前置(0,2,0)して
   下マージンを効かせ、Q と A の間に余白を作る。 */
.recruit-page .recruit-qa-q {
  display: flex; gap: 10px; align-items: baseline;
  font-size: 15px; font-weight: 800; color: var(--rec-text); line-height: 1.6; margin: 0 0 12px;
}
.recruit-qa-q::before {
  content: "Q"; flex: 0 0 auto;
  width: 24px; height: 24px; border-radius: 7px; align-self: flex-start;
  background: var(--rec-blue); color: #fff; font-size: 13px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.recruit-page .recruit-qa-a {
  display: flex; gap: 10px; margin: 0; font-size: 14px; line-height: 1.9; color: var(--rec-muted);
}
.recruit-qa-a::before {
  content: "A"; flex: 0 0 auto;
  width: 24px; height: 24px; border-radius: 7px; align-self: flex-start;
  background: #eef2f6; color: var(--rec-muted2); font-size: 13px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}

/* =========================================================================
   確認ページ（confirm.blade.php）：入力内容のレビュー表示。
   .recruit-page のトークン・カード調を共用し、ここでは「ラベル／値の一覧」
   と「戻る・送信」のアクション行だけを足す。
   ========================================================================= */

/* リード文（案内） */
.recruit-page .recruit-confirm-lead { font-size: 15px; line-height: 1.95; color: var(--rec-muted); margin: 0 0 4px; }

/* ラベル＋値の一覧（旧 th/td テーブルの置き換え） */
.recruit-review { margin: 14px 0 0; padding: 0; }
.recruit-review-row {
  display: grid; grid-template-columns: 190px 1fr; gap: 6px 24px;
  padding: 15px 4px; border-top: 1px solid var(--rec-border);
}
.recruit-review-row:first-child { border-top: 0; padding-top: 2px; }
.recruit-review-row:last-child { padding-bottom: 2px; }
.recruit-page .recruit-review-label {
  margin: 0; font-size: 14px; font-weight: 700; color: var(--rec-text); line-height: 1.6;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.recruit-page .recruit-review-value {
  margin: 0; font-size: 15px; line-height: 1.9; color: var(--rec-muted); word-break: break-word;
}
/* 未記入（薄いグレー） */
.recruit-page .recruit-review-value .is-empty { color: var(--rec-faint); }
/* プロフィール写真 */
.recruit-page .recruit-review-value img {
  display: block; max-width: 240px; width: 100%; height: auto; margin-top: 2px;
  border-radius: 12px; border: 1px solid var(--rec-border2);
  box-shadow: 0 4px 16px -6px rgba(0,0,0,.14);
}

/* 戻る・送信のアクション行 */
.recruit-confirm-actions {
  display: flex; justify-content: center; gap: 12px; margin-top: 24px;
}
.recruit-page .recruit-confirm-actions .pill-btn { min-width: 190px; justify-content: center; }

/* =========================================================================
   完了ページ（finish.blade.php）：登録完了メッセージ＋メール設定の案内。
   .recruit-page のトークン・カード調を共用する。
   ========================================================================= */

/* メール設定の案内（プロバイダ別のサブカード） */
.recruit-guide { display: grid; gap: 12px; margin-top: 14px; }
.recruit-guide-item {
  background: #fff; border: 1px solid var(--rec-border2); border-radius: 12px;
  padding: 15px 17px;
}
.recruit-guide-head {
  display: flex; align-items: center; gap: 9px; margin: 0 0 8px;
  font-size: 14.5px; font-weight: 800; color: var(--rec-text);
}
.recruit-guide-head::before {
  content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%;
  background: var(--rec-blue);
}
.recruit-page .recruit-guide-item p { margin: 0 0 10px; font-size: 14px; line-height: 1.85; color: var(--rec-muted); }
.recruit-page .recruit-guide-item p:last-child { margin-bottom: 0; }
.recruit-page a.recruit-guide-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: #2b9fd6; text-decoration: none; word-break: break-word;
}
.recruit-page a.recruit-guide-link:hover { color: #1f7fb0; text-decoration: underline; }
.recruit-guide-link svg { flex: 0 0 auto; }

/* 結びの署名 */
.recruit-page .recruit-signoff { margin: 18px 0 0; font-size: 15px; line-height: 1.95; color: var(--rec-muted); }
.recruit-page .recruit-signoff .recruit-brand { display: block; margin-top: 4px; color: var(--rec-text); letter-spacing: .02em; }

/* ===== スマホ ===== */
@media (max-width: 640px) {
  .recruit-needs { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .recruit-section { padding: 20px 18px; }
  .recruit-checks { padding: 18px 16px; }
  .recruit-qa { padding: 18px 16px; }
  .recruit-page .recruit-submit { width: 100%; min-width: 0; }
  .recruit-flow-step { gap: 12px; }

  /* 確認ページ：ラベルを値の上に縦積み */
  .recruit-review-row { grid-template-columns: 1fr; gap: 3px; padding: 13px 2px; }
  .recruit-page .recruit-review-label { font-size: 13px; color: var(--rec-muted2); }
  .recruit-confirm-actions { flex-direction: column; gap: 10px; }
  .recruit-page .recruit-confirm-actions .pill-btn { width: 100%; min-width: 0; }
}
