#faq {
  background-color: var(--color-bg);
  padding: 5rem 2rem;
}

/* よくある質問 */

.faq__container {
  width: 30rem;
  margin: 0 auto;
}

.faq__title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 500;
}

.faq__items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq__item {
  background-color: white;
  padding: 1.6rem;
  border-radius: 1.2rem;
  cursor: pointer;
  border: 1px solid #8e9092;
}

.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
}

.faq__q img {
  transition: transform 0.3s linear;
  transform: rotate(0deg);
  width: 2.5rem;
  filter: brightness(0) saturate(100%) invert(40%) sepia(0%) saturate(0%)
    hue-rotate(0deg) brightness(70%) contrast(100%);
}

.faq__item--open .faq__q img {
  transform: rotate(90deg);
}

.faq__a {
  font-size: 1.1rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq__item--open .faq__a {
  max-height: 20rem;
  margin-top: 1.2rem;
}

/* FAQ内のリンクスタイル */
.faq__a a {
  color: #007bff;
  text-decoration: underline;
}

.faq__a a:hover {
  color: #0056b3;
}

/* その他のご質問 */
.faq__other {
  background-color: #ffffff;
  padding: 1.5rem 0 2rem 0;
  border-radius: 1.2rem;
  margin-top: 1.2rem;
  text-align: center;
}

.faq__other--title {
  font-size: 1.8rem;
}

.faq__other--text {
  font-size: 1.2rem;
  margin: 0.8rem 0 2rem 0;
}

.faq__other a {
  display: block;
  background-color: #0dc748;
  border-radius: 0.25rem;
  color: #ffffff;
  display: block;
  font-size: 1.2rem;
  margin: 3rem auto 0.4rem auto;
  padding: 1rem 0;
  text-align: center;
  width: 19rem;
  box-shadow: inset 0 0 0 1px #ffffff, 0 0 0 5px #0dc748;
  text-decoration: none;
}
