.phone{position:fixed;right:1%;top:40%;z-index:1000;}
.line-1{position:fixed;right:1%;top:52%;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;
  }
}

body {
    background-color: #fff;/*背景底色*/
   font-family: "Noto Sans TC", serif;
    /*font-family: 'Noto Sans TC', sans-serif;套用google font字型Noto Sans TC黑體*/
}


/*按鈕-文字底色變化特效*/
.topnavbar .container {
  display: flex;
  align-items: center;（可自行調整看要置中置底）
  justify-content: space-around;
}
 
.topnavbar .container #logo,
.topnavbar .container #nav {
  width: 100%;
}
 
.topnavbar .container #nav {
  text-align: right;
}


.topnavbar {
 /* background-color: Transparent;*/
    background-color: rgba(255,255,255,0);/*頁籤底圖顏色;background-color: #dfdfdf;透明Transparent*/
    /*position: relative;relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding-bottom: 0;/*頁籤間距*/
}

/* 內頁消除空白*/
body.about-us .fcol.fcol-header .container {
    padding: 0px;
} 

/*logo置頂*/

#logo h1 { 
  text-align: center; 
  height: 70px;
}


/*動到表格手機不會破版*/
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 h4 { 
  font-size: clamp(20px, 2vw, 24px);
  color: #fff;
  border-left: 5px solid #64acff;
  padding: 5px 15px;
  background-image: linear-gradient(120deg, #003878 0%, #0c6db8 100%); 
  display: inline-block;/* 這個讓背景不會整個100%*/
  line-height:2; 
}


.fcol h5 { 
    color: #0f2c45;
  padding: 0px 15px;
  font-size: clamp(1.0rem, 2vw, 1.8rem); 
   border-left: 5px solid #64acff;
 /*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;  
}


/*nav*/
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #302e2b;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #3a71ac;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #3a71ac;/*頁籤按下後文字顏色*/
    font-weight: 500;
}

/*頁籤按鈕底線滑入特效-底線短*/
#nav ul li a::before {
  content:"";
  border-bottom:3px solid #3a71ac;
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:0px;
  margin:0 auto;
  transition:.3s all ease;
}
#nav ul li a:hover::before {
    width: 50%;
}

/*次頁籤按鈕下底線滑入特效-底線短--隱藏*/
#nav .subnav li a:hover::before  {
    display:none;
}
#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: #033846;/*產品格文字顏色*/
    background-color: #e6e7e9;/*產品格底色*/
}

ul.product-list li a:hover {
    color: #6e685c;/*產品格滑過文字顏色*/
}

/*產品頁產品格圖片填滿*/
ul.product-list div.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*title文字顏色*/
.h1title h1{
    color: #777777;
    padding:10px;
}


/*title文字顏色*/
.h1title {
     display:flex;
    align-items:center;
    justify-content:center;
  font-size: clamp(1.2rem, 2vw, 2.0rem); 
}

.h1title::before,
.h1title::after{
    content:"";
    width:30%;
    height:1px;
    background:#777777;
}

a {
    color: #2a2a2a;/*連結顏色*/
    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(890 / 1920 * 100%); /* 首頁 banner 大小 */
}

/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(890 / 1920 * 100%); /* 內頁 banner 大小 */
}

/*各層編輯欄設定*/
#bodyinhome .fcol.fcol-2 {  }


#bodyinhome .fcol.fcol-4 .container {padding: 1em 0em;}


/*footer*/
#footer {
    color: #033846;
    background-color: #f5f8fa;
}
#foot-nav {
  clear: both;
  padding: 2em 0 1em;
  border-bottom: 0px solid #444;
  display: flex;
  justify-content: center;
  
}

.contact-row h5 { color: #3a3a3a;}

#footer a { color: #033846; }
#footer a:hover { color: #3a71ac; }

#foot-nav ul li a {
    display: block;
    color: #e6e6e8;
    font-size: 14px;
    margin-right: 15px;
    padding: 3px 10px;
    background-color: #636363;
   border-radius: 5px;
  display:none;
}

