.phone{position:fixed;right:1%;top:30%;z-index:1000;}
.ENGLISH_01{position:fixed;right:1%;top:45%;z-index:1000;}
.line-1{position:fixed;right:1%;top:60%;z-index:1000;}
.shopping-1{position:fixed;right:1%;top:75%;z-index:1000;}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 414px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shopping-1, .ENGLISH_01, .pixnet { 
    transform: scale(0.8);
    right:0;
  }
}

a {color: #7d8918;}
a:hover {color: #08553e;}


.customers table {
  border-collapse: collapse;/*表格細線*/
}

.customers td, .customers th {
  border-bottom: 1px solid #ddd;
  padding: 8px;
  font-size: 14px; 
}


/*table語法 -讓手機不會破版*/
table {
table-layout: fixed;
word-wrap:break-word;
}



.container h4 {
   background: linear-gradient(to top, #b3c32b, #7d8918, #7d8918);
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
  font-weight: 700;
  font-size: clamp(2.0rem, 2vw, 4.0rem);
}

.container h5 {
   background: linear-gradient(to top, #b3c32b, #7d8918, #7d8918);
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
  font-weight: 700;
  font-size: clamp(1.0rem, 1.5vw, 2.0rem);
}

#bodyinhome .fcol.fcol-2 .container { width: 100%; padding:0px;}

body.about-us .fcol.fcol-3, body.about-us .fcol.fcol-4, body.about-us .fcol.fcol-5  {
  display:none;
}

body {
  font-family: 'Noto Serif TC', serif;
  background-color: #fff;
}

#logo {
  display: block;
  padding:0px;
}

.topnavbar .container {
  text-align: center;
  padding: 0px;
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}

/* 首頁與內頁共用 */
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
}

.swiper-slide {
  width: 100% !important;
}

/* 首頁 */
#bodyinhome .swiper-wrapper, #bodyinhome .swiper-slide {
  padding-bottom: calc(750 / 1920 * 100%); /* 首頁 banner 大小 */
}

/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(750 / 1920 * 100%); /* 內頁 banner 大小 */
}


.topnavbar {
    background-image: linear-gradient(to right, #7fbf26, #b5d436);
    position: relative;/*頁籤&banner分開不重疊*/
    padding: 0;/*頁籤間距*/
}


#nav ul li a {
    white-space: nowrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: block;
    color: #fff;
    line-height: 1.3;
    transition: .3s;
    padding: 7px 16px 7px 16px;
    font-size:16px;
}


#nav ul li a:hover {
    color: #ffea00;
}

#nav ul li.current a {
    color: #ffea00;
} 

#nav ul li a::before {
  content:"";
  border-bottom:3px solid #ffea00;
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:0px;
  margin:0 auto;
  transition:.3s all ease;
}
#nav ul li a:hover::before {
    width: 50%;
}

#nav .subnav a::before {
 display: none;
}

#nav .subnav {
  background-color: #7fbf26;
}

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}


h1, h2, h5, h6, .h1, .h2, .h5, .h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: inherit;
    color: #7fbe25;
}

/*側邊文字顏色*/
#side ul li a {  color: #4d4d4d; border-bottom: 1px solid #aa9269;}
#side ul li a:hover {  color: #7fbe25;}
#side ul li.current>div a { color: #7fbe25;}
#side h3 {
    padding: 10px 20px;
    background-color: #7fbe25;
    color: #fff;
}

/*點進去產品標題大字小字*/

ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #525252;     
}
ul.product-list li h3 {
    flex: 1 0 auto;
    max-height: 3.15rem;
    margin: 0.7rem 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #525252;
    overflow: hidden;
    padding: 0 16px;
    
}

