.parts+.parts {
  margin-top: 50px;
}

.layout-single article {
padding-top: 0px;
}

._contact .tel_block {
  max-width: 1000px;
  margin: auto;
  border: solid 1px #2B60AB;
  border-radius: 10px;
  padding: clamp(20px, 1.9791666667vw, 40px);
  text-align: center;
}

._contact .tel_block .cta_msg {
  font-size: clamp(18px, 1.4583333333vw, 28px);
  font-weight: 500;
  line-height: 1.125;
}

._contact .tel_block .action_tel {
  display: inline-block;
  color: #2B60AB;
  padding: 0 0 0 clamp(40px, 4.4270833333vw, 85px);
  position: relative;
  text-align: left;
  margin-top: 20px;
}

._contact .tel_block .action_tel::before {
  content: "";
  display: block;
  width: clamp(32px, 3.4375vw, 66px);
  aspect-ratio: 67/74;
  background: url(../img/contact/contact_icon_tel.svg) no-repeat center/100% auto;
  position: absolute;
  top: 0;
  left: 0;
  translate: 0 5%;
}

._contact .tel_block .number {
  font-size: clamp(32px, 2.3958333333vw, 48px);
  font-weight: 700;
  letter-spacing: 0.075em;
  display: block;
  line-height: 1;
}

._contact .tel_block .hour {
  font-size: clamp(16px, 1.0416666667vw, 20px);
  display: block;
  line-height: 1;
  margin-top: 16px;
}

._contact .tel_block dl {
  display: flex;
  line-height: 1.8;
  font-size: 18px;;
}

._contact .tel_block dt {
 
}

._contact .tel_block dd {
  flex: 1;
}

.form_block {
  max-width: 1000px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 1.875vw, 36px);
}

.formbox {
  display: flex;
  align-items: center;
  font-size: 16px;
}

.formbox dt {
  width: 30%;
  font-weight: 600;
}

.formbox .must {
  display: inline-block;
  padding: 2px 16px;
  border-radius: 6px;
  background-color: #2B60AB;
  color: #fff;
  margin-left: 12px;
}

.formbox dd {
  flex-grow: 1;
}

.formbox dd input[type=text] {
  width: 80%;
  min-height: 42px;
  border: solid 1px #8994A4;
  border-radius: 6px;
}

.formbox dd input[type=tel] {
  width: 80%;
  min-height: 42px;
  border: solid 1px #8994A4;
  border-radius: 6px;
}

.formbox dd textarea {
  width: 100%;
  min-height: 180px;
  border: solid 1px #8994A4;
  border-radius: 6px;
}

.policybox a {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #2B60AB;
  font-weight: 500;
}

.submitbox {
  text-align: center;
}

.submitbox input[type=submit] {
  display: inline-flex;
  background: url(../img/icon_arrow_wh.svg) no-repeat center right 12px/23px auto;
  background-color: #2B60AB;
  border: 0;
  box-shadow: unset;
  color: #fff;
  font-size: clamp(16px, 1.1458333333vw, 22px);
  font-weight: 600;
}

.smf-progress-tracker__item:after, .smf-progress-tracker__item:before {
  background-color:#fff;
}

@media only screen and (max-width: 767px) {
  .parts+.parts {
    margin-top: 60px;
  }

  .layout-single article {
    padding: 0;
  }

  .tel_block {
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
  }

  ._contact .tel_block dl {

  }

  ._contact .tel_block dl dt {
    font-size: 14px;
    font-weight: 500;
    width: 80px;
  }

  ._contact .tel_block dl {
    font-size: 13px;
  }

  .formbox {
    flex-direction: column;
  }

  .formbox dt {
    width: 100%;
    font-size: 14px;
  }

  .formbox .must {
    padding: 2px 10px;
    font-size: 9px;
  }

  .formbox dd {
    width: 100%;
    margin-top: 8px;
  }

  .formbox dd input[type=text] {
    width: 100%;
  }

  .formbox dd input[type=tel] {
    width: 100%;
  }

  .formbox dd textarea {
    width: 100%;
    min-height: 180px;
    border: solid 1px #8994A4;
    border-radius: 6px;
  }

  .policybox a {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: #2B60AB;
    font-weight: 500;
  }

  .submitbox {
    text-align: center;
  }

  ._contact .smf-item__col--controls  {
    width: 100%;
  }

}

/* ========================================
   Snow Monkey Forms スタイル
======================================== */

/* プログレストラッカー（ステップ表示） */
._contact .smf-progress-tracker {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  list-style: none;
  padding: 40px 0;
  margin: 0 0 40px;
  position: relative;
}



._contact .smf-progress-tracker__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 150px;
}

._contact .smf-progress-tracker__item__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #E5E7EB;
  color: #6B7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  transition: all 0.3s;
}

._contact .smf-progress-tracker__item[aria-current="true"] .smf-progress-tracker__item__number {
  background: #2B60AB;
  color: #fff;
}

