﻿.tour-box{
    box-sizing: border-box;
    padding: 120px 0;
}
.tour-all-box{
    width: 1360px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
}
.tour-title-box{
    text-align: center;
}
.tour-title{
    display: inline-block;
    position: relative;
}
.tour-title h2{
    font-family: 'Noto Sans TC';
    font-weight: 700;
    font-size: 36px;
    color: #5a241f;
    letter-spacing: 0.1em;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}
.tour-title::after{
    content: '';
    width: 100%;
    height: 12px;
    display: block;
    background-color: #fae1dc;
    position: absolute;
    bottom: 0;
    left: 0;
}
.tour-category-box{
    width: 100%;
    display: block;
    margin-top: 90px;
    text-align: center;
}
.tour-category{
    width: 200px;
    display: inline-block;
    vertical-align: top;
    border-radius: 30px;
    background-color: #eee;
    text-align: center;
    font-family: 'Noto Sans TC';
    font-size: 18px;
    letter-spacing: 0.1em;
    line-height: 60px;
    transition: all .3s linear;
    margin: 0 15px;
}
.tour-category:nth-child(6n + 1){
    margin-left: 0;
}
.tour-category:nth-child(6n){
    margin-right: 0;
}
.tour-block1-box{
    width: 100%;
    display: block;
    box-sizing: border-box;
    margin: 140px 0;
    border-left: 12px solid #fbe2dd;
}
.tour-block1-left-box{
    width: 400px;
    display: inline-block;
    vertical-align: top;
}
.tour-time-box{
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 0 50px;
}
.tour-time-box:nth-child(2){
    margin-top: 20px;
}
.tour-time-title{
    font-family: 'Noto Sans TC';
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.1em;
    line-height: 30px;
    color: #5a241f;
}
.tour-time-text{
    font-family: 'Noto Sans TC';
    font-size: 18px;
    letter-spacing: 0.1em;
    line-height: 30px;
    color: #666;
}
.tour-block1-right-box{
    width: calc(100% - 400px);
    display: inline-block;
    vertical-align: top;
}
.tour-name-box{
    display: block;
    position: relative;
}
.tour-name-box h3{
    font-family: 'Noto Sans TC';
    font-weight: 700;
    font-size: 36px;
    color: #5a241f;
    letter-spacing: 0.1em;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}
.tour-name-box::after{
    content: '';
    width: 100%;
    height: 12px;
    display: block;
    background-color: #fae1dc;
    position: absolute;
    bottom: 2px;
    left: 0;
}
.tour-block2-info-box{
    box-sizing: border-box;
    padding: 50px 0;
}
.tour-block2-info{
    font-family: 'Noto Sans TC';
    font-size: 24px;
    color: #000;
    letter-spacing: 0.1em;
    line-height: 50px;
    margin-bottom: 50px;
}
.tour-block2-info:last-child{
    margin-bottom: 0;
}
.tour-block3-box{
    margin-top: 40px;
}
.tour-block3-info-box{
    box-sizing: border-box;
    padding: 70px 0;
}
.tour-block3-info{
    width: 420px;
    display: inline-block;
    vertical-align: top;
    line-height: 100px;
    text-align: center;
    border-radius: 5px;
    font-family: 'Noto Sans TC';
    font-weight: 700;
    font-style: italic;
    font-size: 24px;
    color: #fff;
    letter-spacing: 0.1em;
    background-color: #f597a3;
    margin-right: 50px;
}
.tour-block3-info:nth-child(3n){
    margin-right: 0;
}
.tour-block3-info:nth-child(n + 4){
    margin-top: 50px;
}
.tour-block4-box{
    margin-top: 40px;
}
.tour-block4-info-box{
    box-sizing: border-box;
    padding: 40px 0;
}
.tour-block4-info{
    font-family: 'Noto Sans TC';
    font-size: 24px;
    color: #000;
    line-height: 50px;
}
.tour-block5-box{
    margin-top: 40px;
}
.tour-block5-info-box{
    box-sizing: border-box;
    padding: 40px 0;
}
.tour-block5-info{
    font-family: 'Noto Sans TC';
    font-size: 24px;
    color: #000;
    line-height: 50px;
}
.tour-block6-box{
    margin-top: 40px;
}
.tour-block6-info-box{
    box-sizing: border-box;
    padding: 40px 0;
}

