/*套用google font字型Noto Serif TC明體*/
#t-500{
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
    color: #2c2c2c;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 40px;
}


.topnavbar {
 /* background-color: Transparent;*/
    background-color: rgba(255,255,255,0);/*頁籤底圖顏色;background-color: #f4ede3;透明Transparent*/
    /*position: relative;relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
  margin-top: 2em;
}

.topnavbar .container {
  text-align: justify;
  padding: 0px 10px 0 10px;
  background-color: #fff;
    margin-top: 2em;
    border-radius: 50px; 
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

#logo h1 {
    height: 70px;
}


a {
    color: #59376c;/*連結顏色*/
    text-decoration: none;
}

a:hover {
    color: #a56ccc;/*連結顏色*/
}

/* 首頁與內頁共用 */
.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(800 / 1920 * 100%); /* 首頁 banner 大小 */
}

/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(750 / 1920 * 100%); /* 內頁 banner 大小 */
}



/*nav*/
#nav ul li a {

    font-size: 1.0rem;/*頁籤文字大小*/
    color: #000;/*頁籤文字顏色*/
    padding: 10px 11px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #fff;/*頁籤滑過文字顏色*/
  background-color: #626262; 
  border-radius: 50px; 
}
#nav ul li.current a {
    color: #fff;/*頁籤滑過文字顏色*/
  background-color: #626262; 
    font-weight: 500;
  border-radius: 50px; 
}



/*次頁籤文字顏色*/ 
#nav .subnav {
    text-align: left;
    background-color: #ffffff;/*次頁籤底色*/
}


/*#nav .subnav a { font-size: 14px; }*/

#nav>ul>li .no-subnav a {
   color: #000;
   background-color: #fff; 
   border-radius: 0px; 
}

#nav>ul>li .no-subnav a:hover {
   color: #fff;
   background-color: #6c6c6c; 
   border-radius: 0px; 
}



/*title文字顏色*/
body.about-us  .h1title {display: none;}

.h1title h1 {font-size: 16pt; color: #232323;}
.fcol.fcol-header .container { padding: 0px;/*頁籤間距*/}
/* 消除空白*/
body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

/*改內文標題顏色*/
h2, h3, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: inherit;
    color: #232323;
}

ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #082453;
}
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: #232d3a;
    overflow: hidden;
    padding: 0 16px;
}

#side ul li a {
    color: #232d3a;
   font-size: 16px;
}

.product-list-div h2 a {
    color: #232d3a;
    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: #663764;
}

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;/*產品-編輯框不設定高*/
}

#bodyinhome .fcol.fcol-2 {
   background-repeat: no-repeat;
   background-position: 50% 10%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(7,102,153,0.6) 0% ,rgba(7,102,153, 0.6) 100%) , url(https://static.iyp.tw/409817/files/10d81523-f9f1-492a-94cf-f5da5bb63b2e.jpg);
   padding: 3rem 0;
}

#bodyinhome .fcol.fcol-5  {
  background-color: #59376c;
}

#bodyinhome .fcol.fcol-6 .container {
  width:100%;
  padding: 0;
  margin-bottom: -1em;
}

#main-wrap .container {
    font-size: clamp(16px, 2vw, 18px);
  line-height:30px;
  color: #232d3a;
}

#footer {
  color: #fff;
     background-repeat: no-repeat;
   background-position: 50% 50%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(87,49,113,0.8) 0% ,rgba(87,49,113,0.8) 100%) , url(https://static.iyp.tw/409817/files/e6ed3499-b746-4b23-ba98-3e988ed2f95b.jpg);
}


#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 0px solid #7825c1;
}
#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; }


body {
    /*background-color: #f4ede3;背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 25px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-more1 {
    border-radius: 0px;
    border: 1px solid #ccc;
    color: #333;
    font-size: clamp(14px, 3vw, 16px);
    background-color: #fff;
     font-weight: 400;
}
.btn-more1:hover{
    background-color: #333; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}

/*圖文連結特效*/
.snip1585 {
  border: 1px solid #cccccc;
  background-color: #fff;
  color: #fff;
  display: inline-block;
  font-size: 24px;
  margin: 0 auto 0;
  max-width: 350px;
  min-width: 160px;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 100%;
}

.snip1585 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.45s ease;
  transition: all 0.45s ease;
}

.snip1585:before,
.snip1585:after {
  background-color: rgba(46, 52, 64,  0.5);
  border-top: 50px solid rgba(46, 52, 64, 0.5);
  border-bottom: 50px solid rgba(46, 52, 64, 0.5);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: '';
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  z-index: 1;
  opacity: 0;
}

.snip1585:before {
  -webkit-transform: scaleY(2);
  transform: scaleY(2);
}

.snip1585:after {
  -webkit-transform: scaleY(2);
  transform: scaleY(2);
}
.snip1585 img {
  vertical-align: top;
  width: 100%;
  height: 250px;
  backface-visibility: hidden;
  object-fit: contain;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  object-fit: cover;
}
@media only screen and (max-width: 960px){
  .snip1585 img { height:150px; }
}
@media only screen and (max-width: 576px){
  .snip1585 img { height:250px; }
}

.snip1585 figcaption {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  align-items: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1em;
  opacity: 0;
  z-index: 2;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.snip1585 h3 {
  font-size: 1em;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 0;
  text-transform: uppercase;
    color: #fff;
}

.snip1585 h3 span {
  display: block;
  font-weight: 600;
  font-size:16px;
    color: #fff;
}

.snip1585 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.snip1585:hover > img,
.snip1585.hover > img {
  opacity: 0.7;
}

.snip1585:hover:before,
.snip1585.hover:before,
.snip1585:hover:after,
.snip1585.hover:after {
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}

.snip1585:hover figcaption,
.snip1585.hover figcaption {
  opacity: 1;
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}

/*table語法 -表格細線*/

.container table {
  border-collapse: collapse;/*表格細線*/
}

.container th, .container td {
  /*text-align: center;表格文字置中*/
  padding: 15px;/*內距*/
  border: 1px solid #ddd;/*表格細線*/
}


.container tr:nth-child(even) {/*表格一格灰一格白(even複數)*/
  background: #f1f1f1;
}
.container tr:nth-child(odd) {
  background-color: #fff;/*表格一格灰一格白(odd單數)*/
}

.container tr:nth-child(1){background-color:#65348a; color: #fff; text-align: center;} /*表格第一排標題色*/

/*table語法 -讓手機不會破版*/
table {
table-layout: fixed;
word-wrap:break-word;
}


/*UL大標 https://steam.oxxostudio.tw/category/html/tags/ul-li.html*/
ul.a {
  list-style-type: circle;
}

ul.b {
  list-style-type: disc;
   margin-left: 1em;
}

ul.b li {
border-bottom: 1px solid #ccaddd; 
  padding:10px;
}

ul.c {
  list-style-type: disc;/*disc實心 ecimal 數字*/
  margin-left: 1em;
}

ul.c li {
  border-bottom: 1px solid #ccaddd; 
  padding:10px;
     display: flex; 
  justify-content: space-between;
}


ul.c li::marker{
  color: #59376c;  
}


.container h4 {
   background: linear-gradient(to top, #484848, #484848, #444444);
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
  font-size: clamp(24px, 2vw, 40px);
  font-weight: 700;
  line-height:40px;
}

.border2 {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  padding: 5px;
  margin: 0 auto 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  border: 1px solid #cccccc;
}/*表格圓角*/
