@charset "utf-8";

/* ======================
news
====================== */
.news {
  padding-top: clamp(2.5rem, 0.833rem + 3.472vw, 5rem);
  padding-bottom: clamp(5rem, 3.333rem + 3.472vw, 7.5rem);
  background-color: #fff;
}
.news__inner {
  padding-right: clamp(1.25rem, -13.917rem + 31.597vw, 24rem);
  padding-left: clamp(1.25rem, -13.917rem + 31.597vw, 24rem);
}
.news__container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 1153px;
  margin-inline: auto;
}

/* category */
.news__cate {
  display: flex;
  align-items: center;
  column-gap: clamp(2.5rem, 0.833rem + 3.472vw, 5rem);
  margin-bottom: clamp(3.75rem, 1.375rem + 4.948vw, 7.3125rem);
}
.news-cate__title {
  flex-shrink: 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.071;
  color: #000;
  white-space: nowrap;
}
.news-cate__right {
  display: flex;
  align-items: center;
  min-width: 0;
}
.news-cate__right > a {
  position: relative;
  display: block;
  flex-shrink: 0;
  padding-right: clamp(1rem, -0.021rem + 2.127vw, 2.53125rem);
}
.news-cate__btn {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(1rem, 0.917rem + 0.174vw, 1.125rem);
  font-weight: 400;
  line-height: 1.444;
  color: #7c7c7c;
  white-space: nowrap;
  transition: all 0.5s;
}
.news-cate__btn:hover {
  color: #000;
}
.news-cate__right > a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 26px;
  background-color: #000;
  transform: translateY(-50%);
}
.news__cate .webgene-blog {
  display: flex;
  align-items: center;
}
.news__cate .webgene-item {
  position: relative;
  flex-shrink: 0;
  margin: 0;
  padding: 0 clamp(1rem, -0.021rem + 2.127vw, 2.53125rem);
}
.news__cate .webgene-item:last-child {
  padding-right: 0;
}
.news__cate .webgene-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 26px;
  background-color: #000;
  transform: translateY(-50%);
}
.sideLink {
  display: block;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(1rem, 0.917rem + 0.174vw, 1.125rem);
  font-weight: 400;
  line-height: 1.444;
  color: #7c7c7c;
  white-space: nowrap;
  transition: color 0.5s;
}
.sideLink:hover {
  color: #000;
}

/* list */
.news__block {
  width: 100%;
  min-width: 0;
}
.news__block .webgene-blog {
  display: flex;
  flex-direction: column;
}
.newsItem {
  margin: 0;
}
.news__block .webgene-blog > .newsItem:not(:last-of-type) {
  margin-bottom: clamp(2.5rem, 1.479rem + 2.127vw, 4.03125rem);
}
.newsLink {
  display: block;
  color: #000;
}
.newsItemBottom {
  display: flex;
  align-items: center;
  column-gap: clamp(1.5rem, 0.167rem + 2.778vw, 3.5rem);
  padding-bottom: clamp(1rem, 0.729rem + 0.564vw, 1.40625rem);
  border-bottom: 1px solid #707070;
  transition: opacity 0.5s;
}
.newsItemBottom:hover {
  opacity: 0.5;
}
.newsItemText {
  display: flex;
  align-items: center;
  column-gap: 20px;
  flex-shrink: 0;
}
.newsItemTime {
  font-family: "Elms Sans", sans-serif;
  font-size: clamp(0.875rem, 0.625rem + 0.521vw, 1.25rem);
  font-weight: 400;
  line-height: 1.3;
  color: #000;
  white-space: nowrap;
}
.newsItemCate {
  padding: 0 7px;
  background-color: #000;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1rem);
  font-weight: 400;
  line-height: 1.25;
  color: #fff;
  white-space: nowrap;
}
.newsTitleBox {
  width: 100%;
  min-width: 0;
}
.newsItemTit {
  overflow: hidden;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(1rem, 0.833rem + 0.347vw, 1.25rem);
  font-weight: 400;
  line-height: 1.45;
  color: #000;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* pagination */
.webgene-pagination {
  margin-top: clamp(2.5rem, 0.667rem + 3.819vw, 5.25rem);
}
.webgene-pagination ul {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: clamp(0.75rem, 0.25rem + 1.042vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.webgene-pagination .number a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  height: 43px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(1.5rem, 1.167rem + 0.694vw, 2rem);
  font-weight: 500;
  line-height: 1;
  color: #000;
  background-color: #fff;
  transition: background-color 0.5s, color 0.5s;
}
.webgene-pagination > ul > li.selected a,
.webgene-pagination > ul > li.number:hover a {
  background-color: #000;
  color: #fff;
}
.webgene-pagination .prev a,
.webgene-pagination .next a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  height: 43px;
  padding: 0 8px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: #000;
  background-color: #fff;
  transition: background-color 0.5s, color 0.5s;
}
.webgene-pagination > ul > li.prev:hover a,
.webgene-pagination > ul > li.next:hover a {
  background-color: #000;
  color: #fff;
}

@media (max-width: 767px) {
  .news {
    padding-top: 20px;
    padding-bottom: 120px;
  }
  .news__cate {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 20px;
    margin-bottom: 48px;
  }
  .news-cate__title {
    font-size: 12px;
    line-height: 1.25;
  }
  .news-cate__right {
    flex-wrap: wrap;
    row-gap: 22px;
  }
  .news-cate__right > a {
    padding-right: 64px;
  }
  .news-cate__btn,
  .sideLink {
    font-size: 14px;
    line-height: 1.071;
  }
  .news-cate__right > a::after,
  .news__cate .webgene-item:not(:last-child)::after {
    right: 32px;
    height: 21px;
  }
  .news__cate .webgene-blog {
    display: contents;
  }
  .news__cate .webgene-item {
    padding: 0 64px 0 0;
  }
  .newsItemBottom {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 5px;
    padding-bottom: 14px;
  }
  .newsItemText {
    column-gap: 11px;
  }
  .webgene-pagination {
    margin-top: 80px;
  }
  .webgene-pagination ul {
    column-gap: 12px;
  }
  .webgene-pagination .number a {
    min-width: 27px;
    height: 29px;
    font-size: 21px;
  }
  .webgene-pagination .prev a,
  .webgene-pagination .next a {
    min-width: 27px;
    height: 29px;
  }
}
