﻿/*--banner裝飾線 --*/
.top.main-area{margin-top: 0px ;}
.main-area{position: relative; margin: 0px auto; padding:0px 0px 0px 0px; width: 100%;  background-image: url("../images/index/bg-line.jpg");background-repeat: no-repeat; background-size: 100% auto; background-position: left top;   }
@media (max-width: 840px) {
.main-area{ background-position: left center;   }    
}


/*-------------------*/
/***** 最新消息 *****/
/*------------------*/
.news-list {width: 100%;   margin: 0px auto;  padding:10px 0px; display: flex;  flex-wrap: wrap; position: relative; z-index: 1; }
.news-list li{ width: calc(100%/3 - 50px); padding:0px;margin:40px 25px; box-sizing: border-box; list-style: none; position: relative;  }
.news-list li .item{ width: 100%;  box-shadow: 0px 2px 4px rgba(172, 184 ,204 ,.25), 0px 4px 4px rgba(172, 184 ,204 ,.2), 0px 8px 8px rgba(172, 184 ,204 ,.15), 0px 16px 16px rgba(172, 184 ,204 ,.1), 0px 24px 24px rgba(172, 184 ,204 ,.25);
mix-blend-mode: multiply; border-radius: 24px; color: #565656; background: #fff;  overflow: hidden; transition: all .3s ease; }
.news-list li:hover { margin-top: -10px; transition: all .3s ease; }
.news-list figure img { max-width:100%; height: auto; object-fit: cover; margin: auto; display: block;   transition: all 0.5s ease-in-out;}
.news-list figure  {width: 100%; padding-bottom:100%; height: 0; overflow: hidden; position: relative;  z-index: 1;   object-fit: cover; margin: auto; display: block; }
.news-list .news-item  {width:100%; height: auto; padding: 0px; display: flex;  flex-wrap: wrap; align-items: center; transition: all 0.5s ease 0s;    }
.news-list .news-pic  {width:100%; height: auto; padding: 0px; overflow: hidden; position: relative;   }
.news-list h3 {position: relative;width: 100%; height: auto;  margin:15px 0px; font-size:1.188rem; line-height:1.5rem; font-weight:700; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp:3; -webkit-box-orient: vertical; overflow-wrap: break-word; white-space: pre-line; }
.news-list a h3 { color:#000; }
.news-list a h3 :hover{ color:#666464!important; }
.news-list  p{ width: 100%; font-size: 1rem; line-height: 1.5rem; color:#666; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow-wrap: break-word; white-space: pre-line;  }
.news-box-info{width: 100%; margin: 0px;padding:0px;  box-sizing: border-box;display: -ms-flexbox; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.news-box{position: relative;width: 100%; margin: 0px;padding:20px;  box-sizing: border-box; background-color:#fffaee; }
.new-date {   font-size: .875rem;font-weight:400;  color:#666464; text-align: right;}
.new-tag {  width:auto;padding:0px 10px;   font-size:.9rem;   font-weight: 400; vertical-align: top; border-radius:15px;border: solid 1px #f39800;}
.new-tag a{color:#f39800;   }
.news-box-inner{width:100%; display: flex;  flex-wrap: wrap; flex-direction: column;padding:0px 0px 25px 0px;position: relative; }


@media (max-width: 844px) {
.news-list h3 {position: relative;width: 100%; height: auto; min-height:46px; margin:5px 0px; font-size:1rem; line-height: 1.3rem; }
.listBox{ padding:5px 15px;}
}

@media (max-width: 798px) {
.news{padding:50px 0px;}
.news-list{margin: 0px; padding: 0px;}
.news-list li{ width: calc(100%/2 - 50px);   }
.news-list  p{  font-size: .9rem; line-height: 1.35rem;   }
.new-tag { transform: scale(.6); margin: 0px 0px 0px -20px;}
.new-date {   font-size: .75rem; ;}
}

@media (max-width: 797.98px) {
.news-list{margin:40px auto; padding: 0px;}   
.news-list li{ width: calc(100%/2 - 10px); padding:0px;margin:15px 5px;   }
.news-list li .item{  border-radius: 10px;  }   
.news-box{ padding:10px; }
.news-box-inner{ padding:0px;  }
}



.view {width: 100%; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; border-bottom: 1px solid #e5e5e5; cursor: pointer; padding-left: 3px;}
.view:hover a { border-bottom: 1px solid #c7a26d; color: #c7a26d;}
.view:hover .circle { -webkit-animation: run 1s ease-in-out infinite;  animation: run 1s ease-in-out infinite;}
@-webkit-keyframes sx {
from {  -webkit-transform: translateX(0);  transform: translateX(0); }
50% { -webkit-transform: translateX(-10px); transform: translateX(-10px); }
to {  -webkit-transform: translateX(0);  transform: translateX(0); }
}

@keyframes run {
from { -webkit-transform: translateX(0);  transform: translateX(0); }
50% { -webkit-transform: translateX(-10px); transform: translateX(-10px); }
to {  -webkit-transform: translateX(0); transform: translateX(0); }
}

.view a { margin-bottom: -1px; font-size: 13px; font-weight: 700; text-transform: uppercase; color: #153872; letter-spacing: 2.3px; border-bottom: 1px solid #153872; padding-bottom: 16px; padding-top: 2px;}
.view .circle { display: -webkit-box; display: -ms-flexbox; display: flex;  width: 36px; height:36px; border-radius: 999px; border: 1px solid #153872; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center;  -ms-flex-pack: center; justify-content: center; margin-right: 16px; background: url("../images/icon/arrow-right-2.svg") no-repeat center;background-size: 14px;}

 

.toggle-box{width: 100%;  max-width: 90%; margin:20px auto;padding: 0px 20px;  display: flex; flex-wrap: wrap; justify-content: flex-end; position: relative; }
.switch { }
.switch input { display: none;}
.switch small { display: inline-block; width: 100px; height:40px; background-image: linear-gradient(120deg, #555 0%, #999 100%);border-radius: 30px; position: relative; cursor: pointer;}
.switch small:after { content: "Off"; position: absolute;  color: #fff; font-size: 1rem; font-weight: 700;  width: 100%; left: -10px; top: 10px; text-align: right; padding: 0 6px; box-sizing: border-box;line-height: 18px;}
.switch small:before { content: ""; position: absolute; width: 30px;  height:30px;  background: #fff;  border-radius: 50%; top: 5px; left: 10px; transition: .3s; box-shadow: -3px 0 3px rgba(0,0,0,0.1);}
.switch input:checked ~ small {  background-image: linear-gradient(120deg, #f6d365 0%, #f39700 100%);transition: .3s;}
.switch input:checked ~ small:before {  transform: translate(50px, 0px);  transition: .3s;}
.switch input:checked ~ small:after {  content: "On";  text-align: left;  left: 10px;}


/* Sweep To Right */
.hvr-sweep-to-right { cursor: pointer; display: inline-block; position: relative; vertical-align: middle;  -webkit-transform: translateZ(0); transform: translateZ(0); box-shadow: 0 0 1px rgba(0, 0, 0, 0); -webkit-backface-visibility: hidden; backface-visibility: hidden; -moz-osx-font-smoothing: grayscale; -webkit-transition-property: color; transition-property: color; -webkit-transition-duration: 0.3s; transition-duration: 0.3s;}
.hvr-sweep-to-right:before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; bottom: 0; background: #000!important; -webkit-transform: scaleX(0); transform: scaleX(0); -webkit-transform-origin: 0 50%; transform-origin: 0 50%;  -webkit-transition-property: transform; transition-property: transform; -webkit-transition-duration: 0.3s; transition-duration: 0.3s; -webkit-transition-timing-function: ease-out; transition-timing-function: ease-out;}
.hvr-sweep-to-right:hover, .hvr-sweep-to-right:focus, .hvr-sweep-to-right:active { color: #fff!important;}
.hvr-sweep-to-right:hover:before, .hvr-sweep-to-right:focus:before, .hvr-sweep-to-right:active:before { -webkit-transform: scaleX(1); transform: scaleX(1);}


/*  詳細頁樣式*/
.main-post-wrap{ padding: 0px 40px 100px 40px; margin:0px;  }
.main-post{width: 90%;margin: 0px 0px 30px 0px; padding:20px 0px 20px 10%; line-height: 2rem;   word-break: break-all; }
.main-post p a{ color: #000; }
.main-post p a:hover{ color: #a01f35; }
.main-post-head{width: 100%;margin:35px 0px; padding-bottom: 15px;  display: flex; flex-wrap: wrap; justify-content: space-between; word-break: break-all;  border-bottom: 1px solid #ebebeb;}
.main-post-head-txt{ width:90%;padding:0px; margin:0px; position: relative; display: flex; flex-wrap: wrap; align-self: center;  }
.main-post-head-txt h1{  font-size:2rem;   font-weight:700;  overflow: hidden; text-overflow: ellipsis;  white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: normal; overflow-wrap: break-word;   }

.main-post-time{ width:8%; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; align-items: center; border: solid 1px #000;color: #fff; }
.main-post-time time{ margin:0px; padding:5px 0; color:#000; font-size:0.875rem; text-align: center; font-weight:700; display: block;  position: relative;   }
.main-post-time time b{ font-weight: 700; font-style: italic;  display: block;}
.main-post-time span.date-hr { position: relative; display:  block; padding: 0 15px; height: 30px; word-break: normal;}
.main-post-time time span:before {  content: ""; position: absolute; top: 80%; left: 30%; width: 20px; height: 1px; background-color: #000; -webkit-transform: rotate( -45deg ); transform: rotate(-45deg);}
 

.main-post-head-txt .new-tag{ position: relative; display: flex;  align-self: center; margin-right: 25px; font-weight: 700;  }
.main-post-info{ width: 60%;margin-top: 20px; display: flex;  flex-wrap: wrap;justify-content: flex-start;align-items: center; font-size: 1rem;}
.main-post-info .social-icons{ width: auto; margin: 0px 0px 0px 2px; padding: 0px; display: flex; flex-wrap: wrap;justify-content: flex-start; }
.main-post-info .social-iconsli {position: relative; z-index: 1;  display: flex;  align-items: center; justify-content: center;  text-align: center;  width:26px; height:26px;  margin-left:3px; font-size: 18px; color: #cbcbcb;   border-radius:99rem;  }
.main-post-info .social-iconsli i{ color:#cbcbcb; width: 16px; height: 16px; }
.main-post-btn{ width:auto; margin: 0px; padding:0px;  display: flex; justify-content: flex-end;  }
 .main-post p{ width: 100%; line-height: 2rem; margin: 5px 0px; word-break: normal; display: block;  }
.main-post h3{margin:15px 0;text-align: left; font-size: 1.75rem; font-weight:400; line-height: 2.5rem;}

@media (max-width: 991.98px) {
.main-post{ width: 100%; padding:10px 15px; }    
.main-post-head .main-post-head-txt{ width:calc(100% - 8%); padding: 0px 10px;  }
.main-post-info .new-tag,.main-post-info .cms-social-icons{ width:100%; justify-content: flex-start; }
.main-post-head .main-post-btn{width:20%; }
.main-post h3{  font-size:100%; font-weight: 700;  }     
}
@media (max-width: 767.98px) {
.main-post-wrap{ padding: 20px 0px; }
.main-post-head-txt h1 {  font-size: 1.25rem;}
.main-post h2{  font-size:120%; font-weight: 700; line-height: 1.875rem; }   
.main-post-time{ width:auto;  }
.main-post-head .main-post-head-txt{ width:100%;margin: 15px 0px;  }
.main-post-pagination h2 {display: none;}
.main-post-info{ width: 60%;margin-top: 0px;  }
.main-post-head .main-post-btn{width:40%; }
}

.main-post-txt {width: 100%; max-width: 1100px; margin:0px 15px; display: flex; flex-wrap: wrap;    }
.main-post-pagination{ padding: 0; margin:60px auto 0px auto; display: flex;justify-content: center; width:100%;   }
.main-post-pagination h2 {  font-size: 1rem; font-weight: 700;  color:#000; position: relative;width: 100%;   line-height: 1.5rem;  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: break-word;}
.main-post-pagination h2:after { display: block; content: ''; width: 0; height:1px;  background:#000; transition: all .3s ease;}
.main-post-pagination h2:hover:after { width: 100%; }
.main-post-pagination > div { cursor: pointer; width:calc(100%/3 ) ; position: relative;  display: flex; flex-wrap: wrap; justify-content: center; align-self: center; transition: all 0.5s;}
.main-post-pagination .prev { padding-right: 12px; } 
.pagination-text{padding-bottom: 3px;font-size: 1rem;font-weight: 700;  color: #888; text-transform: uppercase; transition: all 0.5s; position: relative;width: 100%;   line-height: 1.5rem;  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: break-word;} 
.pagination-text:hover{color: #f39800;  }
.pagination-text:after { display: block; content: ''; width: 0; height:1px;  background:#f39800; transition: all .3s ease;}
.pagination-text:hover:after { width: 100%; }
.prev .news-btn {  margin-left: auto;}
.prev .news-btn:before {  order: 1;}
.prev .news-btn:after {  border-width: 5px 5px 5px 0;}
.prev:hover h2,.next:hover h2{ color:#888;}
.next { padding-left: 12px; justify-content: flex-end;}
.next .news-btn { order: 0; margin-right: auto;}
.next h2 { order: 1;}
.next .main-post-time {order: 2;}
.news-btn { cursor: pointer; width: 35px;  height: 20px; position: relative; display: flex; align-items: center;}
.news-btn:before { content: ''; width: 30px; height: 1px; background-color: #31315e; display: block;}
.news-btn:after { content: ''; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 5px; border-color: transparent #31315e; display: block;}
 
.btn-back { width:auto; color:#6c7280!important; font-weight: 400;  padding: 10px 0px; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-justify-content:center;  -ms-flex-pack: center; justify-content: center;  -webkit-align-items: center;  -ms-flex-align: center; align-items: center;background:#000; border: solid 1px #000; border-radius:30px; }
.btn-back a{color:#fff!important;}
.btn-back:before,.btn-back::after{  content: ''; width: 30px; height:1px; background:#fff;-moz-transition: ease 0.3s; -o-transition: ease 0.3s; -webkit-transition: ease 0.3s;  transition: ease 0.3s;  }
.btn-back:before { margin-right: 20px; margin-left: 5px;}
.btn-back:after { margin-left: 20px; margin-right: 5px;}
.btn-back a:hover { color:#fff!important; }
.btn-back:hover { color:#fff!important;  background:#f39800;border-color:#f39800;  }
.btn-back:hover:before{ background:#fff; -moz-transform: translateX(20%); -ms-transform: translateX(20%); -webkit-transform: translateX(20%); transform: translateX(20%);  }
.btn-back:hover:after{ background:#fff;-moz-transform: translateX(-20%); -ms-transform: translateX(-20%); -webkit-transform: translateX(-20%); transform: translateX(-20%);  }
@media (max-width: 767.98px) {
.btn-back  { font-size:.875rem; padding:5px  10px;}  
.btn-back:before,.btn-back::after{ display: none; }
}
 

/*editor style*/
.attribute { line-height: 2}
.product-attribute-group { box-sizing: border-box; line-height: 1.6}
.product-attribute-group:not(:last-child) {  margin: 0 0 2rem}
.product-attribute-group h3 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; line-height: 1.2142857143; color: #222; margin-bottom: .5rem}
.product-attribute-group ul > li {  font-size: 1rem}
.product-attribute-group .attribute { color: #222; letter-spacing: .2px}
.product-attribute-group ul > li::marker {color:#c28d45}
.product-attribute-group .attribute .label {padding-right:5px; color:#c28d45;}
.attribute-values-wrapper {  -moz-columns: 1;  columns: 1 }
.product-info-content { width: 100%;  padding:0px 20px;}
.product-details-container{ width: 100%;  padding:20px;}
 
.main-txt{width: 100%; max-width: 960px; margin:0; padding: 30px 20px 0px 20px;  position: relative; z-index: 1;}
.main-txt p { width: 100%; font-size:1.125rem; line-height:1.75rem; font-weight: 400;  padding:5px 0px; margin: 20px 0px;}

.box-wrap{width: 100%; margin: 0px auto 55px auto; padding:0px; display: flex; flex-wrap: wrap; position: relative; align-items: center; }
.box-wrap h3{ margin: 40px 0px 20px 0px; font-size: 2.25rem; font-weight: 700; position: relative; z-index: 2;}
.box-wrap p{ margin: 0px 5px; font-size: 1.125rem;  line-height: 2.25rem;  position: relative; z-index: 2;}
.box-left{ width: 60%;}
.box-right{width: 40%;}


.box-card { width:80%;  margin:30px auto; padding:0px; display: block; ;position: relative; }
 @media (max-width: 840px) {
.main-txt{  padding: 30px 0px 0px 0px;}
.box-left{ width: 100%; }
.box-right{width: 100%; }
.box-card { width:100%; }
.box-left p.txt-just{text-align: left!important;font-size:1rem;  }
.box-wrap p{ margin: 0px; }
}
