/* 案例 */
.works .card {
    position: relative;
}

.works .card h5 strong {
    overflow: hidden;
    display: block;
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: bold;
    color: var(--kv-grad);
    animation-name: color-grad;
    animation-duration: 20s;
    animation-iteration-count: infinite;
}

.works .card h5 strong::before {
    content: '';
    display: inline-block;
    position: relative;
    width: 15px;
    height: 15px;
    border-radius: 10px;
    border: 1px solid;
    margin-right: 10px;
    border-color: var(--kv-grad);
    animation-name: border-color;
    animation-duration: 20s;
    animation-iteration-count: infinite;
}

.works .card h5 em {
    display: block;
    font-size: 15px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-style: normal;
    line-height: 150%;
    color: var(--kv-grad);
    animation-name: color-grad;
    animation-duration: 20s;
    animation-iteration-count: infinite;
}

.works .card img.LOGO-run {
    max-width: 80%;
    margin-top: 1rem;
    position: absolute;
    top: 0px;
    left: 10%;
    opacity: 0;
    transition: all 0.4s ease;
    outline: 300px solid #000;
    border-top: 0 !important;
}

.works .card:hover img.LOGO-run {
    z-index: 10;
    top: 50px;
    opacity: 0.3;
}

.cases-row>.column {
    display: block;
    width: 100%;
    min-height: 1px;
    padding-right: 1rem;
    padding-left: 1rem;
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.works .cases-row .column,
.works .cases-row .card {
    margin-bottom: 3rem !important;
    max-height: 340px;
    overflow: hidden;
}

@media (max-width: 1600px) {
    .works .cases-row .card {
        max-height: 250px;
    }
}

@media (max-width: 1200px) {
    .works .cases-row .card {
        max-height: 240px;
    }
}

@media (max-width: 992px) {
    .works .cases-row .card {
        max-height: 210px;
    }
}

@media (min-width: 577px) {
    .works .cases-row .card {
        width: 95% !important;
    }
}

.works .cases-row .card img {
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.works .cases-row .card::after {
    content: '';
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.4s ease;
}

.works .cases-row .card::before {
    content: '';
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: absolute;
    left: 20px;
    top: 20px;
    bottom: 20px;
    right: 20px;
    z-index: 4;
    opacity: 0;
    transition: all 0.4s ease;
}

.works .cases-row .card:hover::after,
.works .cases-row .card:hover::before {
    opacity: 1;
}

.works .cases-row .card h5 {
    position: relative;
    z-index: 99;
    box-sizing: border-box;
    transition: all 0.4s ease;
    margin-bottom: 0;
}

.works .cases-row .card:hover h5 {
    transform: translate(15px, 15px);
    background: none;
}

/*.works .cases-row .card a {*/
/*    content: '';*/
/*    width: 100%;*/
/*    height: 100%;*/
/*}*/
.works .cases-row .card:hover a,
.works .cases-row .card:hover h5 em {
    color: #FFF !important;
}

.works .cases-row .card:hover h5 strong {
    color: #FFF;
}

@media(max-width:768px) {
    .works .cases-row .card {
        max-height: 500px;
        margin-bottom: 2rem;
        overflow: hidden;
    }
}

@media(max-width:576px) {
    .cases-row>.column {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media(max-width:464px) {
    .cases-row>.column {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.works .cases-cont {
    max-width: 80%;
    padding-top: 43px;
}

.works .header-bar,
.services .header-bar {
    position: absolute;
    left: 4px;
    top: 4px;
    border-radius: 5px;
    width: calc(100% - (4px * 2));
    height: 4px;
    background-color: var(--kv-grad);
    animation-name: bgcolor;
    animation-duration: 20s;
    animation-iteration-count: infinite;
}