@charset "utf-8";
/* ==================================================
   お知らせ関連スタイル（index.php プレビュー / news.php 一覧）
================================================== */

.news-area .area-title{ margin-bottom: 46px; }
#newsWrap{ max-width: 880px; margin: 0 auto; }
.newsList li{
  border-bottom: 1px solid var(--surface-line);
}
.newsList li a,
.newsList li{ display: block; }
.news-item-info{
  display: flex; align-items: center; gap: 26px;
  padding: 22px 4px;
}
.news-item-info-detail{ display: flex; align-items: center; gap: 12px; flex: 0 0 auto; color: var(--text-faint); font-size: 12.5px; }
.news-item-info-detail div p{ margin: 0; color: var(--text-faint) !important; }
.news-item-info .catName{
  border: 1px solid var(--accent-soft); color: var(--accent);
  padding: 3px 12px; font-size: 11px; letter-spacing: 0.08em;
}
.news-item-info .title{ font-size: 14px; color: var(--text); }
.news-item-info .title p{ 
  opacity: 1;
  margin: 0; color: #fff!important; }
.newsList li:hover .title{ color: var(--accent); }
.news-empty{ text-align: center; color: var(--text-dim); font-size: 13px; }

.news-more{ text-align: center; margin-top: 46px; }

.up_ymd{
  color: #fff;
  opacity: 0.85;
}

/* ================= news.php 一覧ページ ================= */
.news-list-page{ max-width: 880px; margin: 0 auto; }
.news-list-page .newsList li{ padding: 4px 0; }

.news-pager{
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 8px; margin-top: 60px;
}
.news-pager a,
.news-pager span.current,
.news-pager span.overPagerPattern{
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--surface-line);
  font-size: 13px;
  color: var(--text-dim);
  border-radius: 2px;
  transition: border-color .3s ease, color .3s ease, background .3s ease;
}
.news-pager a:hover{ border-color: var(--accent); color: var(--accent); }
.news-pager span.current{ background: var(--accent); border-color: var(--accent); color: #0a0a09; }
.news-pager span.overPagerPattern{ border: none; color: var(--text-faint); }

/* ================= news-detail.php 詳細ページ ================= */
.news-detail-page{ max-width: 800px; margin: 0 auto; }

.news-detail-meta{
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
  font-size: 12.5px; color: var(--text-faint);
}
.news-detail-meta .catName{
  border: 1px solid var(--accent-soft); color: var(--accent);
  padding: 3px 12px; font-size: 11px; letter-spacing: 0.08em;
}

.news-detail-title{
  font-size: 26px; font-weight: 900; line-height: 1.6;
  margin-bottom: 40px; padding-bottom: 30px;
  border-bottom: 1px solid var(--surface-line);
}

.news-detail-body{ 
  font-size: max(0.8rem);
  font-size: 15px; 
  line-height: 2; 
  margin-bottom: 60px; 
}
/* 登録内容のpタグ（エディタが挿入するインラインstyleの文字色も含む）を強制的に白へ統一 */
.news-detail-body p,
.news-detail-body p *{ color: #fff !important; }
.news-detail-body span {
  color: #fff !important; 
}
.news-detail-body img{ max-width: 100%; height: auto; margin: 24px 0; }
.news-detail-body a{ color: var(--accent) !important; text-decoration: underline; }
.news-detail-upfile{ margin: 16px 0; }

.news-detail-back{ text-align: center; padding-top: 40px; border-top: 1px solid var(--surface-line); }
