@charset "UTF-8";
/* ==========================================================================
   recruitForm.css
   経験者採用 応募フォーム（入力 / 確認 / 完了）用 追加スタイル
   ・recruit.css（guideGroup / guideMainTitle など）を前提とした差分定義
   ・配置想定: /pre/css/recruitForm.css
   ・カラーは冒頭の --entry-key を変更すれば全体に反映されます
   ========================================================================== */

:root {
  --entry-key: #0b4da2;        /* キーカラー（ボタン・見出しライン） */
  --entry-key-dark: #093c7d;
  --entry-border: #d8dde3;
  --entry-bg: #f6f8fa;
  --entry-text: #333;
  --entry-error: #c0392b;
  --entry-error-bg: #fdf1f0;
  --entry-ok: #1e7d4f;
}

/* ---------- リード文 ---------- */
.entryLead {
  margin: 0 0 32px;
  padding: 20px 24px;
  background: var(--entry-bg);
  border-radius: 6px;
}
.entryLead__text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--entry-text);
}
.entryLead__text a {
  color: var(--entry-key);
  text-decoration: underline;
}

/* ---------- エラーサマリ ---------- */
.entryAlert {
  margin: 0 0 32px;
  padding: 18px 24px;
  border: 1px solid var(--entry-error);
  background: var(--entry-error-bg);
  border-radius: 6px;
}
.entryAlert__title {
  font-weight: 700;
  color: var(--entry-error);
  margin-bottom: 8px;
  font-size: 15px;
}
.entryAlert__list {
  list-style: disc;
  padding-left: 1.2em;
}
.entryAlert__list li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--entry-error);
}

/* ---------- ステップインジケーター（確認 / 完了画面用） ---------- */
.entryStep {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}
.entryStep__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #a4acb5;
  padding: 0 24px;
  position: relative;
}
.entryStep__item::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--entry-border);
}
.entryStep__item:last-child::after { display: none; }
.entryStep__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e5e9ee;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.entryStep__item.is-done { color: var(--entry-key); }
.entryStep__item.is-done .entryStep__num { background: var(--entry-key); }
.entryStep__item.is-current { color: var(--entry-key); font-weight: 700; }
.entryStep__item.is-current .entryStep__num {
  background: var(--entry-key);
  box-shadow: 0 0 0 4px rgba(11, 77, 162, .15);
}

/* ---------- 見出し内のラベル ---------- */
.entryRequired,
.entryOptional,
.entryNote {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  border-radius: 3px;
  vertical-align: middle;
  white-space: nowrap;
}
.entryRequired { background: var(--entry-error); color: #fff; }
.entryOptional { background: #8a949e; color: #fff; }
.entryNote {
  background: transparent;
  color: #6b7580;
  padding: 0;
  font-size: 12px;
}

/* ---------- 入力エリア ---------- */
.entryField {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.entryField--inline { align-items: baseline; }
.entryField__label { font-size: 13px; color: #6b7580; }
.entryUnit { font-size: 14px; color: var(--entry-text); }

.entryInput,
.entryTextarea {
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  color: var(--entry-text);
  padding: 12px 14px;
  border: 1px solid var(--entry-border);
  border-radius: 4px;
  background: #fff;
  box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.entryInput { width: 200px; }
.entryInput--wide { width: 100%; max-width: 420px; }
.entryInput--mid { width: 240px; }
.entryInput--short { width: 80px; text-align: center; }
.entryTextarea { width: 100%; max-width: 620px; resize: vertical; }

.entryInput:focus,
.entryTextarea:focus,
.entryCheck input:focus-visible {
  outline: none;
  border-color: var(--entry-key);
  box-shadow: 0 0 0 3px rgba(11, 77, 162, .12);
}
.entryInput::placeholder,
.entryTextarea::placeholder { color: #b3bac2; }

.entryCounter {
  width: 100%;
  max-width: 620px;
  margin-top: 6px;
  font-size: 12px;
  color: #8a949e;
  text-align: right;
}

/* ---------- 確認画面の表示テキスト ---------- */
.entryConfirmText {
  font-size: 15px;
  line-height: 1.9;
  color: var(--entry-text);
  padding: 10px 0;
  word-break: break-all;
}
.entryConfirmText--long {
  padding: 16px 18px;
  background: var(--entry-bg);
  border-radius: 4px;
  border-left: 3px solid var(--entry-key);
  white-space: normal;
}
.entryConfirmText--empty { color: #a4acb5; }
.entryAgreed {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--entry-ok);
  border-radius: 3px;
}

/* ---------- エラー表示 ---------- */
.guideGroup.is-error .guideMainTitle { color: var(--entry-error); }
.is-errorInput {
  border-color: var(--entry-error) !important;
  background: var(--entry-error-bg);
}
.entryError {
  width: 100%;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--entry-error);
}

/* ---------- 個人情報同意 ---------- */
.entryPrivacy {
  padding: 24px;
  background: var(--entry-bg);
  border-radius: 6px;
}
.entryPrivacy.is-error {
  background: var(--entry-error-bg);
  border: 1px solid var(--entry-error);
}
.entryPrivacy__text {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 16px;
}
.entryPrivacy__text a { color: var(--entry-key); text-decoration: underline; }
.entryCheck {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  cursor: pointer;
}
.entryCheck input {
  width: 20px;
  height: 20px;
  accent-color: var(--entry-key);
  cursor: pointer;
}

/* ---------- 完了 / エラー画面 ---------- */
.entryResult {
  text-align: center;
  padding: 40px 24px;
  background: var(--entry-bg);
  border-radius: 8px;
  margin-bottom: 32px;
}
.entryResult--error { background: var(--entry-error-bg); }
.entryResult__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--entry-ok);
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}
.entryResult__icon--error { background: var(--entry-error); }
.entryResult__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--entry-text);
  margin-bottom: 14px;
  line-height: 1.6;
}
.entryResult__text {
  font-size: 15px;
  line-height: 2;
  color: #555;
}

/* ---------- 今後の流れ ---------- */
.entryNotice {
  padding: 24px 28px;
  border: 1px solid var(--entry-border);
  border-radius: 6px;
  margin-bottom: 32px;
}
.entryNotice__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--entry-key);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--entry-border);
}
.entryNotice__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.entryNotice__list li {
  position: relative;
  padding-left: 1.2em;
  font-size: 14px;
  line-height: 1.9;
  color: #555;
}
.entryNotice__list li + li { margin-top: 10px; }
.entryNotice__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--entry-key);
}

