.phone{position:fixed;right:1%;top:40%;z-index:1000;}
.line-1{position:fixed;right:1%;top:52%;z-index:1000;}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 430px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet, .youtube-1, .tiktok , .thread , .messenger-link , .mail-1 { 
    transform: scale(0.8);
    right:0;
  }
}

/*根元素*/
:root{
--bg:#444444; /* 背景(白) var(--bg)*/
--p:#ffffff; /* 段落文字 var(--p)*/
--card:#666666; /* 卡片底(淺灰) var(--card)*/
--text:#ccae5c; /* 主要文字(褐) var(--text)*/
--text2:#ff8d13; /* h3次要文字(橘) var(--text2)*/
--text3:#9e9e9e; /* h4次要文字(灰) var(--text3)*/
--shadow: 0 5px 10px rgba(0,0,0,.25); /* 陰影 var(--shadow)*/
--gradient: linear-gradient(120deg, #6f86d6 0%, #48c6ef 100%); /* 漸層 var(--gradient)*/
}

.topnavbar {
    background-color: var(--bg);/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
}

.topnavbar .container {
  text-align: justify;
  padding: 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

body {
  background-color: var(--bg);/*背景底色*/
  font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

.fcol .container { color: var(--p); }

#logo h1 { text-align: center; }

/*動到表格手機不會破版*/
table {
  table-layout: fixed;
  word-wrap:break-word;
} 

/*編輯欄設定*/
.fcol p{
    font-size: clamp(16px, 2vw, 18px); /*最小值 首選值 最大值 限制屬性值區間*/
    color: var(--p);/*文字顏色*/
    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: var(--text);
  font-size: clamp(24px, 3vw, 36px);/*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
}

.fcol h3 { 
  color: var(--text2);
  font-size: clamp(22px, 3vw, 30px);/*最小值 首選值 最大值 限制屬性值區間*/
}

.fcol h4 { 
  color: var(--text3);
  font-size: clamp(20px, 3vw, 24px);/*最小值 首選值 最大值 限制屬性值區間*/
}

/*nav*/
#nav {
    vertical-align: bottom;
}
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: var(--p);/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;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 .subnav {
    background-color: #fff;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    text-align: left;
}

#nav li.has-subnav ul li.has-subnav>div a::after, #nav>ul>li.has-subnav>a::after {
    padding-left: 2px;/*下拉選單箭頭距離*/
}

/*產品格*/
ul.product-list li a {
    color: var(--p);/*產品格文字顏色*/
    background-color: var(--card);/*產品格底色*/
    border: 0px solid #ddd;/*產品格外框隱藏*/
}
ul.product-list li a:hover {
    color: var(--text);/*產品格滑過文字顏色*/
}
ul.product-list div.img {
    background: #fff; /*產品格圖片底色*/
}


/*title文字顏色*/
.h1title h1{
  color: var(--text);
  font-size: clamp(26px, 3vw, 32px);
}
.h1title h1 span { border-bottom: 1px solid var(--card); }
.h1title h1 span::after {
    content: "";
    background: var(--text);
    width: 5px;
    height: 5px;
    display: block;
    margin: -2px 0 0 -5px;
} 

a {
    color: var(--text2);/*連結顏色*/
    text-decoration: none;
}

.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 {
   padding:3em 0;
}

#bodyinhome .fcol.fcol-6 .container {
   width: 100%;
   padding: 0;
}/*拉寬編輯欄設定*/

/*聯絡表單*/
.signtxt { color: #fff;}
.form { color: #fff;}

/*按鈕-文字底色變化特效*/
.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 #000;
    color: #fff;
    font-size: clamp(14px, 2vw, 16px);
    background-color: var(--text);
     font-weight: 500;
  letter-spacing: 2px;
}
.btn-more1:hover{
    background-color: var(--text2); /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}

.btn-phone, .btn-line  {
    border-radius: 10px;
    border: 0px solid #000;
    color: #fff;
    font-size: clamp(16px, 3vw, 18px);
    font-weight: 700;
  width: 100%;
}

.btn-phone { background-color: #ff0057;}
.btn-phone:hover {
  transform:scale(1.1);
  background-color: #ff0000;
  top:-10px;
}

.btn-line { background-color: #00b900;}
.btn-line:hover {
  transform:scale(1.1);
  background-color: #009900;
  top:-10px;
}

/*五大品質icon*/
.icon-1 i {
    color: var(--text);   
    font-size: 3em;
    padding: 10px;
    background-color: #333;
    border-radius: 100%;
    border: 2px solid var(--text3);
    margin: 10px auto;
    box-shadow: var(--shadow);  
      aspect-ratio: 1 / 1;
    display: inline-flex;
    align-items: center;
  justify-content: center;
}

/*首頁-服務項目-圖文特效*/
#frame_c{
  border:1px #eee solid;
  box-shadow: inset 0 0 10px 0 #0002, -1px 34px 26px -23px #0005;
  padding: clamp(6px, 1vw, 12px);
  height: 100%;
  border-radius: 10px;
  background-color: #fff;
}
#frame_c img{
   object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   width: 100%;
   aspect-ratio: 4 / 3;
  border-radius: 10px;
}
#frame_c h3{
  font-size: clamp(14px, 3vw, 24px);
  color: var(--bg);
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
  margin: -1.7em auto 0px;
  z-index: 1;
  position: relative;
  width: 85%;
  border-radius: 20px 20px 0px 0px;
  background-color: #ffffffcc;
}
#frame_c p {
  font-size: 14px;
  color: #000000;
  line-height: 1.5;
  text-align: justify;
}

/*響應試表格圖片反轉~上圖片下文字*/
@media (min-width: 768px) {
  .col-sm-push-5 { left: 58.33333%;}
  .col-sm-pull-7 { right: 41.66667%; }
}
