@charset "UTF-8";
/*
 * SANGO 本体が持っていた見た目を SWELL 上で再現するためのCSS（2026-09-14）
 * 値は SANGO 表示時の実測値（computed style）に合わせている。
 * 読み込み順: SWELL 本体 → このファイル → style.css（SANGO 子テーマから移植したデザイン）
 *
 * ブレークポイント（SANGO と同じ）
 *   〜767px  : スマホ
 *   〜768px  : 1カラム（サイドバーは下）
 *   769px〜  : 2カラム
 *   1030px〜 : PC
 */

/* ========================================
   変数・ベース
======================================== */
:root {
  --vg-main: #00377f;
  --vg-font: Helvetica, Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", YuGothic, "Yu Gothic", "メイリオ", Meiryo, sans-serif;
  --vg-dfont: Quicksand, var(--vg-font);
  --vg-fa: "Font Awesome 5 Free";

  /* SANGO が定義していた変数（子テーマの style.css が参照している） */
  --wp--preset--color--sango-main: #00377f;
  --wp--preset--color--sango-pastel: #e6eef7; /* 薄い青（2026-09-15 value gate の色に変更） */
  --wp--preset--color--sango-accent: #00377f;
  --wp--preset--color--sango-black: #333;
  --wp--preset--color--sango-gray: gray;
  --wp--preset--color--sango-silver: whitesmoke;
  --sgb-main-color: #00377f;
  --sgb-pastel-color: #e6eef7;
  --sgb-accent-color: #00377f;
  --wp--custom--widget--padding-horizontal: 18px;
  --wp--custom--widget--padding-vertical: 6px;
  --wp--custom--wrap--mobile--padding: 16px;

  /* SWELL の本文サイズ・フォント */
  --swl-fz--content: 16px;
  --swl-font_family: var(--vg-font);
}

/* SWELL はスマホで html の文字サイズを縮める（14.04px）が、SANGO は常に 16px（トップページ等の rem 指定が崩れるため） */
html { font-size: 16px; }
body {
  font-family: var(--vg-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.83;
  color: #252525;
  background-color: #f0f5f8;
}
@media (min-width: 481px) {
  :root { --swl-fz--content: 17.12px; }
  body { font-size: 17.12px; }
}

a { color: var(--vg-main); }
/* SANGO 本体と同じ（詳細度が高く、子テーマ側の下線指定より優先されていた） */
a, :root body a { text-decoration: none; }
img { vertical-align: middle; }
.dfont { font-family: var(--vg-dfont); }
.strong { font-weight: 700; }
.center { text-align: center; }
.main-c { color: var(--vg-main); }
.accent-bc,
.main-bc { background-color: var(--vg-main); }
.pastel-bc { background-color: var(--sgb-pastel-color); }
.accent-bc { color: #fff; }

/* ========================================
   レイアウト（SWELL の #content / メイン / サイドバー）
======================================== */
#body_wrap #content.l-content {
  width: 92%;
  max-width: 1180px;
  margin: 34.24px auto 0;
  padding: 0 0 34.24px;
}
@media (min-width: 1240px) {
  #body_wrap #content.l-content { width: 1180px; }
}
@media (min-width: 769px) and (max-width: 1029px) {
  #body_wrap #content.l-content { width: 96%; }
}
@media (max-width: 768px) {
  #body_wrap #content.l-content { margin-top: 32px; padding-bottom: 32px; }
  /* 投稿・固定ページは白いカードを画面幅いっぱいに */
  #body_wrap.single #content.l-content,
  #body_wrap.page #content.l-content { width: 100%; margin-top: 0; }
  #body_wrap.error404 #content.l-content { width: 100%; }
}

@media (min-width: 769px) {
  #body_wrap.-sidebar-on #content.l-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  #body_wrap.-sidebar-on .l-mainContent {
    width: 70%;
    max-width: none;
    padding-right: 34.24px;
    box-sizing: border-box;
  }
  #body_wrap.-sidebar-on .l-sidebar {
    width: 30%;
    max-width: none;
    margin: 0;
  }
}
@media (max-width: 768px) {
  #body_wrap .l-mainContent { width: 100%; }
  #body_wrap .l-sidebar { width: auto; margin: 0; }
  #body_wrap.single .l-sidebar,
  #body_wrap.page .l-sidebar,
  #body_wrap.error404 .l-sidebar { padding: 0 16px; }
}

