/* ==========================================================================
   news.css / column.css 共用スタイル
   お知らせ一覧・コラム一覧ページ
   ========================================================================== */

/* ▼ ページヒーロー（news） */
.page-hero--news {
  background:
    linear-gradient(135deg, rgba(27,42,74,0.88) 0%, rgba(27,42,74,0.72) 100%),
    linear-gradient(120deg, #2d3f66 0%, #1b2a4a 60%, #131e38 100%);
  color: #fff;
}
.page-hero--column {
  background:
    linear-gradient(135deg, rgba(27,42,74,0.82) 0%, rgba(197,165,90,0.55) 100%),
    linear-gradient(120deg, #3a4d7a 0%, #1b2a4a 50%, #8a7136 100%);
  color: #fff;
}

/* ==========================================================================
   カテゴリフィルター
   ========================================================================== */
.section-news-filter {
  padding: 40px 0 0;
}
.news-filter-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 0;
  margin: 0;
}
.news-filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy, #1b2a4a);
  background: #fff;
  border: 2px solid #dcdfe6;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  letter-spacing: 0.04em;
}
.news-filter-chip:hover {
  border-color: var(--gold, #c5a55a);
  color: var(--gold, #c5a55a);
}
.news-filter-chip.is-active {
  background: var(--navy, #1b2a4a);
  color: #fff;
  border-color: var(--navy, #1b2a4a);
}

/* ==========================================================================
   お知らせ一覧
   ========================================================================== */
.section-news-list {
  padding: 50px 0 80px;
}
.news-articles {
  list-style: none;
  padding: 0;
  margin: 0 0 50px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #e5e7eb;
}
.news-article {
  border-bottom: 1px solid #e5e7eb;
  transition: background 0.2s ease;
}
.news-article:hover {
  background: #fafbfc;
}
.news-article.is-highlight {
  animation: news-flash 2.2s ease-out;
}
.column-item.is-highlight .column-card-link {
  animation: news-flash 2.2s ease-out;
}
@keyframes news-flash {
  0%   { background-color: #fff5d6; box-shadow: 0 0 0 3px #e9c87a inset; }
  60%  { background-color: #fffbea; box-shadow: 0 0 0 2px #e9c87a inset; }
  100% { background-color: transparent; box-shadow: none; }
}
.news-article-inner {
  display: grid;
  grid-template-columns: 120px 110px 1fr;
  grid-template-rows: auto auto;
  column-gap: 24px;
  row-gap: 8px;
  align-items: start;
  padding: 26px 10px;
  text-decoration: none;
  color: inherit;
}
.news-article-inner time {
  grid-column: 1;
  grid-row: 1;
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.04em;
  padding-top: 2px;
}
.news-article-inner .news-tag {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  display: inline-block;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: #6b7280;
  border-radius: 3px;
  letter-spacing: 0.04em;
}
.news-article-inner .news-tag--event {
  background: var(--gold, #c5a55a);
}
.news-article-inner .news-tag--media {
  background: #5a7cc5;
}
.news-article-inner .news-tag--column {
  background: #3a7e5e;
}
.news-article-inner h3 {
  grid-column: 3;
  grid-row: 1;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy, #1b2a4a);
  line-height: 1.5;
  margin: 0;
  transition: color 0.2s ease;
}
.news-article-inner:hover h3 {
  color: var(--gold, #c5a55a);
}
.news-article-inner p {
  grid-column: 3;
  grid-row: 2;
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

/* ==========================================================================
   ページネーション
   ========================================================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 20px;
}
.pagination-link,
.pagination-current,
.pagination-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy, #1b2a4a);
  text-decoration: none;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  transition: all 0.2s ease;
}
.pagination-link:hover,
.pagination-next:hover {
  border-color: var(--navy, #1b2a4a);
  background: var(--navy, #1b2a4a);
  color: #fff;
}
.pagination-current {
  background: var(--navy, #1b2a4a);
  color: #fff;
  border-color: var(--navy, #1b2a4a);
}
.pagination-ellipsis {
  padding: 0 6px;
  color: #9ca3af;
}
.pagination-next {
  padding: 0 18px;
  margin-left: 6px;
}
.pagination-prev {
  margin-left: 0;
  margin-right: 6px;
}
.pagination-link:focus-visible,
.pagination-next:focus-visible {
  outline: 2px solid var(--gold, #c5a55a);
  outline-offset: 2px;
}

/* ==========================================================================
   コラム一覧
   ========================================================================== */
.section-column-list {
  padding: 50px 0 80px;
}
.column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
  margin: 0 0 50px;
  padding: 0;
  list-style: none;
}
.column-item {
  list-style: none;
}
.column-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.column-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(27,42,74,0.12);
}
.column-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #dfe4ec 0%, #c5cdd9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(27,42,74,0.35);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.column-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.column-card-link:hover .column-thumb img {
  transform: scale(1.05);
}
.column-thumb--1 { background: linear-gradient(135deg, #dfe4ec 0%, #a7b4c9 100%); }
.column-thumb--2 { background: linear-gradient(135deg, #efe4cf 0%, #d0b787 100%); }
.column-thumb--3 { background: linear-gradient(135deg, #d7e5db 0%, #9ec0a8 100%); }
.column-thumb--4 { background: linear-gradient(135deg, #e6dcd1 0%, #b89f83 100%); }
.column-thumb--5 { background: linear-gradient(135deg, #d5dde8 0%, #8196b3 100%); }
.column-thumb--6 { background: linear-gradient(135deg, #e8d7d7 0%, #c59595 100%); }
.column-thumb--7 { background: linear-gradient(135deg, #dfe4c8 0%, #a0b07b 100%); }
.column-thumb--8 { background: linear-gradient(135deg, #e4d7e8 0%, #a795b3 100%); }
.column-thumb--9 { background: linear-gradient(135deg, #d4e5e5 0%, #7aa5a5 100%); }
.column-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.column-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.column-card-cat {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold, #c5a55a);
  background: #fcf7eb;
  border: 1px solid #e9d8a7;
  border-radius: 3px;
  letter-spacing: 0.06em;
}
.column-card-date {
  font-size: 12px;
  color: #9ca3af;
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.04em;
}
.column-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy, #1b2a4a);
  line-height: 1.55;
  margin: 0 0 10px;
  transition: color 0.2s ease;
}
.column-card-link:hover h3 {
  color: var(--gold, #c5a55a);
}
.column-card-body p {
  font-size: 13px;
  line-height: 1.75;
  color: #4b5563;
  margin: 0 0 14px;
  flex: 1;
}
.column-card-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold, #c5a55a);
  margin-top: auto;
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 900px) {
  .column-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-article-inner {
    grid-template-columns: 100px 90px 1fr;
    column-gap: 16px;
  }
}
@media (max-width: 720px) {
  .news-article-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    row-gap: 6px;
    padding: 22px 6px;
  }
  .news-article-inner time { grid-column: 1; grid-row: 1; }
  .news-article-inner .news-tag { grid-column: 1; grid-row: 2; }
  .news-article-inner h3 { grid-column: 1; grid-row: 3; font-size: 16px; }
  .news-article-inner p { grid-column: 1; grid-row: 4; font-size: 13.5px; }
  .news-filter-chip { padding: 8px 16px; font-size: 13px; }
}
@media (max-width: 560px) {
  .column-grid { grid-template-columns: 1fr; }
  .pagination-link,
  .pagination-current,
  .pagination-next {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
    padding: 0 10px;
  }
}
