@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Raleway");
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p,
blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,
img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i,
center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after {
  content: '';
  content: none;
}

q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

@-webkit-keyframes loading {
  0% {
    left: -30px;
  }
  70% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
@-moz-keyframes loading {
  0% {
    left: -30px;
  }
  70% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
@-o-keyframes loading {
  0% {
    left: -30px;
  }
  70% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
@keyframes loading {
  0% {
    left: -30px;
  }
  70% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
#browser {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  cursor: pointer;
}

.browser_content {
  position: absolute;
  width: 500px;
  height: 260px;
  top: 50%;
  left: 50%;
  margin-left: -250px;
  margin-top: -130px;
  padding: 40px;
  margin: -170px 0 0 -290px;
  background: #FFF;
  border-radius: 5px;
  text-align: center;
}
.browser_content h1 {
  margin-bottom: 20px;
  color: #000;
  font-size: 16px;
  font-weight: bold;
}
.browser_content p {
  margin-top: 30px;
}

.browser_note {
  color: #666;
  line-height: 1.7;
  padding: 0 20px;
}
.browser_note .autoWrap {
  display: inline-block;
}

.browser_chosen {
  position: relative;
  width: 480px;
  margin: 20px auto 0;
  overflow: hidden;
}
.browser_chosen a {
  float: left;
  margin: 0 28px 20px;
  color: #666;
  line-height: 1.7;
  font-size: 12px;
}

@media only screen and (max-width: 599px) {
  .browser_content {
    width: 100%;
    height: auto;
    padding: 40px 0 0;
    margin: -235px 0 0 -50%;
    border-radius: 0;
  }

  .browser_chosen {
    width: 240px;
  }
}
/* ===================================
 * 						main style
 * =================================== */
html, body {
  height: 100%;
}

body {
  font-family: "Raleway", "微軟正黑體", Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #666;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: #666;
}

img, main {
  display: block;
}

.en {
  font-family: "Raleway", Helvetica, Arial, sans-serif;
}

.tw {
  font-family: "微軟正黑體", sans-serif;
}

.ib {
  display: inline-block;
}

/*----------------
 * 	Basic Layout 
 *----------------*/
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #222;
  z-index: 9;
}

.lo {
  display: none;
  position: absolute;
  width: 150px;
  height: 70px;
  top: 50%;
  left: 50%;
  margin-left: -75px;
  margin-top: -35px;
}
.lo img {
  width: 100%;
}
.lo-mask {
  position: relative;
  margin-top: 5px;
  width: 100%;
  height: 2px;
  overflow: hidden;
}
.lo-line {
  position: absolute;
  left: -30px;
  width: 30px;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.2), white);
  -webkit-animation: loading 1s linear infinite;
  animation: loading 1s linear infinite;
}

.logo-mask {
  position: fixed;
  top: 25px;
  width: 160px;
  height: 64px;
  margin: 0 5vw;
  overflow: hidden;
  z-index: 7;
}
.logo-mask img {
  width: 100%;
  height: auto;
}

#menu {
  display: none;
  position: fixed;
  right: 5vw;
  margin-top: 21px;
  cursor: pointer;
  -webkit-transition: top 0.3s;
  -o-transition: top 0.3s;
  transition: top 0.3s;
  z-index: 5;
}

.burger-wrap {
  position: relative;
  width: 28px;
  margin-bottom: 3px;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
}

.burger {
  position: relative;
  width: 100%;
  height: 20px;
  overflow: hidden;
  cursor: pointer;
}
.burger-line {
  position: absolute;
  right: 0;
  width: 100%;
  height: 2px;
  background: #222;
  transition: top .2s, opacity .2s, transform .2s;
}
.burger-line:nth-child(1) {
  top: 0;
}
.burger-line:nth-child(2) {
  top: 8px;
}
.burger-line:nth-child(3) {
  top: 16px;
}
.burger.on .burger-line:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}
.burger.on .burger-line:nth-child(2) {
  opacity: 0;
}
.burger.on .burger-line:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

#nav-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 3;
}

#nav .tw, .subNav .tw {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
}

