/*faq.html*/

.p-faq {
  margin-bottom: 40px;
}
.p-faq section {
  padding: 0;
}

.p-faq .faq-number {
  color: #1b62bf;
  padding-right: 0.5em;
}

.p-faq .faq-list dt.open {
  border-bottom: none;
}

.p-faq .faq-list dd {
  display: none;
  padding: 0 0 2em 2.2em;
  border-bottom: dashed 1px #1b62bf;
}

@media only screen and (min-width: 900px) {
  .p-page .p-heading {
    margin: 0 auto 50px;
  }
  .p-page .p-heading:before {
    top: -5px;
  }
  .p-faq {
    margin-bottom: 65px;
  }
  .p-faq .faq-heading {
    height: 40px;
    line-height: 40px;
    margin-bottom: 20px;
  }
  .p-faq .faq-category {
    width: 800px;
    margin: auto;
    overflow: hidden;
  }
}

.p-faq .faq-heading {
  width: 100%;
  height: 50px;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1em;
  line-height: 50px;
  background-color: #efefef;
  border-left: solid 10px #1b62bf;
  margin-bottom: 30px;
  margin-top: 30px;
  padding-left: 15px;
}

.qafNav {
  text-align: initial;
}

.faqButton a {
  display: block;
  color: #1b62bf;
  font-size: 14px;
  text-decoration-line: none;
}

.faqList {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 0;
  margin: auto 10px -10px;
}

.faqList li {
  margin: 10px 0;
  padding-left: 7px;
  padding-right: 5px;
  width: 155px;
  position: relative;
  text-align: center;
  list-style-type: none;
  border-left: solid 2px #1b62bf;
}

#faq1 {
  border-right: solid 2px #1b62bf;
}

@media only screen and (max-width: 899px) {
  .faqList {
    display: inline-block;
  }
  .faqList li {
    width: auto;
    text-align: inherit;
    margin: 0 20px;
    position: relative;
    padding: 0 5px 5px;
  }
  #faq1 {
    border-right: none;
  }
}

.faq-category label {
  display: block;
  margin: 0;
  padding: 11px 12px;
  cursor: pointer;
  transition: all 0.5s;
  border-top: dashed 1px #1b62bf;
  background-color: rgba(27, 98, 191, 0.07);
}

.faq-category label:hover {
  font-weight: bold;
}

.faq-category input {
  display: none;
}

.faq-category .show {
  height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  transition: 0;
}

.cssacc:checked + .show {
  height: auto;
  padding: 10px 50px 20px 50px;
  opacity: 1;
  background: #fff;
}

.moveToTop {
  display: block;
  width: 17rem;
  margin: 30px auto;
  text-align: center;
}

/* サイトカラー変更 */
.gsp-green .p-faq .faq-number {
  color: #13c99f;
}
.gsp-green .faqList li {
  border-left: solid 2px #13c99f;
}
.gsp-green .p-faq .faq-heading {
  border-left: solid 10px #13c99f;
}
.gsp-green .faqButton a {
  color: #13c99f;
}
.gsp-green #faq1 {
  border-right: solid 2px #13c99f;
}
.gsp-green .faq-category label {
  border-top: dashed 1px #13c99f;
  background-color: rgba(19, 201, 159, 0.07);
}
.gsp-green .p-faq .faq-list dd {
  border-bottom: dashed 1px #13c99f;
}

.gsp-sky .p-faq .faq-number {
  color: #59c1d9;
}
.gsp-sky .faqList li {
  border-left: solid 2px #59c1d9;
}
.gsp-sky .p-faq .faq-heading {
  border-left: solid 10px #59c1d9;
}
.gsp-sky .faqButton a {
  color: #59c1d9;
}
.gsp-sky #faq1 {
  border-right: solid 2px #59c1d9;
}
.gsp-sky .faq-category label {
  border-top: dashed 1px #59c1d9;
  background-color: rgba(89, 193, 217, 0.07);
}
.gsp-green .p-faq .faq-list dd {
  border-bottom: dashed 1px #59c1d9;
}

.gsp-red .p-faq .faq-number {
  color: #801931;
}
.gsp-red .faqList li {
  border-left: solid 2px #801931;
}
.gsp-red .p-faq .faq-heading {
  border-left: solid 10px #801931;
}
.gsp-red .faqButton a {
  color: #801931;
}
.gsp-red #faq1 {
  border-right: solid 2px #801931;
}
.gsp-red .faq-category label {
  border-top: dashed 1px #801931;
  background-color: rgba(128, 25, 49, 0.07);
}
.gsp-red .p-faq .faq-list dd {
  border-bottom: dashed 1px #801931;
}

.gsp-yellow .p-faq .faq-number {
  color: #f39800;
}
.gsp-yellow .faqList li {
  border-left: solid 2px #f39800;
}
.gsp-yellow .p-faq .faq-heading {
  border-left: solid 10px #f39800;
}
.gsp-yellow .faqButton a {
  color: #f39800;
}
.gsp-yellow #faq1 {
  border-right: solid 2px #f39800;
}
.gsp-yellow .faq-category label {
  border-top: dashed 1px #f39800;
  background-color: rgba(243, 152, 0, 0.07);
}
.levechy-yellow .p-faq .faq-number {
  color: #faeb19;
}
.levechy-yellow .faqList li {
  border-left: solid 2px #faeb19;
}
.levechy-yellow .p-faq .faq-heading {
  border-left: solid 10px #faeb19;
}
.levechy-yellow .faqButton a {
  color: #faeb19;
}
.levechy-yellow #faq1 {
  border-right: solid 2px #faeb19;
}
.levechy-yellow .faq-category label {
  border-top: dashed 1px #faeb19;
  background-color: rgba(250, 235, 25, 0.07);
}
@media only screen and (max-width: 899px) {
  .gsp-green #faq1,
  .gsp-sky #faq1,
  .gsp-red #faq1,
  .gsp-yellow #faq1,
  .levechy-yellow #faq1 {
    border-right: none;
  }
}

.faq-passkey-imgs {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 16px;
  flex-wrap: wrap;
}
.faq-passkey-img-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 320px;
  max-width: 100%;
  /* 枠線の色 */
  border: 1px solid #000000;
}
.faq-passkey-img-title {
  font-weight: bold;
  text-align: center;
  margin-bottom: 8px;
}
.faq-passkey-imgs img {
  max-width: 100%;
  height: auto;
  width: 320px;
}
@media (max-width: 600px) {
  .faq-passkey-imgs {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .faq-passkey-img-item {
    width: 100%;
    max-width: 400px;
  }
  .faq-passkey-imgs img {
    width: 100%;
    max-width: 400px;
  }
}
