a:hover {
    opacity: 1;
    color: #000;
}

.top-fixed-banner {
    position: fixed;
    bottom: 150px;
    right: 15px;
    z-index: 1000;
    padding: 5px;
    box-sizing: border-box;
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
}

.top-fixed-banner.visible {
    display: none;
}

@media (hover: hover) {
    .top-fixed-banner a:where(:-webkit-any-link, :enabled, summary):hover .top-fixed-banner__body p::before {
        opacity: 1;
    }

    .top-fixed-banner a:where(:-moz-any-link, :enabled, summary):hover .top-fixed-banner__body p::before {
        opacity: 1;
    }

    .top-fixed-banner a:where(:any-link, :enabled, summary):hover .top-fixed-banner__body p::before {
        opacity: 1;
    }
}

.top-fixed-banner__close {
    position: absolute;
    top: 12px;
    right: 10px;
    display: block;
    width: 20px;
    height: 20px;
    background-color: #000;
    border-radius: 50%;
}

@media screen and (min-width: 769px) {
    .top-fixed-banner__close {
        top: 14px;
        right: 12px;
        width: 30px;
        height: 30px;
    }
}

.top-fixed-banner__close span {
    margin: auto;
    position: relative;
    display: block;
    width: 14px;
    height: 14px;
}

.top-fixed-banner__close span::before,
.top-fixed-banner__close span::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background-color: #fff;
}

.top-fixed-banner__close span::before {
    left: -5px;
    top: 7px;
    rotate: 45deg;
}

.top-fixed-banner__close span::after {
    right: 4px;
    top: 7px;
    rotate: -45deg;
}

.top-fixed-banner__header {
    padding: 12px 8px;
    background: #FFEB00;
    background: linear-gradient(90deg, rgb(255, 182, 0) 0%, rgb(255, 235, 0) 100%);
    border-radius: 10px 10px 0 0;
}

.top-fixed-banner__header p {
    font-weight: 600;
    text-align: center;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
}

@media screen and (min-width: 769px) {
    .top-fixed-banner__header {
        padding: 18px 14px;
    }

    .top-fixed-banner__header p {
        font-size: 30px;

    }

    .top-fixed-banner__close span {
        width: 100%;
        height: 100%;
    }

    .top-fixed-banner__close span::before {
        left: 0;
        rotate: 45deg;
    }

    .top-fixed-banner__close span::after {
        right: 0;
        rotate: -45deg;
    }

    .top-fixed-banner__close span::before,
    .top-fixed-banner__close span::after {
        height: 1px;
        width: 100%;
        top: 50%;
    }
}

.top-fixed-banner__body img {
    width: 180px;
}

@media screen and (min-width: 769px) {
    .top-fixed-banner__body img {
        width: 320px;

    }
}

.top-fixed-banner__body {
    margin: 15px 5px 5px;
}

@media screen and (min-width: 769px) {
    .top-fixed-banner__body {
        margin: 30px 10px 10px;
    }
}

.top-fixed-banner__body figure {
    width: 150px;
}

@media screen and (min-width: 769px) {
    .top-fixed-banner__body figure {
        width: 280px;
    }
}

.top-fixed-banner__body figure img {
    opacity: 1 !important;
}

.top-fixed-banner__body p {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
    display: block;
    margin-top: 10px;
    padding: 2px 4px;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0;
    background: #FFEB00;
    background: linear-gradient(90deg, rgb(255, 182, 0) 0%, rgb(255, 235, 0) 100%);
    position: relative;
    text-align: center;
}

@media screen and (min-width: 769px) {
    .top-fixed-banner__body p {
        padding: 4px 8px;
        margin-top: 20px;
        font-size: 24px;
    }
}

.top-fixed-banner__body p::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: #ED1C24;
    opacity: 0;
    transition: opacity 0.4s;
}

.top-fixed-banner__body p span {
    position: relative;
    z-index: 2;
}