﻿figure.photo {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    

    a, div {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;

        img {
            position: absolute;
            width: 100%;
            height: auto;
            margin: auto;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
        }
    }
}
figure.photo:before {
    content: "";
    display: block;
    padding-top: 130%;
}


.castimg {
figure.photo + p {
    position: absolute;
    content: "";
    display: block;
    padding-top: 130%;
    /*background: url(../images/list/halloween.png) top / cover no-repeat;*/
    width: 100%;
    z-index: 1;
    top:0;
    left:0;
    pointer-events: none;

    + div {
        z-index: 2;
    }

    + .icon-rank, + div + .icon-rank {
        z-index: 2;
    }
}
}


video {
    width: 100%;
    background: #000000;
}

/* 修正 */
ul.icon-rank2 {
    bottom: 52px !important;
}
ul.icon-rank3 {
    bottom: 0px !important;
}
.slide-castimg div.castimg div.castinfo ul.size {
    margin-bottom: 0px !important;
}
#recommend, #ranking, #cast {
    .castlist div.castinfo ul.size {
        border-bottom: none !important;
        margin-bottom: 0px !important;
    }
}

#news-show div.table-parent div.news-content {
    white-space: pre-wrap;
    word-wrap: break-word;
}
#newsBox figcaption p.n_txt {
    white-space: pre-wrap;
    word-wrap: break-word;
}


.castrow div.castinfo p.present {
    overflow: hidden;
    max-height: 140px;
    font-weight: normal !important;
    font-size: 0.8em;
    line-height: 1.4em;
    width: 96% !important;
    padding: 2% !important;
    text-align: left !important;
}

.noSchedule {
    padding: 40px 10px;
    margin: 0 auto;
    max-width: 940px;
    text-align: center;
}

#profile div.weekly div.row ul.standby li:first-child {
    display: block !important;
    color: #ff6600;
}
#profile div.weekly div.row ul.standby li:last-child {
    display: block !important;
    padding-top: 5px;
}

#profile div.comment p {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.kakusu {
    display: none !important;
}


.castlist div.castinfo h4 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.castlist div.castinfo ul.size li {
    font-size: 0.7rem !important;
}

.reservation-complete {
    max-width: 600px;
    margin: 2em auto;
    padding: 2em;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: sans-serif;
    color: #333;
    line-height: 1.6;

    h2 {
        margin-bottom: 1em;
        font-size: 1.5em;
        padding: 20px 0 !important;
    }

    p {
        margin-bottom: 1em;
    }

    small {
        color: #777;
        font-size: 0.9em;
    }

    .back-to-top {
        display: inline-block;
        margin-top: 2em;
        padding: 0.6em 1.2em;
        background-color: #ff6600;
        color: white;
        text-decoration: none;
        border-radius: 4px;
        font-size: 0.95em;
    }

    .back-to-top:hover {
        color: #ffffff;
        background-color:rgb(255, 142, 66);
    }
}


#schedule div.weekly {
    background-color: #ff9c00 !important;
}




/* いいね */
@keyframes likeAura {
    0%, 100% {
        /* 明るく光るよう影を重ねる */
        filter: drop-shadow(0px 0px 2px rgba(255, 255, 255, 0.5));
    }
    50% {
        /* 淡く光るよう影を重ねる */
        filter: drop-shadow(0px 0px 6px rgba(255, 255, 255, 0.5));
    }
}

@keyframes likeIngradiant {
    0%, 100% {
        background-size: 100%;
    }
    50% {
        background-size: 120%;
    }
}
div.icon {
    width: auto;
    background: #ff822f;
    text-align: center;
    padding: 2px;
    font-size: 0.8em;
    user-select: none;

    i {
        font-style: normal;
    }
    i.status.like {
        background: #f13f79 !important;
        background: linear-gradient(135deg, #427eff 5%,#a957ae 35%, #f13f79 70%) no-repeat !important;
        color: #ffffff !important;
        i {
            background: none !important;
        }
    }
    > i {
        padding: 2px 8px;
        border-radius: 4px;
    }
}

ul.topIcon {
    display: flex;
    position: fixed;
    color:#000000;
    user-select: none;
    transition: top 0.3s ease;
    top: 105px;
    left: 10px;
    z-index: 900;
    animation: likeAura 5s ease infinite;
    
    li {
        position: relative;
        padding: 10px;
        width: 3em;
        height: 3em;
        overflow: hidden;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    li:nth-child(n+2) {
        margin-left: 10px;
    }

    p {
        position: absolute;
        z-index: 1;
        font-size: 0.9em;
        line-height: 1.1em;
        font-weight: bold;
        color: #ffffff;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 4em;
        filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.5))
    }

    .like {
        background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
        border-radius: 999px;
        animation: likeIngradiant 10s ease infinite;
    }

    .like::before {/*グラデーションを重ねるため*/
        content: '';
        position: absolute;/*絶対配置*/
        top: 26px;/*ずらす*/
        left: -18px;/*ずらす*/
        width: 70px;/*グラデーションカバーの幅*/
        height: 70px;/*グラデーションカバーの高さ*/
        background: radial-gradient(#ffe251 10%, rgba(255, 105, 34, 0.5) 50%, rgba(255, 88, 96, 0) 80%);
        animation: likeIngradiant 10s ease infinite;
    }

    .level {
        background: url(../images/banner/level.png) no-repeat 0px 50% / 100%;

        p {
            padding-top: 0.4em;
            font-size: 1.4em;
            text-shadow: #ff7f0f 0 0 5px;
        }
    }
    
    .pShop {
        background: url(../images/banner/pShop.png) no-repeat 0px 50% / 100%;
        border-radius: 999px;
    }

    .fade {
        width: 3em;
        height: 3em;
        
        div {
            padding: 10px;
            width: 3em;
            height: 3em;
        }

        /* 基本的なフェード用設定 */
        .level, .pShop {
            opacity: 0;
            filter: brightness(1.6);
            transition: opacity 1s ease, filter 2s ease;
            position: absolute; /* 重ねて表示する場合 */
        }

        /* 表示状態 */
        .show {
            opacity: 1;
            filter: brightness(1);
            width: 3em;
            height: 3em;
        }
    }
}

.like.post {
    display: block;
    margin: 0px 10px 10px 10px;
    cursor: pointer;
    user-select: none;
    text-align: center;
    font-size: 1.2em;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
    border-radius: 999px;
    font-weight: bold;
    
    .like_btn {
        color: #ffffff;
        padding: 8px 20px;
        border-radius: 999px;
        transition: .3s all linear;

        i {
            margin-right: 6px;
        }
    }
    
    .like_btn:hover {
        background: #00000054;
    }

    .like_btn::before {/*グラデーションを重ねるため*/
        content: '';
        position: absolute;/*絶対配置*/
        top: 30px;/*ずらす*/
        left: 25%;/*ずらす*/
        width: 50%;/*グラデーションカバーの幅*/
        height: 50px;/*グラデーションカバーの高さ*/
        background: radial-gradient(#ffe251 10%, rgba(255, 105, 34, 0.5) 50%, rgba(255, 88, 96, 0) 80%);
        animation: likeIngradiant 10s ease infinite;
    }
}
/* いいね 終了*/
