@charset "UTF-8";
/* お知らせ（一覧・詳細）ページ専用のスタイル。ほかのページの CSS（column.css など）には頼らない */

/* 一覧 */
.news { padding: var(--block-100px) 0 var(--block-120px); }
.news .container_m { max-width: 1000px; }
.news-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line, #D1DBDD); }
.news-item { border-bottom: 1px solid var(--line, #D1DBDD); }
.news-item a {
  display: grid; grid-template-columns: 6.5em 7em 1fr; align-items: center; gap: 12px 28px; /* 日付とラベルの幅を固定して、タイトルの頭をそろえる */
  padding: 28px 44px 28px 8px; color: inherit; text-decoration: none; position: relative; transition: background-color .3s;
}
.news-item a::after { /* 右端の矢印（トップのお知らせと同じ） */
  content: ""; position: absolute; right: 12px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: url(../common/img/common/arrow-next-text_color.svg) no-repeat center / contain;
}
.news-item a:hover { background-color: var(--gray-bg, #F4F6F8); }
.news-item a:hover .news-title { color: var(--navy); }
.news-item time { font-family: "Outfit", sans-serif; font-size: 1rem; letter-spacing: .05em; color: var(--text-sub, #666); }
.news-item .category { justify-self: start; min-width: 8.5em; padding-inline: 0; text-align: center; }
.news-title { font-weight: 500; font-size: 1.0625rem; line-height: 1.7; transition: color .3s; }

/* 詳細（WordPress の single.php にそのまま置き換えやすい、最小限の形） */
.news-detail { padding: var(--block-100px) 0 var(--block-120px); }
.news-detail .container_m { max-width: 900px; }
.news-meta { display: flex; align-items: center; gap: 18px; }
.news-meta .category { min-width: 8.5em; padding-inline: 0; text-align: center; }
.news-meta time { font-family: "Outfit", sans-serif; font-size: 1rem; letter-spacing: .05em; color: var(--text-sub, #666); }
.news-detail-title { margin: 20px 0 0; padding-bottom: 28px; border-bottom: 1px solid var(--line, #D1DBDD); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); line-height: 1.6; }
/* 本文（the_content）：段落・見出し2・リスト・リンクだけ */
.news-detail-body { margin-top: 40px; }
.news-detail-body > * + * { margin-top: 1.4em; }
.news-detail-body p, .news-detail-body li { font-size: 1rem; line-height: 2; }
.news-detail-body h2 { margin-top: 2.4em; font-weight: 500; font-size: 1.25rem; line-height: 1.6; }
.news-detail-body ul { padding-left: 1.4em; list-style: disc; }
.news-detail-body ol { padding-left: 1.6em; list-style: decimal; }
.news-detail-body ul li { list-style: disc; } .news-detail-body ol li { list-style: decimal; } /* サイト共通の CSS で消えているリストの印を、本文だけ戻す */
.news-detail-body a { color: var(--navy); text-decoration: underline; }
.news-detail .btn-wrap { margin-top: 64px; }
@media screen and (max-width: 880px) {
  .news { padding: 60px 0 80px; }
  .news-item a { grid-template-columns: max-content 1fr; padding: 22px 36px 22px 4px; gap: 10px 16px; }
  .news-title { grid-column: 1 / -1; font-size: 1rem; }
  .news-detail { padding: 60px 0 80px; }
}

/* ページ送り（一覧の下）：サイトの部品に合わせる
   番号＝コラムのカテゴリボタンと同じ白地＋細い枠（今のページは紺）／前へ・次へ＝ボタンと同じ紺の丸に白い矢印 */
.pagination { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 64px; }
.pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 48px; height: 48px; padding: 0 4px;
  background-color: #FFF; border: 1px solid var(--line, #D1DBDD); border-radius: 999px;
  color: var(--text, #222); font-weight: 500; font-size: .9375rem; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.pagination a.page-numbers:hover { border-color: var(--navy); color: var(--navy); }
.pagination .page-numbers.current { background-color: var(--navy); border-color: var(--navy); color: #FFF; }
.pagination .page-numbers.dots { min-width: auto; border: none; background: none; }
.pagination .prev, .pagination .next {
  display: inline-flex; align-items: center; gap: 10px; min-width: auto; height: auto; padding: 0;
  border: none; border-radius: 0; background: none; color: var(--primary-color, var(--navy));
}
.pagination .prev:hover, .pagination .next:hover { border: none; opacity: .75; }
.pagination .prev { margin-right: auto; }
.pagination .next { margin-left: auto; }
.pagination .prev::before, .pagination .next::after {
  content: ""; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--primary-color, var(--navy)) url(../common/img/common/arrow-next-white.svg) no-repeat center;
}
.pagination .prev::before { transform: scaleX(-1); }
.pagination .prev.is-disabled { opacity: .3; pointer-events: none; }
@media screen and (max-width: 880px) {
  /* スマホ：1段目に番号、2段目の左右に「前の10件」「次の10件」 */
  .pagination { flex-wrap: wrap; gap: 10px 8px; margin-top: 44px; }
  .pagination .page-numbers { min-width: 42px; height: 42px; }
  .pagination .page-numbers.dots { min-width: auto; }
  .pagination .prev, .pagination .next { flex: 0 0 calc(50% - 4px); height: auto; margin: 16px 0 0; }
  .pagination .prev { order: 2; justify-content: flex-start; }
  .pagination .next { order: 3; justify-content: flex-end; }
}
/* ヒーローの紺の高さ：コラム・皆実（下に帯が48px重なる）と、見える高さ・タイトル位置をそろえる */
.page-hero--navy.page-hero--no-bar {
  height: calc(500px - 48px);
  .page-hero-inner { bottom: calc(var(--block-80px)); }
}
@media screen and (max-width: 560px) {
  .page-hero--navy.page-hero--no-bar {
    height: calc(420px - 40px);
    .page-hero-inner { bottom: calc(var(--block-80px)); }
  }
}
