/* ======================================================
  information.css
====================================================== */

/* ==============================
   Pager 共通
============================== */
.embed-information .pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 24px 0;
  min-height: 36px;
}

/* ==============================
   Pager 共通（形・サイズ）
============================== */
.embed-information .pager a,
.embed-information .pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 24px;
  padding: 0 4px;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  border-radius: 6px;
}

/* ==============================
   非アクティブ（通常）
============================== */
.embed-information .pager a {
  color: #003357;
  border: 1px solid rgba(3, 78, 149, 0.35);
  transition: background-color 0.2s ease,
              border-color 0.2s ease,
              color 0.2s ease;
}

/* hover（PCのみ体感が出る） */
.embed-information .pager a:hover {
  background-color: rgba(3, 78, 149, 0.15);
  border-color: rgba(3, 78, 149, 0.6);
  color: #003357;
}

/* ==============================
   current（今のページ）
============================== */
.embed-information .pager .current {
  min-width: 28px;
  font-weight: 600;
  background-color: rgba(3, 78, 149, 0.9);
  color: #fff;
  border: none;
  cursor: default;
}

/* ==============================
   使えないボタン
============================== */
.embed-information .pager .disabled,
.embed-information .pager .inactive {
  visibility: visible;   /* ← 明示しておく */
  opacity: 0.35;
  pointer-events: none;
  border-color: rgba(3, 78, 149, 0.25);
  background-color: rgba(3, 78, 149, 0.05);
}

.embed-information .news-date {
  display: inline-block;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #003357;
  background-color: #eef3f7;
  border-radius: 4px;
}


/* ==============================
   戻るボタン
============================== */
.embed-information .news-back {
  margin: 48px 0;
  text-align: center;
}

/* pager current と同一デザイン */
.embed-information .btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 48px;
  padding: 12px 24px;
  font-size: 14px;

  background-color: rgba(3, 78, 149, 0.9);
  color: #fff;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: none;
}

/* hoverもpager currentと同じ＝ほぼ変化なし */
.embed-information .btn-back:hover {
  background-color: rgba(3, 78, 149, 0.9);
  color: #fff;
  transform: none;
}

/* ==============================
   詳細画面画像
============================== */
.embed-information .detailUpfile{
  padding-top:30px;
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 850px;
}
/* ==============================
   レスポンシブ
============================== */

@media screen and (min-width: 769px) {

  .embed-information .pager {
    gap: 8px;
  }
}
@media screen and (max-width: 768px) {

  .contents-wrap.no-photo .contents-text {
    width: 100%;
    align-self: stretch;
  }

  .embed-information .detailUpfile{
    padding-top:20px;
  }

/* ==============================
   Pager 共通
============================== */
  /* Pager 配置 */
  .embed-information .pager {
    justify-content: space-between;
  }

  /* Prev / Next 以外は全部消す */
  .embed-information .pager > *:not(:first-child):not(:last-child) {
    display: none !important;
  }

  /* Prev / Next 共通（囲う） */
  .embed-information .pager a:first-child,
  .embed-information .pager a:last-child {
    background-color: transparent;
    border: 1px solid rgba(3, 78, 149, 0.35);
    border-radius: 6px;
    position: relative;
    font-size: 0;
    font-weight: 400;
    height: 36px;
    padding: 0 10px;
  }

  /* 前へ */
  .embed-information .pager a:first-child::before {
    content: "« 前へ";
    font-size: 14px;
    color: #003357;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  /* 次へ */
  .embed-information .pager a:last-child::after {
    content: "次へ »";
    font-size: 14px;
    color: #003357;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  
  /* SPでは使えない Prev / Next を完全に消す */
  .embed-information .pager .disabled,
  .embed-information .pager .inactive {
    font-size: 0;
  }
}