/* トップページ（page-vg-top.php）は全幅 */
#body_wrap.page-template-page-vg-top #content.l-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
}
#body_wrap.page-template-page-vg-top .l-mainContent { width: 100%; padding: 0; }

/* SWELL 標準の本文余白・フッター前余白を消す */
#body_wrap .l-mainContent__inner > .post_content { margin: 0; }
.l-footer { margin: 0; }

/* ========================================
   記事カード（投稿・固定ページ）
======================================== */
.vg-entry {
  background: #fff;
  border-radius: 12px;
  margin: 0 0 25.68px;
  overflow: hidden;
}
.vg-entry-header {
  margin: 0 0 10px;
  padding: 25px 40px 10px;
  color: #070f16;
}
.vg-entry .post_content {
  padding: 10px 40px 0;
  font-size: var(--swl-fz--content);
  line-height: 1.83;
}
.vg-entry-footer { margin-top: 2em; padding: 0 40px; }
.vg-entry--page .vg-entry-footer { padding-bottom: 2em; }

@media (min-width: 769px) and (max-width: 1029px) {
  .vg-entry-header { padding: 20px 25px 10px; }
  .vg-entry .post_content { padding: 10px 25px 0; }
  .vg-entry-footer { padding-left: 25px; padding-right: 25px; }
}
@media (max-width: 768px) {
  .vg-entry { border-radius: 0; margin-bottom: 24px; }
  .vg-entry-header { padding: 0; }
  .vg-entry-header .vg-entry-title,
  .vg-entry-header .vg-entry-meta { padding: 0 25px; }
  .vg-entry .post_content { padding: 10px 25px 0; }
  .vg-entry-footer { padding-left: 0; padding-right: 0; }
}
@media (max-width: 767px) {
  .vg-entry-header .vg-entry-title,
  .vg-entry-header .vg-entry-meta { padding: 0 16px; }
  .vg-entry .post_content { padding: 10px 16px 0; }
}

/* タイトル */
/* 余白はカード側の指定（スマホは左右16/25px）に任せるため、ここでは padding を持たない */
.vg-entry-title { padding: 0; }
#body_wrap .vg-entry-title.c-postTitle__ttl,
#body_wrap .vg-entry-title.c-pageTitle {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  color: #444;
  border: none;
  background: none;
}
.vg-entry-title::before,
.vg-entry-title::after { content: none; }
#body_wrap .vg-page-header .vg-entry-title { margin-top: 16px; }
@media (max-width: 768px) {
  #body_wrap .vg-page-header .vg-entry-title { margin-top: 20px; }
}

/* 日付 */
.vg-entry-meta {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.83;
  letter-spacing: .3px;
  color: #a5aaaf;
}
.vg-entry-meta time::before,
.sng-link-time::before {
  font-family: var(--vg-fa);
  font-weight: 900;
  margin-right: 4px;
}
.vg-entry-meta time.updated::before,
.sng-link-time.updated::before { content: "\f2f1"; }
.vg-entry-meta time.pubdate::before,
.sng-link-time.pubdate::before { content: "\f017"; font-weight: 400; }

/* アイキャッチ */
.vg-post-thumbnail { margin: 16px 0 0; line-height: 0; }
.vg-post-thumbnail img { width: 100%; height: auto; }

/* ========================================
   パンくず（SWELL のマークアップを SANGO 風に）
======================================== */
.vg-entry-header #breadcrumb,
#archive_header #breadcrumb {
  margin: 0;
  padding: 0;
  background: none;
  font-size: inherit;
  line-height: 1.83;
}
@media (max-width: 768px) {
  .vg-entry-header #breadcrumb { padding: 13px 25px; }
}
@media (max-width: 767px) {
  .vg-entry-header #breadcrumb { padding: 13px 16px; }
}
#breadcrumb .p-breadcrumb__list {
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  white-space: normal;
  font-size: inherit;
}
#breadcrumb .p-breadcrumb__item {
  display: inline;
  margin: 0;
  padding: 0;
  color: #808080;
  font-size: .87em;
}
#breadcrumb .p-breadcrumb__item::after {
  position: static;
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0 8px;
  border: none;
  transform: none;
  content: "\f0da";
  font-family: var(--vg-fa);
  font-weight: 900;
  font-size: 14px;
  color: rgba(0, 0, 0, .2);
  vertical-align: baseline;
  background: none;
}
#breadcrumb .p-breadcrumb__text {
  display: inline;
  font-size: inherit;
  color: var(--vg-main);
  opacity: 1;
}
#breadcrumb span.p-breadcrumb__text { color: #808080; }
#breadcrumb .icon-home::before { display: none; }
#breadcrumb .p-breadcrumb__item:first-child .p-breadcrumb__text::before {
  content: "\f015";
  font-family: var(--vg-fa);
  font-weight: 900;
  font-size: 1.1em;
  margin-right: 5px;
  color: var(--vg-main);
}

