/* =========================================================
   News 一覧ページ（NAKATOMI版）
   - グレー＆ホワイト基調
   - アクセント：ピンク（ナビ色に寄せる）
   - 最大幅 950px
   ========================================================= */

/* -------------- カラー＆共通変数 -------------- */
:root {
  --nk-base:      #111;        /* 文字色 */
  --nk-sub:       #444;
  --nk-muted:     #777;

  --nk-accent:    #e07a7a;     /* アクセント（ピンク系） */
  --nk-accent2:   #f0a2a2;     /* 明るいピンク */

  --nk-bg:        #ffffff;     /* 背景 */
  --nk-panel:     #f5f5f5;     /* 薄いグレー面 */
  --nk-line:      #d9d9d9;     /* 境界線 */
  --nk-card:      #ffffff;

  --card-br:      14px;
  --thumb-br:     12px;
  --shadow-sm:    0 4px 14px rgba(0,0,0,.06);
  --shadow-md:    0 10px 22px rgba(0,0,0,.12);
  --sticky-top:   120px;
}

/* ====== 全体ラップ ====== */
.rl-news-archive-wrap {
  background: var(--nk-bg);
  padding: 56px 0 80px;
  color: var(--nk-base);
  font-family: "Noto Sans JP","Hiragino Kaku Gothic ProN","Hiragino Sans",
               "Yu Gothic Medium","Yu Gothic",Meiryo,sans-serif;
}

/* 見出しライン（左線） */
.rl-news-archive-heading {
  max-width: 950px;
  margin: 0 auto 12px;
  padding: 0 16px;
}
.rl-news-archive-main-title {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--nk-base);
  border-left: 6px solid var(--nk-accent);
  padding-left: 12px;
  margin: 0;
  line-height: 1.4;
}

/* 内部レイアウト */
.rl-news-archive-inner {
  max-width: 950px;
  margin: 0 auto;
  padding: 28px 16px 60px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) 260px;
  gap: 28px;

  /* NAKATOMIは“白基調＋薄グレー面” */
  background: var(--nk-panel);
  border-radius: 16px;
  border: 1px solid var(--nk-line);
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

/* タブレット以下は1カラム */
@media (max-width: 960px) {
  .rl-news-archive-inner {
    grid-template-columns: 1fr;
    padding-bottom: 56px;
  }
}

/* ====== News 見出し（- News -） ====== */
.news-head { margin: 0 0 18px; }

.news-title {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: .10em;
  margin: 0;
  position: relative;
  padding-left: 16px;
  line-height: 1.15;
  color: var(--nk-base);
}
.news-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: .18em;
  width: 6px;
  height: .9em;
  border-radius: 3px;
  background: var(--nk-accent);
}

/* ====== 投稿一覧（カード） ====== */
.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px; /* 少し詰めて業務感 */
}

.news-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;

  background: var(--nk-card);
  border-radius: var(--card-br);
  padding: 12px 14px;

  border: 1px solid var(--nk-line);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.news-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(224,122,122,0.7); /* アクセント薄め */
}

/* スマホでは縦並び */
@media (max-width: 720px) {
  .news-card {
    grid-template-columns: 1fr;
    padding: 12px;
  }
}

/* サムネイル枠 */
.card-thumb {
  display: block;
  border-radius: var(--thumb-br);
  overflow: hidden;
  background: #eee;
  outline: 1px solid var(--nk-line);
  outline-offset: -1px;
}
.card-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.no-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  background: #e9e9e9;
}

/* 本文ブロック */
.card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 日付・タイトル・抜粋・ボタン */
.card-date {
  font-size: 12px;
  color: var(--nk-muted);
  letter-spacing: .06em;
}

.card-title {
  font-size: clamp(13px, 2vw, 15px);
  margin: 0 0 4px;
  line-height: 1.55;
  font-weight: 700;           /* NAKATOMIは強め */
  color: var(--nk-base);
}
.card-title a {
  color: inherit;
  text-decoration: none;
  background: linear-gradient(var(--nk-accent), var(--nk-accent)) left bottom/0 2px no-repeat;
  transition: color .2s ease, background-size .22s ease;
}
.card-title a:hover {
  color: var(--nk-accent);
  background-size: 100% 2px;
}

.card-excerpt {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--nk-sub);
}

/* 「詳細」ボタン（ピンクアウトライン） */
.card-more {
  align-self: flex-start;
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;

  border: 1.6px solid var(--nk-accent);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--nk-accent);
  text-decoration: none;

  background: #fff;
  transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
}
.card-more:hover {
  background: var(--nk-accent);
  color: #fff;
  transform: translateY(-1px);
  border-color: var(--nk-accent);
}

/* スマホ微調整 */
@media (max-width: 560px) {
  .card-more { padding: 6px 12px; font-size: 11px; }
}

/* ====== ページネーション ====== */
.news-pager {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}
.news-pager .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.news-pager a,
.news-pager span {
  display: inline-block;
  min-width: 34px;
  padding: 7px 10px;
  font-size: 13px;
  border-radius: 999px;
  text-align: center;
  background: #fff;
  color: var(--nk-base);
  text-decoration: none;
  border: 1px solid var(--nk-line);
}
.news-pager .current {
  background: var(--nk-accent);
  color: #fff;
  border-color: transparent;
}

/* ====== 右：バックナンバーサイドバー ====== */
.news-side {
  position: sticky;
  top: var(--sticky-top);
  align-self: flex-start;
}
@media (max-width: 960px) {
  .news-side {
    position: static;
    margin-top: 16px;
  }
}

