﻿.box-left.box-left.main-area.top{margin-top: 0px;  background-image: linear-gradient(to top, #eff5f9 0%, #F9F9F9 100%); }
 /*--分類new-tg --*/
.new-tag { width:auto;; font-size: 0.875rem; font-weight: 700;  position: relative; }
@media (max-width: 768px) {
.new-tag {  font-size: 0.75rem; }    
}
.new-tag a{color:#fff; padding:5px 10px; background-color:#000;border-radius:15px;  }
.new-tag a:hover {color:#fff; background:#555;}
 
.blog-wp  { display: flex; gap: 2.5vw; margin-top: 52px;}
@media (max-width:840px) {
.blog-wp  {flex-direction: column}  
}

.blog-wp .blo-content { flex: 10;}
.blog-list { width: 100%;  display: flex; flex-wrap: wrap; gap: 3%; margin: auto; padding: 0px}
.blog-list li { display: flex; flex-wrap: wrap; align-items: center;  flex-direction: column; flex: 0 1 48%; border-bottom: 1px solid #ddd;position: relative; margin: 1.5rem 0;  box-shadow: none;}
.blog-list li .col.images { padding: 0; background-color: #000;}
.blog-list li .col.images img {  opacity: 0.6;}

.blog-list li .col.images  figure{ width: 100%; padding-bottom: 54.75%; height: 0; overflow: hidden; position: relative;  z-index: 1; transition: all 0.5s ease 0s;   }
.blog-list li .col.images  figure img { max-width: 100%; height: auto; margin: auto; transition: all 0.5s ease 0s;   }



.blog-list li .col.date { position: absolute; top: 40px; left: 38px; padding: 0; color: #fff; line-height: 1.2; font-weight: 900; z-index: 1;  }
.blog-list li .col.date::before { content: ""; position: absolute; left: -38px; width: 24px; height: 20px;  background-color: #fff;}
.blog-list li .col.copy { position: absolute; bottom: 0; padding: 3vw; z-index: 9;}
.blog-list li .col.copy a { color: #fff;}
.blog-list li .col.copy a:hover { text-decoration: none; color:#ffc107;}
.blog-list li .col.copy h3 { display: -webkit-box;  -webkit-box-orient: vertical;  -webkit-line-clamp: 2;  margin-bottom: 12px; padding-bottom: 12px;  max-height:78px; overflow: hidden;  border-bottom: 1px solid #fff; font-size:1.875rem; font-weight: bold;  line-height: 1.2;}
.blog-list li .col.copy .text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;  max-height: 0; overflow: hidden; line-height: 1.5; transition: 0.5s; opacity: 0;}
.blog-list li:hover .col.copy .text { opacity: 1; max-height: 48px; transition: 1s;}

@media (max-width:767.98px) {
.blog-list li { margin: 0.5rem 0; }
 .blog-list li .col.date { top:4px; left: 38px; font-weight:700;  }
.blog-list li .col.date::before {  width: 12px; height: 10px;  background-color: #fff;}   
.blog-list li .col.copy { padding:2vw;}
.blog-list li .col.copy h3 {padding-bottom: 0px; margin-bottom: 0px; font-size:0.9rem; max-height: 54px; }
.blog-list li .col.copy .text { font-size: 0.75rem;}
}
@media (max-width:320px) {  
.blog-list li {  flex: 0 1 100%; }

}

.category{flex: 2; margin-bottom: 44px;}
.category-title {  padding: 22px 0px; color:#333237; font-weight: 500; font-size: 26px;}
.category-menu { padding: 10px 0px;}
.category-menu .category-list { width: 100%; margin: 0px; padding: 0px; }
.category-menu .category-list li { width: 100%; line-height: 1.5rem; list-style: none;position: relative;  margin: 0px 0px 20px 0px; background-color: transparent;  border:none }
.category-menu .category-list li a{color: #555;  font-weight: 500; }
.category-menu .category-list li::after {  content: ""; width: 100%; height: 1px; display: block; background-color: #d0d0d0;margin-right: 0px; margin-top: 10px;}
.category-menu .category-list li:hover a{ color:#009688; }
.category-menu .category-list .news-box p{  font-weight: 500; font-size: 0.875rem; font-size: min(max(3.5vw, .9rem), 0.875rem); color: #1d1d1f;   }

 /*  詳細頁樣式*/
.main-post-wrap{ width: calc(100% - 398px); padding: 0px 40px 100px 40px; margin:0px;  }

@media (max-width:1024px) {
.main-post-wrap{ width: calc(100% - 300px); }	
}

@media (max-width:840px) {
.category-menu { padding: 10px 0px;}	
.category{width: 100%;border-left:none; margin-bottom: 0px;}
.main-post-wrap{ width:100%; padding: 0px 0px 50px 0px;}	
}


/*  詳細頁樣式*/
/*.main-post-wrap{ padding: 50px 0px 100px  0px; margin:0px;  }*/
.main-post{width: 90%;margin: 0px auto 30px auto ; padding:20px 0px; }
.main-post p a{ color: #000; }
.main-post p a:hover{ color: #f57c00; }
.main-post p{ width: 100%; line-height: 2rem; margin: 5px 0px; word-break: normal; display: block;  }
 
.edit{ line-height: 1.5rem;}
.edit h3{margin-bottom: 15px;}

.main-post-head{width: 100%;margin:0px; padding:0px;  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:20px 0px; margin: auto; position: relative; display: flex; flex-wrap: wrap; align-self: center;  }
.main-post-head-txt h1{ font-size:2rem; font-weight:500; line-height: 2.75rem; word-break: normal; }

.main-post-time{ width:auto; margin-right: 25px;  }
.main-post-time time{ margin:0px; padding:5px 0; font-size:0.875rem; text-align: center; font-weight:400;   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: auto;margin: 0px; padding:10px 0px;  display: flex; flex-wrap: wrap; align-items: center;}
.main-post-info .new-tag{ position: relative; display: flex;  align-self: center; margin-right: 25px; font-weight: 700;  }
.main-post-info{ width: 100%;margin:0px; display: flex;  flex-wrap: wrap;justify-content: space-between;align-items: center; font-size: 1rem;}
.main-post-info .share-icons { width: auto; margin: 0px; padding: 0px; display: flex; flex-wrap: wrap; }
.main-post-info .share-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; background-color:#ededed;;  border-color:#ededed;  border-radius:99rem;  }
.main-post-info .share-icons li:hover { background-color:#971222;;  border-color:#971222;   }
.main-post-info .share-icons li:hover i{ filter: brightness(100%) }

.main-post-info .share-icons li i{ color:#cbcbcb; transform: scale(.75); -webkit-filter: invert(80%); /* Safari */ filter: invert(80%); }
.main-post-btn{ width:auto; margin: 0px; padding:0px;  display: flex; justify-content: flex-end;  }

@media (max-width: 1024px) {
.main-post{ width: 100%; padding:10px 0px; }    
.main-post-head .main-post-head-txt{ width:100%; padding: 0px;margin-bottom: 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%; }
}
@media (max-width: 767.98px) {
.main-post-wrap{ padding:50px 0px 0px 0px; }
.main-post-head{ margin:0px 0px 35px 0px;  }  
.main-post-head-txt h1 { font-size: 1.25rem;  line-height: 1.5rem;}
.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; display: flex;  flex-wrap: wrap;justify-content: flex-start; font-size: 1rem;}
}




 
.main-post-pagination{ padding: 0; margin:60px auto ; display: flex;justify-content: center; width:100%;   }
@media (max-width: 767.98px) {
.main-post-pagination{  margin:20px auto;   }    
}
.main-post-pagination span {  font-size: 1rem; font-weight: 700;  color:#000; position: relative;width: 100%;   line-height: 1.5rem; text-align: center  }
.main-post-pagination span:after { display: block; content: ''; width: 0; height:1px;  background:#009E91; transition: all .3s ease;}
.main-post-pagination span: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: #000;  }
.pagination-text:after { display: block; content: ''; width: 0; height:1px;  background:#009E91; transition: all .3s ease;}
.pagination-text:hover:after { width: 100%; }
.prev .news-btn {  margin-left: auto;}
.prev .news-btn:before {  order: 2;}
.prev .news-btn:after {  border-width: 5px 5px 5px 0;}
.prev:hover span,.next:hover span{ color:#009E91;}
.next { padding-left: 12px; justify-content: flex-end;}
.next .news-btn { order: 0; margin-right: auto;}
.next span { order: 1;}
 .next .news-btn:before {  left: -30px;}

.news-btn { cursor: pointer; width: 100%;  height: 20px; position: relative; display: flex; align-items: center;}
.news-btn:before { content: ''; width: 30px; height: 1px;  position: absolute; right:-30px;  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;   font-weight: 700;  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 #215284; border-radius:0px; }
.btn-back a{color:#215284!important;}
.btn-back:before,.btn-back::after{  content: ''; width: 30px; height:1px; background:#009E91;-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,.btn-back:hover a{ color:#fff!important; }
 
.btn-back:hover { color:#fff!important;  background:#009E91;border-color:#009E91;  }
.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; }
}
 
.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 p{ margin: 0px 5px!important; font-size: 1.125rem;  line-height: 2.25rem;  position: relative; z-index: 2;}

.box-left{ width: 60%; padding-left: 20px; }
.box-right{width: 40%;   }
.main-txt{width: 100%;  margin:0; padding: 30px 0px 0px 0px;   position: relative; z-index: 1;}

.box-card { width:80%;  margin:30px auto; padding:0px; display: block; ;position: relative; }
.w-list{   width:100%;  margin:30px auto 30px 20px; padding:0px;}
.w-list li{word-break: keep-all; }
@media (max-width: 767.98px) { 
.main-txt{ padding:0px;}
.box-left{ width: 100%;padding-left: 0px;}
.box-right{width: 100%;}    
}

.award-card { display: grid; width: 100%; margin: auto; grid-template-columns: repeat(auto-fit, minmax(30%, 1fr)); gap: 30px; padding: 15px 0px; position: relative;z-index:99 }
.award-card > .award-w30 {  aspect-ratio: 16 / 9;  width: 100%;  }
.award-w30 img {  width: 100%; height: auto;   object-position: center;}
 
/*---------------------------------
best-wrap
----------------------------------------*/
.best-wrap{  width: 100%; margin:10px auto 100px auto; padding: 0px;}
.best-wrap .blog-list{ width:100%; padding: 0px; margin: 40px auto; }
.best-wrap .blog-list li{ margin: 20px 10px;     }
.best-wrap .slick-dots li button:before{ color: #2e2624; }
.best-wrap .slick-dots li.slick-active button:before { opacity: .75; color: #2e2624; }
.best-wrap .slick-dots {bottom:-50px;}
.best-wrap .slick-dots li{margin: 15px 2px;}
@media (max-width: 768px) {
.best-wrap{ padding:0px;}
.best-wrap .blog-list{ padding: 0px;}
 }
 






