@charset "utf-8";
/* CSS Document */
/* ---------- news_e ---------- */
.news_e {
  position: relative;
  overflow: hidden;
}

/* ---------- category ---------- */
.news_e .cate-wrap .webgene-blog {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: clamp(10px, 2vw, 18px);
}

.news_e .cate-wrap .webgene-blog .webgene-item a {
  border: 1px solid #ffc400;
  padding: 5px 16px;
  border-radius: 100px;
  background: #fff;
  transition: background-color .3s ease, border-color .3s ease, opacity .3s ease;
}

.news_e .cate-wrap .webgene-blog .webgene-item a.on {
  background-color: #ff7019;
  border-color: #ff7019;
}

.news_e .cate-wrap .webgene-blog .webgene-item a p {
  color: #222;
  font-weight: 500;
  line-height: 1.3;
}

.news_e .cate-wrap .webgene-blog .webgene-item a.on p {
  color: #fff;
}

.news_e .cate-wrap .webgene-blog .webgene-item a:hover {
  opacity: .8;
}

/* ---------- list ---------- */
.news_e .contents .webgene-blog {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  flex-direction: row;
  gap: clamp(28px, 4vw, 40px) clamp(22px, 3vw, 30px);
}

.news_e .contents .webgene-blog .webgene-item {
  width: calc((100% - clamp(22px, 3vw, 30px) * 2) / 3);
}

.news_e .contents .webgene-blog .webgene-item > a {
  display: block;
  height: 100%;
  padding: clamp(14px, 2vw, 20px);
  background: #fff;
  border-radius: 8px;
  box-sizing: border-box;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(31, 96, 28, .08);
}

.news_e .contents .webgene-blog .webgene-item .imgbox {
  border-radius: 4px;
  margin-bottom: clamp(18px, 3vw, 24px);
  overflow: hidden;
  aspect-ratio: 1.58 / 1;
}

.news_e .contents .webgene-blog .webgene-item .imgbox img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}


.news_e .contents .webgene-blog .webgene-item h2 {
  color: #222;
  font-size: clamp(18px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.5;
  margin-top: 0;
}

.news_e .contents .webgene-blog .webgene-item p {
  color: #333;
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 1.9;
}

.news_e .contents .webgene-blog .webgene-item .catename {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 8px 16px;
  border-radius: 200px;
  background: #ffc400;
  color: #fff;
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: 700;
  line-height: 1;
}

/* ---------- pagination ---------- */
.news_e .webgene-pagination {
  width: 100%;
  padding-top: clamp(20px, 5vw, 50px);
}

.news_e .webgene-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: clamp(16px, 3vw, 30px);
}

.news_e .webgene-pagination ul a {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 46px;
  aspect-ratio: 1 / 1;
  border: 1px solid #31a929;
  border-radius: 50%;
  color: #222;
  font-family: "Outfit", sans-serif;
      font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 500;
  letter-spacing: 0;
  text-align: center;
  transition: background-color .3s ease, color .3s ease, opacity .3s ease;
}

.news_e .webgene-pagination ul a:hover {
  opacity: .8;
}

.news_e .webgene-pagination ul .selected a {
  pointer-events: none;
  background-color: #31a929;
  border-color: #31a929;
  color: #fff;
}

/* ---------- 1080px ---------- */
@media screen and (max-width: 1080px) {
  .news_e .contents .webgene-blog .webgene-item {
    width: calc((100% - clamp(22px, 3vw, 30px)) / 2);
  }
}

/* ---------- 576px ---------- */
@media screen and (max-width: 576px) {
  .news_e .cate-wrap .webgene-blog .webgene-item a {
    padding: 4px 12px;
  }

  .news_e .contents .webgene-blog {
    width: 90%;
    margin: 0 auto;
    gap: 40px;
  }

  .news_e .contents .webgene-blog .webgene-item {
    width: 100%;
  }

  .news_e .webgene-pagination ul a {
    width: 36px;
  }
}

/* ---------- IEのみ ---------- */
@media all and (-ms-high-contrast: none) {
}
/* ---------- 1280px ~ ---------- */
@media screen and (max-width: 1280px){
}
/* ---------- 1080px ~ ---------- */
@media screen and (max-width: 1080px){
}
/* ---------- 768px ~ ---------- */
@media screen and (max-width: 768px){
}
/* ---------- 576px ~ ---------- */
@media screen and (max-width: 576px){
}
/* ---------- 350px ~ ---------- */
@media screen and (max-width: 350px){
}

