﻿@charset "utf-8";
/*video*/
.videobg{
    width: 100%;
    height:100%;
    position: fixed;
    left: 0px;
    top: 0px;
    background-color:#000;
    transition: all 0.8s ease-out ; 
    z-index: 1000; 
    overflow: hidden;
}
.videobg.goTop{
    top: -100%;
}
.videobg .videobox{
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    padding-bottom: 56.25%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 100;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    background-color:#000;
    transition: all 0.6s ease-out ;
}
.videobg .scroll {
    width: 40px;
    height: 40px;
    display: block;
    position: absolute;
    left: 50%;
    bottom: 30px;
    margin-left: -20px;
    z-index: 100;
    cursor: pointer;
    animation:scroll_move 0.5s infinite;
    -webkit-animation:scroll_move 0.5s infinite; /*Safari and Chrome*/
    animation-timing-function:ease-out;
    animation-direction:alternate;
    -webkit-animation-direction:alternate; /* Safari 和 Chrome */
}
@keyframes scroll_move{
from {bottom: 30px;}
to {bottom: 20px;}
}

.videobg .videobox #myVideo{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: all 1s ease-out ;
}
.videobg .videobox #myVideo.show{
    opacity: 1;
}

body{
    overflow: hidden;
}
body.openScroll{
    overflow: auto;
}

/*選單頁*/
.main_page{
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 100;
    opacity: 0;
    transition: all 0.4s ease-out ;
}
.main_page.show{
    opacity: 1;
}

.main_page .main_page_video{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
}
.main_page .main_page_video #mainVideo{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/*視螢幕直橫比例變換寬高比_使其全螢幕*/
@media (min-aspect-ratio: 16/9) {
.main_page .main_page_video #mainVideo{
    width: 100%;
    height: auto;
  }
}
@media (max-aspect-ratio: 16/9) {
.main_page .main_page_video #mainVideo{
    width: auto;
    height: 100%;
  }
}

.main_page .main_page_logo{
    width: 100%;
    max-width: 577px;
    position: absolute;
    left: 28%;
    top: 20%;
}
.main_page .main_page_logo img{
    width: 100%;  
}
.main_page .main_page_btn{
    width: 100%;
    height: 100%;
    max-width: 1200px;
    position: relative;
    margin: 0 auto;
}
.main_page .main_page_btn .btn{
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: absolute;
    cursor: pointer;
    transition:all 0.3s ease-out;
}

.main_page .main_page_btn .btn:hover{
    transform: scale(1.1);
    -ms-transform:scale(1.1);   /* IE 9 */
    -moz-transform:scale(1.1);  /* Firefox */
    -webkit-transform:scale(1.1); /* Safari 和 Chrome */
    -o-transform:scale(1.1);    /* Opera */
}
.main_page .main_page_btn .btn a{
    width: 100%;
    height: 100%;
    display: block;
}
.main_page .main_page_btn .btn.trend{
    width: 320px;
    height: 320px;
    left: 252px;
    top: 730px;
}
.main_page .main_page_btn .btn.world{
    width: 460px;
    height: 460px;
    left: 770px;
    top: 50px;
}
.main_page .main_page_btn .btn.country{
    width: 400px;
    height: 400px;
    left: 665px;
    top: 520px;
}
.main_page .main_page_btn .btn.construction{
    width: 220px;
    height: 220px;
    left: -50px;
    top: 570px;
}
.main_page .main_page_btn .btn.reservation{
    width: 180px;
    height: 180px;
    left: 70px;
    top: 80px;
}
.main_page .main_page_btn .btn.fb{
    width: 90px;
    height: 90px;
    left: 20px;
    top: 250px;
}

@media  screen and (max-width: 1366px)  {
.main_page .main_page_logo{
    width: 100%;
    max-width: 577px;
    position: absolute;
    left: 50%;
    top: 20%;
    margin-left: -288.5px;
}
.main_page .main_page_btn .btn.trend{
    width: 300px;
    height: 300px;
    left: 280px;
    top: 550px;
}
.main_page .main_page_btn .btn.world{
    width: 420px;
    height: 420px;
    left: 800px;
    top: 20px;
}
.main_page .main_page_btn .btn.country{
    width: 350px;
    height: 350px;
    left: 700px;
    top: 450px;
}
.main_page .main_page_btn .btn.construction{
    width: 200px;
    height: 200px;
    left: 0px;
    top: 480px;
}
.main_page .main_page_btn .btn.reservation{
    width: 150px;
    height: 150px;
    left: 150px;
    top: 50px;
}
.main_page .main_page_btn .btn.fb{
    width: 90px;
    height: 90px;
    left: 100px;
    top: 200px;
}
}

@media  screen and (max-width: 1024px)  {
.main_page .main_page_btn .btn.trend{
    width: 250px;
    height: 250px;
    left: 280px;
    top: 550px;
}
.main_page .main_page_btn .btn.world{
    width: 350px;
    height: 350px;
    left: 800px;
    top: 20px;
}
.main_page .main_page_btn .btn.country{
    width: 300px;
    height: 300px;
    left: 700px;
    top: 450px;
}
.main_page .main_page_btn .btn.construction{
    width: 200px;
    height: 200px;
    left: 50px;
    top: 400px;
}
}


/*index_pop*/
.black{
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    z-index: 101;
}
.index_pop{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    text-align: center;
    padding-top: 20px;
}
.pop_close_btn{
    cursor: pointer;
    height: 50px;
    width: 50px;
    margin-left: auto;
    position: relative;
}
.pcb{
    border-bottom:4px solid #FFF;
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    margin-top: 20px;
}
.pcb1{
    transform:rotate(45deg);
}
.pcb2{
    transform:rotate(-45deg);
}
.index_pop img{
    height: 80vh;
    max-height: 768px;
}