#hero {
    position: relative;
    margin-bottom: 40px;
}

#hero:before {
    content: url("../image/hero_icon.png");
    position: absolute;
    left: 26%;
    top: 0;
    transform: translate(0, -30%);
}

.hero__wrap {
    display: flex;
}

.hero__right {
    width: 100%;
    max-width: 870px;
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
}

.hero__right .hero {
    flex: 1;
}

.hero__left {
    flex: 1;
    border-radius: 40px;
    padding: 50px;
    position: relative;
    background-position: center center;
    background-image: url("../image/hero_left.png");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

.hero__right img {
    width: 100%;
}

.hero__icon {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    transform: translate(50%, 20%);
    width: 149px;
    height: 149px;
    background: rgba(255, 214, 232, 1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 33px;
}

.hero__slide {
    height: 100%;
}

.hero__icon-text {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    transform-origin: center center;
    animation: spin 20s linear infinite;
}

.hero__icon img {
    pointer-events: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.hero__slidertext {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    color: rgba(0, 0, 0, 1);
    font-size: 14px;
    font-weight: 500;
    line-height: 100%;
    display: flex;
    align-items: center;
    gap: 0 30px;
    padding: 0 26px 0 20px;
    height: 40px;
    background: var(--body-bg);
    border-radius: 20px 0 0;
}

.hero__logo {
    position: absolute;
    right: 50px;
    top: 50px;
    color: rgba(0, 0, 0, 1);
    font-family: 'Jost', 'Inter', 'sans-serif';
    font-size: 20px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 2px;
    z-index: 2;
}

.hero__title {
    font-family: 'Playfair Display', "Jost", "Inter", "sans-serif";
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    padding-bottom: 20px;
    margin-bottom: 18px;
    position: relative;
}

.hero__title span:first-child {
    color: #FD86CB;
}

.hero__title:after {
    content: '';
    display: block;
    width: 189px;
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 40%;
    height: 1px;
    background: linear-gradient(to left, #E0E0E0 0%, #7A7A7A 100%);
}

.hero__left > p {
    color: rgba(0, 0, 0, 1);
    font-size: 16px;
    margin-bottom: auto;
    font-weight: 500;
}

.button-hero {
    line-height: 60px;
}

.hero__right img {
    border-radius: 40px;
    object-fit: scale-down;
}

.hero__slide-image-mob {
    display: none;
}

.hero__playback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222222;
    border-radius: 50%;
    width: 103px;
    height: 103px;
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

.hero__right:hover .hero__playback {
    opacity: 1;
}

.hero__video {
    width: 100%;
    height: 458px;
    object-fit: cover;
    border-radius: 40px;
    pointer-events: none;
}

.hero__video--fullh {
    height: 100%;
}

@media (max-width: 744px) {
    #hero {
        position: relative;
        left: 50%;
        right: 50%;
        width: 100vw;
        margin-left: -50vw;
        margin-right: -50vw;
    }

    .service-page #hero::before,
    #hero:before {
        transform: translate(-50%, -25%);
    }

    .hero__right img {
        height: 100%;
        object-fit: cover;
    }

    .hero__slidertext span:nth-child(n+3) {
        display: none;
    }

    .hero__title {
        font-size: 24px;
    }

    .hero__left {
        padding: 48px;
    }

    .hero__left,
    .hero__right {
        width: 50%;
    }

    .hero__left > p {
        margin-bottom: 115px;
    }
    .hero__right .hero__playback {
        opacity: 1;
    }
}

@media (max-width: 650px) {
    #hero {
        margin: 0 0 38px;
        position: static;
        width: 100%;
    }

    #hero:before {
        content: none;
    }

    .hero__wrap {
        flex-direction: column;
    }

    .hero__left, .hero__right {
        width: 100%;
    }

    .hero__icon {
        transform: translateY(50%);
        width: 78px;
        height: 78px;
        right: 14px;
    }

    .hero__icon svg {
        width: 78px;
        height: 78px;
    }

    .hero__icon img {
        width: 42px;
        height: 42px;
    }

    .hero__left {
        padding: 25px;
        border-radius: 20px;
    }

    .hero__slidertext {
        font-size: 8px;
        gap: 12px;
        right: 0;
        bottom: 0;
        border-radius: 18px 0 0;
    }

    .hero__slidertext span:nth-child(n+3) {
        display: block;
    }

    .hero__logo,
    .hero__slidertext span:nth-child(n+4) {
        display: none;
    }

    .hero__title {
        font-size: 20px;
    }

    .hero__title span {
        display: block;
    }

    .hero__left > p {
        font-size: 12px;
        margin-bottom: 99px;
    }

    .hero__right img {
        border-radius: 20px;
    }

    .hero__video {
        border-radius: 20px;
        height: 316px;
    }

    .button.button-hero {
        padding: 0 22px 0 45px;
    }

    .hero__slide-image {
        display: none;
    }

    .hero__slide-image-mob {
        display: block;
    }

    .hero__right {
        border-radius: 20px;
    }
}