.faq_nav_list {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.faq_nav_list li {
  width: min(100%, 282px);
}
.faq_nav_link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  width: 100%;
  height: 44px;
  border: 1px solid #000;
  border-radius: 40px;
  font-size: 1.3rem;
  color: #000;
  background: #fff;
  transition: border-color 0.2s, color 0.2s;
}
.faq_nav_link:hover {
  border-color: #d08060;
  color: #d08060;
}
.faq_nav_link:focus-visible {
  outline: 2px solid #d08060;
  outline-offset: 2px;
}
.faq_nav_link:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: block;
  width: 12px;
  height: 6px;
  background-image: url(../imgs/common/arrow-down.svg);
  background-size: contain;
  background-repeat: no-repeat;
}
/* ---- メインコンテンツ ---- */
#faq {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 56px;
}
.faq_main {
  background-image:
    linear-gradient(rgb(255,237,225) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255,237,225) 1px, transparent 1px);
  background-size: 20px 20px;
}
.faq_sections {
  width: 100%;
}

/* ---- セクション ---- */
.faq_section {
  background: #fff;
  padding: 28px 20px 32px;
  margin-top: 24px;
  border-radius: 4px;
}
#section__cont h2.faq_section_heading {
  margin-bottom: 32px;
  text-align: left;
  font-size: clamp(1.8rem, calc(0.8929vw + 1.5143rem), 2.8rem);
  font-weight: 500;
}

/* ---- Q&Aリスト ---- */
.qa_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.qa_item {}

/* ---- Q ボタン ---- */
.q_box {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  display: flex;
  align-items: flex-start;
  font-family: inherit;
  letter-spacing: inherit;
  width: 100%;
  padding: 14px 16px;
  background-color: #fff3e8;
  border-radius: 24px;
  cursor: pointer;
  text-align: left;
  gap: 0;
  transition: background-color 0.15s;
}
.q_box:hover {
  background-color: #fdeee6;
}
.q_box:focus-visible {
  outline: 2px solid #d08060;
  outline-offset: -2px;
}
.q_box[aria-expanded="true"] {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: #e8cfc3;
}

/* Q. ラベル */
.q_label,
.a_label {
  flex-shrink: 0;
  margin-right: clamp(0.8rem, calc(1.4286vw + 0.3429rem), 2.4rem);
  font-size: clamp(1.8rem, calc(0.5357vw + 1.6286rem), 2.4rem);
}

/* 質問テキスト */
.q_text {
  flex: 1;
  font-size: clamp(1.6rem, calc(0.1786vw + 1.5429rem), 1.8rem);
}

/* ＋ / − アイコン（SVG） */
.faq_toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: 10px;
}
/* 閉じた状態：縦線を表示（+ になる） */
.faq_toggle_line_v {
  transition: opacity 0.15s;
}
/* 開いた状態：縦線を非表示（− になる） */
.q_box[aria-expanded="true"] .faq_toggle_line_v {
  opacity: 0;
}

/* ---- A ボックス ---- */
.a_box {
  display: flex;
  align-items: flex-start;
  padding: 14px 16px;
}
.a_box[hidden] {
  display: none !important;
}

/* A. ラベル */

/* 回答テキスト */
.a_text {
  flex: 1;
  font-size: clamp(1.4rem, calc(0.1786vw + 1.3429rem), 1.6rem);
  line-height: 1.8;
}

/* =====================================================
   PC Styles — min-width: 769px
   ===================================================== */
@media screen and (min-width: 769px) {

  /* ---- カテゴリナビ ---- */
  .faq_nav_list {
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .faq_nav_link {
    flex: 1;
    padding: 0 20px;
    font-size: 1.3rem;
  }

  /* ---- メインコンテンツ ---- */
  #faq {
    padding-bottom: 80px;
  }
  .faq_sections {
    padding: 0;
  }

  /* ---- セクション ---- */
  .faq_section {
    padding: 48px 40px 56px;
    margin-top: 48px;
    border-radius: 6px;
  }
  /* ---- Q&A ---- */
  .q_box {
    padding: 18px 28px;
  }
  .faq_toggle {
    margin-left: 14px;
  }
  .a_box {
    padding: 18px 28px;
  }
}
