/* 新着情報一覧ページのスタイル */
:root {
  --main-color: #156fc6;
  --accent-color: #e3f2ff;
}

/* あしらい */
.news-detail-ashirai {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.news-detail-ashirai .ashirai-image {
  width: 100%;
  height: auto;
}

.favtown-news-list {
  padding: 60px 0 0;
}

.favtown-news-list .container {
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.title-area {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  display: flex;
  padding-bottom: 50px;
}
.favtown-news-list .news-title-en {
  color: #156fc6;
  text-align: center;

  font-size: var(--28px);
  font-style: normal;
  font-weight: 600;
  line-height: 120%; /* 33.6px */
  letter-spacing: 1.4px;
}
.favtown-news-list .news-title-ja {
  color: #27292b;
  text-align: center;

  font-size: var(--18px);
  font-style: normal;
  font-weight: 600;
  line-height: 170%; /* 30.6px */
  letter-spacing: 0.9px;
}

/* 記事数カウント */
.news-count {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.count-wrapper {
  font-size: var(--16px);
  font-weight: 500;
}

.displaying {
  font-size: var(--14px);
  color: #666;
}

/* 記事カード */
.news-grid {
  display: flex;
  flex-direction: column;
}

.news-card {
  position: relative;
  border-bottom: 2px solid #e8f3ff;
}

.news-card:first-child {
  border-top: 2px solid #e8f3ff;
}

.news-card-inner {
  padding: 16px;
}

.news-link {
  display: flex;
  color: inherit;
  text-decoration: none;
  position: relative;
  flex-direction: column;
}

.news-card-date {
  font-size: var(--14px);
  color: #156fc6;
  letter-spacing: 0.05em;
}

.news-new-icon {
  background-color: #156fc6;
  color: #fff;
  text-align: center;
  font-size: var(--12px);
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 0.6px;
  padding: 2px 4px;
  border-radius: 4px;
  margin-left: 8px;
}

.news-info {
  flex: 1;
  min-width: 0;
  padding-right: 40px;
}

.news-title {
  font-size: var(--16px);
  font-weight: bold;
  padding-bottom: 8px;
  color: #27292b;
  line-height: 1.8;
  padding-top: 8px;
}

.news-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.category-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: var(--12px);
  background: var(--accent-color, #e3f2ff);
  color: var(--main-color, #156fc6);
  border-radius: 30px;
  font-weight: 600;
}

.news-excerpt {
  font-weight: 500;
  font-size: var(--14px);
  color: #27292b;
  line-height: 200%; /* 約28px (14px × 2) */
  /* 3行分の高さ制限 (28px × 3 ≈ 84px) */
  max-height: calc(var(--14px) * 2 * 3);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.news-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.arrow-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--main-color, #156fc6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-right {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #ffffff;
  margin-left: 2px;
}

/* ページネーション */
.pagination {
  text-align: center;
}

.pagination-container {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8f3ff;
  color: var(--main-color, #156fc6);
  text-decoration: none;

  font-weight: 600;
  font-size: var(--14px);
}

.page-number.active {
  background: var(--main-color, #156fc6);
  color: #ffffff;
}

.page-dots {
  margin: 0 2px;
  color: #666;
}

.no-news {
  text-align: center;
  padding: 40px 20px;
  background: #f9f9f9;
  border-radius: 8px;
  margin: 20px 0;
}

/* CTAボタン */
.cta-button-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding-top: 56px;
}
.cta-button-container .cta {
  margin-top: 0;
}
