/*
|---------------------------------------------------------------
| qinc2026-news-archive.css - お知らせ一覧ページ
|---------------------------------------------------------------
*/

/* ==========================================================================
   Section
   ========================================================================== */
.news-archive {
  padding: var(--page-content-padding-y) 0;
}

.news-archive__inner.container {
  max-width: 896px;
}

/* ==========================================================================
   List
   ========================================================================== */
.news-archive__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-blue-grey);
}

/* ==========================================================================
   Item
   ========================================================================== */
.news-archive__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-blue-grey);
  color: var(--color-blue01);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.news-archive__item:hover {
  opacity: 0.7;
}

/* Date */
.news-archive__date {
  flex-shrink: 0;
  width: 80px;
  font-family: var(--font-family-en);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--color-blue-grey02);
}

/* Badge */
.news-archive__badge {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-decoration: none;
}

/* Item Title */
.news-archive__item-title {
  flex: 1;
  min-width: 0;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-blue01);
  text-decoration: none;
}

.news-archive__item-title::after {
  content: '';
  position: absolute;
  inset: 0;
}

/* ==========================================================================
   Empty
   ========================================================================== */
.news-archive__empty {
  text-align: center;
  padding: 80px 0;
  font-size: 15px;
  color: var(--color-blue-grey02);
}

/* ==========================================================================
   Navigation (カテゴリ→お知らせ一覧に戻る)
   ========================================================================== */
.news-archive__nav {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 8px;
}

.news-archive__nav-link {
  font-family: var(--font-family-ja);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.43;
  color: var(--color-blue01);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.news-archive__nav-link:hover {
  opacity: 0.7;
}

/* ==========================================================================
   "もっと見る" Link
   ========================================================================== */
.news-archive__more {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  position: relative;
}

.news-archive__more-link {
  font-family: var(--font-family-ja);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.43;
  color: var(--color-blue01);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.news-archive__more-link:hover {
  opacity: 0.7;
}

.news-archive__more .news-archive__nav-link {
  position: absolute;
  left: 0;
}

/* ==========================================================================
   Responsive - Tablet (1024px)
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .news-archive {
    padding: var(--page-content-padding-y-md) 0;
  }

  .news-archive__item {
    gap: 12px;
    padding: 20px 0;
  }

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

  .news-archive__item-title {
    font-size: 14px;
  }
}

/* ==========================================================================
   Responsive - SP (768px)
   ========================================================================== */
@media screen and (max-width: 768px) {
  .news-archive {
    padding: var(--page-content-padding-y-sp) 0;
  }

  .news-archive__item {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 16px 0;
  }

  .news-archive__date {
    font-size: 12px;
  }

  .news-archive__badge {
    font-size: 10px;
    padding: 3px 10px;
  }

  .news-archive__item-title {
    flex-basis: 100%;
    font-size: 14px;
  }
}
