/* =========================================
   page-faq.css
   ========================================= */

.faq-page {
    padding: 40px 0 60px;
    margin-top: -120px;
}

/* ===============================
   外枠（家型）
   =============================== */

.faq-page .inner {
  position: relative;
  padding: 40px 40px 20px;
}

/* SVG枠 */
.faq-section__house-svg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.faq-section__house-svg--sp {
  display: none;
}

/* 中身 */
.faq-content {
  position: relative;
  z-index: 2;
  margin: 180px 0 90px;
}

/* ===============================
   FAQ グループ
   =============================== */

.faq-group {
  margin-top: 90px;
}

.faq-group__title {
  font-size: 3.3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 34px;
  text-align: left;
}
.faq-group:first-of-type {
  margin-top: 0;
}

/* ===============================
   Q&A リスト
   =============================== */

.faq-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 16px;
  margin-bottom: 16px;
  width: 100%;
}

/* Q・A 行 */
.faq-item__q {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.faq-item__a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
}

/* ===============================
   バッジ
   =============================== */

.faq-badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: initial;
}

/* Q：濃い緑 */
.faq-badge--q {
  background: #006B5E;
}
.faq-badge--q span {
  position: relative;
  top: -2px;  
}

/* A：薄い色 */
.faq-badge--a {
  color: #006B5E;
  background: #c5e49f;
}

/* ===============================
   テキスト
   =============================== */

.faq-item__question {
  font-size: 2.1rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.6;
  margin: 0;
}

.faq-item__answer {
  font-size: 1.85rem;
  color: #555;
  line-height: initial;
  margin: 0;
}

/* =========================================
   SP（スマホ）
   ========================================= */
@media (max-width: 768px) {

.faq-page {
    padding: 0;
    margin-top: 0;
}

.faq-page .inner {
  position: relative;
  padding: 40px 20px 20px;
}

/* SVG枠 */
.faq-section__house-svg--pc {
  display: none;
}

.faq-section__house-svg--sp {
  display: block;
}

/* 中身 */
.faq-content {
  position: relative;
  z-index: 1;
  margin: 95px 0 30px;
}

  /* =====================
     タイトル
     ===================== */
  .faq-group__title {
    position: static;
    font-size: 2rem;
    margin: 0 0 16px;
  }

  /* =====================
     グループ
     ===================== */
  .faq-group {
    margin: 40px 0 0;
    margin-left: 0;
  }

  /* =====================
     リスト
     ===================== */
  .faq-list {
    margin-left: 0; /* ← リセット */
  }

  .faq-item {
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
  }

  /* =====================
     Q&A
     ===================== */
  .faq-item__q,
  .faq-item__a {
    gap: 10px;
  }

  /* バッジ少し小さく */
  .faq-badge {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  /* テキスト */
  .faq-item__question {
    font-size: 16px;
  }

  .faq-item__answer {
    font-size: 14px;
  }
}