﻿.index-itinerary-box{
    width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
    padding: 88px 0;
}
.index-itinerary-bg-box{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.index-itinerary-bg-mask{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #000;
    opacity: 0.45;
}
.index-itinerary-all-box{
    width: 1670px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
    z-index: 1;
}
.index-itinerary-title-box{
    width: calc(100% - 1200px);
    display: inline-block;
    vertical-align: top;
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
}
.index-itinerary-title-ch{
    font-size: 32px;
    font-family: 'Noto Serif TC';
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 50px;
    color: #fff;
}
.index-itinerary-title-en{
    font-size: 40px;
    font-family: 'Lato';
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.06em;
    line-height: 50px;
    color: #c2c2c2;
}
.index-itinerary-title-text{
    font-size: 18px;
    color: #fff;
    letter-spacing: 0.06em;
    line-height: 2;
    font-weight: 300;
    margin: 40px 0;
}
.index-itinerary-title-more{
    width: 200px;
    display: block;
    border-bottom: 1px solid #d1d1d1;
    box-sizing: border-box;
    padding: 0 17px;
    position: relative;
    /* background-color: #e95412; */
    /* background-color: #8fc320; */
    transition: all .3s linear;
}
.index-itinerary-title-more p{
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.06em;
    line-height: 30px;
    width: 100%;
    position: relative;
    z-index: 1;
    font-size: 16px;
    transform: skew(-10deg);
    transition: all .3s linear;
}
.index-itinerary-title-more p::after{
    content: '\f105';
    font-family: 'font awesome 5 free';
    font-weight: bold;
    display: block;
    font-size: 16px;
    line-height: 30px;
    color: #fff;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    transition: all .3s linear;
}


.index-itinerary-info-box{
    width: 1200px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
}

.index-itinerary-info-b{
    width: 600px;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
}
.index-itinerary-info-b-img-box{
    width: 100%;
    height: 360px;
    /* height: calc((360 / 600) * 600px); */
    display: block;
    position: relative;
    overflow: hidden;
}
.index-itinerary-info-b-text-box{
    width: 100%;
    height: 200px;
    display:         flex;
    display: -webkit-flex;
    align-items: flex-start;
    -webkit-align-items: flex-start;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction: column;
    background-color: #fff;
    box-sizing: border-box;
    padding: 10px 35px;
    position: relative;
}
.index-itinerary-info-b:first-child .index-itinerary-info-b-text-box::after{
    content: '';
    width: 1px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #dddddd;
}
.index-itinerary-info-b-name{
    font-size: 20px;
    font-family: 'Noto Serif TC';
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 36px;
    color: #000;
}
.index-itinerary-info-b-text{
    font-size: 14px;
    letter-spacing: 0.06em;
    line-height: 2;
    color: #888;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-top: 10px;
}
.index-itinerary-info-s-box{
    margin-top: 24px;
}
.index-itinerary-info-s{
    width: calc(100% / 4);
    display: inline-block;
    vertical-align: middle;
    position: relative;
}
.index-itinerary-info-s-img-box{
    width: 100%;
    height: 200px;
    display: block;
    overflow: hidden;
    position: relative;
}
.index-itinerary-info-s-name{
    position: absolute;
    bottom: 5px;
    left: 0;
    z-index: 1;
    box-sizing: border-box;
    padding: 0 12px;
    font-size: 16px;
    font-family: 'Noto Serif TC';
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 28px;
    color: #fff;
}
.index-itinerary-info-s-img-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+52,0.6+100 */
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0) 52%, rgba(0,0,0,0.6) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 52%,rgba(0,0,0,0.6) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 52%,rgba(0,0,0,0.6) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#99000000',GradientType=0 ); /* IE6-9 */
}



@media only screen and (max-width: 1670px){
    .index-itinerary-all-box{
        width: 1360px;
    }
    .index-itinerary-title-box{
        width: 470px;
    }
    .index-itinerary-info-box {
        width: calc(100% - 470px);
    }
    .index-itinerary-info-b{
        width: 50%;
    }
    .index-itinerary-info-b-img-box {
        width: 100%;
        height: calc((360 / 600) * 445px);
    }
    .index-itinerary-info-s-img-box{
        height: calc((200 / 300) * 222.5px);
    }
}

