@charset "utf-8";
.faq_content {
  padding: 60px 20px 0;
}

.underline {
  margin-bottom: 26px;
}

.q_text {
  display: none;
}
.show {
  display: block;
}

.category_area {
  background: #F2F9E6;
  border-radius: 20px;
  padding: 40px 20px;
}

#category-select {
  display: none;
  width: 100%;
  padding: 10px;
  font-size: 16px;
}
.category_area .ttl {
  font-size: 2.6rem;
  font-weight: 500;
  text-align: center;
  display: block;
  pointer-events: none;
  letter-spacing: 0.1em;
}
.category-ttl {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: bold;
  color: #5DA36F;
  text-align: center;
}
.category-ttl.mt {
  margin-top: 20px;
}
#category-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.category-btn {
  background: #fff;
  border-radius: 4px;
  color: #7AB389;
  font-size: 1.4rem;
  padding: 2px 16px;
  border: 2px solid #7AB389;
  box-sizing: border-box;
  transition: transform 0.2s ease;
}
.category-btn:hover,
.category-btn.active {
    background: #7AB389;
    color: #fff;
    border: 2px solid transparent;
    transform: scale(1.05);
}
.tag {
  background: #fff;
  border-radius: 4px;
  color: #7AB389;
  border: 2px solid #7AB389;
  font-size: 1.2rem;
  padding: 2px 10px;
  margin-left: 10px;
  font-weight: normal;
  white-space: nowrap;
}
.tag.active-tag {
  background: #7AB389;
  color: #fff;
  border: 2px solid transparent;
}
.anker_area {
  margin-top: 30px;
}
.anker_area .ttl {
  font-size: 2.6rem;
  font-weight: 500;
  text-align: center;
  display: block;
  pointer-events: none;
  letter-spacing: 0.1em;
}
.anker_area ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 0;
  list-style: none;
}

.anker_area li {
  flex: 1 1 30%;
  max-width: 300px;
}

.anker_area a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  padding: 0 12px;
  border: 2px solid #419B59;
  border-radius: 40px;
  text-align: center;
  line-height: 1.4;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: #419B59;
  box-sizing: border-box;
  white-space: normal;
  transition: transform 0.2s ease;
}
.anker_area a:hover {
  background: #7AB389;
  color: #fff;
  border: 2px solid transparent;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  #category-buttons {
    gap: 6px 8px;
  }
  .anker_area {
    margin-top: 20px;
  }
  .anker_area .ttl {
    font-size: 1.6rem;
  }
  .anker_area ul li {
    width: 100%;    
    flex: auto;
  }
}

.faq_ttl {
  font-size: 2.2rem;
  color: #fff;
  font-weight: 500;
  background: #7AB389;
  display: inline-block;
  border-radius: 6px 6px 0 6px;
  padding: 0 30px 0 20px;
  margin-top: 70px;
}
.faq_subttl {
  font-size: 2rem;
  color: #419B59;
  font-weight: 500;
  margin-bottom: 10px;
}
#faq01 {
  margin-top: 40px;
}
.ttl_line {
  background: #7AB389;
  height: 3px;
  margin-top: -3px;
  margin-left: 10px;
  margin-bottom: 30px;
}

.faq_acc {
  background: #7abcd4;
  color: #fff;
  padding: 10px 26px;
  border-radius: 10px;
  margin-left: 30px;
  margin-top: 10px;
  position: relative;
}


.question {
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
  border-left: 4px solid #7AB389;
  border-radius: 4px;
  background: #fff;
  margin-bottom: 10px;
}
.faq .question {
  border-color: #4FABBB;
}
.faq .q_text::before,
.faq .a_text::before {
  color: #4FABBB;
}
.faq .a_text {
  display: block;
}
.faq .q_text {
  cursor: unset;
}
.q_text {
  padding: 16px 38px 14px 47px;
  position: relative;
  font-weight: 500;
  cursor: pointer;
}
.q_text::before {
  content: "Q.";
  color: #7AB389;
  position: absolute;
  font-weight: 500;
  top: 14px;
  left: 24px;
}