._contact .smf-progress-tracker__item__text {
  font-size: 14px;
  font-weight: 500;
  color: #6B7280;
  text-align: center;
}

._contact .smf-progress-tracker__item[aria-current="true"] .smf-progress-tracker__item__text {
  color: #2B60AB;
  font-weight: 600;
}

/* フォーム本体 */
._contact .smf-form {
  max-width: 800px;
  margin: 0 auto 40px;
}

/* フォームアイテム */
._contact .smf-item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  align-items: flex-start;
}

._contact .smf-item__col--label {
  width: 200px;
  flex-shrink: 0;
}

._contact .smf-item__label {
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
}

._contact .smf-item__label__text::after {
  content: "必須";
  display: inline-block;
  padding: 2px 12px;
  border-radius: 4px;
  background: #2B60AB;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  margin-left: 8px;
}

._contact .smf-item__col--controls {
  flex: 1;
}

/* テキスト入力フィールド */
._contact .smf-text-control__control,
._contact .smf-textarea-control__control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.2s;
  background: #fff;
}

._contact .smf-text-control__control:focus,
._contact .smf-textarea-control__control:focus {
  outline: none;
  border-color: #2B60AB;
  box-shadow: 0 0 0 3px rgba(43, 96, 171, 0.1);
}

/* プレースホルダーのスタイル */
._contact .smf-text-control__control::placeholder,
._contact .smf-textarea-control__control::placeholder {
  color: #9CA3AF;
  opacity: 1;
}

._contact .smf-text-control__control::-webkit-input-placeholder,
._contact .smf-textarea-control__control::-webkit-input-placeholder {
  color: #9CA3AF;
}

._contact .smf-text-control__control::-moz-placeholder,
._contact .smf-textarea-control__control::-moz-placeholder {
  color: #9CA3AF;
  opacity: 1;
}

._contact .smf-textarea-control__control {
  min-height: 180px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.6;
}

/* 送信ボタンエリア */
._contact .smf-action {
  text-align: center;
  padding: 40px 0;
}

._contact .smf-button-control__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 48px;
  background: #2B60AB;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

._contact .smf-button-control__control::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23fff" stroke-width="2"><path d="M5 12h14M12 5l7 7-7 7"/></svg>') no-repeat center / contain;
  transition: transform 0.3s;
}

._contact .smf-button-control__control:hover {
  background: #1e4a8a;
}

._contact .smf-button-control__control:hover::after {
  transform: translateX(4px);
}

/* 戻るボタン（グレー） */
._contact .smf-button-control__control[data-action="back"] {
  background: #6B7280;
  margin-right: 16px;
}

._contact .smf-button-control__control[data-action="back"]:hover {
  background: #4B5563;
}

._contact .smf-button-control__control[data-action="back"]::after {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23fff" stroke-width="2"><path d="M19 12H5M12 19l-7-7 7-7"/></svg>') no-repeat center / contain;
  transform: rotate(0);
}

._contact .smf-button-control__control[data-action="back"]::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  order: -1;
  margin-right: 8px;
  margin-left: 0;
}

._contact .smf-button-control__control[data-action="back"]:hover::after {
  transform: translateX(-4px);
}

/* エラーメッセージ */
._contact .smf-error-messages {
  background: #FEE2E2;
  border-left: 4px solid #DC2626;
  padding: 16px;
  border-radius: 4px;
  margin-bottom: 24px;
}

._contact .smf-error-messages__item {
  color: #991B1B;
  font-size: 14px;
  line-height: 1.6;
}

/* レスポンシブ対応 */
@media only screen and (max-width: 767px) {
  ._contact .smf-progress-tracker {
    gap: 8px;
    padding: 24px 0;
    margin-bottom: 24px;
  }

  ._contact .smf-progress-tracker::before {
    left: 5%;
    right: 5%;
  }

  ._contact .smf-progress-tracker__item {
    max-width: 80px;
  }

  ._contact .smf-progress-tracker__item__number {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  ._contact .smf-progress-tracker__item__text {
    font-size: 11px;
  }

  ._contact .smf-form {
    padding: 0 16px;
  }

  ._contact .smf-item {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
  }

  ._contact .smf-item__col--label {
    width: 100%;
  }

  ._contact .smf-item__label {
    padding-top: 0;
    font-size: 14px;
  }

  ._contact .smf-item__label__text::after {
    padding: 2px 8px;
    font-size: 10px;
    margin-left: 6px;
  }

  ._contact .smf-text-control__control,
  ._contact .smf-textarea-control__control {
    padding: 10px 12px;
    font-size: 16px; /* iOSのズーム防止 */
  }

  ._contact .smf-textarea-control__control {
    min-height: 150px;
  }

  ._contact .smf-action {
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  ._contact .smf-button-control__control {
    width: 100%;
    max-width: 100%;
    padding: 14px 24px;
    font-size: 16px;
  }

  ._contact .smf-button-control__control[data-action="back"] {
    margin-right: 0;
    order: 2;
  }

  ._contact .smf-button-control__control[data-action="complete"] {
    order: 1;
  }
}