@charset "utf-8";
/* default PC */

#qa {

  & .bg-blue .qa-item {
    background-color: #FFF;
    border-radius: 20px;
  }

  & .qa-item {
    background-color: #f0f7fb;
    border-radius: 20px;
    margin-bottom: 25px;
  }


  & .qa-item h3.qa-q {
    border-left: 0;
    cursor: pointer;
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 0;
    padding: 25px 40px 25px 65px;
    position: relative;
    transition: .3s;
  }

  & .qa-item h3.qa-q:hover {
    opacity: .5;
    text-decoration: none;
    transition: .3s;
  }

  & .qa-item .a-area {
    background-color: #FFF;
    border-radius: 15px;
    margin-top: 0;
    padding: 30px 40px 30px 65px;
    position: relative;
  }

  & .qa-item .qa-a {
    padding: 0 30px 30px 30px;
    z-index: 1;
  }

  & .qa-item .qa-a p:last-child {
    margin-bottom: 0;
  }

  & h3.qa-q::before {
    color: #00A5D5;
    content: "Q";
    font-family: "Roboto", sans-serif;
    font-size: 29px;
    font-weight: 600;
    left: 30px;
    position: absolute;
    top: 17px;
  }

  & .qa-item .a-area::before {
    color: #f07587;
    content: "A";
    font-family: "Roboto", sans-serif;
    font-size: 27px;
    font-weight: 600;
    left: 26px;
    position: absolute;
  }

  & .qa-item h3.qa-q:after {
    background-image: url(../image/contents/arrow_blue.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    transition: .5s;
    bottom: 0;
    content: "";
    height: 28px;
    margin: auto;
    position: absolute;
    right: 25px;
    top: 0;
    width: 28px;
    transform: rotate(90deg);
  }

  & .qa-item h3.qa-q.active::after {
    transform: rotate(270deg);
  }

  & .qa-item.active h3.qa-q::after {
    transform: rotate(270deg);
  }

  & .qa-item .a-area {
    background-color: #fff;
    border-radius: 15px;
    margin-top: 0;
    padding: 30px 40px 30px 65px;
    position: relative;
    z-index: 1;
  }

  & .bg-blue .qa-item .a-area {
    background-color: #fdf6d7;
  }

  & .qa-item .a-area .link-btn {
    z-index: 2;
  }

  & .qa-item .qa-a.open {
    display: block;
  }

}

/* view-1140 notePC,Tablet */
@media screen and (max-width: 1140px) {}

/* view-959 Mobile,Tablet */
@media screen and (max-width: 959px) {
  .anchor-link>div:first-child .link-btn.anchor {
    margin-top: 20px;
  }

  #qa {
    #contents .anchor-link {
      justify-content: space-between;
    }

    .anchor-link .txt-3box {
      width: calc(100% / 2 - 10px);
    }

    & .qa-item h3.qa-q {
      font-size: 18px;
      padding: 25px 40px 25px 60px;
    }

    & h3.qa-q::before {
      font-size: 27px;
    }
  }
}

/* view-559 Mobile */
@media screen and (max-width: 559px) {

  #qa {
    .anchor-link .txt-3box {
      width: 100%;
    }

    .link-btn.anchor {
      margin-top: 15px;
    }

    & .qa-item h3.qa-q {
      padding: 20px 40px 20px 50px;
      font-size: 16px;
    }

    & .qa-item h3.qa-q:after {
      right: 15px;
    }

    & h3.qa-q::before {
      font-size: 24px;
      left: 20px;
      top: 14px;
    }

    & .qa-item .qa-a {
      padding: 0 15px 15px 15px;
    }

    & .qa-item .a-area {
      padding: 15px 15px 15px 40px;
    }

    & .qa-item .a-area::before {
      left: 16px;
      font-size: 20px;
      top: 14px;
    }
  }
}