.phone{position:fixed;right:1%;top:30%;z-index:1000;}
.line-1{position:fixed;right:1%;top:45%;z-index:1000;}
.Chinese_01{position:fixed;right:0%;top:60%;z-index:1000;}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 440px){ 
  .phone, .phone-1, .map, .ig, .map, .line-1, .English_01, .phone-1, .Chinese_01, .youtube-1, .tiktok , .thread { 
    transform: scale(0.8);
    right:0;
  }
  
  .col-2 { width: 100%; }
}


:root {
  --main_bg: #000;/* 主色(黑) var(--main_bg)*/
  --main2_bg: #323232;/* 主色(淺黑) var(--main2_bg)*/
  --white: #fff;/* 主色(白) var(--white)*/
  --background2: #263b48;/* 主色(藍綠) var(--background2)*/
  --background: #f7f7ef;/* 背景(淺淺綠) var(--background)*/
  --text: #253e34;/* 字(深藍) var(--text)*/
  --text2: #ffffe6;/* 主色(淺黃) var(--text2)*/
  --text3: #edf0e7;/* 主色(淺綠) var(--text3)*/
  --line:#92bdcc;/* 主色(淺藍) var(--line)*/
  --shadow: 0 15px 40px rgba(5, 90, 145, 0.13); /* 陰影 var(--shadow)*/
--gradient: linear-gradient(120deg, var(--text) 0%, var(--text2) 30%, var(--text) 100%); /* 漸層 var(--gradient)*/
}

.topnavbar .container {
   text-align: center;
  padding: 0;
}

.topnavbar {
    background-color: var(--background);/*頁籤底圖顏色;background-color: rgba(0,0,0,0);透明*/
    position: relative;/*頁籤&banner分開不重疊*/
    padding: 0;/*頁籤間距*/
}

.fcol h2 { 
  color: var(--text);
  font-size: clamp(26px, 3vw, 36px);/*最小值 首選值 最大值 限制屬性值區間*/
  line-height:50px;
}

.product01 h4 { 
  background-color: var(--text3);
  font-size: clamp(26px, 3vw, 36px);/*最小值 首選值 最大值 限制屬性值區間*/
  line-height:50px;
  padding: 0px 10px;
   border-radius: 8px 0 8px 0;
  border-left: 4px solid var(--text);
  font-weight: 600;
}

.product01 h3 { 
  font-size: clamp(20px, 2vw, 28px);/*最小值 首選值 最大值 限制屬性值區間*/
  color: var(--text);
}

.product01 ul {
  list-style-type: disc;/*disc實心 ecimal 數字*/
  margin-left: 1em; 
}

.product01 img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  text-align: center;
}

.product01 .row { 
  text-align: center;
}

/*nav*/
#nav ul li a {
    white-space: normal; /*自動換行*/
    /*font-size: 1.2rem;頁籤文字大小*/
    color: var(--main_bg);/*頁籤文字顏色*/
    padding: 10px 16px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: var(--text);/*頁籤滑過文字顏色*/
}

#nav ul li.current a {
    color: var(--text);/*頁籤按下後文字顏色*/
    font-weight: 500;
}

/*頁籤按鈕上底線滑入特效-底線短*/
#nav ul li a::before {
  content:"";
  border-top:3px solid var(--text);
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:40px;
  margin:0 auto;
  transition:.3s all ease;
}

#nav ul li a:hover::before {
    width: 50%;
}

#nav .subnav li a:hover::before  {
    display:none;
}

#nav .subnav {
    text-align: left;
    font-size: 14px;
}
/*次頁籤文字顏色*/ 
#nav li.has-subnav ul li a {
   color: var(--main_bg);/*次頁籤文字顏色*/   
  background-color: var(--white); /*次頁籤滑過底圖顏色*/
}
#nav li.has-subnav ul li a:hover {
   color: var(--text);/*次頁籤滑過後文字顏色*/   
   background-color: var(--background); /*次頁籤滑過底圖顏色*/
}
#nav li.has-subnav ul li.current a {
   color: var(--text);/*次頁籤按下後文字顏色*/    
}


.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(700 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important;
}




