@charset "utf-8";

/* ============================================================
   ページヘッダー
============================================================ */
#page-header {
  width: 100%;
  height: 300px;
  background-image: url(/news/img/topimg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-header__logo {
  position: absolute;
  top: 32px;
  left: 48px;
  z-index: 2;
}

.page-header__logo img {
  width: 120px;
  height: auto;
  display: block;
}

.page-header__inner {
  padding: 0 48px;
  margin-top: 120px;
}

.page-header__title {
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: 48px;
  color: #03407a;
  margin: 0 0 8px;
  line-height: 1.2;
}

.page-header__sub {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.page-header__sub-text {
  font-size: 22px;
  font-weight: 400;
  color: #333;
  line-height: 1;
}

.page-header__sub-line {
  display: block;
  width: 200px;
  height: 2px;
  background-color: #03407a;
  flex-shrink: 0;
}


/* ============================================================
   お知らせ一覧
============================================================ */
.news-section {
  padding: 80px 48px;
  background-color: #f3f7fa;
}

.news-section__inner {
  max-width: 900px;
  margin: 0 auto;
}

.news__list {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
}

.news__item {
  border-bottom: 1px solid #d0dce8;
}

.news__item:first-child {
  border-top: 1px solid #d0dce8;
}

.news__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 8px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.news__link:hover {
  background-color: #e8f0f8;
}

.news__date {
  font-size: 14px;
  font-weight: 400;
  color: #555;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: "Noto Sans JP", sans-serif;
}

/* カテゴリバッジ */
.news__cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 28px;
  font-size: 12px;
  font-weight: 400;
  color: #fff;
  border-radius: 2px;
  flex-shrink: 0;
  white-space: nowrap;
}

.news__cat--info {
  background-color: #03407a;
}

.news__cat--press {
  background-color: #c0392b;
}

.news__title {
  font-size: 15px;
  font-weight: 400;
  color: #333;
  line-height: 1.6;
  flex: 1;
}

.news__link:hover .news__title {
  color: #03407a;
  text-decoration: underline;
}


/* ============================================================
   ページネーション（news/column共通）
============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 14px;
  font-weight: 400;
  color: #03407a;
  background-color: #fff;
  border: 1px solid #d0dce8;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.pagination__item:hover {
  background-color: #03407a;
  color: #fff;
  border-color: #03407a;
}

.pagination__item--current {
  background-color: #03407a;
  color: #fff;
  border-color: #03407a;
  cursor: default;
}

.pagination__item--next,
.pagination__item--prev {
  font-size: 16px;
}


/* ============================================================
   @media SP（1024px以下）
============================================================ */
@media (max-width: 1024px) {

  #page-header {
    height: 160px;
  }

  .page-header__inner {
    padding: 0 20px;
    margin-top: 40px;
  }

  .page-header__title {
    font-size: 28px;
  }

  .page-header__sub-text {
    font-size: 16px;
  }

  .page-header__sub-line {
    width: 80px;
  }

  .page-header__logo {
    display: none;
  }

  .news-section {
    padding: 40px 20px;
  }

  .news__link {
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 4px;
  }

  .news__date {
    font-size: 13px;
  }

  .news__cat {
    width: 100px;
    height: 24px;
    font-size: 11px;
  }

  .news__title {
    width: 100%;
    flex: none;
    font-size: 14px;
  }

} /* end @media 1024px */