.cms-main-area{ background: url("../images/index/bg-texture.png") repeat left top #f9f7ed; background-size:50% auto; background-attachment: fixed;  }
.cms-main-area p{color: #666; }



/*about us----*/
.cms-main-wrap{ width: 100%; padding-right: 10px; padding-left: 10px; max-width: calc((100% - 40px)/12*12 + 40px); margin: auto; height: auto;  display: flex; flex-wrap: wrap; align-content: flex-start; align-items: flex-start; background-color: transparent;}
 @media (min-width:1200px) {
.cms-main-wrap{  padding-right:20px; padding-left: 20px;max-width: 1280px; }
}
@media (min-width:1400px) {
.cms-main-wrap { padding-right: 40px; padding-left: 40px; max-width: 1440px; }
}
  

.cms-block-wrap {width:100%; height: auto; padding:50px;  display: flex; flex-wrap: wrap;position: relative;  }
@media (max-width:768px) {
.cms-block-wrap {  padding:20px 30px;}

}

.cms-block {width:50%; height: auto; padding:0px 50px 0px 0px;  display: flex; flex-wrap: wrap; align-items: flex-start; position: relative;z-index: 1 }
.cms-block-title{width:auto; margin:10px 0px; padding: 0px; display: flex; flex-wrap: wrap; position: relative; z-index: 1; font-family: 'Noto Serif TC', serif; ;}
.cms-block-title h3{font-family: 'Noto Serif TC', serif;font-size: 1.875rem; line-height: 130%; color:#0a326f; font-weight: 700;}
#cms-main .cms-block-title p{ font-size: 1.15rem!important; line-height: 130%; color:#bea570; font-weight: 700!important;}



.cms-block-txt{width:100%; margin:0; padding: 0px 40px; display: flex; flex-wrap: wrap;align-content: center; position: relative; z-index: 1;}
#cms-main .cms-block-txt p { width: 100%; font-size:1rem;  line-height: 180%; font-weight: 400;  padding:5px 0px 0px 0px; margin-bottom: 20px;  }
#cms-main .cms-block-txt p strong{  display: block;  width: 100%; font-size: 1.313rem; line-height: 2rem; letter-spacing: 1.2px; font-weight:400;  padding:5px; margin-bottom: 10px;   }


.cms-about-card { width:50%;  margin:-2% 0px 0px 0px; padding:0px; display: flex; flex-wrap: wrap;justify-content: flex-start; align-items: flex-start;position: relative;z-index: 1 }
.cms-about-card .item{ width: 70%; max-width: 100%;height: auto ; margin:0px; padding:0px; position: relative;z-index: 1 }
.cms-about-card .item figure:before{content: ""; width: 96%;  height:94% ; margin:2%; padding:10px; position: absolute; left:0px; top:0px; z-index:2 ; border: solid 1px rgba(255,255,255,.5);}
.cms-about-card .item-2{ width:60%; max-width: 100%; margin:220px 0px 0px 200px; height: auto; position: absolute;z-index: 2  }
.cms-about-card .item-2 figure:before{content: ""; width: 96%;  height:94% ; margin:2%; padding:10px; position: absolute; left:0px; top:0px; z-index:2 ; border: solid 1px rgba(255,255,255,.5);}
@media (max-width:1024px) {
.cms-block {width:calc(60% -10%); padding:0px; margin-left: 10%;}  
.cms-about-card { width:40%;  margin:-2% 0px 0px 0px; padding:0px;  }    
}
@media (max-width: 990px) {
.cms-block {width: 100%; margin: 0px auto; padding:0px 25px; }
.cms-about-card {width:80%; margin: 0px auto;  padding: 0px; }  
.cms-block-wrap:after { display: none; }   
}


@media (max-width:844px) {
.bg-about{  background-size:100% auto; }   
.cms-main-about{ padding:40px 0px; }
 .cms-about-card {width:80%; margin: 0px;  padding: 0px; order: 2;}  
.cms-block {width: 100%; margin:0px auto; padding:0px;order: 1; }
.cms-block-txt{ padding:40px 0px 20px 0px;}
.cms-about-card .item-2{ width:60%; max-width: 100%; margin:140px 0px 0 330px;  }
.cms-about-card .item figure:before,.cms-about-card .item-2 figure:before{   height:96% ;}
}
@media (max-width:767.98px) {
 .cms-about-card .item-2{ width:60%; max-width: 100%; margin:40px 0px 0 160px;  }
   
}
/*-------------------*/
/***** bg *****/
/*------------------*/
.cms-box-wrap{ padding:150px 30px; display: flex; flex-wrap: wrap; justify-content: flex-end;position: relative; z-index: 0; background: url("../images/about/bg-about.jpg") no-repeat left bottom #fff;background-size:100% auto}
.cms-box-wrap h3{ margin:0px 0px 20px 0px; font-size: 2.25rem; position: relative; z-index: 2;}
.cms-box-wrap p{ margin: 0px 5px!important; line-height: 2.25rem;  position: relative; z-index: 2;}
.cms-box-block{ width: 45%; position: relative; z-index: 1}

@media (max-width:1024px){
.cms-box-wrap{ padding:30px;background-size:auto 100% ;}
}
@media (max-width:767.98px){
.cms-box-wrap{ padding:30px;background-size:auto 70% ;}
.cms-box-block{ width: 80%;padding-bottom: 40px; }
}

 @media (min-width:1600px) {
.cms-box-wrap{padding:180px 30px; background-size:80% auto;} 
.cms-box-wrap h2{ margin:0px 0px 20px 0px; font-size: 2.5rem!important; position: relative; z-index: 2;}
.cms-box-wrap h3{ margin:0px 0px 20px 0px; font-size: 2rem!important; position: relative; z-index: 2;}
}


.item-wrap-end{width: 100%;display: flex; flex-wrap: wrap; justify-content: flex-end; align-self: center; position: relative;}
.item-wrap{width: 100%;display: flex; flex-wrap: wrap; justify-content: flex-start; align-self: flex-end; position: relative;}
.item-pic{width: 70%; }
.item-pic figure{ width: 90%;  height:auto ; margin:auto; position:relative;z-index: 1;}
.item-pic figure img{  width:82%; height: auto; position:relative;z-index: 1;}
.item-pic figure:before{content: ""; width: 86%;  height:90%; margin:auto; padding:0px; position: absolute; left:-2%; top:-2%; z-index:0; border: solid 2px #b38f36;}

.item-txt{width:30%;display: flex; flex-wrap: wrap; align-self: center; flex-direction: column;}
.item-ce{width: 100%;display: flex; flex-wrap: wrap; justify-content: space-between; margin-top: -15%; position: relative; }
.item-ce-1{width: 50%; left:0px;position: absolute;z-index: 9; }
.item-ce-2{width: 40%;  right: 0px; position: absolute;z-index: 9; }
 /*ms-title-2  樣式
=================================*/
.cms-name { width:100%;margin:0px; padding-left: 50px;   padding-bottom: 0; display: flex;  flex-wrap: wrap; justify-content: flex-start;  position: relative; }
.cms-name:before{content: ""; position: absolute;left:0px; top:20px; width:35px; height:73px;background: url("../images/icon/btn-title.svg") no-repeat left top; } 
 .cms-name h2{width: 100%;  display: block; margin:0px; font-size: 2rem; font-weight: 400; color: #bfa571!important;  letter-spacing: 2px;}
.cms-name p{width: 100%; display: block;margin:0px; font-size:0.9rem; font-weight: 700; color: #bfa571!important;   letter-spacing: 1px;}
.cms-name span{width:100%; display: block;margin:0px; font-size: 0.875rem; font-weight: 700; color: #bfa571;}

@media (max-width:1024px){
.cms-name h2{ font-size: 1.5rem;}
 }
@media (max-width:767.98px){
.cms-name { padding-left: 30px;}
.cms-name:before{ width:21px; height:70px;  } 
   
}
/*-------------------*/
/***** team *****/
/*------------------*/
.cms-box-wrap-2{ margin: 0px auto; padding:100px 30px; display: flex; flex-wrap: wrap; justify-content: center;position: relative; z-index: 0; background-color: #fff;}
.cms-box-wrap-2:before{content: ""; position: absolute;left:0px; bottom:20%; width:44%; height:200px; background: #0a326d; } 
.cms-box-righ-2{width: 50%; margin: 0px; padding: 0px; display: flex; flex-wrap: wrap; justify-content:flex-start;z-index: 0;  }
.cms-box-left-2{ width:50%; margin:0px; padding:0px; display: flex; flex-wrap: wrap;justify-content: flex-start; align-items: flex-start;position: relative;z-index: 1 }
.cms-box-wrap-2 .item-txt{margin-top: -5%}
@media (max-width:844px){
.cms-box-righ-2{width: 100%;margin-top: 100px;  }
.cms-box-left-2{ width:100%;  }
.item-pic{width: 50%; }
.item-ce{width: 80%; }
}
@media (max-width:767.98px){
.cms-box-righ-2{ margin-top: 0px;  }
.cms-box-wrap-2 .item-txt{ width:40%;} 
.item-pic{width: 60%; }
.item-ce-1{left: 0px;}
}
.cms-box-wrap-3{ margin: 0px auto; padding:100px 30px; display: flex; flex-wrap: wrap; justify-content: center;position: relative; z-index: 0; background-color: #fff;}
.cms-box-wrap-3:before{content: ""; position: absolute;right:0px; top:30%; width:46%; height:200px; background: #0a326d; } 
.cms-box-right-3{width: 45%; margin: 0px; padding:20px 0px; display: flex; flex-wrap: wrap; justify-content:center;z-index: 0; }
.cms-box-left-3{ width:55%;  margin:0px; padding:0px; display: flex; flex-wrap: wrap;justify-content: flex-start; align-items: flex-start;position: relative;z-index: 1; }
 
.cms-box-right-3 .item-wrap{ flex-direction: row-reverse;}
.cms-box-right-3 .item-pic{width:60%; }
.cms-box-right-3 .item-txt{width:40%;}
 
.cms-box-right-3 .item-ce{ margin-top: 5%;}
.cms-box-right-3 .item-pic figure{ width: 100%;  height:auto ; margin:auto; position:relative;z-index: 1;}
.bg-about-end {  background:url("../images/about/bg-about.jpg") no-repeat left bottom; background-size:80% auto;  position: relative;z-index: 0;}

 @media (min-width:1600px){
.cms-box-wrap-2:before{  bottom:18%;  } 
 .cms-box-wrap-3:before{  top:34%;} 
}
 @media (max-width:1024px){
 .cms-box-wrap-2{padding:30px;}
 .cms-box-wrap-2:before{ bottom:45%; width:44%; height:150px; } 
 .cms-box-wrap-3:before{ top:25%; width:46%; height:150px; } 
}
 @media (max-width:844px){
.cms-box-wrap-2:before{ bottom:60%;width:100%; } 
.cms-box-wrap-3:before{ width:100%;} 
.cms-box-wrap-3{ padding:30px;}
.cms-box-right-3{width: 100%; margin: 0px; padding:20px 0px; order: 1;}
.cms-box-left-3{ width:100%; margin-top: 150px; order: 2; }
.cms-box-right-3 .item-pic{width:50%; }
 }
 @media (max-width:767.98px){
.cms-box-wrap-2,.cms-box-wrap-3{padding:30px 10px;}
.cms-box-wrap-2:before{ bottom:auto; top:15%;height: 80px; }  
.cms-box-wrap-3:before{ bottom:auto; top:12%; height: 80px; }     
.cms-box-right-3{ padding:0px;}
 .cms-box-right-3 .item-pic{width:55%; }
 .cms-box-right-3 .item-txt{width:45%;}    
.cms-box-right-3 .item-ce{ width: 100%; margin-top: 5%;}
.cms-box-right-3 .item-ce .item-ce-1{left:0px;}
}
/*-------------------*/
/***** service *****/
/*------------------*/
.cms-service-box { width:70%;  margin:20px auto;   padding:0px 20px; display: flex; flex-wrap: wrap; align-items: center;position: relative;  z-index: 1;}
.cms-service-box .item{ width: 50%; max-width: 100%; margin:0px; padding: 30px 0px 40px 0px; height: auto }
.cms-service-box .item-2{ width: 50%; max-width: 100%; margin:0px; padding: 80px 0px 0px 0px;  display: flex; flex-wrap: wrap; align-items: center;}
.cms-service-box p{ font-size: 0.9rem; color: #333;}

/*-------------------*/
/***** about-team*****/
/*------------------*/
.about-team{ padding: 40px 20px; display: flex; flex-wrap: wrap; justify-content: center;position: relative;z-index: 0;  }
.about-team .cms-title-v{height:50%;}
 .about-team-column:nth-child(odd) {  width: calc(15% - 11.66667px); max-width: calc(15% - 11.66667px); -webkit-box-flex: 0; -ms-flex: 0 0  calc(15% - 11.66667px); flex: 0 0  calc(15% - 11.66667px);}
.about-team-column:nth-child(2n) {  width: calc(85% - 8.33333px); max-width: calc(85% - 8.33333px);  -webkit-box-flex: 0; -ms-flex: 0 0 calc(85% - 8.33333px);  flex: 0 0 calc(85% - 8.33333px); margin-left: 20px;}

.about-team-main { position: relative; margin-top: 17px; display: flex; flex-wrap: wrap;}
.about-team-main-row {  width: calc(50% - 8.33333px);   position: relative; margin-bottom: 33px; padding-left: 30px;}
.about-team-main-row-full {  width: calc(85% - 8.33333px);   position: relative; margin-bottom: 33px; padding-left: 30px;}

.about-team-main-name { font-size: 1.135rem; font-weight:400; font-family: 'Noto Serif TC', serif; line-height: 1.5; letter-spacing: normal; position: relative; }
.about-team-main-name:before {  width: 12px;  height: 12px;  content: "";  position: absolute; left:-20px; top:8px; background:url("../images/icon/square.svg") no-repeat left top; background-size: 12px;   }
.about-team-main-name+.about-team-main-summary { margin-top: 11px;}
.about-team-main-summary { font-size:0.9375rem; font-weight: 400; line-height: 1.75; letter-spacing: 1px; color: #666;}




/*-------------------*/
/***** about-item*****/
/*------------------*/
.about-item{   padding: 80px 20px;   }
 
.about-item-summary { width: 100%;display: flex; flex-wrap: wrap; margin: 0px;padding: 0px; }
.about-item-summary li{ width: auto; padding:0px; margin: 5px 2px; list-style: none; font-size:0.875rem; font-weight: 400; line-height: 1.75;  color: #666;}
.about-item-summary li:after{ content: " / " ; display: inline-block; margin-left: 5px;}



.about-item-column{ width: 80%; margin: auto; padding: 20vh 0px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; align-self: center;}
 

/**banner=================================*/
.cms-item-banner { width: 100%; max-width:100%; height: auto; margin:0px auto; padding:0px; position: relative; z-index: 2;  }
.cms-item-banner .imgSliderBox {  width: 100%;  display: flex; flex-wrap: wrap;justify-content: center; }
.cms-item-banner img{ display: block; width: 100%; max-width: 100%;  height: auto; position: relative;  -webkit-animation: zoom 6s ease-in-out; -moz-animation: zoom 6s ease-in-out; -o-animation: zoom 6s ease-in-out; -ms-animation: zoom 6s ease-in-out; animation: zoom 6s ease-in-out;animation-iteration-count:infinite;   -webkit-animation-duration: 6s; animation-duration: 6s;  animation-direction:alternate;}
  
.cms-item-banner .cms-sloga {   position: absolute;  width: 100%;  display: flex; flex-wrap: wrap; justify-content:center; align-self: flex-start;  z-index: 9; }   
 
.item-v{ width:auto; padding: 20px 30px;  }
.item-v-name{  width: auto; height: 100%; margin:0px 5px 0px 20px; font-size:2rem; line-height:4rem; letter-spacing: 10px; font-weight:400;  word-wrap:break-word;word-break:keep-all;font-family: 'Noto Serif TC', serif;}
.item-summary{  width: auto; height: 100%; margin:0px 5px; padding: 0px; list-style: none; }
.item-summary li{ font-size: 1.063rem; margin:0px 15px; letter-spacing: 3px; }

/*----------------------------------------/
timeline
----------------------------------------*/
.cms-about-time {padding:10vh 0; background-image: url("../images/index/nu-w-7.svg"),url("../images/about/about-02.jpg"); background-repeat: no-repeat;  background-position:15% 0px,right bottom; background-size:25% auto,70% auto;  position: relative;z-index: 0;}
.timeline { position: relative; max-width: 1160px;  margin: 0 auto;  z-index:1;}
.timeline::after {  content: '';  position: absolute; width: 1px; background-color: #000; top: 0; bottom: 0;  left: 50%;  margin-left: -3px; z-index:1;}
.timewrap { padding: 10px 40px; position: relative; background-color: inherit; width: 50%;z-index:9;}
.timewrap::after { color: #000; margin:0px;  content: attr(data-year)' '; position: absolute; font-weight:700;  width: 66px; height: 66px; right: -33px; background-color:#fff;  border-color: #000; border-style: solid;  border-width:1px; top: 15px; border-radius: 50%; z-index:9; line-height: 65px; text-align: center;}
.circlecontainer { color: #b69472; content: " "; position: absolute; width: 66px; height: 66px; right: -33px; background-color: #774e36; border-color: #b69472; border-style: solid;  border-width:1px; top: 15px;  border-radius: 50%;  z-index:99;}
.left { left: 0; text-align:left!important;}
.right { left: 50%; text-align:left; }
.right::after { left: -36px;}
.time-content { color:#774e36; padding: 20px 30px; position: relative; border-radius: 6px; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; align-items: center; flex-direction: column; }
#cms-main .time-content h3{ width: 100%; margin: 5px 0px!important; font-family: 'Noto Serif TC', serif; font-weight: 700;color: #000; }
#cms-main .time-content p{ width: 100%; margin: 5px 0px!important;}
.time-content figure{ margin: 0 auto 20px auto; }
.contentboxr { color:#b69472; padding: 20px 30px; background-color: #181818; position: relative; border-style: solid;  border-left: 1px; border-left-color:#181818; border-width:1px; left:-43px;  z-index:5; line-height:1.2;}
.containerbox { padding: 10px 40px; position: relative; background-color: inherit;  width: 50%;}
.contentboxr::after { display: none !important; visibility: hidden;}
@media screen and (max-width: 600px) {
.timeline::after { left: 51px; }
.flex-container { display:none; visibility:hidden; }
.timewrap {  width: 100%; padding-left: 70px; padding-right: 25px; }
.contentboxr { color:#b69472; padding: 10px 20px; background-color: #181818;  position: relative; border-style: solid; border-left: 0px; border-left-color:#181818; border-right: 0px; border-right-color:#181818; width:330%;}
.timewrap::before { left: 60px; border: medium solid white; border-width: 10px 10px 10px 0; border-color: transparent white transparent transparent;}
.left::after, .right::after { left: 15px; }
.right {  left: 0%; text-align:left;}
.left { text-align:left; }
}


 