﻿.light-box{
    width: 100%;
    display: block;
    position: relative;
    background-color: #f5f5f5;
}
.light-all-box {
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    box-sizing: border-box;
    padding-top: 20px;
    padding-bottom: 40px;
}

.light-tag-box{
    margin-top: 80px;
}
.light-tag{
    width: calc(50% - 20px);
    display: inline-block;
    vertical-align: middle;
    margin-right: 40px;
    font-size: 18px;
    letter-spacing: 0.06em;
    color: #888;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    border-bottom: 1px solid #d1d1d1;
    cursor: pointer;
    transition: all .3s linear;
}
.light-tag:last-child{
    margin-right: 0;
}
.light-tag::after{
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: -1px;
    left: 0;
    background-color: #c42272;
    transform: scale(0);
    transition: all .3s linear;
}
.light-tag.active,
.light-tag:hover{
    color: #c42272;
}
.light-tag.active::after,
.light-tag:hover::after{
    transform: scale(1);
}

.light-info-film-box{
    width: 100%;
    height: 675px;
    display: block;
    margin: 50px 0;
}
.light-info{
    width: 280px;
    display: inline-block;
    vertical-align: top;
    margin-right: calc(20px * 4 / 3);
    position: relative;
}
.light-info-img{
    width: 100%;
    height: 200px;
    display: block;
    overflow: hidden;
}
.light-info-name{
    width: 100%;
    display: block;
    font-size: 16px;
    letter-spacing: 0.06em;
    color: #601986;
    margin-top: 10px;
}
.light-info-text{
    font-size: 14px;
    letter-spacing: 0.06em;
    color: #888;
    line-height: 26px;
    margin-top: 5px;
}



@media only screen and (max-width: 1200px){
    .light-all-box{
        width: 1000px;
    }
    .light-info{
        width: 230px;
    }
    .light-info-img{
        height: calc((200 / 250) * 230px);
    }
    .light-info-film-box{
        height: calc((675 / 1200) * 1000px);
    }
}
@media only screen and (max-width: 1000px){
    .light-all-box{
        width: 750px;
    }
    .light-info{
        margin-right: calc(20px * 3 / 2);
    }
    .light-info-film-box{
        height: calc((675 / 1200) * 750px);
    }
}
@media only screen and (max-width: 750px){
    .light-all-box{
        width: 550px;
    }
    .light-info{
        width: 170px;
        margin-right: 20px;
    }
    .light-info-img{
        height: calc((200 / 250) * 170px);
    }
    .light-info-film-box{
        height: calc((675 / 1200) * 550px);
    }
    .light-tag-box{
        margin-top: 40px;
    }
}
@media only screen and (max-width: 550px){
    .light-all-box{
        width: 95vw;
    }
    .light-tag-box{
        margin-top: 20px;
    }
    .light-info{
        width: calc(95vw / 2 - 5px);
        margin-right: 10px;
    }
    .light-info-img{
        height: calc((200 / 250) * (95vw / 2 - 5px));
    }
    .light-info-film-box{
        height: calc((675 / 1200) * 95vw);
        margin: 20px 0;
    }
    .light-info-name{
        font-size: 14px;
    }
    .light-info-text{
        font-size: 12px;
        line-height: 1.8;
        margin-top: 0;
    }
    .light-tag{
        width: calc(50% - 10px);
        font-size: 16px;
        margin-right: 20px;
        padding-bottom: 10px;
    }
}

/*animation*/
/*<-------------動畫------------->*/
@media only screen and (min-width: 1001px){
    .light-tag-box,
    .light-info-film-box,
    .light-info-all-box{
        opacity: 0;
    }
	.light-tag-box.anima {
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .light-info-film-box.anima {
        animation: fade 1s ease 0s 1 both;
    }
    .light-info-all-box.anima {
        animation: fadeInUp 1s ease 0s 1 both;
    }
}

