.list_section {
    padding: 80px 0;
}

.list_section h2 {
    max-width: 610px;
    letter-spacing: 0.02em;
}

.list_section .item {
    box-shadow: 0px 1px 7px rgba(7, 13, 144, 0.17);
    border-radius: 4px;
    padding: 12px 14px;
    width: 30%;
    display: flex;
    align-items: center;
}

.list_section .list {
    padding-left: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-height: 400px;
    height: 100%;
    column-gap: 45px;
    row-gap: 16px;
    margin: 0;
}

.list_section .number {
    background: #F8F7FF;
    border-radius: 4px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 20px/26px 'Montserrat';
    letter-spacing: 0.02em;
    color: #1176A8;
    margin-right: 16px;
}

.list_section .text {
    font: 500 16px/26px 'Montserrat';
    color: #181818;
}

.list_section .btn-see-all {
    background: #F8F7FF;
    border-radius: 4px;
    display: inline-block;
    margin: 0;
    padding: 6px 17px;
}

.list_section .btn-wrapper {
    text-align: right;
    display: none;
}

.list_section .btn-see-all span {
    font-weight: 700;
    font-size: 16px;
    line-height: 26px;
    color: #181818;
}

.list_section .btn-see-all span img {
    vertical-align: baseline;
}

/* active class */
.list_section .btn-see-all .btn-image img {
    transition: 0.3s;
}

.list_section .btn-see-all .btn-image img.active {
    transform: rotate(90deg);
    transition: 0.3s;
}

.list_section .list .item.active {
    opacity: 1;
}

.list_section .list.active {
    /* overflow: visible; */
    transition: max-height .3s ease;
    padding-bottom: 20px;
    /* padding: 20px 0; */
}

@media(max-width: 998px) {
    .list_section .item:nth-child(n+5) {
        opacity: 0;
    }

    .list_section .list {
        align-items: center;
        flex-wrap: nowrap;
        overflow-y: hidden;
        padding-top: 10px;
        transition: max-height .3s ease;
    }

    .list_section .item {
        width: 70%;
    }

    .list_section .btn-wrapper {
        display: block;
    }

    .list_section {
        padding: 45px 0;
    }
}

@media(max-width:767px) {
    .list_section .item {
        width: 70%;
    }

    .list_section .subtitle {
        font-size: calc(16px + (20 - 16) * ((100vw - 420px) / (1600 - 420)));
    }

    .list_section h2 {
        letter-spacing: -0.03em;
        line-height: 36px;
    }

    .list_section .number {
        width: 40px;
        height: 40px;
    }

    .list_section .list {
        max-height: 320px;
    }
}

@media(max-width: 600px) {
    .list_section .number {
        font-size: calc(16px + (20 - 16) * ((100vw - 420px) / (1600 - 420)));
    }

    .list_section .item {
        width: 99%;
    }

    .list_section .subtitle {
        margin-bottom: 24px;
    }

    .list_section .list {
        row-gap: 8px;
    }

    .list_section .list {
        max-height: 300px;
    }

    .list_section {
        padding: 25px 0;
    }

}

.thereCaret{
    margin-right: 5px;
}

.btn-see-all span{
    display: flex;
    align-items: center;
}