:root {
  --color-default-rgb: 33, 37, 41;
}

/*for index.html*/
.swiper-container {
  height: 780px;
}

#swiper-content.swiper-container {
  padding: 0px !important
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.slider01 {
  background: url(../../images/bannerIndex-fix.jpg) bottom no-repeat;
  background-size: cover;
}

.slider02 {
  background: url(../../images/bannerIndex02.png) right top no-repeat;
  background-size: cover;
}
.slider02-1 {
  background: url(../../images/bannerIndex02-3.jpg) right top no-repeat;
  background-size: cover;
}



.swiper-slide h1 {
  font-size: 50px;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.swiper-slide h3 {
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 50px;
  line-height: 1.5;
  letter-spacing: 1.5px;
}

.swiper-slide h4 {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
}

.swiper-container2 {
  display: -ms-inline-grid;
  justify-content: center;
  margin-top: 20px;
}

/*主標題滑入*/
h1.tx-ef {
  animation: text-slide-up 2s cubic-bezier(0, 1, 1, 1);
}

.title-container {
  height: 80px;
  overflow: hidden;
  margin-top: 50px;
}

@keyframes text-slide-up {
  from {
    padding-top: 110px;
  }
}

/*副標題淡入*/
.subtitle-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.subtitle-container2 {
  text-align: center;
  display: flex;
}

.tx-ef {
  display: flex;
}

.tx-ef2 {
  display: flex;
  justify-content: center;
}

.tx-ef>h3,
.tx-ef>.link-btn {
  font-family: 'Merriweather', serif;
  cursor: default;
  opacity: 0;
  animation: fadeIn 2s ease-in both;
}

/*右下方線條 Start*/
.type {
  position: relative;
  width: 100%;
  height: 100vh;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;

  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(180deg, rgba(#000, 0) 0, rgba(#000, .8) 80%, rgba(#000, .8) 100%);
  }
}

.type a {
  display: inline-block;
  position: absolute;
  right: 200px;
  bottom: 0;
  z-index: 2;
  padding: 10px 10px 110px;
  color: #fff;
  font-size: 14px;
  font-family: 'Josefin Sans', sans-serif;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-lr;
  transition: .2s;
  overflow: hidden;

  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 100px;
    background: #fff;
  }

  &:hover {
    opacity: .5;
  }
}

#type01 a::after {
  animation: sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl01 {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }

  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }

  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }

  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/*右下方線條 End*/
.slider01 p {
  font-size: 14px;
  font-weight: bold;
  color: #7F7F7F;
  margin: 10px 0 20px;
  max-width: 420px;
}

.link-btn button {
  color: #fff;
  border: none;
  font-weight: 500;
}

.link-btn button:hover {
  color: #232628;
}

.link-btn {
  font-size: 18px;
  color: #fff;
  border: 1px solid #fff;
  display: inline-flex;
  border-radius: 3px;
  padding: 1px 30px;
  opacity: 0;
  animation: fadeIn 1.5s ease-in both;
}

.link-btn:hover {
  background: #fff;
}

.slider01 .link-more:hover i {
  margin-left: 5px;
}

.slider02 h4 {
  font-size: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #fff;
}

.slider02 h4 .yellow {
  color: #FFC759;
  font-size: 28px;
}

.slider02 ul li {
  list-style-image: url("../images/dot.svg");
  line-height: 2;
  letter-spacing: 1px;
}

.slider02 h6 {
  display: inline-block;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  border-bottom: 1px solid #FFF;

  margin-bottom: 8px;
}

.slider02 .platform-list li {
  list-style: none;
  color: #Fff;
  font-size: 12px;
}

.slider02 .platform-list li::before {
  content: '';
  margin-left: -20px;
  margin-right: 10px;
  display: inline-block;
  width: 12px;
  height: 12px;
  background: url("../../images/icon/dot.svg");
}

.swiper-button-prev:after,
.swiper-button-next:after {
  content: none;
}

.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: 78%;
  width: 42px;
  height: 42px;
  z-index: 10;
  cursor: pointer;
  background-image: url(../../images/icon/arrow.svg);
  background-size: 40%;
  background-position: 10px center;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.swiper-button-prev {
  left: auto;
  right: calc(5% + 80px);

}

.swiper-button-next {
  right: 5%;
  transform: rotate(180deg);
}

