.topnavbar .container {
  text-align: center;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

body {
    background-color: #fff;/*背景底色*/
}

@media only screen and (min-width: 768px){
.topnavbar {
    background-color: #fff;/*頁籤底圖顏色;background-color: rgba(0,0,0,0);透明*/
    position: relative;/*頁籤&banner分開不重疊*/
    height: 100px;/*頁籤底圖高度*/
    padding: 0px;/*頁籤間距*/
}}

body[data-type="fullpage"] #nav {
    font-size: 21px;/*頁籤文字大小*/
}

#nav ul li a {
    white-space: nowrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: block;
    color: #000000;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #ff3300;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #ff3300;/*頁籤按下後文字顏色*/
}

#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
}

.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}
.swiper-wrapper, .swiper-slide {
  height: 0 !important;
}
.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */

} 
/* 隱藏首頁 banner */
#bodyinhome .swiper-wrapper,
#bodyinhome .swiper-slide {
  display: none;
}
/* 內頁 banner */
#bodyinpage .swiper-wrapper,
#bodyinpage .swiper-slide {
  padding-bottom: calc(865 / 1920 * 100%);
}


#ser-line {
  	border-bottom-width: 3px;/*分隔線粗細*/
	border-bottom-style: dashed;/*分隔線樣式(solid實線;dashed虛線;double雙線)*/
	border-bottom-color: #ff3300;/*分隔線顏色*/
    width: 350px;/*分隔線長度*/
    display: block;
    margin: 1em auto 1em;/*間距*/
}

/*圖文連結特效*/
.snip1504 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 150px;
  width: 100%;
  color: #fff;
  text-align: center;
  background-color: #000000;
  border-radius: 33px;
}

.snip1504 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.45s ease;
  transition: all 0.45s ease;
}

.snip1504 img {
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  vertical-align: top;
  width: 100%;
  backface-visibility: hidden;
  opacity: 1.0;
  
}

.snip1504 figcaption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  align-items: center;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.snip1504 h3,
.snip1504 h5 {
  margin: 0;
  opacity: 1;
  letter-spacing: 2px;
}

.snip1504 h3 {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 22px;
}

.snip1504 h5 {
  font-weight: normal;
  font-style: italic;
  color: #f5c53a;
  font-size: 12px;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.snip1504 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.snip1504:hover > img,
.snip1504.hover > img {
  opacity: 0.5;
}

.snip1504:hover h3,
.snip1504.hover h3,
.snip1504:hover h5,
.snip1504.hover h5 {
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
  opacity: 0;
}