@charset "utf-8";

/* ======================
news
====================== */
.news {
  position: relative;
  padding-top: clamp(2.5rem, -0.875rem + 7.031vw, 7.563rem);
  padding-bottom: clamp(5rem, 1.667rem + 6.944vw, 10rem);
}
.news__inner {
  position: relative;
  z-index: 0;
  padding: 0 clamp(1.25rem, -10.583rem + 24.653vw, 19rem);
}
.news__deco {
  position: absolute;
  top: clamp(-7.5rem, -8.958rem + 3.039vw, -5.313rem);
  right: clamp(0rem, -8rem + 16.667vw, 12rem);
  z-index: 0;
  width: clamp(12.5rem, 2.5rem + 20.833vw, 25rem);
  pointer-events: none;
}
.news__container {
  position: relative;
  z-index: 1;
}

/* cate */
.news__cate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: clamp(3rem, -2.083rem + 10.59vw, 10.625rem);
}
.news__cate > a {
  display: block;
}
.news__cate .webgene-blog {
  display: contents;
}
.news__cate .webgene-item {
  margin: 0;
}
.news-cate__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 clamp(1.5rem, 0.167rem + 2.78vw, 3.5rem);
  background-color: #fff;
  border: 1px solid #114FA1;
  border-radius: 29px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.news-cate-btn__text {
  font-size: clamp(0.875rem, 0.708rem + 0.347vw, 1.125rem);
  font-weight: 400;
  line-height: 1.5;
  color: #114FA1;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.news__cate > a:hover {
  color: #fff;
}
.news__cate > a:hover .news-cate__btn {
  background-color: #114FA1;
  border-color: #114FA1;
}
.news__cate > a:hover .news-cate-btn__text {
  color: #fff;
}
.news__cate .sideLink {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 clamp(1.5rem, 0.167rem + 2.78vw, 3.5rem);
  background-color: #fff;
  border: 1px solid #114FA1;
  border-radius: 29px;
  font-size: clamp(0.875rem, 0.708rem + 0.347vw, 1.125rem);
  font-weight: 400;
  line-height: 1.5;
  color: #114FA1;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.news__cate .sideLink:hover {
  background-color: #114FA1;
  border-color: #114FA1;
  color: #fff;
}

/* list */
.news__block .webgene-blog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 0.167rem + 2.778vw, 3.5rem);
  row-gap: clamp(1.5rem, 0.167rem + 2.778vw, 3.5rem);
}
.news__block .newsItem {
  margin: 0;
}
.newsLink {
  display: block;
  transition: opacity 0.3s ease;
}
.newsLink:hover {
  opacity: 0.5;
  color: #0F1419;
}
.newsItemImg {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 400 / 264;
  margin-bottom: 24px;
  background-color: #C7C7C7;
  border-radius: 16px;
}
.newsItemImg img,
.webgene-item-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.newsItemTit {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin-bottom: 16px;
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1rem);
  font-weight: 400;
  line-height: 1.5;
  color: #0F1419;
}
.newsItemBottom {
  margin-top: 0;
}
.newsItemText {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: clamp(0.5rem, 0.167rem + 0.69vw, 1rem);
}
.newsItemTime {
  font-family: "Outfit", sans-serif;
  font-size: clamp(0.75rem, 0.625rem + 0.26vw, 0.938rem);
  font-weight: 400;
  line-height: 1.4;
  color: #919191;
}
.enFont01 {
  font-family: "Outfit", sans-serif;
}
.newsItemCate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  height: 25px;
  padding: 0 8px;
  background-color: #114FA1;
  border-radius: 14px;
  font-size: clamp(0.75rem, 0.625rem + 0.26vw, 0.938rem);
  font-weight: 400;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}

/* pagination */
.webgene-pagination {
  display: flex;
  justify-content: center;
  grid-column: 1 / -1;
  margin-top: clamp(3rem, -0.333rem + 6.944vw, 10rem);
}
.webgene-pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.webgene-pagination .number a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1em;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.5rem, 1.167rem + 0.694vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
  color: #919191;
  transition: color 0.3s ease, opacity 0.3s ease;
}
.webgene-pagination .number.selected a {
  color: #0F1419;
  pointer-events: none;
}
.webgene-pagination .number:not(.selected) a:hover {
  color: #114FA1;
}
.webgene-pagination .prev a,
.webgene-pagination .next a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 0;
  color: transparent;
  background-color: #919191;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
.webgene-pagination .prev a::before,
.webgene-pagination .next a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
.webgene-pagination .prev a::before {
  transform: rotate(-135deg);
  margin-left: 2px;
}
.webgene-pagination .next a::before {
  transform: rotate(45deg);
  margin-right: 2px;
}
.webgene-pagination .prev a:hover,
.webgene-pagination .next a:hover {
  background-color: #114FA1;
  color: transparent;
}

@media (max-width: 767px) {
  .news {
    padding-top: 32px;
  }
  .news__deco {
    top: -60px;
    right: 0;
    width: 140px;
  }
  .news__cate {
    gap: 12px;
    margin-bottom: 40px;
  }
  .news-cate__btn,
  .news__cate .sideLink {
    height: 40px;
    border-radius: 24px;
  }
  .news__block .webgene-blog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 32px;
  }
  .newsItemImg {
    margin-bottom: 16px;
    border-radius: 12px;
  }
  .newsItemTit {
    margin-bottom: 12px;
  }
  .newsItemText {
    row-gap: 12px;
  }
  .newsItemTime,
  .newsItemCate {
    font-size: 13px;
  }
  .newsItemCate {
    min-width: 64px;
    height: 22px;
    border-radius: 12px;
  }
  .webgene-pagination ul {
    column-gap: 20px;
  }
  .webgene-pagination .prev a,
  .webgene-pagination .next a {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 499px) {
  .news__block .webgene-blog {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
}

@media (max-width: 389px) {
  .news__cate {
    gap: 8px;
  }
  .news-cate__btn,
  .news__cate .sideLink {
    height: 36px;
    padding: 0 16px;
  }
}
