@charset "UTF-8";

.fixed-banner-wrap {
    position: fixed;
    bottom: 20px;
    right: 40px;
    z-index: 99999;
}

a.fixed-banner {
    display: block;
    width: 300px;
    padding: 20px;
    background-color: #ffffff;
    border: 2px solid #117cb4;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0px 4px 6px 0px rgba(170, 170, 170, 0.7);
    transition: opacity 0.2s;
}

img.fixed-banner__img {
    display: block;
    width: 100%;
    height: 85px;
    overflow: hidden;
    object-fit: cover;
    border-radius: 4px;
}

p.fixed-banner__main-text {
    width: 265px;
    text-align: center;
    margin-bottom: 10px;
    margin-left: -2px;
    letter-spacing: 0.095em;
    line-height: 1.3;
    color: #333333;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
}

.fixed-banner__main-text__place {
    position: relative;
    width: auto;
    display: inline-block;
    padding: 0 28px;
}

.fixed-banner__main-text__place::before,
.fixed-banner__main-text__place::after {
    display: block;
    content: "";
    width: 13px;
    height: 23px;
    background-size: contain;
    position: absolute;
    bottom: 5px;
}

.fixed-banner__main-text__place::before {
    background-image: url("/img/img_line-left.png");
    left: 0;
}

.fixed-banner__main-text__place::after {
    background-image: url("/img/img_line-right.png");
    right: 0;
}

.fixed-banner__main-text__description {
    display: inline-block;
}

.text-decoration {}

.text-decoration--big-letter {
    font-size: 24px;
    color: #117cb4;
}

.text-decoration--small-letter {
    font-size: 18px;
}

.text-decoration--color-accent {
    color: #f85907;
}

.text-decoration--under-highlight {
    background: linear-gradient(transparent 60%, #ffd9c6 60%);
}

p.fixed-banner__footer-text {
    display: flex;
    justify-content: space-between;
    width: calc(100% + 44px);
    align-items: center;
    padding: 8px 20px;
    margin: 0 -22px -22px!important;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background-color: #117cb4;
}

p.fixed-banner__footer-text span {
    display: inline-block;
    top: 1px;
    letter-spacing: 0.2em;
    position: relative;
    color: #ffffff;
}

.fixed-banner__footer-text__click-text {
    display: inline-block;
    position: relative;
    padding: 5.5px 16px;
    line-height: 1;
    letter-spacing: 0.075em;
    background-color: #ffffff;
    color: #117cb4;
    font-size: 14px;
    border-radius: 4px;
}

.fixed-banner__footer-text__click-text::after {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    position: absolute;
    right: 5px;
    bottom: 50%;
    border-top: solid 1px;
    border-right: solid 1px;
    transform: rotate(45deg) translateY(50%);
    color: inherit;
}

.fixed-banner__close-btn {
    display: block;
    width: 44px;
    position: absolute;
    top: -20px;
    right: -20px;
    height: 44px;
    background: #aaa;
    border-radius: 50px;
    cursor: pointer;
    transition-duration: 0.2s;
}

.fixed-banner__close-btn::before,
.fixed-banner__close-btn::after {
    content: "";
    width: 2px;
    height: 18px;
    background: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
}

.fixed-banner__close-btn::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.fixed-banner__close-btn::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

@media screen and (min-width: 737px) {
    .fixed-banner__close-btn:hover {
        background-color: #565656;
    }
    .fixed-banner:hover {
        opacity: 0.85;
    }
}

@media screen and (max-width: 736px) {
    .fixed-banner-wrap {
        right: 50%;
        transform: translateX(50%);
    }

    a.fixed-banner {
        width: 320px;
        padding: 10px 15px;
    }

    .fixed-banner__flex {
        display: flex;
        margin-bottom: 10px;
    }

    img.fixed-banner__img {
        width: 100px;
        height: 55px;
        margin: 0 10px 0 0;
    }

    p.fixed-banner__main-text {
        width: 176px;
        font-size: 13px;
        line-height: 1.12;
        letter-spacing: 0.1em;
        margin: auto;
        position: relative;
        bottom: -2px;
    }

    .fixed-banner__main-text__place {
        margin-bottom: 3px;
        padding: 0 16px;
    }

    .fixed-banner__main-text__place::before,
    .fixed-banner__main-text__place::after {
        width: 9px;
        height: 16px;
        bottom: 2px;
    }

    .fixed-banner__main-text__description {
        line-height: 1.28;
    }

    .text-decoration--big-letter {
        font-size: 16px;
    }

    .text-decoration--small-letter {
        font-size: 13px;
    }

    p.fixed-banner__footer-text {
        display: block;
        width: calc(100% + 30px);
        text-align: center;
        padding: 6px 15px 8px;
        margin: 0px -15px -14px!important;
        letter-spacing: 0.3em;
        background-color: #117cb4;
        color: #ffffff;
        font-size: 11px;
        line-height: 1;
    }

    p.fixed-banner__footer-text span {
        top: 0;
    }

    .fixed-banner__footer-text__click-text {
        padding: 0px 12px 0 0;
        margin: 0;
        letter-spacing: 0.2em;
        background-color: #117cb4;
        color: #ffffff;
        font-size: inherit;
    }

    .fixed-banner__footer-text__click-text::after {
        right: 0px;
    }
}

@media screen and (max-width: 375px) {
    .fixed-banner-wrap {
        width: calc(100% - 40px);
    }

    a.fixed-banner {
        width: 100%;
    }

    img.fixed-banner__img {
        display: none;
    }

    .fixed-banner__close-btn {
        width: 34px;
        height: 34px;
        top: -16px;
        right: -16px;
    }
}

.visually-hidden {
    width: 1px !important;
    height: 1px !important;
    white-space: nowrap !important;
    border: 0 !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    -webkit-clip-path: inset(0 0 99.9% 99.9%) !important;
    clip-path: inset(0 0 99.9% 99.9%) !important;
    position: absolute !important;
}
