/* index css setting */
@media (min-width:992px) {
  .page-index .container {
    max-width: 1460px;
  }
}




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

.carousel-inner {
  height: 100%;
}

.carousel-item img {
  object-fit: cover;
  height: 100%;
}

.index-slider .carousel-caption {
  padding-right: 5%;
  padding-left: 5%;
  background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(34.2%, rgba(var(--main-color-rgba), 0.85)), color-stop(60.62%, rgba(var(--main-color-rgba), 0.83)), to(rgba(255, 0, 0, 0)));
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(var(--main-color-rgba), 0.85) 34.2%, rgba(var(--main-color-rgba), 0.83) 60.62%, rgba(255, 0, 0, 0) 100%);
  bottom: 10%;
}

.index-slider .carousel-caption h5,
.index-slider .carousel-caption p {
  letter-spacing: 1px;
  margin-bottom: 0;
  text-shadow: 2px 2px 3px #000;
  font-size: 28px;
}

.index-slider .carousel-caption h5 {
  margin-bottom: 5px;
}

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

/* banner rwd */
@media screen and (max-width:991px) {
  .index-slider .carousel-caption {
    display: block !important;
    position: initial;
    background: var(--dark-brown-color) !important;
    ;
  }
}

@media screen and (max-width:576px) {
  .index-slider .carousel-caption h5 {
    font-size: 21px;
  }
}







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

.news_mask {
  padding: 70px 0 30px 0;
  background-image: url(../images/index-news-bg.jpg) !important;
  background-position: center;
  background-size: cover;
  background-color: #eee;
}
@media screen and (max-width:992px) {
  .news_mask {
    background: #f0f0f0 !important;
  }
}
.news_in .ind_date {
  display: none;
}

/* news item */
.news-part {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem 1rem;
}

/* news pic */
.news-box.pic {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

@media (min-width: 992px) {
  .news-box.pic {
    height: 280px;
  }
}

.news-box.pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s;
}

/* news content */
.news {
  padding: 100px 0;
  background-color: #eee;
}

.news .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.news-box.content {
  padding: 1.5rem;
  background-color: #fff;
  width: 100%;
}

.news-box.content .news-title {
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 1rem;
  display: block;
  font-size: 21px;
  color: var(--second-color);
  transition: all 0.3s;
}

.news-box.content .news-date {
  color: var(--blue-color);
  font-weight: 700;
  font-size: 14px;
}

.news-word {
  margin-top: 1.5rem;
}

/* news btn */
.news-box.content .btn-box {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
}

.news-box.content .btn-box .main-btn {
  width: fit-content;
  padding: 0.3rem 2rem;
  background-color: var(--second-color);
  color: #FFF;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.news-box.content .btn-box .main-btn::before {
  content: "";
  position: absolute;
  left: -75%;
  top: 0;
  width: 50%;
  height: 100%;
  display: block;
  transform: skewX(-25deg);
  background-color: #eeeeee31;
}



/* news hover */
.news-item:hover .news-box.content .news-title {
  color: var(--main-color);
}

.news-item:hover .news-box.pic img {
  transform: scale(1.3);
}

.news-item:hover .main-btn::before {
  -webkit-animation: shine 0.5s;
  animation: shine 0.5s;
}

@keyframes shine {
  100% {
    left: 125%;
  }
}

@-webkit-keyframes shine {
  100% {
    left: 125%;
  }
}









/* index about css setting */
section.about {
  padding: 100px 0;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: right;
  color: #fff;
  overflow: hidden;
  position: relative;
  background-image: url(../images/index-bg.webp) !important;
}

section.about::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff59;
}

section.about .container {
  max-width: 1460px;
  z-index: 3;
  position: relative;
}

.ab-content {
  width: 50%;
  padding: 50px;
  z-index: 3;
}

.ab-title {
  margin-bottom: 2rem;
  color: var(--second-color);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 36px;
  letter-spacing: 0;
  font-weight: bold;
}

.ab-content p {
  line-height: 27px;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  padding-right: 2rem;
}

/* 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 ab rwd */
@media (max-width :992px) {
  section.about {
	background: #fff !important;
  }
}







/* index pdt css setting */
.index-product {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background-color: #FFF;
  background-image: none !important;
  /*background-image: url(../images/main-bg.webp) !important;*/
  background-position: center;
  background-size: cover;
}
.index-product:before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff59;
    content: "";
}
.index-product .pli_list {
  flex-direction: column;
}

/* pdt pic */
.pro_in1>a {
  width: 100%;
  overflow: hidden;
}

.pro_in1>a>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* pdt word */
.pro_in1 .pli_list .line-height-limit,
.pro_in1 .pli_list a {
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif !important;
  color: #FFF;
}

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

.pro_in1:hover .pli_list a {
  color: #FFF;
}

/* pdt word box */
.pli_list {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  position: relative;
  width: 100%;
  background: var(--second-color);
  text-transform: uppercase;
  color: #FFF;
  font-weight: 700;
  letter-spacing: 1px;
  border: none;
  font-size: 15px;
  outline: none;
  overflow: hidden;
  transition: all .3s ease-in-out;
}

.pli_list::before {
  content: " ";
  display: block;
  width: 200px;
  height: 80px;
  background: rgba(255, 255, 255, .4);
  position: absolute;
  top: -10px;
  left: -200px;
  transform: rotate(-45deg);
  transition: all .5s ease-in-out;
}

