/* ==========================================================================
   NEWS 共通パーツ：CAViAR の装飾（このサイトだけの指定）
   基本の CSS は同じフォルダの news-parts.css（全サイト共通の原本のコピー。そちらは直さない）。
   news-parts.css のあとに読み込まれる（functions.php）。

   クラスの無い h2・h3・p と .np-〜 にだけ当たるので、
   今までのブロックエディタの記事の見え方は変わらない
   ========================================================================== */

/* 色・ボタンの形（共通 CSS の変数を上書き） */
:root {
  --np-accent: #003894;
  --np-btn-hover-bg: #000;
  --np-btn-radius: 60px;
  --np-btn-min-width: 0px;
  --np-btn-padding: 0;
  --np-link-color: #003894;
}

/* 本文の段落・見出し（パーツの外に書いたもの）
   itembox の共通 CSS が余白を 0 にするので、今までの記事と同じ下の余白を付ける */
.single-news .entry-body > p:not([class]),
.single-news .entry-body > h2:not([class]),
.single-news .entry-body > h3:not([class]) {
  margin-bottom: var(--wp--preset--spacing--40);
}

/* 見出し・小見出し：今までの記事と同じ青丸を付ける */
.single-news .entry-body h2:not([class])::after,
.single-news .entry-body h3:not([class])::after {
  content: " ";
  display: inline-block;
  width: 0.3em;
  height: 0.3em;
  margin-left: 0.2em;
  border-radius: 50%;
  background: #003894;
}

/* 2 カラム（画像＋文章）の小見出し：今までの「サブタイトル」と同じ大きさ */
.single-news .entry-body .np-media__body > h3 {
  margin-bottom: 1rem;
  font-size: var(--vk-size-text-lg);
}

/* リンクボタン：今までのボタン（青・丸・幅 300px・右に矢印）と同じ形 */
.entry-body a.np-btn,
.entry-body a.np-btn:link,
.entry-body a.np-btn:visited {
  width: 100%;
  max-width: 300px;
  border: none;
  font-weight: 600;
  line-height: 3.5;
  transition: 0.5s;
}

.entry-body a.np-btn::after {
  content: "\f054";
  display: inline-block;
  margin-left: 1rem;
  font-family: 'FontAwesome';
  font-size: 1rem;
  vertical-align: middle;
}
