@charset "UTF-8";
/* =========================================================
   FAQ Accordion (共通)
   - 既存の FAQ マークアップ（.office-faq__*）をそのまま利用
   - taxonomy / archive / single で使い回せる共通UI
   ========================================================= */

.office-faq__items {
  display: grid;
  gap: 12px;
}

.office-faq__item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.office-faq__q {
  position: relative;
  display: block;
  margin: 0;
  padding: 14px 44px 14px 14px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 800;
  color: #111;
  list-style: none;
}

/* ブラウザ既定の三角アイコンを非表示 */
.office-faq__q::-webkit-details-marker {
  display: none;
}

.office-faq__q::marker {
  content: "";
}

/* 開閉インジケータ */
.office-faq__q::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.72);
  background: rgba(0, 0, 0, 0.02);
}

.office-faq__item[open] .office-faq__q::after {
  content: "−";
}

.office-faq__item[open] .office-faq__q {
  background: rgba(0, 0, 0, 0.015);
}

.office-faq__a {
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.84);
}

.office-faq__a > :first-child {
  margin-top: 0;
}

.office-faq__a > :last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .office-faq__items {
    gap: 10px;
  }

  .office-faq__q {
    font-size: 14px;
    padding: 12px 40px 12px 12px;
  }

  .office-faq__a {
    padding: 10px 12px 12px;
  }
}