/* ========================================
   本文
======================================== */
/* SWELL は本文直下の要素すべてに下余白 2em を付けるが、SANGO 時代の HTML（div 等）は余白0が前提。
   SWELL のブロック（wp-block- / swell-block-）はそのまま。:where() で詳細度を上げない */
.post_content > :where(:not([class*="wp-block-"]):not([class*="swell-block-"]):not([class*="is-style-"])) { margin-bottom: 0; }
.post_content p { margin: 0 0 1.5em; }
.post_content > p { line-height: 1.93; }
.post_content > p:first-child { margin-top: .1em; }
.post_content img { max-width: 100%; height: auto; }

/* リスト（SANGO: ul/ol は余白1em・インデントなし、li は上下5px） */
.post_content ul,
.post_content ol { margin: 1em 0; padding: 0; }
.post_content ul { list-style: disc; }
.post_content ol { list-style: decimal; }
.post_content li { margin: 0; padding: 5px 0; line-height: inherit; position: static; }

/* 見出し（SANGO の文字サイズ。装飾は style.css 側） */
.post_content h2,
.post_content h3,
.post_content h4 {
  background: none;
  color: inherit;
}
.post_content h3 { font-size: 1.2em; line-height: 1.5; }
.post_content h4 { font-size: 1.1em; }
.post_content h2::before { top: auto; }
.post_content h2::after,
.post_content h3::after,
.post_content h4::after { content: none; }

