/* SPのみ追加 */
@media only screen and (max-width:641px) {

  /* 背景画像を正しく表示させる */
  .bd-webp #page .bg-document::before {
    height: 100vh !important;         /* ビューポート高さに固定 */
    min-height: 100vh !important;
    padding-bottom: 0 !important;     /* iOSで高さ再計算されるのを防ぐ */
    transform: translateZ(0) !important;  /* GPUレイヤー化でスクロール暴走防止 */
    will-change: transform !important;
    z-index: -1 !important;            /* 前景要素を描画できるように */
  }

  /* 前景コンテンツを背景より上に持ってくる */
  #page {
    position: relative;
    z-index: 1;
  }
}


@media (max-width: 960px) {
  .bd-webp #bk28649 {
    background-attachment: scroll;
    /* background-position はJSに任せる */
  }
}


/* =========================================================
   フェードイン（下から） — 全要素対象、動きを少なく・フェード長め
========================================================= */
.-fadeInUp {
  opacity: 0;
  transform: translateY(15px); /* 動きを小さく */
  will-change: opacity, transform;
  animation: hc_fadeInBottom 1.4s cubic-bezier(.14,.84,.36,1) 0.12s both; /* 少し長め */
}

@keyframes hc_fadeInBottom {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .-fadeInUp {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* ===============================
   ページネーション全体
=============================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

/* ===============================
   共通ボタン
=============================== */
.pagination li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e3e7eb;
  color: #444;
  text-decoration: none;
  transition: all .2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}

.pagination li a:hover {
  background: #f4f8fb;
  border-color: #c9dbea;
  color: #2f5f8f;
  text-decoration: none;
}

/* ===============================
   現在ページ
=============================== */
.pagination li.current a {
  background: #2f5f8f;
  color: #fff;
  border-color: #2f5f8f;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(47,95,143,.25);
  pointer-events: none;
}

/* ===============================
   back / next 日本語化
=============================== */

/* 元の英語を消す */
.pagination li.previous span,
.pagination li.next span {
  font-size: 0;
}

/* 日本語を表示 */
.pagination li.previous span::before {
  content: "‹ 前へ";
  font-size: 14px;
  display: inline-block;
}

.pagination li.next span::before {
  content: "次へ ›";
  font-size: 14px;
  display: inline-block;
}

/* ===============================
   スマホ対応
=============================== */
@media (max-width: 640px) {
  .pagination {
    gap: 6px;
  }

  .pagination li a {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
    padding: 0 10px;
  }

  .pagination li.previous span::before {
    content: "‹ 前";
  }

  .pagination li.next span::before {
    content: "次 ›";
  }
}


/* =====================================
   個別記事ページ（single）
===================================== */

/* 全体幅 */
.single_container {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}

/* 記事タイトル */
.single_title {
  font-size: 26px;
  font-weight: 600;
  color: #2f5f8f;
  text-align: center;
  line-height: 1.5;
  margin: 0 0 12px;
}

/* 日付・カテゴリ */
.single_container .topics-area {
  text-align: center;
  margin-bottom: 32px;
}

.single_container .topics-area .date {
  font-size: 14px;
  color: #666;
}

.single_container .topics-area .date span {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 12px;
  font-size: 12px;
  border-radius: 999px;
  background: #eef3f7;
  color: #2f5f8f;
  vertical-align: middle;
}

/* =====================================
   個別ページ：お知らせタグをTOPと同色に
===================================== */

.single_container .topics-area .date span.tags-news {
  background: #f7f7f7;
  border: 1px solid #d6d6d6;
  color: #444;
  font-weight: 500;
}


/* 本文 */
.service_single {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
}

.service_single p {
  margin-bottom: 1.4em;
}

/* =====================================
   下部ナビ（前・次・一覧）最終版
===================================== */

.single_container .ovH.colWrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #e6eaee;
}

/* 左：前の記事 */
.single_container .ovH.colWrap > .col-4:first-child {
  justify-self: start;
  text-align: left;
}

/* 中央：一覧へ戻る（常に真ん中） */
.single_container .ovH.colWrap > .col-4:nth-child(2) {
  justify-self: center;
  text-align: center;
}

/* 右：次の記事（あってもなくてもOK） */
.single_container .ovH.colWrap > .col-4:nth-child(3) {
  justify-self: end;
  text-align: right;
}

