/* faq-accordion.css — ベースライン(自動読込)。最低限の見た目を保証する。
   上書き・拡張はページ側/custom側で行い、このファイルと同名クラスをゼロから書き直さないこと。 */
.faq-item {
  border: 1px solid var(--color-primary-light);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(39,34,31,0.05);
  transition: box-shadow 0.2s ease;
}
.faq-item:last-child { margin-bottom: 0; }
.faq-item.is-open {
  box-shadow: 0 4px 16px rgba(184,58,42,0.10);
  border-color: var(--color-accent, #B83A2A);
}
.faq-q {
  width: 100%; text-align: left; cursor: pointer; background: none; border: none;
  font: inherit; font-family: var(--font-heading, inherit); color: var(--color-text);
  padding: 1.25rem 3.5rem 1.25rem 1.25rem; position: relative;
  font-size: 1rem; font-weight: 600; line-height: 1.5;
  display: flex; align-items: center; gap: 0.75rem;
}
.faq-q::before {
  content: "Q";
  flex-shrink: 0;
  width: 2rem; height: 2rem;
  background: var(--color-accent, #B83A2A);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; font-family: var(--font-heading, inherit);
  letter-spacing: 0.05em;
}
.faq-q::after {
  content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  color: var(--color-accent, #B83A2A); font-size: 1.5rem; line-height: 1;
  transition: transform .25s ease, content .1s;
  width: 1.5rem; height: 1.5rem; display: flex; align-items: center; justify-content: center;
}
.faq-q[aria-expanded="true"] { color: var(--color-accent, #B83A2A); }
.faq-q[aria-expanded="true"]::after { content: "−"; }
.faq-a {
  padding: 0 1.25rem 1.25rem 4.25rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
  border-top: 1px solid var(--color-primary-light);
  margin-top: 0;
}
.faq-a[hidden] { display: none; }
.faq-a p { margin-bottom: 0.5rem; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a strong { color: var(--color-text); }

/* セクションの器。見出しと本文の間隔だけ持たせる。 */
.faq-section {
  padding: clamp(2rem, 5vw, 4rem) 0;
}
