﻿.activity-page-box{
    width: 1920px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}
.activity-page-all-box{
    width: 1280px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    box-sizing: border-box;
    padding: 100px 0;
}
.activity-page-title-box{
    width: 280px;
    display: inline-block;
    vertical-align: top;
}
.activity-page-title {
    display: inline-block;
    vertical-align: bottom;
    position: relative;
}
.activity-page-title h2{
    font-size: 32px;
    color: #ee1a26;
    font-weight: bold;
    letter-spacing: 10px;
    margin-top: 5px;
    position: relative;
    display: inline-block;
}
.activity-page-title h3{
    font-size: 18px;
    color: #888;
    letter-spacing: 1px;
    line-height: 1.2;
}
.activity-page-icon-box{
    width: 106px;
    height: 86px;
    display: inline-block;
    vertical-align: bottom;
    position: absolute;
    bottom: calc(100% - 15px);
    left: calc(100% - 15px);
    border: 3px solid #ed1b24;
    border-radius: 90% 90% 90% 90% / 95% 95% 95% 95%;
    box-sizing: border-box;
    padding: 15px 25px;
    background-color: #fff;
}
.activity-page-icon-box span{
    width: 100%;
    height: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url(../img/front/icon/light-bulb_jpg.jpg),linear-gradient(#ed1b24, #ed1b24);
    background-blend-mode: lighten;
    position: relative;
}
.activity-page-icon-box span:before{
    content: '';
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-top: 25px solid #ed1b24;
    border-right: 15px solid transparent;
    position: absolute;
    bottom: -34px;
    left: -20px;
    transform: rotateZ(24deg);
}
.activity-page-icon-box span:after{
    content: '';
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-top: 25px solid #fff;
    border-right: 15px solid transparent;
    position: absolute;
    bottom: -29px;
    left: -18px;
    transform: rotateZ(24deg);
}


.activity-page-right-box{
    width: calc(100% - 280px);
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding-top: 35px;
}
#activity-page .ludian-path-box{
    display: block;
    margin-left: 0;
    box-sizing: border-box;
    padding: 0;
    padding-bottom: 30px;
}

