@charset "UTF-8";

/* ========================================================================== */
/* SUB_PAGE_HEADER */
/* ========================================================================== */
.sub_page_header { background-image: url("../images/info/sub_header_bg.jpg"); }


/* ========================================================================== */
/* PAGINATION（ページネーション） */
/* ========================================================================== */
.pager {
   margin-top: 40px;
   text-align: center;
}

.pager a,
.pager span {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   min-width: 36px;
   min-height: 36px;
   margin: 0 3px;
   padding: 8px;
   border: 1px solid #C0C3C7;
   box-sizing: border-box;
   font-family: 'Roboto', 'Noto Sans JP', sans-serif;
   line-height: 1;
   text-decoration: none;
   transition: border 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.pager span.dots {
   min-width: auto;
   padding: 8px 0;
   border: none;
}

/* 現在のページの装飾 */
.pager span.current {
   background-color: #232D3B;
   border-color: #232D3B;
   color: #FFF;
   font-weight: 700;
}

/* PREV / NEXT ボタンの調整（お好みで） */
.pager a.prev,
.pager a.next {
   background: #F4F5F5;
}

.pager a:hover {
   color: #FA5B22;
   background-color: transparent;
   border-color: #FA5B22;
   opacity: 1;
}

/* ==========================================
   レスポンシブ対応（追記部分）
   ========================================== */

/* タブレット・小型PCサイズ（1024px以下） */
@media screen and (max-width: 1024px) {
   .pager {
      margin-top: 30px; /* 上部余白を少し狭める */
   }
   .pager a,
   .pager span {
      min-width: 32px;  /* 36px → 32px に縮小 */
      min-height: 32px; /* 36px → 32px に縮小 */
      padding: 6px;     /* 内側余白を調整 */
      font-size: 14px;  /* 文字サイズを少し小さく */
   }
}

/* スマートフォンサイズ（768px以下） */
@media screen and (max-width: 768px) {
   .pager {
      margin-top: 20px; /* さらに上部余白を狭める */
      display: flex;    /* 横並びの制御を強化 */
      justify-content: center;
      flex-wrap: nowrap; /* 画面幅が狭くても強制的に1行に収める */
      overflow-x: auto;  /* 万が一溢れた場合は横スクロールさせる（崩れ防止） */
      -webkit-overflow-scrolling: touch;
      padding: 0 10px;
   }
   .pager a,
   .pager span {
      min-width: 28px;  /* 32px → 28px に縮小 */
      min-height: 28px; /* 32px → 28px に縮小 */
      margin: 0 2px;    /* ボタン間の隙間を狭める */
      padding: 4px;     /* 内側余白を最小限に */
      font-size: 13px;  /* 文字サイズをさらに微調整 */
   }
   .pager span.dots {
      padding: 4px 0;   /* ドット部分の余白も合わせる */
   }
}








.entry-body {
   margin-bottom: 50px;
   font-size: 16px;
   line-height: 1.95;
   text-align: justify;
}

.entry-body a {
   color: #22B5FA;
   transition: color 0.3s ease;
}

.entry-body a:hover {
   color: #FA5B22;
   /*text-decoration: underline;*/
   opacity: 1;
}

