/* CSS Document */

/* アロマディフューザー Q&A */
.diffuser-faq {
  max-width: 800px;
  margin: 72px auto 80px;
  color: #35380a;
  font-family: Lato, "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

.diffuser-faq__head {
  margin-bottom: 32px;
  text-align: center;
}

.diffuser-faq__head h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.diffuser-faq__head h2::before,
.diffuser-faq__head h2::after {
  content: "";
  width: 72px;
  height: 1px;
  background: #858865;
}

.diffuser-faq__head p {
  margin: 0;
  color: #6c7050;
  font-size: 14px;
  line-height: 1.8;
}

.diffuser-faq__list {
  border-top: 1px solid #d9ddcf;
}

.diffuser-faq details {
  border-bottom: 1px solid #d9ddcf;
}

.diffuser-faq summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 50px 22px 18px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}

.diffuser-faq summary::-webkit-details-marker {
  display: none;
}

.diffuser-faq summary::before,
.diffuser-faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 16px;
  height: 1px;
  background: #6c7042;
  transition: transform 0.2s ease;
}

.diffuser-faq summary::after {
  transform: rotate(90deg);
}

.diffuser-faq details[open] summary {
  background: #f3f7ef;
}

.diffuser-faq details[open] summary::after {
  transform: rotate(0);
}

.diffuser-faq__mark {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #75884b;
  color: #fff;
  font-family: Lato, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 30px;
  text-align: center;
}

.diffuser-faq__answer {
  display: flex;
  gap: 14px;
  padding: 22px 24px 26px 18px;
  background: #fbfcf9;
}

.diffuser-faq__answer .diffuser-faq__mark {
  background: #d7dfc5;
  color: #4e572e;
}

.diffuser-faq__answer p {
  margin: 2px 0 0;
  font-size: 15px;
  line-height: 2;
}

.diffuser-faq__cta {
  margin: 32px 0 0;
  text-align: center;
}

.diffuser-faq__cta a {
  display: inline-block;
  min-width: 280px;
  padding: 15px 32px;
  border: 1px solid #55652f;
  color: #3d491f;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.diffuser-faq__cta a:hover {
  background: #55652f;
  color: #fff;
}

@media (max-width: 767px) {
  .diffuser-faq {
    margin: 48px 16px 56px;
  }

  .diffuser-faq__head h2 {
    gap: 10px;
    font-size: 21px;
    line-height: 1.5;
  }

  .diffuser-faq__head h2::before,
  .diffuser-faq__head h2::after {
    width: 28px;
  }

  .diffuser-faq summary {
    gap: 10px;
    padding: 18px 42px 18px 10px;
    font-size: 15px;
  }

  .diffuser-faq summary::before,
  .diffuser-faq summary::after {
    right: 14px;
  }

  .diffuser-faq__answer {
    gap: 10px;
    padding: 18px 14px 22px 10px;
  }

  .diffuser-faq__answer p {
    font-size: 14px;
    line-height: 1.9;
  }

  .diffuser-faq__mark {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
    line-height: 26px;
  }

  .diffuser-faq__cta a {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
  }
}