.tour-pages-box{
    margin-top: 100px;
}




@media only screen and (max-width: 1360px){
    .tour-all-box{
        width: 1200px;
    }
    .tour-category{
        width: 185px;
        margin: 0 5px;
    }

    .tour-block3-info{
        width: 370px;
        margin-right: 45px;
    }
    .tour-block3-info:nth-child(n + 4) {
        margin-top: 45px;
    }
}
@media only screen and (max-width: 1200px){
    .tour-all-box{
        width: 1000px;
    }
    .tour-category{
        width: 155px;
        font-size: 16px;
        line-height: 50px;
        border-radius: 25px;
    }
    
    .tour-block3-info{
        width: 320px;
        margin-right: 20px;
    }
    .tour-block3-info:nth-child(n + 4) {
        margin-top: 20px;
    }
    
}
@media only screen and (max-width: 1000px){
    .tour-box{
        padding: 60px 0;
    }
    .tour-all-box{
        width: 750px;
    }
    .tour-category-box{
        margin-top: 40px;
    }
    .tour-category{
        width: 120px;
        font-size: 12px;
        line-height: 40px;
        border-radius: 20px;
        margin: 0 3px;
        letter-spacing: 0.06em;
    }

    .tour-block1-box{
        margin: 100px 0;
    }
    .tour-block1-left-box{
        width: 280px;
    }
    .tour-block1-right-box {
        width: calc(100% - 280px);
    }
    .tour-time-box{
        padding: 0 20px;
    }

    .tour-block3-info-box{
        padding: 50px 0;
    }
    .tour-block3-info:nth-child(n){
        width: 360px;
        margin-right: 30px;
        margin-top: 0;
    }
    .tour-block3-info:nth-child(2n){
        margin-right: 0;
    }
    .tour-block3-info:nth-child(n + 3) {
        margin-top: 30px;
    }
}
@media only screen and (max-width: 768px){
    .tour-box{
        padding: 40px 0;
    }
    .tour-all-box{
        width: 550px;
    }
    .tour-title h2{
        font-size: 28px;
    }
    .tour-category-box{
        margin-top: 40px;
        position: relative;
        z-index: 2;
    }
	.rwd-tour-category{
        width: 100%;
        height: 40px;
        border: 1px solid #d1d1d1;
        background-color: #fff;
        font-size: 16px;
        letter-spacing: 0.03em;
        font-family: 'Noto Sans TC';
        font-weight: 300;
        color: #000;
        text-align: center;
        display: block;
        line-height: 40px;
        position: relative;
        box-sizing: border-box;
    }
    .rwd-tour-category:after {
        content: '';
        width: 0px;
        height: 0px;
        margin: 0 auto;
        border-right: 6px solid transparent;
        border-top: 8px solid #666;
        border-left: 6px solid transparent;
        display: block;
        position: absolute;
        bottom: calc(50% - 5px);
        right: 5%;
        box-sizing: border-box;
    }
    .tour-category-all-box{
        width: 100%;
        position: absolute;
        background-color: #fff;
        box-shadow: 0 5px 5px rgba(0,0,0,0.35);
        display: none;
    }
    .tour-category{
        width: 100%;
        background-color: transparent;
        font-size: 16px;
        border-radius: 0;
        margin: 0;
        letter-spacing: 0.06em;
    }
    .tour-category.active{
        background-color: #eee;
    }

    
    .tour-block1-box{
        margin: 60px 0;
        border-left: none;
    }
    .tour-block1-left-box{
        width: 100%;
        display: block;
    }
    .tour-block1-right-box {
        width: 100%;
        display: block;
        margin-top: 10px;
    }
    .tour-time-box{
        padding: 10px 0;
    }
    .tour-time-box:nth-child(2){
        margin-top: 10px;
    }
    .tour-name-box h3{
        font-size: 26px;
    }
    .tour-block2-info{
        font-size: 18px;
        line-height: 30px;
        margin-bottom: 30px;
    }

    
    .tour-block3-info-box{
        padding: 40px 0;
    }
    .tour-block3-info:nth-child(n){
        width: 260px;
        margin-right: 30px;
        margin-top: 0;
        font-size: 20px;
    }
    .tour-block3-info:nth-child(2n){
        margin-right: 0;
    }
    .tour-block3-info:nth-child(n + 3) {
        margin-top: 30px;
    }

    .tour-block4-info,
    .tour-block5-info{
        font-size: 18px;
        line-height: 30px;
    }
}
@media only screen and (max-width: 550px){
    .tour-box{
        padding: 20px 0;
    }
    .tour-all-box{
        width: 95vw;
    }
    .tour-category-box{
        margin-top: 10px;
    }
    .tour-title h2{
        font-size: 20px;
        line-height: 1.4;
    }

    .tour-name-box h3{
        font-size: 20px;
    }

    .tour-block1-box{
        margin: 20px 0;
        border-left: none;
    }
    .tour-time-box{
        padding: 0;
    }
    .tour-time-title{
        font-size: 16px;
        line-height: 20px;
        letter-spacing: 0.06em;
    }
    .tour-time-text{
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0.06em;
        margin-top: 5px;
    }
    .tour-block2-info-box{
        padding: 20px 0;
    }
    .tour-block2-info{
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 10px;
    }

    .tour-block3-box{
        margin-top: 10px;
    }
    .tour-block3-info-box{
        padding: 20px 0;
    }
    .tour-block3-info:nth-child(n){
        width: calc((95vw / 2) - 10px);
        margin-right: 10px;
        margin-top: 0;
        font-size: 16px;
        line-height: 40px;
        letter-spacing: 0.06em;
    }
    .tour-block3-info:nth-child(2n){
        margin-right: 0;
    }
    .tour-block3-info:nth-child(n + 3) {
        margin-top: 10px;
    }

    .tour-block4-info,
    .tour-block5-info{
        font-size: 16px;
        line-height: 22px;
    }
    .tour-block4-info-box,
    .tour-block5-info-box,
    .tour-block6-info-box{
        padding: 20px 0;
    }

    .tour-block4-box,
    .tour-block5-box,
    .tour-block6-box{
        margin-top: 10px;
    }
}
@media only screen and (max-width: 400px){
    .tour-block3-info:nth-child(n){
        width: 100%;
        margin-right: 0;
        margin-top: 0;
        font-size: 16px;
        line-height: 40px;
        letter-spacing: 0.06em;
    }
    .tour-block3-info:nth-child(n + 2) {
        margin-top: 10px;
    }
}



