﻿
/* Swiper */
.first .swiper-lazy-preloader {
    display: none !important;
}

.dark .swiper-pagination .swiper-pagination-bullet {
    background-color: #242424 !important;
}

.mobile-horizontal .swiper-pagination {
    width: unset;
    bottom: 30px;
    left: unset;
    right: 16px;
}

    .mobile-horizontal .swiper-pagination .swiper-pagination-bullet {
        width: 2px;
        height: 10px;
        margin: 0 !important;
        margin-right: 10px !important;
        border-radius: unset !important;
        background-color: white;
    }

        .mobile-horizontal .swiper-pagination .swiper-pagination-bullet:last-of-type {
            margin-right: 0px !important;
        }

    .mobile-horizontal .swiper-pagination .swiper-pagination-bullet-active {
        height: 15px;
        width: 2px;
    }

.keymessage-service .swiper-slide {
    cursor: pointer;
}

.keymessage-service.swiper-pointer-events .swiper-slide:not(.swiper-slide-active) a {
    pointer-events: none;
}

.mobile-horizontal .swiper-button-next {
    display: none;
    inset: 0;
    top: unset;
    width: 100%;
}

    .mobile-horizontal .swiper-button-next::after {
        width: 100%;
        height: 100%;
    }
/* End Swiper */

.keymessage-service {
    /*height: 447px;*/
    overflow: hidden;
}

    .keymessage-service .item {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
    }

        .keymessage-service .item img:not(.img-top):not(.img-stamp) {
            width: 100%;
            height: auto;
        }

        .keymessage-service .item video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .keymessage-service .img-top {
        width: 160px;
        height: 93px;
        position: absolute;
        left: 108px;
        top: 93px;
    }

    .keymessage-service .img-stamp {
        width: 110px;
        height: 110px;
        position: absolute;
        right: 31px;
        top: 180px;
    }

    .keymessage-service .item .info {
        color: #242424;
        width: 100%;
        max-width: 100vw;
        position: absolute;
        bottom: 20px;
        padding-left: 24px;
        padding-right: 24px;
        z-index: 1;
    }

    .keymessage-service .item p.pretitle {
        font-size: 15px;
        line-height: 20px;
        text-transform: uppercase;
        padding-bottom: 5px;
    }

    .keymessage-service .item p.title {
        font-size: 20px;
        line-height: 26px;
        font-family: 'Roboto', sans-serif;
    }

    .keymessage-service .item p.link {
        color: #242424;
        font-size: 18px;
        line-height: 48px;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
        padding-right: 20px;
        white-space: nowrap;
        display: block !important;
    }

        .keymessage-service .item p.link svg {
            stroke: #242424;
        }

        .keymessage-service .item p.link:hover svg {
            transform: translateX(5px) !important;
            transition: transform 0.3s ease !important;
        }

@media(min-width: 768px) {
    .keymessage-service .item img:not(.img-top):not(.img-stamp) {
        width: 100%;
        height: auto;
        max-height: 730px;
        object-fit: cover;
        object-position: top;
    }
}

@media(min-width: 992px) {
    /* Swiper */
    .dark .swiper-pagination .swiper-pagination-bullet::after {
        background-color: #242424 !important;
    }

    .mobile-horizontal .swiper-pagination {
        width: 15px;
        top: unset;
        right: 30px;
        bottom: 26px;
        left: unset;
    }

        .mobile-horizontal .swiper-pagination .swiper-pagination-bullet {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            width: 15px;
            height: 10px;
            margin: 0 !important;
            margin-bottom: 2px !important;
            background-color: transparent !important;
        }

            .mobile-horizontal .swiper-pagination .swiper-pagination-bullet::after {
                content: '';
                display: block;
                min-width: 10px;
                min-height: 2px;
                background-color: white;
            }

        .mobile-horizontal .swiper-pagination .swiper-pagination-bullet-active::after {
            min-width: 15px;
        }

        .mobile-horizontal .swiper-pagination .swiper-pagination-bullet:last-of-type {
            margin-bottom: 0px !important;
        }

        .mobile-horizontal .swiper-pagination .swiper-pagination-bullet:hover {
            opacity: 1;
        }

        .mobile-horizontal .swiper-pagination .swiper-pagination-bullet-active {
            height: 10px;
            width: 15px;
        }

    .mobile-horizontal .swiper-button-next {
        display: flex;
    }
    /* END of Swiper */

    .keymessage-service {
        height: min(calc((535 / 1366) * 100vw), 640px);
    }

        .keymessage-service .swiper-slide {
            max-height: min(calc((447 / 1366) * 100vw), 527px);
        }

        .keymessage-service .item .info {
            bottom: 7px;
        }

        .keymessage-service .img-top {
            left: 143.5px;
            top: 93px;
        }

        .keymessage-service .img-stamp {
            right: 67px;
            top: 180px;
        }
}
