@charset "utf-8";

#tebot-iframe-style-close-pc {
	z-index:99999;
    max-height: 205px;
    height: 100%;
    width: 300px;
    position: fixed;
    right: 20px;
    bottom: 50px;
    border: none;
    background: none;
    transition-delay:0.4s;
}

#tebot-iframe-style-close-sp {
    z-index:99999;  
    max-height: 150px; 
    height: 100%;  
    width: 165px;  
    position: fixed;  
    right: 10px;  
    bottom: 80px;  
    border: none;  
    background: none;  
    transition-delay:0.4s;
}

.bubble-chat-bound.pc.staff-available::before {
    content: '';
    width: 300px;
    height: 120px;
    background: url(/images/pc_fukidashi.png) no-repeat top center;
    background-size: 100% auto;
    position: absolute;
    top: -115px;
    left: 0;
}

.JKChatView-chat-heading.staff-available-open::before {
    content: '';
    width: 300px;
    height: 120px;
    background: url(/images/pc_fukidashi.png) no-repeat top center;
    background-size: 100% auto;
    position: absolute;
    top: -120px;
    left: 50px;
}
.JKChatView-chat-container.sp .JKChatView-chat-heading.staff-available-open::before {
    content: '';
    max-width: 160px;
    max-height: 80px;
    background: url(/images/sp_fukidashi.png) no-repeat top center;
    background-size: 100% auto;
    position: absolute;
    top: -75px;
    left: 0;
}

.bubble-chat-bound, .sp.bubble-chat-bound {
	overflow: initial;
}

.bubble-chat-bound.sp .staff-available-sp::before {
    content: '';
    width: 160px;
    height: 80px;
    background: url(/images/sp_fukidashi.png) no-repeat top center;
    background-size: 100% auto;
    position: absolute;
    top: -70px;
    left: -80px;
}

.bubble-chat-bound {
    width: auto!important;
    padding: 5px !important;
}
.bubble-chat-bound .bubble-chat-bound-inner,
.bubble-chat-bound.pc .bubble-chat-bound-inner {
    height: 92px !important;
    overflow: hidden !important;
}
.text-for-buble-icon {
    display: none!important;
}
.bubble-chat-bound .bubble-chat-img,
.bubble-chat-bound.pc .bubble-chat-img {
    width: 90px!important;
    height: 90px!important;
}
.bubble-chat-bound .JKChatView-a-button,
.bubble-chat-bound.pc .JKChatView-a-button {
    width: 274px !important;
    margin-left: auto !important;
    padding: 0!important;
    border-radius: 15px !important;
    padding-right: 15px !important;
    transition: opacity 0.3s;
}
.bubble-chat-bound.pc .JKChatView-a-button:hover {
    opacity: 0.9;
}
.bubble-chat-bound .close-bot-chat-button-img,
.bubble-chat-bound.pc .close-bot-chat-button-img {
    top: -10px !important;
    right: 2px !important;
}

.bubble-chat-bound .bubble-chat-bound-inner::after,
.bubble-chat-bound.pc .bubble-chat-bound-inner::after {
    content: "ご質問はこちらまで";
    text-wrap: nowrap;
    font-size: 18px;
    font-weight: 700;
    position: relative;
    left: -10px;
}

@media screen and (max-width: 750px) {
    .bubble-chat-bound,
    .bubble-chat-bound.sp {
        width: 100% !important;
        padding: 0 !important;
    }
    .bubble-chat-bound .JKChatView-a-button,
    .bubble-chat-bound.sp .JKChatView-a-button {
        width: 100% !important;
        margin-left: 0 !important;
        border-radius: 0 !important;
    }
    .bubble-chat-bound .bubble-chat-bound-inner,
    .bubble-chat-bound.sp .bubble-chat-bound-inner {
        height: 65px !important;
        justify-content: center;
        overflow: hidden !important;
    }
    .bubble-chat-bound .bubble-chat-bound-inner::before {
        display: none!important;
    }
    .bubble-chat-bound .bubble-chat-bound-inner::after,
    .bubble-chat-bound.sp .bubble-chat-bound-inner::after {
        font-size: 18px;
    }
    .bubble-chat-bound .bubble-chat-img,
    .bubble-chat-bound.sp .bubble-chat-img {
        width: 90px !important;
        height: 90px !important;
    }
    
    .bubble-chat-bound .bubble-chat-img + div {
        display: none !important;
    }

    .bubble-chat-bound .close-bot-chat-button-img,
    .bubble-chat-bound.sp .close-bot-chat-button-img {
        top: -10px!important;
        right: 5px !important;
        bottom: auto!important;
    }
}