@media only screen and (max-width: 1360px){
    .index-itinerary-all-box{
        width: 1200px;
    }
    .index-itinerary-title-box{
        width: 370px;
        margin-right: 50px;
    }
    .index-itinerary-info-box {
        width: calc(100% - 420px);
    }
    .index-itinerary-info-b{
        width: 50%;
    }
    .index-itinerary-info-b-img-box {
        height: calc((360 / 600) * 390px);
    }
    .index-itinerary-info-s-img-box{
        height: calc((200 / 300) * 195px);
    }
}
@media only screen and (max-width: 1200px){
    .index-itinerary-all-box{
        width: 1000px;
    }
    .index-itinerary-title-box{
        width: 290px;
        margin-right: 30px;
    }
    .index-itinerary-info-box {
        width: calc(100% - 320px);
    }
    .index-itinerary-info-b{
        width: 50%;
    }
    .index-itinerary-info-b-img-box {
        height: calc((360 / 600) * 333px);
    }
    .index-itinerary-info-b-text-box{
        padding: 10px 20px;
        height: 160px;    
    }
    .index-itinerary-info-s-img-box{
        height: calc((200 / 300) * 166.5px);
    }
    .index-itinerary-title-text{
        font-size: 16px;
    }
}
@media only screen and (max-width: 1000px){
    .index-itinerary-box{
        padding: 40px 0;
    }
    .index-itinerary-all-box{
        width: 750px;
    }
    .index-itinerary-title-box{
        width: 100%;
        display: block;
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }
    .index-itinerary-title-text br{
        display: none;
    }
    .index-itinerary-info-box {
        width: 100%;
    }
    .index-itinerary-info-b-img-box {
        height: calc((360 / 600) * 375px);
    }
    .index-itinerary-info-s-img-box{
        height: calc((200 / 300) * 187.5px);
    }
}
@media only screen and (max-width: 768px){
    .index-itinerary-all-box{
        width: 550px;
    }
    .index-itinerary-info-b{
        width: 100%;
        margin-bottom: 20px;
    }
    .index-itinerary-info-b-img-box {
        height: calc((360 / 600) * 550px);
    }
    .index-itinerary-info-s-box{
        margin-top: 0;
    }
    .index-itinerary-info-s{
        width: 50%;
    }
    .index-itinerary-info-s-img-box{
        height: calc((200 / 300) * 275px);
    }
}
@media only screen and (max-width: 550px){
    .index-itinerary-box{   
        padding: 20px 0;
    }
    .index-itinerary-all-box{
        width: 95%;
    }
    .index-itinerary-title-ch{
        font-size: 18px;
        line-height: 30px;
    }
    .index-itinerary-title-en{
        font-size: 22px;
        line-height: 30px;
    }
    .index-itinerary-title-text{
        margin: 15px 0;
        line-height: 1.6;
    }
    .index-itinerary-info-b-img-box {
        height: calc((360 / 600) * 95vw);
    }
    .index-itinerary-info-s-img-box{
        height: calc((200 / 300) * 47.5vw);
    }
    .index-itinerary-info-b{
        margin-bottom: 10px;
    }
    .index-itinerary-info-b-text-box {
        padding: 5px 10px;
        height: 120px;
    }
    .index-itinerary-info-b-name{
        font-size: 16px;
        line-height: 26px;
    }
    .index-itinerary-info-b-text{
        font-size: 12px;
        margin-top: 5px;
        line-height: 1.6;
    }
    .index-itinerary-info-s-name{
        font-size: 14px;
        line-height: 26px;
        padding: 0px 6px;
    }
}




/*animation*/
/*<-------------動畫------------->*/
@media only screen and (min-width: 1001px){
    .index-itinerary-title-box,
    .index-itinerary-info-b-box,
    .index-itinerary-info-s-box{
        opacity: 0;
    }
    .index-itinerary-title-box.anima{
        animation: fadeInLeft 1s ease 0s 1 both;
    }
    .index-itinerary-info-b-box.anima,
    .index-itinerary-info-s-box.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }

    .index-itinerary-title-more:hover::after{
        width: 100%;
    }
    .index-itinerary-title-more::after{
        content: '';
        width: 0%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: #e95412;
        transition: all .3s ease;
    }
    .index-itinerary-title-more:hover{
        border-bottom-color: transparent;
    }
}

