.zen-maru-gothic-medium {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.noto-sans-jp-bold {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}


/* Contact Form 7 のエラー時の入力欄の背景色を変更する */
.wpcf7-not-valid {
  background-color: #ffdddd !important;
  /* 薄い赤色に変更 */
  border: 0.1rem solid #ff0000 !important;
  /* 境界線を赤色に変更 */
}

/* 背景 */
.bg_img {
  object-fit: cover;
  width: 100%;
  /* height: auto; */
  position: absolute;
  top: 52.5rem;
  left: 0rem;
  z-index: -9;
}

/* トップ画像 */
.top_img {
  object-fit: cover;
  width: 114rem;
  height: 39.5rem;
  margin-top: 1.7rem;
  border-radius: 4rem 0 0 4rem;
}

.top_img_container {
  position: relative;
  text-align: right;
  display: block;
}

.announcement {
  writing-mode: vertical-rl;
  position: absolute;
  font-size: 3rem;
  line-height: calc(40em / 30);
  letter-spacing: calc(8.2em / 30);
  color: #4EC663;
  height: auto;
  position: absolute;
  top: 7.3rem;
  left: 20.1rem;
}

/* お問い合わせ */
.contact_ruby {
  font-size: 1.5rem;
  line-height: calc(21em / 15);
  margin-top: 7.6rem;
  margin-left: 5rem;
  position: relative;
}

.contact_ruby::before {
  content: "";
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: #4EC663;
  position: absolute;
  top: 0.4rem;
  left: -1.8rem;
}

.contact_us_title {
  font-size: 3.3rem;
  line-height: calc(48em / 33);
  margin-top: 0.4rem;
  margin-left: 3rem;
}

.contact_us_text {
  font-size: 1.8rem;
  line-height: calc(26em /18);
  margin-top: 3.9rem;
  margin-left: 8rem;
}

.tel_logo {
  object-fit: cover;
  width: 6rem;
  height: 6rem;
  margin-top: 1.5rem;
  margin-left: 8rem;
}

.tel_no {
  font-size: 3.3rem;
  line-height: calc(48em / 33);
  color: #000;
  margin-top: -5.3rem;
  margin-left: 16.5rem;
}

.tel_no_box {
  margin-top: 0rem;
  position: relative;
}

.tel_no_box::after {
  content: "";
  width: 117rem;
  height: 0.1rem;
  background-color: #000;
  position: absolute;
  top: 10.6rem;
  left: 8rem;
}

.entry_plz {
  font-size: 1.8rem;
  line-height: calc(26em / 18);
  margin-left: 8rem;
  margin-top: 8.6rem;
}

/* contact form 7 */
.label {
  display: block;
}

.content,
.name,
.tel,
.email {
  margin-top: 0rem;
  font-size: 1.8rem;
  line-height: calc(40em / 18);
  width: 100rem;
  height: 5rem;
  background-color: #FFFFFF;
  border: solid 0.1rem #122444;
  border-radius: 1rem;
  margin-top: 1.1rem;
  padding-left: 2rem;
}

.message {
  margin-top: 0rem;
  font-size: 1.8rem;
  line-height: calc(40em / 18);
  width: 100rem;
  height: 50rem;
  background-color: #FFFFFF;
  border: solid 0.1rem #122444;
  border-radius: 1rem;
  margin-top: 1.1rem;
  padding-left: 2rem;
  padding-right:2rem;
  overflow-wrap: break-word;
  overflow: auto;
}

.content {
  margin-left: 12rem;

}

.name,
.tel,
.email,
.message {
  margin-left: 14rem;
}

.contact_content,
.your_name,
.your_tel,
.your_mail,
.your_message {
  margin-top: 3rem;
  font-size: 1.8rem;
  line-height: calc(26em / 18);
  margin-left: 14rem;
}

.contact_content {
  margin-top: 9.5rem;

}

.entry_color_name {
  background-color: #41956A;
  color: #FFFFFF;
  padding: 0 1rem;
  margin-left: 2rem;
}

.entry_color_tel {
  background-color: #41956A;
  color: #FFFFFF;
  padding: 0 1rem;
  margin-left: 2.3rem;
}

.entry_color_mail {
  background-color: #41956A;
  color: #FFFFFF;
  padding: 0 1rem;
  margin-left: 3.6rem;
}

.entry_color_message {
  background-color: #41956A;
  color: #FFFFFF;
  padding: 0 1rem;
  margin-left: 4rem;
}

.entry_container {
  position: relative;
}

.triangle_icon {
  object-fit: cover;
  width: 2.3rem;
  height: 2rem;
  position: absolute;
  top: 5.3rem;
  right: 16rem;
  z-index: 9;
  pointer-events: none;
}

.submit {
  font-size: 1.8rem;
  line-height: calc(26em / 18);
  margin-top: 6rem;
  margin-left: 56.7rem;
  margin-bottom: 11.2rem;
  cursor: pointer;
}

.submit_circle {
  width: 5rem;
  height: 5rem;
  background-color: #41956A;
  border-radius: 50%;
  cursor: pointer;
  margin-top: 0rem;
  margin-left: 0rem;
}

/* 確認画面ボタン */

.submit_circle {
  position: relative;
  width: 5rem;
  height: 5rem;
  line-height: 5rem;
  border-radius: 50%;
  cursor: pointer;
  background-color: #41956A;
  overflow: hidden;
  display: block;
}

.submit_circle span {
  position: absolute;
  top: 0;
  width: 100%;
  font-size: 2rem;
  color: #FFF;
  font-weight: bold;
  text-align: center;
  transition: all .4s;
}

.submit_circle span:nth-child(1) {
  right: 0%;
}

.submit_circle span:nth-child(2) {
  right: 100%;
}


.submit_circle:hover span:nth-child(1) {
  right: -100%;
}

.submit_circle:hover span:nth-child(2) {
  right: 0%;
}

.wpcf7-not-valid-tip {
  font-size: 1.6rem;
  margin-left: 16rem;
}

.submit_box {
  /* margin-left: 66.5rem; */
  margin-top: 5rem;
}

.submit_container {
  display: flex;
  gap: 1rem;
}

.wpcf7-spinner {
  display: none;
}

/* MultiStep 確認画面のテキスト保持設定 */
.msf-input-value,
.msf-confirm-value,
.mstep-input-value {
  white-space: pre-wrap;
  /* 改行を保持して折り返し */
  word-break: break-word;
  /* 長い英語・URLでも折る */
  overflow-wrap: break-word;

  display: block;
  max-width: 100%;
}





.br_sp {
  display: none;
}

@media screen and (max-width:699.98px) {
  .br_sp {
    display: block;
  }

  /* 背景 */
  .bg_img {
    height: 184.7rem;
  }

  .top_img_container {
    margin-top: -12rem;
  }

  .top_img {
    width: 36.8rem;
    height: 38.6rem;
    margin-top: 13.1rem;
    border-radius: 4rem 0rem 0rem 4rem;
  }

  .announcement {
    font-size: 2rem;
    line-height: calc(27em / 20);
    letter-spacing: calc(10em / 20);
    top: 15.5rem;
    right: 1rem;
  }

  /* お問い合わせ */
  .contact_ruby {
    margin-left: 2.7rem;
    margin-top: 2.5rem;
  }

  .contact_us_box {
    width: 34.5rem;
    margin: 0 auto;
  }

  .contact_us_title {
    font-size: 2rem;
    line-height: calc(29em / 20);
    margin-left: 0.7rem;
    margin-top: -0.2rem;
  }

  .contact_us_text {
    font-size: 1.6rem;
    line-height: calc(24em / 16);
    margin-left: 1.5rem;
    margin-top: 1.5rem;
  }

  .tel_no_box::after {
    width: 35.5rem;
    left: 1.05rem;
  }

  .tel_logo {
    margin-left: 3.9rem;
  }

  .tel_no {
    margin-left: 12.1rem;
  }

  .entry_plz {
    margin-top: 6.8rem;
    margin-left: 3.3rem;
    font-size: 1.6rem;
    line-height: calc(24em / 16);
  }

  /* contact form 7 */
  .contact_content,
  .your_name,
  .your_tel,
  .your_mail,
  .your_message {
    margin-left: 1.5rem;
    font-size: 1.6rem;
    line-height: calc(24em / 16);
  }

  .contact_content {
    margin-top: 6rem;
  }

  .content {
    margin-top: -0.6rem;
    margin-left: 1.5rem;
    width: 34.5rem;
  }

  .your_name {
    margin-top: 3rem;
  }

  .entry_color_name {
    margin-left: 1rem;
  }

  .entry_color_tel {
    margin-left: 1rem;
  }

  .entry_color_mail {
    margin-left: 1rem;
  }

  .entry_color_message {
    margin-left: 1rem;
  }

  .name,
  .tel,
  .email,
  .message {
    margin-left: 1.5rem;
    width: 34.5rem;
  }

  .message {
    height: 31rem;
    margin-top: 0.8rem;
  }

  .triangle_icon {
    top: 4.8rem;
    right: 4.1rem;
  }

  .submit {
    margin-left: 11.1rem;
    margin-bottom: 6.2rem;
    margin-top: 3.8rem;
  }

  .submit_circle {
    margin-top: -2.3rem;
  }

  .wpcf7-not-valid-tip {
    font-size: 1.6rem;
    margin-left: 2rem;
  }
}