/* 表：SWELL の装飾を消す（デザインは style.css 側） */
:root {
  --tbody-th-color--txt: #00377f;
  --tbody-th-color--bg: transparent;
}
.post_content table { width: 100%; line-height: 1.83; }
.post_content :is(th, td) { border-top: none; border-left: none; }
.post_content td { border-right: 2px solid #e0e0e0; }
.post_content tr:last-child > td { border-bottom: none; }

/* 引用 */
.post_content blockquote {
  position: relative;
  margin: 1.5em 0;
  padding: 13px 15px 13px 50px;
  border: 1px solid #e0e0e0;
  background: none;
  color: #464646;
}
.post_content blockquote::before {
  content: "\f10d";
  position: absolute;
  top: 20px;
  left: 16px;
  display: block;
  width: auto;
  height: auto;
  font-family: var(--vg-fa);
  font-weight: 900;
  font-size: 25px;
  line-height: 1;
  color: var(--vg-main);
  background: none;
  border: none;
  opacity: 1;
  transform: none;
}
.post_content blockquote::after { content: none; }
.post_content blockquote p { margin: 10px 0; line-height: 1.7; }

/* ボタン（[btn] ショートコード） */
.btn {
  display: inline-block;
  margin: 0;
  padding: 1em 1.6em;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.93;
  text-decoration: none;
  text-align: center;
  transition: .3s ease-in-out;
}
.post_content .btn,
.post_content .btn:hover { text-decoration: none; }
/* SANGO の .raised（浮き上がりボタン）の基本形 */
.raised {
  display: inline-block;
  margin: .5em 0;
  padding: .4em 1.3em;
  line-height: 1.83;
  vertical-align: middle;
  text-decoration: none;
}

/* ========================================
   目次（SWELL の .p-toc を SANGO の #toc_container 風に）
======================================== */
#body_wrap .post_content .p-toc {
  position: relative;
  max-width: none;
  margin: 2.5em 0;
  padding: 20px 25px;
  border: none;
  border-top: 5px solid var(--vg-main);
  border-radius: 6px;
  background: #f9f9f9;
  font-size: .95em;
  line-height: 1.83;
}
#body_wrap .post_content .p-toc::before,
#body_wrap .post_content .p-toc::after { content: none; }
#body_wrap .p-toc .p-toc__ttl {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 5px 0 5px 58px;
  border: none;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.83;
  color: var(--vg-main);
  text-align: left;
}
#body_wrap .p-toc .p-toc__ttl::before {
  content: "\f03a";
  position: absolute;
  top: 50%;
  left: 0;
  width: 50px;
  height: 50px;
  margin: -25px 0 0;
  border-radius: 50%;
  background: var(--vg-main);
  color: #fff;
  font-family: var(--vg-fa);
  font-weight: 900;
  font-size: 20px;
  line-height: 50px;
  text-align: center;
}
#body_wrap .p-toc .p-toc__list {
  margin: 1em 0 0 18px;
  padding: 0;
  color: #585858;
  list-style: disc;
}
#body_wrap .p-toc .p-toc__list li {
  margin: 0;
  padding: 5px 0;
  list-style: disc;
  line-height: 1.83;
}
#body_wrap .p-toc .p-toc__list li::before { content: none; }
/* 本文の箇条書き装飾（style.css）が目次の入れ子リストに掛からないようにする */
#body_wrap #content .p-toc li ul {
  margin: 5px;
  padding: 0 0 0 16px;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  list-style: disc;
  font-size: 1em;
}
#body_wrap #content .p-toc li ul > li {
  display: list-item;
  padding: 0;
  color: #585858;
  font-size: .95em;
  list-style: disc;
}
#body_wrap .p-toc li li::before { content: none !important; } /* SWELL が !important で付けるドットを消す */
#body_wrap #content .p-toc li ul > li > a { display: inline; }
#body_wrap .p-toc .p-toc__list > li { font-weight: 700; }
#body_wrap .p-toc .p-toc__list ul {
  margin: 0 0 0 20px;
  padding: 0;
  font-size: .95em;
}
#body_wrap .p-toc .p-toc__list ul li { font-weight: 400; padding: 2px 0; }
#body_wrap .p-toc a,
#body_wrap .p-toc .p-toc__link {
  color: #555;
  text-decoration: none;
  border: none;
}
#body_wrap .p-toc a:hover { text-decoration: underline; }
#body_wrap .p-toc .p-toc__expandBtn { display: none; }
#body_wrap .p-toc .p-toc__list.is-style-index { border: none; }
#body_wrap #main_content .post_content .p-toc {
  width: auto;
  border-left: none;
  border-right: none;
  border-bottom: none;
}
/* 表示／非表示の切り替え（functions.php の vg_toc_script で追加） */
#body_wrap .p-toc .toc_toggle {
  display: inline-block;
  margin-left: 10px;
  padding: 0 10px;
  border-radius: 5px;
  background: #cbcbcb;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 25px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
}
#body_wrap .p-toc.is-closed .p-toc__list { display: none; }

/* ========================================
   投稿ページ下部（CATEGORY・関連記事・前後の記事）
======================================== */
.footer-meta {
  padding: 10px 0;
  font-family: var(--vg-dfont);
  font-size: .95em;
  font-weight: 700;
  text-align: right;
}
.footer-meta_title { display: inline-block; margin: 0; padding-right: 2px; }
.footer-meta .post-categories { display: inline-block; margin: 0; padding: 0; list-style: none; }
.footer-meta .post-categories li { display: inline-block; margin: 0; }
.footer-meta .post-categories a { color: rgba(0, 0, 0, .4); text-decoration: none; }
@media (max-width: 768px) {
  .footer-meta { padding: 10px 19.5px 20px; }
}

