@charset "UTF-8";
.intro {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
}
.intro-bg {
  width: 100%;
  height: 100%;
}
.intro-bg-top {
  width: 100%;
  height: 50%;
  background: #15223c;
  clip-path: polygon(0% 0%, 100% 0%, 100% 101%, 0% 101%);
  -moz-transition: clip-path 1s linear;
  -o-transition: clip-path 1s linear;
  -webkit-transition: clip-path 1s linear;
  transition: clip-path 1s linear;
}
.show-page .intro-bg-top {
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}
.intro-bg-bottom {
  width: 100%;
  height: 50%;
  background: #15223c;
  clip-path: polygon(0% 0%, 100% 0%, 100% 101%, 0% 101%);
  -moz-transition: clip-path 1s linear;
  -o-transition: clip-path 1s linear;
  -webkit-transition: clip-path 1s linear;
  transition: clip-path 1s linear;
}
.show-page .intro-bg-bottom {
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
}
.intro-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  opacity: 0;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}
.show-intro .intro-logo {
  opacity: 1;
}
.intro-logo img {
  width: 100%;
}

.top-img li:nth-child(1) {
  background-position: 50% 50%;
}
.top-img li:nth-child(2) {
  background-position: 40% 50%;
}
.top-img li:last-child {
  background-position: 50% 100%;
}
.top-slogan li {
  position: absolute;
  top: 50%;
  width: fit-content;
  text-shadow: 0 0 5px #666;
  z-index: 5;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.top-slogan li.show-text .top-big {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.top-slogan li.show-text .top-content {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.top-text {
  overflow: hidden;
}
.top-big {
  font-size: 60px;
  font-family: "Kalam", "Dosis", "Barlow", cursive, serif;
  font-weight: 300;
  opacity: 0;
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
  -moz-transition: opacity 1s, -moz-transform 1s;
  -o-transition: opacity 1s, -o-transform 1s;
  -webkit-transition: opacity 1s, -webkit-transform 1s;
  transition: opacity 1s, transform 1s;
}
.top-content {
  font-size: 20px;
  margin-top: 30px;
  position: relative;
  padding-left: 65px;
  opacity: 0;
  -moz-transform: translateY(100%);
  -ms-transform: translateY(100%);
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  -moz-transition: opacity 1s, -moz-transform 1s;
  -o-transition: opacity 1s, -o-transform 1s;
  -webkit-transition: opacity 1s, -webkit-transform 1s;
  transition: opacity 1s, transform 1s;
}
.top-content:before {
  content: "";
  width: 40px;
  height: 1px;
  background: #FFF;
  position: absolute;
  top: 55%;
  left: 0;
}

.about-inner {
  padding: 0 8%;
}
.about-slogan {
  text-align: center;
  margin-bottom: 80px;
}
.about-slogan p {
  margin-bottom: 10px;
}
.about-slogan p:last-child {
  margin-bottom: 0;
}
.about-big {
  font-size: 2rem;
  margin-right: 5px;
  color: #95b3c1;
}
.about-wrap {
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: flex-end;
  align-items: flex-end;
  -webkit-justify-content: center;
  justify-content: center;
  margin-bottom: 50px;
}
.about-img {
  width: 30%;
  z-index: 1;
  clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%);
  -moz-transition: clip-path 0.6s linear;
  -o-transition: clip-path 0.6s linear;
  -webkit-transition: clip-path 0.6s linear;
  transition: clip-path 0.6s linear;
}
.about-img.show {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.about-img img {
  width: 100%;
}
.about-content {
  width: 35%;
  margin-left: -5%;
  margin-bottom: -50px;
  padding: 50px 50px 50px 100px;
  background: #15223c;
}
.about-text:after {
  content: "";
  width: calc(100% + 100px);
  height: 1px;
  background: #95b3c1;
  display: block;
  margin-left: -100px;
  margin-top: 25px;
}

.chat {
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: column;
  flex-flow: column;
}
.chat-img {
  background-image: url(../images/index/chat.jpg);
  background-position: 50% 80%;
  background-size: cover;
  background-repeat: no-repeat;
  width: 110%;
  height: 35vw;
  -webkit-filter: brightness(0.9);
  filter: brightness(0.9);
  z-index: -2;
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
  -moz-transition: clip-path 0.6s linear;
  -o-transition: clip-path 0.6s linear;
  -webkit-transition: clip-path 0.6s linear;
  transition: clip-path 0.6s linear;
}
.chat-img.show {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.chat-inner {
  padding: 0 8%;
}
.chat-wrap {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  margin-top: -75px;
  position: relative;
}
.chat-wrap.show:after {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.chat-wrap:after {
  content: "";
  width: 110%;
  height: 1px;
  background: #95b3c1;
  position: absolute;
  bottom: 45px;
  right: -10%;
  z-index: -2;
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  -moz-transition: clip-path 0.6s linear 0.4s;
  -o-transition: clip-path 0.6s linear 0.4s;
  -webkit-transition: clip-path 0.6s linear;
  -webkit-transition-delay: 0.4s;
  transition: clip-path 0.6s linear 0.4s;
}
.chat-panel {
  width: 40%;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  opacity: 0;
  -moz-transform: translateY(30px);
  -ms-transform: translateY(30px);
  -webkit-transform: translateY(30px);
  transform: translateY(30px);
  -moz-transition: all 0.6s linear;
  -o-transition: all 0.6s linear;
  -webkit-transition: all 0.6s linear;
  transition: all 0.6s linear;
}
.show .chat-panel {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.chat-bg {
  background: #15223c;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
}
.chat-slogan {
  font-size: 20px;
  padding-bottom: 20px;
}
.chat-content {
  padding: 50px;
}
.chat-btn {
  margin: 25px 17px 0 auto;
}

.service-inner {
  padding: 0 8%;
}
.service-title {
  font-size: 1.5rem;
  font-family: "Dosis", "Barlow", serif, "STHeiti Light", "Heiti TC", "微軟正黑體", "Microsoft JhengHei", sans-serif;
  text-align: center;
  padding-bottom: 50px;
}
.service-list {
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.service-item {
  width: 20%;
  margin: 2.5%;
  position: relative;
}
.service-item:nth-child(2) .service-bg, .service-item:nth-child(4) .service-bg, .service-item:nth-child(5) .service-bg, .service-item:nth-child(7) .service-bg {
  background: #37515e;
}
.service-content {
  padding: 30px 2%;
  text-align: center;
}
.service-num {
  width: 17%;
  min-width: 40px;
  margin: auto;
}
.service-num img {
  width: 100%;
}
.service-img {
  width: 80%;
  margin: 30px auto;
  -webkit-filter: saturate(0.2);
  filter: saturate(0.2);
}
.service-img img {
  width: 100%;
}
.service-bg {
  width: 100%;
  height: 100%;
  background: #15223c;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.service-button {
  width: fit-content;
  margin: 50px auto 0;
  position: relative;
}
.service-button.show:before, .service-button.show:after {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.service-button:before {
  content: "";
  width: calc(50vw - 40px);
  height: 1.5px;
  background: #95b3c1;
  position: absolute;
  top: 80%;
  left: -50vw;
  clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -moz-transition: clip-path 0.6s linear;
  -o-transition: clip-path 0.6s linear;
  -webkit-transition: clip-path 0.6s linear;
  transition: clip-path 0.6s linear;
}
.service-button:after {
  content: "";
  width: calc(50vw - 40px);
  height: 1.5px;
  background: #95b3c1;
  position: absolute;
  top: 80%;
  right: -50vw;
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -moz-transition: clip-path 0.6s linear;
  -o-transition: clip-path 0.6s linear;
  -webkit-transition: clip-path 0.6s linear;
  transition: clip-path 0.6s linear;
}
.service-btn {
  opacity: 0;
  -moz-transition: opacity 0.6s linear;
  -o-transition: opacity 0.6s linear;
  -webkit-transition: opacity 0.6s linear;
  transition: opacity 0.6s linear;
}
.show .service-btn {
  opacity: 1;
}

.contact-inner {
  padding: 0 8%;
}
.contact-wrap {
  display: -ms-flexbox;
  display: flex;
}
.contact-img {
  background-image: url(../images/index/contact.jpg);
  background-position: 50% 95%;
  background-size: cover;
  background-repeat: no-repeat;
  width: 70%;
}
.contact-panel {
  width: 30%;
  padding: 50px;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  background: #15223c;
}
.contact-title {
  font-size: 1.5rem;
  font-family: "Dosis", "Barlow", serif, "STHeiti Light", "Heiti TC", "微軟正黑體", "Microsoft JhengHei", sans-serif;
  text-align: center;
  padding-bottom: 50px;
}
.contact-subtitle {
  padding-top: 50px;
  text-align: center;
}
.contact-list {
  overflow: hidden;
}
.contact-item {
  min-height: 20px;
  padding-left: 30px;
  position: relative;
}
.contact-item:not(:last-child) {
  margin-bottom: 15px;
}
.contact-icon {
  width: 20px;
  color: #DDD;
  position: absolute;
  top: 50%;
  left: 0;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.contact-icon img {
  width: 100%;
}

@media screen and (max-width: 1100px) {
  .top-img li {
    width: 100%;
  }
  .top-img li:nth-child(2) {
    background-position: 40% 40%;
  }
  .top-img li:last-child {
    background-position: 50% 85%;
  }
  .top-slogan li {
    top: 10%;
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  .top-big {
    font-size: 45px;
  }

  .about-inner {
    padding: 0 5%;
  }
  .about-wrap {
    margin-bottom: 40px;
  }
  .about-img {
    width: 45%;
  }
  .about-content {
    width: 40%;
    margin-left: -4%;
    margin-bottom: -40px;
    padding: 40px 40px 40px 80px;
  }

  .chat-inner {
    padding: 0 5%;
  }
  .chat-content {
    padding: 40px;
  }

  .service-inner {
    padding: 0 5%;
  }
  .service-item {
    width: 23%;
    margin: 2% 1%;
  }
  .service-content {
    padding: 30px;
  }
  .service-img {
    width: 100%;
    margin: 20px auto;
  }

  .contact-inner {
    padding: 0 5%;
  }
  .contact-panel {
    padding: 40px;
  }
}
@media screen and (max-width: 800px) {
  .about-content {
    clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
    -moz-transition: clip-path 0.6s linear;
    -o-transition: clip-path 0.6s linear;
    -webkit-transition: clip-path 0.6s linear;
    transition: clip-path 0.6s linear;
  }
  .about-content.show {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  }

  .chat-img {
    background-position: 50% 90%;
    height: 45vw;
  }
  .chat-panel {
    width: 45%;
  }

  .service-item {
    width: 30%;
    margin: 2% 1.5%;
  }
  .service-item:nth-child(odd) {
    background: #15223c;
  }
  .service-item:nth-child(even) {
    background: #37515e;
  }

  .contact-wrap {
    display: block;
  }
  .contact-img {
    width: 100%;
  }
  .contact-panel {
    width: calc(100% - 80px);
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
  }
  .contact-content {
    width: 100%;
  }
  .contact-title {
    padding-bottom: 40px;
  }
}
@media screen and (max-width: 640px) {
  .top-img {
    height: 100%;
  }
  .top-slogan li {
    width: 100%;
    top: 50%;
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  .top-text {
    text-align: center;
  }
  .top-big {
    font-size: 30px;
  }
  .top-big span {
    display: block;
    line-height: 30px;
  }
  .top-content {
    margin-top: 80px;
    padding-left: unset;
  }
  .top-content:before {
    width: 1px;
    height: 30px;
    top: -50px;
    left: 50%;
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  .about-inner {
    padding: 0 25px;
  }
  .about-slogan {
    margin-bottom: 50px;
  }
  .about-big {
    font-size: 1.5rem;
  }
  .about-wrap {
    display: block;
    margin-bottom: unset;
  }
  .about-img {
    width: 100%;
    height: 350px;
    background-image: url(../images/index/about.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
  }
  .about-img img {
    display: none;
  }
  .about-content {
    width: calc(100% - 60px);
    margin-left: unset;
    margin-bottom: unset;
    padding: 30px;
  }
  .about-text:after {
    width: 100%;
    margin-left: unset;
  }

  .chat-inner {
    padding: 0 25px;
  }
  .chat-img {
    height: 280px;
  }
  .chat-wrap {
    display: block;
    margin-top: unset;
  }
  .chat-wrap:after {
    display: none;
  }
  .chat-panel {
    width: 100%;
  }
  .chat-bg {
    background: unset;
  }
  .chat-content {
    padding: 30px 0 0;
  }
  .chat-text:after {
    content: "";
    width: 0%;
    height: 1px;
    background: #95b3c1;
    display: block;
    margin-top: 25px;
    -moz-transition: width 0.6s linear 0.4s;
    -o-transition: width 0.6s linear 0.4s;
    -webkit-transition: width 0.6s linear;
    -webkit-transition-delay: 0.4s;
    transition: width 0.6s linear 0.4s;
  }
  .show .chat-text:after {
    width: 100%;
  }

  .service-inner {
    padding: 0 25px;
  }
  .service-title {
    padding-bottom: 30px;
  }
  .service-item {
    width: 49%;
    margin: 2% 1%;
  }
  .service-item:nth-child(odd) {
    margin-left: unset;
  }
  .service-item:nth-child(even) {
    margin-right: unset;
  }
  .service-item:nth-child(1), .service-item:nth-child(4), .service-item:nth-child(5), .service-item:nth-child(8) {
    background: #15223c;
  }
  .service-item:nth-child(2), .service-item:nth-child(3), .service-item:nth-child(6), .service-item:nth-child(7) {
    background: #37515e;
  }
  .service-content {
    padding: 25px;
  }
  .service-button {
    margin: 30px auto 0;
  }

  .contact-inner {
    padding: 0 25px;
  }
  .contact-img {
    height: 250px;
    background-position: 80% 95%;
  }
  .contact-panel {
    padding: 30px;
    width: calc(100% - 60px);
  }
  .contact-title {
    padding-bottom: 30px;
  }
}
