@charset "utf-8";


/*--------------------header開始----------------------------------------*/

.logo {
    color: #000;
}

.navleft ul li p {
    color: #000;
}

.navleft ul li p:after {
    background-color: #000;
}

.navright div p,.navright div.language ul li a {
    color: #000
}

.navright div p:after {
    background-color: #000;
}

.navopen_icon div span {
    background-color: #000;
}










/*--------------------header結束----------------------------------------*/


/*--------------------main開始----------------------------------------*/

main article {
    position: relative;
    text-align: center;
    padding-top: 120px;
    width: 100%;
}
@media only screen and (max-width: 1024px) {
    main article {
        padding-top: 70px;
    }
}

.title {
    overflow: hidden;
}

h4 {
    font-size: 1.875rem;
    letter-spacing: 1px;
    padding: 80px 0 0 0;
    transform: translateY(100%);
}






/*-------------------.menu_list開始----------------*/

.menu_list {
    overflow: hidden;
    display: flex;
}

.menu_list ul {
    padding: 40px 0;
    margin: auto;
    transform: translateY(100%);
    display: flex;
    /* justify-content: center; */
}

.menu_list.show ul {
    animation: allin0 1.2s forwards 0.4s;
}

.menu_list ul li {
    padding: 0 15px;
}

.menu_list ul li p {
    font-size: 1rem;
    color: #ADADAD;
    position: relative;
    padding-bottom: 10px;
    white-space: nowrap;
}

.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結束------------*/


/*------------------._container開始---------------*/

._container {
    margin: auto;
    max-width: 1200px;
}

.row {
    /* margin-bottom: 60px; */
    display: flex;
    align-items: center;
    justify-content: center
}

.row:nth-child(even) {
    flex-direction: row-reverse;
}

.box_img {
    width: 50%;
    display: inline-flex;
    overflow: hidden;
}

.box_text_bg {
    width: 50%;
    overflow: hidden;
}









/*相片設定開始 -----------------------*/

._container img {
    max-height: 300px;
    width: auto;
}

.row_img {
    position: relative;
    display: inline-flex;
    transform: translateY(101%);
    font-size: 0;
    align-items: center;
}

.row:nth-child(odd) .box_img {
    justify-content: flex-end;
}

.row:nth-child(even) .box_img {
    justify-content: flex-start;
}

.hover_box {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(0, 0, 0, .8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 1s;
    -moz-transition: all 1s;
    /* Firefox 4 */
    -webkit-transition: all 1s;
    /* Safari 和 Chrome */
    -o-transition: all 1s;
    /* Opera */
}

.hover_box:hover {
    opacity: 1;
    transition: all 1s;
    -moz-transition: all 1s;
    /* Firefox 4 */
    -webkit-transition: all 1s;
    /* Safari 和 Chrome */
    -o-transition: all 1s;
    /* Opera */
}

.hover_box p {
    font-size: .875rem;
    letter-spacing: 1px;
    opacity: 0;
    line-height: 2;
    color: #fff;
    transition: all 1s;
    -moz-transition: all 1s;
    /* Firefox 4 */
    -webkit-transition: all 1s;
    /* Safari 和 Chrome */
    -o-transition: all 1s;
    /* Opera */
}

.hover_box:hover p {
    opacity: 1;
    transition: all 1s;
    -moz-transition: all 1s;
    /* Firefox 4 */
    -webkit-transition: all 1s;
    /* Safari 和 Chrome */
    -o-transition: all 1s;
    /* Opera */
}

.hover_box:before {
    opacity: 0;
    content: "";
    display: block;
    width: 1px;
    height: 35%;
    background-color: rgba(255, 255, 255, .3);
    position: absolute;
    left: 50%;
    top: 0;
    transition: all 1s;
    -moz-transition: all 1s;
    /* Firefox 4 */
    -webkit-transition: all 1s;
    /* Safari 和 Chrome */
    -o-transition: all 1s;
    /* Opera */
}

.row_img:hover .hover_box:before {
    opacity: 1;
    transition: all 1s;
    -moz-transition: all 1s;
    /* Firefox 4 */
    -webkit-transition: all 1s;
    /* Safari 和 Chrome */
    -o-transition: all 1s;
    /* Opera */
}


.hover_box:after {
    opacity: 0;
    content: "";
    display: block;
    width: 1px;
    height: 35%;
    background-color: rgba(255, 255, 255, .3);
    position: absolute;
    left: 50%;
    bottom: 0;
    transition: all 1s;
    -moz-transition: all 1s;
    /* Firefox 4 */
    -webkit-transition: all 1s;
    /* Safari 和 Chrome */
    -o-transition: all 1s;
    /* Opera */
}

.row_img:hover .hover_box:after {
    opacity: 1;
    transition: all 1s;
    -moz-transition: all 1s;
    /* Firefox 4 */
    -webkit-transition: all 1s;
    /* Safari 和 Chrome */
    -o-transition: all 1s;
    /* Opera */
}









/*相片設定結束 ------------------*/


/*文字設定開始--------------------*/

.box_text_bg{
    display: flex;
}

.box_text {
    transform: translateY(100%);
    padding: 0 50px ;
    text-align: left;
    /* width: 100%; */
}

.row:nth-child(odd) .box_text_bg{
    justify-content: flex-start;
}

.row:nth-child(odd) .box_text_bg .box_text {
    /* padding-left: 50px;
    padding-right: 10px ; */
}

.row:nth-child(even) .box_text_bg{
    justify-content: flex-end;
}

.row:nth-child(even) .box_text_bg .box_text {
    /* padding-left: 70px;
    padding-right: 50px ; */
}

.text_title {
    font-size: 1.25rem;
}

.box_text>p {
    font-size: .875rem;
    letter-spacing: 1px;
    line-height: 1.5;
    font-family: MyriadPro-Regular,微軟正黑體;
    margin: 20px 0;
}

.box_text span {
    font-size: .875rem;
    display: flex;
}

.box_text span p {
    cursor: pointer;
    letter-spacing: 0.5px;
}

.box_text span p:before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #000;
    margin-bottom: 20px;
}









