@charset "UTF-8";
/* =========================================================
   雨漏り修理LP よくある質問ページ専用スタイル（faq）
   質問の開閉（.faq_list / .faq_item）は common.css の TOP のよくある質問を共用
   アイキャッチ・パンくずは under-layer.css、CTA は common.css、会社情報は common.css
   PCファースト / ブレークポイント 1280px・960px・568px
   ========================================================= */

/* ===== よくある質問：セクションの余白（下層ページなのでパンくずの直下から始める。TOP の .faq を上書き） ===== */
.faq_page {
  padding: 15px 0 76px;
}

.faq_page::before {
  top: 30px;
  right: auto;
  left: calc(50% + 270px);
}

@media only screen and (max-width: 960px) {
  .faq_page {
    padding: 28px 0 40px;
  }

  .faq_page::before {
    top: 10px;
    left: -100px;
  }
}

/* ===== よくある質問：カテゴリ（紺の見出し＋質問の並び） ===== */
.faq_page_group {
  width: 900px;
  max-width: 100%;
  margin: 60px auto 0;
}

.sec_head + .faq_page_group {
  margin-top: 31px;
}

.faq_page_cat {
  display: inline-flex;
  align-items: center;
  min-height: 77px;
  padding: 0 30px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  background: var(--c_navy);
}

/* TOP の .faq_list の上の余白（77px）をカテゴリ用に上書き */
.faq_page .faq_list {
  margin-top: 40px;
}

@media only screen and (max-width: 960px) {
  .faq_page_group {
    margin-top: 30px;
  }

  .sec_head + .faq_page_group {
    margin-top: 32px;
  }

  .faq_page_cat {
    display: flex;
    justify-content: center;
    min-height: 48px;
    padding: 6px 15px;
    font-size: 20px;
  }

  .faq_page .faq_list {
    gap: 20px;
    margin-top: 20px;
  }
}
