/*根元素*/
:root{
--bg:#ffffff; /* 背景(白) var(--bg)*/
--card:#f1f1f1; /* 卡片底(淺灰) var(--card)*/
--text:#0451a3; /* 主要文字(藍) var(--text)*/
--text2:#4f86d6; /* h3次要文字(藍) var(--text2)*/
--text3:#00bcd4; /* h4次要文字(藍) var(--text3)*/
--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, #6f86d6 0%, #48c6ef 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: center;
  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黑體*/
}

#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 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 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: #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文字顏色*/
body.about-us  .h1title {display: none;}
.fcol.fcol-header .container { padding: 0px;/*頁籤間距*/}

/*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; /* 強制圖片寬度隨容器變更 */
}

body.about-us .fcol.fcol-1 {
  background-image: -webkit-linear-gradient(-45deg, #f5f5f5 40%, #fff 40%);
  padding: 3em 0 ;
}
body.about-us .fcol.fcol-1 .container {
    width: 100%;
    padding: 0;
}

body.about-us .fcol.fcol-2 {
  background-image: -webkit-linear-gradient(top, #fff 35%, rgb(0 0 0 / 0%) 35%), url(https://static.iyp.tw/409829/files/4d460c1e-a317-4217-899d-5eda3db9e50f.jpg);
  background-repeat: no-repeat;
  background-position:20% 0%;
  background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  padding: 3em 0 10em;
}

body.about-us .fcol.fcol-4 {  
background-image: -webkit-linear-gradient(90deg,#fff 0% ,rgb(0 0 0 / 0%)  50%),url(https://static.iyp.tw/409828/files/592b6ee9-e299-43a7-9413-4b54001d5c0a.jpg);
  background-repeat: no-repeat;
  background-position:50% 50%;
  background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  padding: 3em 0;
}

body.about-us .fcol.fcol-6 {  
    color: #ffffff;
  padding-top: 120px;
  margin-top: 0px;
  background-color:#e7e7e7;
 display: block;
 position: relative;
 height: auto;
 background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1910 415" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path fill="rgba(255, 255, 255, 1)" d="M 0 153 C 234.4 153 351.6 97 586 97 L 586 97 L 586 0 L 0 0 Z" stroke-width="0"></path> <path fill="rgba(255, 255, 255, 1)" d="M 585 97 C 903.8 97 1063.2 171 1382 171 L 1382 171 L 1382 0 L 585 0 Z" stroke-width="0"></path> <path fill="rgba(255, 255, 255, 1)" d="M 1381 171 C 1596.6 171 1704.4 86 1920 86 L 1920 86 L 1920 0 L 1381 0 Z" stroke-width="0"></path></svg>') ,-webkit-linear-gradient(45deg, #e7e7e7 0% ,#e7e7e7  100%);
 /*background-size: cover;*/
 background-repeat: no-repeat;
}

/*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;
}

/*frame-right*/
@media only screen and (min-width: 768px){
  .frame-right { margin-top: 5em; }
}
/*產品介紹圖文特效*/
figure.snip1249-a {
  position: relative;
  /*overflow: hidden;*/
  margin: 0 auto;
  min-width: 150px;
  width: 100%;
}
figure.snip1249-a * {
  -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-a img{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  vertical-align: top;
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  padding: 1.5em;
  border: 1px solid var(--text3);
}
figure.snip1249-a:hover img{
  opacity: 0.8;
}
figure.snip1249-a h3 {
  margin: -0.7em 0 1em 0;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: clamp(22px, 3vw, 36px);
}
figure.snip1249-a .item-title {
  position: absolute;
    z-index: 1;
    top: -20px;
    right: 0;
    text-transform: uppercase;
    background-color: var(--bg);
    padding: 0 10px;
  font-size: clamp(18px, 3vw, 24px);
}
figure.snip1249-a p {
  margin: 0;
  color: #666;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: justify;
  line-height: 2;
}
figure.snip1249-a figcaption {
  padding: 5px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}

figure.snip1249-a .btn-more {
/*border: 1px solid #b7883f;
    padding: 0.4em 0.6em;*/
    color: var(--text);
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    margin: 10px 20px;
    text-align: center;
    letter-spacing: 5px;
}
figure.snip1249-a:hover .btn-more {
  color: var(--orange);
}
figure.snip1249-a a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

/*首頁-影片實績按鈕*/
figure.btm_mov{
  position: relative;
  margin: 0 auto;
  padding: 1em;
  background-color: var(--text);
  display: flex; 
  flex-direction: column;
  justify-content: center; 
  align-items: center;
  border-radius: 100%; 
  width: 200px; 
  height: 200px;
  color: #fff;
  text-align: center;
  transition: 0.5s;
}
figure.btm_mov:hover { background-color: var(--text2); }

figure.btm_mov:before {
    position: absolute;
    display: block;
    content: '';
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    top: 50%;
    left: 50%;
    border: 1px solid var(--bg);
    border-radius: 100%;
    transform: translate(-50%, -50%);
    transition: all .3s;
}

figure.btm_mov:hover:before {
	width: 110%;
	height: 110%;
  border: 1px solid var(--text2);
}

figure.btm_mov a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  color: #fff;
}

/*我們能做的*/
@import url(https://fonts.googleapis.com/css?family=Lato:400,600,700);
.snip1527 {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
   margin: 0 auto 0;
  max-width: 400px;
  min-width: 150px;
  overflow: hidden;
  position: relative;
  text-align: left;
  width: 100%;
}

.snip1527 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}



.snip1527 img {
  max-width: 100%;
  vertical-align: top;
  position: relative;
 aspect-ratio: 9 / 12; 
  object-fit: cover;
}

.snip1527 figcaption {
    width: 100%;
  padding: 25px 20px 25px;
  position: absolute;
  bottom: 0;
  z-index: 1;
}

.snip1527 figcaption:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #bdaa94;
  content: '';
  background: -moz-linear-gradient(90deg, #00bcd4 0%, #00bcd4 100%, #00bcd4 100%);
  background: -webkit-linear-gradient(90deg, #0451a3 0%, #0451a3 100%, #0451a3 100%);
  background: linear-gradient(90deg, #0451a3 0%, #0451a3 100%, #0451a3 100%);
  opacity: 0.8;
  z-index: -1;
}

.snip1527 .date {
  background-color: #fff;
  border-radius: 50%;
  color: #0451a3;
  font-size: 18px;
  font-weight: 700;
  min-height: 48px;
  min-width: 48px;
  padding: 10px 0;
  position: absolute;
  right: 15px;
  text-align: center;
  text-transform: uppercase;
  top: -25px;
}


.snip1527 .date span {
  display: block;
  line-height: 14px;
}

.snip1527 .date .month {
  font-size: 11px;
}

.snip1527 h3,
.snip1527 p {
  margin: 0;
  padding: 0;
}

.snip1527 h3 {
  display: inline-block;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 5px;
  color: #fff; 
  font-size: 20px;
}

.snip1527 p {
  font-size: 0.8em;
  line-height: 1.6em;
  margin-bottom: 0px;
  color: #fff; 
}

.snip1527 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

.snip1527:hover img,
.snip1527.hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}




/*實績影片*/
.mov-frame {
  background-color: var(--card);
  border-radius: 1em;
  overflow: hidden;
  margin-bottom: 15px;
}
.mov-frame p { font-size: clamp(14px, 2vw, 16px); line-height: 1.5; }

/*手機版漢堡選單*/
.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:20%;
    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; ; }

