.page-header {
  margin-top: 60px;
  padding: 60px 0;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.page-header__inner {
  grid-column: 1/-1;
  max-width: 1120px;
  margin: 0;           /* 中央寄せ解除 → 左寄せ */
  text-align: left;    /* テキストも左寄せ */
}

.page-header__title {
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.page-header__sub {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-700);
  max-width: 72ch;
}

.breadcrumbs {
  color: var(--gray-600);
  font-size: 14px;
}

.breadcrumbs a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .page-header {
    padding: 24px 0;
  }
  .page-header__title {
    font-size: 28px;
  }
  .page-header__sub {
    font-size: 16px;
  }
}
.news-section {
  padding: 80px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.news-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

.news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-empty {
  color: var(--gray-700);
}

.news-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 32px;
  background: var(--gray-100);
  border-left: 4px solid var(--primary);
  transition: all 0.3s;
  text-decoration: none;
  color: var(--black);
}

.news-item:hover {
  background: var(--gray-200);
  transform: translateX(8px);
  text-decoration: none;
  color: var(--black);
}

.news-item:hover *,
.news-item:focus * {
  text-decoration: none !important;
}

.news-item:visited {
  color: var(--black);
}

.news-item:hover .news-text strong {
  color: var(--black);
}

.news-date {
  font-weight: 600;
  color: var(--primary);
  font-size: 14px;
  min-width: 100px;
}

.news-category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 80px;
  text-align: center;
}

.news-category.update {
  background: var(--primary);
}

.news-category.event {
  background: var(--primary-dark);
}

.news-category.release {
  background: var(--black);
}

.news-text {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
}

.news-text .caption {
  margin-left: 8px;
  color: var(--gray-600);
}

/* Mobile: stack naturally as 1) date+category, 2) title, 3) excerpt */
@media (max-width: 767px) {
  .news-item {
    display: block;               /* cancel row flex to allow inline flow */
    padding: 16px 16px;           /* a bit tighter on phones */
  }
  .news-date {
    display: inline-block;        /* first line: date */
    min-width: auto;              /* remove fixed width to prevent wrap */
    margin-right: 8px;
  }
  .news-category {
    display: inline-block;        /* first line: category next to date */
    margin-top: 0;
  }
  .news-text {
    display: block;               /* second + third lines area */
    margin-top: 6px;
  }
  .news-text strong {
    display: block;               /* second line: title */
    margin: 4px 0;
    line-height: 1.4;
  }
  .news-text .caption {
    display: block;               /* third line: excerpt */
    margin-left: 0;
    line-height: 1.6;
    color: var(--gray-700);
  }
}

.news-filter {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-filter .form-input {
  max-width: 220px;
  padding: 10px 12px;
}

.news-section .form-input,
.news-filter .form-input {
  width: 100%;
  border: 2px solid var(--black);
  font-size: 16px;
  font-family: inherit;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-section .form-input:focus,
.news-filter .form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.pagination-wrapper {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.pagination-wrapper nav {
  display: flex;
  justify-content: center;
  width: 100%;
}

.pagination-wrapper .pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-wrapper .page-item {
  display: inline-flex;
}

.pagination-wrapper .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--black);
  background: #fff;
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
}

.pagination-wrapper .page-link:hover,
.pagination-wrapper .page-link:focus {
  background: var(--primary);
  color: #fff;
  border-color: var(--black);
  text-decoration: none;
}

.pagination-wrapper .page-item.active .page-link {
  background: var(--primary);
  color: #fff;
  border-color: var(--black);
}

.pagination-wrapper .page-item.disabled .page-link {
  background: var(--gray-100);
  color: var(--gray-500);
  border-color: var(--gray-200);
  cursor: not-allowed;
}

.news-filter .form-label {
  margin: 0;
  font-weight: 600;
}

.news-filter .form-label {
  margin: 0;
}

.news-detail {
  padding: 32px 0 64px;
  background: var(--white);
}

.news-detail__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 48px;
}

.news-detail__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.news-detail__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin: 8px 0 16px;
}

.news-detail__body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-800);
}

.news-back {
  margin-top: 24px;
}

.news-back .btn {
  padding: 12px 32px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--black);
  text-decoration: none;
  display: inline-block;
}

.news-back .btn {
  border-radius: 0;
}

.news-back .btn.btn-secondary {
  background: transparent;
  color: var(--black);
}

.news-back .btn.btn-secondary:hover {
  background: var(--black);
  color: var(--white);
}
