﻿.main-area{ background-image: linear-gradient(to top, #fff 0%,rgba(193,140,70,0) 50%, #f7f5f6 100%); /*background: url("../images/index/bg.jpg") repeat left top;  background-size:10% auto;*/}
.main-banner:before{ content:"";position: absolute; z-index:9; top: 0px; left: 0px;   width: 100%; height: auto; background-image: linear-gradient(to top, rgba(193,140,70,0) 0%, rgba(252,251,249,1   ) 100%);  }  
 .text-stroke{ -webkit-text-stroke: 1px #a3d6bf;} 
.cms-top.main-area{margin-top: 20px;}
 
.main-wrap{width: 100%; display: flex; flex-wrap: wrap; align-content:flex-start;}



.cate {opacity: 1;  margin: 0px auto; padding:40px 80px 80px 80px; width: 100%; display: flex; flex-wrap: wrap; justify-content: space-around; list-style: none; }
.cate li { width: calc(100%/3 - 40px); margin:5% 20px; padding: 20px;   opacity: 1; position: relative;   }
.cate li a { display: flex; flex-wrap: wrap;  justify-content: center;  align-items: center;text-align: center;transition: all 0.3s ease 0s;   }
.cate li .circe-box{ width:200px; height: 200px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center;   border: solid 1px #e74a75;  border-radius:99rem;   }
 .cate li i{opacity: 1!important; border-radius:99rem;  }
.cate li i img{ width:calc(100% - 50px); height:calc(100% - 50px); padding: 25px; /*  -webkit-filter:invert(1) brightness(100);*/}
.cate li a h3{   width: 50%; margin: 15px auto; font-size: 1.5rem; font-weight: 700; color: #000; letter-spacing: 3px;  }
.cate li a:hover h3 { color:#e74a75;  }
.cate li a:hover .circe-box{ background: #ea5d84;  }
.cate li a:hover i img{-webkit-filter:grayscale(100%) brightness(200%);   }
.cate li a:hover  { transform:scale(.95); }

@media (max-width: 840px) {
.cate { padding:40px; }    
.cate li .circe-box{ width:150px; height: 150px; } 
.cate li i img{ width:calc(100% - 30px); height:calc(100% - 30px); padding: 15px;  }
}
@media (max-width: 768px) {
.cate { padding:40px; }    
.cate li .circe-box{ width:130px; height: 130px; } 
}
   
@media (max-width: 767.98px) {
.cate li { width: calc(100%  - 40px); margin:5% auto; padding: 20px;  } 
.cate li .circe-box{ width:150px; height: 150px; } 
.cate li a h3{ width: 100%;   }
}
@media (max-width: 320px) {
    .cate  {  padding: 20px 10px;  } 
.cate li { width: calc(100%  - 20px); margin:5% auto; padding: 20px 10px;  } 
.cate li .circe-box{ width:130px; height: 130px; } 
.cate li a h3{ width: 100%;   }
}


/*  詳細頁樣式*/
.main-post{width: 90%;margin: 0px auto 30px auto; padding:20px 0px;    }
.main-post p a{ color: #000; }
.main-post p a:hover{ color: #a01f35; }
.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;}

.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;}
.main-post-head-txt{ width:100%;padding:0px; margin:10px auto 30px auto; position: relative; display: flex; flex-wrap: wrap; align-self: center;  }
.main-post-head-txt h1{ width: 80%; font-size:2rem;   font-weight:700;  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: normal; overflow-wrap: break-word;   }

.main-post-time{ width:auto; margin-right: 25px;  }
.main-post-time time{ margin:0px; padding:5px 0; color:#000; font-size:0.875rem; text-align: center; font-weight:700;   position: relative;   }
.main-post-time time b{ font-weight: 700; font-style: italic; }
.main-post-time span { padding: 0 5px;  }


.main-post-info .main-post-item{ width: 100%;margin: 0px; padding:10px 0px;  display: flex; flex-wrap: wrap;}
.main-post-info .new-tag{ position: relative; display: flex;  align-self: center; margin-right: 25px; font-weight: 700;  }
.main-post-info{ width: 80%;margin:0px; display: flex;  flex-wrap: wrap;justify-content: flex-start;align-items: center; font-size: 1rem;}
.main-post-info .social-icons { width: auto; margin: 0px; padding: 0px; display: flex; flex-wrap: wrap; }
.main-post-info .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;  }
.main-post-info .social-icons li i{ color:#cbcbcb; transform: scale(.75); }
.main-post-btn{ width:auto; margin: 0px; padding:0px;  display: flex; justify-content: flex-end;  }

@media (max-width: 991.98px) {
.main-post{ width: 100%; padding:10px 15px; }    
.main-post-head .main-post-head-txt{ width:100%; padding: 0px;  }
.main-post-head-txt h1 { width:100%;  }
 .main-post-head .main-post-btn{width:20%; }
.main-post h3{  font-size:100%; font-weight: 700;  }  


}
@media (max-width: 767.98px) {
 .main-post{  padding:10px 0px; }    

.main-post-head{ margin:0px 0px 35px 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-pagination h2 {display: none;}
.main-post-info{ width: 100%;margin-top: 20px;  font-size: 1rem;}
 .main-post-head .main-post-btn{width:100%; }    
}
.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: #e84a75;  }
.pagination-text:after { display: block; content: ''; width: 0; height:1px;  background:#e84a75; 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:100px!important;height: 100px!important; color:#e84a75!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-color:transparent; border: solid 1px #232323; border-radius:99rem; }
.btn-back a{color:#232323!important;}

.btn-back:hover a{ color:#fff!important; }
.btn-back:hover { color:#fff!important;  background:#232323;border-color:#232323;  }
@media (max-width: 767.98px) {
.btn-back  { font-size:.875rem; text-align: center; padding:5px 10px;}  
.btn-back:before,.btn-back::after{ display: none; }
}

.box-wrap{width: 100%; margin: 0px auto 55px auto; padding:0px; display: flex; flex-wrap: wrap; position: relative; align-items: center; word-break: keep-all; }
.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!important; font-size: 1.125rem;  line-height: 2.25rem;  position: relative; z-index: 2;}

.box-left{ width: 60%;  }
.box-right{width: 40%;   }
.main-txt{width: 100%; margin:0; padding: 30px 20px 0px 20px;  }
.main-txt p { width: 100%; font-size:1.125rem;   font-size: min(max(3vw, 1rem), 1.125rem);  line-height:1.75rem; font-weight: 400;  padding:5px 0px; margin: 20px 0px;}
.box-card { width:80%;  margin:30px auto; padding:0px; display: block; ;position: relative; }
.list li{word-break: keep-all; }

@media (max-width: 768px) {
.main-txt{ padding: 30px 0px 0px 0px;}
}

@media (max-width: 767.98px) {
.box-left{ width: 100%;}
.box-right{width: 100%;}    
}


.daily-body .txtbox .title { color: #333;}
.daily-body .txtbox .txtdes { margin-top: 1em}
.daily-tip { color: #333; /*background-color:rgba(231,213,176,.1);*/  padding: 0 1.25em;  margin: 20px 0px;border-radius:20px;  }
.daily-tip-bg { background-color:#f2f0f0  }

@media (min-width:768px) {
.daily-tip { padding: 1.5em  }
}
.daily-tip [class*=col-] { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: nowrap;  flex-wrap: wrap; padding-top: 1.25em; padding-bottom: 1.25em}
@media (min-width:768px) {
.daily-tip [class*=col-] { padding-top: 0; padding-bottom: 0  }
}
@media (max-width:767px) {
.daily-tip [class*=col-] + [class*=col-] { border-top: 1px dashed #c9c9c9  }
}
.daily-tip [class*=icon-] { width: 25px; color: #c49c6f;margin-top:0px}
@media (max-width:768px) {
.daily-tip [class*=icon-] { width: 30px; height: auto; margin-top:5px }
}
.daily-tip .txtbox {  -webkit-box-flex: 1;  -ms-flex: 1; flex: 1; margin-left: 3%}
@media (max-width:767.98px) {
 .daily-tip .txtbox {  margin-left: 0}
}

.daily-tip .box-item { width: 100%; display: flex; flex-wrap: wrap; }
@media (max-width:767.98px) {
.daily-tip .box-item { flex-direction: column; padding-bottom: 20px;}
}
.daily-tip .tiptit {margin-bottom: .5em;font-size: 1rem; font-weight: 700;}
@media (min-width:768px) {
.daily-tip .tiptit { font-size: 1.125rem;  margin-bottom: .75em }
}
.daily-tip ul { margin: .25em 0px;padding: 0px 20px; list-style: none;}
.daily-tip li { margin: .25em 0;padding: 0px 0px 0px 10px; position: relative;}
.daily-tip li:last-child { margin-bottom: 0}

@media (max-width:767.98px) {
   .daily-tip ul {  padding: 0px; }
 
}
/*.daily-tip li:before { background-color: #c9c9c9}
.daily-tip ul > li:before { content: ""; display: block; width: 4px; height: 4px;background: #b38757;position: absolute; top: 16px;left:0px; border-radius: 50px; }
*/

  