.faq{
    margin-top: 130px;
}

.faq__title{
    display: inline-block;
    position: relative;
}

.faq__title::before{
    position: absolute;
    content: "";
    width: 484px;
    background-image: url(../img/question.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 484 / 113;
    bottom: -20px;
    right: 41px;
    transform: translateX(100%);
}

.faq__items{
    margin-top: 48px;
}

.faq__item{
    border: 2px solid #E5E5E5;
    padding: 18.5px 40px;
    padding-right: 103px;
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq__item::after{
    position: absolute;
    content: "";
    width: 24px;
    height: 2px;
    background: #0F65EF;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.faq__item::before{
    position: absolute;
    content: "";
    height: 24px;
    width: 2px;
    background: #0F65EF;
    top: 50%;
    right: 51px;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.faq__item:nth-of-type(n + 2){
    margin-top: 24px;
}

.faq__item.is-open::before {
    transform: translateY(-50%) rotate(90deg);
    opacity: 0;
}

.faq__item.is-open::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq__icon{
    font-family: Lato, sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0.01em;
    color: #0F65EF;
}

.faq__question{
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq__answer{
    margin-top: 8px;
    display: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq__answer__content{
    display: flex;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0.01em;
    gap: 12px;
    padding: 16px 0;
}


@media (max-width: 768px) {
    .faq{
        margin-top: 50px;
    }
    
    .faq__title{
        display: block;
    }
    
    .faq__title::before{
        position: absolute;
        content: "";
        width: 242px;
        aspect-ratio: 242 / 57;
        background: url(../img/sp/question_sp.svg) no-repeat center center / cover;
        bottom: -50%;
        right: 0;
        transform: translateX(-5px) translateY(20px);
    }
    
    .faq__items{
        margin-top: 45px;
    }
    
    .faq__item{
        border: 2px solid #E5E5E5;
        padding: 17.5px 24px;
        padding-right: 42px;
        border-radius: 50px;
        position: relative;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .faq__item::after{
        position: absolute;
        content: "";
        width: 18px;
        height: 2px;
        background: #0F65EF;
        top: 50%;
        right: 24px;
        transform: translateY(-50%);
        transition: all 0.3s ease;
    }
    
    .faq__item::before{
        position: absolute;
        content: "";
        height: 18px;
        width: 2px;
        background: #0F65EF;
        top: 50%;
        right: 32px;
        transform: translateY(-50%);
        transition: all 0.3s ease;
    }
    
    .faq__item:nth-of-type(n + 2){
        margin-top: 16px;
    }
    
    .faq__icon{
        font-size: 24px;
    }
    
    .faq__question{
        font-weight: 700;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: 0.01em;
        display: flex;
        align-items: center;
        gap: 12px;
        padding-right: 10px;
    }
    
    .faq__answer{
        margin-top: 8px;
        padding-right: 10px;
        display: none;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .faq__answer__content{
        display: flex;
        font-weight: 400;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: 0.01em;
        gap: 12px;
        padding:  0;
    }
}