@charset "utf-8";


.media_more {
    font-size: 30px;
    margin-bottom: 20px;
    display: inline-block;
    line-height: 1.5em;
}
.case_gallery {
    position: relative;
    width: 380px;
    height: auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: background-size 1s ease;
    -moz-transition: background-size 1s ease;
    -web-kit-transition: background-size 1s ease;
    max-width: 100%;
    padding-top: 100%;
}
.case_txt_ca_name {
    position: absolute;
    top: 0;
    padding: 14px 1em;
    background-color: rgb(142 37 37 / 80%);
    width: 100%;
    font-size: 20px;
    color: #fff;
}
.case_txt {
    position: absolute;
    top: calc(50% - 55px);
    padding: 20px;
    width: 100%;
    height: 160px;
}
.case_txt_tit {
    color: #fff;
    font-size: 40px;
    width:100%;
    line-height: 1.5em;
}
.case_txt_desc {
    color: #fff;
    font-size: 18px;
    width: 100%;
    word-break: break-word;
    padding-right: 35%;
}
.case_gallery::before {
    content: '';
    opacity: 0.7;
    /* background: #000; */
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to bottom, #57575733, #000000);
}
@media screen and (max-width:1020px){
    .case_txt_ca_name {
        font-size: 20px;padding: 6px 1em;
    }
    .case_txt {
        position: absolute;
        top: calc(50% - 45px);
        padding: 20px;
        width: 100%;
        height: 160px;
    }
    .case_txt_tit {
        font-size: 30px;
    }
    .case_txt_desc {
        font-size: 16px;
    }
}
@media screen and (max-width: 768px) {
    .media_more {
        font-size: 24px;
        margin-bottom: 16px;
    }
    .case_txt_ca_name {
        font-size: 12px;padding: 2px 1em;
    }
    .case_txt {
        position: absolute;
        top: calc(50% - 45px);
        padding: 20px;
        width: 100%;
        height: 160px;
    }
    .case_txt_tit {
        font-size: 20px;
    }
    .case_txt_desc {
        font-size: 12px;
    }
}
@media screen and (max-width:480px){
  
}