@charset "UTF-8";
/* ============================================================
   form-reserve.css
   /form/reserve/ 申込希望フォーム専用。
   renewal-layout（top-renewal.css + guide-common.css）の上に載せる。
   共通CSS（top-renewal.css / guide-common.css / form.css）は変更しない。
   ============================================================ */

/* ------------------------------------------------------------
   ページ全体：ルナ（右レール）は出さず、本文を中央に置く
   ------------------------------------------------------------ */
.reserve-form-layout .desktop-world {
  display: none !important;
}

@media (min-width: 980px) {
  .reserve-form-layout .site-header,
  .reserve-form-layout .top-page,
  .reserve-form-layout .site-footer {
    width: min(760px, calc(100vw - 48px));
    margin-right: auto;
    margin-left: auto;
  }
}

/* 申込フォーム上で「申し込む」固定CTAは不要 */
.reserve-form-layout .fixed-actions {
  display: none !important;
}

.reserve-form-page {
  padding-bottom: 40px;
}

/* ------------------------------------------------------------
   本文コンテナ
   ------------------------------------------------------------ */
.reserve-form {
  box-sizing: border-box;
  width: calc(100% - 40px);
  margin: 26px auto 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
}

.reserve-form *,
.reserve-form *::before,
.reserve-form *::after {
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .reserve-form {
    width: calc(100% - 28px);
    margin-top: 20px;
  }
}

/* ------------------------------------------------------------
   ステップ表示
   ------------------------------------------------------------ */
.reserve-steps {
  display: flex;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.reserve-steps li {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .reserve-steps li {
    font-size: 0.7rem;
  }
}

.reserve-steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e7ebec;
  color: var(--paper);
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
}

.reserve-steps li.is-current {
  border-color: transparent;
  background: var(--orange);
  color: var(--paper);
}

.reserve-steps li.is-current span {
  background: rgba(255, 255, 255, 0.34);
}

.reserve-steps li.is-done {
  border-color: #ffd9c8;
  background: #fff4ee;
  color: #c2521f;
}

.reserve-steps li.is-done span {
  background: #ffb495;
}

.reserve-lead {
  margin: 0 0 22px;
  color: #4f575b;
}

/* ------------------------------------------------------------
   フォーム本体
   ------------------------------------------------------------ */
#myform {
  margin: 0 0 8px;
}

#myform .dl_form {
  margin: 0 0 16px;
  padding: 20px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(45, 52, 54, 0.05);
}

@media (max-width: 600px) {
  #myform .dl_form {
    padding: 16px 14px 18px;
    border-radius: 14px;
  }
}

/* 見出し（dt） */
#myform dt {
  margin: 22px 0 8px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.55;
}

#myform dt:first-child {
  margin-top: 0;
}

#myform dt span {
  font-size: 0.86rem;
  font-weight: 400;
}

#myform dd {
  margin: 0 0 10px;
}

/* 必須／任意バッジ */
#myform .req::before,
#myform .any::before {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px 3px;
  border-radius: 999px;
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: 2px;
}

#myform .req::before {
  content: "必須";
  background: var(--coral);
}

#myform .any::before {
  content: "任意";
  background: #aab4b6;
}

/* ------------------------------------------------------------
   入力部品
   ------------------------------------------------------------ */
#myform input,
#myform select,
#myform textarea {
  width: 100%;
  font-family: inherit;
}

#myform input[type="text"],
#myform input[type="tel"],
#myform input[type="email"],
#myform input[type="number"],
#myform select,
#myform textarea {
  padding: 0 12px;
  border: 1px solid #dfe4e5;
  border-radius: 10px;
  background: #fcfdfd;
  color: var(--text);
  font-size: 16px; /* iOS の自動ズーム防止のため 16px 未満にしない */
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
}

#myform input[type="text"],
#myform input[type="tel"],
#myform input[type="email"],
#myform input[type="number"],
#myform select {
  height: 48px;
}

#myform select {
  padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, #8b9698 50%), linear-gradient(135deg, #8b9698 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

#myform textarea {
  min-height: 7.5em;
  padding: 10px 12px;
  line-height: 1.7;
  resize: vertical;
}

#myform input::placeholder,
#myform textarea::placeholder {
  color: #a9b2b4;
}

#myform input:focus,
#myform select:focus,
#myform textarea:focus {
  border-color: var(--orange);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.16);
  outline: none;
}

