/* お問い合わせページ固有スタイル（contact-v1 モック移植・共通分は common.css） */

.wrap--form { max-width: 760px; }

/* ============ ページヘッド ============ */
.pagehead {
  position: relative;
  background: var(--grad);
  padding: 148px 0 132px;
  overflow: hidden;
}
.pagehead::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 5px 5px;
  opacity: 0.24;
  pointer-events: none;
}
.pagehead__inner { position: relative; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 11px;
}
/* タップ領域を 44px 以上にする（元は 24×22px）。左右 5px は gap の代わり（2026-08-10） */
.breadcrumb a { padding: 11px 5px; transition: opacity 0.2s ease; }
.breadcrumb a:hover { opacity: 0.6; }
.breadcrumb .sep { padding: 0 5px; opacity: 0.5; }
.pagehead__title {
  font-family: var(--font-en);
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: #fff;
}
.pagehead__sub { margin-top: 18px; color: #fff; font-size: 15px; font-weight: 900; }

/* ============ 本体 ============ */
.contactbody {
  position: relative;
  background: var(--paper);
  border-radius: 44px 44px 0 0;
  margin-top: -56px;
  z-index: 2;
  padding: 84px 0 120px;
}
.contact__lead { text-align: center; font-size: 14.5px; font-weight: 500; line-height: 2.2; margin-bottom: 44px; }

/* 送信エラー表示 */
.form-alert {
  border: 1px solid rgba(217, 83, 79, 0.35);
  background: rgba(217, 83, 79, 0.12);
  color: #FF8B84;
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
}

/* 対象タブ（フォーム1ページ統合案） */
.form-tabs {
  display: flex;
  background: var(--mist);
  border-radius: 50px;
  padding: 5px;
  margin-bottom: 12px;
}
.form-tabs button {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 50px;
  padding: 11px 10px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.form-tabs button.on { background: var(--accent-fill); color: var(--on-accent); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.4); }
.form-tabs__note { text-align: center; font-size: 11.5px; color: var(--ink-soft); margin-bottom: 36px; }

/* フォーム */
.form-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 44px 46px 40px;
}
.field { margin-bottom: 26px; }
.field__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 900;
  margin-bottom: 10px;
}
.badge {
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 8px;
  /* 面として塗るので CTA と同じ濃紺に揃える（淡い青 #3A8DE0 に白文字だと 3.46:1 で AA 未達） */
  background: var(--accent-fill);
  color: var(--on-accent);
}
.badge--opt { background: var(--mist); color: var(--ink-soft); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--mint-soft);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%239CA0AA' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}
.field input:focus, .field select:focus, .field textarea:focus {
  background: rgba(255, 255, 255, 0.10);
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(245, 245, 245, 0.4); }
.field textarea { min-height: 160px; resize: vertical; line-height: 1.9; }
.field__hint { font-size: 11.5px; color: var(--ink-soft); margin-top: 6px; }

/* バリデーション補助（contact.js が .field--error を付与） */
.field--error input,
.field--error select,
.field--error textarea {
  background: rgba(217, 83, 79, 0.10);
  border-color: rgba(217, 83, 79, 0.55);
}

/* 送信直前の同意チェック。指で押せる高さ（44px以上）を確保する。
   チェックボックス自体は 17px しかなく、ラベル全体でも高さ 23px だった（2026-08-10 SP チェック）。
   上下 padding で領域を稼ぎ、そのぶん margin を詰めて見た目の余白は元のまま保つ */
.agree {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  margin: 19px 0 15px;
  padding: 11px 0;
  min-height: 44px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.agree input { width: 24px; height: 24px; margin-top: 0; accent-color: var(--accent-fill); cursor: pointer; flex: none; }
.agree a { color: var(--blue-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.submit-row { text-align: center; }
.submit-row .pill-btn { font-size: 16px; padding: 15px 34px 15px 48px; }
.recaptcha-note {
  margin-top: 18px;
  text-align: center;
  font-size: 11px;
  color: var(--ink-soft);
  line-height: 1.9;
}
.recaptcha-note a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; }

/* 送信完了 */
.thanks {
  display: none;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 70px 40px;
}
.thanks.show { display: block; }
.thanks__icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}
.thanks__title { font-family: var(--font-en); font-size: 26px; font-weight: 700; margin-bottom: 14px; }
.thanks__text { font-size: 14px; font-weight: 500; line-height: 2.15; margin-bottom: 28px; }
.thanks__note { font-size: 11.5px; color: var(--ink-soft); margin-top: 20px; }

/* ============ レスポンシブ ============ */
@media (max-width: 700px) {
  .pagehead { padding: 120px 0 110px; }
  .form-card { padding: 30px 22px 28px; }
  .form-tabs button { font-size: 12px; }
}


/* 掲載の必須条件（2026-08-06 ABOUT-05 で /about/ から移設）。
   企業タブを選択しているときだけ表示する（求職者には関係のない情報のため） */
.cterms {
  display: none;
  margin-bottom: 26px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}
body.is-company-tab .cterms { display: block; }
.cterms__title {
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 14px;
}
.cterms__list li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink-soft);
}
.cterms__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
