/* =============================================
   お知らせ一覧ページ専用CSS（news.css）
   ============================================= */

.news-page {
  padding-top: 0;
}

/* ── ① ヒーロー ── */
.news-hero {
  position: relative;
  width: 100%;
  height: 570px;
  overflow: hidden;
}
.news-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  gap: 8px;
}
.news-hero__title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 0.2em;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.news-hero__sub {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ── ② パンくずリスト ── */
.news-breadcrumb {
  background-color: #ffffff;
  padding: 16px 0;
  border-bottom: 1px solid #e8eef5;
}
.news-breadcrumb__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-breadcrumb__link {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #0051a3;
  text-decoration: none;
  transition: opacity 0.2s;
}
.news-breadcrumb__link:hover {
  opacity: 0.7;
}
.news-breadcrumb__arrow {
  font-size: 10px;
  color: #4f4f4f;
}
.news-breadcrumb__current {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #4f4f4f;
}

/* ── ③ お知らせリスト ── */
.news-list-section {
  padding: 48px 0 64px;
  background-color: #fbf9f6;
}
.news-list-section__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 白背景カード */
.news-list-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 40px 48px;
}

/* 各お知らせアイテム */
.news-list__item {
  display: block;
  text-decoration: none;
  padding: 24px 0 0;
  transition: opacity 0.2s;
}
.news-list__item:hover {
  opacity: 0.7;
}
.news-list__item:first-child {
  padding-top: 0;
}

/* 日付 */
.news-list__date {
  font-family: 'Dela Gothic One', sans-serif;
  font-weight: normal;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: #0051a3;
  margin-bottom: 8px;
}

/* 見出し */
.news-list__title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: #4f4f4f;
  margin-bottom: 20px;
}

/* 波線区切り */
.news-list__divider {
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='6' viewBox='0 0 40 6'%3E%3Cpath d='M0 3 Q5 0 10 3 Q15 6 20 3 Q25 0 30 3 Q35 6 40 3' stroke='%230051a3' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 40px 6px;
  opacity: 0.3;
}

/* ── ④ ページネーション ── */
.news-pagination {
  padding: 48px 0 80px;
  background-color: #fbf9f6;
}
.news-pagination__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.news-pagination__num {
  font-family: 'Dela Gothic One', sans-serif;
  font-size: 22px;
  letter-spacing: 0.05em;
  color: #0051a3;
  text-decoration: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}
.news-pagination__num:hover {
  background-color: #0051a3;
  color: #ffffff;
}
.news-pagination__num--active {
  background-color: #0051a3;
  color: #ffffff;
}
.news-pagination__text {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: #0051a3;
  text-decoration: none;
  padding: 8px 12px;
  transition: opacity 0.2s;
}
.news-pagination__text:hover {
  opacity: 0.7;
}



/* =============================================
   お知らせ詳細ページ
   ============================================= */

/* ── 記事本文エリア ── */
.news-single {
  padding: 64px 0 80px;
  background-color: #fbf9f6;
}
.news-single__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 波線 */
.news-single__wave {
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='8' viewBox='0 0 40 8'%3E%3Cpath d='M0 4 Q5 0 10 4 Q15 8 20 4 Q25 0 30 4 Q35 8 40 4' stroke='%230051a3' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 40px 8px;
  opacity: 0.4;
  margin: 24px 0;
}

/* 日付 */
.news-single__date {
  font-family: 'Dela Gothic One', sans-serif;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: #0051a3;
  margin-bottom: 12px;
}

/* 見出し */
.news-single__title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: #0051a3;
}

/* 本文 */
.news-single__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}
.news-single__body p {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #4f4f4f;
}

/* お知らせ一覧ボタン */
.news-single__btn-wrap {
  display: flex;
  justify-content: center;
}
.news-single__btn {
  display: inline-block;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: #ffffff;
  background-color: #0051a3;
  padding: 14px 56px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}
.news-single__btn:hover {
  background-color: #003d80;
  transform: translateY(-2px);
}

/* ── 前後ナビゲーション ── */
.news-nav {
  background-color: #0051a3;
  padding: 0;
}
.news-nav__inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* 前後共通 */
.news-nav__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 32px;
  text-decoration: none;
  transition: background-color 0.2s;
}
.news-nav__item:hover {
  background-color: rgba(255,255,255,0.1);
}

/* 前の記事（左） */
.news-nav__item--prev {
  border-right: 1px solid rgba(255,255,255,0.2);
}

/* 次の記事（右） */
.news-nav__item--next {
  justify-content: flex-end;
}

/* 矢印 */
.news-nav__arrow {
  font-size: 20px;
  color: #ffffff;
  flex-shrink: 0;
}

/* テキストコンテンツ */
.news-nav__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.news-nav__content--right {
  text-align: right;
}
.news-nav__date {
  font-family: 'Dela Gothic One', sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.8);
}
.news-nav__title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1.5;
}

/* =============================================
   news.css SP対応（統合）
   ============================================= */
@media (max-width: 768px) {
  /* 一覧ページ */
  .news-page { padding-top: 0; }
  .news-hero { height: 200px; }
  .news-hero__title { font-size: 22px; }
  .news-hero__sub { font-size: 12px; }

  .news-breadcrumb__inner { padding: 0 16px; }
  .news-breadcrumb__link,
  .news-breadcrumb__current { font-size: 12px; }

  .news-list-section { padding: 32px 0 48px; }
  .news-list-section__inner { padding: 0 16px; }
  .news-list-card { padding: 20px 16px; border-radius: 12px; }

  .news-list__item { padding: 18px 0 0; }
  .news-list__date { font-size: 15px; margin-bottom: 6px; }
  .news-list__title { font-size: 14px; margin-bottom: 16px; }

  .news-pagination { padding: 32px 0 60px; }
  .news-pagination__num { font-size: 16px; width: 32px; height: 32px; }
  .news-pagination__text { font-size: 13px; padding: 6px 8px; }

  /* 詳細ページ */
  .news-single { padding: 32px 0 48px; }
  .news-single__inner { padding: 0 16px; }
  .news-single__title { font-size: 18px; }
  .news-single__body p { font-size: 14px; }
  .news-single__btn { padding: 12px 32px; font-size: 14px; }

  .news-nav__inner { grid-template-columns: 1fr; }
  .news-nav__item--prev { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .news-nav__item { padding: 18px 16px; }
  .news-nav__title { font-size: 13px; }
}
