/* ===== News table (white rows + thick black separators) ===== */

/* ========= News detail�E�カード�E佁E========= */
.news-detail {
  max-width: var(--container, 1100px);
  margin: 48px auto;
  padding: 0 12px;
  color: var(--fg, #f5f5f5);
}

/* 白カード本体（サイズ小さめE��E��長�E�E*/
.news-card-box {
  max-width: 880px;
  /* PCで横に庁E��、�E体�E小�EめE*/
  margin: 0 auto;
  background: #fff;
  color: #111;
  border: 2px solid #000;
  box-shadow: 0 8px 0 #000;
  /* 黒い太め�E影 */
  padding: clamp(12px, 2vw, 22px);
}

/* カード幁E��そろぁE��帯 */
.news-card-box .news-titlebar {
  background: #000;
  color: #fff;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: clamp(16px, 1.8vw, 20px);
  padding: 10px 14px;
  margin: 0 0 12px;
}

/* 日付行（左寁E���E�E*/
.news-date-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-weight: 700;
}

.news-date-row .dot {
  width: 12px;
  height: 12px;
  background: #000;
}

/* タイトル�E�中央�E�E*/
.news-head {
  text-align: center;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  margin: 0 0 10px;
}

/* タイトル列を中央寁E���E�EC/SP共通！E*/
.news-cell-title {
  text-align: center !important;
}

/* a自体も中央寁E���E�他�ECSSに負けなぁE��ぁE��険�E�E*/
.news-cell-title a {
  display: inline-block;
  width: 100%;
  text-align: center !important;
}

/* 本斁E*/
.news-body {
  line-height: 1.8;
}

.news-body img,
.news-body video,
.news-body iframe {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 12px auto;
}

/* 詳細本斁E��中央寁E���E�段落にも効かせる！E*/
.news-body {
  text-align: center !important;
}
.news-body p {
  text-align: center !important;
}

/* ヒ�Eロー画像：�Eみ出さなぁE��E��長になり過ぎなぁE*/
.news-hero {
  width: 100%;
  height: auto;
  max-height: 340px;
  /* PC だとこ�E上限 */
  object-fit: contain;
  /* 収まるよぁE�� */
  border: 1px solid #000;
  background: #fff;
  margin: 8px auto 12px;
}

/* ボタン行中央 */
.actions,
.button-center {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

/* ======= SP�E�E40px以下！E======= */
@media (max-width: 640px) {
  .news-detail {
    margin: 36px auto;
    padding: 0 10px;
  }

  .news-card-box {
    width: calc(100% - 20px);
    max-width: 640px;
    padding: 12px;
    box-shadow: 0 6px 0 #000;
  }

  .news-card-box .news-titlebar {
    font-size: 16px;
    padding: 8px 10px;
    margin-bottom: 10px;
  }

  .news-head {
    font-size: clamp(16px, 4.5vw, 20px);
    margin-bottom: 8px;
  }

  .news-hero {
    max-height: 220px;
    /* スマ�Eで縦長になり過ぎなぁE*/
    object-fit: contain;
  }
}

.news-wrap {
  max-width: var(--container, 1100px);
  margin: 80px auto;
  padding: 0 16px;
}

/* 見�EぁE*/
.news-titlebar {
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: clamp(26px, 4vw, 44px);
  color: var(--fg, #f5f5f5);
  margin: 0 0 18px;
}

/* チE�Eブル全体：行間を空けてカード風に */
.news-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 18px;
}

/* 行（白帯 + 枠 + 下に太ぁE��ライン�E�E*/
.news-table tbody tr {
  background: #fff;
  color: #111;
  border: 2px solid #000;
  border-radius: 0;
  /* 角丸にしなぁE*/
  box-shadow: 0 10px 0 #000;
}

/* セル */
.news-table td {
  padding: 18px 20px;
  vertical-align: middle;
}

/* 1列目�E�■ + 日付！EC�E�E*/
.news-cell-date {
  white-space: nowrap;
  font-weight: 600;
  width: 260px;
}

.news-cell-date .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #000;
  margin-right: 12px;
  vertical-align: middle;
  border-radius: 0;
  /* ■は四见E*/
}

