@charset "UTF-8";
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;
  -webkit-text-size-adjust: none;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

/* disable mobile tap opacity background */
html,
body {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  font-size: 100%;
  line-height: 1;
}

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

th {
  font-weight: normal;
  text-align: left;
}

em {
  font-style: normal;
}

img {
  border: 0;
}

ol, ul {
  list-style: none;
}

a {
  outline: none;
  text-decoration: none;
  cursor: pointer;
}

input, select, textarea, button {
  margin: 0;
  outline: none;
  border-radius: 0;
  font-family: arial, "微軟正黑體";
  line-height: 1;
}

/* remove spin button */
input[type="number"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* remove safari default appearance */
input[type="search"] {
  -webkit-appearance: none;
}

select {
  -webkit-appearance: none;
}

select::-ms-expand {
  display: none;
  /* remove ie select arrow */
}

button {
  padding: 0;
  cursor: pointer;
}

iframe {
  border: none;
}

body {
  font-family: arial, '微軟正黑體', sans-serif;
  background: url("../images/body_nightsky.jpg") center top no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

header {
  width: 100%;
  padding: 30px;
  box-sizing: border-box;
  position: relative;
  top: 0;
  left: 0;
  z-index: 10;
}

header::after {
  content: '';
  clear: both;
  display: block;
}

#logo {
  width: 153px;
  height: 33px;
  text-indent: -9999px;
  background: url("../images/logo.png");
  float: left;
  display: block;
}

#navigation {
  margin-top: -10px;
  float: right;
}

#navigation > li {
  display: inline-block;
  position: relative;
}

#navigation > li > a {
  padding: 15px 20px;
  font-family: 'Times New Roman', serif;
  font-size: 20px;
  letter-spacing: 0.5px;
  font-weight: bold;
  color: #fff;
  border: 1px solid transparent;
  display: block;
  transition: all 0.3s;
}

#navigation .sub-menu {
  width: 160px;
  border-radius: 5px;
  overflow: hidden;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
}

#navigation .sub-menu li {
  background: rgba(176, 51, 60, 0.8);
  border-bottom: 1px solid #b93d40;
  opacity: 0;
  position: relative;
  transition: all 0.3s;
}

#navigation .sub-menu li:nth-child(odd) {
  left: -20px;
}

#navigation .sub-menu li:nth-child(even) {
  left: 20px;
}

#navigation .sub-menu li:last-child {
  border: none;
}

#navigation .sub-menu li a {
  padding: 10px 20px;
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: bold;
  color: #fff;
  display: block;
  transition: all 0.3s;
}

#navigation .sub-menu li a:hover {
  color: #b3a479;
  background: #b0333c;
}

#navigation > li:hover > a {
  color: #df374a;
  border-color: #aa2d3b;
  border-radius: 5px;
}

#navigation > li:hover .sub-menu {
  display: block;
}

#navigation > li:hover .sub-menu li {
  -webkit-animation: navi 0.5s forwards;
          animation: navi 0.5s forwards;
}

@-webkit-keyframes navi {
  to {
    opacity: 1;
    left: 0;
  }
}

@keyframes navi {
  to {
    opacity: 1;
    left: 0;
  }
}

#mobile-toggle {
  width: 40px;
  height: 40px;
  text-indent: -9999px;
  float: right;
  display: none;
  position: relative;
}

#mobile-toggle::before,
#mobile-toggle hr,
#mobile-toggle::after {
  content: '';
  width: 30px;
  height: 1px;
  padding: 0;
  margin: 0;
  background: #fff;
  border: none;
  display: block;
  position: absolute;
  left: 5px;
  transition: all 0.3s;
}

#mobile-toggle::before {
  top: 13px;
}

#mobile-toggle hr {
  top: 19px;
}

#mobile-toggle::after {
  top: 25px;
}

#mobile-toggle.active::before {
  top: 19px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

#mobile-toggle.active hr {
  opacity: 0;
}

#mobile-toggle.active::after {
  top: 19px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

#mobile {
  width: 100%;
  box-sizing: border-box;
  display: none;
  position: fixed;
  top: 60px;
  bottom: 0;
  left: 0;
  z-index: 9;
}

#mobile .wrap {
  width: 100%;
  height: 100%;
  padding: 20px 0;
  text-align: center;
  background: url("../images/mobile_bg.jpg") left top repeat;
  box-sizing: border-box;
  overflow: auto;
  position: absolute;
  top: 0;
  left: 0;
}

