/* ============================================================
   お知らせ一覧・詳細 news.css
   ============================================================ */

/* ------------------------------------------------------------
   ヘッダー ライトバリアント（ヒーローなし）
   ------------------------------------------------------------ */
.header--light {
  position: relative;
  background-color: var(--color-white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.header--light::before {
  display: none;
}

.header--light .header__logo-text .company,
.header--light .header__logo-text .name {
  color: var(--color-text);
}

.header--light .header__nav a {
  color: var(--color-text);
}

.header--light .header__nav a::after {
  background-color: var(--color-text);
}

/* スクロール後のハンバーガーは .is-scrolled で処理済み */
.page-news .hamburger__line {
  background-color: var(--color-text);
}


/* ------------------------------------------------------------
   ページタイトル
   ------------------------------------------------------------ */
.page-title {
  padding: 80px var(--section-px) 0;
}

.page-title__inner {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-main);
}

.page-title__en {
  font-family: var(--font-min);
  font-size: 48px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1;
  letter-spacing: 0;
  margin: 0;
}

.page-title__ja {
  font-family: var(--font-min);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  padding-bottom: 8px;
  margin: 0;
}


/* ------------------------------------------------------------
   記事一覧セクション
   ------------------------------------------------------------ */
.news-list-section {
  padding: 60px var(--section-px) 120px;
}

.news-list-section__inner {
  /* inner クラスで max-width / margin auto 適用 */
}

.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-item {
  border-bottom: 1px solid #B3B2B1;
}

.article-item__link {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 32px 0;
  text-decoration: none;
  color: var(--color-text);
  transition: opacity 0.3s ease;
}

.article-item__link:hover {
  opacity: 0.7;
}

/* サムネイル */
.article-item__thumb {
  flex-shrink: 0;
  width: 280px;
  height: 210px;
  overflow: hidden;
  border-radius: 2px;
}

.article-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.article-item__link:hover .article-item__thumb img {
  transform: scale(1.04);
}

/* 本文 */
.article-item__body {
  flex: 1;
  min-width: 0;
}

.article-item__date {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.article-item__title {
  font-family: var(--font-min);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}

.article-item__excerpt {
  font-family: var(--font-min);
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 矢印 */
.article-item__arrow {
  flex-shrink: 0;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-item__arrow img {
  width: 24px;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.article-item__link:hover .article-item__arrow img {
  transform: translateX(4px);
}


/* ------------------------------------------------------------
   ページネーション
   ------------------------------------------------------------ */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 64px;
}

.pager__btn {
  font-family: var(--font-min);
  font-size: 16px;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.06em;
  padding: 8px 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.pager__btn:hover {
  border-bottom-color: var(--color-main);
  color: var(--color-main);
}


/* ============================================================
   レスポンシブ（スマホ）
   ============================================================ */
@media (max-width: 768px) {

  /* ページタイトル */
  .page-title {
    padding: 60px 20px 0;
  }

  .page-title__inner {
    gap: 8px;
    padding-bottom: 24px;
  }

  .page-title__en {
    font-size: 28px;
  }

  .page-title__ja {
    font-size: 14px;
    padding-bottom: 4px;
  }

  /* 記事一覧 */
  .news-list-section {
    padding: 40px 20px 80px;
  }

  .article-item__link {
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 0;
    position: relative;
  }

  .article-item__thumb {
    width: 100%;
    height: 200px;
  }

  .article-item__body {
    width: 100%;
  }

  .article-item__title {
    font-size: 16px;
  }

  .article-item__arrow {
    position: absolute;
    bottom: 24px;
    right: 0;
  }

  /* ページネーション */
  .pager {
    gap: 16px;
    margin-top: 48px;
  }

  .pager__btn {
    font-size: 14px;
  }

}


/* ============================================================
   記事詳細ページ固有スタイル
   ============================================================ */

/* inner--wide: 188px 左右余白（一覧の inner と幅が異なる） */
.inner--wide {
  max-width: var(--inner-max);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* 記事詳細セクション */
.entry-section {
  padding: 32px 188px 120px;
}

/* 記事コンテナ（下ボーダー） */
.entry {
  border-bottom: 1px solid #B3B2B1;
  padding-bottom: 32px;
}

/* 記事タイトルヘッダー */
.entry-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid #B3B2B1;
  margin-bottom: 32px;
}

.entry-title__date {
  display: block;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.entry-title__heading {
  font-family: var(--font-min);
  font-size: 40px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin: 0;
}

/* 記事本文 */
.entry-body {
  font-family: var(--font-min);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 2;
  letter-spacing: 0.1em;
}

.entry-body p {
  margin: 0 0 1em;
}

.entry-body p:last-child {
  margin-bottom: 0;
}

/* 詳細ページのページャー */
.pager--detail {
  margin-top: 48px;
}

/* ============================================================
   記事詳細 レスポンシブ（スマホ）
   ============================================================ */
@media (max-width: 768px) {
  .entry-section {
    padding: 40px 20px 80px;
  }

  .entry-title__heading {
    font-size: 24px;
  }

  .entry-body {
    font-size: 15px;
  }
}
