#faq {
  background: linear-gradient(to bottom, #fff, #ffe6ea);
  padding: 40px 20px;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

.faq-heading {
  font-size: 2em;
  font-weight: bold;
  color: #ff7fa7;
  text-align: center;
}

.faq-subheading {
  text-align: center;
  color: #ff7fa7;
  margin-bottom: 30px;
}

.faq-container {
  max-width: 550px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #f5b9c3;
}

.faq-question {
  cursor: pointer;
  padding: 15px 20px;
  color: #d14c6d;
  font-weight: bold;
  border-radius: 6px;
  margin-bottom: 10px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  box-sizing: border-box;

  position: relative; /* ✅ 追加：afterの位置基準に必要！ */
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px; /* ✅ 少し内側に */
  top: 50%; /* ✅ 縦の中央に配置 */
  transform: translateY(-50%);
  color: #d14c6d;
  font-size: 24px;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  display: none;
  margin-top: 10px;
  line-height: 1.6;
  color: #f87474;
}

.faq-item.active .faq-answer {
  display: block;
}

/* 550px超えたら左右に余白をつけて中央表示 */
@media screen and (min-width: 551px) {
  body {
    background-color: #F5F5F5;
  }

  #faq {
    max-width: 550px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px 20px;
    box-sizing: border-box;
  }
}

/* 🔽 画像挿入用スタイル（隙間なし・角丸なし） */
.faq-images {
  max-width: 550px;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 auto;
}

.faq-images img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  background-color: #ffa90a;
}

img {
    -webkit-user-drag: none;  /* iOSのSafariでの画像ドラッグ防止 */
    user-select: none;        /* 画像の選択を防止 */
}