/* よくある質問ページ用 */

/* 必要なパーツ読み込み */
@import url('../faq/_fv.css');
@import url('../faq/_problem.css');
@import url('../faq/_feature.css');
@import url('../faq/_cta.css');

/* faq固有（あればここから下に書く） */
body {
  background-color: #FAF6EF; 
  font-family: "Noto Sans CJK JP";
  margin: 0 auto;
}

.q-comments {
  position: relative;
  padding-bottom: 64.29px;
}

.button {
  display: flex;
  justify-content: center;
  margin-top: 37px;
  gap : 18px;
  font-size: 16px;
  font-weight: bold;
  padding-right: 50px;
}

.q-comments li {
  list-style: none;
  border-radius: 9999px;
  display: inline-block;
  background-color: #ffffff;
  text-align: center;
}

.q-comments button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 156px;
  padding: 12.5px 0;
  border: 1px solid #000000;
  border-radius: 9999px;
  color: #282828;
  background: transparent;

  font-family: "Noto Sans CJK JP";
  font-weight: 700;
}

.q-comments button:hover {
  background: #000;
  color: #fff;
}

.q-comments button.active {
  background: #000;
  color: #fff;
}


.q_section {
  max-width: 731px;
  width: 100%;
  margin-top: 55px;
  margin-left: auto;
  margin-right: auto;
  display: none;
}

.q_section.active {
  display: block;
}

.q_section_title {
  margin-bottom: 43px;
}

.q_title {
  font-size: 22px;
  font-weight: bold;
  color: #282828;
}

.q_primary {
  display: flex;
  gap: 11px;
  margin-bottom: 34px;
}



.q_primary p {
  display: flex;
  font-size: 20px;
  font-weight: 700;
  color: #282828;
  align-items: center;
  padding-bottom: 3px;
}

.q_secondary {
  display: flex;
  align-items: flex-start; /* 上揃え */
  position: relative;
  margin-bottom: 58px;
  margin-left: 50px;
}

.q_secondary  img {
  object-fit: cover;
}

.q_secondary:last-of-type {
  margin-bottom: 70px;
}

.q_secondary img {
  position: absolute;
  left: -7px;
  top: -34px;
}

.chart {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 559px;
  padding: 21px 19px 22px 46px;
  margin-left: 128px;
  background-color: #fff;
  border-radius: 8px 8px 8px 0;
  box-sizing: border-box;
  color: #282828;
  font-weight: 500;
  line-height: 1.41;
}


/* 背景画像 */

.q-comments {
  position: relative;
  overflow: hidden;
}

.q-comments__bg-wrap {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.q-comments__bg {
  position: absolute;
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
}
#faq.l-container {
  position: relative;
  z-index: 1;
}

.q-comments__bg--1 {
  width: 326.24px; /* 適切なサイズに調整 */
  height:423.21px; /* 適切なサイズに調整 */
  top: 78px;
  right: -128px;
  background-image: url('../../img/common-bg_paint11.svg');
}

.q-comments__bg--2 {
  width: 326.24px; /* 適切なサイズに調整 */
  height: 360.59px; /* 適切なサイズに調整 */
  top: 422px;
  left: -131px;
  background-image: url('../../img/common-bg_paint12.svg');
}

.q-comments__bg--3 {
  width: 322.37px; /* 適切なサイズに調整 */
  height: 309.27px; /* 適切なサイズに調整 */
  top: 1108px;
  right:  -97px;
  background-image: url('../../img/common-bg_paint2.svg');
}

.q-comments__bg--4 {
  width: 263.97px; /* 適切なサイズに調整 */
  height: 260.95px; /* 適切なサイズに調整 */
  position: absolute;
  top: 1525px;
  left: -53px;
  background-image: url('../../img/common-bg_paint13.svg');
}

.q-comments__bg--5 {
  width: 284.9px; /* 適切なサイズに調整 */
  height: 441.73px; /* 適切なサイズに調整 */
  top: 2056px;
  right: -70px;
  background-image: url('../../img/common-bg_paint14.svg');
}

.q-comments__bg--6 {
  width: 118.09px; /* 適切なサイズに調整 */
  height: 127.28px; /* 適切なサイズに調整 */
  bottom:46.4px;
  left: 46.19px;
  background-image: url('../../img/common-bg_paint4.svg');
}

@media screen and (min-width: 1281px) {
  .q-comments__bg--1 {
    left: calc((100vw - 1280px) / 2 + 1090px);
  }  
    .q-comments__bg--2 {
    left: calc((100vw - 1280px) / 2 - 212px);
  }  
    .q-comments__bg--3 {
    left: calc((100vw - 1280px) / 2 + 1090px);
  }  
    .q-comments__bg--4 {
    left: calc((100vw - 1280px) / 2 - 81px);
  }  
    .q-comments__bg--5 {
    left: calc((100vw - 1280px) / 2 + 1095px);
  }  
    .q-comments__bg--6 {
    left: calc((100vw - 1280px) / 2 + 41px);
  }  
}
/* レスポンシブはここから */

@media screen and (max-width: 1110px) {
    .l-footer-upper__inner-big-txt{
        font-size: 3.5rem;
    }
}

@media screen and (max-width: 1000px) {
    .l-footer-upper__inner-big-txt{
        font-size: 3rem;
    }
}

@media screen and (max-width: 900px) {
  .l-footer-upper__inner-big-txt{
      font-size: 2.5rem;
  }

  .l-footer-upper__inner-mini-txt{
      font-size: 15px;
  }
}

@media screen and (max-width: 800px) {
  .button {
    padding-right: unset;
  }
}

  @media screen and (max-width: 767px) {
  .l-footer-upper__inner-big-txt{
      font-size: 3.5rem;
  }

  .q_section {
    max-width: 357px;
  }

  .q-comments__bg-wrap {
    display: none;
  }

  .button {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap : 12px;
    margin-top: 14px;
    margin-bottom: 64px;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
  }

  .q-comments button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 172px;
    padding: 8px 0;
    border: 1px solid #000000;
    border-radius: 9999px;
    color: #282828;
    background: transparent;
  }

  .q-comments button.active {
    background: #000;
    color: #fff;
  }

  .q_section_title {
    margin-bottom: 21px;
  }

  .q_primary img {
    width: 55.53px;
  }

  .q_primary p {
    display: flex;
    font-size: 16px;
    font-weight: 700;
    color: #282828;
    align-items: center;
    padding-bottom: 3px;
    margin-left: 18.47px;
    max-width: 250px;
  }

  .q_secondary {
    display: flex;
    align-items: flex-start; /* 上揃え */
    position: relative;
    margin-bottom: 64px;
    margin-left: 8px;
  }

  .q_secondary  img {
    width: 100px;
    z-index: 1;
  }

  .chart {
    display: flex;
    align-items: center;
    width: 276px;
    padding: 13px 0px 13px 33px;
    margin-left: 73px;
    background-color: #fff;
    border-radius: 8px 8px 8px 0;
    transform: translateY(-19px);
    box-sizing: border-box;
    color: #282828;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.41;
  }
}