/*根元素*/
:root{
--bg:#ffffff; /* 背景(白) var(--bg)*/
--card:#f1f1f1; /* 卡片底(淺灰) var(--card)*/
--text:#157ed6; /* 主要文字(藍) var(--text)*/
--text2:#4f86d6; /* h3次要文字(藍) var(--text2)*/
--text3:#00bcd4; /* h4次要文字(藍) var(--text3)*/
--text4:#ff6000; /* 黃色 var(--text4)*/
--green:#40b144;/* 綠色 var(--green)*/
--blue:#004a99; /* 藍色 var(--blue)*/
--orange:#FF9800; /* 橙色 var(--orange)*/
--yellow:#fff000;/* 黃色 var(--yellow)*/
--shadow: 0 5px 10px rgba(0,0,0,.25); /* 陰影 var(--shadow)*/
--gradient: linear-gradient(120deg, #6718cd 0%, #2d6ff9 100%); 
--gradient2: linear-gradient(120deg, #ff9000 0%, #ff544f 100%); /* 漸層 var(--gradient)*/
}

.word_background {
  background: var(--gradient2); 
  padding: 5px 20px; 
  color: #ffffff;

}


.topnavbar {
    background-color: rgba(255,255,255,0);/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
}

.topnavbar .container {
  text-align: center;
  padding: 0;
}

.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 {  display: block; }
#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: 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);/*最小值 首選值 最大值 限制屬性值區間*/
}

/*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(--text4);/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: var(--text4);/*頁籤按下後文字顏色*/
    font-weight: 500;
}

#nav .subnav {
    background-color: rgba(255,255,255,0.8);/*次頁籤底色*/
    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;/*下拉選單箭頭距離*/
}

#nav>ul>li .no-subnav a:hover {
  color: #fff;
   background-color: #ff6000; 
   border-radius: 0px; 
}

/*產品頁*/
#side h3 {
  /*background-color: var(--card);*/
  background-image: var(--gradient);
  border-radius: 10px 10px 0 0;
  font-size: 1.4em;
  font-weight: 700;
  color: #fff;
}
#side ul li a {
  font-size: 16px;
  color: #333;
}
#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(--text);
}

a {
    color: var(--text3);/*連結顏色*/
    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-2 { background-color: var(--card);}

#bodyinhome .fcol.fcol-2 .container { width: 100%;}
#bodyinhome .fcol.fcol-3  { 
background: linear-gradient(to bottom,  rgba(140,220,242,0.5) 0%,rgba(255,255,255,0) 100%); 
}
#bodyinhome .fcol.fcol-5  { 
background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(193,236,248,0.5) 54%,rgba(140,220,242,0.5) 100%);}

body.about-us .fcol.fcol-3 {
    background-image: -webkit-linear-gradient(top, #fff 40%, rgba(0, 0, 0, 0.0) 40%), url(https://static.iyp.tw/409874/files/824e9137-5fca-4c8f-b60a-65473c2d991a.jpg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}


#bodyinhome .fcol.fcol-6, body.about-us .fcol.fcol-6 {  background-color: var(--card); }


/*footer*/
#footer {
    color: #fff;
    /* background-color: #222; */
    background-image: var(--gradient);
}
#footer a { color: #fff; }
#footer a:hover { color: var(--yellow); }

#foot-nav ul li a {
    display: block;
    color: #fff;
    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(--text2);}

#foot-nav {
  clear: both;
  padding: 2em 0 1em;
  border-bottom: 0px solid #444;
  display: flex;
  justify-content: center;
}

/*首頁-about*/
@media only screen and (min-width: 768px){
  .t-box {
    z-index: 2;
    right: -4em;
  }
  .t-bg { 
    background-color: rgb(255 255 255 / 70%); 
    padding: 3em 2em; 
  }
}
@media only screen and (max-width: 767px){ .t-bg { background-color: #fff; padding: 2em 3em; }}

.img-about {
  position: relative; /* 設置相對定位，方便控制偽元素位置 */
}
.img-about img {
  position: relative;
  z-index:1;
  display: block;
}
.img-about::after {
  content: ""; /* 偽元素的內容設為空 */
  position: absolute; /* 絕對定位 */
  left: -30%;
  bottom: 5%;
  width: 100%;
  height: 85%; 
  border: 10px #ddd solid;
}


/*按鈕-文字底色變化特效*/
.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: 1px solid #ddd;
    color: var(--text);
    font-size: clamp(16px, 3vw, 20px);
    background-color: var(--bg);
    font-weight: 500;
}
.btn-more1:hover{
    background-color: var(--text2); /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}




/*內文效果(有偽元素裝飾)*/
.t-1 h2 { 
  font-size: clamp(20px,3vw,36px);
  color: var(--text);
  line-height: 1.5;
}
.t-1 h3 {
  color: var(--text2);
  font-size: clamp(1.5rem, 2vw, 2rem); 
  line-height:1.5;
}
.t-1 h3::after { 
    content: '';
    display: block;
    position: relative;
    height: 20px;
    width: 100%;
   background-color: #ffbd00;
    margin-left: -10px;
    margin-top: -1.0rem;
    z-index: -1;
}


.t-1 h4 {
  color: var(--text3);
  font-size: clamp(20px, 2vw, 26px); 
  line-height:1.5;
}

.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;}

