@charset "utf-8";

/*-----------------------------------
FAQ
-----------------------------------*/
.p-top-faq__list {
  font-weight: normal;
  interpolate-size: allow-keywords;
  display: flex;
  flex-wrap: wrap;
}
.p-top-faq__list-item {
  width: calc(100% - 20px);
  height: 100%;
  padding: 15px 0;
  border-bottom: 1px solid #f1f1f1;
}
.p-top-faq__list .p-top-faq__list-item:first-of-type {
  border-top: 1px solid #f1f1f1;
}
.p-top-faq__list-item details summary {
  cursor: pointer;
  font-size: clamp(0.875rem, 0.83rem + 0.23vw, 1rem);
  list-style: none;
  position: relative;
  display: block;
  align-items: center;
  padding-left: 8px;
}
.p-top-faq__list-item details summary::after {
  position: absolute;
  top: calc((100% - 16px) / 2);
  right: 25px;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  content: "";
  border-right: 2px solid rgb(72, 72, 72);
  border-bottom: 2px solid rgb(72, 72, 72);
  border-color: rgb(72, 72, 72);
  transition: transform 0.4s;
}
.p-top-faq__list-item details[open] summary::after {
  transform: rotate(-135deg);
}
.p-top-faq__list-item details summary::-webkit-details-marker {
  display: none;
}
.p-top-faq__list-item details summary span {
  font-weight: bold;
  font-size: clamp(1.125rem, 1.08rem + 0.23vw, 1.25rem);
  line-height: 1;
  color: #001e60;
  padding-right: 10px;
  position: relative;
  top: 0px;
}
.p-top-faq__list-item details {
  &::details-content {
    transition: height 0.4s, opacity 0.4s, content-visibility 0.4s allow-discrete;
    height: 0;
    opacity: 0;
    overflow: hidden;
  }
  &[open]::details-content {
    opacity: 1;
    height: auto;
  }
}
.p-top-faq__list-item-body {
  margin-top: 20px;
  line-height: 1.8;
}
.p-top-faq__list-item-body div {
  margin: 0;
  background: #e2f5fb;
  padding: 16px;
  border-radius: 8px;
  font-size: 14px;
}
.p-top-faq__list-item-body .qanda-link {
  color: #00a2e6;
  text-decoration: underline;
}
.p-top-faq__list-item-body .qanda-link:hover {
  color: #80d1f3;
}

@media screen and (max-width: 767px) {
  .p-top-faq__list {
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  .p-top-faq__list-item {
    width: 100%;
    font-size: 14px;
    padding: 20px 0px;
  }
  .p-top-faq__list-item details summary {
    font-size: 14px;
    padding-right: 30px;
    grid-template-columns: 36px 1fr;
    text-indent: -40px;
    padding: 0 40px 0;
  }
  details summary span {
    font-size: 24px;
  }
  .p-top-faq__list-item details summary::after {
    right: 10px;
    width: 8px;
    height: 8px;
  }
  .search-result-top-footer-wrapper {
    padding: 20px 0px;
  }
  .p-top-faq__list-item details summary {
    font-size: 14px;
    text-indent: -27px;
    padding: 0 25px 0 30px;
  }
  .p-top-faq__list-item details summary span {
    font-weight: bold;
    font-size: clamp(1.125rem, 1.08rem + 0.23vw, 1.25rem);
    line-height: 1;
    color: #004da1;
    padding-right: 5px;
    position: relative;
    top: 0px;
  }
}