/* ==========================================================================
   faq-style.css
   よくあるご質問ページ（page-faq.php）専用スタイル
   デザイントークン：ネイビー #004183／コーラル #C63031
   フォント：Zen Old Mincho（見出し）／Zen Kaku Gothic New（本文）
   company-style.css / privacy-style.css / line-consult-style.css の構成に準拠
   2026-08-20新規作成：scarecrow-inc.jp/faq/ の内容を移設
   ========================================================================== */

.fq-page {
  --fq-navy: #004183;
  --fq-coral: #C63031;
  --fq-bg-soft: #F7F9FB;
  --fq-text: #262626;
  --fq-border: #E5E9ED;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: var(--fq-text);
  line-height: 1.9;
}

.fq-page h1,
.fq-page h2 {
  font-family: "Zen Old Mincho", serif;
  color: var(--fq-navy);
}

.fq-hero__inner,
.fq-body__inner,
.fq-final__inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- ヒーロー（他ページとメインビジュアル高さ統一・写真なし簡潔版） ---------- */
.fq-hero {
  background: linear-gradient(180deg, #EAF4FF 0%, #fff 100%);
  padding: 88px 0;
  min-height: 300px;
  display: flex;
  align-items: center;
  text-align: center;
}
.fq-hero__eyebrow {
  color: var(--fq-navy);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  margin: 0 0 16px;
}
.fq-hero__title {
  font-size: 2rem;
  margin: 0 0 14px;
}
.fq-hero__sub {
  font-size: 1rem;
  color: #555;
  margin: 0;
}

/* ---------- FAQ本体 ---------- */
.fq-body {
  padding: 56px 0 72px;
}
.fq-list {
  display: flex;
  flex-direction: column;
}
.fq-item {
  border-bottom: 1px solid var(--fq-border);
  padding: 22px 0;
}
.fq-item:first-child {
  border-top: 1px solid var(--fq-border);
}
.fq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--fq-navy);
  font-size: 1.02rem;
  list-style: none;
  padding-right: 28px;
  position: relative;
}
.fq-item summary::-webkit-details-marker {
  display: none;
}
.fq-item summary::before {
  content: "Q. ";
  color: var(--fq-coral);
}
.fq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--fq-coral);
  font-weight: 700;
  font-size: 1.2rem;
}
.fq-item[open] summary::after {
  content: "−";
}
.fq-item__answer {
  margin-top: 14px;
  padding-left: 1.6em;
}
.fq-item__answer p {
  font-size: 0.96rem;
  color: #444;
  margin: 0 0 10px;
}
.fq-item__answer p:last-child {
  margin-bottom: 0;
}
.fq-item__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.fq-item__links a {
  color: var(--fq-navy);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.fq-item__links a:hover {
  text-decoration: underline;
}

/* ---------- 最終CTA ---------- */
.fq-final {
  background: var(--fq-bg-soft);
  padding: 64px 0;
  text-align: center;
}
.fq-final__title {
  font-size: 1.5rem;
  margin: 0 0 20px;
}
.fq-final__text {
  font-size: 0.96rem;
  color: #555;
  max-width: 560px;
  margin: 0 auto 28px;
}
.fq-final__text a {
  color: var(--fq-navy);
  font-weight: 700;
}
.fq-final__ctas {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.fq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 16px 36px;
  font-size: 1.02rem;
  min-width: 260px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.fq-btn:hover {
  opacity: 0.88;
}
.fq-btn--primary {
  background: var(--fq-navy);
  color: #fff;
}
.fq-btn--outline {
  background: #fff;
  border: 1px solid var(--fq-navy);
  color: var(--fq-navy);
}

@media (min-width: 768px) {
  .fq-hero {
    padding: 110px 0;
    min-height: 380px;
  }
  .fq-hero__title {
    font-size: 2.6rem;
  }
  .fq-final__ctas {
    flex-direction: row;
    justify-content: center;
  }
}
