@charset "utf-8";

/* ----------------------------------------
	contact-confirm
---------------------------------------- */
h2 {
  position: relative;
  display: inline-block;
  margin: 4rem 0;
  line-height: 1.5;
}

h2:before {
  content: "";
  position: absolute;
  background: #e1f3e2;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: -1;
}

.contact-confirm-text {
  margin-bottom: 4rem;
}

/* お問い合わせ */
#contact-confirm {
  margin: 8rem 20%;
}

#contact-form dl {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  border-bottom: solid 1px #9CA29D;
  padding-bottom: 2.5rem;
}

#contact-form dt {
  width: 30%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 400;
}

.required p {
  display: inline-block;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #39b54a;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 400;
  text-align:center;
  line-height: 45px;
}

#contact-form dd {
  width: 70%;
  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 {
  position: relative;
  display: inline-block;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  font-family: "ZCOOL XiaoWei", sans-serif;
  border: double 4px #39b54a;
  transition: 0.8s ease-in-out;
  line-height: 1.5;
  cursor: pointer;
  margin-top: 1rem;
  margin-left: 1rem;
  margin-right: 1rem;
  overflow: hidden;
} */

/* .btn-circle p {
  color: #39b54a;
}

.btn-circle span {
  position: absolute;
  display: inline-block;
  left: 0.2rem;
  top: 45%;
  transform: translateY(-50%);
  width: 120px;
  text-align: center;
} */

/* 透明のクリック領域 */
/* .circle-submit {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
} */

/* テキスト表示部分 */
/* .btn-circle span {
  position: absolute;
  left: 0.2rem;
  top: 45%;
  width: 100%;
  transform: translateY(-50%);
  text-align: center;
  z-index: 5;
  color: inherit;
}

.btn-circle:hover {
  color: #fff;
  border: double 4px transparent;
  background-color: #39b54a;
  transform: rotateY(360deg);
}

.btn-circle p:hover {
  color: #fff;
} */


/* 戻るボタン */
/* .btn-circle-gray {
  color: #9CA29D;
  border: double 4px #9CA29D;
}

.btn-circle-gray p {
  color: #9CA29D;
}

.btn-circle-gray:hover {
  color: #fff;
  border: double 4px transparent;
  background-color: #9CA29D;
  transform: rotateY(360deg);
}

.btn-circle-gray p:hover {
  color: #fff;
} */

/* 共通の円ボタン */
.btn-circle {
  position: relative;
  display: inline-block;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  font-family: "ZCOOL XiaoWei", sans-serif;
  border: double 4px #39b54a;
  transition: 0.8s ease-in-out;
  line-height: 1.5;
  cursor: pointer;
  margin-top: 1rem;
  margin-left: 1rem;
  margin-right: 1rem;
  overflow: hidden; /* 円からはみ出さない */
}

.btn-circle span {
  color: #39b54a;
}

/* テキスト（表示用） */
.btn-circle span {
  position: absolute;
  left: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
  z-index: 5;
}

/* 透明のクリック領域（submit / previous） */
.circle-submit {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}

/* 送信ボタン：ホバー状態 */
.btn-circle:hover {
  background-color: #39b54a;
  color: #fff;
  border-color: transparent;
  transform: rotateY(360deg);
}

.btn-circle:hover p span {
  color: #fff;
}

/* 戻るボタン（色変更） */
.btn-circle-gray {
  border-color: #9CA29D;
}

.btn-circle-gray span {
  color: #9CA29D;
}

/* 戻るボタン：ホバー状態 */
.btn-circle-gray:hover {
  background-color: #9CA29D;
  border-color: transparent;
  transform: rotateY(360deg);
}

/* 画面幅1180px以下：タブレット対応 */
@media screen and (max-width:1180px) {
  #contact-confirm {
     margin: 4rem 8%;
  }
}

/* 画面幅767px以下：スマホ対応 */
@media screen and (max-width:767px) {
  #contact-confirm {
    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;
    }
}