@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.2
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* Sticky CTA */
#sticky-cta-bar {
    position: fixed;
    bottom: -120px;
    left: 0;
    right: 0;
    background: #2C2C2C;
    border-top: 2px solid #d63e2d;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
    transition: bottom 0.4s ease;
    color: #fff;
}
#sticky-cta-bar .cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}
#sticky-cta-bar.show {
    bottom: 0;
}
#sticky-cta-bar .casino-logo {
    max-height: 80px;
    margin-right: 15px;
}
.name-rate > span {
    display: flex;
}
#sticky-cta-bar .cta-button {
    background: #d63e2d;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
	margin-top: 0;
}
#sticky-cta-bar .cta-button:hover {
    opacity: 0.8;
}
.cta-star {
    color: #ccc;
    font-size: 18px;
    position: relative;
    display: inline-block;
    margin-right: 2px;
    width: 18px;
    overflow: hidden;
}
.cta-star.cta-filled {
    color: #f5a623;
}
.cta-star.cta-half::before {
    content: "★";
    color: #f5a623;
    position: absolute;
    width: 50%;
    overflow: hidden;
    left: 0;
    top: 0;
}
@media (max-width: 768px) {
    #sticky-cta-bar .container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        float: none !important;
    }
    #sticky-cta-bar .cta-content {
        flex-wrap: wrap;
        flex-direction: row; /* keep first line in row */
        align-items: center;
        justify-content: space-between;
    }
    #sticky-cta-bar .cta-button {
        flex: 1 1 100%;
        text-align: center;
        margin-top: 10px;
        padding: 12px 20px;
    }
    #sticky-cta-bar {
        padding: 15px;
        bottom: -230px;
    }
    .casino-bonus {
        text-align: center;
        width: 100%;
    }
}
