.topnavbar {
    background-color: #fff;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
}

#bodyinpage #banner { display:none;}

body[data-type="fullpage"] .topnavbar .container {
  text-align: justify;
  padding: 0;
  width: 100%;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

body {
    background-color: #fff;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

#logo h1 { text-align: center; }

/*動到表格手機不會破版*/
table {
  table-layout: fixed;
  word-wrap:break-word;
} 

/*編輯欄設定*/
.fcol p{
    font-size: clamp(16px, 2vw, 18px); /*最小值 首選值 最大值 限制屬性值區間*/
    color: #000000;/*文字顏色*/
    line-height: 2;
}

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

.fcol h2 { 
  color: #000;
  font-size: clamp(36px, 3vw, 40px); /*最小值 首選值 最大值 限制屬性值區間*/
  margin-bottom: 15px;
 /* line-height:2;*/
}

h1, h2, h3, h4, h5, h6 {font-family: 'Noto Serif TC', serif;}

/*nav*/
#nav {  
  display: inline-flex;
  vertical-align: bottom;
  background-color: #a9800c;
  justify-content: flex-end;
  width: 100%;
}
#nav ul{margin-right: 100px;}
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #fff;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #333;/*頁籤滑過文字顏色*/
    background-color: #e2ca6f;
}
#nav ul li.current a {
    color: #fff;/*頁籤按下後文字顏色*/
    font-weight: 400;
}

#nav .subnav {
    background-color: #444;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    text-align: left;
}
#nav li.has-subnav ul li a {
   color: #fff;/*次頁籤文字顏色*/    
}
#nav li.has-subnav ul li a:hover {
   color: #e2ca6f;/*次頁籤滑過後文字顏色*/    
}
#nav li.has-subnav ul li.current a {
   color: #fff;/*次頁籤按下後文字顏色*/    
}
#nav li.has-subnav ul li.has-subnav>div a::after, #nav>ul>li.has-subnav>a::after {
  padding-left: 5px;/*下拉選單箭頭距離*/
  font-size: 14px;
}

/*產品頁*/
.product-list-div h2 a { 
  color: #000; 
  font-size: clamp(22px, 3vw, 26px);
  line-height: 1.2;
}

ul.product-list li a {
    color: #000;/*產品格文字顏色*/
    background-color: #eee;/*產品格底色*/
}
ul.product-list li a:hover {
    color: #a9800c;/*產品格滑過文字顏色*/
}

.productdetail .detail-spec h2 p{
    color: #000;
    font-size: clamp(24px, 3vw, 30px);
}/*產品內頁標題文字*/


/*title文字顏色*/
.h1title h1{
    color: #333333;
}

a {
    color: #000;/*連結顏色*/
    text-decoration: none;
}
a:hover { color:#a9800c; }

.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}

/*首頁各層編輯欄設定*/
#bodyinhome .fcol.fcol-1,
#bodyinhome .fcol.fcol-2,
#bodyinhome .fcol.fcol-3,
#bodyinhome .fcol.fcol-4,
#bodyinhome .fcol.fcol-6 { padding: 2rem 0; }

#bodyinhome .fcol.fcol-3 { background-color: #fff9ef; }

#bodyinhome .fcol.fcol-5 { background-color: #f5f5f5; padding: 3rem 0; }
@media only screen and (min-width: 768px){  #bodyinhome .fcol.fcol-5 .container { width: 90%; } }/*拉寬編輯欄設定*/


/*首頁圖文連結*/
.frame {
  color: #000;
  font-size: clamp(18px, 3vw, 20px);
  text-align:center;
}
.frame h3 {
  color: #000;
  font-size: clamp(22px, 3vw, 24px);
  text-align:center;
}
.frame img {
	width: 100%;
  background-color: #fff; /*背景顏色*/ 
	padding: 0px; /*物件內的間距*/
	border: 2px solid #fff; /*邊框樣式（solid直線 dotted點狀線 dashed虛線）*/
    object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  aspect-ratio: 4 / 3; /*比例*/
  border-radius: 10px;
  box-shadow: 3px 3px 15px rgb(0 0 0 / 20%)
}
.frame a:hover img { opacity: 0.8; }

/*內頁圖片*/
.frame2 img {
  width: 100%;
  background-color: #fff; /*背景顏色*/ 
	padding: 0px; /*物件內的間距*/
	border: 2px solid #fff; /*邊框樣式（solid直線 dotted點狀線 dashed虛線）*/
    object-fit: contain;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  aspect-ratio: 1 / 1; /*比例*/
  border-radius: 10px;
  box-shadow: 3px 3px 15px rgb(0 0 0 / 20%)
}

/*內文效果*/
.t-1 h3 {
  color: #a9800c;
  font-size: clamp(20px, 3vw, 24px); 
  line-height:1.5;
  position: relative;
  z-index: 1;
}
.t-1 h4 {
  color: #000;
  font-size: clamp(16px, 2vw, 18px); 
  line-height:1.5;
  background-color: #e2ca6f;
  padding: 0 15px 0 10px;
    border-radius: 0 20px 20px 0;
    display: inline-flex;
}
.t-1 ol { list-style-type: decimal; margin-left: 1.5rem; font-size: 18px; color: #000; line-height: 1.5;}
.t-1 ul { list-style-type: square; margin-left: 1.5rem; font-size: 16px; color: #000; line-height: 1.5;}
