/* お問い合わせ／応募フォーム共通のスタイル（/contact/・/recruit/entry/・/recruit/indonesia/ で使用）
   色はサイト共通：オレンジ #EA5504 / 濃いオレンジ #C4400A / 鉄の黒 #262A2E / 線 #E5E4E1 */
.fm { --or: #EA5504; --or-d: #C4400A; --ink: #262A2E; --line: #E1DED8; }
.fm-req-note { margin-top: 10px; font-size: 13px; color: #6E7479; text-align: right; }
.fm-req { color: var(--or); font-weight: 700; margin-left: .35em; }
.fm-field { display: grid; grid-template-columns: clamp(120px, 12vw, 180px) minmax(0, 1fr); gap: 8px clamp(14px, 1.6vw, 26px); align-items: start; padding: clamp(6px, .7vw, 10px) 0; }
.fm-field__label { padding-top: 13px; font-size: clamp(13px, 1.05vw, 15px); font-weight: 700; line-height: 1.6; color: var(--ink); }
.fm-field__label small { display: block; font-size: 11px; font-weight: 500; color: #8A8F94; letter-spacing: .04em; }
.fm-field--radio .fm-field__label { padding-top: 8px; }
.fm-hint { margin-top: 6px; font-size: 12.5px; line-height: 1.8; color: #6E7479; }
.fm-input, .fm-textarea, .fm-select {
  width: 100%; background: #FCFBF9; border: 1px solid var(--line); border-radius: 2px;
  padding: 13px 16px; font: inherit; font-size: clamp(14px, 1.05vw, 15px); line-height: 1.7; color: var(--ink);
}
.fm-input::placeholder, .fm-textarea::placeholder { color: #A9A59D; }
.fm-input:focus, .fm-textarea:focus, .fm-select:focus { border-color: var(--or); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(234, 85, 4, .14); }
.fm-textarea { min-height: 150px; resize: vertical; }
.fm-radios { display: flex; flex-wrap: wrap; gap: 10px clamp(18px, 2.2vw, 32px); padding: 8px 0; }
.fm-radio { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(13px, 1.05vw, 15px); cursor: pointer; color: var(--ink); }
.fm-radio input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 22px; height: 22px; margin: 0; border: 1px solid #CFCBC4; border-radius: 50%; background: #fff; cursor: pointer; }
.fm-radio input:checked { border-color: var(--or); box-shadow: inset 0 0 0 5px var(--or); }
.fm-agree { display: flex; align-items: flex-start; gap: 14px; margin-top: clamp(18px, 2.2vw, 30px); font-size: clamp(13px, 1.05vw, 15px); line-height: 1.8; color: var(--ink); }
.fm-agree input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 24px; height: 24px; margin: 1px 0 0; border: 1px solid #CFCBC4; background: #fff; border-radius: 2px; cursor: pointer; }
.fm-agree input:checked { border-color: var(--or); background: var(--or) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 13 9 18 20 6'/%3E%3C/svg%3E") center / 15px 15px no-repeat; }
.fm-agree a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.fm-agree a:hover { color: var(--or); }
.fm-turnstile { margin-top: clamp(18px, 2vw, 26px); min-height: 65px; }
.fm-submit {
  display: flex; align-items: center; justify-content: center; gap: clamp(14px, 1.6vw, 26px);
  width: min(100%, 560px); margin-top: clamp(16px, 2vw, 26px);
  background: var(--or); color: #fff; border: 0; border-radius: 2px; cursor: pointer;
  font: inherit; font-size: clamp(15px, 1.35vw, 20px); font-weight: 700; letter-spacing: .08em;
  padding: clamp(14px, 1.5vw, 20px) clamp(20px, 2.4vw, 34px); transition: background-color 200ms;
}
.fm-submit:hover { background: var(--or-d); }
.fm-submit:disabled { background: #B9B4AC; cursor: default; }
.fm-status { margin-top: 14px; font-size: 14px; line-height: 1.9; color: #3B4045; min-height: 1em; }
.fm-status.is-error { color: var(--or-d); font-weight: 700; }
/* 完了表示（送信後にフォームと入れ替わる） */
.form-done { padding: clamp(28px, 3.4vw, 48px) clamp(20px, 3vw, 40px); border: 1px solid var(--line); background: #fff; text-align: center; }
.form-done__title { font-size: clamp(18px, 1.7vw, 24px); font-weight: 900; color: var(--ink); letter-spacing: .04em; }
.form-done__body { margin-top: 12px; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.9; color: #3B4045; }
/* ハニーポット：見えない・押せない位置に置く（display:none は使わない） */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 767.98px) {
  .fm-field { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .fm-field__label { padding-top: 0; }
  .fm-submit { width: 100%; }
  .fm-req-note { text-align: left; }
}
