﻿#menu-line { top: 100px;}
.cms-top.cms-main-area{margin-top:0px;  background-size:50% auto,auto; background-attachment: fixed; background-image:url("../images/index/bg-texture.png"), linear-gradient(to top, #1e3c72 0%, #1e3c72 1%, #2a5298 100%); background-repeat:repeat;background-position: left top ;}
/*----------------------------------------/
brand
----------------------------------------*/
.brand{ width: 100%; display: flex; flex-wrap: wrap; justify-content: center;}
.brand-logo{ width: 20%;display: flex; flex-wrap: wrap; justify-content: center; align-self: center; box-shadow: 0px 3px 5px rgba(0,0,0,.1);}
.brand-txt{ width: 80%;}
.cms-main-wrap{width: 100%;padding: 20px; display: flex; flex-wrap: wrap; align-content:flex-start;}
/*----------------------------------------/
產品總覽頁Product
----------------------------------------*/
.cms-brand{ width:100%;  margin:0px auto;  padding:0px;  }
.cms-brand li { width:100%; margin:0px auto; padding:0px; position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; align-self: center; list-style: none; transition: all 0.3s linear 0s;}
.cms-brand li figure { position: relative; width:100%; min-height:600px; display: flex; flex-wrap: wrap; align-self: flex-end; align-content: flex-end; background: #000; overflow: hidden; transition: all 0.5s ease 0s; z-index: 0;}
.cms-brand li figure  img {  width: 100%; max-width: 100%; height: auto;   transition: all 0.3s;}
 .cms-brand li:nth-child(even){ flex-direction: row-reverse;  }
/*.cms-brand li:nth-child(even){ margin-left: -2%;  }*/ 
.cms-brand li:nth-child(even) .cms-main-product-note { width:60px; height:30px; left:auto;right: 0px!important;}
.cms-brand li .cms-brand-inner{ position: absolute; right:0px; top:60px;width: 50%; padding: 20px 80px; margin:30px 0px ;; display: flex; flex-wrap: wrap; flex-direction: column; align-self: center; background-color:rgba(255,255,255,1); transition: all 0.3s linear 0s;z-index: 1; } 
#cms-main .cms-brand li:hover .cms-product-title,#cms-main .cms-brand li:hover .cms-product-title a, #cms-main .cms-brand li:hover  .cms-brand-inner p a  { color:#c6a26e;} 
#cms-main .cms-brand li .cms-brand-inner h3{ padding-bottom: 0px;margin: 0px;  }
#cms-main .cms-brand li .cms-brand-inner h3 a{flex: 0 0 100%; margin:5px 0px; font-size:1.313rem; line-height:1.35rem; font-weight:700;  color:#153872; overflow: hidden; word-break:keep-all;  word-wrap:break-word;text-overflow: ellipsis; display: -webkit-box;  -webkit-line-clamp: 2;  -webkit-box-orient: vertical; font-family: 'Noto Serif TC', serif; }
#cms-main  .cms-brand-inner p{ flex: 0 0 100%; margin: 10px 0px; font-size: 0.875rem; line-height: 1.875rem; font-weight: 300; color:#767676;  overflow: hidden; word-break:break-all; word-wrap: break-word; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;} 
#cms-main  .cms-brand-inner p a{color: #333;}
.cms-brand li .cms-main-product-note { position: relative;  padding: 5px; width:15%; height:30px; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; align-items: center;  font-size:0.875rem; text-align: left; line-height: 1.5em; text-shadow:none; z-index: 11;    }
.cms-main-product-note.cms-main-product-note-sale {  color: #fff; background:#cc3333; }
.cms-main-product-note.cms-main-product-note-stock { color: #fff; background:#333; }
.cms-product-title{width:100%; max-width:80%;  margin:10px 0px 15px 0px; padding:15px 0px 10px 0px; display: flex; flex-wrap: wrap; flex-direction: column; border-bottom: solid 1px #333;  }
.cms-brand .list-nav{ width: 100%; list-style: none;  margin: 0px; padding:0px; display: flex; flex-wrap: wrap;}
.cms-brand .list-nav li{ width: auto; text-align: center; margin: 10px 5px; padding: 10px; color: #fff; border: solid 1px #153872;}
.cms-brand .list-nav li a{ color: #153872;  }
.cms-brand .list-nav li:hover{color:#c6a26e; border: solid 1px #c6a26e;}
.cms-brand .list-nav li:hover a{color:#c6a26e;}
 @media (max-width: 1280px) {
.cms-brand li figure {  width:100%; min-height:600px; }
.cms-brand li .cms-brand-inner{  right:0px; top:60px;width: 50%;  } 
}
   
.cms-location { position: relative; padding: 25px 40px; width: calc(100% - 40px); margin:30px auto;  display: flex; flex-wrap: wrap; align-content: center; align-items: center; background: #fff;  }   
.cms-location li {width: calc(100%/2 - 40px);height:100%; margin:30px 20px;padding: 10px;  border: solid 2px #c6a26e;  position: relative; list-style: none;    }
.cms-location li:before{ content: ""; display: block;position: absolute; left:15px; top:15px; width: calc(100% - 30px); height: calc(100% - 30px); border: solid 1px #c6a26e;pointer-events: none; }
.cms-location li a{display: flex; flex-wrap: wrap; align-content: center; align-items: center; }
.cms-location li:hover{ box-shadow: 0px 3px 9px rgba(0,0,0,.1);  }
.cms-location-img{ width: 30%;  display: flex; flex-wrap: wrap; align-content: center; align-items: center; }
.cms-location-img figure{ display: flex;padding: 10px;}
.cms-location-detail{ width: 70%; display: flex; flex-wrap: wrap;  padding:10px 50px; }
#cms-main .cms-location-detail h3{ width: 100%;margin: 15px auto; padding-bottom: 15px;font-size:1.313rem; font-weight:400; letter-spacing: .5px; color:#000; border-bottom:  solid 1px #000;}
#cms-main .cms-location-detail p{ display: block; font-size:1rem; font-weight:400; color:#2c4f80; }
@media (max-width: 920px) {
 .cms-location {  padding: 25px 0px; width: 100%;   }   
 }
@media (max-width: 768px) {
#cms-main .cms-con-title {  font-size:1.063rem; }
.cms-con-location.cms-con-style:before,.cms-con-style:before{  display: none;  } 
.cms-location { margin:10px auto;  padding: 5px 0px; width: 100%;   }   
.cms-location li {width: calc(100% - 40px);height:100%; margin:15px 20px;padding: 10px;   }
.cms-location-detail{  padding:10px; }
}
/*  詳細頁樣式*/
.cms-main-post-wrap{ padding: 50px 40px 100px 40px; margin-top:50px;  }
.cms-main-post{width: 100%;margin: 0px 0px 30px 0px; padding:20px 0px 20px 0px;    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: 0px 0px 35px 0px; padding-bottom: 15px;  display: flex; flex-wrap: wrap; justify-content: space-between; word-break: break-all;  border-bottom: 1px solid #ebebeb;}
.cms-main-post-head-txt{ width:80%;padding:0px 20px; margin: 0px; position: relative; display: flex; flex-wrap: wrap;  }
#cms-main .cms-main-post-head-txt h1{ width: 80%;  font-size:1.5625rem;  line-height: 2.5rem; font-weight:700; color: #fff; letter-spacing: .18em;overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: break-word;  word-break: normal; }
.cms-main-post-head-txt .new-tag{ position: relative; display: flex;  align-self: center; margin-right: 25px;}
.cms-main-post-info{ width: 20%; align-self: center;}
.cms-main-post-info .cms-social-icons { margin: 0px auto; padding: 0px; justify-content:center;  }
.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: 30px; height: 30px;  margin-left: 20px; font-size: 18px; color: #cbcbcb; background:#2c4f80; border-radius:99rem;  }
.cms-main-post-info .cms-social-icons li i{ color:#cbcbcb; font-size:0.9rem;}
.cms-main-post-info .cms-social-icons li:hover{opacity: .5;}
.cms-main-post-btn{ width:10%; margin: 0px; padding:0px;  display: flex; flex-wrap: wrap;   justify-content: center; align-content: center; align-items: center; flex-direction: column; }
#cms-main .cms-main-post p{ width: 100%; line-height: 2rem; margin: 5px 0px; word-break: normal; display: block;  }
.cms-main-post h3{margin:15px 0;text-align: left; font-size: 1.75rem; font-weight:400; line-height: 2.5rem;}
.cms-main-post-time time{ margin: 0; padding: 0; color:#000; font-size: 1.5rem; font-weight:700; display: block;  position: relative;   }
.cms-main-post-time time b{   font-weight: 700; font-style: italic;  display: block;}
.cms-main-post-time span { position: relative; display:  block; padding: 0 15px; height: 30px;}
.cms-main-post-time time span:before {  content: ""; position: absolute; top: 50%; left: calc(50% - 15px); width: 30px; height: 1px; background-color: #000; -webkit-transform: rotate( -45deg ); transform: rotate(-45deg);}
@media (max-width: 991.98px) {
.cms-main-post{ width: 100%; padding:10px 0px; }    
.cms-main-post-head .cms-main-post-head-txt{ width:100%; padding: 0px 10px;  }
.cms-main-post-info{ width: 100%;  }
.cms-main-post-info .new-tag,.cms-main-post-info .cms-social-icons{ width:100%; justify-content: flex-end; }
.cms-main-post-head .cms-main-post-btn{width:20%; }
.cms-main-post h3{  font-size:100%; font-weight: 700;  }     
}
@media (max-width: 767.98px) {
.cms-main-post-wrap{ padding: 20px 0px; }
#cms-main .cms-main-post-head-txt h1 {width: 100%; font-size: 1.25rem;}
.cms-main-post h2{  font-size:120%; font-weight: 700; line-height: 1.875rem; }     
.cms-main-post-pagination h2 {display: none;}
}
.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; width:100%;   }
.cms-main-post-pagination h2 {  font-size: 0.9rem; font-weight: 400;  color:#000; position: relative;width: 100%;   line-height: 1.5rem; letter-spacing: .18em;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: 0.75rem; color: #888; text-transform: uppercase; transition: all 0.5s; position: relative;width: 100%;   line-height: 1.5rem; letter-spacing: .18em;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: #a01f35;  }
.cms-pagination-text:after { display: block; content: ''; width: 0; height:1px;  background:#a01f35; 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: #153872; border: solid 1px #153872;}
.cms-btn-back a{color:#fff!important;}
.cms-btn-back:before,.cms-btn-back::after{  content: ''; width: 30px; height:1px; background:#6c7280;-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; }
.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; padding:5px  10px;}  
.cms-btn-back:before,.cms-btn-back::after{ display: none; }
}
#cms-main .editor p { font-size: 18px; font-weight: 400;  line-height: 2; letter-spacing: 1.2px; margin:15px 0; width: 100%;}
/*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;}
.cms-box-wrap{width: 100%; margin: 0px; padding:0px; display: flex; flex-wrap: wrap; position: relative; background-color: transparent;}
.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%; position: relative; z-index: 0;}
.cms-box-right{width: 40%; position: relative; left: 0px; top:0px; display: flex; flex-wrap: wrap; flex-direction: column; justify-content:center;  z-index: 3; margin: 0px;padding: 20px 40px;   -webkit-writing-mode: vertical-rl; writing-mode: vertical-rl;  }
.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 .cms-main-txt p { width: 100%; font-size:1rem; line-height: 2rem; font-weight: 400;  padding:5px 0px; margin: 20px 0px;}
#cms-main .cms-main-txt p strong{  width: 100%; font-size: 1rem; line-height: 2rem; letter-spacing: 1.2px; font-weight:700;  padding:5px; margin-bottom: 10px;   }
.cms-box-item {width:50%; height: auto; margin:0 auto; padding:0px 10px;  display: flex; flex-wrap: wrap; align-content: flex-start; align-items: flex-start; }
.cms-box-card { width:50%;  margin:0px;   padding:0px; display: flex; flex-wrap: wrap; align-items: flex-start;position: relative; }
.cms-box-card .item-full{ width: 100%; max-width: 100%; margin:0px; padding: 30px 0px 40px 0px; height: auto }
.cms-box-card .item{ width: 50%; max-width: 100%; margin:0px; padding:100px 0px 40px 0px; height: auto }
.cms-box-card .item-2{ width: 50%; max-width: 100%; margin:0px; padding: 200px 0px 0px 0px;  display: flex; flex-wrap: wrap; align-items: center;}
.cms-box-card .item-2 img{ height: auto; margin: 0px; padding:10px; }
.cms-box-card.item img{ margin: 0px;  padding:10px; }
@media (max-width: 767.98px) {
.cms-box-item {width:100%;   }
.cms-box-card { width:100%;  }
}
