@charset "UTF-8";
/* Scss Document */
.news-archive {
  padding-bottom: 109px;
}

.news-cat-list {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 120px);
  gap: 10px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.news-cat-list li a {
  padding: 5px;
  display: block;
  font-size: 12px;
  letter-spacing: 0.075em;
  text-align: center;
  background: #E5E5E5;
  border-radius: 15px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
@media screen and (min-width: 751px) {
  .news-cat-list li a:hover {
    background: #000;
    color: #FFF;
  }
}

.news-archive__list {
  margin-top: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 50px 0;
}
.news-archive__list::after {
  content: "";
  width: 30%;
  height: 0;
  display: block;
}

.news-archive__item {
  width: 30%;
}
.news-archive__item a {
  display: block;
}
@media screen and (min-width: 751px) {
  .news-archive__item a:hover .news-archive__img img {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
  .news-archive__item a:hover .news-archive__btn {
    background: #666666;
    color: #FFF;
  }
}

.news-archive__img {
  aspect-ratio: 3/2;
  overflow: hidden;
}
.news-archive__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.news-archive__textarea {
  padding: 22px 25px 25px;
  border-left: 1px solid #707070;
  border-right: 1px solid #707070;
  border-bottom: 1px solid #707070;
}

.news-archive__ttl {
  font-size: 13px;
  line-height: 1.53;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /* 垂直方向に配置 */
  overflow: hidden;
  /* 溢れた部分を隠す */
  text-overflow: ellipsis;
  /* 溢れた部分に「...」を表示 */
  -webkit-line-clamp: 2;
}

.news-option {
  margin-top: 9px;
  font-size: 11px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.news-option__time {
  margin-right: 5px;
  padding-right: 5px;
  border-right: 1px solid #000;
}

.news-archive__btn {
  margin-top: 16px;
  padding: 2px 0;
  font-size: 11px;
  text-align: center;
  line-height: 1.4;
  background: #E5E5E5;
  border-radius: 20px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.news-option {
  margin-top: 10px;
  font-size: 11px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.news-option__time {
  margin-right: 5px;
  padding-right: 5px;
  border-right: 1px solid #000;
}

.pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 0 15px;
  margin-top: 55px;
}
.pagination a {
  width: 30px;
  height: 30px;
  font-size: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  border-radius: 50%;
}
@media screen and (min-width: 751px) {
  .pagination a:hover {
    background: #E5E5E5;
  }
}
.pagination .current {
  width: 30px;
  height: 30px;
  font-size: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  color: #FFF;
  background: #000;
  border-radius: 50%;
}
.pagination .cp_prev {
  width: 12px;
  height: 12px;
  margin-right: 20px;
  display: block;
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
  -webkit-transform: rotate(45deg) translateX(15px);
          transform: rotate(45deg) translateX(15px);
  overflow: hidden;
  border-radius: 0;
}
@media screen and (min-width: 751px) {
  .pagination .cp_prev:hover {
    background: none;
  }
}
.pagination .cp_next {
  width: 12px;
  height: 12px;
  margin-left: 20px;
  display: block;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  -webkit-transform: rotate(-45deg) translateX(-15px);
          transform: rotate(-45deg) translateX(-15px);
  text-indent: -999px;
  overflow: hidden;
  border-radius: 0;
}
@media screen and (min-width: 751px) {
  .pagination .cp_next:hover {
    background: none;
  }
}

@media screen and (max-width: 750px) {
  .news-archive {
    padding-bottom: 90px;
  }
  .news-archive__ttl-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .news-archive__ttl-wrap .p-ttl {
    margin-top: 30px;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  .news-cat-list {
    margin-top: 30px;
    grid-template-columns: repeat(2, 120px);
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .news-cat-list li a {
    padding: 7px 5px;
  }
  .news-archive__list {
    margin-top: 15px;
    padding: 0 23px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px 0;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  .news-archive__list::after {
    display: none;
  }
  .news-archive__item {
    width: 100%;
  }
  .news-archive__img {
    aspect-ratio: 30/20;
  }
  .news-archive__textarea {
    height: auto !important;
    padding: 22px 24px 25px;
  }
  .news-archive__ttl {
    font-size: 13px;
    line-height: 1.53;
  }
  .news-option {
    margin-top: 10px;
  }
  .news-archive__btn {
    margin-top: 18px;
    border-radius: 10px;
  }
  .pagination {
    margin-top: 28px;
  }
  .pagination a {
    font-size: 20px;
  }
  .pagination .current {
    font-size: 20px;
  }
}