@charset "UTF-8";
/* =========================================================
   内装屋ひづめ - FAQページ (faq.css)
========================================================= */

.container--narrow { width: min(92%, 880px); }

.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease);
}
.faq.is-open { box-shadow: var(--shadow); }
.faq__q {
  width: 100%; display: flex; align-items: center; gap: 16px;
  padding: 22px 24px; text-align: left; font-weight: 700; font-size: 1.02rem; line-height: 1.6;
}
.faq__mark {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: 1.15rem;
  background: var(--orange-pale); color: var(--orange-dark);
}
.faq__mark--a { background: var(--orange); color: #fff; }
.faq__text { flex: 1; }
.faq__ico { flex-shrink: 0; position: relative; width: 18px; height: 18px; }
.faq__ico::before, .faq__ico::after {
  content: ""; position: absolute; background: var(--orange);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.faq__ico::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq__ico::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq.is-open .faq__ico::after { transform: scaleY(0); opacity: 0; }

.faq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner {
  overflow: hidden; display: flex; gap: 16px; align-items: flex-start;
  padding: 0 24px; color: var(--gray);
}
.faq.is-open .faq__a-inner { padding-bottom: 24px; }
.faq__a-inner p { padding-top: 2px; }

@media (max-width: 560px) {
  .faq__q { padding: 18px 18px; font-size: 0.96rem; gap: 12px; }
  .faq__a-inner { padding: 0 18px; }
  .faq.is-open .faq__a-inner { padding-bottom: 20px; }
}
