/* =========================
   FAQ 共通ラッパー
========================= */
.faq {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}


/* 全体の見出し */
.faq-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}


/* =====================================
   FAQセクション見出し（左縦帯付き）
===================================== */
.post_content .faq-section-title {
  font-size: 22px;
  font-weight: 700;
  margin: 50px 0 25px;
  padding-left: 26px;
  position: relative;
  line-height: 1.6;
}

.post_content .faq-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 60%;
  background: #45BDCF;
  border-radius: 3px;
}

/* =========================
   検索エリア
========================= */
.faq-search {
  max-width: 720px;
  margin: 0 auto 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

/* 入力欄 */
.faq-search input {
  flex: 1;
  padding: 16px 22px;
  border-radius: 999px;
  border: none;
  background: #eef2f4;
  font-size: 16px;
}

/* 検索ボタン */
.faq-search-btn {
  background-color: #F0A465;
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.faq-search-btn:hover {
  background-color: #EB8400;
  box-shadow: none;
}

/* SP */
@media (max-width:768px) {
  .faq-search {
    flex-direction: column;
    gap: 5px;
    max-width: 100%;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }

  /* 入力欄の横幅 */
  .faq-search input {
    width: 100%;
  }

  .faq-search-btn {
    width: 160px;
    margin: 0 auto;
  }
}

/* =========================
   FAQリスト
========================= */
.faq-item {
  margin-bottom: 28px;
}

/* 質問 */
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 70px 18px 24px;
  font-size: 17px;
  font-weight: 600;
  border: none;
  background: #45BDCF;
  color: #ffffff;
  cursor: pointer;
  position: relative;
  border-radius: 18px;
}

/* 矢印 */
.faq-q::after {
  content: "▾";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: #ffffff;
  border-radius: 50%;
  color: #45BDCF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  transition: transform 0.25s ease;
}

/* 開閉 */
.faq-item.open .faq-q::after {
  transform: translateY(-50%) rotate(180deg);
}

/* 回答 */
.faq-a {
  display: none;
  padding: 14px 24px 16px;
  line-height: 1.8;
  color: #333;
}

/* 開いた時 */
.faq-item.open .faq-a {
  display: block;
}


/* SP */
@media (max-width:768px) {
  .faq-a {
  padding: 14px 12px 16px;
  }
}


/* =========================
   ヒットなしメッセージ
========================= */
.faq-noresult {
  display: none;
  text-align: center;
  margin-top: 30px;
  color: #888;
  font-size: 15px;
}


/* =====================================
   FAQ全体をフラット化（GAIA対策）
   - GAIA側のカード背景/影が混ざるのを強制的に無効化
   - 白背景が残る症状の最終保険
===================================== */

/* FAQカードを完全フラット化 */
.faq-item {
  background: transparent !important;
  box-shadow: none !important;
}

/* 回答エリアも完全透明 */
.faq-a {
  background: transparent !important;
}

/* それでも白が出る場合の最終手段（GAIAの本文エリア配下に限定して上書き） */
.post_content .faq-item {
  background: transparent !important;
  box-shadow: none !important;
}


/* ===============================================
   よくある質問 ⇒ 団体カレンダーへのリンク調整
=============================================== */
#group-reserve-calendar {
  scroll-margin-top: 220px;
}