.article4 {
    background: url(../images/a4-bg-ai.jpg) no-repeat;
}
.a4-title{
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 6rem;
    color: #222;
}
.a4-box-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.a4-box {
    padding: 1.2rem 0;
    text-align: center;
}
.a4-box>h3{
    color: #3d3d3d;
    font-size: 1.8rem;
    font-weight: 700;
}
.a4-box p {
    color: #3d3d3d;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.35rem;
}

.a4-box-text {
    margin: 0.25rem auto 1.5rem;
}

.a4-box-text h5 {
    display: inline-block;
    color: var(--main-color);
    font-size: 85px;
    font-weight: 800;
}

.a4-box-text span {
    color: var(--main-color);
    font-size: 65px;
    font-weight: 800;
    padding-bottom: 5px;
}


.mySwiper2 {
    position: relative;
    width: 100%;
    padding-top: 50px;
}

.mySwiper2 .swiper-slide {
    height: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    /* gap: 1rem;
    background-color: #fff;
    box-shadow: 0 4px 16px rgb(0 0 0 / 3%); */
    padding: 1rem;
    border-radius: 3px;
    background-color: #ffffff;
    backdrop-filter: blur(4px);
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.12);
}

.mySwiper2 .swiper-button-wrapper {
    position: absolute;
    width: 80px;
    height: 20px;
    top: 15px; right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    z-index: 100;
}

.mySwiper2 .swiper-button-prev,
.mySwiper2 .swiper-button-next {
    position: unset !important;
    color: var(--main-color);
}

.mySwiper2 .swiper-button i {
    color: var(--main-color);
    font-size: 46px;
}

.ss-image{
    width: 100%;
    height: 285px;
    max-height: 285px;
    position: relative;
}
.ss-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: inherit;
    object-fit: cover;
}
.ss-filter{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff61;
    /* backdrop-filter: blur(1px); */
}
.ss-image .ss-roas{
    position: absolute;
    left: 50%;
    top: 47%;
    transform: translate(-50%, -50%);
    /* padding: 10px; */
    width: 50%;
    height: 60%;
    /* border: 1px solid #000; */
    color: #333;
    position: relative;
}
.ss-image .roas-txt{
    display: inline-block;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.65rem;
    color: #3d3d3d;
}
.ss-image .roas-txt b{
    font-size: 3rem;
    color: #fa5969;
}

.swiper-slide h5{
    width: 100%;
    color: #363434;
    font-size: 1.6rem;
    text-align: center;
    font-weight: bold;
    margin-top: 1rem;
}




/*==================================================*/
@media (max-width: 950px) {
    /* .a4-title {
        flex-direction: column;
        align-items: unset;
    } */
    .a4-title{
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        letter-spacing: 1px;
    }
    .a4-box>h3{
        font-size: 1.5rem;
        font-weight: 700;
    }
    .a4-box p {
        color: #3d3d3d;
        font-size: 1.2rem;
        line-height: 1.35rem;
    }
    .a4-box-text {
        margin: 0.25rem auto 1.5rem;
    }
    
    .a4-box-text h5 {
        font-size: 60px;
    }
    
    .a4-box-text span {
        font-size: 45px;
    }
}


@media (max-width: 768px) {
    .article4 {
        background: url(../images/a4-bg-ai-m.jpg) no-repeat;
    }
    .a4-title{
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 2rem;
        letter-spacing: 1px;
        text-align: center;
    }
    .a4-box-wrapper{
        display: flex;
        flex-direction: column;
    }
    .a4-box{margin-bottom: 1.5rem;}
    .a4-box>h3{
        font-size: 1.2rem;
        font-weight: 700;
        color: #333;
    }
    .a4-box p {
        color: #3d3d3d;
        font-size: 1.2rem;
        line-height: 1.35rem;
    }
    .a4-box-text {
        margin: 0.25rem auto 1.5rem;
    }
    
    .a4-box-text h5 {
        font-size: 60px;
    }
    
    .a4-box-text span {
        font-size: 45px;
    }
    .mySwiper2 .swiper-button-wrapper {
        width: 95%;
        left: 50%;
        transform: translateX(-50%);
    }

}


@media (max-width: 550px) {
    /* .a4-title {
        margin-bottom: 0;
    }
    
    .a4-title p {
        font-size: 20px;
    }

    .a4-title h5 {
        font-size: 28px;
    }

    .a4-subtitle {
        font-size: 15px;
    }
    
    .a4-subtitle br {
        display: none;
    }
    
    .mySwiper2 .swiper-slide {
        padding: 20px;
        gap: 0;
    }

    .mySwiper2 .swiper-button-wrapper {
        top: 20px;
        gap: 0;
    }

    .mySwiper2 .swiper-button i {
        font-size: 22px;
    }
    
    .ss-image img {
        height: 120px;
        max-height: 120px;
    }

    .ss-text {
        margin-top: -3.5rem;
    } */
}