@charset "UTF-8";
/*======================================================================================================================

FAQセクション
・サイト共通のアクセントカラー（ピンク/パープル）を使用
・見出しは他セクションと同じ .worry-title クラスを併用するため、ここでは独自定義しない

======================================================================================================================*/
.faq-section {
  max-width: 900px;
  margin: 0 auto 100px;
  padding: 0 20px;
  color: #333;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid #e8dff0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: #fff1f5;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.6rem;
  line-height: 1.6;
}
@media screen and (max-width: 1024px) {
  .faq-question {
    font-size: 1.4rem;
    padding: 16px;
  }
}
.faq-question:hover {
  opacity: 0.85;
}

.faq-q-mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ff88ae;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.faq-q-text {
  flex: 1;
  font-weight: 600;
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: #9b87ff;
  transition: transform 0.2s ease;
}
.faq-icon::before {
  top: 9px;
  left: 2px;
  width: 16px;
  height: 2px;
}
.faq-icon::after {
  top: 2px;
  left: 9px;
  width: 2px;
  height: 16px;
}

.faq-question[aria-expanded=true] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  display: none;
  padding: 20px 20px 24px;
  gap: 14px;
  align-items: flex-start;
}

.faq-question[aria-expanded=true] + .faq-answer {
  display: flex;
}

.faq-a-mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #9b87ff;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.faq-answer p {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.8;
}
@media screen and (max-width: 1024px) {
  .faq-answer p {
    font-size: 1.4rem;
  }
}
