*{
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}


html
body{
  background-color: #2e2b2a;
  position: relative;
}

.header{
  width: 100%;
  height: 970px;
  background: url(../img/bg.jpg) no-repeat center top;
  background-size:cover;
  background-color: #2e2b2a;
  position: relative;
  display: inline-block;
}

.main{
  width: 1100px;
  height: auto;
  margin: 100px auto;
  display: block;
}

.header .main .logo{
  width: 380px;
  padding-top: 470px;
  margin: 0 auto;
  padding-bottom: 10px;
}

.header .main .logo img{
  width: 100%;
}

.header .main #title{
  width: 1020px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.header .main #title img{
  width: 100%;
}

.header .main .btn{
  width: 300px;
  margin: 20px 390px;
  display: block;
}

.header .main .btn img{
  width: 100%;
}

.header .main .btn ul{
  width: 320px;
  margin: 0 auto;
  float: left;
}

.header .main .btn ul li{
    width: 150px;
    float: left;
    margin: 5px;
    overflow: hidden;
    position: relative;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    -webkit-animation: light ease-in infinite 1.3s;
            animation: light ease-in infinite 1.3s;
}
.header .main .btn ul li::before {
    content: "";
    display: block;
    position: absolute;
    height: 50px;
    width: 200%;
    top: 0;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.4117647059);
    -webkit-animation: my ease-in infinite 2.5s;
            animation: my ease-in infinite 2.5s;
}
@-webkit-keyframes my {
    0% {
      left: 60px;
    }
    80% {
      left: 60px;
    }
    100% {
      left: calc(-100% - 60px);
    }
}
  @keyframes my {
    0% {
      left: 60px;
    }
    80% {
      left: 60px;
    }
    100% {
      left: calc(-100% - 60px);
    }
}
.header .main .box{
  width: 310px;
  margin: 0 auto;
  padding-top: 90px;
}

.footer {
  clear: both;
  width: 100%;
  background-color: #2e2b2a;
  font-family: Arial, Helvetica, sans-serif;
  padding: 34px 0 80px 0;
  display: block;
}

.footer #footercopy {
  width: 700px;
  font-size: 12px;
  color: #ffffff;
  margin: 0 auto;
}

.footer #footercopy .con {
  float: left;
  width: 100%;
  margin-left: -26%;
  margin-bottom: 2px;
}

.footer #footercopy .con p {
  margin-top: 4px;
}
.footer #footercopy .con img {
  width: 27%;
  float: left;
  margin-right: 4px;
}
.footer #footercopy .con2 {
  clear: both;
  width: 100%;
  margin: 0 0px 19px -182px;
}
.footer #footercopy .con2 img {
  width: 60.5%;
}
.footer #footercopy .snkicon {
  float: left;
  margin: -62px 0px 0px 270px;
}
.footer #footercopy .snkicon img {
  width: 90%;
}
.footer #footercopy .grade {
  float: right;
  margin: -76px -320px 0 0;
}
.footer #footercopy .grade img {
  float: left;
  margin: 10px 10px 0px -46px;
}
.footer #footercopy .grade p {
  float: left;
  width: 100%;
  line-height: 1.3;
}

