@charset "UTF-8";
/* =========================================================
   お知らせ・情報開示・関連書籍（PHP工房 pkobo_news）の見た目
   各 news.php の <head> の最後で読み込み、元の指定を上書きします（2026-10）
   ========================================================= */
html, body { margin: 0; padding: 0; background: transparent; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Yu Gothic", "游ゴシック", YuGothic, Meiryo, sans-serif;
  color: #1f3a5f;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: .03em;
}
a { color: #134d99; text-decoration: none; }
a:hover { color: #2f7fd6; text-decoration: underline; }
a:focus-visible { outline: 3px solid #f0a73a; outline-offset: 2px; }

ul#newsList { margin: 0; padding: 0 6px 0 0; font-family: inherit; }
ul#newsList li {
  margin: 0; padding: 10px 4px;
  border-bottom: 1px dashed #b9d6e8;
  color: #1f3a5f; font-size: 15px; line-height: 1.7;
  list-style: none;
}
ul#newsList li:last-child { border-bottom: 0; }
.up_ymd { color: #5b7fa6; font-size: 14px; font-variant-numeric: tabular-nums; margin-right: .6em; }
.up_ymd:empty { display: none; }
.catName {
  display: inline-block; margin: 0 .6em 0 0; padding: 1px 8px;
  border: 1px solid #a7d8f9; border-radius: 6px; background: #fff;
  color: #3165a0; font-size: 12px; line-height: 1.6; vertical-align: 1px;
}
.title, .title a { margin: 0; padding: 0; font-size: 15px; }
.newMark { font-style: normal; box-shadow: none; }
.comment { display: block; float: none !important; width: auto !important; margin-top: 2px; color: #5b6f86; font-size: 13.5px; line-height: 1.6; }
.comment:empty { display: none; }
.thumbNailWrap { float: left; width: 48px; height: auto; max-height: 64px; margin: 2px 12px 4px 0; }
.thumbNailWrap img { display: block; width: 48px; height: auto; box-shadow: 0 1px 3px rgba(0, 40, 90, .2); }
.clearfix::after { content: ""; display: block; clear: both; height: 0; visibility: hidden; }
#newsWrap, body > div { max-width: 100%; }

/* PDFへのリンクに目印 */
.title a[href$=".pdf"]::after {
  content: "PDF"; display: inline-block; margin-left: .5em; padding: 0 5px;
  border-radius: 3px; background: #c0504d; color: #fff;
  font-size: 10.5px; font-weight: 700; line-height: 1.6; letter-spacing: .04em; vertical-align: 1px;
}

/* ページ送り */
.pager { padding: 12px 4px 4px; text-align: center; clear: both; }
.pager a, .pager a.current {
  display: inline-block; min-width: 2.2em; margin: 0 2px; padding: 2px 8px;
  border: 1px solid #a7d8f9; border-radius: 6px; background: #fff;
  color: #3165a0; font-size: 14px; text-align: center;
}
.pager a.current { background: #2f579d; border-color: #2f579d; color: #fff; }
.pager a:hover { background: #e6f4fc; color: #1d3f78; text-decoration: none; }

/* 詳細ページ（ポップアップ）の本文 */
.detailText { margin: 12px 4px !important; }
.backORcloseBtn a {
  display: inline-block; padding: 6px 18px;
  border: 2px solid #2f579d; border-radius: 999px;
  color: #2f579d; font-size: 14px; font-weight: 700;
}

/* スクロールバーを控えめに */
html { scrollbar-width: thin; scrollbar-color: #a7cbe6 transparent; }

@media (max-width: 480px) {
  ul#newsList li { padding: 9px 2px; }
  .up_ymd { display: block; font-size: 13px; }
  .up_ymd:empty { display: none; }
}
