﻿#index main{
    margin-top: 100vh;
    position: relative;
    z-index: 1;
    background-color: #1b1b1b;
    background-image: url(../img/main-bg.png);
    background-position: top;
    background-size: 100%;
    background-repeat: repeat;

}
.index-banner-box{
    width: 100%;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
}
.index-banner-box,
.index-banner-list,
.index-video-box,
.index-video,
.index-video-bg{
     height: calc(100vh + 1px);
}
.index-banner-list-box{
    width: 100%;
    display: block;
    position: relative;
    
}
.index-banner-list{
    width: 100%;
    display: block;
    overflow: hidden;
}
.index-banner-list span{
    height: 100%;
    width: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transform: scale(1.1,1.1);
    transition: all 3s linear;
}
.index-banner{
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

.index-banner-slong,
.index-video-slong{
    width: 100%;
    max-width: 100%;
    text-align: left;
    font-size: 16px;
    color: #FFF;
    display: block;
    position: absolute;
    right: 0;
    z-index: 9;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: rgba(0,0,0,0.6) 0px 0px 1px;
    cursor: context-menu;
    padding: 20px 0px 10px 10px;
    box-sizing: border-box;
}
.index-video-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #000;
    opacity: 0.4;
    z-index: 5;
}
.index-video-box{
    width: 100%;
    display: block;
    position: relative;
}
.index-video{
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 5;
    display: block;
}

