/* ===========================================
 * FAQ
 * ======================================== */

.faq {
  padding: 6rem 0;
  .inner {
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }
  .content__area {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  .content__item {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }
  .question {
    font-weight: var(--text-bold);
    background-color: var(--bg-gray);
    padding: 1.2rem 1.2rem 1.2rem 5.2rem;
    position: relative;
  }
  .question::before {
    content: "Q";
    background-color: var(--bg-accent);
  }
  .answer {
    font-weight: var(--text-bold);
    padding: 1.2rem 1.2rem 1.2rem 5.2rem;
    position: relative;
  }
  .answer::before {
    content: "A";
    background-color: var(--bg-main);
  }
  .question::before,
  .answer::before {
    font-size: 2rem;
    padding: 1.1rem 1.4rem;
    font-family: "Roboto", "Yu Gothic Medium", "Yu Gothic", YuGothic, Verdana, Meiryo, "M+ 1p", sans-serif;
    font-weight: 300;
    color: var(--text-white);
    position: absolute;
    line-height: 1;
    top: 0;
    left: 0;
  }
}

@media screen and (min-width:960px) {
  .faq {
    padding: 10rem 5%;
    .inner {
      padding: 0;
      max-width: 110rem;
      margin: 0 auto;  
    }
    .question,
    .answer {
      padding: 1rem 1.2rem 1rem 6rem;
    }
    .question::before, .answer::before {
      padding: 1.3rem 1.7rem;
    } 
  }
}

@media screen and (min-width:1280px) {
  .faq {
    padding: 15rem 5%;
  }
}