@charset 'UTF-8';

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

/*タブ部分*/
#tab1 ul {
    background: #FFFFFF;
    display:flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    flex-wrap:wrap;
    -webkit-flex-wrap:wrap;
    width:64vw;
    margin: 0vw auto 3vw auto;
}

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

#tab1 ul li div {
    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;
}

#tab1 ul li:hover div{
    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;
}

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

.active_tab:hover div{
    animation: none !important;
}

#tab1 ul li:last-of-type{
    border:none;
}

/*スケジュール*/
.schedule ul{
    display:flex;
    justify-content: flex-start;
    -webkit-justify-content: start;
    flex-wrap:wrap;
    -webkit-flex-wrap:wrap;
}

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

.schedule ul li {
    width:20%;
}

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


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

.schedule 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);
}

.schedule 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);
}

.schedule 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;
}

.schedule 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;
}

.schedule 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;
}

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

.schedule ul li a:hover .data_box .todaysche{
    font-size: 1vw;
    text-align: center;
    margin: 10% 0 0;
    font-size: 1.2vw;
    font-family:sans-serif;
    color:#fff;
    padding-right: 2%;
}

/*タブ部分のアニメーション詳細処理*/
@-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;
    }
}