@charset "UTF-8";

/* ----------main---------- */
main {
    background-color: var(--mainColor-white);
    overflow: auto;
    position: relative;
    z-index: -20;
}

.section--faq {
    padding-bottom: 225px;
}

.faq__list {
    padding: 60px 11.2% 0;
    margin-top: 39px;
}

.faq__item {
    margin-top: 60px;
}

.faq__item:first-of-type {
    margin-top: 0;
}

.faq__question {
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: 400;
    position: relative;
    padding: 0 15px 0 40px;
    cursor: pointer;
}

.faq__question::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url(../images/icon_flower-blackA.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq__question::after {
    content: '';
    width: 10px;
    height: 10px;
    background-image: url(../images/icon_faq-plus.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.faq__answer {
    font-size: 1.1rem;
    line-height: 1.5;
    overflow: hidden;
    height: 0;
    transition: all 0.7s;
}

.faq__answer .subFont__sansSerif,.faq__answer .subFont__number {
    font-weight: 400;
}

.faq__item.active .faq__question::after {
    content: '';
    width: 10px;
    height: 3px;
    background-image: url(../images/icon_faq-minus.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.faq__item.active .faq__answer {
    margin-top: 20px;
    height: auto;
}


/* main pc */
@media screen and (min-width:913px) {
    .section--faq {
        margin-bottom: min(280px,19.44vw);
        padding-bottom: 60px;
    }

    .faq__list {
        padding: 120px 11.11% 0;
    }
    
    .faq__question {
        font-size: 2rem;
        padding: 0 21px 0 70px;
    }

    .faq__question::before {
        width: 50px;
        height: 50px;
    }

    .faq__question::after {
        width: 14px;
        height: 14px;
    }

    .faq__answer {
        font-size: 1.4rem;
        margin: 0 100px;
    }

    .faq__item.active .faq__question::after {
        width: 14px;
        height: 6px;
    }

    .faq__item.active .faq__answer {
        margin-top: 30px;
    }

    .fadeIn.animated {
        animation-delay: 0.4s;
    }
}
/* main pc */
/* ----------main---------- */