.index-video-bg{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.index-banner-slong-box,
.index-video-slong-box{
    width:600px;
    max-width: 100%;
    display: block;
    position: absolute;
    top: 48%;
    right: 0;
    z-index: 5;
    pointer-events: none;
    text-align: left;

}
.index-video-slong-box{
    z-index: 9;
}
.index-video-open{
    display: none;
}
.index-banner-slong-left{
    width: 1px;
    height: 100%;
    display: block;
    background-color: #FFF;
    position: absolute;
    left: 0;
    top: 0;
}
.index-banner-slong-bottom{
    width: 100%;
    height: 1px;
    display: block;
    background-color: #FFF;
    position: absolute;
    left: 0;
    bottom: 0;
}

.banner-info-box{
    width: 300px;
    max-width: 100%;
    display: block;
    position: absolute;
    z-index: 7;
    overflow: hidden;
    left: 0;
    top: 0;
    height: 100vh;
    background-color: rgba(27,27,27,0.8);
}

.banner-contact-box,
.banner-logo-box{
    width: 100%;
    height: 25%;
    display:         flex;
    -webkit-align-items: center;
    align-items: center;
    position: relative;
    z-index: 1;
}
.banner-phone-box{
    width: 100%;
    height: 50%;
    position: relative;
    z-index: 1;
    display:         flex;
    align-items: center; 
    -webkit-align-items: center;
}
.banner-logo-box{

    justify-content: center;
    -webkit-justify-content: center;
}
.banner-contact{
    position: absolute;
    right: 50px;
    text-align: center;
    font-size: 12px;
    color: #FFF;
}
.banner-contact i{
    color: #FFF;
    font-size: 18px;
}
.banner-contact-title{
    font-size: 14px;
    color: #FFF;
}
.banner-phone{
    position: absolute;
    left: 50px;
    text-align: center;
    
    color: #f4c539;
    font-family: "teko";
}
.banner-phone i{
    font-size: 18px;
}
.banner-phone-title{
    color: #f4c539;
    font-size: 20px;
    letter-spacing: 2px;
}

.banner-info-mask1{
    width: 600px;
    height: 600px;
    display: block;
    position: absolute;
  
    transform: rotate(-45deg);
    top: -400px;
    right: -300px;
}
.banner-info-mask1 span{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    height: 100%;
    transform: translate(300px, 0);
    background-color: rgba(0,0,0,0.4);
}
.banner-info-mask2{
    width: 600px;
    height: 600px;
    display: block;
    position: absolute;
  
    transform: rotate(-45deg);
    top: calc(50% - 300px);
    left: -424px;
}
.banner-info-mask2 span{
     position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    height: 100%;

    background-color: rgba(0,0,0,0.4);
}

/*--------about--------*/
.index-about-box{
    width: 100%;
    display: block;
    position: relative;
    padding-top: 20px;
    padding-bottom: 250px;
}


.index-about-title-line{
    width: 5px;
    height: 1px;
    display: block;
    background-color: #FFF;
    margin: 5px 0;
}


.index-about{
    width: 600px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    padding: 10px 0;
}
.index-about-title{
    font-size: 18px;
    letter-spacing: 2px;
    color: #FFF;
    padding-top: 10px;
    padding-bottom: 10px;
}
.index-about-article{
    font-size: 14px;
    color: #FFF;
    text-align: justify;
    letter-spacing: 2px;
    line-height: 3;
}
.index-about-article span{
    width: 42px;
    display: inline-block;
}
.index-about-svg-box{
    margin-top: 20px;
    text-align: center;
    padding: 50px 0;
    position: relative;
    /*transform:  rotateX(-38deg) rotateY(60deg) translate(-3px, -32px);*/
    backface-visibility: hidden;
    transform-style: preserve-3d;
}
.index-about-img{
     width: 150px;
     height: 150px;
     max-width: 100%;
     display: block;
     backface-visibility: hidden;
      transform-style: preserve-3d;
     margin: 0 auto;
}
.index-about-line1,
.index-about-line2{
    width: 100%;
    display: block;
    height: 1px;
    background-color:#8a6c3c;
    margin-top: 50px;
}
.index-about-line-left{
    width: 1px ;
    height: 750px;
    display: block;
    position: absolute;
    left: 50px;
    top: 0;
    background-color: #8a6c3c;
}
.index-about-line-right{
    width: 1px ;
    height: 680px;
    display: block;
    position: absolute;
    right: 50px;
    top: 0;
    background-color: #8a6c3c;
}
.index-about-bg-title{
    font-family: 'Noto Sans';
    font-size: 100px;
    color: #555555;
    letter-spacing: 8px;
    display: block;
    position: absolute;
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    opacity: 0.2;
    left: 12px;
    top: 100px;
}

.index-about-3d-box{
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    background-color: transparent;
}

.index-about-box-top{
    width: calc(50% - 3px);
    height: calc(50% - 3px);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    border: 2px solid #8a6c3c;
    box-sizing: border-box;
}

.index-about-box-line1,
.index-about-box-line2{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    border: 2px solid #8a6c3c;
    box-sizing: border-box;
}

.index-about-box-line1 span:nth-child(1){
    width: 2px;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 25%;
    background-color: #8a6c3c;
}
.index-about-box-line1 span:nth-child(2){
    width: 2px;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    background-color: #8a6c3c;
}
.index-about-box-line1 span:nth-child(3){
    width: 2px;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 75%;
    background-color: #8a6c3c;
}


.index-about-box-line2 span:nth-child(1){
    width: 100%;
    height: 2px;
    display: block;
    position: absolute;
    top: 25%;
    left: 0;
    background-color: #8a6c3c;
}
.index-about-box-line2 span:nth-child(2){
    width: 100%;
    height: 2px;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    background-color: #8a6c3c;
}
.index-about-box-line2 span:nth-child(3){
    width: 100%;
    height: 2px;
    display: block;
    position: absolute;
    top: 75%;
    left: 0;
    background-color: #8a6c3c;
}

.index-about-box1{
    transform: translateZ(75px);
}
.index-about-box2{
    transform: rotateY(180deg) translateZ(75px);
}
.index-about-box3{
    transform: rotateY(90deg) translateZ(75px);
 
}
.index-about-box4{
    transform: rotateY(-90deg) translateZ(75px);
   
}
.index-about-box5{
    transform: rotateX(90deg) translateZ(75px);
    
}
.index-about-box6{
    transform: rotateX(-90deg) translateZ(75px); 
}


#blocker {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}
#sp{
    transform-style: preserve-3d;
}
.index-works-mask-bg-box{
    text-align: center;
    position: relative;
    padding: 30px;
    box-sizing: border-box;
}
.index-works-mask-bg-box{
    width: calc(100% - 600px);
    height: 300px;
    display: none;
    overflow: hidden;
    position: absolute;
    top: 183px;
    left: 300px;
    transition: all .3s linear;
    opacity: 0;
    z-index: 1;
}
.index-works-mask-bg,
.index-works-mask-bg2,
.index-works-list{
    height: 665px;
}
.index-works-mask-bg{
    width: 50vw;
    display: block;
    position: absolute;
    top: -183px;
    left: -300px;
    text-align: center;
    transition: all .3s linear;
    z-index: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-position: center;
}