#nav {
  position: fixed;
  top: 25px;
  left: calc( 5vw + 200px);
  margin-top: 50px;
  z-index: 6;
  overflow: hidden;
}
#nav > ul {
  overflow: hidden;
}
#nav > ul > li {
  float: left;
  position: relative;
  margin-left: 10px;
  padding: 0 15px;
  letter-spacing: 1.5px;
}
#nav > ul > li:first-child {
  margin-left: 0;
}
#nav > ul > li > a {
  color: #333;
}
#nav > ul > li > a:hover > .en {
  opacity: 0;
}
#nav > ul > li > a:hover > .tw {
  opacity: 1;
  white-space: nowrap;
  text-align: center;
}
#nav > ul > li.on {
  opacity: 0.6;
}

.subNav {
  position: relative;
  width: 90vw;
  margin-left: 5vw;
  overflow: hidden;
}
.subNav li {
  display: inline-block;
  position: relative;
  margin: 0 20px 20px 0;
  width: 120px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  border: 1px solid #666;
  -webkit-transition: margin-left 0.3s;
  -o-transition: margin-left 0.3s;
  transition: margin-left 0.3s;
}
.subNav li > a {
  color: #333;
}
.subNav li > a:hover > .en {
  opacity: 0;
}
.subNav li > a:hover > .tw {
  opacity: 1;
}
.subNav li.on {
  opacity: 0.6;
}
.subNav .en {
  text-transform: uppercase;
}

#go-top {
  position: fixed;
  right: 2%;
  bottom: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: url(../images/backtotop.png) no-repeat center center;
  filter: invert(1);
  opacity: 0.6;
  text-align: center;
  cursor: pointer;
  display: none;
  z-index: 2;
}
#go-top svg {
  margin-top: 10px;
  width: 28px;
  height: 28px;
}
#go-top:hover {
  opacity: 1;
}

#wrapper {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

#main {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: no-repeat center center;
  background-size: cover;
}

.content {
  position: relative;
  margin-top: 4.7vw;
  padding: 120px 5vw 80px;
  overflow: hidden;
}

h1 {
  color: #333;
  margin-bottom: 20px;
}

h2 {
  font-size: 16px;
  color: #666;
}

.scroll-down {
  position: absolute;
  width: 80px;
  height: 40px;
  bottom: 40px;
  left: 50%;
  margin-left: -40px;
  background: url("../images/scroll-down.png") no-repeat center 5px;
  opacity: 0.6;
  cursor: pointer;
  text-shadow: 1px 1px 2px #999;
}
.scroll-down::before {
  content: 'Scroll Down';
  color: #000;
}
.scroll-down:hover {
  opacity: 1;
}

#footer {
  position: relative;
  background: white;
  z-index: 1;
}

.copyright {
  position: relative;
  padding: 15px 5vw;
  text-align: right;
}
.copyright span {
  display: inline-block;
  position: relative;
  padding-left: 10px;
}
.copyright span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2.5px;
  height: 13px;
  width: 1px;
  background: #666;
}
.copyright p, .copyright a {
  display: inline-block;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.5px;
  color: #000;
}
.copyright p {
  opacity: 0.6;
}
.copyright a:hover {
  text-decoration: underline;
}

img {
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/*------------------------------------------
 *             tablet 、 Mobile
 *------------------------------------------*/
@media only screen and (max-width: 900px), screen and (max-height: 560px) {
  .scroll-down {
    display: none;
  }

  #main {
    min-height: calc(100vh - 55px);
  }

  #menu {
    display: block;
    top: 20px;
    margin-top: 10px;
  }

  .logo-mask {
    top: 12px;
    width: 125px;
    height: 50px;
  }

  #nav-bg {
    height: 75px;
  }

  #nav {
    left: 5vw;
    top: 10vw;
    width: 100px;
    display: none;
  }
  #nav > ul > li {
    float: none;
    margin: 40px 0;
    padding: 0;
  }
  #nav > ul > li > a:hover > .tw {
    text-align: left;
  }

  #main {
    padding-top: 75px;
  }

  .content {
    margin-top: 0;
    padding: 12vw 5vw;
  }
}
@media only screen and (max-width: 640px), screen and (max-height: 560px) {
  #menu {
    top: 10px;
  }

  .logo-mask {
    top: 8px;
    width: 100px;
    height: 40px;
  }

  #nav-bg {
    height: 55px;
  }

  #main {
    padding-top: 55px;
  }
}