.related-posts ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  margin: 0;
  padding: 16px 0;
  list-style: none;
  text-align: left;
}
.related-posts li { margin: 0; padding: 0; }
.related-posts li a { display: block; color: #333; text-decoration: none; }
.related-posts .rlmg {
  position: relative;
  margin: 0;
  padding: 0 0 57.7%;
  overflow: hidden;
}
.related-posts .rlmg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-posts .rep { padding: 10px 0 0; line-height: 1.5; }
.related-posts .rep p { margin: 0; font-size: .95em; font-weight: 700; line-height: 1.5; }
@media (min-width: 769px) and (max-width: 1029px) {
  .related-posts ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  /* スマホは横スクロール */
  .related-posts ul {
    display: flex;
    gap: 0;
    padding: 10px 10px 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .related-posts li { flex: 0 0 240px; margin: 8px; }
}

.prnx_box {
  display: flex;
  justify-content: space-between;
  margin: 0 0 25.68px;
}
.prnx {
  display: block;
  width: 300px;
  max-width: 300px;
  margin: 16px 0;
  color: #505050;
  text-decoration: none;
}
.prnx.nx { margin-left: auto; }
.prnx > p {
  margin: 0;
  padding: 4px;
  font-size: .9em;
  font-weight: 700;
  color: rgba(0, 0, 0, .52);
}
.prnx.nx > p { text-align: right; }
.prnx_tb {
  display: table;
  width: 100%;
  background: #fff;
  border-radius: 4px;
}
.prnx_tb figure {
  display: table-cell;
  width: 95px;
  margin: 0;
  padding: 16px 0 16px 16px;
  vertical-align: middle;
}
.prnx.nx .prnx_tb figure { padding: 16px 16px 16px 0; }
.prnx_tb img { width: 79px; height: 79px; object-fit: cover; }
.prev-next__text {
  display: table-cell;
  padding: 16px;
  font-size: .9em;
  line-height: 1.4;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .prnx_box { display: block; margin-bottom: 24px; }
  .prnx { width: auto; max-width: none; margin: 0 16px 20px; }
}

/* ========================================
   記事カード一覧（catpost-cards：一覧ページ・カテゴリー・検索）
======================================== */
.catpost-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0 0 24px;
}
.post_content .catpost-cards { margin-top: .1em; }
@media (max-width: 767px) {
  .catpost-cards { grid-template-columns: 1fr; }
}
.c_linkto_wrap { position: relative; display: flex; }
.c_linkto {
  position: relative;
  display: block;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  color: #555;
  font-weight: 700;
  text-decoration: none;
}
.post_content .c_linkto { color: #555; text-decoration: none; }
.c_linkto_img_wrap {
  position: relative;
  display: block;
  padding-bottom: 57.7%;
  overflow: hidden;
}
.c_linkto_img_wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c_linkto_text {
  display: block;
  padding: 16px 13px;
  font-size: 1em;
  line-height: 1.6;
}
.c_linkto_text time {
  display: block;
  margin: 0 0 5px;
  font-family: var(--vg-dfont);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.6;
  color: #b5b5b5;
}
.c_linkto_text h2 {
  margin: 8px 0 0;
  padding: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.56;
  color: #555;
  border: none;
  background: none;
}
.c_linkto_text h2::before,
.c_linkto_text h2::after { content: none; }
.c_linkto_wrap .cat-name {
  position: absolute;
  top: 13px;
  left: 13px;
  display: block;
  padding: 0 10px;
  border-radius: 14px;
  background: var(--vg-main);
  color: #fff;
  font-family: var(--vg-dfont);
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  text-decoration: none;
}
.newmark {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

/* カテゴリー・アーカイブの見出しカード */
#archive_header {
  margin: 0 0 25.68px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
}
#archive_header h1 {
  margin: 12.84px 0;
  padding: 0;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.6;
  color: #252525;
  border: none;
  background: none;
}
@media (max-width: 1029px) {
  #archive_header h1 { margin: .5em 0; font-size: 1.35em; }
}
@media (max-width: 767px) {
  #archive_header { margin-bottom: 32px; }
}

/* 検索結果の見出し */
.search-title {
  margin: 0 0 1.8em;
  padding: 0;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.6;
}
.search-title i {
  display: inline-block;
  width: 2em;
  height: 2em;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--vg-main);
  color: #fff;
  line-height: 2em;
  text-align: center;
  vertical-align: middle;
}
@media (max-width: 767px) {
  .search-title { font-size: 21.6px; }
}

/* ページ送り（SWELL） */
.vg-archive .c-pagination,
.vg-search .c-pagination { margin: 16px 0 24px; }