#bodyinhome .fcol.fcol-2 {
   background-color: var(--text);
   padding: 5px 20px;
}

#bodyinhome .fcol.fcol-4 .container, #bodyinhome .fcol.fcol-2 .container {
   width: 100%;
}


body.about-us .fcol.fcol-2, #bodyinhome .fcol.fcol-4 {
   background-color: var(--text3);
}


/*title文字顏色*/
.h1title h1 {
    text-align: center;
  font-size: clamp(18px, 2vw, 28px);
    border-bottom: 0px solid #e5989a;
  color: var(--text);
    
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: inherit;
    color: #000;
}


.product-list-div h2 {
    text-shadow: 0 0px 0 #333;
}

/*側邊文字顏色*/
#side ul li a { font-size: 16px;}


ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #464646;
}
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: #7a7a7a;
    overflow: hidden;
    padding: 0 16px;
}

#main-wrap .container {
     font-size: clamp(1.0rem, 1.5vw, 1.2rem);
  line-height:30px;
  color: #2d2d2d;
}
#footer {
   font-size: 12px;
}

#footer {
   background-color: var(--text);
}


body {
    background-color: var(--background);/*背景底色*/
    font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}


/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 25px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-more1 {
    border-radius: 30px;
    border: 0px solid #ccc;
    color: var(--white);
    font-size: clamp(14px, 3vw, 16px);
    background-color: var(--text);
     font-weight: 400;
}
.btn-more1:hover{
    background-color: #678b62; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}

/*圖文特效按鈕-圖縮放大標題在上*/
.snip1374 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 160px;
  max-width: 800px;
  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{
  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: 300px;
  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;
}

/*首頁*/
.eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    color: #668272;
    font-weight: bold;
}

.eyebrow:before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 1px;
    background: currentColor;
    vertical-align: middle;
    margin-right: 12px;
}

.number {
    font-family: serif;
    font-size: 34px;
    color: #99ae91;
}

.col-md-6.col-xs-12, .col-md-6, .col-md-2, .col-md-8, .col-md-4, .col-md-3 {padding: 10px;}

/*懂規範-關於我們最下面*/
.reason {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 18px;
    padding: 23px 0;
    border-bottom: 1px solid #dce1d3;
}

.reason>span {
    color: #99ae91;
    font-family: serif;
    font-size: 23px;
}

/*owl 輪播圖語法*/
.owl-carousel.owl-theme {
  padding: 0 1rem 2rem;
}
.owl-carousel.owl-theme .owl-nav {
  top: 50%;
  margin: 0;
  transform: translateY(-50%);
}
.owl-carousel.owl-theme .owl-dots {
  bottom: 0;
}
.owl-carousel.owl-theme button:focus {
  outline: none;
}
.owl-carousel.owl-theme .owl-nav,
.owl-carousel.owl-theme .owl-dots {
  position: absolute;
  left: 0;
  right: 0;
}
.owl-carousel.owl-theme .owl-nav .owl-prev {
  float: left;
  transform: translateX(-100%);
}
.owl-carousel.owl-theme .owl-nav .owl-next {
  float: right;
  transform: translateX(100%);
}
.owl-carousel.owl-theme .owl-nav .owl-prev:hover,
.owl-carousel.owl-theme .owl-nav .owl-next:hover{
  background: none;
  color: inherit;
}
.owl-carousel.owl-theme .owl-nav .fa{
  font-size: 3em; /*箭頭大小*/
}

.editmode .owl-carousel.owl-loaded {
  display: flex;
  flex-wrap: wrap;
}
.editmode .owl-carousel > div {
  flex: 0 0 25%;
  max-width: 25%;
}

.owl-carousel .owl-item img {
   /*object-fit: cover; cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  display: block;
  width: 200px;
 /* height: auto; 
   aspect-ratio: 4 / 3; 比例*/
  border: 2px solid #fff;
  box-shadow: 0 6px 5px rgba(44,44,44,0.25);
}

@media (min-width: 440px){ 
.owl-carousel .owl-item { padding: 0 150px;}
  }

.row .row-no-gutters {
  
  display: inline-flex; 
  flex-direction: column; 
  flex-wrap: wrap; 
  justify-content: center; 
  align-content: center;
}