.news-table .news-cell-date,
.news-table .news-cell-title a {
  color: #111 !important; /* ↁE日付とタイトルも黁E*/
}

/* 2列目�E�タイトル */
.news-cell-title a {
  color: inherit;
  text-decoration: none;
}

.news-cell-title a:hover {
  text-decoration: underline;
}

/* 空表示 */
.news-empty {
  text-align: center;
  padding: 28px 16px;
}

/* Homeの他CSSに負けなぁE��ぁE��リンク色を固定（忁E��なら残す�E�E*/
.home-news .news-wrap a,
.home-news .news-cell-title a {
  color: inherit !important;
  text-decoration: none;
}

.home-news .news-wrap a:hover,
.home-news .news-cell-title a:hover {
  text-decoration: underline;
}

/* ======== SP layout for News: date 1st line / title 2nd line ======== */
@media (max-width: 640px) {
  /* 余白と行間�E�カード間隔！E*/
  .news-wrap {
    margin: 40px auto 60px;
    padding: 0 12px;
  }

  .news-table {
    border-collapse: separate;
    border-spacing: 0 12px;
    /* カード間のすき閁E*/
  }

  /* 1カード角丸なし*/
  .news-table tbody tr {
    display: block;
    background: #fff;
    color: #111;
    border: 2px solid #000;
    border-radius: 0;
    /* 角丸にしなぁE*/
    box-shadow: 0 12px 0 #000;
    /* 太ぁE��ライン�E�影�E�E*/
    padding: 14px 14px;
  }

  /* セルは縦積みにする */
  .news-table td {
    display: block;
    width: 100% !important;
    padding: 0;
    /* 冁E�E余白は tr で管琁E*/
  }

  /* ■ + 日付！E行目�E�E*/
  .news-cell-date {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    white-space: nowrap;
    /* 日付を改行させなぁE*/
    margin: 2px 0 10px;
    font-size: clamp(14px, 4vw, 18px);
  }

  .news-cell-date .dot {
    width: 14px;
    height: 14px;
    background: #000;
    border-radius: 0;
    /* 四角�E■ */
    flex: 0 0 14px;
    margin-right: 10px;
  }

  /* タイトル�E�E行目�E�E*/
  .news-cell-title a {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    line-height: 1.6;
    font-size: clamp(14px, 4vw, 18px);
  }

  .news-cell-title a:hover {
    text-decoration: underline;
  }
}

.news-detail .news-titlebar {
  background: #000;
  color: #fff;
  padding: 14px 18px;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: clamp(18px, 2.2vw, 22px);
  margin-bottom: 16px;
}

/* 共通：ボタンを中央に */
.actions,
.button-center {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.news-card-box {
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .news-detail {
    margin: 56px auto;
    padding: 0 12px;
  }

  .news-card-box {
    padding: 14px;
  }

  .news-head {
    font-size: clamp(16px, 4.4vw, 20px);
  }
}

.pagination {
  margin: 30px 0;
  text-align: center;
}

/* ===== ページネーション 角丸強制FIX ===== */
.pagination a,
.pagination span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  min-width: 36px !important;
  height: 36px !important;

  padding: 6px 12px !important;
  margin: 0 6px !important;

  border-radius: 6px !important; /* ← 丸を完全破壊 */
  background: #deb46d !important; /* ベージュ */
  color: #323232 !important;

  font-weight: 600;
  text-decoration: none !important;
  border: none !important;
}

/* hover */
.pagination a:hover {
  background: #a37942 !important;
  color: #323232 !important;
}

/* 現在のページ */
.pagination .current {
  background: #deb46d !important; /* ベージュ */
  color: #fff !important;
}