.index-works-mask-bg2{
    position: absolute;
    width: 50vw;
    display: block;
    position: absolute;
    top: -183px;
    left: -300px;
    text-align: center;
    background-color: rgba(255,255,255,0.7);
    transition: all .3s linear;
    z-index: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
/*---------works--------*/
.index-works-box{
    width: 100%;
    display: block;
    position: relative;
    padding-bottom: 40px;
}
.index-works-title{
    font-family: 'Noto Sans';
    font-size: 100px;
    color: #555555;
    letter-spacing: 8px;
    display: block;
    position: absolute;
    opacity: 0.2;
    top: -180px;
    right: 20px;
}
.index-works-list-box{
    width: 100%;
    display: block;
    font-size: 0;
}
.index-works-list{
    width: 48%;
    margin: 0 1%;
    display: inline-block;
    vertical-align: top;
    position: relative;
    overflow: hidden;
    margin-bottom: 2%;
}
.index-works-mask{
    width: 100%;
    height: 100%;  
    background-color: rgba(0,0,0,0.6);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 0 60px;
    box-sizing: border-box;
}
.index-works-mask i{
    font-size: 16px;
    color: #FFF;
    transition: all .3s linear;
    opacity: 0;
    position: relative;
    z-index: 1;
    text-shadow: rgba(0,0,0,0.7)1px 2px 2px
}
.index-works-list-title{
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: bold;
    color: #000;
    padding-top: 10px;
    transition: all .3s linear;
    opacity: 0;
    position: relative;
    z-index: 1;
    height: 28px;
    overflow: hidden;
}
.index-works-img{
    width: 100%;
    height: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: all .3s linear;
   
}
.index-works-link-box{
    width: 160px;
    height: 40px;
    max-width: 100%;
    display: block;
    margin: 0px auto;
    margin-top: 40px;
    border: 1px solid #8a6c3c;
    box-sizing: border-box;
    line-height: 38px;
    text-align: center;
    font-size: 12px;
    color: #8a6c3c;
}

.banner-contact a,
.banner-phone a{
    display: block;
}

#container >div{
    margin: 0 auto;
}



/*過場動畫*/

.dt-loading-2 {
    width: 100%;
    height: 100vh;
    display: table;
    position: fixed;
    top: 0;
    z-index: 99999;
    transition: all .4s linear;
    background-color: #2b2b2b;
}

.laying-2 {
   display: table-cell;
   vertical-align: middle;
}

.loading-logo-box{
    width: 300px;
    display: block;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}
.loading-log{
    width: 100%;
    display: block;
    position: relative;
 
}
.loading-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    background: #FFF;
    right: 0%;
    animation:  right2 2s linear 0s 1 forwards;
}
.loading-logo-title{
    margin-top: 10px;
}

.loading-logo-title1{
    font-weight: bold;
    text-align: center;
    letter-spacing: 15px;
    color: #FFF;
}
.loading-logo-title2{
    font-size: 16px;
    text-align: center;
    letter-spacing: 1px;
    padding-right: 13px;
    color: #a2a2a2;
}

.sk-cube-grid {
  width: 50px;
  height: 50px;
  margin: 0px auto;
}

.sk-cube-grid .sk-cube {
  width: 33%;
  height: 33%;
  background-color: #f4c539;
  float: left;
  -webkit-animation: sk-cubeGridScaleDelay 1.5s infinite ease-in-out;
          animation: sk-cubeGridScaleDelay 1.5s infinite ease-in-out; 
}
.sk-cube-grid .sk-cube1 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
.sk-cube-grid .sk-cube2 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.sk-cube-grid .sk-cube3 {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s; }
.sk-cube-grid .sk-cube4 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.sk-cube-grid .sk-cube5 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
.sk-cube-grid .sk-cube6 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.sk-cube-grid .sk-cube7 {
  -webkit-animation-delay: 0s;
          animation-delay: 0s; }
.sk-cube-grid .sk-cube8 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.sk-cube-grid .sk-cube9 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }

@-webkit-keyframes sk-cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1); 
  }
}

@keyframes sk-cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1);
  } 
}