/* index banner css setting */
.carousel {
  background-color: #000;
}
.carousel,
.carousel-item {
  height: 100vh;
}

.carousel-inner {
  height: 100%;
}

.carousel-item img {
  object-fit: cover;
  height: 100%;
}
@media (max-width: 991px) {
  .carousel,
  .carousel-item {
    height: auto;
    padding-bottom: 30px;
  }
}
 @media (max-width: 768px) {
  .carousel,
  .carousel-item {
    padding-bottom: 10px;
  }
}
/*@media (max-width: 640px) {
  .carousel,
  .carousel-item {
    height: 60vh;
  }
}
@media (max-width: 480px) {
  .carousel,
  .carousel-item {
    height: 50vh;
  }
} */
.index-slider .carousel-caption {
  bottom: inherit;
  top: 36%;
  right: 12%;
  left: 12%;
}
.index-slider .carousel-caption::before, .index-slider .carousel-caption::after {
  position: absolute;
  left: calc(50% - 80px);
  width: 160px;
  height: 1px;
  /*background-color: #fff;*/
  content: "";
}
.index-slider .carousel-caption::before {
  top: 0;
}
.index-slider .carousel-caption::after {
  bottom: 0;
}
@media (max-width: 991px) {
  .index-slider .carousel-caption {
    padding: 20px 12px;
  }
  .index-slider .carousel-caption::before, .index-slider .carousel-caption::after {
    display: none;
  }
    .carousel-indicators {
    bottom: inherit;
    top: 50vw;
  }

  .carousel-control-next, 
  .carousel-control-prev {
    height: 120px;
    top: 20vw;
    bottom: inherit;
  }
}
@media (max-width: 480px) {
  .carousel-indicators {
    top: 48vw;
  }
  .carousel-control-next, 
  .carousel-control-prev {
    top: 16vw;
  }
}
.index-slider .carousel-caption h5,
.index-slider .carousel-caption p {
  font-style: italic;
  text-shadow: 0 0 9px rgba(0,0,0,.2);
}

.index-slider .carousel-caption h5 {
  font-size: 40px;
  font-weight: bold;
  font-family: "Abril Fatface","Noto Serif TC", serif;
  letter-spacing: 0.25rem;
  margin-bottom: 10px;
}
@media (max-width: 991px) {
  .index-slider .carousel-caption h5 {
    font-size: 30px;
  }
}
@media (max-width: 480px) {
  .index-slider .carousel-caption h5 {
    font-size: 24px;
  }
}
.index-slider .carousel-caption p {
  font-size: 18px;
  font-weight: 600;
  font-family: "Noto Serif TC", serif;
  letter-spacing: 0.1rem;
  margin-bottom: 0;
}
@media (max-width: 480px) {
  .index-slider .carousel-caption p {
    font-size: 16px;
  }
}

/* 分頁器 */
.carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}



/* index news css setting */
.news_in {
  background-image: none !important;
  background-color: #000;
}

.news_mask {
  padding: 70px 0 30px;
  background-image: none !important;
  background-position: bottom;
  background-size: cover;
}
.news_mask .container .row {
  padding-bottom: 0;
}
@media (max-width: 1200px){
  .news_mask {
    padding-bottom: 60px;
  }
  .news_mask .container {
    padding: 0 15px;
  }
  /* .news_mask .container .row {
    padding-bottom: 30px;
  } */
}
@media (max-width: 767px){
  .news_mask {
    padding: 70px 0 40px;
  }
}
/* @media (max-width: 480px){
  .news_mask .container .row {
    padding-bottom: 0;
  }
} */
.news_mask .container .title01 {
  position: relative;
  color: #FFF;
}
.news_mask .container .title01::before {
  position: absolute;
  top: -50px;
  left: 50%;
  content: "";
  width: 1px;
  height: 80px;
  background-color: #fff;
}
@media (max-width: 480px) {
  .news_mask .container .title01::before,
  .slogan .container .title01::before {
    height: 60px !important;
    top: -30px !important;
  }
}
.news_mask .container .row .col-md-4 {
  position: relative;
}
@media (max-width: 767px) {
  .news_mask .container .row .col-md-4 {
    margin-bottom: 20px;
  }
}
.news_mask .container .row .col-md-4 .ind_date {
  position: absolute;
  top: 15px;
  right: 30px;
  padding: 3px 7px;
  font-size: 14px;
  font-weight: bold;
  color: var(--main-color);
  background-color: #fff;
  box-shadow: 0 0 6px rgba(0,0,0,.2);
  z-index: 1;
}

