.qna-page {
  padding-top: 80px;
}

.qna-page * {
  line-height: 1.4;
}

.qna-page section {
  padding: 80px 0;
}

/* main-banner ------------------------------ */
section.qna-page-main-banner {
  padding: 0;
  margin-top: 50px;
}

.qna-page-main-banner__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
  padding: 80px;
  background: url(../img/qna_main_banner.webp) no-repeat center center/cover;
  border-radius: 30px;
  color: #512217;
}

.qna-page-main-banner__title {
  font-size: 42px;
}

.qna-page-title {
  display: block;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* section-title ------------------------- */
.qna-page-section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
  padding: 0 5px;
}

.qna-page-section-title::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #fdd2af;
  width: 100%;
  height: 10px;
  z-index: -1;
}

/* qna-link ------------------------------ */
section.qna-page-link {
  padding: 80px 0 40px;
  border-bottom: 1px solid #ccc;
}

.qna-page__link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.qna-page__link {
  font-size: 18px;
  font-weight: 500;
  padding: 10px 25px;
  border: 1px solid #ccc;
  border-radius: 50px;
  transition: all 200ms;
}

.qna-page__link:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* qna-page-body ----------------------- */
.qna-page__item:not(:last-child) {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #ccc;
}

.qna-page__question-wrap,
.qna-page__answer-warp {
  display: flex;
  gap: 10px;
  font-weight: 500;
}

.qna-page__question-wrap {
  font-size: 20px;
  margin-bottom: 15px;
}

.qna-page__answer-warp {
  color: #474747;
  font-size: 18px;
}

.qna-page__q,
.qna-page__a {
  font-weight: 600;
}

.qna-page__q {
  color: var(--primary-color);
}

.qna-page__a {
  color: #046dc3;
}
