.section4 {
    padding: 120px 0 0;
    background-size: cover;
}

.section4 .title {
    margin-bottom: 90px;
    color: #000;
    text-align: center;
    font-size: 42px;
    line-height: 1;
}

.box4 {
    display: flex;
    position: relative;
    overflow: hidden;
    width: 100vw;
    left: 0vw;
    background: var(--color2);
}

.box4 .item {
    width: 15%;
    position: relative;
    transition: 1s;
    margin-left: -1px;
    margin-right: -1px;
    border-left: 10px solid #fff;
    border-right: 10px solid #fff;
    transform: skewX(-15deg);
}


.box4 .item>img {
    position: relative;
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.box4 .item.cur {
    background: #000;
    width: 55%;
    overflow: hidden;
}

.box4 .item.cur img {
    opacity: .8;
    transform: skewX(15deg) scale(1.2);
    transition: 0s;
}

.box4 .item .text {
    position: absolute;
    width: 100%;
    z-index: 2;
    left: 0;
    top: 15%;
}

.box4 .item .text h1 {
    color: #FFF;
    font-size: 32px;
    line-height: 1;
    margin: 0;
    text-align: center;
}

.box4 .item .text h2 {
    color: #FFF;
    font-size: 20px;
    line-height: 1;
    margin: 40px 0 60px;
    opacity: 0;
}

.box4 .item .text a {
    color: #FFF;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    opacity: 0;
}

.box4 .item .text a img {
    width: 20px;
    margin-left: 15px;
    transform: rotateY(180deg);
}

.box4 .item.cur .text {
    transform: skewX(15deg);
    left: 100px;
}

.box4 .item.cur .text h1 {
    text-align: left;
}

.box4 .item.cur .text h2,
.box4 .item.cur .text a {
    opacity: 1;
}

@media (max-width: 1600px) {
    .box4 .item>img {
        height: 500px;
    }
}

@media (max-width: 1440px) {
    .box4 .item.cur .text {
        left: 80px;
        width: 500px;
    }

    .box4 .item .text h2 {
        line-height: 2;
    }
}

@media (max-width: 1200px) {
    .box4 .item.cur .text {
        left: 80px;
        width: 400px;
    }
}

@media (max-width: 992px) {
    .section4 {
        padding-top: 90px;
    }

    .section4 .title {
        margin-bottom: 60px;
    }

    .box4 .item>img {
        height: 300px;
    }

    .section4 .title {
        font-size: 36px;
    }

    .box4 .item {
        width: 20%;
    }

    .box4 .item.cur {
        width: 40%;
    }

    .box4 .item.cur .text {
        left: 40px;
        width: 80%;
    }

    .box4 .item .text h1 {
        font-size: 24px;
    }

    .box4 .item .text h2 {
        font-size: 18px;
        margin: 15px 0 30px;
    }

    .box4 .item .text a {
        font-size: 16px;
    }

    .box4 .item.cur img {
        opacity: .5;
    }
}

@media (max-width: 640px) {
    .section4 {
        padding-top: 60px;
    }

    .section4 .title {
        margin-bottom: 30px;
    }

    .section4 .title {
        font-size: 28px;
    }

    .box4 {
        display: flex;
        flex-wrap: wrap;
        background: #fff;
    }

    .box4 .item,
    .box4 .item.cur {
        width: 100%;
        transform: skewX(0);
        margin-bottom: 15px;
    }

    .box4 .item .text,
    .box4 .item.cur .text {
        transform: skewX(0);
        top: 0;
        left: 5%;
        width: 90%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .box4 .item>img {
        height: auto;
    }

    .box4 .item.cur .text h1 {
        text-align: center;
    }

    .box4 .item .text h2 {
        font-size: 16px;
        text-align: center;
        line-height: 1.5;
        margin: 5px 0 15px;
        opacity: 1;
    }

    .box4 .item .text a {
        opacity: 1;
    }

    .box4 .item {
        background: #000;
    }

    .box4 .item>img {
        opacity: .5;
    }
}