.phone-1 {position:fixed;  right:1%;  top:40%;  z-index:1000 }


/*LOGO語法*/
.topnavbar {
 background-color: #231a15;/*頁籤底圖顏色;background-color: rgba(35,26,21,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0
    padding: 10px 0 0 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

#logo h1 {
    height: 120px;
}    

.topnavbar {
    background-color: #231a15;/*頁籤底圖顏色;background-color: rgba(0,0,0,0);透明*/
    position: relative;/*頁籤&banner分開不重疊*/
    padding: 0;/*頁籤間距*/
}


/*table語法 -讓手機不會破版*/
table {
table-layout: fixed;
word-wrap:break-word;
  
}

body {
    background-color: #ffffff;/*背景底色*/
  font-family: 'Noto Sans TC', sans-serif;
 
}



/*nav*/
#nav ul li a {
    white-space: nowrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: block;
    color: #fff;/*頁籤文字顏色*/
    font-size: 25px;
    padding: 10px 16px;/*頁籤文字間隔;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;/*頁籤按下後文字顏色*/
}

#nav ul li a::before {
  content:"";
  border-bottom:1px solid #f37521;
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:45px;
  margin:0 auto;
  transition:.3s all ease;
}
#nav ul li a:hover::before {
    width: 50%;
}

#nav .subnav a::before {
 display: none;
}

#nav .subnav {
 background-color: #3a3a3a;
}









/*圖片遮罩方式黑色或淡化*/
body.welfare-machine .fcol.fcol-1 {
   /*background-attachment: fixed; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
  background: url(https://static.iyp.tw/27930/files/14c9ee22-34be-4640-ab19-9dad6ae492bf.png)no-repeat center top;/*底圖*/
}

body.welfare-machine .fcol.fcol-2 .container {
   background-color: #fff;
   width: 100%;
   margin-bottom:100px;
}

body.welfare-machine .fcol.fcol-2  .container::after {
   width: 0;
height: 0;
border-style: solid;
border-width: 100px 100px 0 100px;
border-color: #ffffff transparent transparent transparent;
 padding:0px;
 margin: 0 auto 0;
  margin-bottom:-100px;
}

/*了解更多-白*/
.bg-icon1  {
  margin-left: auto; 
  margin-right: auto;
  transition:.3s all ease;
  padding: 5px 15px;
  color: #fff;
  text-align: center;
  font-size: 20px;
   border: 1px solid #fff;
}

.bg-icon1:hover  {color: #ff9c00;}

.bg-icon1 a { color:#ff9c00;}



@media only screen and (min-width: 767px){
.topnavbar .container {
  text-align: center;
  padding:0px;
}}



ul.product-list li a {
    color: #19448e;/*產品格文字顏色*/
    background-color: #c1c1c1;/*產品格底色*/
}
ul.product-list li a:hover {
    color: #19448e;/*產品格滑過文字顏色*/
}


/*title文字顏色*/
.h1title {
    color: #333;
    text-align: center;
}

a {
    color: #0095d9;/*連結顏色*/
    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; /* 強制圖片寬度隨容器變更 */
}

#line {
	border-bottom-width: 1px;/*分隔線粗細*/
	border-bottom-style: solid;/*分隔線樣式(solid實線;dashed虛線;double雙線)*/
	border-bottom-color: #cacaca;/*分隔線顏色*/
}/*分隔線*/


#bodyinhome .fcol.fcol-2 .container { width: 100%; }/*拉寬編輯欄設定*/

#bodyinhome .fcol.fcol-5, #bodyinhome .fcol.fcol-6 {display:none;}

#bodyinhome .fcol.fcol-1{
   background-color: #efefef;
}

#bodyinhome .fcol.fcol-2 {
   background-color: #efefef;
}




/*首頁各層編輯欄設定*/
body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

