.phone {position:fixed;right:1%;top:50%;z-index:1000;}
.phone table { background-color: #3399e7;}
.phone table:hover { background-color: #216aa1; } 

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 430px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet, .youtube-1, .tiktok , .thread { 
    transform: scale(0.8);
    right:0;
  }
}

.topnavbar {
    background-color: #fff;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
  box-shadow: 0 20px 40px #fff;
}

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黑體*/
}

@media only screen and (min-width: 1280px){
  #logo {
    transform: scale(1.8);
    position: absolute;
    margin: 20px 0 0 180px;
  }
}

#logo h1 { text-align: center; }

/*動到表格手機不會破版*/
table {
  table-layout: fixed;
  word-wrap:break-word;
} 

/*回首頁btn*/
body[data-type="fullpage"] .navbar .container {  margin-right: 20px; }


/*編輯欄設定*/
.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: #3399e7;
  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: #000;/*頁籤滑過文字顏色*/
    background-color: #fff;
}
#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:hover {
   color: #fff100;/*次頁籤滑過後文字顏色*/    
}
#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: #3399cc;/*產品格滑過文字顏色*/
}

.productdetail .detail-spec h2 p{
    color: #000;
    font-size: clamp(24px, 3vw, 30px);
}/*產品內頁標題文字*/

/*產品頁-側欄頁籤*/
#side h3 {
  font-size: 20px;
  color: #fff; /*側欄頁籤標題顏色*/
  background-color: #224466;
}
#side ul li a {
  font-size: 16px;
  color: #000; /*側欄頁籤連結顏色*/
  border-bottom: 1px dashed #ddd;
}
#side ul li a:hover {
  color: #3399e7; /*側欄頁籤滑入顏色*/
}
#side .children li { margin-left: 15px; }/*側欄次頁籤*/


/*title文字顏色*/
.h1title h1{
    color: #333333;
}

a {
    color: #000;/*連結顏色*/
    text-decoration: none;
}
a:hover { color:#3399e7; }

.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 {
  width: 100%;
  background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
  background-repeat: no-repeat;
  background-position:left center;
  background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  background-image:  -webkit-linear-gradient(top, rgb(0 0 0 / 10%) 0%, rgb(0 0 0 / 10%) 100%),url(https://static.iyp.tw/409678/files/45efa1e1-1791-40bc-a59d-1e8b44bc093c.jpg);
  background-color: #333;
}
#bodyinhome .fcol.fcol-1 .container  {padding: 0;}

#bodyinhome .fcol.fcol-4 {
   width: 100%;
   background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position:left center;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image:  -webkit-linear-gradient(top, rgb(0 0 0 / 30%) 0%, rgb(0 0 0 / 30%) 100%),url(https://static.iyp.tw/409678/files/c70e048b-52a8-464c-9d81-591662b4aec9.jpg);
  background-color: #333;
  padding: 5rem 0; 
}


#bodyinhome .fcol.fcol-2,
#bodyinhome .fcol.fcol-3 { padding: 2rem 0; }

#bodyinhome .fcol.fcol-3 { background-color: #224466; }

#bodyinhome .fcol.fcol-5 { background-color: #f5f5f5; padding: 3rem 0; }
#bodyinhome .fcol.fcol-6 .container { width: 100%; padding: 0; }/*拉寬編輯欄設定*/


/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 25px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-more1 {
    border-radius: 0px;
    border: 1px solid #ccc;
    color: #fff;
    font-size: clamp(14px, 2vw, 16px);
    background-color: rgba(0, 0, 0, 0);
    font-weight: 700;
}
.btn-more1:hover{
    background-color: #3399e7; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}


/*內頁圖文連結*/
.frame {
  color: #000;
  font-size: clamp(18px, 3vw, 20px);
  text-align: justify;
}
.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; }


/*內文效果*/
.t-1 h2 { 
  color: #000;
  font-size: clamp(24px, 3vw, 30px); /*最小值 首選值 最大值 限制屬性值區間*/
  margin-bottom: 10px;
}
.t-1 h3 {
  color: #3399cc;
  font-size: clamp(20px, 3vw, 24px); 
  line-height:1.5;
  position: relative;
  z-index: 1;
  margin-bottom: 5px;
}
.t-1 h4 {
  color: #fff;
  font-size: clamp(16px, 2vw, 18px); 
  line-height:1.5;
  background-color: #224466;
  padding: 0 15px 0 10px;
  border-radius: 0 20px 20px 0;
  display: inline-flex;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.t-1 ol { /*list-style-type: decimal; margin-left: 1.5rem;*/ list-style-type: none; margin-left: 0rem; 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;}
.t-1 li {border-bottom: 1px dashed #ddd}

/*產品介紹圖文特效*/
figure.snip1249 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 150px;
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  font-family: verdana, geneva;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
figure.snip1249 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}
figure.snip1249 img{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  vertical-align: top;
  padding: 10px;
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
}
figure.snip1249:hover img{
  opacity: 0.7;
}
figure.snip1249 h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 24px);
  font-weight: 700;
  color: #224466;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
}
figure.snip1249 p {
  margin: 0;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 400;
  text-transform: uppercase;
  text-align: justify;
  line-height: 1.5;
  /*限制內容字數*/
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;/*限制行數*/
}
figure.snip1249 figcaption {
  padding: 5px 20px;
    color: #000000;
    position: relative;
    font-size: 0.9em;
    display: flex;
    flex-direction: column;
}

figure.snip1249 .btn-more {
  border: 1px solid #224466;
    padding: 0.4em 0.6em;
    color: #224466;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    margin: 10px 20px;
    text-align: center;
    letter-spacing: 5px;
}

figure.snip1249:hover .btn-more {
  background-color: #222;
  color: #ffffff;
}
figure.snip1249 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}


/*備品*/
.snip1518 {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  min-width: 150px;
  max-width: 310px;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  color: #2B2B2B;
  text-align: center;
  font-size: 16px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

.snip1518 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
    -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.snip1518 img {
  max-width: 100%;
  vertical-align: top;
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: #fff;
  object-fit: cover;
}

.snip1518 figcaption {
  padding: 2em 1em;
  background-color: #ffffff;
  height: 100%;
}

.snip1518 h3 {
  border-bottom: 1px #ddd dashed;
  padding-bottom: 5px;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 15px 0;
  letter-spacing: 1px;
}

.snip1518 h5 {
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 400;
  font-size: 14px;
  margin: 0;
  text-transform: uppercase;
}

.snip1518 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

.snip1518:hover figcaption {
  background-color: #224466;
  color:#fff;
}

.snip1518:hover img {
  -webkit-transform:scale(1.1, 1.1);
  transform:scale(1.1, 1.1);
}