/*==============================================
  Front page FAQ (accordion)
===============================================*/

.fp-faq {
  position: relative;
  display: block;
  padding: 56px 0 64px;
  background-color: #f5f5f6;
}

.fp-faq__header {
  position: relative;
  text-align: center;
  margin-bottom: 36px;
}

.fp-faq__star {
  position: absolute;
  width: 52px;
  height: 52px;
  left: 50%;
  top: 50%;
  transform: translate(-120%, -50%) rotate(-12deg);
  background-color: var(--nexin-base);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  opacity: 0.9;
  pointer-events: none;
}

.fp-faq__star--green {
  background-color: var(--nexin-base);
}

.fp-faq__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--nexin-black);
  font-family: var(--nexin-font);
}

.fp-faq__list {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 15px;
}

.fp-faq__list .accrodion {
  border: none;
  border-bottom: 1px solid rgba(var(--nexin-black-rgb), 0.08);
  background: transparent;
  border-radius: 0;
  margin-top: 0;
}

.fp-faq__list .accrodion:first-child {
  border-top: 1px solid rgba(var(--nexin-black-rgb), 0.08);
}

.fp-faq__list .accrodion-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  margin-bottom: 0;
  padding-bottom: 18px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.fp-faq__list .accrodion-title:hover {
  opacity: 0.85;
}

.fp-faq__list .accrodion-title h4::before {
  content: none;
  display: none;
}

.fp-faq__list .accrodion-title h4 {
  position: relative;
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--nexin-gray);
  font-family: var(--nexin-font);
  text-transform: none;
  padding-right: 40px;
  flex: 1;
}

.fp-faq__list .accrodion-title h4::after {
  content: "\f067";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Font Awesome 5 Pro";
  font-weight: 600;
  font-size: 16px;
  color: var(--nexin-black);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(var(--nexin-black-rgb), 0.06);
}

.fp-faq__list .accrodion.active .accrodion-title h4::after {
  content: "\f068";
  background-color: rgba(var(--nexin-black-rgb), 0.1);
}

.fp-faq__list .accrodion-content {
  padding: 0 0 20px 0;
  margin-top: -4px;
  padding-right: 0;
}

.fp-faq__list .accrodion-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #6b6f78;
  text-transform: none;
}

.fp-faq__list .accrodion-content a {
  color: #0b73ff;
  text-decoration: none;
  font-weight: 500;
}

.fp-faq__list .accrodion-content a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .fp-faq {
    padding: 44px 0 48px;
  }

  .fp-faq__header {
    margin-bottom: 28px;
  }

  .fp-faq__star {
    width: 42px;
    height: 42px;
    transform: translate(-115%, -50%) rotate(-12deg);
  }

  .fp-faq__title {
    font-size: 22px;
  }

  .fp-faq__list .accrodion-title h4 {
    font-size: 15px;
    padding-right: 32px;
  }

  .fp-faq__list .accrodion-content p {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .fp-faq {
    padding: 36px 0 40px;
  }

  .fp-faq__title {
    font-size: 20px;
  }

  .fp-faq__list .accrodion-title {
    padding: 14px 0;
    padding-bottom: 14px;
  }

  .fp-faq__list .accrodion-title h4::before {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }
}
