@charset "utf-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@700&display=swap');

.contact-page {
  max-width: 1060px;
  margin: 0 auto;
}
.contact-page__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4.5%;
  margin: 30px 0 75px;
}
.contact-page__nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 10px 32px;
  position: relative;
  background: #e9eaee;
  border-radius: 6px;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  text-decoration: none;
  transition: opacity .2s;
}
.contact-page__nav a::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 5px solid #283459;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  transform: translateY(-50%);
}
.contact-page__nav a:hover {
  opacity: .7;
}
.contact-page__faq h3,
.contact-page__form-section h3 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-align: center;
}
.contact-page__faq-list {
  margin-top: 25px;
}
.contact-page__faq-item {
  border-bottom: 1px solid #ddd;
}
.contact-page__faq-item summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 41px;
  padding: 1em 2.5em 1em 1.25em;
  position: relative;
  font-size: 17px;
  line-height: 1.8;
  list-style: none;
  cursor: pointer;
}
.contact-page__faq-item summary::-webkit-details-marker {
  display: none;
}
.contact-page__faq-item summary::before {
  content: "Q.";
  flex: 0 0 auto;
  color: #555;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 20px;
}
.contact-page__faq-item summary::after {
  content: "＋";
  position: absolute;
  top: 50%;
  right: 10px;
  color: #555;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-50%);
}
.contact-page__faq-item[open] summary::after {
  content: "－";
}
.contact-page__faq-item summary:focus-visible,
.contact-page__nav a:focus-visible,
.contact-page__submit button:focus-visible,
.contact-page__submit .button:focus-visible {
  outline: 2px solid #29365b;
  outline-offset: 3px;
}
.contact-page__faq-answer {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 0.5em;
  align-items: baseline;
  padding: 1em 2.5em 1em 1.25em;
  background: #fbf5f5;
  font-size: 17px;
  line-height: 1.6;
}
.contact-page__faq-answer::before {
  content: "A.";
  display: block;
  margin: 0;
  color: #a33b40;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 20px;
}
.contact-page__faq-answer p {
  display: block;
  min-width: 0;
  margin: 0;
  text-align: justify;
  word-break: normal;
  font-feature-settings: "palt";
  text-indent: 0;
  line-height: 1.6;
}
.contact-page__form-section {
  margin-top: 75px;
}
.contact-page__form-lead {
  margin: 1em 0 80px;
  line-height: 1.8;
  text-align: center;
}
.contact-page__form {
  width: 100%;
}
.contact-page__form-row {
  display: grid;
  grid-template-columns: 25% minmax(0, 1fr);
  align-items: center;
  gap: 0;
  margin-bottom: 30px;
}
.contact-page__form-row label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 15px;
  font-size: 17px;
  line-height: 1.4;
}
.contact-page__required {
  flex: 0 0 auto;
  margin-top: 0.1em;
  padding: 0.2em 0.6em;
  background: #a33b40;
  color: #fff;
  font-size: .65em;
  line-height: 1.4;
}
.contact-page__form-row input,
.contact-page__form-row textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 7px;
  background: #fff;
  font: inherit;
}
.contact-page__form-row input {
  height: 60px;
}
.contact-page__form-row textarea {
  min-height: 180px;
  line-height: 1.4;
  resize: vertical;
}
.contact-page__form-row input:focus,
.contact-page__form-row textarea:focus {
  border-color: #29365b;
  outline: 1px solid #29365b;
}
.contact-page__form-row--textarea {
  align-items: start;
}
.contact-page__form-row--textarea label {
  padding-top: 10px;
}
.contact-page__submit {
  margin-top: 18px;
  text-align: center;
}
.contact-page__submit .button input {
  width: 100%;
  height: 100%;
  background: none;
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  font-size: 19px;
}
.contact-page__submit .wpcf7-spinner {
  display: none;
}
.contact-page__submit button,
.contact-page__submit .button {
  position: relative;
  width: 360px;
  max-width: 100%;
  height: 60px;
  margin: 0 auto;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #283459;
  color: #FFF;
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  font-size: 19px;
  padding-bottom: 0.2em;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
}
.contact-page__submit button::after,
.contact-page__submit .button::after {
  content: "＞";
  position: absolute;
  top: calc(50% - 0.5em);
  right: 1.5em;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9em;
  font-weight: 700;
  transform: scale(75%, 100%);
  color: #FFF;
}
.contact-page__submit.back {
  opacity: 0.7;
}
.contact-page__submit.back button::after,
.contact-page__submit.back .button::after {
  content: "＜";
  right: auto;
  left: 1.5em;
}
.contact-page__submit button:hover,
.contact-page__submit .button:hover {
  opacity: .5;
}
.contact-page__submit .button input:hover {
  cursor: pointer;
  color: #FFF;
}
.contact-page__privacy {
  margin-top: 70px;
  padding: 30px 20px 30px 40px;
  border-radius: 7px;
  background: #f7f7f8;
}
.contact-page__privacy h4:first-of-type {
  padding-top: 10px;
}
.contact-page__privacy h4 {
  margin: 0 0 1em;
  padding-top: 1.5em;
  font-size: 20px;
  font-weight: 700;
}
.contact-page__privacy h5 {
  margin: 0 0 0.5em;
  padding-top: 0.8em;
  font-weight: 700;
  padding-left: 0.5em;
  text-indent: -0.5em;
  line-height: 1.4;
}
.contact-page__privacy h5::before {
  content: "・";
}
.contact-page__privacy-content {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 12px;
  font-size: 15px;
  line-height: 1.4;
}
.contact-page__privacy h4 + h5 {
  padding: 0 0 0 0.5em;
}
.contact-page__privacy h4 + p {
  margin: 0;
}
.contact-page__privacy-content p {
  margin: 0 0 0 0.5em;
  line-height: 1.6;
}
@media screen and (max-width: 780px) {
  .contact-page__nav {
    gap: 12px;
    margin: 24px 0 50px;
  }
  .contact-page__nav a {
    min-height: 44px;
    padding: 10px 22px 10px 10px;
    font-size: 1rem;
  }
  .contact-page__nav a::after {
    right: 8px;
  }
  .contact-page__faq h3,
  .contact-page__form-section h3 {
    font-size: 1.3rem;
  }
  .contact-page__faq-list {
    margin-top: 20px;
  }
  .contact-page__faq-item summary {
    padding: 0.75em 2.5em 0.75em 0.75em;
    font-size: .85rem;
    line-height: 1.4;
  }
  .contact-page__faq-item summary::after {
    right: 5px;
    font-size: 18px;
  }
  .contact-page__faq-answer {
    padding: 0.75em 2em 1em 0.75em;
    font-size: .85rem;
    line-height: 1.4;
  }
  .contact-page__form-section {
    margin-top: 55px;
  }
  .contact-page__form-row {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 18px;
  }
  .contact-page__form-row label {
    padding-right: 0;
    font-size: .85rem;
  }
  .contact-page__form-row input {
    height: 44px;
  }
  .contact-page__form-row textarea {
    min-height: 130px;
    line-height: 1.4;
  }
  .contact-page__form-row--textarea label {
    padding-top: 0;
  }
  .contact-page__submit {
    margin-top: 24px;
  }
  .contact-page__privacy {
    margin-top: 40px;
    padding: 15px 20px;
  }
  .contact-page__privacy-content {
    max-height: 170px;
    font-size: 0.8rem;
  }
  .contact-page__privacy-content p {
    line-height: 1.2;
  }
  .contact-page__privacy h4 {
    font-size: 16px;
  }
}
@media screen and (max-width: 480px) {
  .contact-page__nav {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .contact-page__nav a {
    min-height: 42px;
  }
  .contact-page__form-lead {
    margin-bottom: 40px;
  }
}

/* 確認画面 */

.contact-page__confirm {
  max-width: 900px;
  margin: 0 auto;
}
.contact-page__confirm h3 {
  margin: 0 0 30px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .1em;
  text-align: center;
}
.contact-page__confirm-lead {
  margin: 0 0 60px;
  line-height: 1.8;
  text-align: center;
}
.contact-page__confirm-list {
  margin: 0 0 60px;
  border-top: 1px solid #ddd;
}
.contact-page__confirm-row {
  display: grid;
  grid-template-columns: 25% minmax(0,1fr);
  gap: 20px;
  padding: 24px 20px;
  border-bottom: 1px solid #ddd;
  line-height: 1.8;
}
.contact-page__confirm-row dt {
  font-weight: 700;
}
.contact-page__confirm-row dd {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  line-height: 1.4;
}
@media screen and (max-width:780px) {
  .contact-page__confirm h3 {
    font-size: 18px;
  }
}
@media screen and (max-width:480px) {
  .contact-page__confirm-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 10px;
  }
}

/* 送信完了画面 */

.contact-page__thanks {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0 80px;
  text-align: center;
}
.contact-page__thanks h3 {
  margin: 0 0 35px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .1em;
  text-align: center;
}
.contact-page__thanks-text {
  margin: 0 0 60px;
  line-height: 2;
}
.contact-page__submit a {
  position: relative;
  width: 360px;
  height: 60px;
  margin: 0 auto;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #283459;
  color: #FFF;
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  font-size: 19px;
  padding-bottom: 0.2em;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
}
.contact-page__submit a::after {
  content: "＞";
  position: absolute;
  top: calc(50% - 0.5em);
  right: 1.5em;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9em;
  font-weight: 700;
  transform: scale(75%, 100%);
}
.contact-page__submit a:hover {
  opacity: .5;
}
.contact-page__privacy {
  margin-top: 70px;
  padding: 30px 20px 30px 40px;
  border-radius: 7px;
  background: #f7f7f8;
}
@media screen and (max-width:780px) {
  .contact-page__thanks {
    padding: 20px 0 60px;
  }
  .contact-page__thanks h3 {
    font-size: 18px;
  }
}
@media screen and (max-width:480px) {
  .contact-page__thanks-text {
    margin-bottom: 40px;
    text-align: left;
  }
}