/* ==========================================================================
   FAQ Hero
   ========================================================================== */
/* .faq-hero: 共通クラス .pageTitle を使用（style.css） */

/* ==========================================================================
   カテゴリタブ
   ========================================================================== */
.faq-tabs { background: var(--white); padding: 100px 40px 0; }
.faq-tabs__inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.faq-tabs__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mme-lightblue);
  color: var(--white);
  border-radius: 15px;
  padding: 17px 30px;
  text-align: center;
  width: calc(33% - 20px);
  max-width: 250px;
}

/* ==========================================================================
   FAQ本体
   ========================================================================== */
.faq-body { background: var(--white); padding: 100px 40px 100px; }
.faq-body__inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.faq-group { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 100px; }
.faq-group__label {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .05em;
  color: var(--text-black);
}
.faq-group__tick {
  flex-shrink: 0;
  width: 2px;
  height: 24px;
  background: var(--mme-blue);
}


/* アコーディオンリスト */
.faq-list { display: flex; flex-direction: column; gap: 30px; }
.faq-item {
  background: var(--white);
  border: 3px solid var(--mme-lightblue);
  border-radius: 20px;
  overflow: hidden;
}
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 24px 70px 24px 70px;
  background: var(--mme-lightblue);
  border: 0;
  color: var(--white);
  text-align: left;
  cursor: pointer;
}
.faq-item__qmark { flex-shrink: 0; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 32px; }
.faq-item__qtext { flex: 1; font-weight: 700; }
.faq-item__toggle { position: relative; flex-shrink: 0; width: 20px; height: 20px; }
.faq-item__toggle::before,
.faq-item__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--white);
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}
.faq-item__toggle::before { width: 20px; height: 2px; }
.faq-item__toggle::after { width: 2px; height: 20px; }
.faq-item__q[aria-expanded="true"] .faq-item__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
  background: var(--white);
}
.faq-item__q[aria-expanded="true"] + .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a p {
  overflow: hidden;
  color: var(--text-black);
  padding: 0 30px 0 64px;
}
.faq-item__q[aria-expanded="true"] + .faq-item__a p { padding: 26px 110px; }

/* ==========================================================================
   TAB (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .faq-tabs { padding: 40px 40px 0; }
  .faq-tabs__inner { flex-direction: column; align-items: center; }
  .faq-tabs__item { width: 100%; padding: 12px 24px; }

  .faq-body { padding: 40px 40px 60px; }
  .faq-body__inner { gap: 40px; }

  .faq-item__q { padding: 18px 20px; }
  .faq-item__qmark { font-size: 28px; }
  .faq-item__a p { padding: 0 20px 0 54px; }
  .faq-item__q[aria-expanded="true"] + .faq-item__a p { padding: 16px 20px 20px 54px; }
}

/* ==========================================================================
   SP (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {

  .faq-tabs { padding: 30px 20px 0; }
  .faq-tabs__inner { gap: 12px; }
  .faq-tabs__item { width: 100%; padding: 12px 20px; }

  .faq-body { padding: 30px 20px 50px; }
  .faq-body__inner { gap: 30px; }

  .faq-group__label { font-size: 17px; }

  .faq-item__q { padding: 14px 16px; gap: 12px; }
  .faq-item__qmark { font-size: 24px; }
  .faq-item__a p { padding: 0 16px 0 44px; font-size: 13px; }
  .faq-item__q[aria-expanded="true"] + .faq-item__a p { padding: 14px 16px 18px 44px; }
}
