/* All--------------------------------------------------------------------------- */

html {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: "微軟正黑體", Nanum Barun Gothic, sans-serif;
  background: #000;
  color: #3e3e3e;
  font-weight: 400;
  line-height: 24px;
}

img {
  max-width: 100%;
  height: auto;
}

li,
ol,
ul {
  list-style: none;
}

a:hover,
a:focus,
a:active,
a:visited {
  text-decoration: none;
}

header {
  z-index: 999;
}

::-webkit-scrollbar {
  display: none;
}

::-webkit-scrollbar-button {
  display: none
}

button {
  background-color: transparent !important;
}

/* landscape------------------------------------------------------------------- */
.landscape {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: auto;
  background: #33313e;
  display: none;
  z-index: 9999;
}

.landscape span {
  position: absolute;
  right: 0;
  top: 50%;
  margin: 0;
  width: 100%;
  text-align: center;
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.landscape span>p {
  color: #ccc;
  margin: 0;
  font-size: 16px;
}

/* landscape-end-------------------------------------------------------------- */

/* navbar----------------------------------------------------------------------- */

/* ANIMATED X */
.sideBtn {
  display: none;
}

/*-- section0 --*/
.s0 {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: url(../image/awake＿bg.jpg) no-repeat center 40%;
  background-size: 135%;
  overflow: hidden;
}

.role1 {
  margin-left: -2%;
  width: 1564px;
  height: 979px;
  background: url(../image/awake_m0.png)no-repeat center center;
  -webkit-transition-duration: 1s;
  transition-duration: 1s;
  -webkit-transition-delay: 0.6s;
  transition-delay: 0.6s;
}

.role2 {
  margin-top: -2%;
  width: 1801px;
  height: 1354px;
  background: url(../image/awake_m1.png)no-repeat center center;
}

.role3 {
  margin-top: 1%;
  margin-left: -46%;
  width: 2862px;
  height: 1996px;
  background: url(../image/awake_m2.png) no-repeat 0 0;
  -webkit-transition-duration: 1s;
  transition-duration: 1s;

}

.role4::before {
  content: "";
  position: absolute;
  top: 5%;
  right: -5%;
  width: 1268px;
  height: 954px;
  background: url(../image/awake_m3.png) no-repeat 0 0;
  -webkit-transition-duration: 1s;
  transition-duration: 1s;
  -webkit-transition-delay: 2.3s;
  transition-delay: 2.3s;
}

.role4 {
  margin-top: 6%;
  margin-left: 2%;
  width: 1866px;
  height: 1471px;
  background: url(../image/awake_m4.png) no-repeat center center;
  -webkit-transition-duration: 1.3s;
  transition-duration: 1.3s;
  -webkit-transition-delay: 0.8s;
  transition-delay: 0.8s;
}

.role4b {
  margin-top: -1%;
  margin-left: 7%;
  width: 1816px;
  height: 912px;
  background: url(../image/awake_m5.png) no-repeat 0 0;
}

.role5 {
  margin-top: 4%;
  margin-left: 8%;
  width: 898px;
  height: 1089px;
  background: url(../image/awake_m6.png) no-repeat center center;
  -webkit-transition-duration: 1s;
  transition-duration: 1s;
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

.logobg {
  position: absolute;
  top: -46%;
  left: -20%;
  z-index: -1;
}

.logo {
  position: absolute;
  top: 56%;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  z-index: 0;
}

.logo1 {
  margin-bottom: -8%;
  margin-left: 52%;
}

.logo2 {
  margin-top: -10%;
  margin-left: 2%;
}

/*-- section0 end -- */

#footer {
  width: 100%;
  position: absolute;
  z-index: 2;
  margin: auto;
  margin-top: -73px;
}

.copyright {
  text-align: center;
}

/* footer-end */

@media (max-width: 1440px) {

  .role1 {
    margin-left: -12%;
  }

  .role3 {
    margin-left: -70%;
  }

  .role4 {
    margin-left: -20%;
  }

  .role5 {
    margin-left: 2%;
  }
}

@media (max-width: 1024px) {

  /* sidebar */
  .sideBtn {
    position: fixed;
    right: 5px;
    bottom: 5px;
    z-index: 999;
    display: block;
  }

  .sideBtn ul {
    margin: 0;
    padding: 0;
  }

  .sideBtn ul>li {
    display: block;
  }

  .sideBtn ul>li>a {
    display: inline-block;
    background-color: #e9413e;
    width: 100px;
    height: 50px;
    color: #fff;
    font-size: 20px;
    text-align: center;
    line-height: 50px;
    margin: 4px;
    opacity: .85;
    border-radius: 7px;
    border: 2px solid #f58545;
  }

  .s0 {
    background-size: auto;
  }

  .role1 {
    margin-left: -34%;
  }

  .role2 {
    margin-top: 15%;
    margin-left: -10%;
  }

  .role3 {
    margin-top: 24%;
    margin-left: -100%;
  }

  .role4 {
    margin-top: 20%;
    margin-left: -60%;
  }

  .role5 {
    margin-left: -12%;
  }

  .logo {
    top: auto;
    bottom: 8%;
  }

}

@media (min-width: 2560px) {
  .role1 {
    margin-left: 10%;
  }

  .role3 {
    margin-left: -30%;
  }

  .role4 {
    margin-left: 30%;
  }

  .role4b {
    margin-left: 30%;
  }

  .role5 {
    margin-left: 20%;
  }

  .logo1 {
    margin-bottom: -4%;
    margin-left: 40%;
  }

  .logo2 {
    margin-top: 16%;
    margin-left: -50%;
  }
}

@media (max-width: 768px) {
  .role1 {
    margin-left: -56%;
  }

  .role3 {
    margin-top: 30%;
    margin-left: -145%;
  }

  .role4 {
    margin-top: 40%;
    margin-left: -110%;
  }

  .role5 {
    margin-left: -30%;
  }

  .logobg {
    top: -20%;
  }
}

@media (max-width: 480px) {
  .role1 {
    margin-left: -175%;
  }

  .role2,
  .role3,
  .role4,
  .role4b {
    display: none !important;
  }

  .role5 {
    margin-left: -130%;
  }

  .logobg {
    opacity: 0.8;
  }

  #footer {
    margin-top: -35px;
  }
}

/* 手機橫向 */
/* orientation: landscape and max-device-width: 850px */
@media only screen and (orientation: landscape) and (max-device-width: 850px) {
  .landscape {
    display: block
  }
}

/* media-end */