.con5 .contents_card_wrap{
    height: auto;
    flex-wrap: wrap;
}

.con5 .contents_card_wrap .contents_card{
    /* width: 46%; */
    width: calc(50% - 10px);;
    margin-bottom: 20px;
    padding: 0 20px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
}

.con5 .contents_card_wrap .contents_card img{
    width: 40%;
}

.con5 .contents_card_wrap .contents_card>div{
    margin-left: 30px;
    width: calc(60% - 30px);
}

.con5 .contents_card:hover{
    box-shadow: var(--box-shadow);
    transition-duration: .3s;
}

.con5 .contents_card_wrap .contents_card_txt{
    width: 100%;
    height: auto;
    padding: 0px;
    background: transparent;
}

.con5 .contents_card_txt h2{
    font-size: 18px;
    font-weight: 500;
}

.con5 .contents_card_txt h1{
    font-weight: 600;
    font-size: 28px;
    border-bottom: 1px solid #cecece;
    padding-bottom: 15px;
}

.con5 .contents_card_txt h1 span{
    font-weight: 300;
}

.con5 .contents_card_txt+.btn{
    display: block;
    margin: 20px 0;
    width: 50%;
    height: 40px;
    line-height: 40px;
    background: #cecece;
    box-sizing: border-box;
    cursor: pointer;
    border-radius: 20px;
}

.con5 .contents_card_txt+.btn:hover{
    background: var(--main-color);
}

.con5 .contents_card_txt+.btn a{
    color: #ffffff;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media all and (max-width: 1130px){
    .con5 .contents_card_wrap .contents_card{
        justify-content: center;
        flex-direction: column;
    }

    .con5 .contents_card_wrap .contents_card img {
        width: 60%;
    }

    .con5 .contents_card_wrap .contents_card>div{
        margin-left: 20px;
        margin-right: 20px;
        width: calc(100% - 40px);
        margin-top: 40px;
    }

    .con5 .contents_card_txt+.btn{
        margin-left: auto;
        margin-right: auto;
    }
}

@media all and (max-width: 860px){
    .con5 .contents_card_wrap .contents_card{
        width: 100%;
        flex-direction: row;
    }

    .con5 .contents_card_wrap .contents_card>div{
        margin-top: 0;
    }

    .con5 .contents_card_txt+.btn{
        margin-left: 0;
    }
}

@media all and (max-width: 620px){
    .con5 .contents_card_wrap .contents_card{
        justify-content: center;
        flex-direction: column;
        padding: 30px 0;
    }

    .con5 .contents_card_wrap .contents_card img {
        width: 60%;
    }

    .con5 .contents_card_wrap .contents_card>div{
        margin-left: 20px;
        margin-right: 20px;
        width: calc(100% - 40px);
        margin-top: 40px;
    }

    .con5 .contents_card_txt+.btn{
        margin-left: auto;
        margin-right: auto;
    }
}