/* ----------------------------------------
	contact-confirm
---------------------------------------- */
#contact-confirm {
  padding-top: 90px;
}
.contact-confirm-text {
  margin-bottom: 4rem;
}

/* お問い合わせ */
.contact-confirm-container {
  margin: 8rem 20%;
}

#contact-form dl {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  border-bottom: solid 1px #9ca29d;
  padding: 0 1rem 2.5rem 1rem;
}

#contact-form dt {
  width: 40%;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 400;
}

.required p {
  display: inline-block;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #3067d1;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 400;
  text-align: center;
  line-height: 45px;
}

#contact-form dd {
  width: 60%;
  margin-top: 0.3rem;
}

.address-line {
  margin-bottom: 2rem;
}

.address-line label {
  margin-left: 0;
  color: #9ca29d;
  font-size: 0.8rem;
}

.btn-circle-wrapper {
  text-align: center;
}

.wpcf7-not-valid-tip {
  margin-left: 2rem;
}

.btn-circle-wrapper {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* 戻るボタン */
.btn-back {
  max-width: 280px;
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid #3067d1;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.btn-back {
  color: #3067d1;
  font-weight: 700;
}

.btn-back:hover .fa-arrow-left {
  transform: scale(1.1);
}

.btn-box-back p {
  color: #3067d1;
  font-weight: 700;
  transition: transform 0.3s ease;
}

#contact-confirm .fa-arrow-left {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #3067d1;
  color: #fff;
  text-align:center;
  line-height: 30px;
  transition: transform 0.3s ease;
}

.btn-box-back input {
  transition: transform 0.3s ease;
}

.btn-box-back:hover input {
  transform: scale(1.1);
}

/* 送信ボタン */
#contact-confirm .fa-arrow-right {
  width: 30px;
  height: 30px;
  line-height: 30px;
}

.btn {
  gap: 1rem;
}

.wpcf7-spinner {
  display: none;
}

.btn-box input {
  transition: transform 0.3s ease;
}

.btn-box:hover p {
  transform: scale(1);
}

.btn-box:hover input {
  transform: scale(1.1);
}

/* 画面幅1180px以下：タブレット対応 */
@media screen and (max-width: 1180px) {
  .contact-confirm-container {
    margin: 4rem 8%;
  }
}

/* 画面幅767px以下：スマホ対応 */
@media screen and (max-width: 767px) {
  .contact-confirm-container {
    margin: 4rem 6%;
  }

  #contact-form dl {
    display: block;
  }

  #contact-form dt {
    width: 100%;
    margin-bottom: 1rem;
  }

  #contact-form dd {
    width: 100%;
  }
}

/* 画面幅575px以下：スマホ対応 */
@media screen and (max-width: 575px) {
  #contact-confirm {
    margin: 4rem 1rem;
  }
}