/* 総合一覧へ戻る（完全非表示） */
.single_container .ovH.colWrap > .col-12 {
  display: none;
}

/* =====================================
   前・次リンク（一覧ページと同トーン）
===================================== */

.single_container .halfLeft a,
.single_container .halfRight a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e3e7eb;
  color: #444;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
  transition: all .2s ease;
}

.single_container .halfLeft a:hover,
.single_container .halfRight a:hover {
  background: #f4f8fb;
  border-color: #c9dbea;
  color: #2f5f8f;
}

/* =====================================
   中央：一覧へ戻るボタン
===================================== */

.single_container .list_btn_area .button_blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 22px;
  border-radius: 999px;
  background: #2f5f8f;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(47,95,143,.25);
  transition: opacity .2s ease;
}

.single_container .list_btn_area .button_blue:hover {
  opacity: 0.85;
}



/* =====================================
   スマホ対応
===================================== */

@media (max-width: 640px) {
  .single_container .ovH.colWrap {
    flex-direction: column;
    gap: 16px;
  }

  .single_container .ovH.colWrap > .col-4 {
    text-align: center !important;
  }

  .single_container .halfLeft a,
  .single_container .halfRight a,
  .single_container .list_btn_area .button_blue {
    height: 32px;
    font-size: 13px;
    padding: 0 14px;
  }
}


/* =====================================
   タイトル下の区切り（h2 → 本文）
===================================== */

.single_container {
  position: relative;
  margin-top: 48px; /* タイトルとの余白 */
}

/* 薄い区切り線 */
.single_container::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 50%;
  width: 60px;
  height: 1px;
  background: #cfd8e3;
  transform: translateX(-50%);
}





/* ===============================
   ページタイトル共通（トップと統一）
=============================== */

/* 英字タイトル */
.page_title_eng {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #8fa2b3;
  text-align: center;
  margin-bottom: 6px;
  font-weight: 500;
}