/*文字按鈕特效*/
button-1 { 
  width: 85%;/*寬度*/
  font-size: 16px;/*文字大小*/
  cursor:pointer; 
  clear:both; 
  padding:5px 20px; /*內間距*/
  display:inline-block; 
  margin:0 auto 0 ; /*置中*/
  transition:all 0.8s, color 0.3s 0.3s; 
  background:#03509e; /*背景顏色*/
  color:#fff;/*文字顏色*/
  border-radius: 10px; /*框線圓角*/
  border: #cacaca 0px solid;/*框線樣式*/
}
/*general hover*/
a:hover, button-1-1:hover{
  color:#fff100;/*連結滑入文字顏色*/
}
/*特效樣式effects*/
.btn-left:hover{ box-shadow:300px 0 0 0 rgba(0,0,0,0.5) inset;}
/*文字按鈕特效*/

/* 文字放大手機*/
@media only screen and (max-width: 768px){
  body {
     font-size: 16px;/*螢幕寬度768px內文字大小*/
  }
  #footer { font-size: 12px;}
}

/*編輯欄設定*/
.fcol p{
    font-size: clamp(14px, 2vw, 16px); /*最小值 首選值 最大值 限制屬性值區間*/
    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: #282864;
  font-size: clamp(28px, 3vw, 40px);/*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
}



/*table語法 -表格細線*/
.phone-money table {
  border-collapse: collapse;/*表格細線*/
  font-size:14px;
  background-color: #f9f9f9;
}

.phone-money th, .phone-money td {
  text-align: center;/*表格文字置中*/
  padding: 15px;/*內距*/
  border-bottom: 1px solid #ddd;/*表格細線*/
}

.phone-money tr:nth-child(even) {background-color: #f2f2f2;}/*表格一格灰一格白(even單數)*/


.snip1535 {
    background-color: #c47135;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    font-size: clamp(13px, 3vw, 20px);
    line-height: 1em;
    margin: 15px auto;
    outline: none;
    padding: 10px;
    position: relative;
    text-transform: uppercase;
    font-weight: 700;
    width: 100%;
}
.snip1535:before,
.snip1535:after {
  border-color: transparent;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
  border-style: solid;
  border-width: 0;
  content: "";
  height: 24px;
  position: absolute;
  width: 24px;
}
.snip1535:before {
  border-color: #c47135;
  border-right-width: 2px;
  border-top-width: 2px;
  right: -5px;
  top: -5px;
}
.snip1535:after {
  border-bottom-width: 2px;
  border-color: #c47135;
  border-left-width: 2px;
  bottom: -5px;
  left: -5px;
}
.snip1535:hover,
.snip1535.hover {
  background-color: #c47135;
}
.snip1535:hover:before,
.snip1535.hover:before,
.snip1535:hover:after,
.snip1535.hover:after {
  height: 100%;
  width: 100%;
}


/**/
.snip1518 {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  min-width: 150px;
  width: 100%;
  background-color: #ffffff;
  color: #2B2B2B;
  text-align: center;
  font-size: 16px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

.snip1518 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
    -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.snip1518 img {
  width: 100%;
  vertical-align: top;
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: #fff;
  object-fit: cover;
  z-index:1;
}

.snip1518 figcaption {
  padding: 0;
  background-color: #ffffff;
  height: 100%;
}

.snip1518 h3 {
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 500;
  margin: 0 ;
  letter-spacing: 1px;
  background-color: #ffffff;
  padding: 10px 15px;
  z-index:2; 
  position: relative;
}

.snip1518 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 3;
}

.snip1518:hover h3 {
  background-color: #224466;
  color:#fff;
}

.snip1518:hover img {
  -webkit-transform:scale(1.1, 1.1);
  transform:scale(1.1, 1.1);
}

/*footer*/
#foot-nav {
    font-size: 13px;
    display: none;
}
#footer { background-color: #211914;}


/*li-項目-響應式*/
.item-1 ul  {
  list-style-type: square;
      gap: 0.5em 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: 2em;
}
.item-1 ul li {
  color: #fff;
  font-size: clamp(16px,3vw,24px);
  width: calc(30% - 10px);
  text-align: left;
}


@media only screen and (max-width: 768px){.item-1 ul li { width: calc(50% - 10px);}}

