.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 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: #004d93;
  font-size: clamp(24px, 3vw, 36px);/*最小值 首選值 最大值 限制屬性值區間*/
  /*line-height:2;*/
}
.fcol h3 { 
  color: #2276d2;
  font-size: clamp(18px, 3vw, 24px);/*最小值 首選值 最大值 限制屬性值區間*/
  /*line-height:2;*/
}

/*nav*/
#nav {
    vertical-align: bottom;
}
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #333333;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #036d89;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #036d89;/*頁籤按下後文字顏色*/
    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: #004d93;
}

a {
    color: #00b7ee;/*連結顏色*/
    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 {
   width: 100%;
   background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position:left top;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgb(255 255 255 / 90%) 0%, rgb(255 255 255 / 50%) 100%), url(https://static.iyp.tw/409735/files/5ebac562-a7f2-4a65-a77a-82d4a59dee11.jpg);
   background-color: #fff;
}

#bodyinhome .fcol.fcol-4 {  background-color: #f5f5f5; }
#bodyinhome .fcol.fcol-6 {  background-color: #acdcf1; }

/*服務項目*/
.pro-1 { margin-bottom: 4em; background-color: #f5f5f5; border-radius: 2em; overflow: hidden; box-shadow: 0 30px 20px -30px #0005;}
.pro-1 img {width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; display: block;}
.pro-1 a { color:#000; }
.pro-1 a:hover {color: #2276d2;}

/*流程*/
.step-1 {
  border-radius: 1em;
  background-color: #ddd;
  padding: 2em;
  height: 100%;
}
.step-1 #t-1 {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    width: 60px;
    height: 60px;
    font-size: 2em;
    color: #fff;
    background-color: #ff6600;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  margin: -40px 0 -20px -40px;
}
.step-1 h3 {
  text-align: center;
  margin-bottom: 0.5em;
  font-weight: 700;
  color: #000;
  letter-spacing: 3px;
}
.step-1 p {
  text-align: justify;
  font-size: 14px;
  line-height: 1.2;
}


/*按鈕-文字底色變化特效*/
.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: 0px solid #000;
    color: #fff;
    font-size: clamp(28px, 3vw, 30px);
    background-color: #ff0000;
     font-weight: 700;
}
.btn-more1:hover{
    background-color: #ff9900; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}

.btn-phone, .btn-line  {
    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;
}