.phone{position:fixed;right:1%;top:40%;z-index:1000;}
.fb{position:fixed;right:1%;top:52%;z-index:1000;}
.line-1{position:fixed;right:1%;top:64%;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:#ffffff; /* 背景(白) var(--bg)*/
--p:#000000; /* 段落文字 var(--p)*/
--card:#f1f1f1; /* 卡片底(淺灰) var(--card)*/
--text:#d176ac; /* 主要文字(粉) var(--text)*/
--text2:#b594d0; /* h3次要文字(粉紫) var(--text2)*/
--text3:#cf3884; /* h4次要文字(深粉) var(--text3)*/
--text4:#f5dde3; /* h4次要文字(淺粉) var(--text4)*/
--shadow: 0 5px 10px rgba(0,0,0,.25); /* 陰影 var(--shadow)*/
--gradient: linear-gradient(120deg, #d176ac 0%, #f5dde3 100%); /* 漸層 var(--gradient)*/
}

.topnavbar {
    background-color: #fff;/*頁籤底圖顏色;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: #fff;/*背景底色*/
  font-family: 'Noto Serif TC', serif; /*明體*/
}

#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(26px, 3vw, 36px);/*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
}

.fcol h3 { 
  color: var(--text2);
  font-size: clamp(24px, 3vw, 30px);/*最小值 首選值 最大值 限制屬性值區間*/
}

.fcol h4 { 
  color: var(--text3);
  font-size: clamp(20px, 3vw, 24px);/*最小值 首選值 最大值 限制屬性值區間*/
}

.fcol h5 { 
  color: var(--text4);
  font-size: clamp(20px, 3vw, 24px);/*最小值 首選值 最大值 限制屬性值區間*/
}

/*nav*/
#nav {
    vertical-align: bottom;
}
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #000;/*頁籤文字顏色*/
    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 .subnav .has-subnav span{
    max-width: 400px;/*次頁籤文字背景最大寬度*/
}

#nav li.has-subnav ul li.has-subnav>div a::after, #nav>ul>li.has-subnav>a::after {
    padding-left: 2px;/*下拉選單箭頭距離*/
}

/*產品頁*/
#side h3 {
  /*background-color: var(--card);*/
  background-image: var(--gradient);
  border-radius: 10px 10px 0 0;
  font-size: 1.4em;
  font-weight: 700;
  color: var(--bg);
}
#side ul li a {
  font-size: 16px;
  color: #333;
  border-bottom: 1px dashed #ddd;
}
#side ul li a:hover {
  color: var(--text);
}

ul.product-list li a {
    color: var(--text);/*產品格文字顏色*/
    background-color: #eee;/*產品格底色*/
}
ul.product-list li a:hover {
    color: var(--text2);/*產品格滑過文字顏色*/
}
.productdetail .detail-spec h2 p{
    color: #333;
    font-size: 30px;
}/*產品內頁標題文字*/


/*title文字顏色*/
.h1title h1{
    color: var(--text3);
}

a {
    color: var(--text);/*連結顏色*/
    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-4 {
  background-color: #fdf5f7;
  padding: 3em 0;
}

#bodyinhome .fcol.fcol-5, #bodyinhome .fcol.fcol-6 { display:none; }

/*圖文特效*/
figure.snip1142 {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 350px;
  width: 100%;
  background: var(--bg);
  color: #333;
  text-align: center;
  box-shadow: var(--shadow);
  border-radius: 1em;
}

figure.snip1142 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s cubic-bezier(0.25, 0.5, 0.5, 0.9);
  transition: all 0.35s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}

figure.snip1142 img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

figure.snip1142 figcaption {
  position: relative;
  background-color: #ffffff;
  padding: 25px;
}

figure.snip1142 h3 {
  font-size: 22px;
  color: var(--text3);
  margin: 0;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

figure.snip1142 p {
  font-size: 16px;
  color: #666;
  font-weight: 500;
  margin: 0;
  line-height: 1.6em;
}

figure.snip1142:hover img,
figure.snip1142.hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  opacity: 0.8;
}

.snip1142 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

/*footer*/
#footer {
  color: var(--p);
  background-color: var(--text4);
  letter-spacing: 1px;
}

#footer a { color: var(--text3); }
#footer a:hover { color: var(--text); }

#foot-nav ul li a {
  display: block;
  color: var(--bg);
  font-size: 14px;
  margin-right: 15px;
  padding: 3px 10px;
  background-color: var(--text);
  border-radius: 10px;
}
#foot-nav ul li a:hover { 
  background-color: var(--text3);
  color: var(--bg);
}

#foot-nav {
  clear: both;
  padding: 2em 0 1em;
  border-bottom: 0px solid #444;
  display: flex;
  justify-content: center;
}

#contact-info ul li span { color: color: var(--p); }
.contact-row h5 { color: color: var(--p); }

/*footer-社群icon按鈕*/
.f-icon ul li {
  margin: 5px;
  display: inline-block;
}
.f-icon ul li i {
  font-size: 18px;
  color: #fff;
}
.f-icon-btn {
  width: 35px;
  height: 35px; 
  background-color: var(--text);
  border-radius: 100%;
  margin: 0 auto;
  border-width: 0;
  transition: all 0.3s ease;
  line-height: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.f-icon-btn:hover { background-color: var(--text3); }

/*內文效果*/
.t-1 h3 {
  color: var(--text);
  font-size: clamp(22px, 2vw, 24px); 
  border-left: 5px solid var(--text3);
  border-bottom: 1px solid var(--text3);
  padding: 0 10px 5px;
}
.t-1 h4 {
  color: var(--p);
  font-size: clamp(20px, 2vw, 22px);
  line-height: 1.5;
  background-color: var(--text4);
  padding: 0 15px;
  text-align: center;
  border-radius: 5px;
  border: var(--text);
}
