@charset "utf-8";

.news__list .webgene-blog {
  background: #fff;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  border-radius: 10px 0 0 10px;
  padding-bottom: 50px;
}
@media screen and (min-width: 1367px) {
  .news__list .webgene-blog {
    border-radius: 10px;
  }
}

.news__wrap a{
  padding: 28px 35px 28px 28px;
  border-bottom: 1px solid rgba(225, 230, 226, 0.8);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 25px;
}
@media screen and (min-width:  768px) {
  .news__wrap a{
    flex-direction: row;
  }
}
@media screen and (min-width: 1100px) {
  .news__wrap a{
    padding: 28px 83px 28px 28px;
    gap: 30px;
  }
}

.news__wrap a:hover .news__head img{
  scale: 1.1;
}

.news__head {
  aspect-ratio: 170 / 128;
  width: min(100%, 300px);
  height: auto;
  overflow: hidden;
  flex-shrink: 0;
}
@media screen and (min-width:  768px) {
  .news__head {
    width: 170px;
  }
}
.news__head img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.5s;
}

.news__body {
  padding-right: 70px;
  flex-grow: 1;
  position: relative;
  width: 100%;
}
.news__body::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  background: url('../images/icon-arrow.svg') center / contain no-repeat;
  width: 42px;
  height: 42px;
}

.news__date {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: rgba(63, 77, 65, 0.5);
  display: inline;
}

.news__tag {
  padding: 5px 7px 5px;
  background: #E1E6E2;
  color: #186A28;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.08em;
  width: fit-content;
  display: inline;
  margin-left: 20px;
}

.news__title {
  margin-top: 15px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 16px;
  line-height: calc(28.8 / 16);
  letter-spacing: 0.08em;
}
@media screen and (min-width: 768px) {
  .news__title {
    -webkit-line-clamp: 1;
  }
}

.news-category > .webgene-blog {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 60px;
  padding-bottom: 10px;
  justify-content: center;
}
@media screen and (min-width: 1300px) {
  .news-category > .webgene-blog {
    justify-content: start;
  }
}

.news__cat {
  width: min(100%, 245px);
}

.news__cat a{
  min-width: 110px;
  border: 1px solid transparent;
  background: #FFFFFF;
  border-radius: 6px;
  padding: 18px 20px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #323232;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
@media screen and (min-width: 768px) {
  .news__cat a{
    min-width: 245px;
  }
}
.news__cat a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35BBF1;
}

.news__cat a:hover {
  background: #F4F4F4;
}

.news__list > .webgene-blog{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
.news-list .webgene-pagination {
  margin-top: 100px;
}