:root {
  --faq-bg: #D8DAD2;
  --faq-ink: #28332e;
  --faq-dim: #7a857f;
  --faq-line: #c4cec2;
  --faq-accent: #8c7a34;
  --faq-icon: #28332e;
}

/* ================= ページ全体 ================= */
.faq-page {
  background: var(--faq-bg);
  color: var(--faq-ink);
  font-family: "A-OTF Shuei Mincho Pro", "Hiragino Mincho ProN",
    "Yu Mincho", "游明朝", serif;
}

/* ================= pタグ共通サイズ ================= */
.faq-page p,
.faq-page .faq-a {
  font-size: 13px;
  line-height: 1.9;
}

/* ================= タイトルエリア ================= */
.faq-page .page-title .title  {
  font-family: "A-OTF Shuei Mincho Pro", "Hiragino Mincho ProN",
    "Yu Mincho", "游明朝", serif;
  font-size: 42px;
  letter-spacing: 0.16em;
}
.container_title{
  margin:0 10vw;
  display: flex;
  align-items: center;
  gap: 24px;
}
.faq-section {
  margin: 0  10vw 120px;
  padding: 0;
}


/* ================= FAQリスト ================= */
.faq-list {
  margin: 0;
  padding: 0;
  display: block;
  border-top: none;
}
/* 各行（details） */
.faq-list .faq {
  background: var(--faq-bg);
  border-bottom: 0.5px solid #9c9283;
  position: relative;
}

/* タイトル行（summary） */
.faq-list .faq > summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 12px 44px 1vw 0;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
}

/* ブラウザの三角を消す */
.faq-list .faq > summary::-webkit-details-marker {
  display: none;
}
.faq-list .faq > summary::marker {
  content: "";
  border: 0;
}

/* 左の “Q” */
.faq-list .faq > summary::before {
  content: "Q";
  color: var(--faq-accent);
  font-weight: 700;
  margin-right: .1rem;
  display: inline-grid;
  place-items: center;
  width: 1.4em;
}

/* 右の ＋／− */
.faq-list .faq > summary::after {
  content: "+";
  color: var(--faq-icon);
  font-size: 24px;
  line-height: 1;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform .6s;
}

.faq-list .faq[open] > summary::after {
  content: "−";  /* U+2212 のマイナス */
}

/* 回答（本文）アニメーション */
.faq-list .faq .faq-a {
  margin: 0;
  padding: 10px 16px 14px 0;
  display: block;
  color: var(--faq-dim);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height .6s ease, opacity .25s ease, transform .35s ease;
}

.faq-list .faq[open] .faq-a {
  max-height: 1000px;
  opacity: 1;
  transform: translateY(0);
  color: #1F1B13;
}

/* フォーカス／ホバー */
.faq-list .faq > summary:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 3px #a9c6ff66;
  border-radius: 4px;
}

.faq-list .faq > summary:hover {
  background: #e1e8de;
}
  /* 「もっと見る」ボタン */
.faq-more {
  margin: 5vw 6vw 64px;
  text-align: center; /* 中央寄せにしたいなら center */
}

.faq-more__btn.btn-outline {
  display: inline-block;
  padding: 12px 40px;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  border-radius: 4px;
  /* 幅広めにしたいなら↓ */
  /* width: 45%; */
  text-align: center;
}

/* 「もっと見る」で後から出すFAQ（初期状態では非表示） */
.faq--hidden {
  display: none;
}


/* ==========================
   768px 以下：FAQ スマホレイアウト
   ========================== */
@media screen and (max-width: 768px) {

  /* タイトル「FAQ ＋ ライン」まわり */
  .container_title {
    margin: 16px 6vw 20px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .page-title {
    margin: 5vw 2vw 0vw 2vw;
  }

  .faq-page .page-title .title {
    font-size: 28px;
    letter-spacing: 0.1 	em;
  }

  /* 共通コンテンツ余白 */
  .faq-section {
    margin: 0 6vw 56px;
    padding: 0;
  }

  /* 質問行（Q ＋ テキスト ＋ ＋／−） */
  .faq-list .faq > summary {
    padding: 12px 40px 10px 0;
    font-size: 14px;
  }

  /* 左の Q */
  .faq-list .faq > summary::before {
    width: 1.4em;
    margin-right: 0.2rem;
  }

  /* 右の ＋／− 位置を少し詰める */
  .faq-list .faq > summary::after {
    right: 8px;
    font-size: 22px;
  }

  /* 回答テキスト */
  .faq-list .faq .faq-a {
    padding: 6px 0 14px 0;  /* Qの位置に合わせて少し右から */
    font-size: 13px;
    line-height: 1.9;
  }

  /* 「もっと見る」ボタンがあれば全幅に */
  .faq-more {
    margin: 5vw 6vw 64px;
    text-align: center;       /* ← right から center に */
  }

  .faq-more__btn {
    display: inline-block;    /* ブロックじゃなくして */
    box-sizing: border-box;
    padding: 12px 40px;       /* PCと同じくらいの横幅に */
    width: auto;              /* 幅は中身に合わせる */
  }
}