#myform input:disabled,
#myform select:disabled {
  background: #f2f4f4;
  color: #a9b2b4;
}

#myform input[type="file"] {
  height: auto;
  padding: 10px 0;
  border: none;
  background: none;
  font-size: 0.9rem;
}

#myform input[type="checkbox"],
#myform input[type="radio"] {
  width: 21px;
  height: 21px;
  margin: 0 8px 0 0;
  accent-color: var(--orange);
  vertical-align: middle;
}

#myform label {
  cursor: pointer;
  vertical-align: middle;
}

#myform input[type="number"]::-webkit-outer-spin-button,
#myform input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

#myform input[type="number"] {
  -moz-appearance: textfield;
}

/* ------------------------------------------------------------
   並びのバリエーション
   ------------------------------------------------------------ */
#myform dd.date_box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}

#myform dd.date_box div {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

#myform dd.radio_box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#myform dd.radio_box div {
  display: flex;
  flex: 1 1 44%;
  align-items: center;
  min-height: 46px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #dfe4e5;
  border-radius: 10px;
  background: #fcfdfd;
}

#myform dd.radio_box div:has(input:checked) {
  border-color: var(--orange);
  background: #fff5f0;
}

#myform .sex_box {
  display: flex;
  gap: 12px;
}

#myform .sex_box dd {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  gap: 8px;
}

#myform .sex_box dd p {
  margin: 0;
  white-space: nowrap;
  font-weight: 700;
}

#myform .form_flex_2 {
  display: flex;
  gap: 10px;
}

#myform .form_flex_2 select {
  flex: 1 1 0;
}

/* 緊急連絡先＋続柄の横並び（インラインstyleで組まれている箇所） */
#myform #parent_item5 {
  white-space: nowrap;
  font-size: 0.9rem;
}

#myform #parent_item5::before {
  margin-right: 4px;
  padding: 2px 5px 3px;
  font-size: 0.62rem;
}

#myform dd.minor select {
  padding: 0 24px 0 8px;
  font-size: 14px;
  background-position: calc(100% - 12px) 21px, calc(100% - 7px) 21px;
}

#myform p.sub_head {
  margin: 12px 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
}

/* 住所検索ボタン */
#myform button[type="button"] {
  width: auto;
  height: 48px;
  margin-left: 6px;
  padding: 0 16px;
  border: 1px solid var(--btn-plain-border);
  border-radius: 10px;
  background: var(--btn-plain-bg);
  color: var(--btn-plain-text);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

#myform button[type="button"]:hover {
  background: var(--btn-plain-hover-bg);
}

/* 注意書き（インラインstyleの赤文字より前に効かせるものだけ） */
.reserve-form .sml {
  font-size: 0.84rem;
  line-height: 1.7;
}

/* 各設問に添えた注意書き（インラインstyleで色だけ指定されている） */
#myform .dl_form p {
  margin: 6px 0 10px;
  font-size: 0.88rem;
  line-height: 1.7;
}

#myform .dl_form dt + p,
#myform .dl_form dd + p {
  margin-top: 4px;
}

.reserve-form .bold,
.reserve-form .txt_b,
.reserve-form .b {
  font-weight: 700;
}

.reserve-form .red {
  color: var(--guide-red);
}

/* 旧共通CSSの .pc / .sp 出し分け（このページ内でのみ使用） */
.reserve-form .sp {
  display: none;
}

@media (max-width: 600px) {
  .reserve-form .pc {
    display: none;
  }
  .reserve-form .sp {
    display: inline;
  }
}

#myform ul.doc_list,
#myform .dl_form ul {
  margin: 6px 0 10px;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  line-height: 1.75;
}

#myform ul.doc_list li.doc_list__item span {
  color: var(--coral);
  font-weight: 700;
}

/* ------------------------------------------------------------
   同意チェック
   ------------------------------------------------------------ */
#myform div.confirm_check {
  margin: 22px 0;
  padding: 18px 18px 20px;
  border: 1px solid #ffd9c8;
  border-radius: 16px;
  background: #fff6f1;
  text-align: center;
}

#myform div.confirm_check p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.75;
  text-align: left;
}

#myform div.confirm_check label {
  font-size: 0.98rem;
  font-weight: 700;
}

/* ------------------------------------------------------------
   ボタン
   ------------------------------------------------------------ */
.reserve-form .cnt {
  text-align: center;
}

