﻿.new-tag { display: flex; flex-wrap: wrap; flex-direction: row;   width: 100%; transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s; overflow: hidden; text-transform: capitalize;  word-break: keep-all;   z-index: 9;  position: relative; }
a.new-tag-tcategory{ color:#fff;  }
.new-tag-tcategory{ width: auto;max-width: 100%; height: 40px; font-size: 14px; font-weight: 400; line-height: 1.57; letter-spacing: normal; position: relative; padding:10px; margin: 0px;   color: #fff; background:#c19963; -webkit-transition: background-color .2s,color .2s,border-color .2s; transition: background-color .2s,color .2s,border-color .2s;}
.new-tag-tcategory:hover{ color: #fff; background:#000;  }
a.new-tag-tcategory:hover{ color: #fff;  }
.blog-list {width: 100%;  margin:40px auto;  padding:0px; display: flex; flex-wrap: wrap;align-content: flex-start; position: relative; z-index: 1; }
.blog-list li{ width: calc(100%/4 - 30px);  height: auto; padding:10px;  margin:30px 15px; display: flex; flex-wrap: wrap;align-content: flex-start; box-sizing: border-box;  list-style: none;  transition: all 0.5s ease 0s; background: #fff;border: solid 1px #ebebeb;}
.blog-list li:hover{border: solid 1px #faae3f}
.blog-list li:hover figcaption a h3{color: #266433;}
.blog-list figure  {width: 100%; padding-bottom:62.55%; height: 0; overflow: hidden; position: relative;  z-index: 1;   transition: all 0.5s ease-in-out; }
.blog-list figure img { max-height:100%; width: 100%; object-fit: contain; margin: auto; display: block; border-radius:0px;   transition: all 0.5s ease-in-out;}
.blog-list figcaption { box-sizing: border-box; color: #4c4c4c; font-size: 14px; font-weight: 400; line-height: 1.8rem; letter-spacing: 0.5px; padding: 20px 10px 10px 10px;  position: relative;  }
.blog-list figcaption .wrap { display: -ms-flexbox; display: flex; flex-wrap: wrap;   width: 100%; margin: 0;}
.blog-list figcaption h3 { position: relative; min-height: 96px;  font-size: 1.5rem; font-size: min(max(3.5vw, 1rem), 1.5rem);  margin-bottom: 10px; line-height: 2rem; font-weight:500; color:#2c2c2c; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow-wrap: break-word;}
.blog-list figcaption a p { width: 100%; margin: 0px;  padding: 0px; font-size: 0.9375rem; line-height: 1.5rem; color:#777; overflow: hidden; word-break:break-all;  word-wrap: break-word; text-overflow: ellipsis; display: -webkit-box;  -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-family: 'Oswald', sans-serif; }
.blog-list .date{  width: 40%; margin-top: -12%;  right: 0px;  padding: 0px;  height: 40px; color:#cacaca; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack:flex-start;  -ms-flex-pack: flex-start;justify-content: flex-start; -webkit-box-align:flex-start; -ms-flex-align: flex-start; align-items: flex-start; opacity: 1; z-index: 9; position: relative;}
.blog-list .slick-next {right: 5px;}
.blog-list .slick-prev {left: 5px; z-index: 99;}
@media (max-width: 1199.98px) {
.blog-list li{ width: calc(100%/3 - 20px); margin:30px 10px; }
}
@media (max-width: 768px) {
.blog-list li{ width: calc(100%/2 - 10px); margin:10px 5px; padding: 5px; font-size: 100%; }
.blog-list figcaption {font-size: 100%;  padding: 5px;   }  
.blog-list figcaption a h3 {  font-size:100%; padding: 0px; line-height: 1.5rem; }
}
@media (max-width: 320px) {
.blog-list li{ width: calc(100% - 10px); margin:10px auto;   }
 }
 
/*  詳細頁樣式*/
.main-post-wrap{ padding: 0px 40px 100px 40px; margin:0px;  }
.main-post{width: 90%;margin: 0px auto 30px auto; padding:20px;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 15px 0px; padding: 15px 15px 0px 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:calc(100% - 200px);padding:0px; margin:10px auto ; position: relative; display: flex; flex-wrap: wrap; align-self: center;  }
.main-post-head-txt h1{ width: 100%; font-size:2rem; color:#266433;  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; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; align-items: center;  }
.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-head-txt .new-tag{ position: relative; display: flex;  align-self: center; margin-right: 25px; font-weight: 700;  }
.main-post-info{ width: 80%;margin:10px 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; text-align: center;  width:26px; height:26px;  margin-left:3px; font-size: 18px; color: #cbcbcb;   border-radius:99rem;background: #777;  }
.main-post-info .social-icons li i{ width:16px; height:16px; background-size: 12px auto}
.main-post-btn{ width:200px; margin: 0px; padding:0px;  display: flex; justify-content:flex-start;  }
.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;}

.head-wrap{ width: 100%; display: flex; flex-wrap: wrap;}


@media (max-width: 991.98px) {
.main-post{ width: 100%; padding:10px 0px; }    
.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;  }  
.main-post-head .main-post-btn{width:100%; justify-content: flex-end }
 .main-post-head .main-post-btn .back-button{ transform: scale(.8)}
}
@media (max-width: 767.98px) {
.main-post-wrap{ padding:0px; }
.main-post-head{ margin:0px 0px 15px 0px; padding: 0px; flex-direction: column-reverse;  }  
.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: 0px; display: flex;  flex-wrap: wrap;justify-content: flex-start; font-size: 1rem;}
}
.main-post-txt {width: 100%; max-width: 1100px; margin:0px 15px; display: flex; flex-wrap: wrap;    }
.main-post-pagination{ padding: 0; margin:60px auto 30px 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;}
@media (max-width: 767.98px) {
  .main-post-pagination > div {  width:calc(100%/2 ) ; }  
}
.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:#fff; border: solid 1px #2c2c2c; border-radius:0px; }
.btn-back a{color:#6c7280!important;}
.btn-back:before,.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;  }
.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:#faae3f;border-color:#faae3f;  }
.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; text-align: center; padding:5px 10px;}  
.btn-back:before,.btn-back::after{ display: none; }
}
.main-txt{width: 100%; max-width: 960px; margin:0; padding: 30px 20px 0px 20px;  position: relative; z-index: 1;}
.box-wrap{width: 100%; margin: 0px auto 55px auto; padding:0px; display: flex; flex-wrap: wrap; position: relative; align-items: flex-start; word-break: keep-all; }
.box-wrap h3{ margin: 40px 0px 20px 0px; font-size: 2rem;font-size: min(max(3vw, 1.15rem), 2rem);font-weight: 500; position: relative; z-index: 2;}
.box-item p{ margin: 0px 5px!important; font-size: 1.125rem;  font-size: min(max(3vw, 0.9rem), 1.125rem); line-height: 1.875rem;  position: relative; z-index: 2;}
.box-item{padding: 15px;}

.box-left{ width: 60%;  }
.box-right{width: 40%;   }
.box-w5{width: 50%;   }

.post-content-articlet p { width: 100%; font-size:1.15rem;  font-size: min(max(3vw, .9rem), 1.15rem);line-height:2.15rem; font-weight: 400;  padding:5px 0px; margin: 20px 0px;}
.box-img-full { width:100%;  margin:30px auto; padding:0px; display: block; ;position: relative; }
.box-img-w8 { width:80%;  margin:30px 0px; padding:0px; display: block; ;position: relative; }

.list li{word-break: keep-all; }
@media (max-width: 767.98px) {
.main-txt{ padding: 30px 0px 0px 0px;}
.box-left{ width: 100%;}
.box-right{width: 100%;}    
}

