/* ============================================================
   Tate. よくある質問ページ専用スタイル faq.css
   （style.css の後に読み込む。他ページでは未読込）
   ============================================================ */

/* ---------- HERO（よくある質問） ---------- */
/* 背景・葉は style.css の指定をそのまま使用（高さは aspect-ratio:4/3 で index と同じ） */
.hero--faq .hero__title { letter-spacing: .14em; }

/* ============================================================
   FAQ本体
   ============================================================ */
.faq { max-width: 900px; }
.faq-cat { margin-bottom: 56px; }
.faq-cat:last-child { margin-bottom: 0; }

.faq-cat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--fs-title);
  color: var(--teal-deep);
  letter-spacing: .06em;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--teal-soft);
}
.faq-cat__head img { width: 80px; height: 80px; object-fit: contain; flex: 0 0 auto; }

/* Q&A 項目（details/summary によるアコーディオン） */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(120,140,130,.06);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { width: 40px; height: 40px; object-fit: contain; flex: 0 0 auto; }
.faq-question {
  flex: 1;
  font-family: var(--serif);
  font-size: 1.1rem;/*var(--fs-card-title);*/
  color: var(--ink);
  letter-spacing: .02em;
  line-height: 1.5;
}
.faq-chevron {
  flex: 0 0 auto;
  width: 12px; height: 12px;
  border-right: 1.6px solid var(--teal);
  border-bottom: 1.6px solid var(--teal);
  transform: rotate(45deg);
  transition: transform .25s ease;
  margin-right: 4px;
  margin-top: -4px;
}
.faq-item[open] .faq-chevron { transform: rotate(225deg); margin-top: 4px; }

.faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 24px 20px;
}
.faq-a { width: 35px; height: 35px; object-fit: contain; flex: 0 0 auto; }
.faq-answer p {
  flex: 1;
  font-size: 0.9rem;/*var(--fs-body);*/
  color: var(--ink-soft);
  line-height: 1.9;
  letter-spacing: .02em;
}

/* ============================================================
   下部CTA（お問い合わせ）
   ============================================================ */
.faq-cta {
  background: linear-gradient(160deg, #eaf2ee 0%, #dcebe5 100%);
  padding: 56px 24px;
}
.faq-cta__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 44px;
  align-items: center;
}
.faq-cta__photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.faq-cta__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.8rem;/*var(--fs-title);*/
  letter-spacing: .05em;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 14px;
}
.faq-cta__sub { color: var(--ink-soft); font-size: 0.85rem;/*var(--fs-body);*/ line-height: 1.9; margin-bottom: 24px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .faq-cta__inner { grid-template-columns: 1fr; gap: 26px; text-align: center; max-width: 520px; }
  .faq-cta__title, .faq-cta__sub { text-align: center; }
}

@media (max-width: 600px) {
  .faq-cat__head img { width: 90px; height: 90px; }
  .faq-item summary { padding: 16px 18px; gap: 10px; }
  .faq-q, .faq-a { width: 22px; height: 22px; }
  .faq-answer { padding: 0 18px 18px; gap: 10px; }
  .faq-cta__sub br { display: none; }
}
