.catering1 {
    padding: 144px 0 100px
}

.catering1 .wrap {
    width: 1860px;
    margin: auto;
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 20px
}

.catering1 .wrap .item {
    width: 100%;
    height: 800px;
    border-radius: 10px;
    overflow: hidden
}

.catering1 .wrap .item img {
    width: 100%;
    height: 100%
}

.catering2 {
    padding: 293px 0 313px;
    position: relative;
    z-index: 1
}

.catering2 .bg {
    position: absolute;
    width: 946px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1
}

.catering2 .wrap .cut {
    display: flex;
    justify-content: center;
    gap: 72px;
    width: fit-content;
    margin: auto
}

.catering2 .wrap .cut .list {
    font-weight: 600;
    font-size: 20px;
    color: #111111;
    cursor: pointer;
    transition: .6s ease;
    text-transform: uppercase
}

.catering2 .wrap .cut .list.on {
    color: var(--color)
}

.catering2 .wrap .content {
    margin: 57px 0 0 0;
    position: relative
}

.catering2 .wrap .content .matter {
    width: 100%;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity .3s, transform .6s .3s
}

.catering2 .wrap .content .matter:hover .caterSwiper {
    animation-play-state: paused
}

.catering2 .wrap .content .matter.on {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: .3s
}

.catering2 .wrap .content .matter:not(:first-child) {
    position: absolute;
    top: 0;
    left: 0
}

@keyframes goA {
    100% {
        transform: translateX(-50%)
    }
}

.catering2 .wrap .content .matter .caterSwiper.hide{
    animation: none;
    margin: auto;
}

.catering2 .wrap .content .matter .caterSwiper {
    display: flex;
    margin: auto;
}

.catering2 .wrap .content .matter .caterSwiper .swiper-wrapper{
    justify-content: center;
}

.catering2 .wrap .content .matter .caterSwiper .item {
    width: 300px;
    height: 300px;
    background: #EBE9E4;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    margin: 0 12px 0 0;
    z-index: 1;
}

.catering2 .wrap .content .matter .caterSwiper .item .img img {
    transition: 1s
}

/*.catering2 .wrap .content .matter .caterSwiper .item:hover .img img {*/
/*    transform: scale(1.05)*/
/*}*/

.catering2 .wrap .content .matter .caterSwiper .item:hover .position {
    opacity: 1
}

.catering2 .wrap .content .matter .caterSwiper .item:hover .position .circle {
    transform: scale(1)
}

.catering2 .wrap .content .matter .caterSwiper .item .position {
    position: absolute;
    width: 100%;
    padding: 0 17px 0 20px;
    bottom: 18px;
    left: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transition: .6s ease
}

.catering2 .wrap .content .matter .caterSwiper .item:after{
    content: '';
    position: absolute;
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg,rgba(255, 255, 255,.7), transparent);
    z-index: 1;
    opacity: 0;
    transition: .6s ease;
}
.catering2 .wrap .content .matter .caterSwiper .item:hover:after{
    opacity: 1;
}

.catering2 .wrap .content .matter .caterSwiper .item .position .text {
    font-weight: 400;
    font-size: 18px;
    color: #111111
}

.catering2 .wrap .content .matter .caterSwiper .item .position .circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transform: scale(0);
    transition: .3s ease
}

.catering2 .wrap .content .matter .caterSwiper .item .position .circle .iconfont {
    color: #000;
    font-size: 20px;
    transform: rotate(-45deg)
}

@media screen and (max-width: 1919px) {
    .catering1{
        padding: 7.5vw 0px 5.2083333333vw;
    }
    .catering1 .wrap{
        width: 96.875vw;
        gap: 1.0416666667vw;
    }
    .catering1 .wrap .item{
        height: 41.6666666667vw;
        border-radius: 0.5208333333vw;
    }
    .catering2{
        padding: 15.2604166667vw 0px 16.3020833333vw;
    }
    .catering2 .bg{
        width: 49.2708333333vw;
    }
    .catering2 .wrap .cut{
        gap: 3.75vw;
    }
    .catering2 .wrap .cut .list{
        font-size: 1.0416666667vw;
    }
    .catering2 .wrap .content{
        margin: 2.96875vw 0px 0px;
    }
    .catering2 .wrap .content .matter{
        transform: translateY(1.0416666667vw);
    }
    .catering2 .wrap .content .matter .caterSwiper .item{
        width: 15.625vw;
        height: 15.625vw;
        border-radius: 0.5208333333vw;
        margin: 0px 0.625vw 0px 0px;
    }
    .catering2 .wrap .content .matter .caterSwiper .item .position{
        padding: 0px 0.8854166667vw 0px 1.0416666667vw;
        bottom: 0.9375vw;
    }
    .catering2 .wrap .content .matter .caterSwiper .item .position .text{
        font-size: 0.9375vw;
    }
    .catering2 .wrap .content .matter .caterSwiper .item .position .circle{
        width: 2.5vw;
        height: 2.5vw;
    }
    .catering2 .wrap .content .matter .caterSwiper .item .position .circle .iconfont{
        font-size: 1.0416666667vw;
    }
}

@media screen and (max-width: 1024px) {
    .catering1{
        padding: 0 0 40px;
    }
    .catering1 .wrap{
        width: 90%;
        gap: 12px;
    }

    .catering1 .wrap .item{
        height: auto;
        border-radius: 10px;
    }
    .catering2{
        padding: 20px 0 40px;
    }
    .catering2 .wrap{
        width: 90%;
        margin: auto;
    }
    .catering2 .wrap .cut{
        width: 100%;
        gap: 14px 31px;
        flex-wrap: wrap;
    }
    .catering2 .wrap .cut .list{
        font-size: 14px;
    }
    .catering2 .wrap .content{
        margin: 30px 0 0 0;
    }
    .catering2 .wrap .content .matter .caterSwiper .item{
        width: 100%;
        height: auto;
        border-radius: 10px;
        margin: 0;
    }
    .catering2 .wrap .content .matter .caterSwiper .swiper-wrapper{
        flex-direction: column;
        gap: 20px;
    }
    .catering2 .wrap .content .matter .caterSwiper .item .position{
        padding: 0 15px;
        opacity: 1;
        bottom: 10px;
    }
    .catering2 .wrap .content .matter .caterSwiper .item .position .text{
        font-size: 16px;
    }
    .catering2 .wrap .content .matter .caterSwiper .item .position .circle{
        width: 30px;
        height: 30px;
        transform: scale(1);
    }
    .catering2 .wrap .content .matter .caterSwiper .item .position .circle .iconfont{
        font-size: 14px;
    }
    .catering2 .wrap .content .matter .caterSwiper .item:after{
        opacity: 1;
    }
    .catering2 .wrap .content .matter{
        display: none;
        position: static!important;
    }
    @keyframes yAnimate {
        0%{
            transform: translateY(20px);
            opacity: 0;
        }
        100%{
            transform: translateY(0);
            opacity: 1;
        }
    }
    .catering2 .wrap .content .matter .caterSwiper .item .img{
        width: 100%;
    }
    .catering2 .wrap .content .matter .caterSwiper .item .img img{
        width: 100%;
    }
    .catering2 .wrap .content .matter.on{
        display: block;
        animation: yAnimate 1s ease forwards;
    }
}