#mobile .wrap .menu {
  margin-bottom: 45px;
  padding: 0 20px;
}

#mobile .wrap .menu > li > a {
  padding: 15px;
  font-family: 'Times New Roman', serif;
  font-size: 18px;
  letter-spacing: 0.5px;
  font-weight: bold;
  color: #1a1a1a;
  display: block;
  border-bottom: 1px solid #e5e5e5;
}

#mobile .wrap .menu .sub-menu {
  padding: 8px 0;
  display: none;
}

#mobile .wrap .menu .sub-menu li a {
  padding: 7px 0;
  font-size: 18px;
  color: #555;
  display: block;
}

#mobile .wrap .line {
  font-family: 'Times New Roman', serif;
  font-size: 16px;
  letter-spacing: 0.5px;
  font-weight: bold;
  color: #000;
  display: inline-block;
  margin-bottom: 25px;
}

#mobile .wrap .line::before {
  content: '';
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background: url("../images/mobile_line.png");
  vertical-align: middle;
  display: inline-block;
}

#mobile .wrap .info {
  margin-bottom: 25px;
}

#mobile .wrap .info li {
  margin-bottom: 15px;
  font-size: 16px;
  color: #454545;
}

#mobile .wrap .sitemap {
  padding: 5px;
  font-family: 'Times New Roman', serif;
  font-size: 16px;
  letter-spacing: 0.5px;
  font-weight: bold;
  color: #000;
  display: inline-block;
  margin-bottom: 10px;
  border-bottom: 1px solid #000;
}

#mobile .wrap .sitemap::after {
  content: '';
  width: 0;
  height: 0;
  margin: 5px 0 0 10px;
  border-width: 5px 0 5px 7px;
  border-style: solid;
  border-color: transparent transparent transparent #000;
  float: right;
  display: block;
}

footer {
  padding-bottom: 100px;
  background: #fff;
}

footer .service {
  padding: 30px 0;
  text-align: center;
  background: #fff;
}

footer .service a {
  padding: 30px 0 0 120px;
  margin: 0 3%;
  text-align: left;
  opacity: 0;
  display: inline-block;
  position: relative;
  transition: all 0.3s;
}

footer .service a::before {
  content: '';
  width: 100px;
  height: 95px;
  background: url("../images/footer_service.png");
  background-size: 300% auto;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

footer .service a.cis::before {
  background-position: left top;
}

footer .service a.web::before {
  background-position: center top;
}

footer .service a.line::before {
  background-position: right top;
}

footer .service a b {
  margin-bottom: 5px;
  font-size: 24px;
  letter-spacing: 2px;
  color: #000;
  display: block;
}

footer .service a span {
  font-family: 'Times New Roman', serif;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #aa2d3b;
  display: block;
}

footer .service a:hover {
  opacity: 0.6;
}

footer.active .service a {
  -webkit-animation: FooterService 1s forwards;
          animation: FooterService 1s forwards;
}

footer .service a.cis {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}

footer .service a.web {
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}

footer .service a.line {
  -webkit-animation-delay: 0.7s;
          animation-delay: 0.7s;
}

@-webkit-keyframes FooterService {
  to {
    opacity: 1;
  }
}

@keyframes FooterService {
  to {
    opacity: 1;
  }
}

footer .contact {
  padding: 30px 0;
  text-align: center;
  background: #fff;
}

footer .contact li {
  margin: 0 2.5%;
  font-family: 'Times New Roman', serif;
  font-size: 22px;
  letter-spacing: 0.5px;
  font-weight: bold;
  color: #333;
  display: inline-block;
}

footer .contact li::before {
  content: '';
  width: 29px;
  height: 31px;
  margin-right: 10px;
  background: url("../images/footer_icon.png");
  vertical-align: middle;
  display: inline-block;
}

footer .contact li.mail::before {
  background-position: left top;
}

footer .contact li.tel::before {
  background-position: center top;
}

footer .contact li.time::before {
  background-position: right top;
}

footer .link {
  padding: 25px;
  text-align: center;
  background: url("../images/body_nightsky.jpg") center center no-repeat;
}

footer .link a {
  margin: 0 1.3%;
  font-family: 'Times New Roman', serif;
  font-size: 20px;
  letter-spacing: 1px;
  font-weight: bold;
  color: #fff;
  display: inline-block;
  transition: all 0.3s;
}

footer .link a:hover {
  color: #ccc;
}

footer .copyright {
  padding: 25px;
  letter-spacing: 0.5px;
  text-align: center;
  color: #666;
  background: #fff;
}

footer .copyright.desktop {
  display: block;
}

@media (max-width: 480px) {
  footer .copyright.desktop {
    display: none;
  }
}

footer .copyright.moblie {
  display: none;
}

@media (max-width: 480px) {
  footer .copyright.moblie {
    display: block;
  }
}

footer .copyright p {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: bold;
}

@media (max-width: 480px) {
  footer .copyright p {
    line-height: 22px;
  }
}

footer .copyright span {
  font-size: 14px;
  display: block;
}

@media (max-width: 480px) {
  footer .copyright span {
    line-height: 22px;
  }
}

#gotop {
  width: 74px;
  height: 40px;
  margin: 0 auto;
  text-indent: -9999px;
  background: url("../images/gotop.png");
  display: block;
  transition: all 0.3s;
}

