/*------------------------------------*\
    $CONTENTS
\*------------------------------------*/
/**
 * ALL
 * LOADING
 * HEADER
 * BANNER
 * MAIN
 * ABOUT
 * PRODUCTS
 * NEWS
 **/
/*------------------------------------*\
    ALL
\*------------------------------------*/
body {
  position: relative;
}
@media (min-width: 992px) {
  body {
    padding-top: 0;
  }
}

/*------------------------------------*\
    LOADING
\*------------------------------------*/
@-webkit-keyframes loadingLogo {
  0% {
    opacity: 0;
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes loadingLogo {
  0% {
    opacity: 0;
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@-webkit-keyframes loadingEnd {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes loadingEnd {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
.loading {
  background: #ffffff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  z-index: 9999;
}
.loading.is-animated .loading-bg {
  -webkit-transform: scale(10);
          transform: scale(10);
}
.loading.is-animated .loading-logo {
  -webkit-animation-play-state: running;
          animation-play-state: running;
}
.loading.is-end {
  -webkit-animation: loadingEnd 0.8s 1s forwards;
          animation: loadingEnd 0.8s 1s forwards;
}
.loading.is-hide {
  opacity: 0;
  visibility: hidden;
}
@media (min-width: 768px) {
  .loading.is-animated .loading-bg {
    -webkit-transform: scale(24);
            transform: scale(24);
  }
}
.loading-bg {
  -webkit-transition: -webkit-transform 0.8s ease;
  transition: -webkit-transform 0.8s ease;
  transition: transform 0.8s ease;
  transition: transform 0.8s ease, -webkit-transform 0.8s ease;
  background: #003c8c;
  border-radius: 50%;
  opacity: 0.6;
  position: absolute;
  width: 53%;
}
.loading-bg::before {
  content: "";
  display: block;
  padding-top: 100%;
}
.loading-bg:nth-of-type(1) {
  top: -17.5%;
  left: -53%;
}
.loading-bg:nth-of-type(2) {
  bottom: -17.5%;
  left: -53%;
  -webkit-transition-delay: 0.2s;
          transition-delay: 0.2s;
}
.loading-bg:nth-of-type(3) {
  opacity: 1;
  top: -17.5%;
  right: -53%;
  -webkit-transition-delay: 0.3s;
          transition-delay: 0.3s;
}
@media (min-width: 768px) {
  .loading-bg {
    width: 200px;
  }
  .loading-bg:nth-of-type(1) {
    top: -200px;
    left: -200px;
  }
  .loading-bg:nth-of-type(2) {
    bottom: -200px;
    left: -200px;
  }
  .loading-bg:nth-of-type(3) {
    top: -200px;
    right: -200px;
  }
}
.loading-logo {
  -webkit-animation: loadingLogo 0.6s 1.1s forwards;
          animation: loadingLogo 0.6s 1.1s forwards;
  -webkit-animation-play-state: paused;
          animation-play-state: paused;
  color: #ffffff;
  opacity: 0;
  width: 62%;
  max-width: 325px;
}
.loading-logo img {
  -webkit-filter: brightness(0) invert(1);
          filter: brightness(0) invert(1);
  display: block;
  height: 100%;
  width: 100%;
}

/*------------------------------------*\
    HEADER
\*------------------------------------*/
@media (min-width: 992px) {
  .navbar {
    background-color: transparent;
  }
  .navbar-fixed {
    background-color: #ffffff;
  }
}
/*------------------------------------*\
    BANNER
\*------------------------------------*/
.banner {
  background-image: url(../images/banner.jpg);
  background-position: left top;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
}
@media (min-width: 768px) {
  .banner {
    height: 100%;
    max-height: 940px;
  }
}
@media (min-width: 992px) {
  .banner {
    padding-top: 120px;
  }
}
.banner-content {
  max-width: 100%;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media (min-width: 768px) {
  .banner-content {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
  }
}
@media (min-width: 1600px) {
  .banner-content {
    max-width: 1500px;
  }
}
.banner-pic {
  border-bottom-left-radius: 0;
  max-width: 820px;
  height: 100%;
  margin-right: auto;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.banner-pic::before {
  display: none;
}
.banner-pic img {
  position: relative;
  top: 0;
  right: 0;
}
@media (min-width: 768px) {
  .banner-pic {
    width: 60%;
  }
  .banner-pic img {
    right: -30px;
  }
}
@media (min-width: 992px) {
  .banner-pic img {
    top: -45px;
  }
}
.banner-txt {
  position: relative;
  margin-top: 1rem;
  top: auto;
  left: auto;
  -webkit-transform: none;
          transform: none;
}
@media (min-width: 768px) {
  .banner-txt {
    margin-top: 0;
  }
}
.banner-txt .title {
  color: #003c8c;
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 0.05rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.banner-txt .title span {
  font-size: 2.5rem;
  display: inline;
}
@media (min-width: 992px) {
  .banner-txt .title {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  .banner-txt .title span {
    font-size: 3rem;
  }
}
@media (min-width: 1400px) {
  .banner-txt .title {
    font-size: 4.125rem;
  }
  .banner-txt .title span {
    font-size: 4.125rem;
  }
}
.banner-txt .subtitle {
  color: #717071;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.2;
}
@media (min-width: 992px) {
  .banner-txt .subtitle {
    font-size: 1.6875rem;
    margin-bottom: 1rem;
  }
}
.banner-txt .text {
  color: #000000;
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.25rem;
  margin-bottom: 1rem;
}
@media (min-width: 992px) {
  .banner-txt .text {
    font-size: 1.625rem;
    margin-bottom: 2rem;
  }
}
@media (min-width: 1400px) {
  .banner-txt .text {
    margin-bottom: 3rem;
  }
}

/* PARTICLES */
.particles {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

/* SVG ANIM */
.svg-anim {
  max-width: 100%;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
@media (min-width: 992px) {
  .svg-anim {
    top: 120px;
  }
}
@media (min-width: 1600px) {
  .svg-anim {
    max-width: 1500px;
  }
}

.svg {
  max-width: 820px;
  position: absolute;
  top: 0;
  right: -30px;
  display: none;
}
@media (min-width: 768px) {
  .svg {
    width: 60%;
    display: block;
  }
}
@media (min-width: 992px) {
  .svg {
    top: -40px;
    right: -30px;
  }
}

/* SWIPER-BANNER */
@-webkit-keyframes maskAnime {
  0% {
    -webkit-mask-size: 100% 0%;
            mask-size: 100% 0%;
  }
  100% {
    -webkit-mask-size: 100% 200%;
            mask-size: 100% 200%;
  }
}
@keyframes maskAnime {
  0% {
    -webkit-mask-size: 100% 0%;
            mask-size: 100% 0%;
  }
  100% {
    -webkit-mask-size: 100% 200%;
            mask-size: 100% 200%;
  }
}
.swiper-banner {
  z-index: 2;
}
.swiper-banner .swiper-slide {
  padding-bottom: 5rem;
}
.swiper-banner .swiper-slide .banner-txt {
  opacity: 0;
}
.swiper-banner .swiper-slide .banner-pic {
  -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, color-stop(60%, #000000), color-stop(90%, transparent));
  -webkit-mask-image: linear-gradient(#000000 60%, transparent 90%);
          mask-image: -webkit-gradient(linear, left top, left bottom, color-stop(60%, #000000), color-stop(90%, transparent));
          mask-image: linear-gradient(#000000 60%, transparent 90%);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: 100% 200%;
          mask-size: 100% 200%;
  -webkit-mask-position: 0 0;
          mask-position: 0 0;
  -webkit-transition: -webkit-mask-position 5s;
  transition: -webkit-mask-position 5s;
  transition: mask-position 5s;
  transition: mask-position 5s, -webkit-mask-position 5s;
  opacity: 0;
}
.swiper-banner .swiper-slide-active .banner-txt {
  opacity: 1;
}
.swiper-banner .swiper-slide-active .banner-pic {
  opacity: 1;
  -webkit-animation: maskAnime 2s forwards;
          animation: maskAnime 2s forwards;
}
@media (min-width: 768px) {
  .swiper-banner .swiper-slide {
    padding-bottom: 0;
  }
}
.swiper-banner .swiper-pagination {
  color: transparent;
  max-width: 100%;
  right: 0;
  bottom: 30px;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}
.swiper-banner .swiper-pagination span {
  color: #003c8c;
}
.swiper-banner .swiper-pagination span + span {
  margin-left: 6rem;
  position: relative;
}
.swiper-banner .swiper-pagination span + span::before {
  content: "";
  background-color: #003c8c;
  width: 80px;
  height: 1px;
  position: absolute;
  top: 50%;
  left: -90px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
@media (min-width: 1600px) {
  .swiper-banner .swiper-pagination {
    bottom: 50px;
  }
}

/*------------------------------------*\
    MAIN
\*------------------------------------*/
main {
  padding: 0;
  position: relative;
  z-index: 3;
}

/* BUTTON */
.button {
  background-color: #003c8c;
  color: #ffffff;
  font-weight: 300;
}
.button img {
  -webkit-filter: brightness(0) invert(1);
          filter: brightness(0) invert(1);
  -webkit-transform: scaleX(-1);
          transform: scaleX(-1);
  margin-left: 1rem;
  margin-right: 0;
}
.button:hover {
  background-color: #ffffff;
  color: #003c8c;
}
.button:hover img {
  -webkit-filter: none;
          filter: none;
}
@media (min-width: 1400px) {
  .button {
    font-size: 1rem;
    letter-spacing: 0.125rem;
    padding: 1rem;
    max-width: 260px;
  }
}
.button-secondary {
  border-color: #ec5629;
  background-color: #ec5629;
}
.button-secondary:hover {
  background-color: #ffffff;
  color: #ec5629;
}

/*------------------------------------*\
    ABOUT
\*------------------------------------*/
.index-about {
  background-image: url(../images/index-about.jpg);
  background-position: center bottom;
  padding-top: 3rem;
  padding-bottom: rem;
}
@media (min-width: 992px) {
  .index-about {
    padding-top: 9rem;
    padding-bottom: 0;
  }
}
.index-about .row > [class*=col-]:first-child {
  position: relative;
}
.index-about .row > [class*=col-]:last-child {
  padding-top: 2rem;
}
@media (min-width: 576px) {
  .index-about .row > [class*=col-]:first-child {
    padding-bottom: 5rem;
  }
}
@media (min-width: 1400px) {
  .index-about .row > [class*=col-]:first-child {
    padding-bottom: 10rem;
    padding-right: 3rem;
  }
  .index-about .row > [class*=col-]:last-child {
    padding-top: 4.5rem;
    padding-left: 5rem;
  }
}
.index-about .picture {
  text-align: right;
}
.index-about .picture img {
  border-radius: 0.75rem;
}
.index-about .picture .small {
  margin-top: 1rem;
}
@media (min-width: 576px) {
  .index-about .picture .small {
    max-width: 230px;
    margin-top: 0;
    position: absolute;
    left: 12px;
    bottom: 0;
  }
}
@media (min-width: 1400px) {
  .index-about .picture .big {
    max-width: 560px;
  }
  .index-about .picture .small {
    bottom: 50px;
  }
}
.index-about .title {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: bold;
}
.index-about .text {
  color: #717071;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 1rem;
}
@media (min-width: 992px) {
  .index-about .text {
    font-size: 1.0625rem;
    letter-spacing: 0.075rem;
    line-height: 2.3;
  }
}

/*------------------------------------*\
    PRODUCTS
\*------------------------------------*/
@-webkit-keyframes scrollLeft {
  from {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}
@keyframes scrollLeft {
  from {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}
.index-products {
  position: relative;
}
.index-products::before {
  content: "";
  background-image: url(../images/index-products-text.svg);
  width: 500%;
  height: 30px;
  margin: 0 1rem;
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  -webkit-animation: scrollLeft 100s infinite linear 0.5s both;
          animation: scrollLeft 100s infinite linear 0.5s both;
}
@media (min-width: 992px) {
  .index-products::before {
    height: 100px;
    top: 40px;
  }
}
@media (min-width: 1400px) {
  .index-products::before {
    height: 130px;
    top: 0;
  }
}
.index-products::after {
  content: "";
  border-radius: 50%;
  background-color: rgba(236, 86, 41, 0.1);
  width: 560px;
  height: 560px;
  position: absolute;
  left: -280px;
  bottom: -280px;
}
.index-products > .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
  position: relative;
  z-index: 2;
}
@media (min-width: 992px) {
  .index-products > .container {
    padding-top: 6.5rem;
    padding-bottom: 6rem;
  }
}
.index-products .subtitle {
  color: #003c8c;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 1.75rem;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.075rem;
  line-height: 1.2;
}
@media (min-width: 992px) {
  .index-products .subtitle {
    font-size: 2.5rem;
    letter-spacing: 0.25rem;
    margin-bottom: 1.25rem;
  }
}
.index-products .text {
  color: #717071;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 1rem;
  text-align: center;
  letter-spacing: 0.075rem;
  line-height: 1.8;
}
.index-products .products-list {
  margin: 3rem 0 2rem;
  position: relative;
}
@media (min-width: 992px) {
  .index-products .products-list {
    margin: 5.5rem 0 5rem;
  }
}
.index-products .products-list .item {
  margin-bottom: 0;
}
.index-products .swiper-products {
  padding-bottom: 3rem;
}
@media (min-width: 576px) {
  .index-products .swiper-products .swiper-slide:nth-child(even) {
    margin-top: 3.5rem;
  }
}
@media (min-width: 992px) {
  .index-products .swiper-products {
    padding-bottom: 0;
  }
}
.index-products .swiper-pagination {
  display: block;
}
.index-products .swiper-pagination-bullet {
  background-color: #003c8c;
}
@media (min-width: 992px) {
  .index-products .swiper-pagination {
    display: none;
  }
}
.index-products .swiper-button-next,
.index-products .swiper-button-prev {
  display: none;
}
.index-products .swiper-button-next::after,
.index-products .swiper-button-prev::after {
  color: #003c8c;
  font-size: 2rem;
}
@media (min-width: 992px) {
  .index-products .swiper-button-next,
  .index-products .swiper-button-prev {
    display: block;
  }
}
.index-products .swiper-button-next {
  right: 0;
}
@media (min-width: 1600px) {
  .index-products .swiper-button-next {
    right: -70px;
  }
}
.index-products .swiper-button-prev {
  left: 0;
}
@media (min-width: 1600px) {
  .index-products .swiper-button-prev {
    left: -70px;
  }
}

/*------------------------------------*\
    NEWS
\*------------------------------------*/
.index-news {
  background-color: #ffffff;
  background-image: url(../images/index-news.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}
@media (min-width: 992px) {
  .index-news {
    padding: 8rem 0 5rem;
  }
}
@media (min-width: 1400px) {
  .index-news {
    padding: 12rem 0 5rem;
  }
}
.index-news .container {
  position: relative;
}
.index-news .swiper {
  margin-top: 4rem;
  padding-bottom: 3rem;
}
.index-news .swiper-pagination-bullet {
  background-color: #003c8c;
}
.index-news .subtitle {
  color: #003c8c;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 1.75rem;
  font-weight: bold;
  letter-spacing: 0.25rem;
  line-height: 1.2;
  position: relative;
}
.index-news .subtitle::before {
  content: "";
  background-color: #ffffff;
  width: auto;
  height: 1px;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  left: 150px;
  right: 0;
}
.index-news .subtitle span {
  color: #ec5629;
}
@media (min-width: 992px) {
  .index-news .subtitle {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
  }
  .index-news .subtitle::before {
    left: 180px;
  }
}
.index-news .sectitle {
  color: #ffffff;
  font-family: "Roboto Flex", sans-serif;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 0.25rem;
}
@media (min-width: 992px) {
  .index-news .sectitle {
    font-size: 4.75rem;
    letter-spacing: 0.6rem;
  }
}
.index-news .subtext {
  color: #717071;
  font-family: "Noto Sans TC", sans-serif;
  letter-spacing: 0.075rem;
  line-height: 1.8;
  margin-top: 1rem;
}
@media (min-width: 992px) {
  .index-news .subtext {
    text-align: right;
    position: absolute;
    top: 0;
    right: 1rem;
  }
}