/* --------------------------------- */
.faq-contents {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 80px);
}
@media screen and (min-width: 1024px) {
  .faq-contents {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2vw;
  }
}
.faq-side .inner {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 40px);
  position: sticky;
  top: 100px;
}
.faq-side h3 {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(0.875rem, 0.832rem + 0.16vw, 1rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--accent-color);
}
.faq-side h3:before {
  content: "";
  width: 8px;
  height: 8px;
  display: block;
  background-color: var(--accent-color);
  border-radius: 50%;
}
.faq-side ul {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  list-style: none;
}
@media screen and (min-width: 1024px) {
  .faq-side ul {
    gap: 10px;
  }
}
.faq-side ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(0.875rem, 0.832rem + 0.16vw, 1rem);
  line-height: 1.4;
}
.faq-side ul li:before {
  width: 20px;
  font-weight: 500;
  color: var(--accent-color);
}
.faq-side ul li:nth-child(1):before {
  content: "01";
}
.faq-side ul li:nth-child(2):before {
  content: "02";
}
.faq-side ul li:nth-child(3):before {
  content: "03";
}
.faq-side ul li:nth-child(4):before {
  content: "04";
}
.faq-side a {
  text-decoration: none;
  color: rgb(0, 0, 0);
}
@media screen and (min-width: 1024px) {
  .faq-side {
    grid-column: 1/4;
  }
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 80px);
}
@media screen and (min-width: 1024px) {
  .faq-list {
    grid-column: 4/13;
  }
}
.faq-list__section {
  margin-block-start: -80px;
  padding-block-start: 80px;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 40px);
}
@media screen and (min-width: 1024px) {
  .faq-list__section {
    margin-block-start: -100px;
    padding-block-start: 100px;
  }
}
.faq-list__section .title {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: clamp(1.5rem, 1.328rem + 0.64vw, 2rem);
  font-weight: 700;
  color: var(--accent-color);
}
.faq-list__section .title:before {
  font-weight: 600;
}
.faq-list__section:nth-child(1) .title:before {
  content: "01";
}
.faq-list__section:nth-child(2) .title:before {
  content: "02";
}
.faq-list__section:nth-child(3) .title:before {
  content: "03";
}
.faq-list__section:nth-child(4) .title:before {
  content: "04";
}
.faq-list__section .inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-list__section .item {
  padding: clamp(20px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 2px solid var(--accent-color);
  border-radius: 10px;
  overflow: hidden;
  transition: all 400ms cubic-bezier(0.65, 0, 0.35, 1);
  cursor: pointer;
}
.faq-list__section .item:hover, .faq-list__section .item.active {
  background-color: var(--accent-color);
}
.faq-list__section .item:hover h4, .faq-list__section .item.active h4 {
  color: var(--white-color);
}
.faq-list__section .item:hover h4:before, .faq-list__section .item.active h4:before {
  color: var(--white-color);
}
.faq-list__section .item:hover h4 span:before, .faq-list__section .item:hover h4 span:after, .faq-list__section .item.active h4 span:before, .faq-list__section .item.active h4 span:after {
  background-color: var(--white-color);
}
.faq-list__section .item.active {
  gap: clamp(20px, 3vw, 40px);
}
.faq-list__section .item.active h4 span:before {
  background-color: var(--white-color);
}
.faq-list__section .item.active h4 span:after {
  opacity: 0;
}
.faq-list__section .item.active p {
  height: auto;
  line-height: 1.6;
}
@media screen and (min-width: 1024px) {
  .faq-list__section .item {
    border-radius: 20px;
  }
}
.faq-list__section h4,
.faq-list__section p {
  padding-inline-start: 40px;
  position: relative;
  transition: all 400ms cubic-bezier(0.65, 0, 0.35, 1);
}
.faq-list__section h4:before,
.faq-list__section p:before {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: clamp(1rem, 0.914rem + 0.32vw, 1.25rem);
  transition: color 400ms cubic-bezier(0.65, 0, 0.35, 1);
}
.faq-list__section h4 {
  font-size: clamp(1.125rem, 0.996rem + 0.48vw, 1.5rem);
  line-height: 1.6;
}
.faq-list__section h4:before {
  content: "Q.";
  color: var(--accent-color);
}
.faq-list__section h4 span {
  padding-inline-end: 30px;
  display: block;
  position: relative;
}
.faq-list__section h4 span:before, .faq-list__section h4 span:after {
  content: "";
  display: block;
  background-color: var(--accent-color);
  position: absolute;
  transition: all 400ms cubic-bezier(0.65, 0, 0.35, 1);
}
.faq-list__section h4 span:before {
  width: 16px;
  height: 2px;
  right: 0;
  top: calc(50% - 1px);
}
.faq-list__section h4 span:after {
  width: 2px;
  height: 16px;
  right: 7px;
  top: calc(50% - 8px);
}
.faq-list__section p {
  padding-block-start: 0;
  overflow: hidden;
  font-size: clamp(1rem, 0.914rem + 0.32vw, 1.25rem);
  line-height: 0;
  color: var(--white-color);
}
.faq-list__section p:before {
  content: "A.";
}