.year_swiper {
    padding-top: 8px;
    overflow: hidden;
}

.year_swiper .swiper-button-next, .swiper-button-prev {
    top: 40px;
    color: #9ca3af !important;
}
.year_swiper .swiper-button-next:hover, .swiper-button-prev:hover {
    color: #CB0F22 !important;
}

.year_swiper_slide {
    padding-top: 30px;
    border-top: 2px solid #9ca3af;
}

.year_swiper_slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #CB0F22;
    border-radius: 50%;
}
.year_swiper_slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid #CB0F22;
    border-radius: 50%;
}

.year_swiper_slide .year {
    font-size: 24px;
    font-weight: bold;
}

.year_swiper_slide .text-box {
    margin-top: 20px;
    padding: 0 .3rem;
    min-height: 300px;
    border-right: 4px solid #E5E7EB;
}
.year-text {
    position: relative;
    margin-bottom: 6px;
    font-size: 14px;
}
.year-text::before {
    content: '';
    display: block;
    position: absolute;
    top: 7px;
    left: -10px;
    width: 5px;
    height: 5px;
    background: #d0112b;
    transform: rotate(45deg);
}

/* 手机 */
@media screen and (max-width:576px) {
    .year-text::before {
        display: none;
    }

    .year-text{
        font-size: 8px;
    }

    .year_swiper_slide .text-box {
        height: 220px;
        padding: 0 5px;
        border-right: 1px solid #E5E7EB;
    }
}

/* ipad */
@media screen and (min-width:576px) and (max-width:1000px) {
    .year-text{
        font-size: 12px;
    }

    .year_swiper_slide .text-box {
        margin-top: 20px;
        padding: 0 .3rem;
        height: 300px;
        border-right: 4px solid #E5E7EB;
    }
}