/* ========================================
   404
======================================== */
.notfound { margin: 0 0 2.5em; border-radius: 12px; overflow: hidden; }
.nofound-title {
  position: relative;
  padding: 1em .5em;
  background: #fff;
  font-size: 1.1em;
  font-weight: 700;
  text-align: center;
}
.nofound-title::before {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 50%;
  margin-left: -20px;
  border: 20px solid transparent;
  border-top: 20px solid #fff;
  z-index: 1;
}
.nofound-title i { font-size: 1.2em; color: #84c2ff; }
.nofound-img { position: relative; line-height: 0; }
.nofound-img img { width: 100%; }
.nofound-img h2 {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .8);
  font-size: 6em;
  line-height: 1.56;
  text-align: center;
  border: none;
  background: none;
}
.nofound-contents { padding: 2em; background: #fff; }
.nofound-contents > p { margin: 1em 0; }
.nofound-img { line-height: 1.83; }
.searchform__input { line-height: 1.5; }
.searchform__submit { line-height: 44px; vertical-align: middle; }
.withtag_list ul,
.withtag_list li { list-style: disc; }
@media (max-width: 768px) {
  .notfound { border-radius: 0; overflow: visible; }
}
@media (max-width: 767px) {
  .nofound-contents { padding: 16px; }
}
.searchform > div { position: relative; max-width: 400px; }
.searchform__input {
  display: block;
  width: 100%;
  padding: 9.416px 48px 9.416px 9.416px;
  border: none;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 0 1px #e0e0e0 inset;
  font-size: 1em;
  color: rgba(0, 0, 0, .7);
}
.searchform__submit {
  position: absolute;
  top: 0;
  right: 0;
  width: 45px;
  height: 100%;
  padding: 0;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  border-radius: 0 6px 6px 0;
  background: var(--vg-main);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.withtag_list { margin: 1.5em 0; }
.withtag_list > span {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 5px 5px 0 0;
  background: var(--vg-main);
  color: #fff;
  font-weight: 700;
}
.withtag_list ul {
  margin: 0;
  padding: .5em .5em .5em 2em;
  background: #f2f2f2;
  color: #878787;
}
.withtag_list a { color: var(--vg-main); }
.notfound .ct { text-align: center; }
.notfound .ct .btn {
  margin: 8px 8px 8px 0;
  padding: .4em 1.3em;
  border-radius: 6px;
  font-weight: 400;
}

/* ========================================
   サイドバー
======================================== */
#body_wrap #sidebar { font-size: inherit; line-height: 1.83; }
#body_wrap #sidebar .c-widget { margin: 0 0 2.5em; font-size: .98em; }
.l-sidebar .c-widget { border-radius: 12px; overflow: hidden; }
#body_wrap #sidebar .c-widget + .c-widget { margin-top: 0; }
#body_wrap #fix_sidebar { display: block; }
/* 画像ウィジェット：SANGO はリンクが inline-block（画像の下に行の余白ができる） */
#body_wrap #sidebar .wp-block-image a { display: inline-block; }
#body_wrap #sidebar .wp-block-image img { display: block; }
#body_wrap #sidebar .wp-block-image { text-align: start; }
#body_wrap #sidebar .wp-block-image::after { content: none; }
/* 新着記事ウィジェット */
#body_wrap #sidebar .wp-block-latest-posts { border-top: none; }
#body_wrap #sidebar .wp-block-latest-posts li { font-weight: 700; }
#sidebar .wp-block-search__label { display: none; }
#body_wrap .l-sidebar .wp-block-search {
  position: relative;
  display: flex;
  margin: 24px 0 0;
  font-size: .9em;
  line-height: 1.83;
}
#body_wrap .l-sidebar .wp-block-search__inside-wrapper { position: static; width: 100%; }
#body_wrap .l-sidebar .wp-block-search__input {
  height: 45px;
  padding: 6px 48px 6px 18px;
  border: 1px solid #efefef;
  border-radius: 10px 0 0 10px;
  background: #fff;
  color: rgba(0, 0, 0, .7);
  font-size: inherit;
  line-height: 1.5;
}
#body_wrap .l-sidebar .wp-block-categories a::before,
#body_wrap .l-sidebar .widget_categories a::before { content: none; }
#sidebar .wp-block-search__button {
  position: absolute;
  top: 0;
  right: 0;
  width: 45px;
  height: 45px;
  margin: 0;
  padding: 0;
  font-size: 0;
  color: transparent;
  background: var(--vg-main);
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  border-radius: 0 10px 10px 0;
}
#sidebar .wp-block-search__button::before {
  content: "\f002";
  font-family: var(--vg-fa);
  font-weight: 900;
  font-size: 20px;
  line-height: 44px;
  color: #fff;
}
#sidebar .wp-block-search__button svg { display: none; }
#fix_sidebar { margin: 25px 0 40px; }

/* ========================================
   SWELL 標準要素で使わないもの
======================================== */
.p-articleMetas,
.c-postTitle__date { display: none; }
