@charset "utf-8";

.top-news__wrap {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}


.news__wrap {
  border-top: 1px solid #D9D9D9;

  &:last-of-type {
    border-bottom: 1px solid #D9D9D9;
  }
}

.news__wrap a{
  width: 100%;
  padding: 25px 50px 25px 10px;
  position: relative;

  &::before {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
    background: url('../images/arrow-news.svg') center / contain no-repeat;
    transition: background 0.3s;
  }

  &:hover {
    background: #fff;

    &::before {
      background: url('../images/arrow-news-hover.svg') center / contain no-repeat;
    }
  }
}
@media screen and (min-width: 768px) {
  .news__wrap a{
    padding: 35px 75px 35px 20px;

    &::before {
      width: 40px;
      height: 40px;
      right: 20px;
    }
  }
}

.news__body {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(1, 1fr);
  align-items: center;
}
@media screen and (min-width: 768px) {
  .news__body {
    gap: 30px;
    grid-template-columns: 102px 1fr;
  }
}

@media screen and (min-width: 768px) {
  .news__meta {
    display: grid;
    gap: 20px;
    grid-template-columns: 90px 1fr;
    align-items: center;
  }
}
.news__meta-sp {
  display: flex;
  gap: 20px;
  align-items: center;
}

.news__date {
  color: #7E7E7E;
}
@media screen and (min-width: 768px) {
  .news__date {
    border-right: 1px solid #D9D9D9;
    padding-right: 40px;
  }
}

.date-ym {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.date-d {
    font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.06em;
          line-height: 1.2;
}
@media screen and (min-width: 768px) {
  .date-d {
     font-size: 21px;
  }
}

.news__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  line-height: calc(24 / 16);
  letter-spacing: 0.06em;
}
@media screen and (min-width: 900px) {
  .news__title {
    font-size: 17px;
    -webkit-line-clamp: 1;
  }
}


.news__list .webgene-pagination {
  margin: 70px 0 55px;
}