.phone{position:fixed;right:1%;top:20%;z-index:1000;}
.fb{position:fixed;right:1%;top:30%;z-index:1000;}
.line-1{position:fixed;right:1%;top:40%;z-index:1000;}
.snip1414 {
  position: relative;
  font-size: 40px;
  background-color: #fff;
  color: rgba(0, 0, 0, 0.8);
  width: 100%;
  margin: 0px;
  min-height: 150px;
  padding:20px;
  line-height: 1.2;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #cccccc;
}

.snip1414:after {
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: -3px;
  right: -3px;
  background-color: #2f6ca7;
  content: '';
  z-index: -1;
  -webkit-transform: rotate3d(40, 40, 0, 40deg);
  transform: rotate3d(40, 40, 0, 40deg);
  opacity: 0;
}

.snip1414:before,
.snip1414:after {
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.snip1414:hover,
.snip1414:active,
.snip1414.hover {
  color: #000;
}

.snip1414:hover:after,
.snip1414:active:after,
.snip1414.hover:after {
  -webkit-transform: rotate3d(0, 0, 0, 0deg);
  transform: rotate3d(0, 0, 0, 0deg);
  opacity: 1;
}

.table-1{
  text-align: center;
  background-color: #fff;
  color: #333;
  width: 100%;
  height: 200px;
  padding:20px;
  border-radius: 10px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}


#header .topnavbar .container {
    padding-left: 60px;
    padding-right: 60px;

}
/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 430px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet, .youtube-1, .tiktok , .thread { 
    transform: scale(0.8);
    right:0;
  }
}

.topnavbar {
    background-color: #2f6ca7;/*頁籤底圖顏色;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;
}

body {
    background-color: #fff;/*背景底色*/
    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;/*文字顏色*/
}

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: #252595;
  font-size: clamp(2rem, 3vw, 3rem); /*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
}

/*nav*/
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #fff;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #fff;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #fff;/*頁籤按下後文字顏色*/
    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: #2276d2;/*產品格文字顏色*/
    background-color: #eee;/*產品格底色*/
}
ul.product-list li a:hover {
    color: #2276d2;/*產品格滑過文字顏色*/
}
.productdetail .detail-spec h2 p{
    color: #333;
    font-size: 30px;
}/*產品內頁標題文字*/


/*title文字顏色*/
.h1title h1{
    color: #333333;
}

a {
    color: #00b7ee;/*連結顏色*/
    text-decoration: none;
}

.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(700 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}
#bodyinhome .fcol.fcol-5 .container{
  width:100%;
  padding:0px;
  margin:0px;
}
#bodyinhome .fcol.fcol-2 {
  background-color: #1262b3;
}
#bodyinhome .fcol.fcol-6 {
  display:none;
}
body.about-us .fcol.fcol-2{
  background-image:url("https://static.iyp.tw/409691/files/c95f5c98-c287-4d56-9ea4-589b7cc9664e.png");
  background-color:#0e83ba;
  background-repeat:no-repeat;
  background-position:center top;
  padding:1em;
}
body.about-us .fcol.fcol-3{
  background-image:url("https://static.iyp.tw/409691/files/a4776171-21d1-4108-bb76-6b830a329e13.jpg");
  background-attachment:fixed;
}
#bodyinhome .fcol.fcol-3 {
  background-image:url("https://static.iyp.tw/409627/files/5c21995e-1bdc-44f2-9e1c-70bc9829ba7e.jpg");
  background-attachment:fixed;
  padding:3em;
}
/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 25px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-more {
    border: 1px solid #000;
    color: #000000;
    font-size: clamp(18px, 3vw, 20px);
    background-color: transparent;
    font-weight: 500;
}
.btn-more:hover{
    background-color: #2196F3; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}

.btn-phone {
    border-radius: 10px;
    border: 0px solid #000;
    color: #fff;
    font-size: clamp(28px, 3vw, 30px);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}
.btn-phone { background-color: #ff0057;}
.btn-phone:hover {
  transform:scale(1.1);
  background-color: #ff0000;
  top:-10px;
}

/*服務項目*/
.service-item {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 10px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;/*表格細線*/
}
.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.service-item i {
  font-size: 40px;
  color: #253852;
  margin-bottom: 10px;
}
.service-item h5 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;     
}

.service-item img {
  aspect-ratio: 16 / 9;
   width: 100%;
  object-fit: cover;
  margin-bottom: 10px;    
}

.service-item h5 span {
  border-radius: 30px;
  background-color: #252595;
  padding:5px 15px;     
}

.service-item p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  text-align: left;
}

/*footer*/
#foot-nav {
    display: flex;
    justify-content: center;
}

/*圖文連結特效*/
.snip1504 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 160px;
  max-width: 100%;
  width: 100%;
  color: #000000;
  text-align: left;
  font-size: 16px;
  background-color: #fff;
}

.snip1504 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.45s ease;
  transition: all 0.45s ease;
}

.snip1504 img {
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  vertical-align: top;
  width: 100%;
  aspect-ratio: 4 / 3;
  backface-visibility: hidden;
}

.snip1504 figcaption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  align-items: center;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.snip1504 h3,
.snip1504 h5 {
  margin: 0;
  opacity: 0;
  letter-spacing: 1px;
}

.snip1504 h3 {
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
  text-transform: uppercase;
  font-weight: 400;
}

.snip1504 h5 {
  font-weight: normal;
  font-style: italic;
  color: #888;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
}

.snip1504 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.snip1504:hover > img,
.snip1504.hover > img {
  opacity: 0.1;
}

.snip1504:hover h3,
.snip1504.hover h3,
.snip1504:hover h5,
.snip1504.hover h5 {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}

.t-1 h3{    
  color: #252595;
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: 2px;
}

/*圖片特效-圖片拉大 雲科當舖*/
.pic{
	width:ˇ350px; 
    min-height:95px;
    max-height:240px;
    overflow:hidden;
    margin-left:auto; /*置中*/
    margin-right:auto;/*置中*/
    
}

.pic img {
  	width:100%; 
    min-height:95px;
    height:240px;
  object-fit: cover;
}
.pic img{transform:scale(1,1);transition: all 1s ease-out;}
.pic img:hover{transform:scale(1.2,1.2);}


/*fcol 欄位要加寬 鍵頭才會出現在左右*/
#bodyinhome .fcol.fcol-6 .container{
  max-width:100%;
  width:80%;
  padding:40px 0;
}