/* 筆電尺寸 */
@media screen and (min-width: 1020px) and (max-width: 1450px) {

  .header{
    max-width: 100%;
    height: 82vh;
    background: url(../img/bg.jpg) no-repeat center top;
    background-size:cover;
    background-color: #2e2b2a;
    position: relative;
    display: inline-block;
  }
  
  .main{
    max-width: 100%;
    height: 82vh;
    margin: 0% 0%;
    display: block;
  }
  
  .header .main .logo{
    width: 26%;
    padding-top: 32%;
    margin: 0 auto;
  }
  
  .header .main .logo img{
    width: 100%;
  }
  
  .header .main #title{
    width: 64%;
    height: auto;
    margin: 0 auto;
    display: block;
  }
  
  .header .main #title img{
    width: 100%;
  }
  
  .header .main .btn{
    width: 80%;
    margin: 4% 8%;
    display: block;
  }
  
  .header .main .btn img{
    width: 100%;
  }
  
  .header .main .btn ul{
    width: 30%;
    margin: -3% 37%;
    float: left;
  }
  
  .header .main .btn ul li{
      width: 48%;
      float: left;
      margin: 1% 1%;
      overflow: hidden;
      position: relative;
      -webkit-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;
      -webkit-animation: light ease-in infinite 1.3s;
              animation: light ease-in infinite 1.3s;
  }
  .header .main .btn ul li::before {
      content: "";
      display: block;
      position: absolute;
      height: 50px;
      width: 200%;
      top: 0;
      -webkit-transform: rotate(45deg);
              transform: rotate(45deg);
      pointer-events: none;
      background-color: rgba(255, 255, 255, 0.4117647059);
      -webkit-animation: my ease-in infinite 2.5s;
              animation: my ease-in infinite 2.5s;
  }
  @-webkit-keyframes my {
      0% {
        left: 60px;
      }
      80% {
        left: 60px;
      }
      100% {
        left: calc(-100% - 60px);
      }
  }
    @keyframes my {
      0% {
        left: 60px;
      }
      80% {
        left: 60px;
      }
      100% {
        left: calc(-100% - 60px);
      }
  }
  
  .footer {
    clear: both;
    width: 100%;
    background-color: #2e2b2a;
    font-family: Arial, Helvetica, sans-serif;
    display: block;
  }
  
  .footer #footercopy {
    width: 36%;
    font-size: 12px;
    color: #ffffff;
    margin: 0 auto;
  }
  
  .footer #footercopy .con {
    float: left;
    width: 100%;
    margin-left: -68%;
    margin-bottom: 1%;
  }
  
  .footer #footercopy .con p {
    margin-top: 1%;
  }
  .footer #footercopy .con img {
    width: 36%;
    float: left;
    margin: 1% 1%;
  }
  .footer #footercopy .con2 {
    clear: both;
    width: 100%;
    float: left;
    margin: 0% -66%;
  }
  .footer #footercopy .con2 img {
    width: 80%;
  }
  .footer #footercopy .snkicon {
    float: left;
    margin: -4% 28%;
    width: 22%;
  }
  .footer #footercopy .snkicon img {
    width: 100%;
  }
  .footer #footercopy .grade {
    float: right;
    margin: -12% -66%;
    width: 100%;
  }
  .footer #footercopy .grade img {
    float: left;
    margin: 4% -12%;
  }
  .footer #footercopy .grade p {
    float: left;
    width: 100%;
    line-height: 1.3;
  }
}

/* 平板尺寸 */
@media screen and (min-width: 768px) and (max-width: 1020px) {
  .header{
    width: 100%;
    background: url(../img/bg_pad.jpg) no-repeat center top;
    background-size: cover;
    background-color: #2e2b2a;
    position: relative;
    display: inline-block;
    height: 88vh;
  }
  
  .main{
    width: 100%;
    height: auto;
    margin: 6% auto;
  }
  
  .header .main .logo{
    width: 32%;
    padding-top: 0%;
    margin: 0 auto;
  }
  
  .header .main .logo img{
    width: 100%;
  }
  
  .header .main #title{
    width: 88%;
    height: auto;
    margin: 0 auto;
    padding-top: 0%;
    display: block;
  }
  
  .header .main #title img{
    width: 100%;
    margin: 0% auto;
  }
  
  .header .main .btn{
    width: 44%;
    margin: 1% auto;
    display: block;
  }
  
  .header .main .btn img{
    width: 100%;
  }
  
  .header .main .btn ul{
    width: 100%;
    margin: 0 auto;
    float: left;
  }
  
  .header .main .btn ul li{
      width: 48%;
      float: left;
      margin: 1%;
      overflow: hidden;
      position: relative;
      -webkit-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;
      -webkit-animation: light ease-in infinite 1.3s;
              animation: light ease-in infinite 1.3s;
  }
  .header .main .btn ul li::before {
      content: "";
      display: block;
      position: absolute;
      height: 50px;
      width: 200%;
      top: 0;
      -webkit-transform: rotate(45deg);
              transform: rotate(45deg);
      pointer-events: none;
      background-color: rgba(255, 255, 255, 0.4117647059);
      -webkit-animation: my ease-in infinite 2.5s;
              animation: my ease-in infinite 2.5s;
  }
  @-webkit-keyframes my {
      0% {
        left: 60px;
      }
      80% {
        left: 60px;
      }
      100% {
        left: calc(-100% - 60px);
      }
  }
    @keyframes my {
      0% {
        left: 60px;
      }
      80% {
        left: 60px;
      }
      100% {
        left: calc(-100% - 60px);
      }
  }
  
  .footer {
    clear: both;
    width: 100%;
    background-color: #2e2b2a;
    font-family: Arial, Helvetica, sans-serif;
    padding: 3% 0% 20% 0%;
  }
  
  .footer #footercopy {
    width: 90%;
    font-size: 12px;
    color: #ffffff;
    margin: 0 auto;
  }
  
  .footer #footercopy .con {
    clear: both;
    width: 80%;
    margin: 0% 0 1% 18%;
  }
  
  .footer #footercopy .con p {
    margin-top: 4px;
  }
  .footer #footercopy .con img {
    width: 34%;
    float: left;
    margin-right: 1%;
  }
  .footer #footercopy .con2 {
    clear: both;
    width: 62%;
    margin: 0% 18%;
  }
  .footer #footercopy .con2 img {
    width: 100%;
  }
  .footer #footercopy .snkicon {
    float: left;
    margin: 2% 40%;
  }
  .footer #footercopy .snkicon img {
    width: 90%;
  }
  .footer #footercopy .grade {
    float: left;
    margin: 0 auto;
    margin-left: 17%;
  }
  .footer #footercopy .grade img {
    float: left;
    margin: 2% -8%;
  }
  .footer #footercopy .grade p {
    float: left;
    width: 100%;
    line-height: 1.3;
  }
}

