.page-cover {
  flex-direction: column;
  gap: 16px;
  height: fit-content;
  padding: 140px 27px 120px;
}

.page-cover__title {
  line-height: 34px;
}

.contact__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 760px;
  margin: 0 auto;
}

.page-cover__text {
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  color: #fff;
  text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.4);
}

.contact-item__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #0e5195;
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 2px solid #0e5195;
}

.contact-item__text {
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  margin: 16px auto 0;
}

.section-button {
  margin-top: 16px;
}

.contact-item--line .section-button {
  background-color: #00b900;
}

.contact-item--line .section-button::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url(../images/contact/icon-line.png);
  background-size: contain;
  margin-right: 8px;
  position: relative;
  top: 2px;
}

.contact-item--phone .section-button {
  font-size: 24px;
}

.contact-item--phone .section-button::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url(../images/contact/icon-phone.png);
  background-size: contain;
  margin-right: 12px;
  position: relative;
  top: 2px;
}

.faq {
  padding-top: 0;
  padding-bottom: 80px;
}

.section-text {
  line-height: 24px;
  margin: 8px auto 0;
  text-align: center;
}

.faq-list {
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq__title {
  position: relative;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  background-color: #d9d9d9;
  border-radius: 8px 8px 0 0;
  padding: 8px;
  font-family: "Noto Sans JP", sans-serif;
}

.faq__title span {
  display: inline-block;
  width: calc(100% - 33px);
}

.faq__title::after {
  position: absolute;
  top: 16px;
  right: 8px;
  content: "";
  display: inline-block;
  width: 19px;
  height: 11px;
  background-image: url(../images/contact/contact-arrow.png);
  background-size: contain;
  transition: all 0.3s ease;
  background-position: center;
  background-repeat: no-repeat;
}

.faq__title[aria-expanded="true"]::after {
  transform: rotateX(180deg);
}

.faq__text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq__text p {
  padding: 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 24px;
}

.faq__text[aria-expanded="true"] {
  max-height: 1000px;
}

.line-qr {
  display: none;
}

@media (min-width: 768px) {
  .page-cover {
    gap: 40px;
    padding: 200px 0 34.6vh;
    align-items: center;
  }

  .page-cover__text {
    font-size: 20px;
    line-height: 40px;
  }

  .contact__container {
    gap: 160px;
  }

  .section-text {
    line-height: 40px;
    margin-top: 18px;
  }

  .contact-item__title {
    font-size: 40px;
    line-height: 54px;
    padding-bottom: 0px;
    border-bottom: none;
    border-radius: 2px;
  }

  .contact-item__title::after {
    content: "";
    width: 100%;
    display: block;
    height: 4px;
    background-color: #0e5195;
    border-radius: 2px;
    margin-top: 8px;
  }

  .contact-item__text {
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    margin: 16px auto 0;
  }

  .contact-item--line .section-button {
    display: none;
  }

  .line-qr {
    margin: 24px auto 0;
    display: block;
    object-fit: contain;
    width: 160px;
    height: 160px;
  }

  .contact {
    padding-bottom: 160px;
  }

  .section-button {
    margin-top: 30px;
  }

  .faq__container {
    max-width: 896px;
    margin: 0 auto;
  }

  .faq-list {
    margin: 97px auto 0;
    gap: 40px;
  }

  .faq__title {
    position: relative;
    font-size: 20px;
    line-height: 28px;
    border-radius: 16px 16px 0 0;
    padding: 16px 68px 16px 30px;
    cursor: pointer;
  }

  .faq__title::after {
    top: 24px;
    right: 20px;
  }

  .faq__text p {
    padding: 20px 30px;
    line-height: 30px;
  }
}