@charset "UTF-8";
/***
  よくあるご質問（FAQ）
**********************/

/* アコーディオン開閉の基本機構（my-accordion.js と対） */
.acOuter {
  height: 0;
  overflow: hidden;
}
.acOuter.loaded {
  height: auto;
}
.acInner {
  transition: margin-top 0.4s ease 0s;
}
.acInner.onOpen {
  margin-top: 0 !important;
}

/* レイアウト */
#faq .sec_faq {
  max-width: 1100px;
  margin: 80px auto 120px;
}
@media screen and (max-width: 767px) {
  #faq .sec_faq {
    margin: 12vw auto 18vw;
    padding-left: 4.8vw;
    padding-right: 4.8vw;
  }
}

#faq .faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
#faq .faq {
  border-top: 1px dashed #d1d1d1;
  border-bottom: 1px dashed #d1d1d1;
  font-size: 18px;
  line-height: 1.778;
}
#faq .faq + .faq {
  border-top: none;
}
@media screen and (max-width: 767px) {
  #faq .faq {
    font-size: 3.8vw;
    line-height: 1.6;
  }
}

/* Q／A の丸バッジ（画像なし・CSSのみ） */
#faq .faq-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  margin-right: 24px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  line-height: 40px;
  text-align: center;
  font-family: 'Roboto Slab', serif;
}
#faq .faq-icon-q {
  background-color: #488080;
}
#faq .faq-icon-a {
  background-color: #bc9b4a;
}
@media screen and (max-width: 767px) {
  #faq .faq-icon {
    width: 8.7vw;
    height: 8.7vw;
    line-height: 8.7vw;
    margin-right: 3.8vw;
    font-size: 4.4vw;
  }
}

#faq .faq-text {
  flex: 1;
  padding-top: 7px;
  padding-bottom: 7px;
  word-break: break-word;
}

/* 質問行（クリックで開閉） */
#faq .faq__q {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-weight: 700;
  padding: 24px 56px 24px 12px;
  cursor: pointer;
  position: relative;
}
@media screen and (max-width: 767px) {
  #faq .faq__q {
    padding: 4.8vw 11vw 4.8vw 2.8vw;
  }
}

/* ＋／− トグル（CSSのみ） */
#faq .faq__q::before,
#faq .faq__q::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 18px;
  height: 2px;
  background-color: #806239;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
#faq .faq__q::after {
  transform: rotate(90deg);
}
#faq .faq__q.onOpen::after {
  transform: rotate(0deg);
  opacity: 0;
}
@media screen and (max-width: 767px) {
  #faq .faq__q::before,
  #faq .faq__q::after {
    right: 4vw;
    width: 4vw;
  }
}

/* 回答行 */
#faq .faq__a {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 24px 24px 24px 12px;
  background-color: #f8f8f8;
  border-top: 1px dashed #d1d1d1;
}
@media screen and (max-width: 767px) {
  #faq .faq__a {
    padding: 4.8vw 4.3vw 4.8vw 2.8vw;
  }
}
#faq .faq__a .faq-text {
  font-weight: 400;
}
/* 回答はWYSIWYG（html）。先頭・末尾要素の余白を詰めてバッジと頭を揃える */
#faq .faq__a .wysiwyg > :first-child {
  margin-top: 0;
}
#faq .faq__a .wysiwyg > :last-child {
  margin-bottom: 0;
}
#faq .faq__a .wysiwyg img {
  max-width: 100%;
  height: auto;
}

#faq .faq-empty {
  text-align: center;
  padding: 60px 0;
  color: #707070;
}

/* ===== TOPページ掲載時（id="faq" class="faq-top"） ===== */
.faq-top-ttl {
  text-align: center;
  margin-bottom: 40px;
}
.faq-top-ttl .jp {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
}
.faq-top-ttl .en {
  display: block;
  font-size: 14px;
  color: #806239;
  letter-spacing: 2px;
  margin-top: 6px;
}
.faq-top-more {
  text-align: center;
  margin-top: 36px;
}
.faq-top-more a {
  display: inline-block;
  padding: 14px 44px;
  border: 1px solid #806239;
  border-radius: 30px;
  color: #806239;
  font-weight: 700;
  transition: background-color 0.3s, color 0.3s;
}
.faq-top-more a:hover {
  background-color: #806239;
  color: #fff;
}
@media screen and (max-width: 767px) {
  .faq-top-ttl {
    margin-bottom: 8vw;
  }
  .faq-top-ttl .jp {
    font-size: 5.8vw;
  }
  .faq-top-more a {
    padding: 3.5vw 10vw;
  }
}
