.contact_fv {
  position: relative;
  /* height: 200px; */
  height: 19rem;
  margin-top: 7rem;
  font-family: var(--ZenMaru);
  margin-bottom: 4.5rem;
}

/* お問い合わせページ */
.contact_form_wrap {
  font-family: var(--ZenMaru);
}

.contact_title {
  font-size: 4rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.contact_step {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8rem;
  margin-bottom: 6.3rem;
}

.step_folder {
  width: 6.4rem;
  text-align: center;
  
}

.step_logo_clip {
  position: relative;
}

.step_logo_clip::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 9.5rem;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.8rem;
  background-color: #707070;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.step_logo_clip_none {
  position: relative;
}

.step_number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #707070;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}



.step_logo {
  width: 4.942rem;
  height: 4.916rem;
  position: relative;
}

.step_text {
  margin-top: 0.984rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: #707070;
}

/* 今のページのみ色変更 */
.step_number_active,
.step_text_active {
  color: #333333;
}

/* ここからthanks */

.thanks_message {
  margin-top: 6.3rem;
  margin-bottom: 11.7rem;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  /* line-height: calc(32/16); */
}

.thanks_text {
  margin-top: 1rem;
  font-weight: 400;
  margin-bottom: 6rem;
}

.link_btn {
  width: 20.3rem;
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 0.8rem 8.6rem;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: calc(32/16);
  color: #FFFFFF;
  background-color: var(--orange);
  transition: all 0.2s;
}
.link_btn:hover {
  opacity: 1;
  background-color: var(--darkOrange);
}

@media screen and (max-width: 699.98px) {
  /* レスポンシブ対応 */

  .contact_fv {
    height: 18.5rem;
  }
  
  .contact_title {
    font-size: 3rem;
  }

  .contact_step {
    gap: 3.6rem;
    margin-bottom: 4rem;
  }

  .step_logo_clip::before {
    left: 7.5rem;
  }


  .wpcf7-list-item {
    margin: 0 0 0 2rem;
  }

  .wpcf7-list-item:last-child {
    margin: 1rem 0 0 0;
  }
  .contact_checkbox .wpcf7-list-item-label {
    font-size: 1.4rem;
  }

  .contact_checkbox .wpcf7-list-item-label::before {
    width: 1.4rem;
    height: 1.4rem;
  }

  .contact_checkbox input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
    width: 0.8rem;
    height: 0.8rem;
    transform: translate(35%, -50%);
  }


  .contact_list {
    width: 34.5rem;
  }

  .input_area_checkbox {
    margin-bottom: 3.5rem;
  }

  .input_area {
    margin-bottom: 2.5rem;
    padding: 0.7rem 0.8rem;
    font-size: 1.4rem;
  }

  .form_submit {
    margin-top: 0;
  }

  .wpcf7-not-valid-tip {
    margin-top: 0.1rem;
  }

  /* thanks用CSS */
  .thanks_message {
    margin-top: 0;
    margin-bottom: 9.4rem;
  }

  .thanks_text {
    font-size: 1.4rem;
    margin-top: 1.2rem;
    margin-bottom: 4rem;
  }

}