@charset "UTF-8";
.faq {
  margin: 0 80px 120px;
}
@media (width < 1280px) and (width >= 768px) {
  .faq {
    margin: 20px 40px 80px;
  }
}
@media (width < 768px) {
  .faq {
    margin: 20px 20px 40px;
  }
}
.faq__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: fit-content;
  margin: 0 auto 60px;
}
.faq__title {
  width: fit-content;
  margin: 0 auto;
  font-weight: 800;
  font-size: 48px;
  font-family: raleway, sans-serif;
  letter-spacing: 0.1em;
}
@media (width < 1280px) and (width >= 768px) {
  .faq__title {
    font-size: 32px;
  }
}
@media (width < 768px) {
  .faq__title {
    font-size: 24px;
  }
}
.faq__subtitle {
  width: fit-content;
  padding: 0 48px;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: 0.1em;
  border-right: 1px solid #000;
  border-left: 1px solid #000;
}
@media (width < 1280px) and (width >= 768px) {
  .faq__subtitle {
    padding: 0 32px;
    font-size: 24px;
  }
}
@media (width < 768px) {
  .faq__subtitle {
    padding: 0 24px;
    font-size: 16px;
  }
}
.faq__contents {
  display: flex;
  flex-direction: column;
  margin: 0 120px;
}
@media (width < 1280px) and (width >= 768px) {
  .faq__contents {
    margin: 0 60px;
  }
}
@media (width < 768px) {
  .faq__contents {
    margin: 0 20px;
  }
}
.faq__group {
  display: flex;
  flex-direction: column;
}
.faq__group-title {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.5;
}
@media (width < 1280px) and (width >= 768px) {
  .faq__group-title {
    font-size: 20px;
  }
}
@media (width < 768px) {
  .faq__group-title {
    font-size: 16px;
  }
}
.faq__item {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  border-top: 1px solid #bcbcbc;
}
.faq__item:last-child {
  border-bottom: 1px solid #bcbcbc;
}
.faq__question {
  display: flex;
  gap: 20px;
  align-items: center;
  cursor: pointer;
}
.faq__question::after {
  align-self: center;
  margin-left: auto;
  color: #bcbcbc;
  font-size: 24px;
  content: "+";
}
@media (width < 768px) {
  .faq__question::after {
    font-size: 16px;
  }
}
.faq__q-label, .faq__a-label {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  align-self: flex-start;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-weight: 800;
  font-size: 16px;
  font-family: raleway, sans-serif;
  line-height: 2;
  background-color: #ffd42c;
  border: 1px solid #000;
  border-radius: 9999px;
}
@media (width < 768px) {
  .faq__q-label, .faq__a-label {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}
.faq__q-text, .faq__a-text {
  display: flex;
  align-items: center;
}
@media (width < 768px) {
  .faq__q-text, .faq__a-text {
    font-size: 12px;
  }
}
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq__answer-inner {
  min-height: 0;
  overflow: hidden;
}
.faq__answer-body {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  padding-top: 12px;
}
.faq__item--open .faq__answer {
  grid-template-rows: 1fr;
}
.faq__item--open .faq__question::after {
  content: "−";
}