.activity-page-info-class{
    font-size: 16px;
    color: #333;
    font-weight: bold;
    letter-spacing: 1px;
    width: 120px;
    line-height: 30px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 5px;
    text-align: center;
    background-color: #e1e1e1;
}
.activity-page-info-data{
    font-size: 18px;
    font-family: "roboto";
    letter-spacing: 1px;
    font-weight: 300;
    color: #333;
    display: inline-block;
    vertical-align: middle;
    margin-left: 20px;
}
.activity-page-info-title{
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 10px;
}
.activity-page-info-text-box{
    box-sizing: border-box;
    padding-top: 20px;
    border-top: 1px solid #d1d1d1;
    margin-top: 10px;
}
.activity-page-info-edit{
    display: block;
    font-size: 18px;
    color: #333;
    margin-top: 20px;
    line-height: 2;
}
.activity-page-right-edit h2{
    font-size: 26px;
    color: #008080;
    font-weight: bold;
}
.activity-page-right-edit h3{
    font-size: 24px;
    color: #008080;
    font-weight: bold;
}
.activity-page-right-edit h4{
    font-size: 22px;
    color: #008080;
    font-weight: bold;
}
.activity-page-right-edit h5{
    font-size: 20px;
    color: #008080;
    font-weight: bold;
}
.activity-page-right-edit h6{
    font-size: 18px;
    color: #008080;
    font-weight: bold;
}
.activity-page-info-time-box{
    margin-top: 40px;
}
.activity-page-info-time-name{
    font-size: 18px;
    display: block;
    font-weight: bold;
    color: #000;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.activity-page-info-time,
.activity-page-info-time-address{
    font-size: 16px;
    color: #333;
    letter-spacing: 1px;
    line-height: 30px;
}
.activity-page-info-time-map{
    width: 100%;
    height: 400px;
    display: block;
    margin-top: 25px;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #d1d1d1;
}
.activity-page-info-time-map iframe{
    width: 100%;
    height: 100%;
}



@media only screen and (max-width: 1280px){
    .activity-page-all-box{
        width: 1200px;
    }
}
@media only screen and (max-width: 1200px){
    .activity-page-all-box{
        width: 1000px;
    }
}
@media only screen and (max-width: 1000px){
    .activity-page-box{
        margin-top: 68px;
        min-height: calc(100vh - 68px);
    }
    .activity-page-all-box{
        width: 750px;
    }
    .activity-page-title-box{
        display: block;
        width: 100%;
    }
    .activity-page-right-box{
        display: block;
        width: 100%;
        padding-top: 0;
        margin-top: 30px;
    }
}
@media only screen and (max-width: 750px){
    .activity-page-all-box{
        width: 550px;
        padding: 70px 0;
    }
    .activity-page-title h2{
        font-size: 28px;
    }
    .activity-page-title h3{
        font-size: 16px;
    }
    .activity-page-icon-box{
        width: 86px;
        height: 70px;
        padding: 10px 20px;
    }
    .activity-page-icon-box span:before{
        border-left: 10px solid transparent;
        border-top: 20px solid #ed1b24;
        border-right: 10px solid transparent;
        bottom: -24px;
        left: -16px;
    }
    .activity-page-icon-box span:after{
        border-left: 10px solid transparent;
        border-top: 20px solid #fff;
        border-right: 10px solid transparent;
        bottom: -19px;
        left: -14px;
    }
    .activity-page-info-data{
        font-size: 16px;
    }
    .activity-page-info-title{
        font-size: 22px;
    }
    .activity-page-info-edit{        
        line-height: 2;
    }
    .activity-page-info-time-name{
        font-size: 16px;
    }
    .activity-page-info-time, .activity-page-info-time-address{
        font-size: 14px;
    }
    .activity-page-info-time-map{
        height: 300px;
    }
}
@media only screen and (max-width: 550px){
    .activity-page-box{
        margin-top: 58px;
        min-height: calc(100vh - 58px);
    }
    .activity-page-all-box{
        width: 400px;
        padding: 50px 0;
    }
    .activity-page-title h2{
        font-size: 22px;
        letter-spacing: 4px;
    }
    .activity-page-title h3{
        font-size: 16px;    
    }
    .activity-page-icon-box{
        width: 66px;
        height: 54px;
        border-width: 2px;
        padding: 10px 15px;
        bottom: calc(100% - 10px);
        left: calc(100% - 10px);
    }
    .activity-page-icon-box span:before{
        border-left: 5px solid transparent;
        border-top: 15px solid #ed1b24;
        border-right: 5px solid transparent;
        bottom: -22px;
        left: -10px;
    }
    .activity-page-icon-box span:after{
        border-left: 5px solid transparent;
        border-top: 15px solid #fff;
        border-right: 5px solid transparent;
        bottom: -17px;
        left: -8px;
    }
    .activity-page-right-box{
        margin-top: 20px;
    }
    .activity-page-info-class{
        font-size: 14px;
        width: 100px;
        line-height: 26px;
    }
    .activity-page-info-data{
        font-size: 14px;
        margin-left: 10px;
    }
    .activity-page-info-title{
        font-size: 20px;
    }
    .activity-page-info-text-box{
        padding-top: 10px;
    }
    .activity-page-info-edit{
        font-size: 16px;
    }
    .activity-page-info-time-box{
        margin-top: 20px;
    }
    .activity-page-info-time-name{
        font-size: 16px;
    }
    .activity-page-info-time, 
    .activity-page-info-time-address{
        font-size: 14px;
        line-height: 24px;
    }
    .activity-page-info-time-map{
        margin-top: 15px;
    }
}

@media only screen and (max-width: 400px){
    .activity-page-all-box{
        width: 300px;
        padding: 40px 0;
        padding-bottom: 20px;
    }
    .activity-page-title h2{
        font-size: 18px;
        letter-spacing: 2px;
    }
    .activity-page-title h3{
        font-size: 14px;  
    }
    .activity-page-icon-box{
        width: 46px;
        height: 37px;
        padding: 5px 10px;
        bottom: calc(100% - 5px);
        left: calc(100% - 5px);
    }
    .activity-page-icon-box span:before{
        border-left: 5px solid transparent;
        border-top: 10px solid #ed1b24;
        border-right: 5px solid transparent;
        bottom: -13px;
        left: -6px;
    }
    .activity-page-icon-box span:after{
        border-left: 5px solid transparent;
        border-top: 10px solid #fff;
        border-right: 5px solid transparent;
        bottom: -9px;
        left: -4px;
    }
    .activity-page-info-class{
        width: 80px;
        line-height: 24px;
    }
    .activity-page-info-title{
        font-size: 18px;
        margin-top: 5px;
    }
    .activity-page-info-data{
        font-size: 14px;
    }
    .activity-page-info-time-map{
        height: 200px;
    }
}





/*animation*/
/*<-------------動畫------------->*/

@media only screen and (min-width: 1001px){
    .activity-page-icon-box{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .activity-page-title h2{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .activity-page-title h3{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .activity-page-info-class{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .activity-page-info-data{
        animation: fadeInRight 1s ease .3s 1 both;
    }
    .activity-page-info-title{
        animation: fade 1s ease 0s 1 both;
    }
    .activity-page-info-edit{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .activity-page-info-time-box{
        opacity: 0;
    }
    .activity-page-info-time-box.anima{
        animation: fade 1s ease 0s 1 both;
    }
}