@charset "UTF-8";
/**************************************************
* ページ: CONTACT
**************************************************/
.contact {
  position: relative;
}
.contact::before {
  content: "";
  position: absolute;
  background: url(../img/dec1.webp) no-repeat center center/100%;
  aspect-ratio: 3840/675;
  width: 100%;
  left: 50%;
  bottom: 0%;
  transform: translate(-50%, 0%);
}

.contact__header {
  background: url(../img/hedaer_contact.webp) no-repeat center center/cover;
}

.contact__container {
  padding: min(120px, 6.25vw) 0 min(166px, 8.6458333333vw);
  position: relative;
}

.contact__box {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
  padding: 4.4% 10% 8%;
}
@media (max-width: 767px) {
  .contact__box {
    padding: 30px;
  }
}

.contact__message {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.05em;
}
.contact__message em {
  color: #FD790E;
}

.contact__form {
  margin-top: 60px;
}

.contact__items {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  padding-left: 5%;
}
.contact__items:first-child::before {
  content: "";
  position: absolute;
  background: #FD790E;
  width: 10px;
  height: 100%;
  left: 0%;
  top: 0%;
}
.contact__items dt, .contact__items dd {
  font-size: clamp(1.2rem, 0.9375vw, 18px);
  line-height: 2.6666666667;
  letter-spacing: 0.05em;
}
.contact__items dt:nth-of-type(n + 2), .contact__items dd:nth-of-type(n + 2) {
  margin-top: 30px;
}
.contact__items dt {
  width: 27.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}
.contact__items dd {
  width: 72.5%;
  padding-left: 30px;
}
.contact__items dd input[type=text],
.contact__items dd input[type=email],
.contact__items dd textarea {
  font-family: inherit;
  font: inherit;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 100%;
  background: #fff;
  border: 1px solid #707070;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.16);
  padding: 0.5em 1em;
}
.contact__items dd input[type=text]::-moz-placeholder, .contact__items dd input[type=email]::-moz-placeholder, .contact__items dd textarea::-moz-placeholder {
  color: #ccc;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.6;
}
.contact__items dd input[type=text]::placeholder,
.contact__items dd input[type=email]::placeholder,
.contact__items dd textarea::placeholder {
  color: #ccc;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.6;
}
.contact__items dd textarea {
  resize: vertical;
  min-height: 400px;
}
@media (max-width: 767px) {
  .contact__items {
    display: block;
  }
  .contact__items dt, .contact__items dd {
    width: 100%;
  }
  .contact__items dd {
    padding-left: 0;
    margin-top: 10px;
  }
  .contact__items dd:nth-of-type(n + 2) {
    padding-top: 0;
    margin-top: 10px;
  }
}

.contact__content {
  align-self: flex-start;
  padding-top: 1%;
}

.contact__required {
  display: inline-block;
  font-size: clamp(1rem, 0.7291666667vw, 14px);
  font-weight: 500;
  line-height: 1;
  color: #FD790E;
  border-radius: 4px;
  border: 1px solid #FD790E;
  padding: 0.5em 1.2em;
  margin-left: 0.5em;
  border-radius: 1em;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .contact__required {
    font-size: 1.2rem;
  }
}

.contact__privacy {
  position: relative;
}

.contact__privacy-content {
  background: #F1F1F1;
  padding: 40px 40px 14px;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.7142857143;
  letter-spacing: 0.05em;
  white-space: pre-line;
  height: 220px;
  overflow: scroll;
  overflow-x: hidden;
  scrollbar-width: none;
}
.contact__privacy-content ::-webkit-scrollbar {
  display: none;
}
@media (max-width: 767px) {
  .contact__privacy-content {
    padding: 20px 20px 10px;
  }
}

/* カスタムスクロールバー */
#custom-scrollbar {
  position: absolute;
  top: 0;
  right: 1%;
  width: 10px;
  height: 100%;
  background: transparent;
}

#custom-thumb {
  position: absolute;
  top: 0;
  width: 100%;
  /* heightはjs設定 */
  background-color: #FD790E;
  border-radius: 4px;
  cursor: pointer;
}

.contact__privacy-agree {
  margin-top: 80px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.6428571429;
  letter-spacing: 0.05em;
  margin-left: 11%;
}
.contact__privacy-agree input {
  opacity: 0;
}
@media (max-width: 767px) {
  .contact__privacy-agree {
    margin-top: 40px;
    font-size: 1.2rem;
  }
}

.contact__privacy-costom {
  display: inline-block;
  width: 35px;
  aspect-ratio: 1/1;
  border: 1px solid #ccc;
  position: relative;
  margin-right: 20px;
  box-sizing: border-box;
}
.contact__privacy-costom::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  aspect-ratio: 68/50;
  background: url(../img/icon_checkbox.webp) no-repeat center center/contain;
  opacity: 0;
  transition: opacity 0.2s;
}

.contact__privacy-agree input:checked + .contact__privacy-costom::after {
  opacity: 1;
}

.contact__submit {
  text-align: center;
  margin-top: 80px;
  margin-left: 11%;
}
@media (max-width: 767px) {
  .contact__submit {
    margin-top: 40px;
  }
}

.contact__button {
  cursor: pointer;
  position: relative;
  font-size: 2rem;
  background: #FD790E;
  padding: 0.2em 1.4em;
}
.contact__button input {
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.contact__button.contact__button--mt {
  margin-top: 50px;
}
@media (max-width: 767px) {
  .contact__button {
    font-size: 1.4rem;
  }
}

.back__button { /* clone topic__button */
  margin-top: 65px;
}
.back__button a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 404px;
  max-width: 100%;
  margin: 0 auto;
  font-size: min(1.8rem, 2.0833333333vw);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: #fff;
  background: #FD790E;
  border-radius: 43px;
  padding: 1.5em 0;
  font-family: "Oswald", sans-serif;
}
.back__button a::after {
  display: inline-block;
  content: "";
  background: url(../img/icon_arrow.webp) no-repeat center center/contain;
  width: 1.8em;
  aspect-ratio: 76/17;
}
@media (max-width: 767px) {
  .back__button {
    margin-top: 30px;
  }
  .back__button a {
    font-size: 1.4rem;
  }
}

.wpcf7-response-output { /* エラー&送信完了テキスト */
  font-size: 16px;
  text-align: center;
}

input[type=submit]:disabled {
  opacity: 0.5;
} /* 無効時透明度 */
.wpcf7-list-item {
  margin: 0;
}

.wpcf7-spinner {
  display: none !important;
}

.invalid-caution { /* バリデーションエラーメッセージ */
  width: 100%;
  color: #C1262D;
  font-size: 1.6rem;
}

.bt_acc {
  pointer-events: none;
  opacity: 0.5;
}
.bt_acc.act {
  pointer-events: auto;
  opacity: 1;
}

[data-form-mode=con] .is-in {
  display: none;
}
[data-form-mode=con] .is-con-po {
  pointer-events: none;
}

[data-form-mode=in] .is-con {
  display: none;
}
/*# sourceMappingURL=contact.css.map */