/*slides-product*/
.slides-product .card-item {
  height: 100%;
  margin: 10px 0 40px;
}

.slides-product .card-body {
  min-height: 250px;
}

.slides-product .swiper-slide .card-item {
  opacity: 0.6;
}

.slides-product .swiper-slide-next .card-item {
  opacity: 1;
  transform: scale(1.1);
  transition: all 0.3s;
}

.slides-product .swiper-button-next {
  top: 58%;
  left: 50%;
  margin-left: 20%;
}

.slides-product .swiper-button-prev {
  top: 58%;
  left: 50%;
  margin-left: -22%;
}

/**slides-features**/
.slides-features {
  height: 580px;
}


.slides-features .swiper-slide {
  height: calc((100% - 30px) / 2);
}

.slides-features .icon-box-wrap {
  border: 0;
  background-color: #F7F9FB
}

.slides-features .icon-box-wrap:hover {
  background-color: #fff;
}

.slides-features .icon-box-wrap:hover p {
  color: var(--color-secondary);
}

.slides-features i {
  font-size: 48px;
}


.slides-features .icon-box-wrap .content img {
  width: 48px;
}

.slides-features .tx-load i {
  font-size: 18px;
  color: #004098
}

.slides-features i:before {
  background: #1dc8cd;
  background: linear-gradient(45deg, #1d1dcd 0%, #55a5fa 100%);
  background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sss.slides-features {
  height: auto;
  padding-top: 100px;
  margin-top: -120px;
}

.sss.slides-features .swiper-slide {
  height: auto;
}

.sqs.slides-features {
  padding-top: 100px;
  margin-top: -120px;
}

.sqs.slides-features {
  height: 720px;
}

.sqs.slides-features .icon-box-wrap:hover {
  background-color: #fff;
  border: 1px solid var(--color-primary);
}

.sss .swiper-button-next,
.sss .swiper-button-prev,
.sqs .swiper-button-next,
.sqs .swiper-button-prev {
  position: absolute;
  top: 42px;
  width: 42px;
  height: 42px;
  z-index: 10;
  cursor: pointer;
  background-image: url(../../images/icon/arrow_wh.svg);
  background-size: 40%;
  background-position: 10px center;
  background-repeat: no-repeat;
  background-color: rgba(0, 64, 152, 1);
  border-radius: 50%;
}

.sss .swiper-button-prev,
.sqs .swiper-button-prev {
  left: auto;
  right: calc(5% + 80px);
}

.sss .swiper-button-next,
.sqs .swiper-button-next {
  right: 5%;
  transform: rotate(180deg);
}

.sss-img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #ccc;
  padding: 6px;
  margin-bottom: 16px;
}

.sss .content {
  padding: 0 16px;
}

@media screen and (max-width:1200px) {

  /* .slider01 {
    background: url(../../images/bannerIndex01.png) top right no-repeat;
  } */

  .slider01 .container {
    background-color: rgba(255, 255, 255, 0.3); 
    padding: 20px;

  }

  .slider01 p {
    color: #555;
  }

  .swiper-slide {
    height: 540px;
  }

  .swiper-container {
    height: 540px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    top: 86%;
  }

  .slider01 h1 {
    font-size: 41px;
  }
}

@media screen and (max-width:992px) {


  .slides-product .swiper-slide-next .card-item {
    transform: scale(1);
  }

  .slides-product .swiper-slide .card-item {
    opacity: 1;
  }

  .slides-product .swiper-slide .card-body {
    padding: 30px 50px;
  }

  .slides-product .swiper-button-next {
    top: 58%;
    right: 0%;
    left: auto;
    margin-left: auto;
  }

  .slides-product .swiper-button-prev {
    top: 58%;
    left: 0%;
    right: auto;
    margin-left: auto;
  }

  .sqs.slides-features {
    height: 640px;
  }
}

@media screen and (max-width:767px) {

  .sss.slides-features .content h5 {
    margin-bottom: 4px;
  }

  .sss.slides-features .content p {
    line-height: 1.2;
    font-size: 14px;
  }
  .slider01 h1 {
    font-size: 31px;
}
}



.swiper-pagination .swiper-pagination-bullet {
  background-color: var(--color-secondary);
  margin: 0 4px;
}

.swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}