.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;}



/*手機版-側欄浮動按鈕-縮小*/
@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;
  }
}

/*關於學會*/
.paragragh-indent {
    text-indent: -6em;
    margin-left: 6em;
    text-align: justify;
}

.font-small {
    font-size: 1rem;
}

.border-b-nomal {
    border-bottom: 1px solid #e7e4d6;
  padding-bottom: 1.5rem;
}


.container h3 {font-size: clamp(24px, 2.5vw, 30px); margin-bottom: 1.0rem;}

.container h4 { color: #e81050; font-size: clamp(24px, 2.5vw, 30px); margin-bottom: 1em;} 
.container h4::before { 
  content: ""; 
  width:5px; 
  height:30px; 
  background-color: #24a765;  
  display:block;
  margin-bottom: -2.2rem;
}

.customers table {
  border-collapse: collapse;/*表格細線*/
}

.customers td, .customers th {
  border-bottom: 1px solid #ddd;
  padding: 8px;
  font-size: 14px; 
}

.customers tr:hover {background-color: #ddd;}

.customers tr:nth-child(1){background-color:#222222; text-align: center; color: #fff;}/*表格一格灰一格白(even複數)*/


/*table語法 -讓手機不會破版*/
table {
table-layout: fixed;
word-wrap:break-word;
}


/*按鈕-文字底色變化特效*/
.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: 3px solid #e81050;
    color: #fff;
    font-size: clamp(18px, 2vw, 26px);
    background-color: #e81050;
     font-weight: 500;
}
.btn-more1:hover{
    background-color: #fff; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #e81050;/* 當滑鼠經過時按鈕表格文字變化 */
  border: 3px solid #e81050;
}

.btn-more {
    border-radius: 30px;
    border: 1px solid #f8b600;
    color: #fff;
    font-size: 14px;
    background-color: #f8b600;
     font-weight: 500;
}
.btn-more:hover{
    background-color: #fff; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #f8b600;/* 當滑鼠經過時按鈕表格文字變化 */
  border: 1px solid #f8b600;
}

/*FB設定*/
#fb-iframe {
    height: 700px;
}

/*套用google font字型Noto Serif TC明體*/
#t-500{
  font-family: 'Noto Serif TC', serif;
  font-weight: 500;
    color: #2a69d0;
  font-size: clamp(22px, 2vw, 40px);
  line-height: 40px;
}

#bodyinpage #banner {  display:none;}



.topnavbar {
 /* background-color: Transparent;*/
    background-color: #fff;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
    border-bottom: 1px solid #ddd;/*表格細線*/
}

.topnavbar .container {
  text-align: justify;
  padding: 10px 0 0 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

#logo h1 {
    height: 70px;
}


a {
    color: #e81050;/*連結顏色*/
    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; /* 強制圖片寬度隨容器變更 */
}


/*nav*/
#nav {
    vertical-align: bottom;
}

/*nav*/
#nav ul li a {

    font-size: 1.0rem;/*頁籤文字大小*/
    color: #000;/*頁籤文字顏色*/
    padding: 10px 7px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #e81050;/*頁籤滑過文字顏色*/
  letter-spacing:5px;
}

#nav ul li.current a {
    color: #e81050;/*頁籤按下後文字顏色*/
    font-weight: 500;
}


/*次頁籤文字顏色*/ 
#nav .subnav {
    text-align: left;
    background-color: #ffffff;/*次頁籤底色*/
}
#nav .subnav a { font-size: 14px; }

#nav li.has-subnav ul li a:hover {
   color: #fff;/*次頁籤滑過後文字顏色*/   
    background-color: #e81050; /*次頁籤滑過底圖顏色*/
}

#nav li.has-subnav ul li a:hover::before { display:none;}

#nav li.has-subnav ul li.current a {
   color: #f7ce3e;/*次頁籤按下後文字顏色*/    
}

#bodyinhome .fcol.fcol-1 .container, #bodyinhome .fcol.fcol-2 .container, #bodyinhome .fcol.fcol-3 .container, #bodyinhome .fcol.fcol-4 .container {
    width: 90%;
}

