/* s1 */
.section1{
    margin-bottom: 60px;
}
.section1 ul li{
    display: flex;
    margin-bottom: 16px;
}
.section1 ul li:last-child{
    margin-bottom: 0;
}
.section1 ul li .img_wrap{
    width: 51%;
    max-width: 336px;
    height: fit-content;
    background: #F7F7F7;
    border-radius: 15px;
    overflow: hidden;
    transition: .6s;
    display: flex;
    align-items: center;
}
.section1 ul li .img_wrap:hover{
    opacity: 0.8;
    transform: scale(.9);
    transition: .6s;
    cursor: pointer;
}
.section1 ul li .img_wrap img{
    width: 100%;
    height: auto;
}
.section1 ul li .text_wrap{
    flex: 1;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}
.section1 ul li .text_wrap .title{
    font-size: 22px;
    font-weight: bold;
    display: inline-block;
    word-break: keep-all;
}
.section1 ul li .text_wrap .title > div{
    display: inline-flex;
    position: relative;
}
.section1 ul li .text_wrap .title > div > div{
    z-index: 1;
}
.section1 ul li .text_wrap .title span{
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #C8D5F4;
    height: 12px;
    border-radius: 30px;
}
.section1 ul li .text_wrap .btn{
    font-weight: bold;
    color: #383A3F;
    border: 1.5px solid #383A3F;
    border-radius: 8px;
}
.section1 ul li .text_wrap .btn a{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 21px;
}

/* below 720 */
@media screen and (max-width: 720px){

    .section1 ul li .img_wrap{
        width: 45%;
        min-width: 250px;
    }
    .section1 ul li .img_wrap:hover{
        opacity: 1;
        transform: none;
    }
    .section1 ul li .text_wrap{
        padding: 24px 0 24px 20px;
    }
    .section1 ul li .text_wrap .title{
        font-size: 18px;
    }
    .section1 ul li .text_wrap .btn a{
        font-size: 12px;
    }
    .section1 ul li .text_wrap .title span{
        height: 10px;
    }

}

/* below 540 */
@media screen and (max-width: 540px){

    .section1{
        margin-bottom: 40px;
    }
    .section1 ul li{
        flex-direction: column;
    }
    .section1 ul li .img_wrap{
        max-width: none;
        width: 100%;
        height: fit-content;
        justify-content: center;
    }
    .section1 ul li .img_wrap img{
        width: auto;
        height: 100%;
    }
    .section1 ul li .text_wrap{
        padding: 20px 0;
    }
    .section1 ul li .text_wrap .title{
        font-size: 26px;
        margin-bottom: 20px;
    }
    .section1 ul li .text_wrap .btn a{
        font-size: 14px;
    }
    .section1 ul li .text_wrap .title span{
        height: 14px;
    }
    
}