/* ============================================================
   faq-index.css
   /faq/ FAQカテゴリ案内トップ（親ページ）専用の上書き。
   共通レイアウトは guide-common.css を先に読み込む。
   ============================================================ */

.faq-index-guide .guide-intro__definition {
  margin: 0;
}

/* --- カテゴリカード（4件を同じ優先度で並べる） --- */
.faq-index-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.faq-index-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 8px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--guide-border);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(45, 52, 54, 0.05);
  color: var(--guide-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

a.faq-index-card:hover,
a.faq-index-card:focus-visible {
  border-color: var(--guide-gold);
  box-shadow: 0 10px 24px rgba(45, 52, 54, 0.1);
  transform: translateY(-2px);
}

.faq-index-card__title {
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.5;
}

.faq-index-card__text {
  color: var(--guide-muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.faq-index-card__cue {
  margin-top: auto;
  padding-top: 6px;
  color: var(--guide-red);
  font-weight: 700;
}

.faq-index-card__cue::after {
  content: "\0020\203A";
}

/* --- 準備中カテゴリ（未実装：リンクにせず404を作らない） --- */
.faq-index-card--soon {
  background: var(--guide-soft);
  border-style: dashed;
  box-shadow: none;
  cursor: default;
}

.faq-index-card--soon .faq-index-card__title {
  color: var(--guide-muted);
}

.faq-index-card__badge {
  align-self: flex-start;
  margin-top: 6px;
  padding: 3px 10px;
  background: #eceff0;
  border-radius: 999px;
  color: var(--guide-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

/* --- 申込み前の案内 --- */
.faq-index-notice {
  margin: 4px 0 0;
  line-height: 1.9;
}

@media (max-width: 767px) {
  .faq-index-cards {
    grid-template-columns: 1fr;
  }

  .faq-index-card {
    padding: 20px 18px;
  }
}