@media only screen and (min-width: 769px){
    .tour-title h2,
    .tour-category-box,
    .tour-block1-box,
    .tour-name-box h3,
    .tour-block2-info,
    .tour-block3-info,
    .tour-block4-info,
    .tour-block5-info,
    .tour-block6-info-box,
    .tour-pages-box{
        opacity: 0;
    }
    .tour-title::after,
    .tour-name-box::after{
        transform: scaleX(0);
    }
    .tour-title.anima::after {
        transform-origin: left;
        animation: line 1s ease .3s 1 both;
    }
    .tour-title.anima h2 {
        animation: fade 1s ease 0s 1 both;
    }
    .tour-category-box.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .tour-block1-box.anima{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .tour-block1-box.anima .tour-block1-left-box{
        animation: fadeInRight 1s ease .4s 1 both;
    }
    .tour-block1-box.anima .tour-block1-right-box{
        animation: fadeInRight 1s ease .6s 1 both;
    }

    .tour-name-box.anima::after {
        transform-origin: left;
        animation: line 1s ease .3s 1 both;
    }
    .tour-name-box.anima h3 {
        animation: fade 1s ease 0s 1 both;
    }
    .tour-block2-info.anima,
    .tour-block3-info.anima,
    .tour-block4-info.anima,
    .tour-block5-info.anima,
    .tour-block6-info-box.anima{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .tour-pages-box.anima{
        animation: fade 1s ease 0s 1 both;
    }

    .tour-category.active,
    .tour-category:hover{
        background-color: #fae1dc;
        color: #5a241f;
    }

}