.faq-wrapper {
  display: flex;
  align-items: start;
  gap: 20px;
}
@media screen and (max-width: 1024px) {
  .faq-wrapper {
    flex-direction: column;
  }
}
@media screen and (max-width: 768px) {
  .faq-wrapper {
    gap: 16px;
  }
}
.faq-info {
  position: sticky;
  top: 100px;
  width: 50%;
  padding: 186px 64px 64px;
  background-color: var(--color-secondary-100);
  border-radius: var(--radius-base);
  overflow: hidden;
}
@media screen and (max-width: 1600px) {
  .faq-info {
    padding: 148px 48px 48px;
  }
}
@media screen and (max-width: 1024px) {
  .faq-info {
    width: 100%;
    position: relative;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
@media screen and (max-width: 650px) {
  .faq-info {
    padding: 24px 16px;
  }
}
.faq-info h2 {
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 1300px) {
  .faq-info h2 {
    font-size: 42px;
  }
}
@media screen and (max-width: 1024px) {
  .faq-info h2 {
    font-size: var(--font-size-title);
    text-align: center;
  }
}
@media screen and (max-width: 650px) {
  .faq-info h2 {
    font-size: var(--font-size-title-small);
  }
  .faq-info h2 span {
    font-size: var(--font-size-title);
  }
}
.faq-info > * {
  position: relative;
  z-index: 1;
}
.faq-info::after, .faq-info::before {
  content: "";
  display: block;
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.faq-info::after {
  background-image: url("../../img/icons/faq_icon_1.svg");
  width: 198px;
  height: 184px;
  right: 319px;
  top: -30px;
  transform: rotate(-10deg);
}
@media screen and (max-width: 1024px) {
  .faq-info::after {
    left: -51px;
    top: 108px;
  }
}
@media screen and (max-width: 650px) {
  .faq-info::after {
    width: 105px;
    height: 98px;
    left: -14px;
    top: 127px;
    transform: rotate(-30deg);
  }
}
.faq-info::before {
  background-image: url("../../img/icons/faq_icon_2.svg");
  width: 423px;
  height: 393px;
  right: -95px;
  bottom: -80px;
  transform: rotate(20deg);
}
@media screen and (max-width: 650px) {
  .faq-info::before {
    width: 168px;
    height: 156px;
    right: -45px;
    bottom: 46px;
  }
}
.faq-list {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media screen and (max-width: 1024px) {
  .faq-list {
    width: 100%;
  }
}
.faq-list-item {
  background-color: var(--color-white-5);
  padding: 32px;
  border-radius: var(--radius-base);
}
@media screen and (max-width: 1600px) {
  .faq-list-item {
    padding: 24px;
  }
}
@media screen and (max-width: 768px) {
  .faq-list-item {
    padding: 16px;
  }
}
.faq-list-item-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.faq-list-item-q span {
  font-weight: 600;
  font-size: var(--font-size-24);
  line-height: 120%;
  padding: 0 16px 0 0;
}
.faq-list-item-q-btn {
  width: 36px;
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-grey-40);
  position: relative;
  transition: var(--transition-default);
}
.faq-list-item-q-btn::after, .faq-list-item-q-btn::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-black-80);
  transition: var(--transition-default);
}
.faq-list-item-q-btn::after {
  width: 15px;
  height: 2px;
}
.faq-list-item-q-btn::before {
  width: 2px;
  height: 15px;
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: center;
}
.faq-list-item-q:hover .faq-list-item-q-btn {
  background-color: var(--color-primary-100);
}
.faq-list-item-q:hover .faq-list-item-q-btn::after, .faq-list-item-q:hover .faq-list-item-q-btn::before {
  background-color: var(--color-white-100);
}
.faq-list-item-a {
  max-height: 0;
  margin: 0;
  opacity: 0;
  font-weight: 400;
  font-size: var(--font-size-18);
  line-height: 140%;
  letter-spacing: -1%;
  color: var(--color-black-80);
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
}
.faq-list-item-a ul {
  list-style: disc;
  padding-left: 24px;
}
.faq-list-item-a ul li {
  margin-bottom: 12px;
}
.faq-list-item-a ul li:last-child {
  margin-bottom: 0;
}
.faq-list-item.open .faq-list-item-q-btn::before {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
}
.faq-list-item.open .faq-list-item-q:hover .faq-list-item-q-btn {
  background-color: var(--color-primary-80);
}
.faq-list-item.open .faq-list-item-a {
  max-height: 800px;
  margin-top: 24px;
  opacity: 1;
}
@media screen and (max-width: 1600px) {
  .faq-list-item.open .faq-list-item-a {
    margin-top: 12px;
  }
}