@charset "utf-8";

summary{
  -webkit-appearance: none; /* Safari向け */
  appearance: none;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display:none;
}

details{
  display: block;
  interpolate-size: allow-keywords;
}

details::details-content {
  height: 0;
  overflow: hidden;
  transition: height 0.5s ease-out, content-visibility 0.5s allow-discrete;
}

details[open]::details-content {
  height: auto; /* Safari向け */
  height: calc-size(auto, size);
}

.content-faq {
  max-width: 600px;
  margin-right: auto;
  margin-left: auto;
  padding: 3% 0;
}
@media screen and (max-width: 750px) {
  .content-faq {
    padding: 3% 12px 6%;
  }
}

.content-faq-question {
  background: #ad9d54;
  border-radius: 8px;
  text-align: center;
  padding: 12px;
  transition: .3s;
}
.content-faq-question:hover {
  opacity: 0.7;
}
@media screen and (max-width: 750px) {
  .content-faq-question {
    padding: 10px 12px;
  }
}

.content-faq-question-text {
  position: relative;
  display: inline-block;
  font-size: 22px;
  color: #ffffff;
  padding-left: 30px;
}
@media screen and (max-width: 750px) {
  .content-faq-question-text {
    font-size: 16px;
    padding-left: 20px;
  }
}

.content-faq-question-text::before {
  content: "";
  position: absolute;
  display: inline-block;
  border: 10px solid transparent;
  border-top: 16px solid #ffffff;
  transform: rotate(0deg);
  left: 0;
  top: 8px;
}
@media screen and (max-width: 750px) {
  .content-faq-question-text::before {
    border: 6px solid transparent;
    border-top: 12px solid #ffffff;
    transform: rotate(0deg);
    top: 6px;
  }
}

.content-faq-answer {
  margin-top: 24px;
  padding-right: 10px;
  padding-left: 10px;
}

.content-faq-answer p {
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-faq-answer p:last-child {
  margin-bottom: 0;
}

.content-faq-answer-text a {
  display: inline-block;
  text-decoration: underline;
  color: #5e82a1;
  transition: .3s;
}

.content-faq-answer-text a:hover {
  opacity: 0.7;
}

ul.faq {
  margin-top: 5%;
}

.faq-contents {
  border-bottom: 1px solid #ddd;
}

.faq-question {
  display: flex;
  padding: 30px 25px;
  line-height: 1.8;
  position: relative;
}
@media screen and (max-width: 750px) {
  .faq-question {
    padding: 20px 10px;
  }
}

.faq-question::before {
  content: "Q";
  display: flex;
  margin-right: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ad9d54;
  color: #fff;
  font-weight: bold;
  flex: 0 0 30px;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 750px) {
  .faq-question::before {
    margin-right: 10px;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    border-radius: 50%;
  }
}

.faq-question::after {
  border-bottom: 3px solid #777;
  border-right: 3px solid #777;
  box-sizing: border-box;
  content: '';
  display: block;
  height: 15px;
  position: absolute;
  right: 30px;
  top: 43%;
  transform: scale(.7) rotate(45deg) translateY(-50%);
  width: 15px;
  transition-property: transform;
  transition-duration: .3s;
}
@media screen and (max-width: 750px) {
  .faq-question::after {
    right: 9px;
    transform: scale(.5) rotate(45deg) translateY(-50%);
  }
}


details[open] .faq-question::after {
  right: 22px;
  top: 43%;
  transform: scale(.7) rotate(-135deg) translateY(-50%);
  transition-property: transform;
  transition-duration: .3s;
}
@media screen and (max-width: 750px) {
  details[open] .faq-question::after {
    right: 0px;
    top: 43%;
    transform: scale(.5) rotate(-135deg) translateY(-50%);
  }
}


.faq-question:hover {
  background: #f5f5f5;
  transition-property: background;
  transition-duration: .3s;
}

.faq-question p {
  flex: 0 0 90%;
}
@media screen and (max-width: 750px) {
  .faq-question p {
    flex: 0 0 84%;
  }
}

.faq-answer {
  display: flex;
  padding: 30px 25px;
  line-height: 1.8;
}
@media screen and (max-width: 750px) {
  .faq-answer {
    padding: 20px 10px;
  }
}

.faq-answer::before {
  content: "A";
  display: flex;
  margin-right: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ad9d54;
  color: #fff;
  font-weight: bold;
  flex: 0 0 30px;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 750px) {
  .faq-answer::before {
    margin-right: 10px;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
  }
}

.faq-answer-text {
  flex: 0 0 90%;
}
@media screen and (max-width: 750px) {
  .faq-answer-text {
    flex: 0 0 84%;
  }
}