@charset "UTF-8";

/*news_list-col ■ ---------------------------------*/
.news_list{
  padding: 30px 0;
}
.news_list h4{
  font-weight: normal;
  color: #777;
  margin-bottom: 20px;
}

.news_list .img-box{
  flex-shrink: 0;
  flex-grow: 0;
  width: 80px;
  height: 80px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.news_list .img-box img{
  width: 100%;
  height: 100%;
  object-fit: cover;          /* 中央トリミング */
  object-position: center;    /* 中央に寄せる */
  aspect-ratio: 1 / 1;        /* 正方形維持（Safariでも崩れにくく） */
}
.news_list time{
  font-weight: 600;
  color:#888;
  display: block;
}
.news_list ul,.news_list h4 {
  padding: 0 30px 0 30px;
}
.news_list ul li{
  position: relative;
  padding-right: 20px;
}
.news_list ul a{
  width: 100%;
  border-bottom:  1px solid #eee;
  padding: 20px 0;
  position: relative;
  color: var(--color-link);
  display: flex;
  gap: 15px;
  font-size: 1.5rem;
}
.news_list ul a:hover{
  background: #f6fcff;
}
.news_list ul li::after{
  content: '';
  background: url('../../img/common/news_arrow.svg') no-repeat center center;
  width: 20px;
  height: 20px;
  right: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  background-size: cover; 
}
.news_list .btn a{
  font-size: 15px;
  padding: 10px 30px;
  font-weight: 400;
}
.screen-reader-text{
  display: none;
}
@media screen and (max-width: 767px) {
  .news_list-col .container{
    padding: 0;
    background: #fff;
  }
  .news_list{
    padding-top: 0;
  }
  .news_list ul{
    padding: 0 10px 0 10px;
  }
  .news_list ul a{
    display: flex;
    text-decoration: justify;
  }

}

/* ===============================
   Pagination – the_posts_pagination()
   =============================== */
:root{
  /* 必要なら色だけ変えてね */
  --pg-accent: #08348b;      /* メイン色（ナイセンクラウドの濃い青想定） */
  --pg-fg: #0a2540;          /* 文字色 */
  --pg-bg: #ffffff;          /* 背景 */
  --pg-chip-bg: #f3f7fc;     /* ボタンの通常背景 */
  --pg-chip-bd: #d8e3f1;     /* ボタンの枠線 */
  --pg-hover-bg: #e7f0ff;    /* ホバー背景 */
  --pg-focus: #8ab6ff;       /* フォーカスリング */
}

.navigation.pagination{
  margin: 28px auto 0;
  padding: 8px 0;
  background: var(--pg-bg);
}

.navigation.pagination .nav-links{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  align-items: center;
  line-height: 1;
}

/* すべてのページ番号リンクの共通スタイル */
.navigation.pagination .page-numbers{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;                 /* 数字は丸、prev/next はピル形 */
  border-radius: 9999px;
  border: 1px solid var(--pg-chip-bd);
  background: var(--pg-chip-bg);
  color: var(--pg-fg);
  font-weight: 600;
  text-decoration: none;
  transition: transform .08s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}

/* 数字だけは正円に見えるよう微調整 */
.navigation.pagination .page-numbers:not(.prev):not(.next){
  padding: 0 12px;
}

/* 現在ページ */
.navigation.pagination .page-numbers.current{
  background: var(--color-d-blue);
  border-color: var(--pg-accent);
  color: #fff;
  cursor: default;
  pointer-events: none;
}

/* 省略記号 … */
.navigation.pagination .page-numbers.dots{
  background: transparent;
  border-color: transparent;
  color: #98a2b3;
  min-width: auto;
  height: auto;
  padding: 0 2px;
  font-weight: 500;
}

/* ホバー/アクティブ */
.navigation.pagination a.page-numbers:hover{
  background: var(--pg-hover-bg);
  border-color: var(--pg-accent);
}
.navigation.pagination a.page-numbers:active{
  transform: translateY(0);
}

/* アクセシビリティ：フォーカスリング */
.navigation.pagination a.page-numbers:focus-visible{
  outline: 3px solid var(--pg-focus);
  outline-offset: 2px;
}

/* 前/次ラベルの見栄え（必要ならアイコン化） */
.navigation.pagination .prev,
.navigation.pagination .next{
  gap: 6px;
}
.navigation.pagination .prev::before{
  content: "‹";
  font-size: 18px;
  margin-right: 2px;
}
.navigation.pagination .next::after{
  content: "›";
  font-size: 18px;
  margin-left: 2px;
}

/* スモール画面で少しコンパクトに */
@media (max-width: 480px){
  .navigation.pagination .page-numbers{
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 14px;
  }
}
/*Pagination end*/


/*page_data-col ■ ---------------------------------*/
.round_box-in div{
  font-size: 1.5rem;
  line-height: 1.6em;
}
.single-release .round_box-in p{
  margin-top: 10px;
}


/*news-year-links ■ ---------------------------------*/
.news-year-links {
  margin-top: 24px;
  margin-left: 20px;
  margin-right: 20px;
}

.news-year-links ul {
  display: flex;
  gap: 16px;            /* 年の間隔 */
  flex-wrap: wrap;      /* 画面が狭いと折り返す */
  padding: 0;
  margin: 0;
  list-style: none;
}

.news-year-links li {
  margin: 0;
}

.news-year-links a {
  display: inline-block;
  padding: 6px 10px;
  text-decoration: none;
  font-weight: 600;
}