/*文字設定結束---------------------*/


/*waypoin動畫開始*/

h4.show {
    animation: allin0 1.2s forwards;
}

.menu_list.show ul {
    animation: allin0 1.2s forwards 0.6s;
}

.show .row_img {
    animation: allin0 1.2s forwards;
}

.show .box_text {
    animation: allin0 1.2s forwards;
}

.row:nth-child(1) .show .row_img {
    animation: allin0 1.2s forwards .5s;
}

.row:nth-child(1) .show .box_text {
    animation: allin0 1.2s forwards .5s;
}

.row:nth-child(2) .show .row_img {
    animation: allin0 1.2s forwards .5s;
}

.row:nth-child(2) .show .box_text {
    animation: allin0 1.2s forwards .5s;
}

.row:nth-child(3) .show .row_img {
    animation: allin0 1.2s forwards .5s;
}

.row:nth-child(3) .show .box_text {
    animation: allin0 1.2s forwards .5s;
}








/*waypoin動畫結束*/


/*------------------._container開始---------------*/


/*-------------detail頁面開始-------------------------------*/

.detail {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 12;
    opacity: 0;
    width: 100vw;
    height: 0%;
    background-color: #fff;
    text-align: center;
    overflow-y: scroll;
    /*transition: all 1s;*/
}








/*.close_icom--------------*/

.close_icom {
    position: absolute;
    top: 3vw;
    right: 3vw;
    width: 30px;
    height: 30px;
    transform: rotate(45deg);
    cursor: pointer;
}


.close_icom span:nth-child(1) {
    display: block;
    width: 0px;
    height: 1px;
    background-color: #000;
    position: absolute;
    left: 0px;
    top: calc(50% - 1px);
    transition: all 1s ease;
}

.on .close_icom span:nth-child(1) {
    width: 30px;
    transition: all .8s ease .8s;
}

.close_icom span:nth-child(2) {
    display: block;
    width: 1px;
    height: 0px;
    background-color: #000;
    position: absolute;
    left: calc(50% - 1px);
    top: 0;
    transition: all .6s ease .8s;
}

.on .close_icom span:nth-child(2) {
    height: 30px;
    transition: all .6s ease 1.4s;
}





/*.detail_top---------------*/

.detail_top {
    width: 110px;
    position: absolute;
    left: calc(50% - 55px);
    transform: translateY(-100%);
}

.detail_top p {
    font-size: .9375rem;
}

.detail_top p:before {
    content: "";
    display: block;
    width: 1px;
    height: 60px;
    background-color: #000;
    margin-left: 50%;
    margin-bottom: 15px;
}






/*.detail 標題---------------------*/

.detail_title_bg {
    overflow: hidden;
    margin-top: 160px;
}

.detail_title {
    transform: translateY(-100%);
}

