/*************************************************** よくある質問 ***************************************************/
main {
}
@media screen and (max-width: 767px) {
  main {
  }
}

.top-wrapper {
  background-image: url(../img/common/img-sub-top.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  padding: 6rem 0;
}
.top-wrapper h2 {
  font-size: 40px;
  text-align: center;
  position: relative;
}
.store .top-wrapper h2 {
  color: var(--color-main-sub);
}
.top-wrapper h2::before {
  content: "";
  display: block;
  width: 67px;
  height: 63px;
  margin: 0 auto;
}
.store .top-wrapper h2::before {
  background-image: url(../img/question/img-icon.webp);
  background-repeat: no-repeat;
  background-size: cover;
}
.citizen .top-wrapper h2::before {
  background-color: var(--color-main);
  -webkit-mask-image: url(../img/question/img-icon.webp);
  mask-image: url(../img/question/img-icon.webp);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.question-wrapper {
  max-width: var(--contents-width-pc);
  width: auto;
  margin: 3rem auto;
}
.question-wrapper .q-nav p {
  font-size: 40px;
  position: relative;
  width: fit-content;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.question-wrapper .q-nav p::before {
  content: "";
  display: block;
  width: 35px;
  height: 45px;
  margin: 0 auto;
}
.store .question-wrapper .q-nav p::before {
  background-image: url(../img/question/img-nav-icon.webp);
  background-repeat: no-repeat;
  background-size: cover;
}
.citizen .question-wrapper .q-nav p::before {
  background-color: var(--color-main);
  -webkit-mask-image: url(../img/question/img-nav-icon.webp);
  mask-image: url(../img/question/img-nav-icon.webp);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.question-wrapper .q-nav p::after {
  content: "";
  display: block;
  width: 100%;
  height: 15px;
  margin: 0 auto;
  border-radius: 10px;
  position: absolute;
  left: 0;
  bottom: 7px;
  z-index: -1;
}
.store .question-wrapper .q-nav p::after,
.store .question-wrapper .q-nav div {
  background-color: #fff3b6;
}
.citizen .question-wrapper .q-nav p::after,
.citizen .question-wrapper .q-nav div {
  background-color: #ebf3d8;
}
.question-wrapper .q-nav div {
  max-width: 810px;
  width: auto;
  margin: 2rem auto 5rem;
  padding: 2rem;
  position: relative;
}
.question-wrapper .q-nav div::before {
  content: "";
  display: block;
  width: 1px;
  height: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.store .question-wrapper .q-nav div::before {
  background-color: var(--color-main-sub);
}
.citizen .question-wrapper .q-nav div::before {
  background-color: var(--color-main);
}
.question-wrapper .q-nav ul {
  columns: 2;
  column-gap: 5rem;
}
.question-wrapper .q-nav li {
  break-inside: avoid;
  text-indent: -1.4em;
  padding-left: 3em;
}
.question-wrapper .q-nav li:not(:last-of-type) {
  margin-bottom: 10px;
}
.question-wrapper .q-nav li a {
  font-size: 20px;
  font-weight: bold;
  display: inline-block;
  position: relative;
}
.question-wrapper .q-nav li a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1.5rem;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  display: block;
  width: 15px;
  height: 16px;
}
.store .question-wrapper .q-nav li a::after {
  background-image: url(../img/question/img-arrow.svg);
  background-repeat: no-repeat;
  background-size: cover;
}
.citizen .question-wrapper .q-nav li a::after {
  background-color: var(--color-main);
  -webkit-mask-image: url(../img/question/img-arrow.svg);
  mask-image: url(../img/question/img-arrow.svg);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.question-wrapper .q-nav li a:hover::after {
  right: -2rem;
}
.question-wrapper .q-inner:not(:last-of-type) {
  margin-bottom: 3.5rem;
}
.question-wrapper .q-inner h3 {
  font-size: 30px;
  padding-right: 0.8rem;
  position: relative;
  width: fit-content;
  margin-bottom: 3rem;
}
.question-wrapper .q-inner h3::after {
  content: "";
  display: block;
  width: 100%;
  height: 15px;
  border-radius: 10px;
  position: absolute;
  left: 0;
  bottom: 2px;
  z-index: -1;
}
.store .question-wrapper .q-inner h3::after,
.store .question-wrapper .q-inner-item p {
  background-color: #fff3b6;
}
.citizen .question-wrapper .q-inner h3::after,
.citizen .question-wrapper .q-inner-item p {
  background-color: #ebf3d8;
}
.question-wrapper .q-inner-item {
  border: 1px solid;
  border-radius: 5px;
  margin-top: 1.5rem;
  overflow: hidden;
}
.store .question-wrapper .q-inner-item {
  border-color: var(--color-main-sub);
}
.citizen .question-wrapper .q-inner-item {
  border-color: var(--color-main);
}
.question-wrapper .q-inner-item p {
  font-size: 20px;
  font-weight: bold;
  padding: 0.5rem 2rem;
  display: flex;
  gap: 5px;
}
.question-wrapper .q-inner-item .answer {
  line-height: 160%;
  text-align: justify;
  padding: 1rem 2rem;
}
@media screen and (max-width: 767px) {
  .question-wrapper {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .top-wrapper {
    background-image: url(../img/common/img-sub-top-sp.webp);
    background-position: right bottom;
    padding-top: 3rem;
  }
  .question-wrapper .q-nav p {
    font-size: 24px;
  }
  .question-wrapper .q-nav p::before {
    width: 21px;
    height: 27px;
  }
  .question-wrapper .q-nav p::after {
    bottom: 2px;
  }
  .question-wrapper .q-nav div {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .question-wrapper .q-nav div::before {
    content: none;
  }
  .question-wrapper .q-nav ul {
    columns: unset;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .question-wrapper .q-nav li {
    text-indent: 0;
    padding-left: 0;
  }
  .question-wrapper .q-nav li a {
    font-size: 16px;
  }
  .question-wrapper .q-nav li a::after {
    right: -1rem;
    width: 12px;
    height: 13px;
  }
  .question-wrapper .q-inner h3 {
    font-size: 24px;
  }
  .question-wrapper .q-inner-item p,
  .question-wrapper .q-inner-item .answer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .question-wrapper .q-inner-item p {
    font-size: 18px;
  }
  .question-wrapper .q-inner-item .answer {
    font-size: 14px;
  }
}