ul.product-list li .desc {   color: #ffffff;}
ul.product-list li a:hover .desc {   color: #ffffff;}
/* 消除產品頁空白*/
body[data-type="fullpage"] .main {
    min-height: 50px;
}

/* 文字放大手機*/
@media only screen and (max-width: 768px){
body {
     font-size: 16px;/*螢幕寬度768px內文字大小*/
     color: #313131;
}

#footer {
   font-size: 12px;
}
}


/* 文字放大電腦*/
@media only screen and (min-width: 768px){
#main-wrap .container {
    font-size:18px;
  line-height:30px;
  color: #313131;
}
  

#foot-nav .container {
    font-size:10px;
    line-height:15px;
}}



#foot-nav ul li a span {
    background-color: #67a413;
    border-radius: 30px;
    padding:5px 15px;
}

#foot-nav ul li a {
    color: #fff;
    text-align: center;
    padding: 8px 3px;
}

#footer {
    color: #fff;
    background-image: linear-gradient(to right, #7fbf26, #b5d436);
}

#foot-nav {  border-bottom: 1px solid #fff; }

#contact-info ul li span { color: #fff; }



/*了解更多*/
.bg-icon  {
  margin-left: auto; 
  margin-right: auto;
  transition:.3s all ease;
  padding: 5px 20px;
  color: #7d8918;
  text-align: center;
  font-size: 18px;
   border: 3px solid #7d8918;
}

.bg-icon:hover  {
  background-color: #7d8918; 
  color: #fff;
}

.bg-icon1  {
  margin-left: auto; 
  margin-right: auto;
  transition:.3s all ease;
  padding: 5px 20px;
  color: #7d8918;
  text-align: center;
  font-size: 18px;
   background-color: #7d8918; 
  border-radius: 40px;
}

.bg-icon1:hover  {
  background-color: #08553e; 
  color: #fff;
}


/*圖文特效按鈕-圖縮放大標題在上*/
.snip1374 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 160px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  text-align: center;
  background-color: #000000;
  text-shadow: 2px 2px 5px #000000;/*文字陰影*/
}
.snip1374 figcaption {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
 -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.snip1374 h2, .snip1374 p {
  font-family: 'Noto Sans TC', sans-serif;
  text-transform: uppercase;/*文字大寫*/
  color:#ffffff;/*文字顏色*/
  font-size: 1.2rem;/*文字大小*/
  font-weight: 700;/*文字粗細*/
  line-height: 1.5;/*文字行距*/
  letter-spacing: 2px;　/* 設定文字間距 */
}


.snip1374 img {
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  width: 100%;
  height: 350px;
  vertical-align: top;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  -webkit-transform: scale(1);
  transform: scale(1);
}
.snip1374:hover img,
.snip1374.hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  opacity: 0.5;
}
.snip1374 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

/*底下背景色每頁都有*/
#main-wrap {
    background: url("https://static.iyp.tw/409881/files/beabd324-92a7-49a7-97bb-0fd29cd197e5.png") no-repeat scroll center bottom transparent;position: relative;
}


/* 全畫面背景*/
body {
	background: url(https://static.iyp.tw/409881/files/8b7a7bcd-c234-4371-9643-46bf18497a28.jpg) no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	margin: 0px;
	padding: 0px;
}



/* 手機版背景*/
@media only screen and (max-width: 768px){
body {
    width:100%;
    height:100%;
  background-image: url(https://static.iyp.tw/409881/files/8b7a7bcd-c234-4371-9643-46bf18497a28.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;/*設定背景圖片的填滿方式*/
  margin:0px;
  padding:0px;
}}

/*指定顏色*/
ul.d {
  list-style: none; 
}
ul.d li {border-bottom: 1px dashed #7d8918; }

ul.d li::before {
   font-family: "Font Awesome 6 Free";
  content: "\f101"; /*向右箭頭*/
  padding: 10px;
  font-weight: 700;
  color: #7d8918; 
  display: inline-block;
    width: 1em;
    margin-left: -1em;
  
}

ul.c {
  list-style-type: disc;/*disc實心 ecimal 數字*/
  margin-left: 1em;
}
ul.c li {
  border-bottom: 0px dashed #7d8918;
}
ul.c li::before {
   display:none;
  
}