.q_text .arrow::after {
  border-right: solid 2px #0B2B95;
  border-top: solid 2px #0B2B95;
  content: "";
  display: block;
  height: 10px;
  position: absolute;
  right: 25px;
  top: 20px;
  transform: rotate(135deg);
  transition: transform .3s ease-in-out, top .3s ease-in-out;
  width: 10px;
  top: 40%;
  right: 16px;
  opacity: .25;
}
.q_text.is-opened .arrow::after {
  transform: rotate(-45deg);;
}

.a_text {
  display: none;
  padding: 16px 10px 30px 47px;
  position: relative;
}
.a_text a {
  color: #5DA36F;
  text-decoration: underline;
}
.a_text::before {
  content: "A.";
  color: #7AB389;
  position: absolute;
  font-size: 1.6rem;
  font-weight: 500;
  top: 14px;
  left: 24px;
}
.small_text {
  font-size: 1.4rem;
}
.faq_content .c_btn {
  margin: 30px auto 20px;
  position: relative;
}
.faq_content .c_btn a {
  position: relative;
}
.faq_content .c_btn a::before {
  content: '';
  background: url(../img/pdf_icon01.png) no-repeat 0 0 / 24px auto;
  width: 24px;
  height: 24px;
  display: inline-block;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.faq_content .c_btn a:hover::before {
  background: url(../img/pdf_icon02.png) no-repeat 0 0 / 24px auto;;
}

.q_text {
  transition: opacity 0.3s ease;
  opacity: 1;
}

.q_text.fade-out {
  opacity: 0;
}

.q_text.fade-in {
  opacity: 1;
}

#white-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.4s ease;
}

#white-overlay.active {
  opacity: 1;
}

@media screen and (max-width: 768px) {
  body {
    font-size: 1.4rem;
    line-height: 1.6;
  }

  .breadcrumb ol {
    padding: 4px 0px;
    width: 90%;
  }
  .faq_content {
    padding: 50px 0 0;
  }

  .select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}
.category_area {
  padding: 17px 14px;
  border-radius: 10px;
}
.category_area .ttl {
  font-size: 1.6rem;
}
.category_area .underline {
  margin-bottom: 16px;
}
#category-select {
    width: 100%;
    padding: 5px 10px;
    font-size: 1.4rem;
    border-radius: 5px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: #7AB389;
    background: #fff;
    border: 2px solid #7AB389;
    cursor: pointer;
}
#category-select:focus {
    outline: none;
}
.select-wrapper::after {
    content: "▼";
    color: #7AB389;
    position: absolute;
    right: 10px;
    top: 18px;
    transform: translateY(-50%);
    pointer-events: none;
}
.select-wrapper option {
  padding: 4px 0;
}

  .faq_list {
    font-size: 1.6rem;
  }
  .faq_list div {
    margin-right: 3vw;
  }
  .faq_list a {
    padding: 0.5em 0.5em 1.5em 0.5em;
    display: block;
    text-align: center;
  }
  .faq_list a::after {
    top: auto;
    bottom: 7px;
    left: 50%;
    transform: rotate(45deg) translateX(-50%);
  }
  #faq01 {
    margin-top: 38px;
  }
  .faq_ttl {
    font-size: 1.6rem;
    margin-top: 35px;
    padding: 2px 10px;
  }
  .ttl_line {
    margin-bottom: 16px;
  }
  .faq_acc {
    width: 94%;
    margin-left: auto;
    padding: 10px 15px;
  }
  .faq_acc::before, .faq_acc::after {
    height: 2px;
    width: 17px;
    right: 15px;
  }
  .faq_acc::after {
    transform: rotate(90deg) translateX(-1px);
  }
  .q_text {
    padding: 10px 36px 10px 34px;
  }
  .q_text .q_wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 6px;
  }
  .q_text::before {
    top: 9px;
    left: 10px;
    font-size: 1.4rem;
  }
  .tag {
    display: inline-block;
    padding: 0 6px 1px;
    margin-left: 0;
  }
  .a_text {
    padding: 10px 36px 10px 34px;
  }
  .a_text::before {
    top: 9px;
    left: 10px;
    font-size: 1.4rem;
  }
  .small_text {
    font-size: 1.2rem;
  }

}
@media screen and (max-width: 360px) {
  .faq_list {
    font-size: 4.3vw;
  }
}

