.page-faq .page-mv {
  background: url("../img/faq/mv-faq.webp") no-repeat center center/cover;
}
@media screen and (max-width: 960px) {
  .page-faq .page-mv {
    background: url("../img/faq/mv-faq-sp.webp?20251030") no-repeat center center/cover;
  }
}
.page-faq .page-mv .page-mv__content {
  max-width: 378px;
}

.faq__tabs {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  gap: 60px;
  border-bottom: 2px solid #DADADA;
}
@media screen and (max-width: 960px) {
  .faq__tabs {
    margin-top: 10px;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    border-bottom: none;
  }
}

.faq__tab {
  padding: 14px;
  text-align: center;
  border-radius: 10px 10px 0 0;
  width: 100%;
  color: #fff;
  position: relative;
  cursor: pointer;
  text-decoration: none;
}
@media screen and (max-width: 960px) {
  .faq__tab {
    border-radius: 5px;
  }
}
.faq__tab:nth-child(1) {
  background: #E4027F;
}
.faq__tab:nth-child(2) {
  background: #FF7B15;
}
.faq__tab:nth-child(3) {
  background: #212121;
}
.faq__tab svg {
  right: 20px;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media (hover: hover) {
  .faq__tab:hover {
    opacity: 0.8;
  }
  .faq__tab:hover svg {
    -webkit-transform: translateY(-20%);
            transform: translateY(-20%);
  }
}

.faq__tab-content {
  display: none;
  margin: 30px auto 0;
  max-width: 874px;
}
@media screen and (max-width: 960px) {
  .faq__tab-content {
    margin-top: 24px;
  }
}
.faq__tab-content.is-active {
  display: block;
}

.faq__item + .faq__item {
  margin-top: 27px;
}
@media screen and (max-width: 960px) {
  .faq__item + .faq__item {
    margin-top: 16px;
  }
}

.faq__question {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  position: relative;
  padding: 16px 18px 30px 56px;
  border-bottom: 1px solid #BBB;
  cursor: pointer;
}
@media screen and (max-width: 960px) {
  .faq__question {
    padding: 8px 32px 24px 48px;
  }
}
@media (hover: hover) {
  .faq__question:hover {
    opacity: 0.7;
  }
}

.faq__question::before {
  content: "Q";
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #FFF;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 800;
  line-height: 150%;
  width: 48px;
  height: 55px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  position: absolute;
  left: 0px;
  top: 4px;
}
@media screen and (max-width: 960px) {
  .faq__question::before {
    width: 40px;
    height: 46px;
    font-size: 28px;
    top: 0;
  }
}

.faq__tab-content--loquacious .faq__question::before {
  background: #E4027F;
}

.faq__tab-content--enrollment .faq__question::before {
  background: #FF7B15;
}

.faq__tab-content--booking .faq__question::before {
  background: #212121;
}

.faq__question::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M0 8.99414H18' stroke='%23E4027F' stroke-width='2'/%3E%3Cpath d='M9.00586 0L9.00586 18' stroke='%23E4027F' stroke-width='2'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  position: absolute;
  top: 18px;
  right: 0;
}
.faq__q-text {
  font-size: 20px;
  font-weight: 400;
  line-height: 150%;
}
@media screen and (max-width: 960px) {
  .faq__q-text {
    font-size: 16px;
  }
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  padding: 0 56px 0 90px;
  color: #000;
  font-size: 20px;
  font-weight: 400;
  line-height: 150%;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media screen and (max-width: 960px) {
  .faq__answer {
    padding: 0px 0px 0px 30px;
    font-size: 16px;
  }
}
.faq__answer p {
  position: relative;
}
.faq__answer p::before {
  content: "A";
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 800;
  line-height: 150%;
  left: -27px;
  top: -8px;
}

.faq__tab-content--loquacious .faq__question::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M0 8.99414H18' stroke='%23E4027F' stroke-width='2'/%3E%3Cpath d='M9.00586 0L9.00586 18' stroke='%23E4027F' stroke-width='2'/%3E%3C/svg%3E");
}
.faq__tab-content--loquacious .faq__item.open .faq__question::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M0 8.99414H18' stroke='%23E4027F' stroke-width='2'/%3E%3C/svg%3E");
}
.faq__tab-content--loquacious .faq__answer p::before {
  color: #E4027F;
}

.faq__tab-content--enrollment .faq__question::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M0 8.99414H18' stroke='%23FF7B15' stroke-width='2'/%3E%3Cpath d='M9.00586 0L9.00586 18' stroke='%23FF7B15' stroke-width='2'/%3E%3C/svg%3E");
}
.faq__tab-content--enrollment .faq__item.open .faq__question::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M0 8.99414H18' stroke='%23FF7B15' stroke-width='2'/%3E%3C/svg%3E");
}
.faq__tab-content--enrollment .faq__answer p::before {
  color: #FF7B15;
}

.faq__tab-content--booking .faq__question::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M0 8.99414H18' stroke='%23212121' stroke-width='2'/%3E%3Cpath d='M9.00586 0L9.00586 18' stroke='%23212121' stroke-width='2'/%3E%3C/svg%3E");
}
.faq__tab-content--booking .faq__item.open .faq__question::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M0 8.99414H18' stroke='%23212121' stroke-width='2'/%3E%3C/svg%3E");
}
.faq__tab-content--booking .faq__answer p::before {
  color: #212121;
}

.faq__item.open .faq__answer {
  max-height: 500px;
  opacity: 1;
  padding: 24px 56px 0 90px;
}
@media screen and (max-width: 960px) {
  .faq__item.open .faq__answer {
    padding: 24px 0 0 30px;
  }
}