.news-side .side-box {
  background: #fff;
  border-radius: 12px;
  padding: 14px 14px 8px;
  border: 1px solid var(--nk-line);
  box-shadow: var(--shadow-sm);
}

/* 見出し「バックナンバー」 */
.side-title {
  position: relative;
  margin: 0 0 8px;
  padding: 0 0 8px 26px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--nk-base);
  border-bottom: 2px solid rgba(224,122,122,0.45);
}
.side-title::before {
  content: "🗂";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
}

/* アーカイブリスト */
.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.archive-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--nk-line);
}
.archive-list li:last-child { border-bottom: none; }

.archive-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--nk-base);
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}
.archive-list a::before {
  content: "•";
  color: var(--nk-accent);
  font-weight: 900;
  transform: translateY(-1px);
}
.archive-list a:hover {
  color: var(--nk-accent);
  transform: translateX(2px);
}

/* ====== 「投稿が見つかりませんでした。」 ====== */
.news-empty {
  margin: 30px 0;
  font-size: 0.95rem;
  color: var(--nk-sub);
}

/* ====== 上部のエレガントタイトル（NAKATOMI向けにグレー帯へ） ====== */
.news-elegant-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 22px;
  text-align: center;
  position: relative;
  width: 100%;
}

/* 罫線は薄グレー */
.news-elegant-title::before,
.news-elegant-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  border-top: 2px solid rgba(0,0,0,0.12);
}
.news-elegant-title::before { left: 0; }
.news-elegant-title::after  { right: 0; }

.news-elegant-title .jp {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--nk-muted);
  font-weight: 700;
  margin-bottom: 6px;
}
.news-elegant-title .en {
  font-size: 28px;
  letter-spacing: 0.12em;
  font-weight: 900;
  color: #fff;
  padding: 4px 18px;

  /* グレー帯＋ピンクの差し色 */
  background: #6f6f6f;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.10);
  position: relative;
}
.news-elegant-title .en::after{
  content:"";
  position:absolute;
  left:10px;
  right:10px;
  bottom:-3px;
  height:3px;
  background: var(--nk-accent);
  border-radius: 999px;
  opacity: .9;
}

/* スマホ用調整 */
@media (max-width: 560px){
  .rl-news-archive-wrap { padding-top: 40px; padding-bottom: 56px; }
  .rl-news-archive-inner { padding: 24px 14px 48px; }
  .news-elegant-title { margin-bottom: 18px; }
  .news-elegant-title::before,
  .news-elegant-title::after { width: 28%; }
  .news-elegant-title .jp { font-size: 12px; }
  .news-elegant-title .en { font-size: 22px; padding: 3px 14px; }
}



/* =========================================================
   ★追加：文字は消す（位置はズラさない）＋ 背景をフル幅化
   ========================================================= */

/* グローバルメニュー背景色に合わせる（必要ならここだけ値を変更） */
:root{
  --nk-nav-bg: #5f5f5f; /* ← グローバルメニューの背景色に合わせる */
}

/* 1) 背景色をフルスクリーン化（左右の白余白を消す）
   - 既存のレイアウト（max-width 950など）は一切触らない
*/
.rl-news-archive-wrap{
  position: relative;
  background: transparent; /* 既存の白背景をやめる */
}
.rl-news-archive-wrap::before{
  content:"";
  position:absolute;
  inset:0;                 /* top/right/bottom/left:0 */
  left:50%;
  width:100vw;             /* フル幅 */
  transform:translateX(-50%);
  background: var(--nk-nav-bg);
  z-index:-1;              /* 中身の裏 */
}

/* 2) 赤丸の文字を消す（スペースは維持＝ズレない） */
.rl-news-archive-heading,
.news-elegant-title .jp,
.news-title{
  visibility: hidden;  /* display:none だと詰まってズレるので禁止 */
}


/* =========================================
   1.php：NEWSバッジを消して、上に詰める
   ========================================= */

/* NEWSバッジ（お知らせ/NEWS）ブロック自体を消す → その分詰まる */
.news-elegant-title{
  display: none !important;
}

/* 上の余白を詰める（必要なら微調整） */
.news-head{
  margin-top: 0 !important;
}

/* 枠内の上 padding を詰める（記事全体が上に寄る） */
.rl-news-archive-inner{
  padding-top: 18px !important; /* 既存 28px → 18px（好みで 12px など） */
}




/* =========================================
   2.png 風：ページタイトル帯（ニュース用）
   ========================================= */

.nk-page-hero{
  /* フル幅化（中身の配置は中央固定） */
  width: 100vw;
  margin-left: calc(50% - 50vw);

  background: #7a7a7a;   /* 2.png 風のグレー（必要なら微調整） */
  padding: 48px 0;       /* 帯の高さ */
}

.nk-page-hero__title{
  margin: 0;
  text-align: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: .08em;
  font-size: clamp(20px, 4vw, 34px);
}

/* ニュース本体の上余白（帯が入ったので詰める） */
.rl-news-archive-wrap{
  padding-top: 28px; /* 元が56pxなら詰める。好みで 16〜32 */
}

.nk-page-hero{
  margin-top: 28px;   /* ← 上余白 */
  margin-bottom: 20px;   /* ← 上余白 */
}

.nk-page-hero{
  padding: 20px 0;   /* 小さめ */
}