.filter-list{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 80px;
  @media screen and (max-width: 767px){
    width: 95%;
    margin: 0 auto 56px;
  }
  li{
    width: calc((100% - 24px) / 4);
    text-align: center;
    font-weight: 700;
    padding: 8px 0 12px;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: all .4s;
    @media screen and (max-width: 767px){
      width: calc((100% - 12px) / 2);
    }
    a{
      display: block;
      &::after{
        content: "";
        display: inline-block;
        width: 20px;
        height: 20px;
        background: url(/_assets/common/images/icon-blank.svg) no-repeat 0 0;
        vertical-align: middle;
        margin-left: 8px;
        margin-top: -2px;
      }
    }
    &:hover{
      background: #000;
      color: #fff;
      a{
        color: #fff;
      }
    }
    &.active{
      background: #000;
      color: #fff;
    }
  }
}

#post-list{
  display: flex;
  gap: 48px 36px;
  flex-wrap: wrap;
  @media screen and (max-width: 767px){
    gap: 28px;
    width: 95%;
    margin: 0 auto;
  }
}
.post-item{
  width: calc((100% - 72px) / 3);
  @media screen and (max-width: 767px){
    width: 100%;
    margin: 0 auto;
  }
  &:hover{
    .post-thumb{
      img{
        border-radius: 16px;
        transform: scale(.8);
      }
    }
  }
}
.post-thumb{
  background: #213B92;
  margin-bottom: 8px;
  overflow: hidden;
  img{
    vertical-align: bottom;
    transition: all .4s;
  }
}
.post-cat{
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px 4px;
}
.post-date{
  font-size: 12px;
}
.meta-date{
  text-align: right;
}

.pagination{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  @media screen and (max-width: 767px){
    gap: 8px;
  }
}
.page-link{
  font-size: 20px;
  line-height: 1;
  text-align: center;
  position: relative;
  color: #666;
  cursor: pointer;
  &:hover{
    color: #000;
  }
  &.active{
    &::after{
      content: "ー";
      font-weight: 400;
      display: block;
      position: absolute;
      bottom: -20px;
      left: 50%;
      transform: translateX(-50%);
    }
  }
}
.page-arrow{
  width: 40px;
  height: 40px;
  border: 1px solid #000;
  border-radius: 50%;
  background: url(/news/wp-content/themes/gc-news/assets/images/arrow.png) no-repeat 50% 50%;
  cursor: pointer;
  &:hover{
    background: #000 url(/news/wp-content/themes/gc-news/assets/images/arrow-wh.png) no-repeat 50% 50%;
  }
  &.next{
    transform: rotate(180deg);
  }
}