@charset "utf-8";




/*content開始-----------------------------------*/

main article:nth-child(2) {
    margin-top: 170px;
    padding: 0 20px
}





/*標題-----*/

.title {
    overflow: hidden;
}

.title div {
    transform: translateY(100%);
    text-align: center
}

.title h4 {
    font-size: 1.875rem;
    line-height: 1.5;
}

.title p {
    max-width: 560px;
    margin: auto;
    margin-top: 35px;
    font-family: MyriadPro-Regular,微軟正黑體;
    line-height: 2.2;
    letter-spacing: 1px;
    font-size: .875rem;
}


/*.menu_list-------*/

.menu_list {
    overflow: hidden;
    margin: 75px 0 55px 0;
}

@media only screen and (max-width: 900px) {
    .menu_list {
        margin: 5vh 0 4vh 0;
        display: flex;
    }
}

.menu_list ul {
    margin: auto;
    transform: translateY(100%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}



.menu_list ul li {
    padding: 0 15px;
}

.menu_list ul li p {
    font-size: .875rem;
    color: #ADADAD;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 1px;
    transition: .5s ease;
}

.menu_list ul li:hover p {
    color: #000;
}

.menu_list ul li p:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 1px;
    background: black;
    transition: .5s ease;
}

.menu_list ul li:hover p:after {
    left: 0%;
    width: 100%;
}

.menu_list.show ul {
    animation: allin0 1s both .2s;
}



/*.menu_list-------*/

/*content結束-----------------------------------*/


/*waypoint動畫專區*/

.title.show div {
    animation: allin0 1s both ease-out;
}

/*---------max-width: 1024px--------------------------------------------------------*/

@media only screen and (max-width: 1024px) {
    main article:nth-child(2) {
        margin-top: 120px;
        text-align:
    }

    main article:nth-child(2) img {
        width: 100%;
    }

}

/*detail*/


.detail {
    z-index: 5;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 0;
    opacity: 0;
    overflow-y: scroll;
    background-color: #fff;
}


/*detail_nav開始--------------------------------*/

.detail_nav {
    width: 100%;
    position: absolute;
    left: 0;
    z-index: 1;
}

.detail_nav>div {
    position: relative;
}

.back {
    position: absolute;
    top: 50px;
    left: 3vw;
}

.back ul {
    display: flex;
}

.back ul li {
    display: inline-flex;
    align-items: center;
}

.back ul li:nth-child(1) {
    padding-right: 18px;
}

.back ul li:nth-child(1):after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 20px;
    background-color: rgba(255, 255, 255, .5);
    margin-left: 18px;
}

.back ul li p {
    display: inline-block;
    color: #fff;
    font-family: TrajanPro-Regular,微軟正黑體;
    font-size: .75rem;
    letter-spacing: 1px;
}






/*detail選單按鈕開始--------------------------*/

.detail_menu_icom {
    position: absolute;
    top: 50px;
    left: 95vw;
    overflow: hidden;
}

.detail_menu_icom .hotspring {
    display: none;
}

.icom_box {
    display: inline-block;
    position: relative;
    width: 30px;
    height: 14px;
    cursor: pointer;
    z-index: 9999;
}



.icom_box span {
    position: absolute;
    left: 0px;
    display: block;
    width: 30px;
    height: 1px;
    background-color: #fff;
    transition: all .4s ease-out;
}

.icom_box span:nth-child(1) {
    top: 0px;
    transition: all 1s ease;
}

.icom_box span:nth-child(2) {
    top: 50%;
}

.icom_box span:nth-child(3) {
    bottom: -1px;
    transition: all 1s ease;
}

.icom_box:hover span:nth-child(2) {
    width: 20px;
    transition: all .4s ease-out;
}







/*取自main.css的menu_icon設定*/


/*三條線變X 開始*/

.open .icom_box {
    width: 30px;
    height: 14px;
    /*position: fixed;*/
    animation: top_slidein 0s ease;
    /*初始進場動畫歸零*/
}

.open .icom_box span {
    width: 30px;
    top: 50%;
    background-color: #000;
    /*transition: all 1s ease;*/
}

.open .icom_box:hover span {
    width: 30px;
}






/*浮動nav設定----------*/

.detail_nav.hide {
    position: fixed;
    z-index: 1;
    top: -90px;
    left: 0;
    display: block;
    width: 100vw;
    opacity: 1;
    transition: all 1s ease;
    background-color: rgb(255, 255, 255);
    height: 70px;
}


.detail_nav.hide p {
    font-size: .75rem;
}

.close .detail_nav.hide {
    transition: all 1s ease 1.4s;
}

.fixed .detail_nav.hide {
    opacity: 1;
    top: 0;
}





/*顏色更變設定*/

.detail_nav.hide p {
    color: #000;
}

.hide .back ul li:nth-child(1):after {
    background-color: #000;
}

.hide.back ul li:nth-child(1):after {
    background-color: #000;
}

.hide .icom_box span {
    background-color: #000;
}

.hide .back,
.hide .detail_menu_icom {
    top: 25px;
}



/*detail_nav結束--------------------------------*/
/*detail_ft開始--------------------------------*/

.detail_ft {
    width: 100%;
    margin-top: 170px;
    position: relative;
}

.on .detail_ft {
    background-color: #f7f7f7;
    transition: all 1s;
}