/* ---------- 問合わせ先 ---------- */
.entryContact {
  padding: 22px 28px;
  background: var(--entry-bg);
  border-left: 3px solid var(--entry-key);
  border-radius: 4px;
}
.entryContact__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--entry-key);
  margin-bottom: 10px;
}
.entryContact__body {
  font-size: 14px;
  line-height: 2;
  color: var(--entry-text);
}

/* ---------- ボタン ---------- */
.entryBtns {
  margin-top: 40px;
  text-align: center;
}
.entryBtns--confirm {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}
.entryBtnForm { margin: 0; }
.entryBtn {
  display: inline-block;
  min-width: 260px;
  padding: 18px 40px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #fff;
  background: var(--entry-key);
  border: none;
  border-radius: 40px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
  transition: background .25s, transform .25s, box-shadow .25s, opacity .25s;
}
a.entryBtn { padding: 20px 40px; }
.entryBtn:hover {
  background: var(--entry-key-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(11, 77, 162, .25);
}
.entryBtn:active { transform: translateY(0); box-shadow: none; }
.entryBtn--back {
  background: #fff;
  color: #6b7580;
  border: 1px solid var(--entry-border);
}
.entryBtn--back:hover {
  background: #f0f3f6;
  color: var(--entry-text);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .08);
}
.entryBtn.is-sending,
.entryBtn:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.entryBtns__note {
  margin-top: 14px;
  font-size: 12px;
  color: #8a949e;
  text-align: center;
}

/* ---------- SP ---------- */
@media screen and (max-width: 767px) {
  .entryLead,
  .entryPrivacy { padding: 16px; }
  .entryField--split { gap: 6px 8px; }
  .entryInput { width: calc(50% - 34px); }
  .entryInput--wide,
  .entryInput--mid { width: 100%; max-width: none; }
  .entryInput--short { width: 72px; }
  .entryBtn { min-width: 0; width: 100%; padding: 16px; }
  .entryBtns--confirm { flex-direction: column-reverse; gap: 12px; }
  .entryBtnForm { width: 100%; }
  .entryRequired,
  .entryOptional { margin-left: 6px; }
  .entryStep__item { padding: 0 12px; font-size: 12px; gap: 6px; }
  .entryStep__num { width: 22px; height: 22px; font-size: 11px; }
  .entryConfirmText { padding: 4px 0; }
  .entryConfirmText--long { padding: 14px; }
  .entryResult { padding: 32px 16px; }
  .entryResult__icon { width: 54px; height: 54px; font-size: 26px; margin-bottom: 16px; }
  .entryResult__title { font-size: 18px; }
  .entryResult__text { font-size: 14px; line-height: 1.9; }
  .entryNotice { padding: 18px; }
  .entryContact { padding: 18px; }
  .entryContact__body { font-size: 13px; line-height: 1.9; }
  a.entryBtn { padding: 16px; }
}
