/*-----------------------------
news.css
お知らせ一覧（news/）と記事ページ（news/123.html）用
・記事の本文は WordPress から移したので、本文で使っているブロックのスタイル（WordPress 5.6 の block-library から必要な分だけ）を入れている
------------------------------*/

/* お知らせ一覧 */
.archivesBlock {
  max-height: 400px;
  overflow-y: auto; }
  .archivesBlock li.is-current a {
    font-weight: bold;
    text-decoration: underline; }

.c-news-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding-bottom: 40px; }
  .c-news-pager a,
  .c-news-pager span {
    display: inline-block;
    min-width: 2.4em;
    padding: 6px 10px;
    border-radius: 4px;
    background: #fff;
    color: #316ac8;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    text-decoration: none; }
  .c-news-pager span.is-current {
    background: #316ac8;
    color: #fff;
    font-weight: bold; }

/* 記事ページの前後リンク */
.prevnext {
  display: flex;
  justify-content: space-between;
  gap: 20px; }
  .prevnext .next {
    margin-left: auto;
    text-align: right; }
  @media (max-width: 767px) {
    .prevnext {
      flex-direction: column;
      gap: 10px; } }

/* 記事の本文（WordPress のブロック） */
.p-news-single dd .wp-block-image {
  margin: 0 0 1em; }
  .p-news-single dd .wp-block-image .aligncenter {
    display: table;
    margin-left: auto;
    margin-right: auto; }
  .p-news-single dd .wp-block-image.is-resized {
    display: table; }

.p-news-single dd .aligncenter {
  text-align: center; }

.p-news-single dd h3,
.p-news-single dd h4,
.p-news-single dd h5 {
  margin-bottom: 0.5em;
  font-weight: bold; }

.p-news-single dd .wp-block-file {
  margin-bottom: 1.5em; }
  .p-news-single dd .wp-block-file .wp-block-file__button {
    display: inline-block;
    margin-left: 0.75em;
    padding: 0.5em 1em;
    border-radius: 2em;
    background: #32373c;
    color: #fff;
    font-size: 13px;
    text-decoration: none; }

.has-normal-font-size {
  font-size: 16px; }

.has-medium-font-size {
  font-size: 20px; }

.has-black-color {
  color: #000; }

.has-very-dark-gray-color {
  color: #313131; }

.has-pale-pink-color {
  color: #f78da7; }

.has-vivid-red-color {
  color: #cf2e2e; }

.has-luminous-vivid-orange-color {
  color: #ff6900; }

.has-vivid-cyan-blue-color {
  color: #0693e3; }