.ft_room {
    display: flex;
    overflow: hidden;
}

.ft_room_prev,
.ft_room_next {
    display: block;
    width: 50%;
    position: relative;
    overflow: hidden;
    font-size: 0
}
.on .show .ft_room_prev,
.on .show .ft_room_next{
    animation: none
}

.on .show .ft_room_prev.in {
    animation: allin 1s both !important
}

.on .show .ft_room_next.in {
    animation: allin 1s both .4s !important
}

.on .ft_room_prev,
.on .ft_room_next {
    transform: translateY(101%);
}

.ft_hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all .8s ease;
}

.ft_hover:hover {
    opacity: 1;
    transition: all .8s ease
}

.ft_hover p {
    color: #fff;
    font-size: 1.5rem;
    position: relative;
}

.ft_hover p:before {
    content: "";
    display: block;
    width: 0px;
    height: 1px;
    background-color: rgba(255, 255, 255, .3);
    position: absolute;
    top: 50%;
    right: calc(100% + 60px);
    transition: all .8s ease;
}

.ft_hover:hover p:before {
    width: 10vw;
    transition: all .8s ease;
}

.ft_hover p:after {
    content: "";
    display: block;
    width: 0px;
    height: 1px;
    background-color: rgba(255, 255, 255, .3);
    position: absolute;
    top: 50%;
    left: calc(100% + 60px);
    transition: all .8s ease;
}

.ft_hover:hover p:after {
    width: 10vw;
    transition: all .8s ease;
}




/*detail_ft結束--------------------------------*/
/*detail初進場動畫*/

.load .detail {
    width: 100vw;
    opacity: 1;
    animation: h100 .8s both
}

.on .detail {
    width: 100vw;
    height: 100%;
    opacity: 1;
}


.on .back {
    animation: top_slidein 1s both;
}

.on .detail_menu_icom {
    animation: top_slidein 1s both;
}

.on .detail_slogan p {
    animation: fadeInUp 1s both 1s;
}

.on .banner_slideup {

    animation: bottom_slidein 1.5s both .5s;
}

.on .banner_slideup p:before {
    animation: line1 1.5s forwards .5s;
}

.on .show .ft_room_prev {
    animation: allin0 1s forwards;
}

.on .show .ft_room_next {
    animation: allin0 1s both .4s;
}



/*detail離場動畫*/

.off .detail {
    height: 0%;
    opacity: 0;
    transition: all 1.2s ease .8s;
}





/*banner部分*/

.off .back {
    animation: zoomOut .4s forwards;
}

.off .detail_menu_icom {
    animation: zoomOut .4s forwards;
}

.off .detail_slogan p {
    animation: zoomOut-1 1s both .2s;
}

.off .banner_slideup {
    animation: bottom_slideout 1s both .4s;
}

.off .banner_slideup p:before {
    animation: line1-back 1s both .4s;
}



@keyframes zoomOut-1 {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(0);
        opacity: 0;
        transform: scale3d(.3, .3, .3);
    }

    to {
        transform: translateY(0);
        opacity: 0;
    }
}




/*detail_ft部分-----*/
.off .ft_room_prev,
.off .ft_room_next {
    animation: zoomOut 1s both .2s;
}


/*---------max-width: 1024px--------------------------------------------------------*/

@media only screen and (max-width: 1024px) {

    /*back按鈕設定*/
    .back {
        top: 35px;
        left: 20px;
    }

    .back ul li:nth-child(1) {
        display: none;
    }

    /*banner三條線選單設定*/
    .detail_menu_icom {
        display: flex;
        align-items: center;
        left: auto;
        right: 20px;
        top: 35px;
    }

    .icom_box {
        width: 20px;
        height: 10px;
    }

    .icom_box span {
        width: 20px;
    }

    .open .icom_box {
        width: 20px;
        height: 10px;
    }

    .open .icom_box span {
        width: 20px;
        top: 50%;
    }

    .open .icom_box:hover span {
        width: 20px;
    }

    .open .icom_box:hover span:nth-child(1) {
        width: 20px;
    }

    .open .icom_box:hover span:nth-child(2) {
        width: 20px;
    }

    .detail_menu_icom .hotspring {
        display: inline-block;
        color: #fff;
        font-family: TrajanPro-Regular,微軟正黑體;
        font-size: .75rem;
        margin-right: 5px;
    }

    .hotspring p {
        font-size: .75rem;
        transform: scale(1);
    }

    /*浮動選單設定-----------*/
    .detail_nav.hide {
        height: 50px;
    }

    .hide .back,
    .hide .detail_menu_icom {
        top: 17px;
    }

    .detail_content {
        padding: 0 5vw;
    }
}

@media only screen and (max-width: 900px) {

    .detail_slogan {
        height: 110px;
        top: 50%;
    }

    .detail_slogan p br {
        display: block;
    }

    .detail_content {
        margin-top: 100px;
    }

    ._text p {
        margin-top: 20px;
    }


    .ft_room img {
        height: 100%;
        width: auto;
        margin-left: -50%;
    }

    .ft_room_prev,
    .ft_room_next {
        height: 50vw;
    }

    .ft_hover {
        display: none;
    }
}


@media only screen and (max-width: 700px) {

    /*detail_foote設定--------*/
    .detail_ft {
        margin-top: 100px;
    }
}