.reserve-form .form-btn-style-send,
.reserve-form .form-btn-style-back {
  width: 100%;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  letter-spacing: 0.04em;
  -webkit-appearance: none;
  appearance: none;
}

.reserve-form .form-btn-style-send {
  min-height: 64px;
  margin: 24px auto 8px;
  padding: 14px 18px;
  background: var(--btn-order-bg);
  box-shadow: 0 14px 30px rgba(255, 107, 53, 0.28);
  color: var(--btn-order-text);
  font-size: 1.25rem;
  line-height: 1.4;
}

.reserve-form .form-btn-style-back {
  min-height: 52px;
  margin: 20px auto 24px;
  padding: 12px 18px;
  border: 1px solid var(--btn-plain-border);
  background: var(--btn-plain-bg);
  color: var(--btn-plain-text);
  font-size: 1rem;
}

.reserve-form .form-btn-style-send:hover,
.reserve-form .form-btn-style-back:hover {
  opacity: 0.9;
}

.reserve-form .form-btn-style-send:disabled,
.reserve-form .form-btn-style-back:disabled {
  opacity: 0.55;
}

#myform .note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

#myform .note a {
  color: #c2521f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------
   確認画面
   ------------------------------------------------------------ */
#confform1 .dl_form,
#confform2 .dl_form {
  margin: 0 0 16px;
  padding: 8px 20px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

@media (max-width: 600px) {
  #confform1 .dl_form,
  #confform2 .dl_form {
    padding: 6px 14px 12px;
  }
}

#confform1 dl.check_form dt,
#confform2 dl.check_form dt {
  margin: 14px 0 2px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.6;
}

#confform1 dl.check_form dt:first-child,
#confform2 dl.check_form dt:first-child {
  margin-top: 10px;
}

#confform1 dl.check_form dd,
#confform2 dl.check_form dd {
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
  word-break: break-all;
}

#confform1 dl.check_form dd:last-child,
#confform2 dl.check_form dd:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* ------------------------------------------------------------
   送信完了ページ
   ------------------------------------------------------------ */
.reserve-thanks {
  box-sizing: border-box;
  width: calc(100% - 40px);
  margin: 26px auto 40px;
  color: var(--text);
  line-height: 1.9;
}

@media (max-width: 600px) {
  .reserve-thanks {
    width: calc(100% - 28px);
  }
}

.reserve-thanks p {
  margin: 0 0 1.2em;
}

.reserve-thanks .reserve-thanks__lead {
  font-size: 1.06rem;
  font-weight: 800;
}

.reserve-thanks ul {
  margin: 0 0 1.4em;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  list-style: none;
}

.reserve-thanks ul li {
  padding-left: 1.1em;
  text-indent: -1.1em;
  font-size: 0.95rem;
}

.reserve-thanks ul li::before {
  content: "・";
  color: var(--orange);
}

.reserve-thanks .reserve-thanks__mark {
  padding: 1px 6px;
  border-radius: 6px;
  background: #fff1cf;
  font-weight: 700;
}

.reserve-thanks__tel {
  display: block;
  margin: 8px 0 0;
  padding: 18px;
  border: 1px solid #ffd9c8;
  border-radius: 16px;
  background: #fff6f1;
  text-align: center;
}

.reserve-thanks__tel strong {
  display: block;
  color: #c2521f;
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------------
   validationEngine のエラー表示（インライン）
   ------------------------------------------------------------ */
#myform .formError {
  display: block;
  width: 100%;
  /* プラグインが top/left/margin-top をインラインで書くので打ち消す */
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  margin: 6px 0 2px !important;
  padding: 0;
  cursor: default;
}

/* 横並びグループのエラー受け皿。同じ内容が並ぶので先頭だけ見せる */
#myform .form-error-slot .formError:not(:first-child) {
  display: none;
}

#myform .formError .formErrorContent {
  display: block;
  width: auto;
  min-width: 0;
  padding: 7px 12px 8px 30px;
  border: 1px solid #ffc9cf;
  border-radius: 10px;
  background: #fff1f2;
  box-shadow: none;
  color: #c0283a;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
}

#myform .formError .formErrorContent::before {
  content: "!";
  position: absolute;
  top: 9px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--paper);
  font-size: 0.66rem;
  line-height: 1;
}

/* インライン表示では吹き出しの三角は不要 */
#myform .formError .formErrorArrow {
  display: none;
}
