@import url("base.css");
/*--------------------
	NEWS
--------------------*/
#news.list {
  margin-bottom: 4rem;
}
#news.list .inner .row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 54px;
}
@media screen and (max-width: 767px) {
  #news.list .inner .row {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
  }
}
#news.list .inner .row .col {
  position: relative;
}
@media screen and (max-width: 767px) {
  #news.list .inner .row .col:nth-of-type(n + 5) {
    display: none;
  }
}
#news.list .inner .row .col .date {
  margin-bottom: 0.5rem;
}
#news.list .inner .row .col .img {
  position: relative;
  overflow: hidden;
}
#news.list .inner .row .col .img img {
  width: 100%;
  transition: 0.3s;
  -webkit-transition: 0.3s;
}
#news.list .inner .row .col .img span {
  display: inline-block;
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--main_color_yellow);
  line-height: 1;
  padding: 3px 10px;
}
#news.list .inner .row .col h3 {
  margin-top: 1rem;
  line-height: 1.6;
}
#news.list .inner .row .col a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
#news.list .inner .row .col:hover .img img {
  transform: scale(1.1);
}
#news.list .inner .page-numbers {
  margin-top: 2rem;
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}
#news.list .inner .page-numbers li a {
  display: block;
  border: 1px solid #ccc;
  padding: 0.8rem;
  line-height: 1;
  text-decoration: none;
  transition: 0.5s;
  -webkit-transition: 0.5s;
}
#news.list .inner .page-numbers li a:hover {
  border: 1px solid #333;
  background-color: #333;
  color: #fff;
}
#news.list .inner .page-numbers li span {
  display: block;
  border: 1px solid #333;
  padding: 0.8rem;
  line-height: 1;
  background-color: #333;
  color: #fff;
}
#news h2 {
  color: var(--main_font_color);
  font-size: 2rem;
  font-weight: normal;
  letter-spacing: 0.2em;
  margin: 60px auto;
  max-width: 1200px;
}
@media screen and (max-width: 767px) {
  #news h2 {
    max-width: 92%;
    margin: 20px auto 40px auto;
    font-size: 1.1rem;
  }
}
#news h2 span {
  color: #ccc;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}