body.about-us .fcol.fcol-3 {
    background: linear-gradient(to right, #0048ff, #000000);
   padding: 30px;
}


body.about-us .fcol.fcol-6 {
background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position: center;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top ,rgba(0, 0, 0, 0.2) 70% ,#000250  70%), url(https://static.iyp.tw/409858/files/64f385a9-5e4e-4fdb-9454-a2bf2bd53f96.jpg);  
   background-color: #000250;
   padding: 3rem 0;
}

/*title文字顏色*/
body.about-us  .h1title {display: none;}
.fcol.fcol-header .container { padding: 0px;/*頁籤間距*/}

.h1title {font-size: 22px;}
/* 消除空白*/
body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

/*改內文標題顏色*/
h1, h2, h3, h5, h6, .h1, .h2, .h3, .h5, .h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: inherit;
    color: #000;
}

ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #e81050;
}
ul.product-list li h3 {
    flex: 1 0 auto;
    max-height: 3.15rem;
    margin: 0.7rem 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #e81050;
    overflow: hidden;
    padding: 0 16px;
}

#side ul li a {
    color: #1a1a1a;
   font-size: 16px;
}
#side ul li.current>div a {
    color: #e81050;
}

.product-list-div h2 a {
    color: #e81050;
    text-decoration: none;
    display: inline-block;
}

.product-list-div h2 {text-shadow: 0 0px 0 #fff;}

body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #fff;
    transition-property: left, color;
  padding: 0px 20px;
    background-color: #e81050;
}

body[data-type="fullpage"] .product-list-div h2 a.show-all:hover {
    color: #fff;
}


body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}


#main-wrap .container {
    font-size: clamp(16px, 2vw, 18px);
  line-height:30px;
  color: #2d2d2d;
}

/*footer*/
#footer {
    background-color: #4e5861;
    color: #fff;
  font-size: 1.0em;
}

#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #a3a3a3;
}
#foot-nav ul li a {
    display: block;
    color: #fff;
    font-size: 1.02em;
    margin-right: 10px;
    padding: 8px 16px;
}

#foot-nav ul li.current a {  color: #fff; }

#footer-service #copyright { display: none;}


body {
    background-color: #fff;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

/*UL大標 https://steam.oxxostudio.tw/category/html/tags/ul-li.html*/
ul.a {
  list-style-type: circle;
}

ul.b {
  list-style-type: square;
}

ul.c {
  list-style-type: ecimal;/*disc實心 ecimal 數字*/
  margin-left: 1em;
}

ul.c li::marker{
  color: #333399;
}

/*圖文連結特效*/
.snip1504 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 150px;
  width: 100%;
  color: #fff;
  text-align: center;
  background-color: #000000;
}

.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;
  opacity: 0.5;
}

.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 figcaption:after {
  content: '';

    background-size: cover;
    position: absolute;
    width: auto;
    height: 95%;
    aspect-ratio: 3 / 4;
    opacity: 0.3;
}
.snip1504:hover figcaption:after {
    opacity: 0;
}

.snip1504 h3,
.snip1504 h5 {
  margin: 0;
  opacity: 1;
  letter-spacing: 2px;
}

.snip1504 h3 {
  border-top: 1px solid #fff;
  color: #fff;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 22px;
}

.snip1504 h5 {
  font-weight: normal;
  font-style: italic;
  color: #f5c53a;
  font-size: 12px;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.snip1504 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.snip1504:hover > img,
.snip1504.hover > img {
  opacity: 1;
}

.snip1504:hover h3,
.snip1504.hover h3,
.snip1504:hover h5,
.snip1504.hover h5 {
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
  opacity: 0;
}

/*響應欄表格col-4 col-5 col-6 col-7 手機版強制2欄 寬度50%*/
@media only screen and (max-width: 576px){
.serve-item .col-4 { max-width: 50%;}
.serve-item .col-5 { max-width: 50%;}
.serve-item .col-6 { max-width: 50%;}
.serve-item .col-7 { max-width: 50%;}
}

/*流程*/
.timeline-content {
    margin-top: 50px;
    text-align: center;
}

.timeline {
    border-left: 4px solid #004ffc;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.8);
    margin: 0px auto;
    letter-spacing: 0.5px;
    position: relative;
    line-height: 1.4em;
    font-size: 1.03em;
    padding-left: 34px;
    list-style: none;
    text-align: left;
    font-weight: 100;
    max-width: 400px;
}

.timeline .event {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 25px;
    margin-bottom: 50px;
    position: relative;
}

.timeline .event:before {
    left: -217.5px;
    color: black;
    content: attr(data-date);
    text-align: right;
    font-weight: 900;
    font-size: 1.4rem;
    min-width: 120px;
}

.timeline .event:after {
    box-shadow: 0 0 0 6px #004ffc;
    left: -40.85px;
    background: white;
    border-radius: 50%;
    height: 11px;
    width: 11px;
    content: "";
    top: 5px;
}

.timeline .event:before, .timeline .event:after {
    position: absolute;
    display: block;
    top: 0;
}

img {
    vertical-align: middle;
    border-style: none;
}