@charset "UTF-8";

.p-news {
  padding-bottom: clamp(100px, 10.980966325vw, 150px);
}

.c-body.p-news {
  padding-top: clamp(80px, 7.5vw, 90px);
}

.p-news__categories {
  margin-bottom: clamp(40px, 6.588579795vw, 90px);
}

.p-news__categories > .webgene-blog {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  max-width: 950px;
  margin-inline: auto;
}

.p-news__cat {
  display: inline-block;
  min-width: 140px;
  padding: 8.5px 30px;
  text-align: center;
  font-size: 12px;
  line-height: 1.4285714286;
  font-weight: 500;
  color: #3280FB;
  border: 1px solid #0364FF;
  border-radius: 25px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media screen and (min-width:768px) {
  .p-news__cat {
    min-width: 170px;
    padding: 15px 57px;
    font-size: 14px;
  }
}
@media (any-hover: hover) {
  .p-news__cat:hover {
    color: #ffffff;
    background: #3281FB;
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.p-news__wrap {
  max-width: 950px;
  margin-inline: auto;
  position: relative;
}
.p-news__wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #222222;
  opacity: 0.1;
}

.p-news__item {
  padding-block: 30px;
  padding-right: 36px;
  position: relative;
}
.p-news__item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #222222;
  opacity: 0.1;
}
.p-news__item::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 12px;
  width: 12px;
  height: 12px;
  background: url(../images/icon-right-blue.svg) center/contain no-repeat;
}

.p-news__item-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
}

.p-news__item-date {
  font-size: 13px;
  line-height: 1.4615384615;
  opacity: 0.7;
}

.p-news__item-tag span {
  display: block;
  min-width: 80px;
  padding: 2px 12px;
  text-align: center;
  background: #3280FB;
  color: #ffffff;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 500;
}

.p-news__item-title {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  max-width: clamp(500px, 57.2474377745vw, 782px);
}

.webgene-pagination {
  margin-top: 70px;
  font-size: 14px;
  justify-self: center;
  grid-column: 1/-1;
}

.webgene-pagination a:hover {
  opacity: 0.7;
}

.webgene-pagination ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  gap: 10px;
  -webkit-padding-start: 0;
          padding-inline-start: 0;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.webgene-pagination ul .number a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  line-height: 2.2;
  border-radius: 50%;
  background-color: #fff;
  color: #222222;
}

.webgene-pagination ul .number.selected a {
  background: #3280FB;
  color: #fff;
  border-radius: 50%;
}

li.next,
li.prev {
  position: relative;
}

li.next a,
li.prev a {
  height: 40px;
  width: 40px;
  padding: 2px;
  position: relative;
}

li.prev:after,
li.next:after {
  pointer-events: none;
  content: "";
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 40px;
  height: 40px;
}

li.prev:after {
  background-image: url("../images/prev.png");
  left: 0;
}

li.next:after {
  background-image: url("../images/next.png");
  right: 0;
}

@media screen and (min-width: 768px) {
  li.next {
    margin-left: 30px;
  }
  li.prev {
    margin-right: 30px;
  }
  li.next a,
  li.prev a {
    margin-top: 3px;
    width: auto;
    padding-block: 10px;
    z-index: 10;
    line-height: 1;
  }
  li.prev a {
    padding-left: 48px;
    color: #919191;
  }
  li.next a {
    padding-right: 48px;
    color: #222222;
  }
  li.prev:after,
  li.next:after {
    pointer-events: auto;
  }
}