.p-newsList {
  padding-top: 135px;
  padding-bottom: 150px;
}

.p-newsList__inner {
  width: 100%;
  max-width: 1146px;
  margin-inline: auto;
}

.p-newsList__filter .webgene-blog {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.p-newsList__filterItem {
  display: inline-grid;
  place-items: center;
  width: 160px;
  height: 50px;
  border: 1px solid transparent;
  border-radius: 25px;
  background: #eff1ae;
}

.p-newsList__filterItem.is-current {
  background: #009142;
}

@media (hover: hover) and (pointer: fine) {
  .p-newsList__filterItem:not(.is-current):hover {
    background: #009142;
  }
}
.p-newsList__list {
  margin-top: 61px;
}

.webgene-pagination {
  margin-top: 70px;
}

.webgene-pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.webgene-pagination li.number a,
.webgene-pagination li.dots a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eff1ae;
}

.webgene-pagination li.dots a {
  width: auto;
  background: none;
}

.webgene-pagination li.selected a {
  background: #05a44f;
}

@media (hover: hover) and (pointer: fine) {
  .webgene-pagination li.number a:hover {
    background: #05a44f;
  }
}

.webgene-pagination li.prev a,
.webgene-pagination li.next a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.webgene-pagination li.prev {
  margin-right: 20px;
}

.webgene-pagination li.next {
  margin-left: 20px;
}

.webgene-pagination li.prev a::before,
.webgene-pagination li.next a::after {
  content: "";
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 7.5px 13.5px;
  transition: transform 0.3s ease;
}

.webgene-pagination li.prev a::before {
  background-color: #eff1ae;
  background-image: url("../images/icon_com-pagination-prev.svg");
}

.webgene-pagination li.next a::after {
  background-color: #05a44f;
  background-image: url("../images/icon_com-pagination-next.svg");
}

@media (hover: hover) and (pointer: fine) {
  .webgene-pagination li.prev a:hover::before {
    transform: translateX(-4px);
  }
}

@media (hover: hover) and (pointer: fine) {
  .webgene-pagination li.next a:hover::after {
    transform: translateX(4px);
  }
}

.p-newsDetail {
  padding-top: 171px;
  padding-bottom: 156px;
}

.p-newsDetail__inner {
  width: 100%;
  max-width: 924px;
  margin-inline: auto;
}

.p-newsDetail .post-ttl {
  margin-top: 45.5px;
}

.p-newsDetail .post-detail__content {
  margin-top: 45px;
}
.p-newsDetail .post-detail__content p + p {
  margin-top: 30px;
}
.p-newsDetail .post-detail__content img {
  width: 594px;
  max-width: 100%;
  height: auto;
  margin: 58px auto 0;
  aspect-ratio: 594/360;
  border-radius: 5px;
  object-fit: cover;
}
.p-newsDetail .post-detail__content img + h3 {
  margin-top: 80px;
}
.p-newsDetail .post-detail__content h3 {
  margin-top: 60px;
}
.p-newsDetail .post-detail__content h3 + p {
  margin-top: 16px;
}

.p-newsDetail .detail__btn {
  margin-top: 52px;
}

.p-newsDetail .detail__pdf a {
  margin-top: 52px;
}

@media screen and (max-width: 1200px) {
  .p-newsList {
    padding-top: 97px;
    padding-bottom: 108px;
    padding-inline: 24px;
  }
  .p-newsDetail {
    padding-top: 123px;
    padding-bottom: 112px;
    padding-inline: 24px;
  }
}
@media screen and (max-width: 900px) {
  .p-newsList {
    padding-top: 84px;
    padding-bottom: 93px;
  }
  .p-newsDetail {
    padding-top: 106px;
    padding-bottom: 97px;
  }
}
@media screen and (max-width: 600px) {
  .webgene-pagination ul {
    flex-wrap: wrap;
    row-gap: 12px;
  }
  .webgene-pagination li.prev {
    margin-right: 0;
  }
  .webgene-pagination li.next {
    margin-left: 0;
  }
  .webgene-pagination li.prev a::before,
  .webgene-pagination li.next a::after {
    width: 32px;
    height: 32px;
  }
  .p-newsList {
    padding-top: 59px;
    padding-bottom: 66px;
  }
  .p-newsDetail {
    padding-top: 75px;
    padding-bottom: 69px;
  }
}
@media screen and (max-width: 600px) {
  .p-newsList__filter .webgene-blog {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .p-newsList__filterItem {
    width: 100%;
    height: 44px;
  }
  .p-newsList__list {
    margin-top: 36px;
  }
  .webgene-pagination {
    margin-top: 38px;
  }
  .p-newsDetail {
    padding-top: 90px;
    padding-bottom: 90px;
  }
  .p-newsDetail .post-ttl {
    margin-top: 24px;
  }
  .p-newsDetail .post-detail__content {
    margin-top: 32px;
  }
  .p-newsDetail .post-detail__content h3 {
    margin-top: 40px;
  }
  .p-newsDetail .detail__btn {
    margin-top: 48px;
  }
  .p-newsDetail .detail__pdf a {
    margin-top: 48px;
  }
}
@media screen and (max-width: 400px) {
  .webgene-pagination ul {
    gap: 6px;
  }
}