#gotop:hover {
  opacity: 0.6;
}

@media screen and (max-width: 1100px) {
  footer .service a {
    padding: 0 0 0 60px;
    margin: 0 3%;
  }
  footer .service a::before {
    width: 50px;
    height: 47px;
  }
}

@media screen and (max-width: 1000px) {
  header {
    padding: 10px 20px;
    background: rgba(12, 24, 26, 0.3);
    position: fixed;
  }
  #logo {
    margin-top: 5px;
  }
  #navigation {
    display: none;
  }
  #mobile-toggle {
    display: block;
  }
  footer {
    padding-bottom: 30px;
  }
  footer .service,
  footer .contact,
  footer .link {
    display: none;
  }
  footer .copyright {
    padding: 20px;
  }
}

body {
  overflow-x: hidden;
}

#leaf {
  width: 100%;
  height: 100%;
  text-indent: -9999px;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3;
  pointer-events: none;
}

#leaf li {
  text-indent: -9999px;
  position: absolute;
}

#leaf li.l-1 {
  width: 91px;
  height: 69px;
  background: url("../images/imagery/leaf_1.png");
}

#leaf li.l-2 {
  width: 90px;
  height: 58px;
  background: url("../images/imagery/leaf_2.png");
}

#leaf li.l-3 {
  width: 64px;
  height: 69px;
  background: url("../images/imagery/leaf_3.png");
}

#leaf li.l-4 {
  width: 111px;
  height: 46px;
  background: url("../images/imagery/leaf_4.png");
}

#leaf li.l-5 {
  width: 81px;
  height: 83px;
  background: url("../images/imagery/left_5.png");
}

#moon {
  width: 600px;
  height: 600px;
  margin-left: -300px;
  text-indent: -9999px;
  overflow: hidden;
  position: absolute;
  top: -300px;
  left: 50%;
}

#moon::before {
  content: '';
  width: 100%;
  height: 100%;
  background: url("../images/imagery/moon.png") center center no-repeat;
  background-size: 90% auto;
  display: block;
  position: absolute;
  -webkit-animation: moon 20s linear infinite;
          animation: moon 20s linear infinite;
}

@-webkit-keyframes moon {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes moon {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

#peacock {
  width: 1398px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow-x: hidden;
  position: relative;
  left: 100px;
  z-index: 2;
  -webkit-transform-origin: center top;
          transform-origin: center top;
  transition: all 0.3s;
}

#peacock::before {
  content: '';
  width: 1398px;
  height: 902px;
  background: url("../images/imagery/peacock_main.png") center center no-repeat;
  opacity: 0;
  display: block;
  position: relative;
  -webkit-animation: peacockFill 1s 2.5s linear forwards;
          animation: peacockFill 1s 2.5s linear forwards;
}

@-webkit-keyframes peacockFill {
  to {
    opacity: 1;
  }
}

@keyframes peacockFill {
  to {
    opacity: 1;
  }
}

#peacock svg {
  position: absolute;
  top: 0;
  left: 0;
}

#peacock path {
  stroke: #fff;
  fill: none;
  stroke-dasharray: 9440px 9440px;
  stroke-dashoffset: 9440px;
  -webkit-animation: peacockLine 3s linear forwards;
          animation: peacockLine 3s linear forwards;
}

