﻿@charset "UTF-8";

#faq {
  padding: 25px 15px 40px;
}
#faq #anchorList {
  margin: 0 0 30px;
}
#faq #anchorList li:not(:last-child) {
  margin: 0 0 10px;
}
#faq #anchorList li a {
  position: relative;
  display: block;
  border: 1px solid #D5D5D5;
  border-radius: 40px;
  padding: 9px 15px;
  font-weight: 500;
}
#faq #anchorList li a:after {
  content: '';
  position: absolute;
  top: 14px;
  right: 16px;
  width: 7px;
  height: 7px;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  rotate: 45deg;
}
#faq .faqBlock:not(:last-child) {
  margin: 0 0 28px;
}
#faq .faqBlock h2 {
  margin: 0;
}
#faq .faqBlock details {
  padding: 0 0 0 10px;
  border-bottom: 1px solid #D5D5D5;
}
#faq .faqBlock details[open] {
  padding-bottom: 8px;
}
#faq .faqBlock summary {
  position: relative;
  font-size: 16px;
  list-style: none;
  padding: 11px 37px 11px 27px;
}
#faq .faqBlock details[open] summary {
  border-bottom: 2px dotted #D5D5D5;
}
#faq .faqBlock details summary:before,
#faq .faqBlock details summary:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 15px;
  width: 12px;
  height: 2px;
  background: #333;
}
#faq .faqBlock details:not([open]) summary:after {
  rotate: 90deg;
}
#faq .faqBlock summary span:before {
  content: 'Q';
  position: absolute;
  top: 11px;
  left: 0;
  color: var(--color-orange);
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
}
#faq .faqBlock .faqAnswerInner {
  position: relative;
  background: #F5F5F5;
  border-radius: 3px;
  padding: 10px 15px 10px 35px;
  margin: 8px 0 0;
  font-size: 16px;
}
#faq .faqBlock .faqAnswerInner:before {
  content: 'A';
  position: absolute;
  top: 10px;
  left: 12px;
  color: var(--color-brown);
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
}
#faq .faqDetailBox {
  margin: 15px 0;
  padding: 10px 0;
  border-block: 4px solid #D5D5D5;
}
#faq .faqDetailBox dt {
  font-weight: bold;
  margin: 0 0 2px;
}
#faq .faqBlock .faqAnswerInner ul {
  margin: 10px 0;
}
#faq .faqBlock .faqAnswerInner ul:last-child,
#faq .faqBlock .faqAnswerInner ol:last-child {
  margin-bottom: 0;
}
#faq .faqBlock .faqAnswerInner ul li {
  position: relative;
  padding: 0 0 0 16px;
}
#faq .faqBlock .faqAnswerInner ul li:before {
  content: '・';
  position: absolute;
  top: 0;
  left: 0;
}
#faq .faqBlock .faqAnswerInner ol {
  margin: 10px 0;
  padding: 0 0 0 16px;
}
#faq .faqBlock .faqAnswerInner a {
  color: var(--color-brown);
  text-decoration: underline;
}

@media screen and (min-width: 769px) {
  #faq {
    width: 1300px;
    margin: 0 auto;
    padding: 0 0 100px;
  }
  #faq #anchorList {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 0 60px;
  }
  #faq.mainarea_ #anchorList li {
    width: 420px;
    margin: 0;
  }
  #faq #anchorList li a {
    font-size: 16px;
    padding: 12px 30px;
  }
  #faq #anchorList li a:hover {
    text-decoration: none;
    opacity: .8;
  }
  #faq #anchorList li a:after {
    top: 19px;
    right: 20px;
    width: 6px;
    height: 6px;
  }
  #faq .faqBlock:not(:last-child) {
    margin: 0 0 60px;
  }
  #faq .faqBlock details[open] {
    padding-bottom: 14px;
  }
  #faq .faqBlock summary {
    padding: 18px 37px 18px 30px;
    cursor: pointer;
  }
  #faq .faqBlock details summary:before,
  #faq .faqBlock details summary:after {
    right: 20px;
  }
  #faq .faqBlock summary span:before {
    font-size: 24px;
    top: 14px;
  }
  #faq .faqBlock .faqAnswerInner:before {
    font-size: 24px;
    top: 15px;
    left: 20px;
  }
  #faq .faqBlock .faqAnswerInner {
    padding: 17px 30px 17px 45px;
    margin: 14px 0 0;
  }
}