@media screen and (min-width: 1440px) {
  .archive_all {
    padding: 0 20rem;
  }
}


/* お知らせページ全体を包み込む大外の箱 */
.archive_all {
  width: 90%;
  margin: 5rem auto;
  font-family: 'Zen Maru Gothic';
}

/* 「ロゴ画像」と『お知らせ一覧・新着情報』を横並びにするための親ボックスの設定 */
.hed_wrap {
  display: flex;
  align-items: center;
  border-left: solid 0.5rem #2C4A34;
  margin-top: 1.5rem;
  gap: 2rem;
}

/* ロゴの大きさ。ロゴと左の｜線との余白設定。 */
.logo {
  width: 9rem;
  height: auto;
  padding-left: 2rem;
}

/* 「お知らせ一覧」という大見出しのフォントの大きさと色を設定 */
.archive_heading {
  font-size: 3.5rem;
  color: #2C4A34;
}

/* 「NEWS」という英語の」という英語のサブタイトルのフォントや大きさ、色を設定 */
.heading_news {
  font-family: 'Roboto Slab', serif;
  font-size: 2rem;
  color: #2C4A34;
}

/* 英語タイトルの左側に自動的に「－」（ダッシュ記号）の設定 */
.heading_news::before {
  content: "－";
  margin-right: 0.3rem;
}

/* タイトルエリアと投稿記事一覧の間の余白の設定 */
.information_box {
  margin-top: 2rem;
}

/* 記事リストを縦方向に並べ、通常のリストマーク（黒い点）を消去 */
.information_wrap {
  display: flex;
  justify-content: center;
  flex-direction: column;
  list-style: none;
  color: black;
}

/* 記事全体を囲むリンクの下線を消し、文字色を黒に指定 */
.info_line {
  text-decoration: none;
  color: black;
}

/* 記事の中身（日付・タイトル・本文）の左右に余白を持たせて、端に寄りすぎないように調整 */
.information_wrap_small {
  margin: auto 3rem;
}

/* 投稿日の文字サイズを設定。上の要素との間の余白。 */
.information_date {
  font-size: 3.2rem;
  margin-top: 2.5rem;
}

/* 記事タイトルの文字サイズを設定。日付との間の余白。 */
.information_title {
  font-size: 3.2rem;
  margin-top: 2rem;
  overflow-wrap: break-word;
}

/* 記事の本文エリアの上下に余白を設定 */
.information_indetail {
  margin: 2rem auto;
}

/* 記事本文（段落）の文字サイズ */
.news_content p {
  font-size: 2rem;
  overflow-wrap: break-word;
}

/* 記事と記事の間の横線の上の余白 */
hr {
  margin-top: 1rem;
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
　　　　ページネーション
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

/* 記事一覧の下にあるページ切り替えボタン全体を横並びで中央揃えにし、ボタン同士の間隔や上の余白を調整 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  margin-top: 5rem;
  margin-bottom: 8rem;
  font-family: 'Zen Maru Gothic', sans-serif;
}

/* ページ番号のボタンを綺麗な丸型にし、背景と文字のデザイン */
.pagination .page-numbers {
  margin-top: 7rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  border: 0rem solid #000;
  border-radius: 50%;
  text-decoration: none;
  color: #2C4A34;
  background: rgba(94, 173, 159, 0.5);
  font-size: 2.3rem;
  font-weight: bold;
}

/* 「次へ」ボタンの丸や背景を消して、画像だけ表示させる */
.pagination .page-numbers.next {
  background: transparent;
  /* 背景色を透明にする */
  border-radius: 0;
  /* 丸みをなくす */
  width: auto;
  /* 幅の固定を解除 */
  height: auto;
  /* 高さの固定を解除 */
}

.pagination .page-numbers.prev {
  background: transparent;
  /* 背景色を透明にする */
  border-radius: 0;
  /* 丸みをなくす */
  width: auto;
  /* 幅の固定を解除 */
  height: auto;
  /* 高さの固定を解除 */
}

/* 今何ページ目にいるかを表す「現在のページ番号」の背景色を、他のボタンとは違うコーラルピンク系の色に変える */
.pagination .page-numbers.current {
  background: rgba(236, 119, 124, 0.7);
  color: #2C4A34;
}

/* 矢印画像の横幅 */
.pnarrow {
  width: 3.5rem;
  height: auto;
}

/* ==========================================
   スマホでの改行（sp-br）と「・（dot）」の切り替え設定
   ================================---------- */

/* デフォルト（パソコン等の広い画面）では「・」を表示し、改行タグは非表示にする */
.dot {
  display: inline;
}

/* 改行タグを非表示（none）にしておき、1行で繋げて表示させ */
.sp-br {
  display: none;
}


/* 画面幅が1024px以下 */
@media screen and (max-width: 1024px) {

  /* ヘッダー見出しのサイズ */
  .heading {
    font-size: 3.5rem;
  }

  /* 記事タイトル上の余白  */
  .information_title {
    margin-top: 1.2rem;
  }

  .archive_heading {
    font-size: 3.7rem;

  }

  .heading_news {

    font-size: 3rem;
  }
}

/* 画面幅が768px以下 */
@media screen and (max-width: 768px) {

  /* お知らせ一覧の左のロゴの大きさ */
  .logo {
    width: 11rem;
    padding-left: 1.5rem;
  }

  /* 「ロゴ画像」と『お知らせ一覧・新着情報』親ボックスの設定 */
  .hed_wrap {
    gap: 2rem;
    border-left: solid 5px #2C4A34;
  }

  .archive_heading {
    font-size: 3rem;

  }

  .heading_news {
    font-size: 2.5rem;
  }

  /* ヘッダー見出しのサイズ */
  .heading {
    font-size: 3rem;
  }

  /* 記事タイトル上の余白  */
  .information_title {
    margin-top: 1.2rem;
  }

  /* スマホでは「・」を非表示にする */
  .dot {
    display: none;

  }
}

/* 画面幅が768px以下 */
@media screen and (max-width: 480px) {

  /* お知らせ一覧の左のロゴの大きさ */
  .logo {
    width: 6.5rem;
  }

  /* ヘッダー見出しのサイズ */
  .heading {
    font-size: 3.5rem;
  }

  /* 英語のサブタイトルのフォントや大きさ */
  .heading_news {
    font-size: 1.6rem;
  }

  /* 「お知らせ一覧」という大見出しのフォントの大きさ */
  .archive_heading {
    font-size: 2.3rem;

  }

  .pagination {
    gap: 2rem;
  }

  .information_wrap_small{
    margin: auto 0;
  }

  /* 記事一覧の下にあるページ切り替えボタン全体 */
  .pagination .page-numbers {
    aspect-ratio: 1 / 1;
    /* ← この行を追加（縦横比を強制的に1:1の正円にする） */
  }

  /* 投稿日の文字サイズ */
  .information_date {
    font-size: 2rem;
  }

  /* 記事タイトルの文字サイズ */
  .information_title {
    font-size: 2.3rem;
    margin-top: 1.2rem;
  }

  /* 記事本文（段落）の文字サイズ */
  .news_content p {
    font-size: 1.6rem;

  }
}