.faq-details {
  box-shadow: 0px 0px 2rem 0px rgba(0, 0, 0, 0.1019607843);
  border-radius: 2rem;
  padding: 2.4rem 6.6rem 2.4rem 3.2rem;
}

@media (max-width: 768px) {
  .faq-details {
    padding-bottom: 1.2rem;
    padding-top: 1.2rem;
    padding-inline: 0;
  }
}
.faq-details-summary {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--faq-details-summary-color, inherit);
  padding-left: 5.4rem;
  position: relative;
  cursor: pointer;
}
.faq-details-summary::-webkit-details-marker {
  display: none;
}
.faq-details-summary::before {
  content: "Q";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 3.8rem;
  aspect-ratio: 1;
  background-color: #A22946;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  letter-spacing: 0.1em;
}
.faq-details-summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -3.4rem;
  width: 1.2rem;
  height: 1.2rem;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

@media (max-width: 768px) {
  .faq-details-summary {
    font-size: 1.8rem;
    padding-left: 6rem;
    padding-right: 3.6rem;
  }
  .faq-details-summary::before {
    width: 3rem;
    height: 3rem;
    font-size: 1.6rem;
    left: 1.6rem;
  }
  .faq-details-summary::after {
    right: 1.6rem;
    width: 0.8rem;
    height: 0.8rem;
  }
}
.faq-details[open] .faq-details-summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-details-text {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.8;
  margin-top: 2.4rem;
}

@media (max-width: 768px) {
  .faq-details-text {
    font-size: 1.4rem;
    margin-top: 1.6rem;
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }
}
.main {
  padding-top: 3.2rem;
  padding-bottom: 15rem;
}

.faq-container {
  max-width: 164rem;
  margin-inline: auto;
  padding-inline: 27rem;
}

@media (max-width: 768px) {
  .faq-container {
    padding-inline: 1.6rem;
  }
}
.page-title {
  font-size: 5.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  font-family: "Zen Old Mincho", serif;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 8rem;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 4rem;
  }
}
.page-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  font-family: "Noto Sans JP", sans-serif;
  color: #A22946;
}

.faq-list {
  --faq-details-summary-color: #A22946;
  width: 110rem;
  margin-inline: auto;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 8rem;
}

@media (max-width: 768px) {
  .faq-list {
    width: 100%;
  }
}
