/* =========================================================
   News 一覧ページ（Racine.Lab版）
   - ベージュ＆ゴールド基調
   - 最大幅 950px
   ========================================================= */

/* -------------- カラー＆共通変数 -------------- */
:root {
  --brand-base:   #3b2b1c;              /* 文字色系 */
  --brand-sub:    #6a5744;
  --brand-muted:  #9a8876;
  --brand-gold:   #a48362;              /* ゴールド系メイン */
  --brand-gold2:  #c59a6b;              /* 少し明るいゴールド */
  --line-soft:    #e4d9ca;
  --chip-bg:      #f9f5ee;
  --card-br:      14px;
  --thumb-br:     12px;
  --shadow-sm:    0 4px 14px rgba(0,0,0,.04);
  --shadow-md:    0 10px 22px rgba(0,0,0,.10);
  --sticky-top:   120px;
}

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

/* 見出しライン「Racine.Labからのお知らせ」 */
.rl-news-archive-heading {
  max-width: 950px;
  margin: 0 auto 10px;
  padding: 0 16px;
}
.rl-news-archive-main-title {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--brand-base);
  border-left: 5px solid var(--brand-gold);
  padding-left: 12px;
  margin: 0;
  line-height: 1.4;
}

/* 内部レイアウト */
.rl-news-archive-inner {
  max-width: 950px;
  margin: 0 auto;
  padding: 32px 16px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) 260px;
  gap: 28px;
  background: #faf6f0;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}

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

/* ====== News 見出し（- News -） ====== */
.news-head {
  margin: 0 0 20px;
}
.news-title {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: .12em;
  margin: 0;
  position: relative;
  padding-left: 16px;
  line-height: 1.15;
  color: var(--brand-base);
}
.news-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: .18em;
  width: 6px;
  height: .9em;
  border-radius: 3px;
  background: var(--brand-gold);
}

/* ====== 投稿一覧（カード） ====== */
.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.news-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  background: #fff;
  border-radius: var(--card-br);
  padding: 12px 14px;
  border: 1px solid rgba(164,131,98,0.35);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-gold);
}

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

/* サムネイル枠 */
.card-thumb {
  display: block;
  border-radius: var(--thumb-br);
  overflow: hidden;
  background: #f3e6d7;
  outline: 1px solid #ebdfcf;
  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: #e6d8c9;
}

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

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

.card-title {
  font-size: clamp(13px, 2vw, 15px);
  margin: 0 0 4px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--brand-base);
}
.card-title a {
  color: inherit;
  text-decoration: none;
  background: linear-gradient(var(--brand-gold2), var(--brand-gold2)) left bottom/0 2px no-repeat;
  transition: color .2s ease, background-size .22s ease;
}
.card-title a:hover {
  color: var(--brand-gold2);
  background-size: 100% 2px;
}

.card-excerpt {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--brand-sub);
}

/* 「詳細」ボタン */
.card-more {
  align-self: flex-start;
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.4px solid var(--brand-gold2);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--brand-gold2);
  text-decoration: none;
  background: #fff;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.card-more:hover {
  background: var(--brand-gold2);
  color: #fff;
  transform: translateY(-1px);
}

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

/* ====== ページネーション ====== */
.news-pager {
  margin-top: 26px;
  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(--brand-base);
  text-decoration: none;
  border: 1px solid var(--line-soft);
}
.news-pager .current {
  background: var(--brand-gold);
  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 rgba(164,131,98,0.35);
  box-shadow: var(--shadow-sm);
}

/* 見出し「バックナンバー」 */
.side-title {
  position: relative;
  margin: 0 0 8px;
  padding: 0 0 6px 26px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--brand-base);
  border-bottom: 2px solid var(--brand-gold2);
}
.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(--line-soft);
}
.archive-list li:last-child {
  border-bottom: none;
}
.archive-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--brand-base);
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}
.archive-list a::before {
  content: "•";
  color: var(--brand-gold2);
  font-weight: 900;
  transform: translateY(-1px);
}
.archive-list a:hover {
  color: var(--brand-gold2);
  transform: translateX(2px);
}

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

/* ====== 上部のエレガントタイトル ====== */
.news-elegant-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 28px;
  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(164,131,98,0.35);
}

.news-elegant-title::before { left: 0; }
.news-elegant-title::after  { right: 0; }

.news-elegant-title .jp {
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--brand-sub);
  font-weight: 600;
  margin-bottom: 6px;
}

.news-elegant-title .en {
  font-size: 28px;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: #fff;
  padding: 3px 20px;
  background: rgba(164,131,98,0.9);
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

/* スマホ用調整 */
@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: 20px;
  }
  .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: 2px 14px;
  }
}
