@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Roboto+Condensed:300");
html, body {
  margin: 0;
  padding: 0;
  border: 0;
  height: 100%;
  overflow: auto;
}

body {
  font-family: "Roboto Condensed", "Arial", "微軟正黑體", sans-serif;
  font-size: 14px;
  line-height: 25px;
  word-spacing: 0.2em;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, p, ul, li, blockquote, a {
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: normal;
}

a {
  text-decoration: none;
  color: #333;
}
a img {
  border: none;
}

img {
  display: block;
}

.en {
  font-family: "Roboto Condensed", sans-serif;
}

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

#loading {
  position: fixed;
  top: -50px;
  left: 0;
  right: 0;
  bottom: -50px;
  background: #FFF;
  z-index: 9999;
  -moz-perspective: 800px;
  -webkit-perspective: 800px;
  perspective: 800px;
}

.pLoading {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  margin: -40px 0 0 -40px;
  -moz-transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -moz-animation: loading 8s infinite linear;
  -webkit-animation: loading 8s infinite linear;
  animation: loading 8s infinite linear;
}
.pLoading img {
  width: 100%;
  height: 100%;
}

.back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #838c74;
  color: #FFF;
  text-align: center;
  line-height: 80px;
  font-size: 0.6em;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-transform: rotateX(180deg);
  -ms-transform: rotateX(180deg);
  -webkit-transform: rotateX(180deg);
  transform: rotateX(180deg);
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}

.front {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-transform: rotateX(0deg);
  -ms-transform: rotateX(0deg);
  -webkit-transform: rotateX(0deg);
  transform: rotateX(0deg);
}

@-moz-keyframes loading {
  0% {
    -moz-transform: rotateX(0deg);
    transform: rotateX(0deg);
  }
  15% {
    -moz-transform: rotateX(-180deg);
    transform: rotateX(-180deg);
  }
  50% {
    -moz-transform: rotateX(-180deg);
    transform: rotateX(-180deg);
  }
  65% {
    -moz-transform: rotateX(-360deg);
    transform: rotateX(-360deg);
  }
  100% {
    -moz-transform: rotateX(-360deg);
    transform: rotateX(-360deg);
  }
}
@-webkit-keyframes loading {
  0% {
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
  }
  15% {
    -webkit-transform: rotateX(-180deg);
    transform: rotateX(-180deg);
  }
  50% {
    -webkit-transform: rotateX(-180deg);
    transform: rotateX(-180deg);
  }
  65% {
    -webkit-transform: rotateX(-360deg);
    transform: rotateX(-360deg);
  }
  100% {
    -webkit-transform: rotateX(-360deg);
    transform: rotateX(-360deg);
  }
}
@keyframes loading {
  0% {
    -moz-transform: rotateX(0deg);
    -ms-transform: rotateX(0deg);
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
  }
  15% {
    -moz-transform: rotateX(-180deg);
    -ms-transform: rotateX(-180deg);
    -webkit-transform: rotateX(-180deg);
    transform: rotateX(-180deg);
  }
  50% {
    -moz-transform: rotateX(-180deg);
    -ms-transform: rotateX(-180deg);
    -webkit-transform: rotateX(-180deg);
    transform: rotateX(-180deg);
  }
  65% {
    -moz-transform: rotateX(-360deg);
    -ms-transform: rotateX(-360deg);
    -webkit-transform: rotateX(-360deg);
    transform: rotateX(-360deg);
  }
  100% {
    -moz-transform: rotateX(-360deg);
    -ms-transform: rotateX(-360deg);
    -webkit-transform: rotateX(-360deg);
    transform: rotateX(-360deg);
  }
}
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 300px;
  background: #fff;
  z-index: 990;
}
.sidebar nav {
  margin: 0 50px;
}
.sidebar nav li {
  margin-bottom: 20px;
}
.sidebar nav li span {
  display: block;
}
.sidebar nav li:nth-child(1) {
  display: none;
}
.sidebar nav a {
  position: relative;
  color: #666;
}
.sidebar nav a .en {
  font-size: 1.3em;
}
.sidebar nav a .tw {
  opacity: 0;
  margin-top: -1.6em;
  font-size: 1.2em;
}
.sidebar nav a:hover .tw {
  opacity: 1;
}
.sidebar nav a:hover .en {
  opacity: 0;
}

.subNav {
  font-size: 1.15em;
  padding: 0px 30px;
  margin-top: 10px;
  background: url(../images/npage.gif) no-repeat 10px center;
}
.subNav a:hover {
  color: #000;
}

#logo {
  margin: calc(8vh + 70px + 50px) 50px 8vh;
}

/*mobileMenu */
.mobileMenu {
  position: absolute;
  top: 5px;
  left: 20px;
  cursor: pointer;
  width: 35px;
  height: 50px;
  display: none;
}

.menuBar {
  width: 35px;
  height: 1px;
  background: #838c74;
  margin: 12px 0px;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

/* */
footer {
  position: fixed;
  left: 50px;
  bottom: 10px;
  font-size: 0.8em;
  line-height: 1.2em;
  color: #aaa;
  z-index: 990;
}
footer span {
  display: block;
}
footer a {
  color: #aaa;
}
footer a:hover {
  color: #333;
}

#main {
  position: relative;
  margin-left: 300px;
  margin-right: 50px;
  overflow: hidden;
}
#main .title {
  top: 13px;
  margin-top: 8vh;
  padding: 3px 20px;
  margin-bottom: 50px;
  height: 64px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 32px;
  color: #000;
  border-left: #aaa solid 12px;
}

