@charset "UTF-8";

/* ------------------------
     page-contact
------------------------*/
/* ------------------------
     faq
------------------------*/
.wrapper-contact {
  margin: 3.5rem auto 0;
  max-width: 80rem;
  width: 100%;
}

.faq-wrap {
  margin: 4rem 0 8rem;
  padding: 0 2.8rem;
  display: flex;
  flex-flow: column;
  gap: 1.6rem;
}

.faq-block {
  font-size: 1.8rem;
  background-color: #fff;
  border-radius: 0.8rem;
}

.faq-btn {
  border: none;
  width: 100%;
  padding: 3.2rem;
  cursor: pointer;
  background-color: #fff;
  border-radius: 0.8rem;
  color: #08131a;
}

.faq-btn__inner,
.faq-answer__inner {
  justify-content: flex-start;
  align-items: baseline;
  gap: 1.6rem;
  text-align: left;
  flex-flow: row nowrap;
}

.faq-btn__inner .faq-q,
.faq-btn__inner .faq-q__text,
.faq-answer__inner .faq-a {
  font-size: clamp(1.6rem, 4vw, 1.8rem);
  line-height: clamp(2rem, 4vw, 2.4rem);
  text-align: left;
  display: block;
}

.faq-answer {
  padding-left: 3.2rem;
  padding-right: 3.2rem;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.faq-answer__inner {
  padding-bottom: 3.2rem;
}

.faq-border {
  border-top: 0.1rem solid #08131a;
  margin-bottom: 3.2rem;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.faq-block.is-open .faq-answer {
  max-height: 100rem;
  opacity: 1;
}

@media (max-width: 768px) {

  .contact-wrap {
    margin-top: 3.2rem;
  }

  .faq-btn {
    padding: 3.2rem 2.4rem;
  }

  .faq-btn__inner,
  .faq-answer__inner {
    gap: 0.8rem;
  }
}

/* ------------------------
     contact
------------------------*/
.contact-form__wrap {
  border-top: 0.1rem solid #08131a;
}

.contact-wrap {
  background-color: #fff;
  padding: 8rem 6rem;
  margin-top: 4rem;
  border-radius: 0.8rem;
}

.contact-wrap__inner {
  max-width: 50rem;
  width: 100%;
  margin: 0 auto 8rem;
}

.contact-title {
  border: 0.1rem solid #08131a;
  padding: 2rem;
  text-align: center;
  margin: 0 auto;
  width: 100%;
  letter-spacing: 0.1rem;
  font-size: 2.4rem;
  line-height: 1.4;
}

.contact-title br.is-sp {
  display: none;
}

.contact-note__wrap {
  margin-top: 6rem;
  text-align: left;
  display: flex;
  flex-flow: column;
  gap: 2.4rem;
}

.contact-list li {
  position: relative;
  padding-left: 1.5rem;
}

.contact-list li::before {
  content: "";
  position: absolute;
  top: .6em;
  left: 0;
  width: .6rem;
  height: .6rem;
  background-color: #08131a;
  border-radius: 50%;
}

@media (max-width: 768px) {

  .contact-wrap {
    margin-top: 3.2rem;
    border-radius: 0;
    padding: 4rem 2.8rem;
  }

  .contact-wrap__inner {
    margin-bottom: 4rem;
  }

  .contact-title br.is-sp {
    display: block;
  }

  .contact-note__wrap {
    margin-top: 40px;
  }

  .contact-list {
    width: 100%;
  }
}

/* ------------------------
    contact form7
------------------------*/
.contact-form {
  margin-top: 8rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.form-before-submit.annotation br {
  display: none;
}

.form-before-submit.annotation {
  text-align: center;
  width: 100%;
}

.contact-form .wpcf7-form-control-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  font-size: 1.6rem;
  line-height: 2.9rem;
  padding: 0.8rem 1.6rem;
  border-radius: 0.4rem;
  border: 1px solid #b5b5b5;
  box-sizing: border-box;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: #08131a;
  outline: none;
  box-shadow: 0 0 0 0.1rem #08131a;
}

.contact-form,
.contact-form input,
.contact-form textarea,
.contact-form select,
.contact-form button {
  font-family: inherit;
}

.form-row input,
.form-row select {
  min-height: 5rem;
}

.form-row select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none;
}

.form-row select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none;
  padding-right: 4.0rem;
}

.select-wrap {
  position: relative;
  display: block;
}

.select-wrap br {
  display: none;
}

.form-row--topic select.wpcf7-form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.4rem;
  background-repeat: no-repeat;
  background-position: right 1.6rem center;
  background-size: 2.8rem 3.2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%2308131a' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
}

.form-row textarea {
  min-height: 18rem;
  resize: vertical;
}

.contact-form .form-label {
  order: 1;
}

.contact-form .wpcf7-not-valid-tip {
  order: 1;
  margin: 0;
  color: #E71B1B;
  font-size: 11px;
  line-height: 1.2rem;
}

.contact-form .wpcf7-form-control {
  order: 2;
}

.form-submit__wrap {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.contact-form .wpcf7-submit {
  margin: 0 auto;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  outline: none;
  appearance: none;
}

.contact-form .btn-large-bk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 6rem;
  border-radius: 9999px;
  background: #08131a;
  color: #fff;
  cursor: pointer;
  line-height: 1.8rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-form .btn-large-bk:hover {
  box-shadow: inset 0 0 0 0.2rem #08131a;
  background-color: #fff;
  color: #08131a;
}

.form-row--submit .wpcf7-spinner {
  display: none;
}

.form-row.form-row--submit {
  width: fit-content;
  margin: 0 auto;
}

.wpcf7-response-output {
  margin: 0;
  border: 1px solid #08131a;
  color: #08131a;
  font-size: 1.4rem;
  line-height: 1.6;
  text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
  border: 1px solid #08131a;
  padding: 3.2rem;
  margin: 0;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  border: 1px solid #E71B1B;
  padding: 3.2rem;
  margin: 0;
  color: #E71B1B;
}

.form-response-slot {
  display: none;
}

.form-response-slot.is-visible {
  display: block;
}

.wpcf7-form select {
  color: #08131a !important;
  -webkit-text-fill-color: #000;
}

@media (max-width: 768px) {
  .contact-form {
    margin-top: 4rem;
  }
}