@charset "utf-8";


.news-cate-wrap{
  width:80%;
  margin: 0 auto 5rem;
  max-width:1080px;
}

.news-cate-wrap > p{
  font-weight:600;
  margin: 0 0 2rem;
}
.news-cate{
  display: flex;
  align-items: center;
  gap:20px;
}

.news-cate-box{
  display: flex;
  align-items: center;
  gap:5%;
      width: 700px;
}

.news-cate a{
  color:#5998AD !important;
  padding: 12px 2rem;
  display: block;
  border:1px solid #5998AD;
    width: fit-content;
  text-align:center;
  line-height: 1;
   transition:0.6s;
}

.news-cate a:hover{
    background:rgba(255,255,255,0.6);
}
.news-cate a p{
  line-height:1;
}

.news-cate .webgene-blog{
  display: flex;
  justify-content: center;
  align-items: center;
  gap:20px;
  flex-wrap:wrap;
}

.news-main{
    width:80%;
  margin:0 auto;
  max-width:950px;
}

.news-main a{
  color:#000000 !important;
}

.news-main .webgene-blog article > a{
  display:flex;
  justify-content: space-between;
  margin:0 0 20px;
  position:relative;
}

.news-main .webgene-blog article > a::before{
  content:"";
  position:absolute;
  width:12px;
  height:24px;
    top: 50%;
  right:-4rem;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
  background:url(https://k9leatherart.com/system_panel/uploads/images/20250324100327935199.png) no-repeat center/contain;
}

.news-main  .newsDetailImg{
  width:36%;
  overflow:hidden;
}

.news-main .webgene-blog article > a .webgene-item-main-image{
  transition:1s;
}

.news-main  .newsTextWrap{
  width:60%;
}

.news-main .webgene-blog article > a:hover .webgene-item-main-image{
   transform:scale(1.2);
}

      .news-main .newsDetailImg img{
    aspect-ratio: 4 / 3;
    object-fit: cover;
}


.news-main .webgene-blog article .newsItemTit{
  font-size:18px;
  line-height: 1.5;
}

.newsItemText{
margin:0 0 1rem;
  font-size:clamp(0.75rem, 0.659rem + 0.3vw, 1rem);
}

.newsItemCate{
  color:#5998AD !important;
  padding: 4px 1rem;
  display: block;
  border:1px solid #5998AD;
    width: fit-content;
  margin:12px 0 0;
}

.news-main  .newsDetailTxt{
  line-height: 2;
}

@media screen and (max-width: 1024px) {
  .news-main .webgene-blog article > a::before{
    right: -2rem;
  }
  .news-cate {
        gap: 1rem;
        flex-direction: column;
        align-items: baseline;
  }
  .news-cate-box{
        width: 100%;
    gap: 1rem;
  }
  .news-cate a{
    width:fit-content;
  }
  .news-cate .webgene-blog {
    gap: 1rem;
  }
  .news-cate div.cate p {
    margin-right: 1rem;
  }
    .news-main .webgene-blog article > a{
    flex-direction: column;
    gap: 1rem;
    margin: 0 0 32px;
  }
  .news-main .newsDetailImg{
    width:70%;
    margin:0 auto;
  }
  .news-main .newsTextWrap{
    width:100%;
  }
  .newsItemText{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin:0 0 0.5rem;
  }
  .newsItemCate{
    margin:0;
  }
}

@media screen and (max-width: 767px) {
  .news-main .webgene-blog article > a::before{
    display:none;
  }
  .news-cate-wrap > p{
margin: 0 0 1rem;
  }
      .news-cate-box {
        width: 100%;
        gap: 1rem;
        flex-direction: column;
        align-items: baseline;
    }
      .news-main .newsDetailImg {
        width: 100%;
    }
  .news-cate {
    flex-wrap: wrap;
    margin:0.5rem 0;
    width:100%;
  }
  .news-cate .webgene-blog{
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .news-main .webgene-blog{
     gap: 10px 0;
  }
  .news-cate{
    gap:0.5rem;
  }
  .news-main,
  .news-cate-wrap{
      width:90%;
  }
    .news-cate-wrap{
    margin: 0 auto 1.5rem;
  }
  .news-main .webgene-blog article{
    width:100%;
  }
      .news-cate a {
        padding: 0.5rem;
        font-size: 12px;
        min-width: 100px;
    }
}

/*ページネーション*/
.webgene-pagination {
  width: 100%;
  grid-column: 1 / 3;
}
.webgene-pagination>ul {
  display: flex;
  padding: 0;
  justify-content: center;
}
.webgene-pagination>ul>li {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 10px 0;
  list-style: none;
}
.webgene-pagination>ul>li a{
    width: 40px;
    height: 40px;
    text-align: center;
    padding: 8px 0;
  color:#1F1D1B;
    border:1px solid #fff;
   background-color: #fff;
}
.webgene-pagination>ul>li.selected a{
  background-color: #5998AD !important;
  border:1px solid #5998AD !important;
  color:#fff !important;
}

.webgene-pagination>ul>li.selected a,
.webgene-pagination>ul>li.selected a:hover,
.webgene-pagination>ul>li.selected:hover a{
  color: #fff !important;
}
.webgene-pagination>ul>li:hover a,
.webgene-pagination>ul>li a:hover{
  border:1px solid #1F1D1B;
}

.webgene-pagination>ul>li.next a,
.webgene-pagination>ul>li.prev a{
    font-size: 14px;
}


@media screen and (min-width: 768px) {
  .webgene-pagination {
    width: 100%;
    grid-column: 1 / 4;
  }
}
@media screen and (max-width: 767px) {
  .webgene-pagination>ul>li {
    height: 40px;
    max-width: 40px;
  }
}


/*詳細*/
.news-detail {
    width:80%;
  margin:0 auto;
  max-width:950px;
}

.newsDetail-header{
  display: flex;
  align-items: center;
  gap: 1.5rem;
}


.news-detail-box .btn{
  margin-top:3rem;
}

.newsDetail-header p:nth-child(2){
    color: #5998AD !important;
    padding: 4px 1rem;
    display: block;
    border: 1px solid #5998AD;
    width: fit-content;
    text-align: center;
    line-height: 1;
}

.news-detail .hand-link{
    margin: 2.5rem auto 0;
}

.news-detail .newsDetailImg{
  margin:2.5rem 0 1.5rem;
}

.news-detail  .newsDetailTit{
  font-size:clamp(1.125rem, 0.989rem + 0.45vw, 1.5rem);
  margin: 0 0 0.5rem;
   line-height: 1.5;
}

.news-detail .newsDetailTxt{
   line-height: 2;
}

.news-detail .newsDetailImg img{
  max-height:600px;
}


@media screen and (max-width: 767px) {
  .news-detail{
    width: 90%;
  }
}
