@charset "UTF-8";
/* CSS Document */
/* ===== FAQ全体 ===== */
#faq {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 15px;
}

#faq h2 {
  font-size: 32px;
  line-height: 1.4;
  font-weight: 700;
  color: #222;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid #b68c2f;
}

/* ===== 各質問ブロック ===== */
#faq details {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 14px;
  overflow: hidden;
}

/* 開いた時 */
#faq details[open] {
  border-color: #b68c2f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ===== 質問行 ===== */
#faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 18px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: #222;
  background: #f8f6f1;
  transition: background 0.2s ease;
}

#faq summary:hover {
  background: #f3eee3;
}

/* Safari対策 */
#faq summary::-webkit-details-marker {
  display: none;
}

/* ＋/－マーク */
#faq summary::before,
#faq summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: #b68c2f;
  transform: translateY(-50%);
}

#faq summary::after {
  transform: translateY(-50%) rotate(90deg);
}

#faq details[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
}

/* ===== 回答 ===== */
#faq details p {
  margin: 0;
  padding: 18px;
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  background: #fff;
  border-top: 1px solid #eee;
}

/* ===== スマホ ===== */
@media screen and (max-width: 767px) {
  #faq {
    margin: 30px auto;
    padding: 0 12px;
  }

  #faq h2 {
    font-size: 26px;
    margin-bottom: 18px;
  }

  #faq summary {
    font-size: 16px;
    padding: 15px 44px 15px 15px;
  }

  #faq details p {
    font-size: 15px;
    padding: 15px;
  }
}

