@charset "UTF-8";

/* よくある質問 -------------------------- */
#q-and-a #question{
    width: 100%;
    display: flex;
    position: relative;
}
.qa-illust{
    position: sticky;
    top: calc(100vh - 40vw);
    left: 0;
    margin-top: 420px;
    width: 40vw;
    height: 40vw;
    z-index: -1;
    background: url(../img/qa/illust.png) no-repeat;
    background-size: contain;
    pointer-events: none;
}

#q-and-a #question .main-wrap{
    width: 75%;
    background-color: #f5f5f5;
    padding: 150px 0;
    margin: 0 0 0 auto;
}
#q-and-a #question .main-wrap .question-list{
    width: 90%;
    margin: 0 auto;
}
#q-and-a #question .main-wrap .question-list .question-item{
    width: 100%;
    background-color: #fff;
    padding: 40px;
    margin-bottom: 40px;
}

#q-and-a #question .main-wrap .question-list .question-item .q-area{
    width: 100%;
    display: flex;
    cursor: pointer;
}
#q-and-a #question .main-wrap .question-list .question-item .q-area > .question{
    width: calc(100% - 20px);
    margin-left: 20px;
    position: relative;
}
#q-and-a #question .main-wrap .question-list .question-item .q-area > .question::before{
    content: "Q.";
    width: 20px;
    height: 20px;
    color: #FF5F09;
    font-family: "League Spartan", sans-serif;
    font-size: 20px;
    position: absolute;
    top: 6px;
    left: -23px;
}
#q-and-a #question .main-wrap .question-list .question-item .q-area > .arrow{
    width: 20px;
    height: 20px;
    background-color: #222;
    border-radius: 50%;
    margin-top: 3px;
    position: relative;
}
#q-and-a #question .main-wrap .question-list .question-item .q-area > .arrow::before{
    content: "";
    width: 8px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    top: 7px;
    right: 5px;
    transform: rotate(45deg);
}
#q-and-a #question .main-wrap .question-list .question-item .q-area > .arrow::after{
    content: "";
    width: 8px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    top: 12px;
    right: 5px;
    transform: rotate(-45deg);
}

/* active */
#q-and-a #question .main-wrap .question-list .question-item .q-area.active > .arrow::before{
    top: 10px;
    right: 8px;
    transform: rotate(-45deg);
}
#q-and-a #question .main-wrap .question-list .question-item .q-area.active > .arrow::after{
    top: 10px;
    right: 3px;
    transform: rotate(45deg);
}

#q-and-a #question .main-wrap .question-list .question-item .a-area{
    width: 100%;
    padding: 40px 0 0 40px;
}

/*-------------------------------------------
タブレット
-------------------------------------------*/
@media screen and (max-width: 960px) {

    /* よくある質問 -------------------------- */
    #q-and-a #question{
        flex-direction: column;
    }
    .qa-illust{
        position: static;
        margin-top: 0;
        width: 100%;
        height: 330px;
        background-size: cover;
        background-position: center;
    }

    #q-and-a #question .main-wrap{
        width: 100%;
        padding: 80px 0;
    }

    #q-and-a #question .main-wrap .question-list .question-item{
        padding: 30px 5%;
        margin-bottom: 30px;
    }

}

/*-------------------------------------------
スマホ
-------------------------------------------*/
@media screen and (max-width: 767px) {

    /* よくある質問 -------------------------- */

    #q-and-a #question .main-wrap .question-list .question-item dd{
        padding: 30px 0 0 30px;
    }

}