@charset "utf-8";
.news {
        padding-top: clamp(2.5rem, 0.833rem + 3.47vw, 5rem);
    padding-bottom: clamp(11.25rem, 7.083rem + 8.68vw, 17.5rem);
    background-color: #F7F7F7;
}
.news__inner {
  padding: 0 clamp(1.25rem, -13.833rem + 31.42vw, 23.875rem);
}
.news__cate {
      display: flex;
    column-gap: clamp(0.5rem, -0.833rem + 2.78vw, 2.5rem);
}
.news-cate__btn {
      width: clamp(10.625rem, 7.292rem + 6.94vw, 15.625rem);
    height: clamp(2.313rem, 1.646rem + 1.39vw, 3.313rem);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(0.875rem, 0.625rem + 0.52vw, 1.25rem);
    font-weight: 700;
    background-color: transparent;
    color: #68CA5E;
    border: 2px solid #68CA5E;
    border-radius: 38px;
  transition: all 0.5s;
}
.news__cate > section {
      display: flex;
    column-gap: clamp(0.5rem, -0.833rem + 2.78vw, 2.5rem);
}
.news__cate > section >article > a {
  cursor:pointer;
      width: clamp(10.625rem, 7.292rem + 6.94vw, 15.625rem);
    height: clamp(2.313rem, 1.646rem + 1.39vw, 3.313rem);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(0.875rem, 0.625rem + 0.52vw, 1.25rem);
    font-weight: 700;
    background-color: transparent;
    color: #FFA143;
    border: 2px solid #FFA143;
    border-radius: 38px;
    transition: all 0.5s;
}
.news__cate > section >article > a:hover {
  opacity: 0.5;
}

.news__block {
  padding-top: clamp(2.5rem, 0.833rem + 3.47vw, 5rem);
}
.news__block > section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: clamp(1.25rem, 0.833rem + 0.87vw, 1.875rem);
    row-gap: clamp(1.25rem, -0.25rem + 3.13vw, 3.5rem);
  position: relative;
}
.news__block > section > article {
    background-color: #fff;
      padding: 20px 8px;
    border-radius: 10px;
    box-shadow: 0px 3px 6px rgba(0,0,0,0.36);
  transition: all 0.5s;
}
.newsItemImg img {
    aspect-ratio: 349/218;
    object-fit: cover;
    height: auto;
}
.newsItemBottom {
      padding-top: 8px;
    padding-left: 10px;
    padding-right: 10px;
}
.newsItemText {
    display: flex;
    column-gap: 16px;
    align-items: center;
}
.newsItemTime {
        font-size: clamp(0.875rem, 0.792rem + 0.17vw, 1rem);
    font-weight: 500;
    color: #AFAFAF;
}
.newsItemCate {
        width: clamp(7.063rem, 6.729rem + 0.69vw, 7.563rem);
    height: clamp(1.25rem, 1.167rem + 0.17vw, 1.375rem);
    border: 1px solid #FFA143;
    color: #FFA143;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    border-radius: 10px;
    line-height: 1;
}
.newsItemTit {
        font-size: clamp(0.75rem, 0.583rem + 0.35vw, 1rem);
    font-weight: 500;
    margin-top: 8px;
}
.news__block > section > article:hover {
  opacity: 0.5;
}
/*ページネーション*/
.webgene-pagination {
        width: 100%;
    position: absolute;
    bottom: -130px;
}
.webgene-pagination>ul {
    display: flex;
    justify-content: center;
    padding: 0;
      flex-wrap: wrap;
    row-gap: 16px;
}
.number {
        display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    width: 48px;
    height: 58px;
    background-color: #BAEAB5;
    margin: 0 4px;
    border-radius: 6px;
    transition: all .7s;
}
.webgene-pagination>ul>li.selected {
   background-color: #68CA5E;
}
.number a{
        width: 48px;
    height: 58px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: #68CA5E;
    transition: all .7s;
}
.webgene-pagination>ul>li.selected a {
   color: #fff;
}
.next,
.prev {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    width: 58px;
    height: 58px;
    background-color: #BAEAB5;
    margin: 0 20px;
    border-radius: 50%;
    transition: all .7s;
}
.next a,
.prev a {
    width: 58px;
    height: 58px;
        display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
  font-weight: 700;
  color: #68CA5E;
    transition: all .7s;
}
.webgene-pagination>ul>li:hover {
  background-color: #68CA5E;
}
.number:hover a {
  color: #fff;
}
.next:hover a {
  color: #fff;
}
.prev:hover a {
  color: #fff;
}

@media (max-width: 1023px) {
  .news__block > section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .news__cate {
    flex-direction: column;
    row-gap: 8px;
  }
  .news__cate > section {
        display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 8px;
    width: 350px;
  }
  .news__cate > section >article {
    width: 160px;
  }
  .news__block > section {
    grid-template-columns: repeat(1, 1fr);
  }
  .webgene-pagination {
    bottom: -100px;
  }
}

@media (max-width: 389px) {
  .news__inner {
    padding: 0 16px;
  }
  .news__cate {
    width: 280px;
  }
  .news__cate > section {
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
  }
}