@charset "utf-8";

/*-------------------------------------------
共通
-------------------------------------------*/
.sp {
  display: none;
}

/*-------------------------------------------
メイン
-------------------------------------------*/
.faq-title-area {
  background-image: url(../images/back_rectangle.png);
  padding: 45px 0 60px;
}
.faq-title {
  text-align: center;
  font-size: 36px;
}
.faq-wrapper {
  width: 960px;
  margin: 0 auto;
  max-width: 100%;
  padding: 0 20px;
}
.faq-category {
  font-size: 36px;
  text-align: center;
  position: relative;
  margin-top: 120px;
}
.faq-category::before {
  content: "";
  background-image: url(../images/crown.png);
  background-size: contain;
  width: 54px;
  height: 39px;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
}
.faq-category::after {
  content: "";
  width: 100px;
  height: 4px;
  background-color: #FF2B2B;
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
}
.qa-list {
  margin-top: 50px;
}
.qa-item {
  margin-top: 60px;
}
.question {
  background-color: #FFDB20;
  padding: 20px 36px 18px 34px;
  border-radius: 10px;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.question-mark {
  font-size: 24px;
  color: #A10000;
}
.answer {
  padding: 22px 0 0 48px;
  font-size: 20px;
  line-height: 1.5;
}
.answer-mark {
  font-size: 24px;
  color: #2CB3FF;
}
.answer-link {
  text-decoration: underline;
}
.answer-link:hover {
  text-decoration: none;
  opacity: 0.8;
}
.toggle {
  display: none;
}
.question,
.answer {
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: 0.5s ease;
}
.question::after,
.question::before {
  content: "";
  position: absolute;
  right: 1.25em;
  top: 1.25em;
  width: 2px;
  height: 0.75em;
  background-color: #333;
  transition: 0.5s ease;
}
.question::after {
  transform: rotate(90deg);
}
.answer {
  max-height: 0;
  overflow: hidden;
}
.toggle:checked + .question + .answer {
  max-height: 500px;
  transition: all 2s;
}
.toggle:checked + .question::before {
  transform: rotate(90deg);
}

/*-------------------------------------------
レスポンシブ
-------------------------------------------*/
@media screen and (max-width: 768px) {
  /*-------------------------------------------
  共通
  -------------------------------------------*/
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  /*-------------------------------------------
  メイン
  -------------------------------------------*/
  .faq-title-area {
    padding: 13px 0 16px;
  }
  .faq-title {
    font-size: 24px;
  }
  .faq-category {
    font-size: 24px;
    margin-top: 70px;
  }
  .faq-category::before {
    width: 42px;
    height: 30px;
    position: absolute;
    top: -30px;
  }
  .faq-category::after {
    height: 5px;
    bottom: -16px;
  }
  .qa-item {
    margin-top: 40px;
  }
  .question {
    padding: 18px 35px 14px 15px;
    font-size: 14px;
  }
  .question-mark {
    font-size: 14px;
  }
  .answer {
    padding: 10px 0 0 15px;
    font-size: 14px;
  }
  .answer-mark {
    font-size: 14px;
  }
}