#foot-nav ul li a:hover { background-color: #3a71ac; color: #e6e6e8;}

/* 文字新做法*/
#main-wrap .container {
     font-size: clamp(1.0rem, 1.5vw, 1.2rem);
  line-height:30px;
  color: #2d2d2d;
}
#footer {
   font-size: 12px;
}


/*產品-區塊項目li效果—5格*/
.pro_item ul li {
    padding: 5px;
    margin: 5px;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
    width: calc(33% - 10px);
    border-radius: 5px;
    line-height: 1.5;
    border: 1px solid #dddddd;
    background-color: #fff;
  font-size: 15px;
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 500;
  text-align: center;
}
.pro_item a { color:#666 ;font-size: 15px;}

.pro_item a:hover { 
  opacity: 0.8;   
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media only screen and (max-width: 991px){
 .pro_item ul li { width: calc(33% - 10px); font-size: 14px;}
  .pro_item a { font-size: 14px;}
}
@media only screen and (max-width: 768px){
 .pro_item ul li { width: calc(50% - 10px); }
}
@media only screen and (max-width: 567px){
 .pro_item ul li { width: calc(100% - 10px); }
}


/*標題裝飾線*/
ul.c {
  list-style-type: disc;/*disc實心 ecimal 數字*/
  margin-left: 1em;
}


/*產品*/  

.pic{
    margin-left:auto; /*置中*/
    margin-right:auto;/*置中*/
}
.pic img{transition: all 1s ease-out; opacity:4;}
.pic img:hover{ opacity:0.55;}

/* 產品格 */
.door-item{
    max-width:526px;
    width:100%;
    margin:0;
    position:relative;
    overflow:hidden;
}

.door-item a{
    display:block;
    position:relative;
    color:#fff;
    text-decoration:none;
    overflow:hidden;
}

figure.door-item a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}
.door-item img{
    width:100%;
    display:block;
    transition:transform .8s ease;
}

.door-item figcaption{
    position:absolute;
    inset:0;
    padding:28px 24px;
    color:#fff;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

/* 左上藍色背景 */
.door-item figcaption::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:58%;
    height:63%;
    background:rgba(93,139,178,.9);
    clip-path:polygon(0 0,100% 0,0 100%);
    z-index:1;
    transition:.45s ease;
}

/* 右下 GO 背景 */
.door-item figcaption::after{
    content:"";
    position:absolute;
    right:0;
    bottom:0;
    width:80px;
    height:70px;
    background:rgba(205,125,125,.9);
    clip-path:polygon(100% 0,100% 100%,0 100%);
    z-index:1;
    transition:.45s ease;
}

.door-item h3,
.door-item p,
.door-item .go{
    position:relative;
    z-index:3;
    margin:0;
    text-shadow:2px 2px 6px rgba(0,0,0,.45);
    transition:.4s ease;
}

.door-item h3{
    font-size:22px;
    line-height:1.35;
    font-weight:700;
}

.door-item p{
    font-size:18px;
    line-height:1.45;
    font-weight:500;
}

.door-item .go{
    position:absolute;
    right:14px;
    bottom:12px;
    font-size:18px;
    font-weight:800;
    font-style:italic;
}

/* 滑鼠移入效果 */
.door-item:hover img{
    transform:scale(1.08);
}

.door-item:hover figcaption::before{
    transform:translate(-120%,-120%) rotate(-8deg);
}

.door-item:hover figcaption::after{
    transform:translate(120%,120%) rotate(10deg);
}

.door-item:hover h3{
   /* transform:translateX(12px);*/
    transform:translate(-120%,-120%) rotate(-8deg);
}

.door-item:hover p{
   /* transform:translateY(-8px);*/
    transform:translate(-120%,-120%) rotate(-8deg);
}

.door-item:hover .go{
    /*transform:translateX(-12px);*/
  transform:translate(120%,120%) rotate(10deg);
    letter-spacing:2px;
}