/* 話を聞いてみたいボタン */
.contact-author-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 12px 30px;
  background-color: #ffffff;
  border: 5px solid #000000;
  color: #000000;
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}
.contact-author-btn:hover {
  background-color: #ff9900;
  color: #ffffff;
}
@media screen and (max-width: 767px) {
  .contact-author-btn {
    font-size: 3.4666666667vw;
    padding: 2.4vw 6vw;
    margin-top: 4vw;
  }
}
/* モーダルオーバーレイ */
.contact-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}
.contact-modal-overlay.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* モーダルコンテンツ */
.contact-modal {
  position: relative;
  background-color: #ffffff;
  border: 5px solid #000000;
  max-width: 600px;
  width: 100%;
  padding: 40px;
  box-sizing: border-box;
  margin: auto;
}
@media screen and (max-width: 767px) {
  .contact-modal {
    padding: 5.3333333333vw;
    max-width: 100%;
  }
}
.contact-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border: 5px solid #000000;
  background-color: #ffffff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.contact-modal-close:hover {
  background-color: #ff9900;
  color: #ffffff;
}
@media screen and (max-width: 767px) {
  .contact-modal-close {
    width: 8vw;
    height: 8vw;
    top: 2vw;
    right: 2vw;
    font-size: 5.3333333333vw;
  }
}
.contact-modal-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  width: 95%;
}
@media screen and (max-width: 767px) {
  .contact-modal-title {
    font-size: 5vw;
    margin-bottom: 5.3333333333vw;
  }
}
.contact-modal-form-group {
  margin-bottom: 25px;
}
@media screen and (max-width: 767px) {
  .contact-modal-form-group {
    margin-bottom: 4vw;
  }
}
.contact-modal-label {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.contact-modal-label.required::after {
  content: " *";
  color: #ff0000;
}
@media screen and (max-width: 767px) {
  .contact-modal-label {
    font-size: 3.4666666667vw;
    margin-bottom: 2vw;
  }
}
.contact-modal-radio-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
@media screen and (max-width: 767px) {
  .contact-modal-radio-group {
    gap: 3vw;
  }
}
.contact-modal-radio-item {
  display: flex;
  align-items: center;
}
.contact-modal-radio-item input[type="radio"] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  cursor: pointer;
}
@media screen and (max-width: 767px) {
  .contact-modal-radio-item input[type="radio"] {
    width: 4vw;
    height: 4vw;
    margin-right: 2vw;
  }
}
.contact-modal-radio-item label {
  font-size: 1.6rem;
  cursor: pointer;
  margin: 0;
  font-weight: normal;
}
@media screen and (max-width: 767px) {
  .contact-modal-radio-item label {
    font-size: 3.4666666667vw;
  }
}
.contact-modal-input {
  width: 100%;
  padding: 12px;
  border: 5px solid #000000;
  font-size: 1.6rem;
  box-sizing: border-box;
  font-family: inherit;
}
.contact-modal-input:focus {
  outline: none;
  border-color: #ff9900;
}
@media screen and (max-width: 767px) {
  .contact-modal-input {
    padding: 2.4vw;
    font-size: 3.4666666667vw;
  }
}
.contact-modal-error {
  color: #ff0000;
  font-size: 1.4rem;
  margin-top: 5px;
}
@media screen and (max-width: 767px) {
  .contact-modal-error {
    font-size: 3.2vw;
    margin-top: 1vw;
  }
}
.contact-modal-submit {
  width: 100%;
  padding: 15px;
  background-color: #ffffff;
  border: 5px solid #000000;
  color: #000000;
  font-size: 1.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  margin-top: 10px;
}
.contact-modal-submit:hover {
  background-color: #ff9900;
  color: #ffffff;
}
@media screen and (max-width: 767px) {
  .contact-modal-submit {
    padding: 3.2vw;
    font-size: 4.2666666667vw;
    margin-top: 2vw;
  }
}
.contact-modal-success {
  display: none;
  text-align: center;
  padding: 20px;
}
.contact-modal-success.is-visible {
  display: block;
}
.contact-modal-success-message {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
  .contact-modal-success-message {
    font-size: 4.2666666667vw;
    margin-bottom: 4vw;
  }
}

/* ローディング */
.loading {
  position: fixed;
  z-index: 1000;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  background: #fdfdfd;
}
.loading.loading-hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms;
}
.loading .circle {
  display: block;
  position: relative;
  top: calc( 50% - 20px );
  width: 40px;
  height: 40px;
  margin: 0 auto;
  border: 8px solid #e0e0e0;
  border-top: 7px solid #f47401;
  border-radius: 50px;
  animation: loading 700ms linear 0ms infinite normal both;
}
@keyframes loading {
  0% { transform: rotate( 0deg ); }
  100% { transform: rotate( 360deg ); }
}