@-webkit-keyframes peacockLine {
  90% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes peacockLine {
  90% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

#cloud {
  width: 533px;
  height: 381px;
  text-indent: -9999px;
  background: url("../images/imagery/cloud.png");
  opacity: 0;
  position: absolute;
  top: 500px;
  left: 0;
  z-index: 1;
  -webkit-transform: translateX(-200px);
          transform: translateX(-200px);
  -webkit-animation: cloud 1s 3s forwards;
          animation: cloud 1s 3s forwards;
}

@-webkit-keyframes cloud {
  to {
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

@keyframes cloud {
  to {
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

.triangle {
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  border-width: 0;
  border-style: solid;
  display: block;
  position: absolute;
  left: 0;
  z-index: 0;
}

.triangle.up {
  bottom: 100%;
}

.triangle.down {
  top: 100%;
}

.more {
  padding: 15px;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  background: #610e13;
  border-radius: 3px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.75);
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: all 0.3s;
}

.more span {
  position: relative;
  z-index: 1;
}

.more::before {
  content: '';
  width: 0;
  height: 100%;
  background: #666;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  transition: all 0.3s;
}

.more::after {
  content: '';
  width: 10px;
  height: 17px;
  margin-left: 10px;
  background: url("../images/arrow_more.png");
  display: inline-block;
  position: relative;
  z-index: 1;
}

.more:hover {
  box-shadow: none;
}

.more:hover::before {
  width: 100%;
}

#news {
  padding: 160px 0;
  background: #0c181a;
  position: relative;
  z-index: 1;
}

#news::before,
#news::after {
  content: '';
  opacity: 0;
  position: absolute;
  z-index: 1;
  transition: all 1s;
}

#news::before {
  width: 577px;
  height: 290px;
  background: url("../images/imagery/news_cloud_right.png");
  background-repeat: no-repeat;
  background-position-x: 200px;
  top: -200px;
  right: 0;
  /* transform: translateX(200px); */
}

#news::after {
  width: 540px;
  height: 421px;
  background: url("../images/imagery/news_cloud_left.png");
  bottom: -70px;
  left: 0;
  -webkit-transform: translateX(-200px);
          transform: translateX(-200px);
}

#news.active::before {
  opacity: 1;
  background-position-x: 0;
}

#news.active::after {
  opacity: 1;
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

#news .triangle.up {
  border-color: transparent transparent #0c181a transparent;
  border-bottom-width: 700px;
}

#news .triangle.down {
  border-color: #0c181a transparent transparent transparent;
  border-top-width: 700px;
}

#news .wrap {
  padding: 0 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

#news .wrap p {
  font-size: 24px;
  letter-spacing: 0.75px;
  line-height: 36px;
  color: #fff;
}

#news .wrap p b {
  font-size: 80px;
  color: #ff9000;
}

#news .wrap h2 {
  margin: 20px auto;
  font-size: 46px;
  color: #f6b522;
}

#news .wrap h3 {
  margin-bottom: 20px;
  font-size: 24px;
  letter-spacing: 2px;
  color: #a3161f;
}

#news h3::before,
#news h3::after {
  content: '';
  width: 173px;
  height: 20px;
  display: inline-block;
}

#news h3::before {
  margin-right: 10px;
  background: url("../images/titile_lace_left.png");
}

#news h3::after {
  margin-left: 10px;
  background: url("../images/titile_lace_right.png");
}

#news .wrap em {
  font-size: 24px;
  letter-spacing: 1px;
  font-weight: bold;
  color: #fff;
  display: block;
  margin-bottom: 5px;
}

#device {
  padding: 400px 20px 100px 20px;
  text-align: center;
  background: #610e13;
  position: relative;
}

#device::before {
  content: '';
  width: 824px;
  height: 497px;
  background: url("../images/imagery/peacock_sub.png") center center no-repeat;
  background-size: 90% auto;
  display: block;
  position: absolute;
  top: 100px;
  right: 9%;
  z-index: 1;
}

#device img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  position: relative;
  z-index: 2;
}

#work {
  padding-bottom: 50px;
  text-align: center;
  background: #fff;
  position: relative;
}

#work .triangle.up {
  border-color: transparent transparent #fff transparent;
  border-bottom-width: 300px;
}

#work h2 {
  margin-bottom: 15px;
  font-family: 'Times New Roman', serif;
  font-size: 48px;
  color: #000;
}

#work h2 span {
  color: #bd000b;
}

