﻿:root {
  --ff-zen-old-mincho: "Zen Old Mincho";
  --ff-noto-sans-jp: "Noto Sans JP";
  --ff-cormorant-garamond: "Cormorant Garamond";
  --ff-shippori-mincho-b1: "Shippori Mincho B1";
}

.faq-page-wrapper {
  color: #111;
  line-height: 1.7;
  font-size: 22px; /* 約30%拡大 (17px * 1.3) */
}
.faq-container {
  max-width: 1300px; /* 横幅を1300pxに変更 */
  margin: 0 auto;
  padding: 40px 24px;
  box-sizing: border-box;
}
.faq-title {
  font-size: 42px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

/* アンカーナビゲーション（カテゴリから探す） */
.faq-anchor-nav {
  background: #f4f4f4;
  padding: 24px;
  margin-bottom: 30px;
  border-radius: 0; /* 直角 */
  /* 枠線を削除 */
}
.faq-anchor-nav-title {
  font-weight: bold;
  margin-bottom: 14px;
  font-size: 21px;
}
.faq-anchor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.faq-anchor-item {
  font-size: 20px;
}
.faq-anchor-link {
  color: #111;
  text-decoration: none;
  background: #fff;
  padding: 8px 18px;
  border-radius: 0; /* 直角 */
  display: inline-block;
  font-weight: 500;
  /* 枠線を削除し、面で表現 */
}
.faq-anchor-link:hover {
  background: #111;
  color: #fff;
}

/* 検索機能用スタイル */
.faq-search-wrapper {
  margin-bottom: 50px;
}
.faq-search-input {
  width: 100%;
  padding: 20px 24px;
  font-size: 22px;
  border: none; /* 枠線を削除 */
  background: #f4f4f4; /* 背景色で入力欄を表現 */
  color: #111;
  outline: none;
  box-sizing: border-box;
  border-radius: 0; /* 直角 */
}
.faq-search-input:focus {
  background: #eaeaea;
}
.faq-no-results {
  display: none;
  text-align: center;
  padding: 50px 0;
  font-size: 22px;
  color: #555;
  background: #f4f4f4;
  margin-bottom: 40px;
  border-radius: 0;
}

/* 検索・非表示切替用（優先度を強化） */
.faq-page-wrapper .faq-item.is-hidden,
.faq-page-wrapper .faq-section.is-hidden {
  display: none !important;
}

/* セクション・アイテム */
.faq-section {
  margin-bottom: 60px;
}
.faq-category-title {
  font-size: 29px;
  border-bottom: 3px solid #111; /* 見出しの下線のみ最小限に残す */
  padding-bottom: 10px;
  margin-bottom: 24px;
  font-weight: bold;
}
.faq-item {
  margin-bottom: 20px;
  background: #f9f9f9; /* 枠線の代わりに背景の濃淡で分離 */
  overflow: hidden;
  border-radius: 0; /* 直角 */
}
.faq-question {
  display: flex;
  padding: 22px;
  background: #f0f0f0;
  font-weight: bold;
  gap: 18px;
  align-items: flex-start;
  /* 内部の区切り線を削除 */
}
.faq-q-badge {
  background: #111;
  color: #fff;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border-radius: 0; /* 直角 */
}
.faq-q-text {
  font-size: 22px;
}
.faq-answer {
  display: flex;
  padding: 22px;
  gap: 18px;
  align-items: flex-start;
  background: #f9f9f9;
}
.faq-a-badge {
  background: #666;
  color: #fff;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border-radius: 0; /* 直角 */
}
.faq-a-content {
  font-size: 21px;
  flex: 1;
}
.faq-a-content p {
  margin: 0 0 14px 0;
}
.faq-a-content p:last-child {
  margin-bottom: 0;
}
.faq-contact-box {
  background: #eee;
  padding: 18px;
  margin-top: 18px;
  font-size: 20px;
  border-radius: 0; /* 直角 */
  /* 枠線を削除 */
}
.faq-back-to-top {
  text-align: right;
  margin-top: 16px;
  font-size: 20px;
}
.faq-back-to-top a {
  color: #111;
  text-decoration: none;
  font-weight: 500;
}
.faq-back-to-top a:hover {
  text-decoration: underline;
}