@charset 'UTF-8';

.page-ttl h2{
    font-size: 40px;
    font-weight: bold;
    color: #db1a1f;
}


/*検索機能部分*/
#search_area{
    width: 59vw;
    margin: 0vw auto 3vw auto;;
}

#search_area .title{
    margin-bottom:0.4vh;
}

.searchlist{
    display:flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    flex-wrap:wrap;
    -webkit-flex-wrap:wrap;
    width: inherit;

}

.searchlist .checkbox{
    color: #DB1A1F;
    text-align: center;
    height: 3.5vh;
    perspective: 500px;
    -webkit-perspective: 500px;
    -moz-perspective: 500px;
    position: relative;
    width: 10vw;
    cursor: pointer;
}

.searchlist .checkbox label{
    color: #db1a1f;
    background-color: #ffffff;
    border: #db1a1f solid 1px;
    padding: 1.3vh 0 1.4vh;
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    display:block;
    cursor: pointer;
}

.searchlist .checkbox:hover label{
    color: #ffffff;
    background-color: #db1a1f;
    animation: b11_3d_jump 0.3s ease-out;
    -webkit-animation: b11_3d_jump 0.3s ease-out;
    -moz-animation: b11_3d_jump 0.3s ease-out;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
}

.checked{
    color: #ffffff !important;
    background: #db1a1f !important;
}

.searchlist .checkbox:hover .checked{
    animation: none !important;
}


#sortlist{
    border: solid 1px #DB1A1F;
    padding: 1.3vh 0 1.2vh 1vw;
    width: 16vw;
    color: #DB1A1F;
    font-family: "メイリオ", "Hiragino Kaku Gothic ProN", Arial, Helvetica;
    font-size:inherit;
}

#ViewCastSearchNew ,#ViewCastSearchInexperienced, #ViewCastSearchSmoke,
#ViewCastSearchToday, #ViewCastSearchSnapshot{
    display: none;
    cursor: pointer
}


/*一覧*/
#loading{
    position:absolute;
    width:100%;
    top:50%;
    transform:translateY(-50%);
    -webkit-transform:translateY(-50%);
    z-index:1;
    text-align:center;
    display:none;
}

.castlist ul{
    display:flex;
    justify-content: flex-start;
    -webkit-justify-content: start;
    flex-wrap:wrap;
    -webkit-flex-wrap:wrap;
}

.castlist ul:after{
    content: "";
    flex: auto;
    display:block;
    background-image: url(/img/common/otona_rogo2.svg);
    background-color: #d1d1d1;
    background-repeat: no-repeat;
    background-size: 16vw;
    background-position: 54% 50%;
    opacity: 1;
}

.castlist ul li {
    width:20%;
}

.castlist ul li a{
    display:block;
    background-size:cover;
    background-position:center;
    text-decoration:none;
    position:relative;
}


.castlist ul li a .photo{
    width:100%;
    height:auto;
}

.castlist ul li a .data_box{
    -moz-opacity: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #DB1A1F;
    line-height: 1;
    -moz-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    -moz-transform: rotateY(-180deg) rotateX(0deg);
    -ms-transform: rotateY(-180deg) rotateX(0deg);
    -webkit-transform: rotateY(-180deg) rotateX(0deg);
    transform: rotateY(-180deg) rotateX(0deg);
}

.castlist ul li a:hover .data_box{
    opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
    -moz-transform: rotateY(0deg) rotateX(0deg);
    -ms-transform: rotateY(0deg) rotateX(0deg);
    -webkit-transform: rotateY(0deg) rotateX(0deg);
    transform: rotateY(0deg) rotateX(0deg);
}

.castlist ul li a:hover .data_box .data{
    font-size: 1vw;
    text-align: center;
    margin: 50% 0 7%;
    line-height: 1.2;
    font-size: 1.2vw;
    font-family:sans-serif;
    font-weight: bold;
    color:#fff;
}

.castlist ul li a:hover .data_box .btn {
    font-family:san-serif;
    position: relative;
    display: block;
    border: 1px solid #fff;
    width: 6.8vw;
    margin: 0 auto;
    padding: 0.7vh 0 0.6vh 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    font-size: 0.55vw;
    font-family:sans-serif;
    font-weight: bold;
    text-align: center;
    color:#fff;
}

.castlist ul li a:hover .data_box .btn:after {
    font-family: 'FontAwesome';
    content: "\f054";
    display: block;
    position: absolute;
    top: 50%;
    transform:translateY(-50%);
    -webkit-transform:translateY(-50%);
    right: 0.4vw;
    font-size: 0.28vw;
}

.castlist ul li a:hover .data_box .btn:hover{
    background: #fff;
    color: #e60012;
}

.no_date{
    font-size: 30px;
    color: #db1a1f;
    width: 100%;
    text-align: center;
    padding: 89px;
}


/*検索機能部分のアニメーション処理*/
@-webkit-keyframes b11_3d_jump {
    from {
        transform: translateZ(0px) rotateX(0deg);
        -webkit-transform: translateZ(0px) rotateX(0deg);
        -moz-transform: translateZ(0px) rotateX(0deg);
        background-color: #ffffff;
        color: #db1a1f;
    }
    49.99% {
        transform: translateZ(100px) rotateX(90deg);
        -webkit-transform: translateZ(100px) rotateX(90deg);
        -moz-transform: translateZ(100px) rotateX(90deg);
        background-color: #db1a1f;
        color: #db1a1f;
    }
    50.00% {
        transform: translateZ(100px) rotateX(-90deg);
        -webkit-transform: translateZ(100px) rotateX(-90deg);
        -moz-transform: translateZ(100px) rotateX(-90deg);
        background-color: #db1a1f;
        color: #db1a1f;
    }
    to {
        transform: translateZ(0px) rotateX(0deg);
        -webkit-transform: translateZ(0px) rotateX(0deg);
        -moz-transform: translateZ(0px) rotateX(0deg);
        background-color: #db1a1f;
        color: #ffffff;
    }
}

@-moz-keyframes b11_3d_jump {
    from {
        transform: translateZ(0px) rotateX(0deg);
        -webkit-transform: translateZ(0px) rotateX(0deg);
        -moz-transform: translateZ(0px) rotateX(0deg);
        background-color: #ffffff;
        color: #db1a1f;
    }
    49.99% {
        transform: translateZ(100px) rotateX(90deg);
        -webkit-transform: translateZ(100px) rotateX(90deg);
        -moz-transform: translateZ(100px) rotateX(90deg);
        background-color: #db1a1f;
        color: #db1a1f;
    }
    50.00% {
        transform: translateZ(100px) rotateX(-90deg);
        -webkit-transform: translateZ(100px) rotateX(-90deg);
        -moz-transform: translateZ(100px) rotateX(-90deg);
        background-color: #db1a1f;
        color: #db1a1f;
    }
    to {
        transform: translateZ(0px) rotateX(0deg);
        -webkit-transform: translateZ(0px) rotateX(0deg);
        -moz-transform: translateZ(0px) rotateX(0deg);
        background-color: #db1a1f;
        color: #ffffff;
    }
}

