@charset "UTF-8";
/*
/rakurakucloud/mailmarketing/asset/css/object/module/m-faq.css
faqモジュール用CSS
*/
.m-faq-item {
  position: relative;
  background-color: var(--white);
  border-radius: 10px;
  padding: 0 0 25px;
  margin-bottom: 10px;
  @media screen and (max-width: 840px) {
    padding: 10px 10px 20px;
  }
}
.m-faq-item__icon-ball {
  display: inline-block;
  background-color: var(--rmailmarketing-dark);
  width: 18px;
  height: 18px;
  border-radius: 9px;
  position: absolute;
  top: 27px;
  right: 27px;
  transition: all ease 0.3s;
  &::before {
    content: "";
    background-color: var(--white);
    width: 8px;
    height: 2px;
    line-height: 0;
    position: absolute;
    left: 5px;
    top: 9px;
    transform: translateY(-50%);
  }
  &::after {
    content: "";
    background-color: var(--white);
    width: 2px;
    height: 8px;
    line-height: 0;
    position: absolute;
    left: 9px;
    top: 5px;
    transform: translateX(-50%);
  }
  @media screen and (max-width: 840px) {
    top: 14px;
  }
  @media screen and (max-width: 600px) {
    top: 17px;
    right: 15px;
  }
  &.is-open:after {
    display: none;
  }
}
@media screen and (min-width: 841px) {
  .m-faq-item:hover .m-faq-item__icon-ball {
    transform: rotate(90deg);
  }
}
.m-faq-item__label {
  font-size: 16px;
  padding: 25px 25px 0px 60px;
  position: relative;
  display: block;
  cursor: pointer;
  @media screen and (max-width: 840px) {
    padding: 10px 33px 2px 55px;
  }
  @media screen and (max-width: 600px) {
    font-size: 14px;
  }
  &::before {
    content: "Q";
    position: absolute;
    left: 30px;
    top: 22px;
    font-size: 22px;
    color: var(--rmailmarketing-dark);
    @media screen and (max-width: 840px) {
      top: 4px;
    }
    @media screen and (max-width: 600px) {
      left: 13px;
      top: 13px;
    }
  }
}
.m-faq-item__answer {
  width: 95%;
  height: 0;
  opacity: 0;
  padding: 0 25px 0 45px;
  margin: 0 auto;
  overflow: hidden;
  background-color: var(--rmailmarketing-bg-sub-03);
  border-radius: 10px;
  transition: all ease 0.3s;
  @media screen and (max-width: 600px) {
    width: 93%;
    padding: 0 15px 0 40px;
  }
  &.is-open {
    padding: 25px 25px 25px 45px;
    opacity: 1;
    margin: 15px auto 0;
    height: auto;
    visibility: visible;
    cursor: text;
    @media screen and (max-width: 600px) {
      margin-top: 10px;
      padding: 20px 20px 20px 40px;
    }
  }
}
.m-faq-item__answer-title {
  font-size: 16px;
  color: var(--rmailmarketing-dark);
  font-weight: 700;
  position: relative;
  @media screen and (max-width: 840px) {
    font-size: 14px;
  }
  &::before {
    content: "A";
    position: absolute;
    font-weight: 500;
    left: -25px;
    top: -3px;
    font-size: 22px;
    color: var(--rmailmarketing-dark);
  }
}
.m-faq-item__answer-detail {
  font-size: 14px;
  line-height: 1.6;
  margin: 15px 0 0;
}
.m-faq-item__answer:not(:has(.m-faq-item__answer-title))
.m-faq-item__answer-detail {
  margin: 0;
}