.faq-section { padding: 100px 0 120px; }

.faq-intro {
  text-align: center;
  margin-bottom: 56px;
}

.faq-intro p {
  line-height: 2;
  color: var(--c-text-mid);
}

/* ===== Tabs ===== */
.faq-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 56px;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--c-paper);
}

.faq-tab {
  flex: 1;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-sans);
  color: var(--c-text-mid);
  border-right: 1px solid var(--c-line);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.faq-tab:last-child { border-right: none; }

.faq-tab__num {
  font-family: var(--ff-en);
  font-size: 12px;
  letter-spacing: 0.36em;
  color: var(--c-text-sub);
  font-weight: 700;
  transition: color 0.3s var(--ease);
}

.faq-tab__label {
  font-family: var(--ff-mincho);
  font-size: 15px;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.faq-tab:hover {
  background: var(--c-yellow-pale);
  color: var(--c-ink);
}

.faq-tab.is-active {
  background: var(--c-ink);
  color: #fff;
}

.faq-tab.is-active .faq-tab__num { color: var(--c-yellow); }

/* ===== Category ===== */
.faq-category {
  margin-bottom: 64px;
  display: none;
}

.faq-category.is-active { display: block; }

.faq-category__title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  padding-left: 20px;
  border-left: 4px solid var(--c-yellow);
  font-family: var(--ff-mincho);
  font-size: 26px;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--c-ink);
}

.faq-category__en {
  font-family: var(--ff-en);
  font-size: 12px;
  letter-spacing: 0.5em;
  color: var(--c-yellow-deep);
  font-weight: 700;
}

/* ===== List ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--c-paper);
  border-radius: 4px;
  border: 1px solid var(--c-line-soft);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq-item.is-open {
  border-color: var(--c-yellow);
  box-shadow: var(--shadow-sm);
}

.faq-item__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 30px;
  text-align: left;
  font-family: var(--ff-mincho);
  font-size: 16px;
  font-weight: 500;
  color: var(--c-ink);
  letter-spacing: 0.08em;
  transition: background 0.3s var(--ease);
}

.faq-item__head:hover { background: var(--c-yellow-pale); }

.faq-item__q,
.faq-item__a {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
}

.faq-item__q {
  background: var(--c-yellow);
  color: var(--c-ink);
}

.faq-item__a {
  background: var(--c-ink);
  color: var(--c-yellow);
}

.faq-item__title {
  flex: 1;
  line-height: 1.7;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
  margin-left: 8px;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: var(--c-text-sub);
  border-radius: 1px;
}

.faq-item__icon::before {
  top: 50%; left: 0; right: 0;
  height: 1.5px;
  margin-top: -0.75px;
}

.faq-item__icon::after {
  left: 50%; top: 0; bottom: 0;
  width: 1.5px;
  margin-left: -0.75px;
  transition: transform 0.3s var(--ease);
}

.faq-item.is-open .faq-item__icon::after { transform: scaleY(0); }
.faq-item.is-open .faq-item__icon::before { background: var(--c-yellow-deep); }

.faq-item__body {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 0 30px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.5s var(--ease), padding 0.5s var(--ease);
  background: var(--c-bg-alt);
}

.faq-item.is-open .faq-item__body {
  padding: 26px 30px;
  max-height: 800px;
  opacity: 1;
}

.faq-item__body p {
  line-height: 2.1;
  color: var(--c-text-mid);
  font-size: 14.5px;
}

@media (max-width: 820px) {
  .faq-tabs { flex-direction: column; }
  .faq-tab { border-right: none; border-bottom: 1px solid var(--c-line); flex-direction: row; padding: 18px 22px; gap: 16px; }
  .faq-tab:last-child { border-bottom: none; }
  .faq-tab__num { font-size: 11px; }
  .faq-tab__label { font-size: 14px; }
  .faq-category__title { font-size: 20px; padding-left: 14px; border-left-width: 3px; }
  .faq-item__head { padding: 20px 22px; font-size: 14.5px; gap: 16px; }
  .faq-item__q, .faq-item__a { width: 32px; height: 32px; font-size: 13px; }
  .faq-item__body { padding: 0 22px; gap: 16px; }
  .faq-item.is-open .faq-item__body { padding: 20px 22px; }
  .faq-item__body p { font-size: 13.5px; }
}
