@charset "UTF-8";

/* ==========================================================================
   faq.css
   ========================================================================== */

.o-m__faq-content_btn {
  text-align: center;
  padding: 30px 0 0;
}

.o-m__faq-content_item {
  position: relative;
  background-color: #FFF;
  border-radius: 10px;
  padding: 0 0 25px;
  margin-bottom: 10px;
  @media screen and (max-width: 768px) {
    padding: 10px 10px 20px;
  }
}

.o-m__faq-content_item_icon_ball {
  display: inline-block;
  background-color: var(--rmeisai-primary);
  width: 18px;
  height: 18px;
  border-radius: 9px;
  position: absolute;
  top: 27px;
  right: 27px;
  transition: all ease 0.3s;
  @media screen and (max-width: 576px) {
    top: 17px;
    right: 15px;
  }
  &:before {
    content: "";
    background-color: #fff;
    width: 8px;
    height: 2px;
    line-height: 0;
    position: absolute;
    left: 5px;
    top: 9px;
    transform: translateY(-50%);
  }
  &:after {
    content: "";
    background-color: #fff;
    width: 2px;
    height: 8px;
    line-height: 0;
    position: absolute;
    left: 9px;
    top: 5px;
    transform: translateX(-50%);
  }
}

.o-m__faq-content_item_icon_ball._js_open:after {
  display: none;
}

.o-m__faq-content_item:hover .o-m__faq-content_item_icon_ball {
  @media screen and (min-width: 769px) {
    transform: rotate(90deg);
  }
}

.o-m__faq-content_item_label {
  font-size: 16px;
  padding: 25px 25px 0px 60px;
  position: relative;
  display: block;
  @media screen and (max-width: 576px) {
    font-size: 14px;
    padding: 17px 33px 2px 35px;
  }
  &:before {
    content: "Q";
    position: absolute;
    left: 30px;
    top: 22px;
    font-size: 22px;
    color: var(--rmeisai-primary);
    @media screen and (max-width: 576px) {
      left: 13px;
      top: 13px;
    }
  }
}

.o-m__faq-content_item_answer {
  width: 95%;
  height: 0;
  opacity: 0;
  padding: 0 25px 0 45px;
  margin: 0 auto;
  overflow: hidden;
  background-color: var(--rmeisai-bg-sub-03);
  border-radius: 10px;
  transition: all ease .3s;
  @media screen and (max-width: 576px) {
    width: 93%;
    padding: 0 15px 0 40px;
  }
}

.o-m__faq-content_item_answer_title {
  font-size: 16px;
  padding: 0 0 10px;
  color: var(--rmeisai-primary);
  font-weight: 700;
  position: relative;
  @media screen and (max-width: 768px) {
    font-size: 14px;
  }
  &:before {
    content: "A";
    position: absolute;
    font-weight: 500;
    left: -25px;
    top: -3px;
    font-size: 22px;
    color: var(--rmeisai-primary);
  }
}

.o-m__faq-content_item_answer_detail {
  font-size: 14px;
  line-height: 1.6;
}

.o-m__faq-content_item_answer_annotation {
  font-size: 10px;
}

.o-m__faq-content_item_answer_link-area {
  padding: 15px 0 0;
  @media screen and (max-width: 576px) {
    padding: 5px 0 0;
  }
}

.o-m__faq-content_item_answer_link-area a {
  margin-right: 10px;
  @media screen and (max-width: 576px) {
    margin-top: 10px;
  }
}

.o-m__faq-content_item_answer._js_open {
  padding: 25px 25px 25px 45px;
  opacity: 1;
  margin: 15px auto 0;
  height: auto;
  visibility: visible;
  cursor: text;
  @media screen and (max-width: 576px) {
    margin-top: 10px;
    padding: 20px 20px 20px 40px;
  }
}
