:root {
  --txtBase: #212029;
  --txtGray: #6c6971;
  --gray: #ccc;
  --lightGray: #f2f2f2;
  --purple: #b06bbe;
  --lightPurple: #f8eafa;
  --red: #e28477;
  --lightRed: #fdefed;
  --blue: #4c86c5;
  --lightBlue: #e7f4fa;
  --gold: #9d7900;
  --lightGold: #fcfcdd;
  --green: #5db15b;
  --lightGreen: #edfded;
  --orange: #e5821c;
  --lightOrange: #fcf5e7;
  --productBorderLightPurple: #eccef0;
  --productBgLightPurple: #fefaff;
  --productBlue: #4580C2;
  --productGray: #484848;
  --productLightGray: #fcfcfc;
  --productBorderGray: #d7d7d7;
}

.pageHeader {
  padding-bottom: 60px;
  border-bottom: 1px solid #6c6971;
  margin-bottom: 100px;
}

.faqProduct {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 4fr);
  gap: 80px 60px;
  margin-bottom: 160px;
}
@media screen and (max-width: 768px) {
  .faqProduct {
    grid-template-columns: 1fr;
  }
}

.faqProduct-sidebar {
  position: sticky;
  top: 130px;
  align-self: start;
}
@media screen and (max-width: 768px) {
  .faqProduct-sidebar {
    position: static;
    max-height: none;
  }
}
.faqProduct-sidebar__heading {
  color: var(--txtBase);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.72px;
  pointer-events: none;
  margin-bottom: 24px;
}
@media screen and (max-width: 768px) {
  .faqProduct-sidebar__heading {
    width: 100%;
    padding: 16px 16px 18px 16px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px;
    border: 2px solid var(--productBorderGray);
    background: #FBFBFB;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.04);
    pointer-events: auto;
    cursor: pointer;
  }
  .faqProduct-sidebar__heading::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: auto;
    aspect-ratio: 1/1;
    background-image: url(../../../img/products/icon_arr_down_pp.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: 0.3s;
  }
  .faqProduct-sidebar__heading.is-open::after {
    transform: rotate(180deg);
  }
}

@media screen and (max-width: 768px) {
  .faqProduct-categoryList {
    display: none;
    border-radius: 6px;
    overflow: hidden;
  }
}
.faqProduct-categoryList .children {
  display: none;
}
.faqProduct-categoryList .children.is-open {
  background: #FBFBFB;
}
.faqProduct-categoryList .children .faqProduct-categoryList__link {
  padding-left: 20px;
}
.faqProduct-categoryList__group {
  background: #fff;
}
.faqProduct-categoryList__parent {
  color: var(--txtBase);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.6px;
  padding: 10px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--productBorderGray);
}
.faqProduct-categoryList__parent::after {
  content: "";
  flex-shrink: 0;
  display: inline-block;
  width: 10px;
  height: auto;
  aspect-ratio: 1/1;
  background-image: url(../../../img/products/icon_arr_down_bk.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: 0.3s;
}
.faqProduct-categoryList__parent.is-open {
  background: #FBFBFB;
}
.faqProduct-categoryList__parent.is-open::after {
  transform: rotate(180deg);
}
.faqProduct-categoryList__link {
  color: var(--txtBase);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.6px;
  border-bottom: 1px dashed var(--productBorderGray);
  padding: 10px;
  width: 100%;
  display: block;
}

.faqProduct-contents {
  display: flex;
  flex-direction: column;
  gap: 60px 0;
}

.faqProduct-group__heading {
  color: var(--txtBase);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.88px;
  margin-bottom: 24px;
  padding-left: 18px;
  position: relative;
}
.faqProduct-group__heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background-color: var(--purple);
}
.faqProduct-group__list {
  display: flex;
  flex-direction: column;
  gap: 6px 0;
}

.faqProduct-card {
  border: solid 1px var(--productBorderGray);
  border-radius: 6px;
}
.faqProduct-card__heading {
  width: 100%;
  display: block;
  padding: 24px;
}
.faqProduct-card__heading-text {
  color: var(--txtBase);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.64px;
  display: block;
  position: relative;
  padding-left: 40px;
}
.faqProduct-card__heading-text::before {
  content: "Q.";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--txtBase);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.96px;
}
.faqProduct-card__contents {
  padding: 0 24px 24px;
  display: none;
}
.faqProduct-card__body {
  color: var(--txtBase);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.64px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px 0;
  border-top: solid 1px var(--productBorderGray);
  padding-top: 20px;
  padding-left: 40px;
}
.faqProduct-card__body::before {
  content: "A.";
  position: absolute;
  top: 24px;
  left: 0;
  color: var(--purple);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.96px;
}
.faqProduct-card__body a {
  color: var(--purple);
  text-decoration: underline;
  text-decoration-color: currentColor;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}
.faqProduct-card__body a::after {
  content: "";
  width: 12px;
  height: auto;
  aspect-ratio: 1/1;
  background: url(../../../img/products/icon_btn_inlink_pp.svg) center/contain no-repeat;
  transform: rotate(180deg);
}
.faqProduct-card__body a:hover {
  opacity: 0.6;
}