/* =========================================================
   faq.css
   よくあるご質問ページ専用スタイル
   ========================================================= */

/* ▼ ページヒーロー */
.page-hero--faq {
  background:
    linear-gradient(rgba(27, 42, 74, .74), rgba(27, 42, 74, .74)),
    url("images/hero/hero-01.jpg") center/cover no-repeat;
}
.hero-inline-link {
  color: var(--gold, #c5a55a);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-inline-link:hover {
  color: #e0c078;
}

/* ▼ カテゴリナビ */
.section-faq-nav {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.faq-nav-lead {
  text-align: center;
  color: var(--navy, #1b2a4a);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}
.faq-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
}
.faq-nav-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.2rem;
  background: #fff;
  border: 1px solid #e5e0d4;
  border-radius: 999px;
  color: var(--navy, #1b2a4a);
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
  transition: all .2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .03);
}
.faq-nav-chip:hover {
  background: var(--navy, #1b2a4a);
  color: #fff;
  border-color: var(--navy, #1b2a4a);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(27, 42, 74, .2);
}
.faq-nav-chip:hover .chip-icon {
  filter: brightness(1.3);
}
.chip-icon {
  font-size: 1.1rem;
  line-height: 1;
}

/* ▼ カテゴリ見出し */
.section-faq-cat {
  padding-top: 3rem;
  padding-bottom: 3rem;
  scroll-margin-top: 80px;
}
.faq-cat-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 2px solid var(--gold, #c5a55a);
}
.faq-cat-icon {
  flex-shrink: 0;
  font-size: 2.2rem;
  line-height: 1;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid var(--gold, #c5a55a);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}
.faq-cat-header .section-label {
  font-family: "Playfair Display", serif;
  font-size: .78rem;
  letter-spacing: .15em;
  color: var(--gold, #c5a55a);
  margin-bottom: .2rem;
}
.faq-cat-header .section-title {
  font-size: 1.45rem;
  color: var(--navy, #1b2a4a);
  margin: 0;
  line-height: 1.4;
}

/* ▼ FAQ 項目 ※ style.css / akiya-kanri.css 既存の .faq-list / .faq-item を活用する前提。
   独自に軽い上書きのみ */
.section-faq-cat .faq-list {
  display: grid;
  gap: .8rem;
}
.section-faq-cat .faq-item {
  background: #fff;
  border: 1px solid #e5e0d4;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .03);
  transition: box-shadow .2s ease;
}
.section-faq-cat .faq-item:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}
.section-faq-cat .faq-item[open] {
  border-color: var(--gold, #c5a55a);
}
.section-faq-cat .faq-item summary {
  cursor: pointer;
  padding: 1.1rem 1.4rem 1.1rem 3rem;
  font-weight: 600;
  color: var(--navy, #1b2a4a);
  font-size: .98rem;
  line-height: 1.6;
  position: relative;
  list-style: none;
  transition: background .15s ease;
}
.section-faq-cat .faq-item summary::-webkit-details-marker {
  display: none;
}
.section-faq-cat .faq-item summary::before {
  content: "Q";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: var(--gold, #c5a55a);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: .9rem;
  font-weight: 700;
}
.section-faq-cat .faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  line-height: 20px;
  text-align: center;
  font-size: 1.4rem;
  color: var(--gold, #c5a55a);
  font-weight: 300;
  transition: transform .2s ease;
}
.section-faq-cat .faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.section-faq-cat .faq-item summary:hover {
  background: #fafaf7;
}
.section-faq-cat .faq-item p {
  padding: 0 1.4rem 1.2rem 3rem;
  margin: 0;
  font-size: .93rem;
  line-height: 1.9;
  color: #444;
  position: relative;
}
.section-faq-cat .faq-item p::before {
  content: "A";
  position: absolute;
  left: 1rem;
  top: 0;
  width: 26px;
  height: 26px;
  background: var(--navy, #1b2a4a);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: .9rem;
  font-weight: 700;
}
.section-faq-cat .faq-item p a {
  color: var(--gold, #c5a55a);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.section-faq-cat .faq-item p a:hover {
  color: #8a6d3b;
}

/* ▼ レスポンシブ */
@media (max-width: 720px) {
  .faq-nav-chip {
    padding: .55rem .9rem;
    font-size: .85rem;
  }
  .faq-cat-icon {
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
  }
  .faq-cat-header .section-title {
    font-size: 1.2rem;
  }
  .section-faq-cat .faq-item summary {
    padding: 1rem 2.6rem 1rem 2.6rem;
    font-size: .94rem;
  }
  .section-faq-cat .faq-item summary::before {
    left: .7rem;
    width: 22px;
    height: 22px;
    font-size: .8rem;
  }
  .section-faq-cat .faq-item summary::after {
    right: 1rem;
  }
  .section-faq-cat .faq-item p {
    padding: 0 1rem 1rem 2.6rem;
    font-size: .88rem;
  }
  .section-faq-cat .faq-item p::before {
    left: .7rem;
    width: 22px;
    height: 22px;
    font-size: .8rem;
  }
}