/* news img hover */
.news_in .a_img {
  height: 250px;
  width: 100%;
  overflow: hidden;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}
@media (max-width: 1200px) {
  .news_in .a_img {
    height: 200px;
  }
}
@media (max-width: 991px) {
  .news_in .a_img {
    height: 160px;
  }
}
@media (max-width: 767px) {
  .news_in .a_img {
    height: auto;
  }
}
.news_in .a_img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: 0.3s;
}

.news_in .col-md-4.col-sm-12:hover img {
  transform: scale(1.2);
}

/* news word hover */
.news_mask .container .row .col-md-4 .indexNews-text {
  position: absolute;
  left: 15px;
  bottom: 0;
  width: calc(100% - 30px);
}
.news_mask .container .row .col-md-4 .indexNews-text::before, 
.news_mask .container .row .col-md-4 .indexNews-text::after {
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  height: 3px;
}
.news_mask .container .row .col-md-4 .indexNews-text::before {
  width: 0;
  background-color: var(--second-color);
  -webkit-transition: .2s cubic-bezier(.24, .74, .58, 1);
  -khtml-transition: .2s cubic-bezier(.24, .74, .58, 1);
  -moz-transition: .2s cubic-bezier(.24, .74, .58, 1);
  -ms-transition: .2s cubic-bezier(.24, .74, .58, 1);
  -o-transition: .2s cubic-bezier(.24, .74, .58, 1);
  transition: .2s cubic-bezier(.24, .74, .58, 1);
  z-index: 2;
}
.news_mask .container .row .col-md-4:hover .indexNews-text::before {
  width: 80px;
}
.news_mask .container .row .col-md-4 .indexNews-text::after {
  width: calc(100% - 20px);
  background-color: #666;
  z-index: 1;
}
.indexNews-text p {
  font-size: 16px;
  font-weight: bold;
  padding: 25px 15px 15px;
  margin-bottom: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  background: rgb(119,119,119);
  background: linear-gradient(180deg, rgba(119,119,119,0) 17%, rgba(87,87,87,1) 100%);
  -webkit-transition: .2s cubic-bezier(.24, .74, .58, 1);
  -khtml-transition: .2s cubic-bezier(.24, .74, .58, 1);
  -moz-transition: .2s cubic-bezier(.24, .74, .58, 1);
  -ms-transition: .2s cubic-bezier(.24, .74, .58, 1);
  -o-transition: .2s cubic-bezier(.24, .74, .58, 1);
  transition: .2s cubic-bezier(.24, .74, .58, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.indexNews-text p .line-height-limit {
  color: #fff;
}

.indexNews-text p::after {
  content: '';
  position: absolute;
  top: -110%;
  left: -210%;
  width: 400%;
  height: 150%;
  opacity: 0;
  transform: rotate(30deg);
  background: rgba(255, 255, 255, .25);
  background: linear-gradient(to right, rgba(255, 255, 255, .25) 0%, rgba(255, 255, 255, .13) 77%, rgba(255, 255, 255, .5) 92%, #fff 100%);
}

.indexNews-text p:hover {
  color: #fff;
}


/* news hover */
.news_in .col-md-4.col-sm-12:hover .indexNews-text p {
  color: #fff;
  background: rgb(119,119,119);
  background: linear-gradient(180deg, rgba(119,119,119,0) 5%, rgba(66,66,66,1) 100%);
}

.news_in .col-md-4.col-sm-12:hover .indexNews-text p::after {
  opacity: 1;
  top: -30%;
  left: 25%;
  -webkit-transition: left 1.5s, top 1.5s, opacity .5s ease;
  -khtml-transition: left 1.5s, top 1.5s, opacity .5s ease;
  -moz-transition: left 1.5s, top 1.5s, opacity .5s ease;
  -ms-transition: left 1.5s, top 1.5s, opacity .5s ease;
  -o-transition: left 1.5s, top 1.5s, opacity .5s ease;
  transition: left 1.5s, top 1.5s, opacity .5s ease;
}

.news_in .col-md-4.col-sm-12:hover .indexNews-text .line-height-limit {
  color: var(--second-color);
}




/* index about css setting */
section.about {
  margin: 0 0 50px;
  /*padding-top: 50px;*/
  padding:0 !important;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: right;
  background-image: none !important;
  background-color: #000;
}
@media (max-width: 991px) {
  section.about {
    padding-top: 0;
  }
}
section.about img {
  max-width: 100%;
  height: auto !important;
}
@media (max-width: 991px){
  section.about {
    margin: 0 0 30px 0;
  }
}
section.about .container {
  /* max-width: 1460px; */
  max-width: 100%;
  padding: 0;
}
section.about .video-container {
  position: relative;
  padding-top: 30px;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
section.about .video-container iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.ab-content {
  width: 50%;
  background-color: #161616A6;
  -webkit-backdrop-filter: blur(15px) brightness(1.15);
  backdrop-filter: blur(15px) brightness(1.15);
  padding: 50px;
}

.ab-title {
  margin-bottom: 2rem;
  font-family: 900;
  letter-spacing: 2px;
}

.ab-content p {
  line-height: 36px;
}

/* ab-pic */
.ab-pic-list {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ab-pic-box {
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.ab-pic-box img {
  transition: all 0.3s;
}

.ab-pic-item:hover .ab-pic-box img {
  transform: scale(1.2);
}


/* index pdt css setting */
.index-product {
  position: relative;
  padding: 50px 0 100px;
  overflow: hidden;
  background-image: none !important;
  /* background-color: #ccc; */
}
.index-product .title01 {
  /* color: #fff; */
  padding-top: 0;
}
.index-product .container {
  /*max-width: 96%;*/
  padding-bottom: 0 !important;
}
.index-product .pli_list {
  flex-direction: column;
  margin-top: -20px;
}
@media (max-width: 991px) {
  .index-product {
    padding: 20px 0 70px;
  }
  .index-product .pli_list {
    margin-top: -10px;
  }
}
@media (max-width: 480px) {
  .index-product {
    padding: 40px 0;
  }
}

/* pdt word box */
.pli_list {
  font-size: 16px;
  background-color: var(--main-color);
  padding: 0.5rem 0;
  margin-top: 1rem;
  /* border: 2px solid var(--main-color); */
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  color: #fff;
  -webkit-transition: .2s cubic-bezier(.24, .74, .58, 1);
  -khtml-transition: .2s cubic-bezier(.24, .74, .58, 1);
  -moz-transition: .2s cubic-bezier(.24, .74, .58, 1);
  -ms-transition: .2s cubic-bezier(.24, .74, .58, 1);
  -o-transition: .2s cubic-bezier(.24, .74, .58, 1);
  transition: .2s cubic-bezier(.24, .74, .58, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 0;
  z-index: 1;
}
@media (max-width: 768px) {
  .pli_list {
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  }
}

.line-height-limit,
.pli_list a {
  color: #FFF;
  display: block;
}

.pli_list::after {
  content: '';
  position: absolute;
  top: -110%;
  left: -210%;
  width: 400%;
  height: 150%;
  opacity: 0;
  transform: rotate(30deg);
  background: rgba(255, 255, 255, .25);
  background: linear-gradient(to right, rgba(255, 255, 255, .25) 0%, rgba(255, 255, 255, .13) 77%, rgba(255, 255, 255, .5) 92%, #fff 100%);
}



.pli_list:hover::after {
  opacity: 1;
  top: -30%;
  left: 25%;
  -webkit-transition: left 1.5s, top 1.5s, opacity .5s ease;
  -khtml-transition: left 1.5s, top 1.5s, opacity .5s ease;
  -moz-transition: left 1.5s, top 1.5s, opacity .5s ease;
  -ms-transition: left 1.5s, top 1.5s, opacity .5s ease;
  -o-transition: left 1.5s, top 1.5s, opacity .5s ease;
  transition: left 1.5s, top 1.5s, opacity .5s ease;
}

/* pdt word box hover */
.pro_in1:hover .pli_list {
  color: #fff;
  background-color: #777;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), 100% 100%, 0 100%, 0 20px);
  /* border: 2px solid var(--second-color); */
}

.pro_in1:hover .pli_list::after {
  opacity: 1;
  top: -30%;
  left: 25%;
  -webkit-transition: left 1.5s, top 1.5s, opacity .5s ease;
  -khtml-transition: left 1.5s, top 1.5s, opacity .5s ease;
  -moz-transition: left 1.5s, top 1.5s, opacity .5s ease;
  -ms-transition: left 1.5s, top 1.5s, opacity .5s ease;
  -o-transition: left 1.5s, top 1.5s, opacity .5s ease;
  transition: left 1.5s, top 1.5s, opacity .5s ease;
}

.pro_in1:hover .pli_list .line-height-limit {
  color: #FFF;
}




/* index slogan css setting */
.slogan {
  /* padding: 100px 0; */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image: none !important;
  background-color: #000;
}
.slogan .container {
  padding: 50px 15px 0;
  position: relative;
  z-index: 0;
}
@media (max-width: 480px) {
  .slogan .container {
    padding-top: 20px;
  }
}

.slogan-content {
  margin: 100px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 1200px) {
  .slogan-content {
    margin: 50px 0 60px ;
  }
}
@media (max-width: 991px) {
  .slogan-content .slogan-item {
    padding: 0;
  }
  .slogan-content .col-lg-7 {
    margin-bottom: 20px;
  }
}
@media (max-width: 767px) {
  .slogan-content {
    margin: 50px 0;
  }
}
@media (max-width: 480px) {
  .slogan-content {
    margin-bottom: 25px;
  }
}
.slogan-box {
  color: #fff;
}
.pic-nolight img {
  width: 100% !important;
  height: auto !important;
}

/* .slogan .slogan-item .slogan-box.pic-light {
  display: none;
  transition: all 0.8s;
}

.slogan .slogan-item .slogan-box.pic-nolight {
  transition: all 0.8s;
}

.slogan .slogan-item:hover .slogan-box.pic-nolight {
  display: none;
}

.slogan .slogan-item:hover .slogan-box.pic-light {
  display: block;
} */







.slogan h4 {
  margin-bottom: 1rem;
  letter-spacing: 3px;
  /* font-family: "Noto Serif TC", serif; */
  font-weight: 900;
}


.slogan p {
  line-height: 32px;
}


/* our products */
.index-product2 {
  margin-bottom: 50px;
}
@media (max-width: 767px) {
  .index-product2 {
    margin-bottom: 70px;
  }
}
.index-product2 .container {
  /*max-width: 96%;*/
  position: relative;
  z-index: 0;
}
/* .index-product2 .container::after {
  width: 110%;
  height: 40%;
  position: absolute;
  left: calc(50% - 55%);
  bottom: -20px;
  background-color: #eee;
  content: "";
  z-index: -1;
} */
@media (max-width: 1276px) {
  .index-product2 .container::after {
    width: 105%;
    left: calc(50% - 52.5%);
  }
}
@media (max-width: 1224px) {
  .index-product2 .container::after {
    width: 103%;
    left: calc(50% - 51.5%);
  }
}
@media (max-width: 1030px) {
  .index-product2 .container::after {
    width: 101%;
    left: calc(50% - 50.5%);
  }
}
@media (max-width: 991px) {
  .index-product2 .container::after {
    width: 103%;
    left: calc(50% - 51.5%);
  }
}
@media (max-width: 767px) {
  .index-product2 .container::after {
    display: none;
  }
}
.index-product2 .container .title01 {
  position: relative;
  padding-top: 90px;
}
.index-product2 .container .title01::before {
  position: absolute;
  top: 0;
  left: 50%;
  content: "";
  width: 1px;
  height: 80px;
  background-color: #333;
}
.index-product2 .container .pro_in1 .pli_list {
  background-color: transparent;
  margin-top: 0;
  clip-path: none;
}
.index-product2 .container .pro_in1 .pli_list .line-height-limit {
  color: #000;
}
.index-product2 .container .pro_in1:hover .pli_list {
  background-color: #fff;
}
/*.index-product2 .container .pro_in1 a img {
  border: 2px #ccc solid;
}*/



/* index seo css setting */
.index-seo {
  padding: 15px 0;
  text-align: right;
  background: var(--main-color);

}

.index-seo h1 {
  color: #FFF;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 0;
}






.pf li {
  float: left;
  list-style-position: inside;
  color: white;
  border: 1px solid #6f6f6f;
  list-style-image: none;
  list-style-type: none;
  margin-top: 5px;
  margin-right: 10px;
  margin-left: 0px;
  margin-bottom: 5px;
  padding: 5px;
}

ul.pf {
  padding-left: 0px !important;
  margin-top: 25px;
  display: block;
}


@media screen and (min-width: 481px) and (max-width: 768px) {
  .about {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
  }

  .slogan {
    width: 100%;
    background-size: cover;
    background-position: right center;
  }
}

@media screen and (max-width: 480px) {
  .about {
    padding: 50px 0;
  }

  .slogan {
    width: 100%;
    background-size: cover;
    padding: 10px;
    background-position: right center;
  }
}
.page-index {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  /* -ms-flex-wrap: wrap;
  flex-wrap: wrap; */
  flex-direction: column;
}
/* .page-index .index-slider {
  order: 1;
}
.page-index .slogan {
  order: 3;
}
.page-index .news_in {
  order: 2;
}
.page-index .about {
  order: 4;
}
.page-index .index-product {
  order: 5;
} */

.index-product2 img{
    width: 80px;
    display: initial;
}