/* -------------　カテゴリー/タブ　-------------- */
.webgene-blog:has(.categorylist){
    justify-content: flex-cnt;
    margin-bottom: 30px;
  }
  .webgene-item.categorylist {
    display: inline-block;
    margin-right: 1%;
    width: 48%;
    margin-bottom: 10px;
    }
  .webgene-item.categorylist a{
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px 10px;
    transition: .5s;
    color: #3e4444;
    background: #fff;
    border: 1px solid #ddd;
    border-radius:50px;
  }
.webgene-item.categorylist a:hover{border: 1px solid #3e4444;background: #3e4444;color: #fff;}
  @media screen and (min-width: 768px) {
    .webgene-blog:has(.categorylist){
    margin-bottom: 50px;
  }
    .webgene-item.categorylist {
      margin-right: 1%;
      width: 23%;
      margin-bottom: 0px;
    }
  }
  
  
  
  /* -------------　一覧　-------------- */
  .webgene-blog:has(.news__item){
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    row-gap: 20px;
  }
  .webgene-blog:has(.news__item)::after{
    content: "";
    display: block;
    width: 100%;
  }
  .webgene-blog .news__item{
    width: 100%;
  }
  .webgene-blog .news__item a{
    display: block;
  }
  .webgene-blog .news__item .news__img{
    margin-bottom: 10px;
  }
  .webgene-blog .news__item .news__img img{
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }
  .webgene-blog .news__item .news__title{
    line-height:1.5;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    margin-top:10px;
  }
  .webgene-blog .news__item a:hover .news__title{
    opacity: .8;
  }
  .webgene-blog .news__item .news__date{
    margin: 0 20px 0px 0px; 
    font-family: "Josefin Sans", sans-serif;
  }
  .webgene-blog .news__item .news__cate{
    margin: 0px 8px 0px 0px;
    line-height: 20px;
    color:#444;
    /*border-radius:5px;
    background:#809eb1;*/
    text-align: center;
    display: inline-block;
    padding:0;
    font-size:13px;
  }
  /*.webgene-blog .news__item .news__cate:before{
      content: "#";
  }*/
  @media screen and (min-width: 768px) {
    .webgene-blog:has(.news__item)::after{
    width: 31%;
    }
    .webgene-blog .news__item{
      width: 31%;
  }
  }
  @media screen and (min-width: 1024px) {
  .webgene-blog .news__item .news__cate{
    padding:0px 0;
  }
  }
  
  
  
  /* -------------　詳細　-------------- */
  .news__detail{
    overflow: hidden;
    position: relative;
  }
  .news__detail .news__date {
    font-weight: 500;
    display: block;
    margin: 0 15px 0px 0px;
    font-family: "Josefin Sans", sans-serif;
}
  .news__detail .news__title {
    display: block;
    padding-bottom: 10px;
    margin: 10px 0 10px 0;
    font-size: 16px;
    border-bottom: 1px solid #8f887c;
    margin-left: 0;
    line-height: 2;
  }
  .news__detail .textarea{
    width: 100%;
  }
  .news__detail .news__img{
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }
  .news__detail .news__img img{
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }
  .news__text{
    margin-top:20px;
  }
   .news__detail .news__cate{
      background: #b08e2c;
     color:#fff;
     border-radius: 50px;
    padding:3px 20px;
    }
  /*.news__detail .news__cate:before{
      content: "#";
  }*/

.webgene-blog .link__btn02 p{text-align: center;margin: auto;}
  @media screen and (min-width: 768px) {
    .news__detail .news__date {
      font-size: 14px;
    }
    .news__detail .news__title {
      font-size: 18px;
      padding-bottom: 10px;
      margin-bottom: 10px;
    }
    .news__detail .news__img{
      display: block;
      width: 80%;
      margin: 0 auto 20px;
      margin-inline: auto;
    }
  }
  @media screen and (min-width: 1024px) {
  .news__detail .img_wrap{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 4%;
    margin-bottom: 20px;
  }
   .news__detail .news__cate{
    padding:5px 20px;
    }
  }
  
  /* page_navi*/
  ------------------------------
  .wp-pagenavi {text-align:center;margin-top:50px;}
  .wp-pagenavi a,.wp-pagenavi span {display: inline-block;color: #171717;background-color: #fff;; padding: 12px 15px;margin: 0 2px 5px;white-space: nowrap;text-align: center;text-decoration: none; border-radius: 5px; line-height: 100%;}
  .wp-pagenavi span.pages {display: none;}
  .wp-pagenavi a:hover{color: #171717;background-color: #f3bc18;}
  .wp-pagenavi span.current{color: #171717;background-color: #f3bc18;font-weight: bold;}
  
  /* pager */
  .webgene-pagination{
    margin-top: 50px;
    text-align: center;    
    display: block;
    width: 100%;
  }
  .webgene-pagination ul{
    display: flex;
    justify-content: center;
    column-gap: 4%;
    width: 100%;
    padding:0;
  }
  .webgene-pagination ul li a{
    display: inline-block;
    padding: 5px 30px;
    color:#fff;
    border-radius:50px;
    background:#809eb1;
    text-align: center;
  }
  
  
  /* btn */
  .btn_box{
    margin: 30px auto;
    text-align: center;
    
  }
  .btn_box a{
    display: inline-block;
    padding: 0px 30px;
    color:#fff;
    background:  #0e0e0e;
    line-height: 3;
  }
  @media screen and (min-width: 768px) {
    .btn_box{
      margin: 50px auto 0;
    }
  }


.news__text strong{
    font-weight: bold;
}
.news__text h1{
    font-size: 160%;
    font-weight: bold;
}
.news__text h2{
    font-size: 140%;
    font-weight: bold;
}
.news__text h3{
    font-size: 120%;
    font-weight: bold;
}
.news__text h4{
    font-size: 110%;
    font-weight: bold;
}