.article1 {
    position: relative;
    height: 520px;
    background-color: #eee;
    z-index: 10;
}

.a1-box-wrapper {
    position: absolute;
    top: -140px;
    width: 1200px;
    display: flex;
    gap: 2rem;
}

.a1-box {
    flex: 1;
    height: 600px;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background-color: #fff;
    box-shadow: 0 4px 16px rgb(0 0 0 / 3%);
}

.a1-vertical {
    width: 1px;
    height: 30px;
    background-color: #ccc;
    margin: 2rem 0;
}

.a1-box-image img {
    height: 90px;
    margin-bottom: 1rem;
}

.a1-box-image h1 {
    color: var(--main-color);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
}

.a1-box-text h1 {
    color: #222;
    font-size: 28px;
    line-height: 1.3;
}

.a1-box-text p {
    color: #888;
    font-size: 17px;
    line-height: 1.65;
    margin-top: 1.5rem;
}

.a1-box-text h2 {
    color: #222;
    font-size: 15px;
    font-weight: 400;
    margin-top: 6rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: font-size .2s ease, gap .6s ease;
}

.a1-box:hover .a1-box-text h2 {
    gap: 12px;
}



/*==================================================*/
@media (max-width: 1250px) {
    .article1 {
        height: unset;
    }
    
    .a1-box-wrapper {
        position: static;
        width: 100%;
        gap: 1rem;
    }
}



@media (max-width: 850px) {    
    .a1-box-wrapper {
        position: static;
        flex-direction: column;
    }

    .a1-box {
        flex: 1;
        height: unset;
        padding: 60px 40px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 3rem;
    }

    .a1-box-image h1 {
        display: none;
    }
    
    .a1-vertical {
        display: none;
    }

    .a1-box-text {
        width: 60%;
    }

    .a1-box-text h2 {
        margin-top: 3rem;
    }

    .a1-box:hover .a1-box-text h2 {
        gap: 5px;
    }
}


@media (max-width: 550px) {    
    .a1-box {
        padding: 45px 30px;
        gap: 2rem;
    }

    .a1-box-image img {
        height: 60px;
    }

    .a1-box-text h1 {
        font-size: 20px;
    }

    .a1-box-text p {
        font-size: 13px;
        margin-top: .7rem;
    }

    .a1-box-text h2 {
        font-size: 13px;
        margin-top: 1.5rem;
    }
}


@media (max-width: 450px) {
    .a1-box {
        padding: 35px 25px;
    }
}