.phone{position:fixed;right:1%;top:40%;z-index:1000;}
.line-1{position:fixed;right:1%;top:52%;z-index:1000;}
.map{position:fixed;right:1%;top:64%;z-index:1000}
.ig{position:fixed;right:1%;top:76%;z-index:1000}
.fb{position:fixed;right:1%;top:88%;z-index:1000}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 430px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .phone-1, .pixnet, .youtube-1, .tiktok , .thread { 
    transform: scale(0.8);
    right:0;
  }
}

:root {
  --main_bg: #355C55;/* 主色(墨綠) var(--main_bg)*/
  --main2_bg: #467f75;/* 主色(墨綠) var(--main2_bg)*/
  --secondary: #91A79D;/* 主色(墨綠) var(--secondary)*/
  ----background: #F7F6F2;/* 背景(淺灰) var(--background)*/
  --section-bg: #E8E6E1;
  --text: #333836;/* 背景(淺灰) var(--text)*/
  --accent: #B89A68;/* 主色(粽色) var(--accent)*/
  --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)*/
}

/*動到表格手機不會破版*/
table {
  table-layout: fixed;
  word-wrap:break-word;
} 


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(--main_bg);
  font-size: clamp(1.0rem, 2vw, 1.5rem); 
 /*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2; 
}


.topnavbar {
 /* background-color: Transparent;*/
   background-color: rgba(255,255,255,0.95); /*頁籤底圖顏色;background-color: #fff;透明Transparent*/
    /*position: relative;relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding-bottom: 0;/*頁籤間距*/
}

.topnavbar .container {
   text-align: center;
  padding: 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}


/*nav*/
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: var(--text);/*頁籤文字顏色*/
    padding: 10px 16px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #fff;/*頁籤滑過文字顏色*/
  background-color: var(--main_bg);
}
#nav ul li.current a {
    color: var(--accent);/*頁籤按下後文字顏色*/
    font-weight: 500;
}



#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    text-align: left;
}

#nav li.has-subnav ul li a:hover {
   color: #fff;/*次頁籤滑過後文字顏色*/ 
  background-color: rgb(53, 92, 85);
}

#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: linear-gradient(120deg, var(--main_bg) 0%, var(--main2_bg) 100%);
  border-radius: 10px 10px 0 0;
  font-size: 1.0em;
  font-weight: 700;
  color: #fff;
}
#side ul li a {
  font-size: 16px;
  color: var(--text);
  border-bottom: 1px dashed #ddd;
}
#side ul li a:hover {
  color: var(--main_bg);
}


ul.product-list li a {
    color: #fff;/*產品格文字顏色*/
    background-color: var(--main_bg);/*產品格底色*/
}

ul.product-list li a:hover {
    color: #e5d5b3;/*產品格滑過文字顏色*/
}


/*title文字顏色*/
.h1title h1{
    color: var(--main_bg);
}

a {
    color: var(--main_bg);/*連結顏色*/
    text-decoration: none;
}

a:hover  {
    color: #1e5a9b;/*連結顏色*/
    text-decoration: none;
}

/* 首頁與內頁共用 */
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
}

.swiper-slide {
  width: 100% !important;
}

/* 首頁 */
#bodyinhome .swiper-wrapper, #bodyinhome .swiper-slide {
  padding-bottom: calc(800 / 1920 * 100%); /* 首頁 banner 大小 */
}

/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(500 / 1920 * 100%); /* 內頁 banner 大小 */
}
/*title文字顏色*/
body.about-us  .h1title {display: none;}
.fcol.fcol-header .container { padding: 0px;/*頁籤間距*/}
.h1title {text-align:center;}

#bodyinhome .fcol.fcol-2 .container { width: 100%; padding: 4px;}
#bodyinhome .fcol.fcol-4 { 
 background-attachment: scroll;
   background-repeat: no-repeat;
   background-position:left center;
   background-size: cover;
   background-image: -webkit-linear-gradient(left, rgb(255 255 255 / 0%) 0%, rgb(255 255 255 / 30%) 100%),url(https://static.iyp.tw/409998/files/f2b0c98a-14f9-45f3-9244-c18365728348.jpg);
  padding: 2rem 0;
}

#bodyinhome .fcol.fcol-5 .container {  padding: 2rem 0;}

#bodyinhome .fcol.fcol-6 .container { width: 100%; padding: 0px; margin-bottom: -5px;}