#work h3 {
  margin-bottom: 60px;
  font-size: 24px;
  letter-spacing: 2px;
  color: #5d3919;
}

#work h3::before,
#work h3::after {
  content: '';
  width: 173px;
  height: 20px;
  display: inline-block;
}

#work h3::before {
  margin-right: 10px;
  background: url("../images/titile_lace_left.png");
}

#work h3::after {
  margin-left: 10px;
  background: url("../images/titile_lace_right.png");
}

#work .wrap {
  margin-bottom: 45px;
  overflow: hidden;
}

#work .wrap .left,
#work .wrap .right {
  width: 50%;
}

#work .wrap .left {
  float: left;
}

#work .wrap .right {
  overflow: hidden;
  float: right;
}

#work .wrap dl {
  overflow: hidden;
  position: relative;
}

#work .wrap .right dl {
  width: 50%;
  float: left;
}

#work .wrap .left dl::after {
  content: '';
  width: 0;
  height: 0;
  border-width: 0 280px 140px 0;
  border-style: solid;
  border-color: transparent transparent #770c16 transparent;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
}

#work .wrap dt {
  transition: all 0.3s;
}

#work .wrap dt a {
  display: block;
}

#work .wrap dt a img {
  width: 100%;
  height: auto;
  display: block;
}

#work .wrap dd {
  padding: 15px;
  text-align: left;
  position: absolute;
  left: 0;
  z-index: 1;
}

#work .wrap .left dd {
  bottom: -10px;
}

#work .wrap .left dd span {
  font-size: 12px;
  letter-spacing: 1px;
  color: #ff8401;
}

#work .wrap .left dd h2 {
  margin-top: 5px;
  font-size: 20px;
  letter-spacing: 1px;
  font-weight: normal;
  color: #ffe080;
}

#work .wrap .left dl:hover dt,
#work .wrap .right dl:hover dt {
  opacity: 0.6;
}

#work .wrap .right dd {
  width: 100%;
  font-family: '微軟正黑體', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
  display: block;
  bottom: -100%;
  transition: all 0.3s;
}

#work .wrap .right dl:hover dd {
  bottom: 0;
}

@media screen and (max-width: 1500px) {
  #peacock {
    width: 100%;
    left: 0;
  }
  #peacock::before {
    width: 100%;
    height: auto;
    padding-bottom: 71%;
    margin: 0 auto;
    background-size: 90% auto;
    background-position: 90% center;
    opacity: 1;
  }
  #peacock svg {
    display: none;
  }
}

@media screen and (max-width: 1000px) {
  #cloud {
    display: none;
  }
  #peacock::before {
    margin-top: 60px;
    background-size: 100% auto;
    left: 50px;
  }
  #news {
    padding: 40px 0;
  }
  #news::before,
  #news::after {
    display: none;
  }
  #news .triangle.up {
    border-bottom-width: 500px;
  }
  #news .triangle.down {
    border-top-width: 100px;
  }
  #device {
    padding-top: 50%;
  }
  #device::before {
    width: 100%;
    height: auto;
    padding-bottom: 55%;
    top: 120px;
    right: 0;
  }
  #work .wrap .left,
  #work .wrap .right {
    width: 100%;
    float: none;
  }
  #work .wrap .right dd {
    bottom: 0;
  }
}

@media screen and (max-width: 640px) {
  #moon {
    width: 100%;
    margin: 0;
    left: 0;
  }
  .more::after {
    display: none;
  }
  #news .wrap p {
    font-size: 20px;
    line-height: 30px;
  }
  #news .wrap p b {
    font-size: 50px;
  }
  #news .wrap h2 {
    font-size: 30px;
  }
  #news h3::before,
  #news h3::after {
    display: none;
  }
  #work .triangle.up {
    border-bottom-width: 100px;
  }
  #work h2 {
    font-size: 35px;
  }
  #work h3 {
    margin-bottom: 20px;
  }
  #work h3::before,
  #work h3::after {
    display: none;
  }
  #work .wrap .left dl::after {
    display: none;
  }
  #work .wrap .right dl {
    width: 100%;
    float: none;
  }
}

@media screen and (max-width: 480px) {
  #news .triangle.up {
    border-bottom-width: 250px;
  }
  #device {
    padding: 40px 20px;
    background: #fff;
  }
  #device::before {
    display: none;
  }
  #work .triangle.up {
    display: none;
  }
}
