﻿.cms-top.cms-main-area{margin-top: 0px;}
 .cms-main-banner{ background-color:#f5f5f5;   }
  /*--分類new-tg --*/
.new-tag { width:auto;; font-size: 0.875rem; font-weight: 700; }
.new-tag a{color:#fff; background: #cc2621; padding:2px 10px    }
.new-tag-01{color:#fff; background:#fdc72b;}
.new-tag-02{color:#fff; background:#bca480;}
.new-tag-03{color:#fff; background:#ccc;}
 
.tag-wrap { width: 100%;  height: auto;   position: relative; display: -webkit-box;  display: -ms-flexbox; display: flex;  -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start;    -ms-flex-wrap: wrap; flex-wrap: wrap;}
.new-tag.white { color: #bca480; border: 1px solid #bca480}
a.new-tag:hover {color:#fff; background:#bca480;}
 
  /*-------------------*/
/***** 最新消息 *****/
/*------------------*/
.cms-main-news-list {width: 100%;   margin: 10px auto;  padding:10px 0px; display: flex;  flex-wrap: wrap; position: relative; z-index: 1; }
.cms-main-news-list li{display: flex;flex-direction: column;width: calc(100%/3 - 20px); padding:0px 10px;margin:40px 10px; box-sizing: border-box; list-style: none;transition: all 0.5s ease 0s; }
.cms-main-news-list figure img { width: 100%; height: 198px; object-fit: cover; margin: auto; display: block; border-radius:0px;   /*clip-path: polygon(0 9%, 100% 0, 100% 90%, 0% 100%);*/ transition: all 0.5s ease-in-out;}
.cms-main-news-list figure:hover img { opacity: .5;border-color: #df7475;  transform: scale(1.15); }
.cms-main-news-list figure { overflow: hidden; position: relative;border-radius:0px; border: solid 1px #eee;}
.cms-main-news-list .news-box{position: relative;width: 100%; margin: 0px;padding:5px 0px;  box-sizing: border-box;display: -ms-flexbox; display: flex; flex-wrap: wrap; justify-content: space-between;}
.listDateBox {width: 100%; padding: 0px; font-size: 1rem; color:#666464; display: flex;  flex-wrap: wrap; flex-direction: column;  }
.listBox{width:100%; display: flex; align-items: center; flex-wrap: wrap; flex-direction: column;padding:0px 0px 25px 0px;position: relative; }
.cms-main-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; }
.cms-main-news-list a h3 { color:#000; }
.cms-main-news-list a h3 :hover{ color:#666464!important; }
.cms-main-news-list  p{ width: 100%; font-size:.875rem; line-height: 1.15rem; color:#666; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: break-word; }

.list-info-item{ width: 100%; margin-bottom: 5px; font-size:.95rem; line-height: 1.35rem; color:#666; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: break-word;}
.list-info-item .name{color: #000; font-weight: 400; margin-right: 3px;}

.list-date {padding:0px; font-size: .875rem;font-weight:700; color:#666464;  }

.list-date span { color: #000; padding: 5px 0 0;}

 .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;}
 
@media (max-width: 844px) {
.cms-main-news-list h3 {position: relative;width: 100%; height: auto; min-height:46px; margin-bottom:5px; font-size:1rem; line-height: 1.3rem; }
 }
 
@media (max-width: 798px) {
.cms-main-news{padding:0px 0px 50px 0px;}
.cms-main-news-list{margin: 0px; padding: 0px;}   
.cms-main-news-list li{ width: calc(100%/ 2 - 20px); margin:10px; padding: 0px;}
.cms-main-news-list h3 a{   font-size:0.85rem;  }
 .listDateBox .month,.listDateBox .date,.listDateBox .year {font-size: 11px;}
}


/* 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);}


/*  詳細頁樣式*/
.cms-main-post-wrap{ padding: 0px 40px 100px 40px; margin:0px;  }
.cms-main-post{width: 90%;margin: 0px 0px 30px 0px; padding:20px 0px 20px 10%;    line-height: 2rem; display: flex; flex-wrap: wrap;   word-break: break-all; }
.cms-main-post p a{ color: #000; }
.cms-main-post p a:hover{ color: #a01f35; }
.cms-main-post-head{width: 100%;margin:35px 0px; padding-bottom: 15px;  display: flex; flex-wrap: wrap;align-items: center; justify-content: space-between; word-break: break-all;  border-bottom: 1px solid #ebebeb;}
.cms-main-post-head-txt{ width:100%;padding:0px; margin:0px; position: relative; display: flex; flex-wrap: wrap; align-self: center;  }
 .cms-main-post-head-txt h1{ width: 80%; font-size:2rem;   font-weight:700; word-break: break-word; /*overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: normal; overflow-wrap: break-word;*/   }

.cms-main-post-time{ width:auto; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; align-items: center;  }
.cms-main-post-time time{ margin:0px; padding:5px 0; color:#000; font-size:0.875rem; text-align: center; font-weight:700;   position: relative;   }
.cms-main-post-time time b{ font-weight: 700; font-style: italic; }
.cms-main-post-time span { padding: 0 5px;  }
 
 

.cms-main-post-head-txt .new-tag{ position: relative; display: flex;  align-self: center; margin-right: 25px; font-weight: 700;  }
.cms-main-post-info{ width: 80%;margin:10px 0px 20px 0px; display: flex;  flex-wrap: wrap;justify-content: flex-start;align-items: center; font-size: 1rem;}
.cms-main-post-info .cms-social-icons { width: auto; margin: 0px; padding: 0px; display: flex; flex-wrap: wrap; }
.cms-main-post-info .cms-social-icons li {position: relative; z-index: 1;  display: flex;  align-items: center; justify-content: center;  text-align: center;  width:42px; height: 42px;  margin-left:3px; font-size: 18px; color: #cbcbcb;   border-radius:99rem;  }
.cms-main-post-info .cms-social-icons li i{ color:#cbcbcb; transform: scale(.75); }
.cms-main-post-btn{ width:auto; margin: 0px; padding:0px;  display: flex; justify-content: flex-end;  }
.cms-main-post p{ width: 100%; line-height: 2rem; margin: 5px 0px; word-break: normal; display: block;  }
.cms-main-post h2{margin:15px 0;text-align: left; font-size: 1.8rem; font-weight:400; line-height: 2.5rem;}
.cms-main-post h3{margin:15px 0;text-align: left; font-size: 1.6rem; font-weight:400; line-height: 2.5rem;}

@media (max-width: 991.98px) {
.cms-main-post{ width: 100%; padding:10px 15px; }    
.cms-main-post-head .cms-main-post-head-txt{ width:100%; padding: 0px;  }
.cms-main-post-head-txt h1 { width:100%;  }
.cms-main-post-head .cms-main-post-btn{width:20%; }
.cms-main-post-head .cms-main-post-btn{width:100%; }

}
@media (max-width: 767.98px) {
.cms-main-post-wrap{ padding:0px; }
.cms-main-post-head{ margin:0px 0px 35px 0px;  }  
.cms-main-post-head-txt h1 {   font-size: 1.25rem;}
.cms-main-post h2{  font-size:120%; font-weight: 700; line-height: 1.875rem; }   
.cms-main-post h3{  font-size:115%; font-weight: 700; line-height: 1.875rem; }  
.cms-main-post-pagination h2 {display: none;}
.cms-main-post-info{ width: 100%;margin-top: 20px; display: flex;  flex-wrap: wrap;justify-content: flex-start; font-size: 1rem;}
}
.cms-main-post-txt {width: 100%; max-width: 1100px; margin:0px 15px; display: flex; flex-wrap: wrap;    }
.cms-main-post-pagination{ padding: 0; margin:60px auto 0px auto; display: flex;justify-content: center; width:100%;   }
.cms-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;}
.cms-main-post-pagination h2:after { display: block; content: ''; width: 0; height:1px;  background:#000; transition: all .3s ease;}
.cms-main-post-pagination h2:hover:after { width: 100%; }
.cms-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;}
.cms-main-post-pagination .cms-prev { padding-right: 12px; } 
.cms-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;} 
.cms-pagination-text:hover{color: #f39800;  }
.cms-pagination-text:after { display: block; content: ''; width: 0; height:1px;  background:#f39800; transition: all .3s ease;}
.cms-pagination-text:hover:after { width: 100%; }
.cms-prev .cms-news-btn {  margin-left: auto;}
.cms-prev .cms-news-btn:before {  order: 1;}
.cms-prev .cms-news-btn:after {  border-width: 5px 5px 5px 0;}
.cms-prev:hover h2,.cms-next:hover h2{ color:#888;}
.cms-next { padding-left: 12px; justify-content: flex-end;}
.cms-next .cms-news-btn { order: 0; margin-right: auto;}
.cms-next h2 { order: 1;}
.cms-next .cms-main-post-time {order: 2;}
.cms-news-btn { cursor: pointer; width: 35px;  height: 20px; position: relative; display: flex; align-items: center;}
.cms-news-btn:before { content: ''; width: 30px; height: 1px; background-color: #31315e; display: block;}
.cms-news-btn:after { content: ''; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 5px; border-color: transparent #31315e; display: block;}
 
.cms-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; }
.cms-btn-back a{color:#fff!important;}
.cms-btn-back:before,.cms-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;  }
.cms-btn-back:before { margin-right: 20px; margin-left: 5px;}
.cms-btn-back:after { margin-left: 20px; margin-right: 5px;}
.cms-btn-back a:hover { color:#fff!important; }
.cms-btn-back:hover { color:#fff!important;  background:#cc2621;border-color:#cc2621;  }
.cms-btn-back:hover:before{ background:#fff; -moz-transform: translateX(20%); -ms-transform: translateX(20%); -webkit-transform: translateX(20%); transform: translateX(20%);  }
.cms-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) {
.cms-btn-back  { font-size:.875rem; text-align: center; padding:5px 10px;}  
.cms-btn-back:before,.cms-btn-back::after{ display: none; }
}
 
.cms-box-wrap{width: 100%; margin: 0px auto 55px auto; padding:0px; position: relative;  word-break: keep-all; }
/*.cms-box-wrap h3{ margin: 40px 0px 20px 0px; font-size: 2.25rem; font-weight: 700; position: relative; z-index: 2;}*/
.cms-box-wrap p{ margin: 0px 5px!important; font-size: 1.125rem;  line-height: 2.25rem;  position: relative; z-index: 2;}

.cms-box-left{ width: 60%;  }
.cms-box-right{width: 40%;   }
 .cms-main-txt{width: 100%; max-width: 960px; margin:0; padding: 30px 20px 0px 20px; display: flex; flex-wrap: wrap; position: relative; z-index: 1;}
.cms-main-txt p { width: 100%; font-size:1.125rem; line-height:1.75rem; font-weight: 400;  padding:5px 0px; margin: 20px 0px;}
 .cms-box-card { width:80%;  margin:30px auto; padding:0px; display: block; ;position: relative; }
.cms-list li{word-break: keep-all; }
 @media (max-width: 767.98px) {
.cms-main-txt{ padding: 30px 0px 0px 0px;}
.cms-box-left{ width: 100%;}
.cms-box-right{width: 100%;}    
}
/*---------------------------------
best-wrap
----------------------------------------*/
.cms-best-wrap{  width: 100%; margin:0 auto; padding:20px; /*background-color:#fafafa;*/ position: relative; }
.cms-best-wrap .cms-main-news-list { width:100%; padding:20px 50px;  margin: 0px auto; }
.cms-best-wrap .slick-dots li button:before{ color: #2e2624; }
.cms-best-wrap .slick-dots li.slick-active button:before { opacity: .75; color: #2e2624; }
.cms-best-wrap .slick-dots {bottom:0px;}
.cms-best-wrap .slick-dots li{margin: 15px 2px;}
@media (max-width: 767.98px) {
.cms-best-wrap{ padding:20px 0px;}
.cms-best-wrap .cms-main-news-list { padding:20px 0px;}
}
/* add btn */
.cms-best-wrap .slick-next{right: -20px;top:35%; width: 36px;height: 36px;   border-radius:50%; border:solid 1px #312927; }
.cms-best-wrap .slick-prev{left: -20px; top:35%;z-index: 99;width: 36px;height: 36px; border-radius:50%;  border:solid 1px #312927;}
.cms-best-wrap .slick-next:before,.cms-best-wrap .slick-prev:before { width: 16px; height: 16px; -webkit-filter:grayscale(1);} 
.cms-best-wrap .slick-prev:hover,.cms-best-wrap .slick-prev:focus,.cms-best-wrap .slick-next:hover,.cms-best-wrap .slick-next:focus{ background: #000; }