/* 手機尺寸 */
@media screen and (max-width: 767px) {
  .header{
    width: 100%;
    background: url(../img/bg_phone.jpg) no-repeat center top;
    background-size: cover;
    position: relative;
    display: inline-block;
    height: 100vh;
  }
  
  .main{
    width: 100%;
    height: auto;
    margin: 6% auto;
  }
  
  .header .main .logo{
    width: 50%;
    padding-top: 2%;
    margin: 0 auto;
  }
  
  .header .main .logo img{
    width: 100%;
  }
  
  .header .main #title{
    width: 90%;
    height: auto;
    margin: 0 auto;
    display: block;
  }
  
  .header .main #title img{
    width: 100%;
    margin: 0 auto;
  }
  
  .header .main .btn{
    width: 80%;
    margin: 0 auto;
    display: block;
    padding-top: 118%;
  }
  
  .header .main .btn img{
    width: 100%;
  }
  
  .header .main .btn ul{
    width: 100%;
    margin: 0 auto;
    float: left;
    padding-bottom: 2%;
  }
  
  .header .main .btn ul li{
      width: 48%;
      float: left;
      margin: 1%;
      overflow: hidden;
      position: relative;
      -webkit-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;
      -webkit-animation: light ease-in infinite 1.3s;
              animation: light ease-in infinite 1.3s;
  }
  .header .main .btn ul li::before {
      content: "";
      display: block;
      position: absolute;
      height: 50px;
      width: 200%;
      top: 0;
      -webkit-transform: rotate(45deg);
              transform: rotate(45deg);
      pointer-events: none;
      background-color: rgba(255, 255, 255, 0.4117647059);
      -webkit-animation: my ease-in infinite 2.5s;
              animation: my ease-in infinite 2.5s;
  }
  @-webkit-keyframes my {
      0% {
        left: 60px;
      }
      80% {
        left: 60px;
      }
      100% {
        left: calc(-100% - 60px);
      }
  }
    @keyframes my {
      0% {
        left: 60px;
      }
      80% {
        left: 60px;
      }
      100% {
        left: calc(-100% - 60px);
      }
  }
  
  .footer {
    clear: both;
    width: 100%;
    background-color: #2e2b2a;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0% 0% 6% 0%;
    display: block;
  }
  
  .footer #footercopy {
    width: 95%;
    margin: 6% 0% 0% 3%;
    font-size: 12px;
    color: #ffffff;
  }
  
  .footer #footercopy .con {
    clear: both;
    width: 80%;
    margin: 2% 16%;
  }
  
  .footer #footercopy .con p {
    margin-top: 4px;
    text-align: center;
    margin: 0% 0% 2% -16%;
  }
  .footer #footercopy .con img {
    float: none;
    margin: 0 8%;
    width: 66%;
  }
  .footer #footercopy .con2 {
    clear: both;
    width: 80%;
    margin: 0% 10%;
  }
  .footer #footercopy .con2 img {
    width: 100%;
  }
  .footer #footercopy .snkicon {
    float: left;
    margin: 4% 36%;
  }
  .footer #footercopy .snkicon img {
    width: 100%;
  }
  .footer #footercopy .grade {
    clear: both;
    width: 100%;
    float: none;
    margin: 0 auto;
    font-size: 12px;
  }
  .footer #footercopy .grade img {
    float: none;
    width: 10%;
    margin: 0 44% 2% 45%;
  }
  .footer #footercopy .grade p {
    float: none;
    width: 88%;
    margin: 0 6%;
    text-align: center;
  }
}