.nofaq {
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  color: #222;
  padding: 100px 0;
}

.searchArea {
  position: relative;
  width: fit-content;
  margin: 40px auto 80px;
}
.searchArea .searchInput {
  width: 450px;
  padding: 16px;
  box-sizing: border-box;
  outline: 1px solid #B8C6CC;
  border-radius: 12px;
  border: none;
}

.searchArea .searchInput:focus {
	outline: 1px solid #1AB6E4;
  border: none;
}

.searchArea img {
  position: absolute;
  right: 14px;
  top: 12px;
  cursor: pointer;
}

.scrollCat {
  display: flex;
  flex-direction: column;
}

.faqCatList {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.faqCatList li {
  padding: 12px 16px;
  background: #f6f6f6;
  box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.08);
  border-radius: 100px;
  padding: 12px 16px;
  border-radius: 100px;
  font-size: 18px;
  color: #1a1a1a;
  cursor: pointer;
}

.faqCatList li.active {
  background: #1AB6E4;
  color: #fff;
}


.faqQuestList ul{
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.faqQuestList ul li{
  max-width: 100%;
}

.faqQuestList ul li .questionArea {
  position: relative;
  padding: 32px 40px;
  box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.08);
  border-radius: 32px;
  cursor: pointer;
  background: #f6f6f6;
}
.faqQuestList ul li .questionArea.opened p{
  color: #1AB6E4;
}

.faqQuestList ul li .questionArea .cat {
  font-weight: 700;
  font-size: 18px;
  line-height: 21px;
  color: #1AB6E4;
  margin-bottom: 10px;
}
.faqQuestList ul li .questionArea .question {
  font-weight: 500;
  font-size: 22px;
  line-height: 26px;
  color: #586063;
}

.faqQuestList ul li img.icon {
  position: absolute;
  right: 40px;
  top: 45px;
}

.answerArea {
  display: none;
  margin-top: 30px;
  background: #fff;
  border: 1px solid #E9EAEB;
  border-radius: 32px;
  padding: 40px;
  box-sizing: border-box;
}

.answerArea.show {
  display: block;
}

.answerArea .answerTxt {
  font-size: 20px;
  padding: 0 5px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #586063;
}

.faqPaging {
  margin-bottom: 120px;
}



/* 모바일 기준 998px*/
@media screen and (max-width: 998px) {
  .searchArea {
    width: 100%;
    margin: 32px auto 0;
  }
  .searchArea .searchInput {
    width: 100%;
    padding: 16px;
    outline: 1px solid #B8C6CC;
  }
  
  .searchArea img {
    position: absolute;
    right: 14px;
    top: 12px;
  }
  
  .scrollCat {
    width: 100%;
    margin-top: 40px;
    padding-bottom: 8px;
    flex-direction: column-reverse;
  }
  
  .faqCatList {
    overflow-x: scroll;
    justify-content: flex-start;
    padding: 0 0 12px;
  }

  .faqCatList::-webkit-scrollbar {
    height: 8px; 
  }

  .faqCatList::-webkit-scrollbar-thumb {
    width: 20%;
    border-radius: 8px;
    background-color: rgb(236, 236, 236);
  }

  .faqCatList::-webkit-scrollbar-track {
    background-color: transparent; 
  } 

  .faqQuestList ul{
    gap: 20px;
  }

  .faqCatList li {
    padding: 12px 16px;
    background: #f6f6f6;
    padding: 12px 16px;
    border-radius: 100px;
    font-size: 16px;
    color: #1a1a1a;
    cursor: pointer;
    min-width: fit-content;
}

  .faqQuestList ul li .questionArea {
    padding: 20px 24px;
    border-radius: 16px;
  }
  .faqQuestList ul li .questionArea .cat {
    font-size: 14px;
    line-height: 17px;
    margin-bottom: 4px;
  }
  .faqQuestList ul li .questionArea .question {
    font-size: 18px;
    line-height: 21px;
    width: 85%;
  }
  
  .faqQuestList ul li img.icon {
    position: absolute;
    right: 24px;
    top: calc(100% / 2 - 12px);
    width: 28px;
    height: 28px;
  }
  
  .answerArea {
    display: none;
    margin-top: 20px;
    border-radius: 16px;
    padding: 14px;
    box-sizing: border-box;
  }
  
  .answerArea.show {
    display: block;
  }
  
  .answerArea .answerTxt {
    padding: 20px 5px;
    font-size: 14px;
    line-height: 24px;
    color: #586063;
  }
  
  .faqPaging {
    margin-bottom: 60px;
  }
}