.sec1 .wrap{
    padding-top: 100px;
    padding-bottom: 120px;
}
.sec1 .wrap .tab{
    width: fit-content;
    margin: 0 auto 50px;
    display: flex;
}
.sec1 .wrap .tab .item{
    padding: 5px 15px;
    color: #aaa;
    font-size: 16px;
    border-radius:20px;
    transition: 0.5s;
    display: block;
}
.sec1 .wrap .tab .item:not(:last-child){
    margin-right: 20px;
}
.sec1 .wrap .tab .item:hover,
.sec1 .wrap .tab .item.active{
    background-color:#C9161A ;
    color: #fff;
}

.sec1 .wrap .list{
    width: 1440px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 47px 27px;
    margin-bottom: 50px;
}

.sec1 .wrap .list .item {
    width: 100%;
    cursor: pointer
}

.sec1 .wrap .list .item:hover .img img {
    transform: scale(1.02)
}

.sec1 .wrap .list .item .img {
    width: 100%;
    height: 240px
}

.sec1 .wrap .list .item .img img {
    object-fit: contain;
    transition: 0.6s
}

.sec1 .wrap .list .item .text {
    text-align: center;
    margin: 15px auto 0;
    font-weight: 500;
    font-size: 18px;
    color: #111111
}
@media screen and (max-width: 1920px) {
    .sec1 .wrap{
        padding-top: 5.2083333333vw;
        padding-bottom: 6.25vw;
    }
    .sec1 .wrap .tab{
        margin: 0 auto 2.6041666667vw;
    }
    .sec1 .wrap .tab .item{
        padding: 0.2604166667vw 0.78125vw;
        font-size: 0.8333333333vw;
        border-radius:1.0416666667vw;
    }
    .sec1 .wrap .tab .item:not(:last-child){
        margin-right: 1.0416666667vw;
    }
    .sec1 .wrap .list{
        width: 75vw;
        gap: 2.4479166667vw 1.40625vw;
        margin-bottom: 2.6041666667vw;
    }

    .sec1 .wrap .list .item .img {
        height: 12.5vw
    }
    .sec1 .wrap .list .item .text {
        margin: 0.78125vw auto 0;
        font-size: 0.9375vw;
    }

}

@media screen and (max-width: 1024px) {
    .sec1 .wrap .list{
        width: 90vw;
        margin-bottom: 50px;
    }
    .sec1 .wrap{
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .sec1 .wrap .tab .item:not(:last-child){
        margin-right: 20px;
    }
    .sec1 .wrap .tab .item{
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 14px;
    }
    .sec1 .wrap .list .item .img img{
        width: 100%;
    }
    .sec1 .wrap .list .item .img {
        height: auto;
    }
    .sec1 .wrap .list{
        gap: 20px;
    }
    .sec1 .wrap .list .item .text {
        font-size: 14px;
        margin-top: 10px;
    }
    .sec1 .wrap .tab{
        margin-bottom: 40px;
    }
    .sec1 .wrap{
        padding-top: 50px;
        padding-bottom: 50px;
    }
}
@media screen and (max-width: 767px) {
    .sec1 .wrap .list{
        grid-template-columns: repeat(2, 1fr);
    }
    .sec1 .wrap .tab .item:not(:last-child) {
        margin-right: 10px;
    }
    .sec1 .wrap .tab .item {
        font-size: 12px;
        padding: 5px 10px;
    }
}
@media screen and (max-width: 414px) {
    .sec1 .wrap .list {
        gap: 15px;
    }
}