/* 日本語タイトル */
.page_title {
  font-size: 26px;
  font-weight: 600;
  color: #2f5f8f;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

/* タイトル全体の余白（必要なら） */
.container .page_title_eng {
  margin-top: 0;
}

@media (max-width: 640px) {
  .page_title_eng {
    font-size: 12px;
    letter-spacing: 0.15em;
  }

  .page_title {
    font-size: 22px;
  }
}

/* ========== 記事タイトルの見出し ========== */
.single .page_title_eng,
.single .page_title {
  text-align: center;
  margin-bottom: 4px;
}

/* 英字タイトル */
.single .page_title_eng {
  font-size: 13px;
  letter-spacing: .18em;
  color: #8fa2b3;
  margin-top: 0;
  font-weight: 500;
}

/* 和文タイトル */
.single .page_title {
  font-size: 26px;
  font-weight: 600;
  color: #2f5f8f;
  margin: 0 0 16px;
  line-height: 1.4;
}

/* ========== 記事情報（日付・カテゴリ） ========== */
.article-meta {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

/* ========== 本文エリア ========== */
.article-content {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 32px;
}

/* リスト */
.article-content p,
.article-content ul,
.article-content ol {
  margin-bottom: 16px;
}

/* リンク */
.article-content a {
  color: #2f5f8f;
  text-decoration: underline;
}
.article-content a:hover {
  text-decoration: none;
}

/* ========== リストへ戻るリンク ========== */
.single .back-links {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
}

.single .back-links a {
  color: #2f5f8f;
  text-decoration: none;
  border-bottom: 1px solid #2f5f8f;
  transition: .2s;
}

.single .back-links a:hover {
  border-bottom: 2px solid #2f5f8f;
}

/* ========== スマホ対応 ========== */
@media (max-width: 640px) {
  .single .page_title {
    font-size: 22px;
  }
  .article-content {
    font-size: 15px;
  }
}

/* ========== 個別ページ ========== */
.single .page_title_eng,
.single .page_title {
  text-align: center;
  margin-bottom: 4px;
}

/* 英字タイトル */
.single .page_title_eng {
  font-size: 13px;
  letter-spacing: .18em;
  color: #8fa2b3;
  margin-top: 0;
  font-weight: 500;
}

/* 和文タイトル */
.single .page_title {
  font-size: 26px;
  font-weight: 600;
  color: #2f5f8f;
  margin: 0 0 16px;
  line-height: 1.4;
}

/* ========== 記事情報（日付・カテゴリ） ========== */
.article-meta {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

/* ========== 本文エリア ========== */
.article-content {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 32px;
}

/* リスト */
.article-content p,
.article-content ul,
.article-content ol {
  margin-bottom: 16px;
}

/* リンク */
.article-content a {
  color: #2f5f8f;
  text-decoration: underline;
}
.article-content a:hover {
  text-decoration: none;
}

/* ========== リストへ戻るリンク ========== */
.single .back-links {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
}

.single .back-links a {
  color: #2f5f8f;
  text-decoration: none;
  border-bottom: 1px solid #2f5f8f;
  transition: .2s;
}

.single .back-links a:hover {
  border-bottom: 2px solid #2f5f8f;
}

/* ========== スマホ対応 ========== */
@media (max-width: 640px) {
  .single .page_title {
    font-size: 22px;
  }
  .article-content {
    font-size: 15px;
  }
}


/* =====================================
   INFORMATION / NEWS 一覧（共通）
===================================== */

/* コンテンツ幅を中央寄せ */
.column.-column1 {
  width:90%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* リスト全体 */
.top_info_list {
  list-style: none;
  margin-top: 10px;
  padding: 0;
  border-top: 1px solid #e6e6e6;
}

/* 各記事 */
.top_info_list li {
  display: flex;
  gap: 20px;
  padding: 14px 0;
}

/* 日付＋タグ */
.top_info_list .topics-area {
  min-width: 150px;
  flex-shrink: 0;
}

.top_info_list .date {
  margin: 0;
  font-size: 14px;
  color: #666;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* タグ共通 */
.top_info_list .tags-info,
.top_info_list .tags-news {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.4;
  color: #444;
  background: #f7f7f7;
  border: 1px solid #d6d6d6;
  border-radius: 3px;
}

/* タイトル */
.top_info_list .info-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  font-weight: normal;
}

.top_info_list .info-title a {
  color: #014099;
  text-decoration: none;
}

.top_info_list .info-title a:hover {
  text-decoration: underline;
}

/* =====================================
   スマホ対応
===================================== */

@media (max-width: 640px) {
  .top_info_list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 0;
  }

  .top_info_list .topics-area {
    min-width: auto;
  }

  .top_info_list .date {
    font-size: 13px;
  }

  .top_info_list .info-title {
    font-size: 15px;
  }
}


/* 「ご案内」タグ */
.top_info_list .tags-info {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.4;
  color: #2f5f8f;
  background: #f2f6f9;
  border: 1px solid #cfddea;
  border-radius: 3px;
  white-space: nowrap;
}

/* タイトル */
.top_info_list .info-title {
  margin: 0;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.7;
}

.top_info_list .info-title a {
  color: #014099;
  text-decoration: none;
}

.top_info_list .info-title a:hover {
  text-decoration: underline;
}

/* SP対応 */
@media (max-width: 768px) {
  .top_info_list li {
    flex-direction: column;
    gap: 6px;
    padding: 12px 0;
  }

  .top_info_list .topics-area {
    min-width: auto;
  }

  .top_info_list .date {
    font-size: 13px;
  }

  .top_info_list .info-title {
    font-size: 15px;
  }
}

/* INFORMATION 共通 */
.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #e6e6e6;
}

.info-date {
  font-size: 14px;
  color: #666;
  min-width: 95px;
  flex-shrink: 0;
}

.info-title {
  font-size: 15px;
  color: #222;
  text-decoration: none;
  line-height: 1.6;
}

.info-title:hover {
  text-decoration: underline;
}

/* ラベル共通 */
.info-label {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 3px;
  line-height: 1.4;
  white-space: nowrap;
}

/* ご案内（info） */
.info-label-info {
  background: #f2f6f9;
  color: #2f5f8f;
  border: 1px solid #cfddea;
}

/* お知らせ（news） */
.info-label-news {
  background: #f7f7f7;
  color: #444;
  border: 1px solid #d6d6d6;
}

/* スマホ対応 */
@media (max-width: 640px) {
  .info-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .info-date {
    font-size: 13px;
    min-width: auto;
  }
}