@charset "UTF-8";
/* ==========================================================================
   faq.css
   よくある質問（/faq/）専用
   ※ Q&A 本体は components.css の .c-faq / .c-num-title を使用
   ========================================================================== */

/* --------------------------------------------------------------------------
   ページ内リンク（緑枠のボタン）
   -------------------------------------------------------------------------- */
.p-faq-page__anchors {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 50px;
}

.p-faq-page__anchors a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  min-height: 64px;
  padding: 12px 16px;
  border: 2px solid var(--green);
  border-radius: 999px;
  color: var(--green);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--ls-mid);
  text-align: center;
  transition: background-color .2s, color .2s;
}

/* 下向き矢印 */
.p-faq-page__anchors a::after {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  rotate: 45deg;
}

.p-faq-page__anchors a:hover {
  background: var(--green);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   カテゴリ
   -------------------------------------------------------------------------- */
.p-faq-page__cat {
  margin-top: 80px;
}

.p-faq-page__cat .c-num-title {
  margin-bottom: 30px;
}

/* 回答内の矢印リンクは下線なし */
.c-faq__a .c-link-arrow {
  text-decoration: none;
}

/* 回答内の番号リスト */
.p-faq-page__olist {
  padding-left: 1.6em;
  list-style: decimal;
}

.p-faq-page__olist li::marker {
  color: var(--green);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   お問い合わせ
   -------------------------------------------------------------------------- */
.p-faq-page__contact {
  margin-top: var(--section-space);
}

.p-faq-page__note {
  margin-bottom: 30px;
  font-weight: 500;
  text-align: center;
}

@media (max-width: 1079px) {
  .p-faq-page__anchors {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .p-faq-page__anchors {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 36px;
  }

  .p-faq-page__anchors a {
    min-height: 52px;
    padding: 10px 12px;
    font-size: 14px;
    letter-spacing: 0;
  }

  .p-faq-page__cat {
    margin-top: 56px;
  }

  .p-faq-page__cat .c-num-title {
    margin-bottom: 20px;
  }

  .p-faq-page__note {
    text-align: left;
  }
}