.detail_title p:nth-child(1) {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.detail_title p:nth-child(2) {
    font-size: 1.125rem;
    color: #d7d7d7;
}






/*detail相片------------------*/

.detail_img_bg {
    overflow: hidden;
    margin: 50px auto;
    font-size: 0;
    width: 70%;
}

.detail_img {
    position: relative;
    transform: translateY(-100%);
}

.detail_img_hover_bg {
    right: -1px;
    bottom: 0;
    position: absolute;
    overflow: hidden;
}

.detail_img_hover {
    width: 210px;
    height: 50px;
    transition: all .6s ease;
    background-color: #fff;
    transform: translateY(100%);
}

.detail_img_bg:hover .detail_img_hover {
    transition: all .6s ease;
    transform: translateY(0);
}

.detail_img_hover p {
    padding-top: 18px;
    font-size: .875rem;
    letter-spacing: 1px;
}







/*detail文字內容-------------------*/

.detail_text_bg {
    overflow: hidden;
}

.detail_text {
    width: 80%;
    max-width: 510px;
    margin: 0 auto;
    transform: translateY(-100%);
}


.detail_text div {
    padding: 10px 0;
}

.detail_text h5 {
    font-size: 1.125rem;
    line-height: 2;
}

.detail_text p {
    font-family: MyriadPro-Regular,微軟正黑體;
    line-height: 2;
    font-size: .875rem;
}







/*detail footer-------------------*/

.detail_ft>span {
    display: block;
    width: 70%;
    max-width: 300px;
    height: 10px;
    background-color: #E9E9E9;
    margin: 0 auto;
    margin-top: 60px;
}

.social_media_icom {
    margin: 50px;
    font-size: .875rem;
}

.social_media_icom a {
    padding: 0 15px;
}

.detail_ft p {
    font-size: .875rem;
    position: relative;
    margin-bottom: 115px;
    margin-top: 120px;
}

.detail_ft p:before {
    content: "";
    display: block;
    width: 80px;
    height: 1px;
    background-color: #000;
    margin-left: calc(50% - 40px);
    margin-bottom: 30px;
}




/*detail動畫內容-------------------*/

.detail.load {
    width: 100vw;
    height: 100%;
    opacity: 1;
    transition: all .8s;
}




/*開啟時*/

.detail.on {
    width: 100vw;
    height: 100%;
    opacity: 1;
    /*transition: all .8s;*/
}

.on .detail_top {
    animation: allin0 .8s forwards .7s;
}

.on .detail_title {
    animation: allin0 .8s forwards 1.1s;
}

.on .detail_img {
    animation: allin0 .8s forwards 1.5s
}

.on .detail_text {
    animation: allin0 1s forwards 1.9s;
}




.detail.off {
    width: 100vw;
    height: 0%;
    opacity: 1;
    transition: all .4s ease-out 1.2s;
}

.off .detail_top {
    animation: allout0 .4s both 1.2s;
}

.off .detail_title {
    animation: allout0 .4s both .8s;
}

.off .detail_img {
    animation: allout0 .5s both .3s;
}

.off .detail_text {
    animation: allout0 .6s both;
}






/*------------detail頁面結束--------------------------------*/


/*--------------------main結束----------------------------------------*/


/*---------max-width: 1024px--------------------------------------------------------*/

@media only screen and (max-width: 1024px) {
    ._container {
        max-width: 100%;
        padding: 0 5vw;
    }

    .box_text {
        text-align: left;
        width: 95%;
        transform: translateY(100%);
        padding: 20px 5vw 50px;
    }

    .row:nth-child(odd) .box_text_bg .box_text {
        /* padding-left:4vw; */
    }

    .row:nth-child(even) .box_text_bg .box_text {
        /* padding-left: 6vw; */
    }
}



@media only screen and (max-width: 700px) {

    .menu_list ul li p {
        color: #000;
    }
    .menu_list.show ul li p:after {
        /* display: none; */
    }

    ._container {
        width: 100%;
        /*      margin-left: 2.5%;
        margin-right: calc(2.5% + 10px);*/
    }
    ._container {}
    .row:nth-child(odd) {
        display: flex;
        flex-direction: column;
    }
    .row:nth-child(even) {
        display: flex;
        flex-direction: column;
    }

    .box_img {
        width: 100%;
    }
    .box_text_bg {
        width: 100%;
    }
    /*圖片內容---------*/
    .row:nth-child(odd) .box_img {
        justify-content: center;
    }
    .row:nth-child(even) .box_img {
        justify-content: center;
    }

    .row_img {
        margin: auto;
        padding: 0 10px;
    }
    /*文字內容-----------*/
    .box_text {
        margin: auto;
        width: 100%;
        max-width: 500px;
    }
    .row:nth-child(n) .box_text_bg .box_text {
        /* padding: 0 10px; */
    }
    /*waypoin動畫開始*/
    .row:nth-child(1) .show .row_img {
        animation: allin0 1.2s forwards 0s;
    }

    .row:nth-child(1) .show .box_text {
        animation: allin0 1.2s forwards 0s;
    }

    .row:nth-child(2) .show .row_img {
        animation: allin0 1.2s forwards 0s;
    }

    .row:nth-child(2) .show .box_text {
        animation: allin0 1.2s forwards 0s;
    }


    .row:nth-child(3) .show .row_img {
        animation: allin0 1.2s forwards 0s;
    }

    .row:nth-child(3) .show .box_text {
        animation: allin0 1.2s forwards 0s;
    }
    /*waypoin動畫結束*/
    /*detail 開始-------------------*/
    .close_icom {
        top: 20px;
        right: 20px;
    }

    .detail_img {
        width: 95%;
    }

    .detail_ft p {
        margin-top: 90px;
        margin-bottom: 80px;
    }
    /*社群軟體icom 間距*/
    .social_media_icom a {
        padding: 0 2vw;
    }
    /*detail 結束-------------------*/
}