
/* =================================
   NEWS & TOPICS
================================= */

.news-section {
  padding: 80px 24px 100px;
  background: #f7f9fc;
  color: #25384a;
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;
}

.news-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* 見出し */

.news-header {
  margin-bottom: 42px;
  text-align: center;
}

.news-eyebrow {
  margin: 0 0 12px;
  color: #64829b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.news-heading {
  margin: 0;
  color: #173d5b;
  font-family: Arial, sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.news-heading span {
  color: #7695ad;
  font-weight: 400;
}

.news-description {
  margin: 14px 0 0;
  color: #687b8c;
  font-size: 14px;
  letter-spacing: 0.12em;
}

/* お知らせ一覧 */

.news-list {
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  background: #fff;
  border: 1px solid #e5ebf1;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgb(29 56 78 / 5%);
}

.news-item + .news-item {
  border-top: 1px solid #edf1f5;
}

.news-link {
  display: grid;
  grid-template-columns: 115px 120px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 18px 28px;
  color: inherit;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    padding 0.25s ease;
}

.news-link:hover {
  padding-right: 22px;
  padding-left: 34px;
  background: #f1f6fa;
}

.news-link:focus-visible {
  outline: 2px solid #3c789e;
  outline-offset: -3px;
}

.news-link time {
  color: #748596;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.news-tag {
  justify-self: start;
  padding: 5px 10px;
  border: 1px solid #dce7ef;
  border-radius: 4px;
  background: #f5f8fb;
  color: #496b84;
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
}

.news-title {
  color: #293e50;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.news-link:hover .news-title {
  color: #2f719e;
}

.news-arrow {
  justify-self: end;
  color: #92a8b9;
  font-family: Arial, sans-serif;
  font-size: 20px;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.news-link:hover .news-arrow {
  color: #2f719e;
  transform: translate(2px, -2px);
}

/* タブレット */

@media (max-width: 768px) {
  .news-section {
    padding: 60px 20px 70px;
  }

  .news-header {
    margin-bottom: 30px;
  }

  .news-link {
    grid-template-columns: 100px minmax(0, 1fr) 20px;
    gap: 10px 14px;
    padding: 17px 18px;
  }

  .news-link:hover {
    padding-right: 18px;
    padding-left: 18px;
  }

  .news-link time {
    grid-column: 1;
    grid-row: 1;
    font-size: 12px;
  }

  .news-tag {
    grid-column: 1;
    grid-row: 2;
  }

  .news-title {
    grid-column: 2;
    grid-row: 1 / span 2;
    font-size: 13px;
  }

  .news-arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
    font-size: 18px;
  }
}

/* スマートフォン */

@media (max-width: 480px) {
  .news-section {
    padding: 46px 14px 55px;
  }

  .news-heading {
    font-size: 30px;
  }

  .news-description {
    font-size: 13px;
  }

  .news-link {
    grid-template-columns: minmax(0, 1fr) 20px;
    gap: 9px 8px;
    padding: 16px 14px;
  }

  .news-link time {
    grid-column: 1;
    grid-row: 1;
    font-size: 12px;
  }

  .news-tag {
    grid-column: 1;
    grid-row: 2;
  }

  .news-title {
    grid-column: 1;
    grid-row: 3;
    font-size: 13px;
    line-height: 1.8;
  }

  .news-arrow {
    grid-column: 2;
    grid-row: 1 / span 3;
  }
}

/* 動きを抑える設定への配慮 */

@media (prefers-reduced-motion: reduce) {
  .news-link,
  .news-title,
  .news-arrow {
    transition: none;
  }
}


/* =================================
   NEWS & TOPICS - BLUE THEME
================================= */

/* ページ背景 */
.news-section {
  background: #EAF1F8;
  color: #102F50;
}

/* 見出し */
.news-eyebrow {
  color: #416C91;
}

.news-heading {
  color: #102F50;
}

.news-heading span {
  color: #477DA7;
}

.news-description {
  color: #3E5870;
}

/* お知らせ一覧 */
.news-list {
  background: #FFFFFF;
  border-color: #D5E0EA;
  box-shadow: 0 12px 32px rgb(16 47 80 / 9%);
}

.news-item + .news-item {
  border-top-color: #DCE6F0;
}

/* 日付 */
.news-link time {
  color: #345875;
}

/* カテゴリ */
.news-tag {
  background: #EAF1F8;
  border-color: #CADBEA;
  color: #174F7B;
}

/* お知らせタイトル */
.news-title {
  color: #102F50;
}

.news-link:hover .news-title {
  color: #174F7B;
}

/* マウスを乗せたとき */
.news-link:hover {
  background: #EAF3FB;
}

/* 右端の矢印 */
.news-arrow {
  color: #477DA7;
}

.news-link:hover .news-arrow {
  color: #103F68;
}

/* キーボード操作時 */
.news-link:focus-visible {
  outline-color: #174F7B;
}

/* ページトップボタン */
.news-pagetop {
  display: flex;
  justify-content: flex-end;
  margin-top: 35px;
  padding-bottom: 20px;
}

.news-pagetop-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 145px;
  padding: 14px 22px;
  background: #174a78;
  color: #fff;
  border: 1px solid #174a78;
  border-radius: 5px;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: background-color 0.3s,
              color 0.3s,
              transform 0.3s;
}

.news-pagetop-arrow {
  font-size: 20px;
  line-height: 1;
}

.news-pagetop-link:hover {
  background: #fff;
  color: #174a78;
  transform: translateY(-3px);
}

html {
  scroll-behavior: smooth;
}