/* news-list.css: お知らせ一覧（ヘッダー・フッターなし） */
/* 基準画像サイズ: 1516x1942。指定要件の一覧幅980pxを中心軸として数値化。 */

.news-list-body{
  margin: 0;
  background: #fff;
}

.news-list-page{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #fff;
  color: #1f1f1f;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}

.news-list-page :where(*, *::before, *::after){
  box-sizing: border-box;
}

.news-list-page__top-gap{
  height: 88px;
}

.news-list-hero{
  min-height: 248px;
  background: #b6d3ec;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-list-hero__title{
  margin: 0;
  color: #222e95;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.news-list-content{
  width: 980px;
  margin: 0 auto;
  padding: 12px 0 122px;
}

.news-list-breadcrumb{
  margin: 0;
  color: #505050;
  font-size: 12px;
  line-height: 1.3333333333;
  font-weight: 400;
  letter-spacing: 0;
}

.news-list-filter{
  display: flex;
  gap: 8px;
  margin: 112px 0 46px;
}

.news-list-filter__tab{
  width: 148px;
  height: 34px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 15px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 180ms ease;
}

.news-list-filter__tab.is-active{
  opacity: 1;
  box-shadow: none;
}

.news-list-filter__tab.is-all{
  background: #666666;
}

.news-list-filter__tab.is-news{
  background: #3fa6f2;
}

.news-list-filter__tab.is-event{
  background: #f4901e;
}

.news-list-filter__tab.is-research{
  background: #66bf9c;
}

.news-list-rows{
  border-top: 2px solid #dddddd;
}

.news-list-row{
  display: grid;
  grid-template-columns: 75px 67px 1fr;
  column-gap: 24px;
  align-items: center;
  height: 74px;
  padding: 0;
  border-bottom: 2px solid #dddddd;
  text-decoration: none;
  color: #1f1f1f;
}

.news-list-row__date{
  color: #333333;
  font-size: 15px;
  line-height: 1.2666666667;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.news-list-row__cat{
  font-size: 15px;
  line-height: 1.2666666667;
  font-weight: 500;
  letter-spacing: 0;
}

.news-list-row__cat.is-news{
  color: #3fa6f2;
}

.news-list-row__cat.is-event{
  color: #e1a34f;
}

.news-list-row__cat.is-research{
  color: #66bf9c;
}

.news-list-row__cat.is-other{
  color: #7c7c7c;
}

.news-list-row__title{
  color: #1f1f1f;
  font-size: 15px;
  line-height: 1.5333333333;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.news-list-row.is-empty{
  display: block;
  height: auto;
  min-height: 74px;
  padding: 24px 0;
}

.news-list-row__empty{
  color: #4f4f4f;
  font-size: 15px;
  line-height: 1.4;
}

.news-list-pagination{
  margin-top: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.news-list-pagination__link{
  color: #2a2a2a;
  font-size: 15px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.news-list-pagination__link.is-disabled{
  opacity: 0.34;
  pointer-events: none;
}

.news-list-pagination__sep{
  color: #8e8e8e;
  font-size: 15px;
  line-height: 1;
}

@media (max-width: 1100px){
  .news-list-content{
    width: calc(100% - 40px);
    max-width: 980px;
  }
}

@media (max-width: 767px){
  .news-list-page__top-gap{
    height: 52px;
  }

  .news-list-hero{
    min-height: 164px;
  }

  .news-list-hero__title{
    font-size: 26px;
    letter-spacing: 0.04em;
  }

  .news-list-content{
    width: calc(100% - 32px);
    padding: 10px 0 78px;
  }

  .news-list-filter{
    margin: 52px 0 28px;
    gap: 6px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .news-list-filter__tab{
    width: 100%;
    height: 36px;
    font-size: 14px;
  }

  .news-list-row{
    grid-template-columns: 70px 1fr;
    row-gap: 10px;
    column-gap: 8px;
    height: auto;
    padding: 14px 0;
  }

  .news-list-row__date{
    grid-column: 1;
    font-size: 13px;
  }

  .news-list-row__cat{
    grid-column: 2;
    justify-self: start;
    font-size: 13px;
  }

  .news-list-row__title{
    grid-column: 1 / -1;
    font-size: 14px;
    line-height: 1.5;
  }

  .news-list-pagination{
    margin-top: 42px;
    gap: 18px;
  }

  .news-list-pagination__link{
    font-size: 14px;
  }

  .news-list-pagination__sep{
    font-size: 14px;
  }
}