.pli_list:hover {
  background-color: var(--main-color);
}

.pli_list:hover::before {
  margin-left: 300%;
}

/* pdt item hover */
.pro_in1:hover:hover .pli_list {
  background-color: var(--main-color);
}

.pro_in1:hover:hover .pli_list::before {
  margin-left: 300%;
}

/* index pdt rwd */
@media screen and (min-width:992px) {
  .pro_in1>a {
    height: auto;
  }
}

@media screen and (min-width:767px) and (max-width:991px) {
  .pro_in1>a {
    height: 190px;
  }
}

@media (max-width:991px) {
  .index-product {
    padding: 50px 0;
  }
}







/* index slogan css setting */
.slogan {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(../images/index-slogan.webp) !important;
  padding: 70px 0;
}
.slogan .title01 {
  color: #FFF;
}
.slogan-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 3rem 0;
}
.slogan-list .slogan-item {
  padding: 2rem;
  text-align: center;
  position: relative;
  width: calc(100% / 5);
  height: 315px;
}
.slogan-list .slogan-item::after {
  content: "\f0da";
  font-family: "FontAwesome";
  position: absolute;
  top: 75px;
  right:-15px;
  display: block;
  width: 50px;
  height: 50px;
  color: #FFF;
  font-size: 28px;
}
.slogan-item i {
  color: #FFF;
  font-size: 28px;
  margin-bottom: 1.5rem;
}
.slogan-item h5 {
  font-size: 24px;
  color: var(--main-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.slogan-item ul {
  padding: 0;
  margin: 0;
  list-style: none;
  color: #FFF;
}
.slogan-item ul li {
  line-height: 32px;
}
.slogan-list .slogan-item:nth-child(1){
	order:1;
}
.slogan-list .slogan-item:nth-child(2){
	order:2;
}
.slogan-list .slogan-item:nth-child(3){
	order:3;
}
.slogan-list .slogan-item:nth-child(4){
	order:4;
}
.slogan-list .slogan-item:nth-child(5){
	order:5;
}
.slogan-list .slogan-item:nth-child(6){
	order:10;
}
.slogan-list .slogan-item:nth-child(7){
	order:9;
}
.slogan-list .slogan-item:nth-child(8){
	order:8;
}
.slogan-list .slogan-item:nth-child(9){
	order:7;
}
.slogan-list .slogan-item:nth-child(10){
	order:6;
}

/* list bot */
.slogan-list .slogan-item:nth-child(5)::after {
  content: "\f0d7";
  top:auto;
  bottom: -35px;
  left: 50%;
  transform: translate( -50%, -50%);
}
.slogan-list .slogan-item:nth-child(n+7):nth-child(-n+10)::after {
  content: "\f0d9";
}
.slogan-list .slogan-item:nth-child(6)::after{
  content: " ";
}
.slogan-list .slogan-item.logo img{
  padding-top: 1.5rem;
  width:80%;
}

/* rwd */
@media screen and (max-width: 1300px) {
	.ab-content{
		padding: 10px;
	}
	
	.ab-content p {
		padding-right: 0;
	}
	
}
@media screen and (max-width: 1024px) {
	.slogan-list{
		justify-content: end;
	}
	.slogan-list .slogan-item{
		width: calc(100% / 3);
	}
	.slogan-list .slogan-item:nth-child(1){
		order:1;
	}
	.slogan-list .slogan-item:nth-child(2){
		order:2;
	}
	.slogan-list .slogan-item:nth-child(3){
		order:3;
	}
	.slogan-list .slogan-item:nth-child(4){
		order:6;
	}
	.slogan-list .slogan-item:nth-child(5){
		order:5;
	}
	.slogan-list .slogan-item:nth-child(6){
		order:4;
	}
	.slogan-list .slogan-item:nth-child(7){
		order:7;
	}
	.slogan-list .slogan-item:nth-child(8){
		order:8;
	}
	.slogan-list .slogan-item:nth-child(9){
		order:9;
	}
	.slogan-list .slogan-item:nth-child(10){
		order:10;
	}
	.slogan-list .slogan-item:nth-child(3n)::after{
		content: "\f0d7" !important;
		top: auto;
		bottom: -35px;
		left: 50%;
		transform: translate(-50%, -50%);
	}
	.slogan-list .slogan-item:nth-child(n+4):nth-child(-n+5)::after {
		content: "\f0d9";
		top: 103px;
		right: 0;
		left: 20px;
		transform: translate(-100%, -50%);
	}
	.slogan-list .slogan-item:nth-child(n+7):nth-child(-n+8)::after{
		content: "\f0da";
	}
	.slogan-list .slogan-item:last-child::after{
		content: " " !important;
	}
}


@media screen and (max-width: 480px){
  .slogan-item i{
    font-size: 21px;
  }

  .slogan-item h5{
    font-size: 18px;
  }

  .slogan-item ul li{
    font-size: 16px;
      line-height: normal;
  }

  .slogan-list .slogan-item{
    padding: 1rem;
  }

  .slogan-list .slogan-item:nth-child(3n)::after{
    bottom: 0;
  }

  .slogan-list .slogan-item:nth-child(n+4):nth-child(-n+5)::after{
    left: 20px;
  }

  .slogan-list .slogan-item::after{
    right: -25px;
  }
}