.up {
  display: none;
  position: fixed;
  bottom: 65px;
  right: 20px;
  padding: 5px;
  background: rgba(131, 140, 116, 0.7);
  z-index: 1000;
  cursor: pointer;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}
.up img {
  width: 30px;
}

@media screen and (max-width: 1100px) {
  .sidebar {
    bottom: auto;
    right: 0;
    width: auto;
    height: 60px;
    -moz-box-shadow: 3px 3px 3px rgba(131, 140, 116, 0.2);
    -webkit-box-shadow: 3px 3px 3px rgba(131, 140, 116, 0.2);
    box-shadow: 3px 3px 3px rgba(131, 140, 116, 0.2);
  }
  .sidebar nav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -200px;
    width: 200px;
    background: rgba(239, 239, 239, 0.9);
    margin: 0;
    -moz-transition: left 0.5s ease-out;
    -o-transition: left 0.5s ease-out;
    -webkit-transition: left 0.5s ease-out;
    transition: left 0.5s ease-out;
  }
  .sidebar nav ul {
    margin: 0;
  }
  .sidebar nav li {
    margin: 0;
    padding: 10px 20px;
    border-bottom: rgba(131, 140, 116, 0.5) solid 1px;
  }
  .sidebar nav li:nth-child(1) {
    padding: 0;
    margin: 0;
    display: block;
  }
  .sidebar nav .en {
    font-size: 1.1em;
  }
  .sidebar nav .tw {
    margin-top: -1.8em;
    font-size: 1em;
  }
  .sidebar nav .closeM {
    height: 60px;
  }

  #logo {
    margin: 10px 0;
    text-align: center;
  }
  #logo img {
    display: inline-block;
    height: 40px;
  }

  .mobileMenu {
    display: block;
    -moz-transition: left 0.5s ease-out;
    -o-transition: left 0.5s ease-out;
    -webkit-transition: left 0.5s ease-out;
    transition: left 0.5s ease-out;
  }

  .openMenu nav {
    left: 0;
  }
  .openMenu .mobileMenu {
    left: 15px;
  }
  .openMenu .mobileMenu div:nth-child(1) {
    margin-top: 25px;
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .openMenu .mobileMenu div:nth-child(2) {
    width: 0;
  }
  .openMenu .mobileMenu div:nth-child(3) {
    margin-top: -26px;
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  #main {
    margin: 60px 0 0;
  }
  #main .title {
    position: relative;
    text-align: center;
    border: none;
    top: 0;
    background: rgba(131, 140, 116, 0.1);
    padding: 50px 0;
    margin: 0;
    height: auto;
  }

  footer {
    position: relative;
    text-align: center;
    left: 0;
    bottom: 0;
    padding: 10px 0;
    background: rgba(131, 140, 116, 0.1);
  }
  footer span {
    display: inline;
  }

  .up {
    display: block;
  }
}
@media screen and (max-width: 540px) {
  #main .title {
    padding: 30px 0;
  }

  footer {
    padding: 10px 30px;
  }
}
/* Set page
 * ==================================== */
.subtitle {
  display: inline-block;
  vertical-align: top;
  width: 20%;
  padding-right: 0;
  margin: 0px -7px 50px 0;
  box-sizing: border-box;
}
.subtitle .subtext {
  position: relative;
  color: #555;
  padding-left: 20px;
  padding-bottom: 5px;
}
.subtitle .subtext .en {
  font-size: 1.5em;
  line-height: 1.5em;
  color: #666;
}
.subtitle .subtext .tw {
  font-size: 1.2em;
}
.subtitle .subtext::before {
  position: absolute;
  content: "";
  left: 0;
  width: 2px;
  top: 0;
  bottom: 0;
  background: #838c74;
}

.context {
  display: inline-block;
  vertical-align: top;
  width: 40%;
  padding-right: 50px;
  margin: 0px -7px 50px 0;
  box-sizing: border-box;
}
.context h2 {
  font-size: 1.1em;
  color: #999;
  margin-bottom: 5px;
}
.context h2 .en {
  font-size: 0.8em;
  color: #838c74;
  padding-left: 10px;
}
.context p {
  margin: 10px 0 20px 0;
}
.context img {
  width: 100%;
  max-width: 350px;
}

.designer {
  display: inline-block;
  vertical-align: top;
  width: 40%;
  padding-right: 50px;
  margin: 0px -7px 50px 0;
  box-sizing: border-box;
}

.intro {
  margin-top: 40px;
}
.intro:first-child {
  margin-top: 0;
}
.intro span {
  font-size: 1.1em;
  display: block;
  color: #999;
  margin-bottom: 5px;
}
.intro li {
  position: relative;
  padding-left: 15px;
  line-height: 25px;
}
.intro li::before {
  position: absolute;
  content: "";
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  background: #838c74;
}

@media screen and (max-width: 1100px) {
  .subtitle, .designer {
    display: block;
    width: 100%;
    max-width: 540px;
    padding: 0 40px;
    margin: 50px auto;
  }

  .context {
    display: block;
    width: 100%;
    max-width: 540px;
    padding: 0 40px;
    margin: 50px auto;
  }
  .context p {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 540px) {
  .subtitle, .context, .designer {
    padding: 0 20px;
  }
}
