.floating-banner {
    position: fixed;
    margin: 15px 20px;
    z-index: 1000;
    /* 右下の場合
    bottom: 0;
    right: 0;
    */
    /* 右上の場合 */
    top:120px;
    right:0;
    /* 2023/06/16 floating banner 非表示 */
    display:none;
}
.floating-banner a {
    text-decoration: none;
}

.floating-banner-icon {
    color: #fff;
    font-size: 40px;
}

.floating-banner-back {
    width: 240px;
    background-color: #fff;
    border-radius: 25px;
}

.floating-banner-top {
    padding: 20px;
    border-radius: 25px 25px 0px 0px;
    background: -moz-radial-gradient(#0AB0C7, #006EB0 70%);
    background: -webkit-radial-gradient(#0AB0C7, #006EB0 70%);
    background: radial-gradient(#0AB0C7, #006EB0 70%);
}

.floating-banner-copy {
    font-size: 18px;
    position: relative;
}
.floating-banner-copy::after {
    font-family: 'Font Awesome 6 Free';
    font-size: 20px;
    content: '\f054';
    color: #006EB0;
    position: absolute;
    margin-top: 11px;
    top: 0;
    right: 18px;
}

.floating-banner-bottom {
    padding: 20px 20px 20px 20px;
    line-height: 1.6;
}

.floating-banner-body {
    width: 240px;
    background: #fff;
    color: #000000;
    font-weight: bold;
    text-align: center;
    border-radius: 25px;
    -webkit-box-shadow: 0 0 7px rgb(0 0 0 / 40%);
    box-shadow: 0 0 7px rgb(0 0 0 / 40%);
}
.floating-banner-body:hover {
    transition: opacity 0.3s ease;
    opacity: 0.7;
}

.floating-banner-close {
    font-weight: bold;
    position: absolute;
    top: -2px;
    right: -4px;
    z-index: 99999;
    padding: 4px 8px;
    border: none;
    background-color: #fff;
    border-radius: 25px;
    cursor: pointer;
    -webkit-box-shadow: 0 0 7px rgb(0 0 0 / 40%);
    box-shadow: 0 0 7px rgb(0 0 0 / 40%);
}

.floating-banner img{
    width: 200px;
    height:200px;
}


@media screen and (max-width: 750px) {
    .floating-banner {
        /* width: 30vw; */
        /* height:auto; */
        margin: 0px;
        /* 右下の場合
        bottom: 20vw;
        right: 5vw;
        */
        /* 右上の場合 */
        top:25vw;
        right:5vw;
    }
    .floating-banner-icon {
        font-size: 28px;
    }
    .floating-banner-body {
        width: 100%;
        border-radius: 1rem;
        
    -webkit-box-shadow: 0 0 3vw rgb(0 0 0 / 50%);
    box-shadow: 0 0 3vw rgb(0 0 0 / 50%);
    }
    .floating-banner-back {
        width: 30vw;
        margin: 1rem;
        border-radius: 1rem;
    }
    .floating-banner-top {
        padding: 5px;
        border-radius: 1rem 1rem 0 0 ;
        background: -moz-linear-gradient(#006EB0 50%, #0AB0C7);
        background: -webkit-linear-gradient(#006EB0 50%, #0AB0C7);
        background: linear-gradient(#006EB0 50%, #0AB0C7);
    }
    .floating-banner-bottom {
        padding: .5rem;
    }
    .floating-banner-copy {
        font-size: 15px;
    }
    .floating-banner-copy::after {
        font-size: 12px;
        margin-top: 1.4px;
        margin-left: 12px;
        top: initial;
        right: initial;
    }
    .floating-banner-close {
        top: 0;
        right: 0;
        -webkit-box-shadow: 0 0 3vw rgb(0 0 0 / 50%);
        box-shadow: 0 0 3vw rgb(0 0 0 / 50%);
    }
    .floating-banner-copy-br {
        display: none;
    }
    
.floating-banner img{
    width: auto;
    height:auto;
}
}