@charset "utf-8";

/* ----------------------------------------
	contact
---------------------------------------- */
.h1-wrapper {
  padding-top: 12rem;
  position: relative;
  overflow: hidden;
}

.h1-wrapper::before {
  content: attr(data-en);
  position: absolute;
  top: 34%;
  left: -2%;
  z-index: -2;
  color: #e1f3e2;
  font-size: 250px;
  font-family: "ZCOOL XiaoWei", sans-serif;
  font-weight: 400;
  line-height: 0;
  white-space: nowrap;
}

.h1-content {
  width: 100%;
  height: 40vh;
  overflow: hidden;
}

.h1-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
  display: block;
}

.h1-ttl {
  margin: 0 15% 2rem 15%;
}

.h1-ttl h1 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 1.5rem;
}

/* .contact-form-wrapper {
  margin: 8rem 20%;
} */

h2 {
  position: relative;
  display: inline-block;
  margin: 16rem 20% 8rem 20%;
  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 form */
.wpcf7 {
  margin: 0 20% 8rem 20%;
}

#contact-form dl {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  margin-bottom: 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%;
}

.wpcf7-form dd input[type="text"],
.wpcf7-form dd input[type="tel"],
.wpcf7-form dd input[type="email"],
.wpcf7-form dd select,
.wpcf7-form dd textarea {
  width: 100%;
  background-color: #f2f2f2;
  padding: 0.5rem 2rem;
  border-radius: 30px;
}

.wpcf7-form dd input[type="text"]:focus-visible,
.wpcf7-form dd input[type="tel"]:focus-visible,
.wpcf7-form dd input[type="email"]:focus-visible,
.wpcf7-form dd select:focus-visible,
.wpcf7-form dd textarea:focus-visible {
  outline-color: #39b54a;
  outline-width: 0.5px;
}

::placeholder {
  color: #9CA29D;
  letter-spacing: 0.12rem;
}

.address-line {
  margin-bottom: 2rem;
}

.address-line label {
  margin-left: 1rem;
}

.selectbox-4 {
  lign-items: center;
  position: relative;
}

.selectbox-4::after {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 14px;
  height: 10px;
  background-color: #9CA29D;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: '';
  pointer-events: none;
}

.selectbox-4 select {
  appearance: none;
  height: 2.8em;
  padding: .4em calc(.8em + 30px) .4em .8em;
  border: none;
  border-radius: 3px;
  box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
  background-color: #fff;
  color: #333333;
  font-size: 1em;
  cursor: pointer;
}

.wpcf7-not-valid-tip {
    margin-left: 2rem;
}

/* プライバシーポリシーテキスト */
.privacy-policy-text {
  font-size: 0.8rem;
}

.privacy-policy-text a {
  color: #39b54a;
  border-bottom: solid 1px #39b54a;
  margin: 0 0.5rem 0 2.2rem;
}

.privacy-policy-text a:hover {
  color: rgba(57,181,74,0.6);
  border-bottom: solid 1px rgba(57,181,74,0.6);
}

/* 確認画面へボタン */
.btn-circle-wrapper {
  text-align: center;
}

.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;
  overflow: hidden;
}

/* テキスト表示部分 */
.btn-circle span {
  position: absolute;
  left: 0.2rem;
  top: 55%;
  width: 100%;
  transform: translateY(-50%);
  text-align: center;
  z-index: 5; /* テキストは submit より下に配置 */
  color: #39b54a;
}

/* 透明のクリック領域 (submit） */
.circle-submit {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}

/* ホバー状態 */
.btn-circle:hover {
  border: double 4px transparent;
  background-color: #39b54a;
  transform: rotateY(360deg);
}

.btn-circle:hover span {
  color: #fff;
}


/* 画面幅1180px以下：タブレット対応 */
@media screen and (max-width:1180px) {
  .h1-wrapper {
    padding-top: 8rem;
  }

  .h1-wrapper::before {
    font-size: 12rem;
    top: 31%;
  }

  h2 {
    position: relative;
    display: inline-block;
    margin: 8rem 8% 8rem 8%;
    line-height: 1.5;
  }

  .wpcf7 {
    margin: 0 8% 8rem 8%;
  }
}

/* 画面幅767px以下：スマホ対応 */
@media screen and (max-width:767px) {
  .h1-wrapper {
    padding-top: 4rem;
  }

  .h1-wrapper::before {
    font-size: 11rem;
    top: 28%;
  }

  .h1-content {
    height: 30vh;
  }

  .h1-ttl {
    margin: 0 10% 2rem 10%;
  }

  .btn-circle-wrapper {
    margin-top: 4rem;
  }

  .archive-list-wrapper {
    padding: 4rem 6%;
  }

  h2 {
    font-size: 1.1rem;
    margin: 4rem 6% 4rem 6%;
  }

  .wpcf7 {
    margin: 0 8% 4rem 8%;
  }

  #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) {
  .h1-wrapper {
    padding-top: 4rem;
  }

  .h1-wrapper::before {
    font-size: 9rem;
    top: 33%;
  }

  .h1-content {
    height: 25vh;
  }

  .h1-ttl {
    margin: 0 1rem 2rem 1rem;
  }

  .h1-ttl h1 {
    font-size: 1.2rem;
  }

  .h1-content-ttl {
    font-size: 1.2rem;
    text-align: left;
    margin-bottom: 1rem;
  }

  h2 {
    margin: 4rem 1rem 4rem 1rem;
  }

  .wpcf7 {
    margin: 0 1rem 4rem 1rem;
  }
}