/* ===================================
   NEWS PAGE — page-hero
=================================== */
.page-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  margin-top: var(--header-h);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  display: block;
}

/* 左半分ダークグラデーション */
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.10);
}

.page-hero__contents {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

.page-hero__inner {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-hero__title {
  font-family: var(--font-en);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.page-hero__desc {
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.5;
}


/* ===================================
   NEWS LIST SECTION（ライトモード）
=================================== */
.news-list {
  background: #ffffff;
  padding: 80px 0 100px;
}

.news-list__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 100px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.news-list__title {
  font-family: var(--font-en);
  font-size: 96px;
  font-weight: 700;
  color: #1c1818;
  line-height: 1;
}

/* コンテンツ：サイドバー＋グリッド */
.news-list__body {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}


/* ===================================
   FILTER SIDEBAR
=================================== */
.news-filter {
  flex-shrink: 0;
  width: 200px;
  background: #f7f5f5;
  border: none;
  border-radius: 4px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-filter__label {
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 500;
  color: #1c1818;
}

.news-filter__btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-filter__btn {
  width: 100%;
  height: 40px;
  border-radius: 20px;
  border: none;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.05em;
  background: #d1caca;
  color: #1c1818;
  transition: background var(--transition), color var(--transition);
}

.news-filter__btn--active {
  background: var(--color-red);
  color: #ffffff;
}

.news-filter__btn:not(.news-filter__btn--active):hover {
  background: #c4bcbc;
}


/* ===================================
   NEWS CARD GRID
=================================== */
.news-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 30px;
}

.news-card__link {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: inherit;
  text-decoration: none;
}

.news-card__link:hover .news-card__img img {
  transform: scale(1.04);
}

.news-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 16px;
}

.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.news-card__date {
  font-family: var(--font-en);
  font-size: 13px;
  color: #1c1818;
}

.news-card__tag {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  color: #1c1818;
  background: #f7f5f5;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.news-card__line {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin-bottom: 14px;
}

.news-card__title {
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 400;
  color: #1c1818;
  line-height: 1.6;
}


/* ===================================
   PAGINATION
=================================== */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 20px;
}

.news-pagination__list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.news-pagination__arrow {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: #1c1818;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
  line-height: 1;
}

.news-pagination__arrow:hover:not(:disabled) {
  color: var(--color-red);
}

.news-pagination__arrow.is-disabled {
  color: #cccccc;
  cursor: default;
}

.news-pagination__num {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  border-radius: 50%;
  color: #1c1818;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.news-pagination__num--active {
  background: #d1caca;
  color: #1c1818;
  font-weight: 700;
}

.news-pagination__num:not(.news-pagination__num--active):hover {
  background: #f7f5f5;
}

.news-pagination__dots {
  color: #1c1818;
  font-size: 15px;
  padding: 0 4px;
}


/* ===================================
   非表示カード（フィルター用）
=================================== */
.news-card--hidden {
  display: none;
}


/* ===================================
   NEWS PAGE：ヘッダー上書き
   ヒーロー上 → ダーク（透明）
   ヒーロー後 → ライト（白背景）
=================================== */
.news-page .header.is-light {
  background: transparent;
  box-shadow: none;
}

.news-page .header.is-top {
  background: #ffffff;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}


/* PC大画面：object-positionを中央寄りに調整 */
@media (min-width: 1169px) {
  .page-hero__bg img {
    object-position: 70% top;
  }
}

/* ===================================
   SP RESPONSIVE（768px以下）
=================================== */
@media (max-width: 768px) {

  /* ページヒーロー：高さ240px・コンテンツ下寄せ */
  .page-hero {
    height: 240px;
  }

  .page-hero__overlay {
    background: rgba(0, 0, 0, 0.10);
  }

  .page-hero__contents {
    align-items: flex-end;
  }

  .page-hero__inner {
    padding: 0 28px 28px;
    gap: 12px;
  }

  .page-hero__title {
    font-size: 46px;
  }

  .page-hero__desc {
    font-size: 16px;
    font-weight: 400;
  }

  /* ニュースリストセクション */
  .news-list {
    padding: 64px 0;
  }

  .news-list__inner {
    padding: 0 28px;
    gap: 40px;
  }

  .news-list__title {
    font-size: 56px;
  }

  /* コンテンツ：縦積み */
  .news-list__body {
    flex-direction: column;
    gap: 16px;
  }

  /* フィルター：全幅・横並びボタン */
  .news-filter {
    width: 100%;
    padding: 24px 12px;
    gap: 16px;
  }

  .news-filter__label {
    font-size: 16px;
  }

  .news-filter__btns {
    flex-direction: row;
    gap: 12px;
  }

  .news-filter__btn {
    flex: 1;
    height: auto;
    padding: 12px 16px;
    font-size: 16px;
  }

  /* カードグリッド：1列 */
  .news-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .news-card__img {
    aspect-ratio: 319 / 208;
    border-radius: 0;
  }

  .news-card__meta {
    margin-bottom: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #d1caca;
  }

  .news-card__date {
    font-family: var(--font-ja);
    font-size: 16px;
  }

  .news-card__tag {
    font-size: 16px;
    font-weight: 400;
    width: 120px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
  }

  .news-card__line {
    display: none;
  }

  .news-card__title {
    font-size: 16px;
    line-height: 1.5;
    padding-top: 22px;
  }

  /* ページネーション：32px */
  .news-pagination__arrow {
    width: 32px;
    height: 32px;
    font-size: 22px;
  }

  .news-pagination__num {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .news-pagination__dots {
    font-size: 14px;
  }
}

/* 中間SP幅（560px〜768px）：幅に応じてheroを段階的に高く */
@media (min-width: 560px) and (max-width: 768px) {
  .page-hero {
    height: calc(28.85vw + 158.5px); /* 560px→320px, 768px→380px */
  }
}
