:root {
  --navBgColor: rgb(164, 34, 34);
  --opacitynavBgColor: rgb(0, 0, 0);
  --navTextColor: rgb(255, 255, 255);
  --navhoverColor: #f18e00;
  --highLightColor: rgb(174, 14, 56);
  --hoverColor: rgba(255, 255, 255, 1);
  --darkColor: #ffffff;
  --titleColor: #ffffff;
  --mainFontColor: rgb(240, 240, 240);
  --opacityFontColor: #f18e00;
  --mainBorder: 1.5px solid var(--opacityFontColor);
}

article {
  padding: 120px 0px;
}



#nav-icon span {

  background: var(--darkColor);

}

.trafficText img {
  width: 30%;
  margin: auto;
}


.navbar {
  background-color: transparent;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}



#nav-icon span {
  background: var(--darkColor);
}

#home,
#myCarousel {

  margin-top: 88px;
}

#copyright {
  background-color: #252525;
  color: #FFF;
  font-weight: bold;
}

body:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 2.3cm;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url(../img/bg.jpg) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  padding-bottom: 20%;
}


#news {
  height: 500px;
  background-image: url(../img/news01.jpg);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/* swiper */

.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;

  /* 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: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-slide img:hover {
  opacity: 0.6;
}


#service h5 {
  text-align: center;
  margin-bottom: 50px;
  margin-top: -30px;
  font-weight: 300;
  opacity: 0.8;
}


.aboutText h4 {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 800;
}

.aboutText h5 {
  font-size: 18px;
  margin-bottom: 20px;
}

.aboutText p {
  font-size: 16px;
  letter-spacing: 1px;
  text-align: justify;
}

.aboutText {
  width: 40%;
  text-align: left;
}

.aboutItem {
  margin: 0px;
}

.floatRightText,
.floatLeftText {
  padding: 0px;
}

/* .mainBg {
  background: url(../img/bg.jpg) no-repeat;
  background-size: cover;
  background-attachment: fixed;
} */

.section:nth-child(odd) {
  background-color: rgba(126, 11, 11, 0.857)
}

.mainMask {
  background-color: rgba(0, 0, 0, 0);
}

.menubtn {
  display: flex;
  width: 100%;
}

.menuItem h4:hover {
  opacity: 0.7;
}

.item1 {
  padding: 25px;
}

.item3 {
  width: 25%;
}

.menuArea {
  display: flex;
}

.listMenuItem li {
  width: 100% !important;
  text-align: left;
}

.small {
  padding-bottom: 20px;
}

.btnbox {
  margin: auto;
}

.proArea,
.listMenuArea {
  padding-bottom: 30px;
}

.btnbox a {
  width: 100%;
  padding: 10px;
  margin-top: 20px;
  font-size: 18px;
  text-align: center;
  background-color: #f18e00;
  border: 2px solid #f18e00;
  color: #FFF;
  border-radius: 5px;
}

.btnbox a:hover {
  background-color: rgba(255, 255, 255, 0);
  color: #0168ab;
}

.proItem a {
  margin-bottom: 10px;
}

.proItem p {
  width: 95%;
  margin: 0 auto;
}

.menuItem h4 {
  text-align: center;
}

.banner-full {

  background-image: url(../img/banner1.jpg)
}


#sns ul li {
  filter: brightness(1);
}


/* 響應式選單*/
@media (max-width:1200px) {
  #logo {
    width: 100%;
  }

  .navbar>.container-fluid .navbar-brand {
    margin-left: 0;
  }

  .navbar-brand>img {
    margin: auto;

  }

  .shop1688 {
    left: 15px;
  }

  .navbar-nav {
    text-align: center;
  }

  .navbar .container-fluid {
    background-color: var(--navBgColor);
  }

  .navbar-header {
    float: none;

  }

  .navbar-right {
    margin-right: 0;
  }

  .navbar-left,
  .navbar-right {
    float: none !important;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
  }

  .navbar-collapse.collapse {
    display: none !important;
    padding-bottom: 20px;
  }

  .navbar-nav {
    float: none !important;
    margin-top: 0px;
    border-top: 1px solid rgba(0, 0, 0, 0.5);
  }

  .navbar-nav>li {
    float: none;
  }

  .navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;

  }

  .collapse.in {
    display: block !important;
  }
}



/*響應式調整*/


@media screen and (max-width:1200px) {
  #news {
    height: 350px;
  }
}

@media screen and (max-width:1024px) {
  #news {
    height: 300px;
  }
}

@media screen and (max-width:991px) {
  #news {
    height: 300px;
  }
}

@media screen and (max-width:770px) {

  article {
    padding: 60px 0px;
  }

  .trafficText img {
    width: 50%;
    margin: auto;
  }

  .aboutFlex {
    flex-direction: column;
    align-items: center;
  }

  .aboutItem {
    width: 90%;
  }

  .aboutText {
    margin-top: 20px;
    width: 90%;
  }

  #news {
    padding: 60px 0px;
    height: 80px;
  }
}

@media screen and (max-width:576px) {
  #news {
    padding: 80px 0px;
    height: 80px;
  }

  .menuArea {
    flex-wrap: wrap;

  }

  .item3 {
    width: 48%;
  }
}

@media screen and (max-width:414px) {
  #news {
    padding: 60px 0px;
    height: 20px;
  }
}

@media screen and (max-width:375px) {}