.t-1 table {
  border-collapse: collapse;/*表格細線*/
}

.t-1 th, .t-1 td {
  text-align: center;/*表格文字置中*/
  padding: 15px;/*內距*/
  border-bottom: 1px solid #ddd;/*表格細線*/
  font-size: clamp(16px, 2vw, 18px); /*最小值 首選值 最大值 限制屬性值區間*/
    color: #000000;/*文字顏色*/
}

.t-1 tr:nth-child(1){background-color:#3e65f3; color: #fff;}
/*服務介紹*/
.s-item  {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding:15px;
  height: 100%;
  box-shadow: -1px 34px 26px -23px #999999;
}
.s-item img {
  width: 140px;
    background-color: #eee;
    border-radius: 100%;
    margin: -80px 0 0;
}
.s-item h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 2.0;
  letter-spacing: 2px;
  color: #00a0e9;
}
.s-item h4 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 2px;
  color: #080808;
  font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}
.s-item p {
  font-size: 16px;
  line-height: 1.5;
  text-align: justify;
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/    
}

/*產品*/
@import url(https://fonts.googleapis.com/css?family=Open+sans);
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
@import url(https://fonts.googleapis.com/css?family=Playfair+Display);
.snip1515 {
  font-family: 'Open Sans', Arial, sans-serif;
  position: relative;
  margin: 10px;
  min-width: 230px;
  max-width: 315px;
  width: 100%;
  color: #000000;
  text-align: center;
  line-height: 1.4em;
  font-size: 14px;
  box-shadow: none !important;
}

.snip1515 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.snip1515 .profile-image {
  display: inline-block;
  width: 80%;
  z-index: 1;
  position: relative;
  padding: 10px;
  border: 2px solid #e8b563;
}

.snip1515 .profile-image img {
  max-width: 100%;
  vertical-align: top;
  transform:scale(1,1);
  transition: all 1s ease-out;
  opacity: 0.75;
  aspect-ratio: 16 / 14;
  object-fit: cover;
}

.snip1515 .profile-image img:hover {
  max-width: 100%;
  vertical-align: top;
  opacity: 1;
}

.snip1515 figcaption {
  width: 100%;
  background-color: #F2F2F2;
  color: #555;
  padding: 125px 25px 25px;
  margin-top: -100px;
  display: inline-block;
}

.snip1515 h3,
.snip1515 h4,
.snip1515 p {
  margin: 0 0 5px;
}

.snip1515 h3{
  color: #4f86d6;
  font-weight: 600;
  font-size: 1.3em;
  letter-spacing: 2px;
}

.snip1515 h4 {
  color: #fff;
  font-weight: 600;
  font-size: 1.3em;
  letter-spacing: 2px;
  background: var(--gradient2); 
  padding:5px;
}

.snip1515 p {
  font-size: 1.2em;
  letter-spacing: 1px;
  opacity: 0.9;
}

.snip1515 .icons {
  text-align: center;
  width: 100%;
}

.snip1515 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

@import url(https://fonts.googleapis.com/css?family=Raleway:400,600,700,800);
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
figure.snip1208 {
  font-family: 'Raleway', Arial, sans-serif;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin:0 auto;
  min-width: 220px;
  max-width: 310px;
  width: 100%;
  background-color: #ffffff;
  color: #000000;
  text-align: left;
  font-size: 16px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
figure.snip1208 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
figure.snip1208 img {
  max-width: 100%;
  vertical-align: top;
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
figure.snip1208 figcaption {
  padding: 25px;
  position: relative;
}
figure.snip1208 .date,
figure.snip1208 i {
  background-color: #1abc9c;
  top: 25px;
  color: #fff;
  left: 25px;
  min-height: 60px;
  min-width: 60px;
  position: absolute;
  text-align: center;
}
figure.snip1208 .date {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
}
figure.snip1208 .date span {
  display: block;
  line-height: 30px;
}
figure.snip1208 .date .month {
  font-size: 16px;
  background-color: rgba(0, 0, 0, 0.1);
}
figure.snip1208 i {
  line-height: 60px;
  font-size: 30px;
  -webkit-transform: rotateY(-90deg);
  transform: rotateY(-90deg);
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}
figure.snip1208 h3,
figure.snip1208 p {
  margin: 0;
  padding: 0;
}
figure.snip1208 h3 {
   font-size: clamp(20px, 2vw, 24px);
  margin-bottom: 10px;
  display: inline-block;
  font-weight: 600;
  color: #333333;
  text-transform: uppercase;
}
figure.snip1208 p {
  font-size: 0.8em;
  margin-bottom: 20px;
  line-height: 1.6em;
}
figure.snip1208 button {
  border: medium none;
  padding: 10px 20px;
  background-color: #ff9c00;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8em;
}

figure.snip1208 img {
   object-fit: cover; 
  aspect-ratio: 4/4;
}

figure.snip1208 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}
figure.snip1208:hover img,
figure.snip1208.hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
figure.snip1208:hover .date,
figure.snip1208.hover .date {
  -webkit-transform: rotateY(90deg);
  transform: rotateY(90deg);
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}
figure.snip1208:hover i,
figure.snip1208.hover i {
  -webkit-transform: rotateY(0);
  transform: rotateY(0);
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
figure.snip1208:hover button,
figure.snip1208.hover button {
  background-color: #f3c237;
}

/*4大特色*/
@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,600);
.snip1347 {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  min-width: 230px;
  max-width: 315px;
  width: 100%;
  color: #ffffff;
  text-align: left;
  line-height: 1.4em;
  background-color: #fff;
  height:100%;
  border: 3px solid #006ee8;
}
.snip1347 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
.snip1347 img {
  width: 100%;
  vertical-align: top;
  opacity: 0.85;
  height:300px;
  object-fit: cover;
}
.snip1347 .date {
  position: absolute;
  background-color: #fff;
  top: 0;
  right: 0;
  width: 100%;
  padding: 10px 25px 0;
  text-align: right;
  font-size: 0.8em;
  letter-spacing: 1px;
  color: var(--text2);
  text-transform: uppercase;
}
.snip1347 .date:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 400px 55px 0;
  border-color: transparent #fff transparent transparent;
}
.snip1347 figcaption {
  width: 100%;
  background-color: #fff;
  padding: 0 25px 25px;
  position: relative;
}
.snip1347 figcaption:before {
  position: absolute;
  content: '';
  bottom: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 55px 0 0 400px;
  border-color: transparent transparent transparent #fff;
}
.snip1347 figcaption a {
  padding: 5px;
  border: 1px solid #ffcc00;
  color: #ffcc00;
  font-size: 0.7em;
  text-transform: uppercase;
  text-decoration: none;
  margin: 10px 0;
  display: inline-block;
  opacity: 0.65;
  width: 47%;
  text-align: center;
  font-weight: 600;
  letter-spacing: 1px;
}
.snip1347 figcaption a:hover {
  opacity: 1;
}
.snip1347 h2 {
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 1.5em;
  line-height: 1.2em;
  color:#00a0e9;
}
.snip1347 p {
  margin: 0 0 10px;
  font-size: 1.0em;
  letter-spacing: 1px;
  opacity: 0.8;
}

/*手機版漢堡選單*/
.navbar .container {
    background-color: #333; /*導覽列背景顏色樣式*/
}
.navbar-icon-bar {
  width: 28px; /* 三變大*/
  height: 4px; 
  background-color: #fff; /* 填入想要的三條線顏色 */

}
.navbar-icon-bar:before, .navbar-icon-bar:after {
    background-color: #fff; /* 填入想要的三條線顏色 */
}
.navbar .rwd-navbar-toggle {
    padding-right: 100% !important;/*導覽列寬度*/
}
.navbar .rwd-navbar-toggle .label {
    left: 45px;
    font-size: 1.0rem; /*導覽列文字尺寸*/
    color: #fff; /*導覽列文字顏色樣式*/
    background-color: var(--text2);/*導覽列文字背景顏色*/
    border-radius: 3px;
    padding: 4px;
}
@media only screen and (max-width: 767px){
.rwd-side .nav li {
    border-bottom: 1px #ccc dashed; /* 展開連結文字底虛線 */
}
.rwd-side .nav span {
    color: #fff; /* 展開連結文字顏色 */
}}


/* 下排浮動頁籤連結 */
#wrap-fmenu{
   max-width:1920px;
    width:100%;
    margin:0px auto;
    display:block;
}
.fMenu{
   background-color:#441506;
   display:block;
   position:fixed;
   width:100%;
   margin:0 auto;
   z-index:100;
   color:#FFF;
   left:0;
   bottom:0;
}
.fMenu ul li{
    letter-spacing:1.5px;
    float:left;
    width:50%;
    border-left:1px solid #fff;
    box-sizing:border-box;
    color:#FFF;
    min-height: 90px; /*最小高度*/
    display: flex;
    flex-direction: column;
    align-items: center;
  justify-content: center;
}
.fMenu ul li:first-child{
	border:none;
}
.fMenu ul li a{
    display:block;
    padding: 10px 10px 0 10px;
    font-size: clamp(12px, 2vw, 16px);
    color:#FFF;
    text-align:center;
    box-sizing:border-box;
    letter-spacing:0px;
    line-height: 1.2;
}
.fMenu ul li a i{
    display:block;
    font-size: clamp(20px, 3vw, 24px);
    color:#FFF;
  margin: 0 auto;
}

/*避免遮到footer版權服務文字*/
body[data-type="fullpage"] .container #footer-service { padding: 15px 15px 100px 15px; }