body.about-us .fcol.fcol-2 { 
 background-attachment: scroll;
   background-repeat: no-repeat;
   background-position:left center;
   background-size: cover;
   background-image: -webkit-linear-gradient(left, rgb(255 255 255 / 50%) 100%, rgb(255 255 255 / 100%) 100%),url(https://static.iyp.tw/409998/files/54c41da7-fbf1-4cf2-b612-9140cbd21736.jpg);
  padding: 5rem 0;
}

body.about-us .fcol.fcol-4 { 
  background-attachment: scroll;
   background-repeat: no-repeat;
   background-position:left center;
   background-size: cover;
   background-image: -webkit-linear-gradient(left, rgb(255 255 255 / 50%) 100%, rgb(255 255 255 / 100%) 100%),url(https://static.iyp.tw/409998/files/7367c0a2-a87f-47ca-81eb-0a15e42067cb.jpg);
  padding: 5rem 0;
}

/* 文字新做法*/
#main-wrap .container {
     font-size: clamp(1.0rem, 1.5vw, 1.2rem);
  line-height:30px;
  color: #2d2d2d;
}
#footer {
   font-size: 12px;
}

body {
    background-color: var(--background);/*背景底色*/
    font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

/*footer*/
#footer {
    color: #fff;
    background-color: var(--main_bg);
}
#foot-nav {
  clear: both;
  padding: 2em 0 1em;
  border-bottom: 0px solid #444;
  display: flex;
  justify-content: center;
  
}

.contact-row h5 { color: #fff;}

#footer a { color: #fff; }
#footer a:hover { color: #fff; }

#foot-nav ul li a {
    display: block;
    color: var(--main_bg);
    font-size: 14px;
    margin-right: 15px;
    padding: 3px 10px;
    background-color: var(--accent);
   border-radius: 5px;
}

#foot-nav ul li a:hover { background-color: #ece1d0; color: #7c2c2f;}

/*首頁圖片*/
.about-visual {
    width: 100%; 
  aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(85,55,28,.2), rgba(85,55,28,.2)),
        url("https://static.iyp.tw/409998/files/96cc34ee-0d2a-4c45-bce0-60b44486c587.jpg") center / cover no-repeat;
}

.about-badge {
    position: absolute;
    left: 50px;
    bottom: 50%;
    padding: 18px 22px;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,.2);
   text-shadow: 1px 1px 3px #000;
}


/* 效果2 */
@import url(https://fonts.googleapis.com/css?family=Raleway:400,500,800);
figure.snip1084 {
  font-family: 'Raleway', Arial, sans-serif;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 220px;
  max-width: 100%;
  max-height: 300px;
  width: 100%;
  background: #000000;
  text-align: center;
  border: 1px solid #d7d7d7;/*表格細線*/
}

figure.snip1084 * {
  -webkit-box-sizing: padding-box;
  box-sizing: padding-box;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

figure.snip1084 img {
  opacity: 2;
  width: 100%;
   object-fit: cover; 
  height: 350px; /*高度*/
}

figure.snip1084 figcaption {
  top: 50%;
  left: 40px;
  right: 40px;
  position: absolute;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

figure.snip1084 figcaption h2 {
  position: relative;
  font-weight: 400;
  font-weight:bold;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  -webkit-transform: translateY(75%);
  transform: translateY(75%);
  text-shadow: black 0.1em 0.1em 0.2em;
}

figure.snip1084 figcaption h2 span {
  font-weight: 800;
}

figure.snip1084 figcaption p {
  font-size: 0.9em;
  font-weight: 500;
  opacity: 0;
  margin: 0;
}

figure.snip1084:before,
figure.snip1084:after {
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  content: '';
  opacity: 0;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  transition: opacity 0.6s, -webkit-transform 0.6s, -moz-transform 0.6s, -o-transform 0.6s, transform 0.6s;
}

figure.snip1084:before {
  border-top: 1px double #fff;
  border-bottom: 1px double #fff;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
}

figure.snip1084:after {
  border-right: 1px double #fff;
  border-left: 1px double #fff;
  -webkit-transform: scale(1, 0);
  transform: scale(1, 0);
}

figure.snip1084 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

figure.snip1084.blue {
  background: #0a212f;
}

figure.snip1084.red {
  background: #037342;
}

figure.snip1084.yellow {
  background: #562e0a;
}

figure.snip1084:hover img,
figure.snip1084.hover img {
  opacity: 0.2;
  -webkit-filter: blur(5px);
  filter: blur(5px);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

figure.snip1084:hover figcaption h2,
figure.snip1084.hover figcaption h2,
figure.snip1084:hover figcaption p,
figure.snip1084.hover figcaption p {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.5);
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

figure.snip1084:hover figcaption p,
figure.snip1084.hover figcaption p {
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

figure.snip1084:hover:before,
figure.snip1084.hover:before,
figure.snip1084:hover:after,
figure.snip1084.hover:after {
  opacity: 0.8;
  -webkit-transform: scale(1);
  transform: scale(1);
}

@media only screen and (min-width: 768px){
.text_word {
  -webkit-writing-mode: vertical-rl;
  vertical-align:text-top;
}}
