/* form-stepper.css — HubSpot v2埋め込みフォーム(hbspt.forms.create)を3ステップUIへ
 * 一括置換した際に使う共通スタイル。seminar_20260731(#semform / .sd-steps)の見た目を
 * 踏襲しつつ、134ページに機械的に挿入するため全クラスを .hsform- プレフィックスで
 * スコープしている。対象ページ側には旧カスタムフォーム(.step/.field/.card__intro/
 * .steps__dot 等)の廃止済みCSSが<style>内に残置されているページが多く、同名クラスを
 * 再利用すると意図しない配色を継承してしまうため(実測確認済み)、新規クラス名で完全に
 * 分離している。
 *
 * 埋め込み先のページは全て --royal/--ink/--ink-2/--ink-3/--line/--line-2/--ease を
 * :root で定義済み(デザインシステム共通)なので、フォールバック値付きで参照する。
 */

.hsform-shell {
  width: 100%;
}

.hsform-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
}
.hsform-steps__label {
  font-size: 12.5px;
  font-weight: 700;
  margin-right: 2px;
  color: var(--ink-2, #3b4257);
}
.hsform-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e8ebf1;
  color: #8b93a5;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition:
    background 0.2s var(--ease, ease),
    color 0.2s var(--ease, ease);
}
.hsform-dot.is-active {
  background: var(--royal, #1f4dff);
  color: #fff;
}
.hsform-dot.is-done {
  background: #c9d4f7;
  color: var(--royal, #1f4dff);
}

.hsform-error {
  color: #e0245e;
  font-size: 13px;
  margin: 0 0 14px;
  font-weight: 700;
}

.hsform-step {
  display: none;
}
.hsform-step.is-active {
  display: block;
}

.hsform-field {
  margin: 0 0 14px;
}
.hsform-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink-2, #3b4257);
}
.hsform-star {
  color: #e0245e;
  margin-left: 2px;
}
.hsform-field input,
.hsform-field select,
.hsform-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line-2, #d2d8ea);
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--ink, #0a0e1a);
}
.hsform-field textarea {
  min-height: 130px;
  line-height: 1.85;
  resize: vertical;
}
.hsform-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23828a9c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.hsform-field input::placeholder,
.hsform-field textarea::placeholder {
  color: #a4abbd;
}
.hsform-field input:focus,
.hsform-field select:focus,
.hsform-field textarea:focus {
  outline: none;
  border-color: var(--royal, #1f4dff);
  box-shadow: 0 0 0 3px rgba(31, 77, 255, 0.12);
}

.hsform-frow {
  display: flex;
  gap: 10px;
}
.hsform-frow .hsform-field {
  flex: 1;
  min-width: 0;
}

.hsform-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--ink-3, #6b7287);
  line-height: 1.7;
  margin: 4px 0 18px;
  cursor: pointer;
}
.hsform-consent input {
  width: auto;
  margin-top: 3px;
  flex: none;
}
.hsform-consent a {
  color: var(--royal, #1f4dff);
  text-decoration: underline;
}

.hsform-btnrow {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.hsform-btn {
  flex: 1;
  border: 0;
  border-radius: 10px;
  font-weight: 900;
  font-size: 15px;
  padding: 14px 0;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s var(--ease, ease);
}
.hsform-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.hsform-btn--next {
  background: var(--royal, #1f4dff);
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 77, 255, 0.28);
}
.hsform-btn--next:hover {
  background: var(--royal-deep, #1736c7);
}
.hsform-btn--back {
  flex: 0 0 auto;
  width: 110px;
  background: #eef0f5;
  color: #4a5568;
}

.hsform-note {
  font-size: 11px;
  color: var(--ink-3, #6b7287);
  text-align: center;
  margin: 14px 0 0;
  line-height: 1.6;
}
