/* =================================
   FAQ
   ================================= */

/* 一覧・カテゴリページ */
main .wrap .left-box.faq-box {
  width: 100%;
}

.faq-category-section {
  margin-bottom: 40px;
}

.faq-category-section:last-child {
  margin-bottom: 0;
}

.faq-category-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ddd;
}

.faq-list .faq-item {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.faq-list .faq-item:last-child {
  border-bottom: none;
}

.faq-list .faq-title {
  margin-block: 0 10px !important;
}

.faq-short-answer {
  margin: 8px 0 10px;
  color: #666;
  font-size: 1.4rem;
  line-height: 1.6;
}

.faq-more-link {
  display: inline-block;
  margin-top: 5px;
  color: #030f8a !important;
  text-decoration: underline !important;
  font-size: 1.4rem;
}

.faq-more-link:hover {
  opacity: 0.8;
}

/* 詳細ページ */
.faq-content {
  margin: 20px 0;
}

/* 投稿者情報を非表示（Starbox プラグイン含む） */
.faq-content .abh_box,
.faq-content .wp-block-post-author,
.faq-content .author-box,
.faq-content .entry-author,
.faq-content .post-author,
.faq-content .byline,
.faq-content [class*="author-bio"],
.faq-content .contents .wp-block-post-author {
  display: none !important;
}

.faq-back {
  margin-top: 30px;
}

.faq-back a {
  color: #030f8a;
  text-decoration: underline;
}
