html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, button, input, select, textarea {
	font-family: メイリオ, Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
}
p {
    line-height: 1.8;
    margin-bottom: 18px;
}
.byline {
    display: none;
}
.entry-content h2{
  font-size:1.5em;
  font-weight:600;
  color: #125570;
  border-bottom: 1px solid #125570;
  padding: 0 0 4px;
  margin-bottom: 28px;
  margin-top: 3em;
}
.entry-content h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin-top: 2em;
}

.ts-fab-avatar>img {
    width: 80px;
    max-width: 100%!important;
    border: 1px solid #ccc!important;
}
.footer-socket-wrapper {
    padding: 0;
}
#toc_container {
    padding: 20px 40px 30px;
}
#toc_container li, #toc_container ul {
    margin-top: 10px;
}
.status-publish.has-post-thumbnail.hentry {
    margin-bottom: 80px;
}
.pt-cv-wrapper .btn-success {
    color: #fff;
    background-color: #289dcc;
    border-color: #289dcc;
}

blockquote, .wp-block-quote, .wp-block-quote.is-style-large, .wp-block-quote.has-text-align-right {
    background-color: #cadfe7;
    color: #202020;
}
blockquote p, .wp-block-quote p, .wp-block-quote.is-style-large p, .wp-block-quote.has-text-align-right p {
    font-family: メイリオ, Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
}
blockquote p::before, .wp-block-quote p::before, .wp-block-quote.is-style-large p::before, .wp-block-quote.has-text-align-right p::before {
 display: none;
}
blockquote p:first-child::before, .wp-block-quote p:first-child::before, .wp-block-quote.is-style-large p:first-child::before, .wp-block-quote.has-text-align-right p:first-child::before {
    display: block;
    content: "\f10d";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: 400;
    text-decoration: inherit;
    color: #289dcc;
    font-size: 32px;
    position: absolute;
    top: -27px;
    left: -27px;
}
.top-content-desc a{
    color: #232323;
}
.top-content-desc a:hover {
    color: #289dcc;
}

pre {
    width: 100%;
    padding: 0 !important;
}

.cm-entry-title {
    font-size: 3.0rem;
    font-weight: 500;
    margin-top: 0.5em;
}
.cm-featured-posts .cm-post-content {
    padding: 0px 16px;
}

/* ============================================
   サイドバー全体
   ============================================ */
#cm-secondary {
  width: 28%;
  padding-left: 24px;
  box-sizing: border-box;
}

/* ============================================
   ウィジェット共通
   ============================================ */
#cm-secondary .widget {
  margin-bottom: 28px;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* ============================================
   ウィジェットタイトル
   ============================================ */
#cm-secondary .cm-widget-title,
#cm-secondary h3.widget-title,
#cm-secondary .widget-title-top {
  font-size: 15px;
  font-weight: 700;
  color: #27272a;
  padding: 14px 16px;
  margin: 0;
  border-bottom: 2px solid #257BC1;
  background: #ffffff;
}

#cm-secondary .cm-widget-title span,
#cm-secondary .widget-title-top span {
  background: none;
  color: inherit;
  padding: 0;
  display: inline;
}

/* ============================================
   CTAバナー
   ============================================ */
.sidebar-cta-block {
  background: #1a3f6f;
  border-radius: 8px;
  padding: 20px 16px;
  margin-bottom: 28px;
  color: #ffffff;
  text-align: center;
}

.sidebar-cta-block .cta-label {
  display: inline-block;
  background: #257BC1;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.sidebar-cta-block .cta-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
  color: #ffffff;
}

.sidebar-cta-block .cta-btn-primary {
  display: block;
  background: #f07c00;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 6px;
  text-decoration: none;
  margin-bottom: 10px;
  transition: background 0.2s;
}
.sidebar-cta-block .cta-btn-primary:hover {
  background: #d46b00;
  color: #ffffff;
}

.sidebar-cta-block .cta-btn-secondary {
  display: block;
  background: transparent;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 6px;
  border: 2px solid #ffffff;
  text-decoration: none;
  transition: background 0.2s;
}
.sidebar-cta-block .cta-btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
}

/* ============================================
   ナビメニュー
   ============================================ */
.sidebar-nav-menu {
  background: #ffffff;
  border-radius: 8px;
  margin-bottom: 28px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.sidebar-nav-menu .nav-menu-title {
  font-size: 15px;
  font-weight: 700;
  color: #27272a;
  padding: 14px 16px;
  margin: 0;
  border-bottom: 2px solid #257BC1;
  background: #ffffff;
}

.sidebar-nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-nav-menu ul li {
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-nav-menu ul li:last-child {
  border-bottom: none;
}

.sidebar-nav-menu ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #27272a;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.sidebar-nav-menu ul li a:hover {
  background: #f4f9ff;
  color: #257BC1;
}

.sidebar-nav-menu ul li a::after {
  content: '›';
  font-size: 18px;
  color: #8f8f8f;
  flex-shrink: 0;
}

.sidebar-nav-menu ul li a .nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #eef4fb;
  margin-right: 10px;
  flex-shrink: 0;
  font-size: 15px;
}

.sidebar-nav-menu ul li a .nav-label {
  flex: 1;
}

/* ============================================
   フィーチャードスライダー（サイドバー用）
   ※ bxSlider の JS と競合しないよう
     スライド幅・viewport height は上書きしない
   ============================================ */
#cm-secondary .cm-featured-category-slider-widget {
  overflow: hidden;
}

#cm-secondary .cm-featured-category-slider {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* 画像はスライド幅に収まるよう max-width で制御（width指定はしない） */
#cm-secondary .cm-featured-category-slider .cm-single-slide img,
#cm-secondary .cm-featured-category-slider .cm-single-slide a img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* スライド全体を relative にしてオーバーレイの基点にする */
#cm-secondary .cm-featured-category-slider .cm-single-slide {
  position: relative;
}

/* テキストエリアを画像の上に絶対配置 */
#cm-secondary .cm-slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* カテゴリーバッジ：白系に */
#cm-secondary .cm-featured-category-slider .cm-post-categories a {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border: none;
}

/* タイトル文字を白に */
#cm-secondary .cm-slide-content .cm-entry-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin: 4px 0 6px;
  border: none;
}

#cm-secondary .cm-slide-content .cm-entry-title a {
  color: #ffffff;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
#cm-secondary .cm-slide-content .cm-entry-title a:hover {
  color: #dceeff;
}

/* 日付テキストも白に */
#cm-secondary .cm-slide-content .cm-below-entry-meta,
#cm-secondary .cm-slide-content .cm-below-entry-meta a {
  color: rgba(255, 255, 255, 0.85);
}

#cm-secondary .cm-slide-content .cm-below-entry-meta .cm-icon {
  fill: rgba(255, 255, 255, 0.85);
}

/* ============================================
   人気記事・新着記事ウィジェット
   ============================================ */
#cm-secondary .cm-featured-posts {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  margin-bottom: 28px;
}

/* ファーストポスト（大きいサムネイル） */
#cm-secondary .cm-first-post {
  padding: 12px;
  border-bottom: 1px solid #f0f0f0;
}

#cm-secondary .cm-first-post img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  margin-bottom: 8px;
}

#cm-secondary .cm-first-post .cm-entry-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 6px;
  border: none;
}

#cm-secondary .cm-first-post .cm-entry-title a {
  color: #27272a;
  text-decoration: none;
}
#cm-secondary .cm-first-post .cm-entry-title a:hover {
  color: #257BC1;
}

/* ---- 新着記事リスト：枠線なし ---- */
#cm-secondary .cm-posts .cm-post {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: none;          /* 枠線すべて削除 */
  border-bottom: none;   /* 念のため明示 */
  box-shadow: none;      /* box-shadow も除去 */
  border-radius: 0;
}

/* 末尾の :last-child ルールも枠線なしに統一 */
#cm-secondary .cm-posts .cm-post:last-child {
  border: none;
  border-bottom: none;
}

/* 記事間は余白だけで区切る */
#cm-secondary .cm-posts .cm-post + .cm-post {
  padding-top: 8px;
}

#cm-secondary .cm-posts .cm-post img {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
}

#cm-secondary .cm-posts .cm-post .cm-post-content {
  flex: 1;
  min-width: 0;
}

#cm-secondary .cm-posts .cm-post .cm-entry-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 4px;
  border: none;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

#cm-secondary .cm-posts .cm-post .cm-entry-title a {
  color: #27272a;
  text-decoration: none;
}
#cm-secondary .cm-posts .cm-post .cm-entry-title a:hover {
  color: #257BC1;
}

/* ============================================
   記事カテゴリーバッジ
   ============================================ */
#cm-secondary .cm-post-categories a {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #257BC1;
  background: #eef4fb;
  border-radius: 3px;
  padding: 2px 7px;
  margin-bottom: 4px;
  text-decoration: none;
}

/* ============================================
   日付・著者メタ情報
   ============================================ */
#cm-secondary .cm-below-entry-meta {
  font-size: 11px;
  color: #8f8f8f;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#cm-secondary .cm-below-entry-meta a {
  color: #8f8f8f;
  text-decoration: none;
}

#cm-secondary .cm-below-entry-meta .cm-icon {
  width: 12px;
  height: 12px;
  fill: #8f8f8f;
  vertical-align: middle;
  margin-right: 2px;
}

#cm-secondary .cm-author {
  display: none;
}

/* ============================================
   検索ウィジェット
   ============================================ */
#cm-secondary .widget_search {
  padding: 14px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

#cm-secondary .search-form .search-wrap {
  display: flex;
  border: 1.5px solid #d4d4d8;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

#cm-secondary .search-form .s {
  flex: 1;
  border: none;
  outline: none;
  padding: 9px 12px;
  font-size: 13px;
  background: transparent;
  color: #27272a;
}

#cm-secondary .search-form .search-icon {
  background: #257BC1;
  border: none;
  padding: 0 14px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}
#cm-secondary .search-form .search-icon:hover {
  background: #2270B0;
}
#cm-secondary .search-form .search-icon::after {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  position: relative;
}

/* ============================================
   バナー広告ウィジェット
   ============================================ */
#cm-secondary .adrotate_widgets {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 28px;
  display: block;
}

#cm-secondary .adrotate_widgets img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

#cm-secondary .adrotate_widgets .g,
#cm-secondary .adrotate_widgets .a-single {
  margin: 0;
  padding: 0;
}

/* ============================================
   レスポンシブ
   ============================================ */
@media screen and (max-width: 991px) {
  #cm-secondary {
    width: 100%;
    padding-left: 0;
    margin-top: 32px;
  }
}




/* ============================================
   ここからメインコンテンツカラム
   セクション共通：ウィジェットタイトル
   ============================================ */
.widget-title-top {
  font-size: 16px;
  font-weight: 700;
  color: #27272a;
  border-bottom: 2px solid #289dcc;
  margin-bottom: 20px;
  padding-bottom: 0;
  clear: both;
}
 
.widget-title-top span {
  background-color: #289dcc;
  color: #fff;
  padding: 6px 14px;
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.03em;
}
 
/* ============================================
   「電子帳簿保存法とは」セクション
   元の first-post / top-following-post の
   float幅(48.7%)はそのまま維持し、
   内部要素だけ調整する
   ============================================ */
 
/* コンテナのクリアフィックス */
#custom_html-3 .textwidget::after,
#custom_html-3 .textwidget:after {
  content: '';
  display: table;
  clear: both;
}
 
/* 左：メイン記事 — 元の幅・floatを維持 */
.first-post {
  float: left;
  width: 48.7012987%;
  margin-bottom: 20px;
  box-sizing: border-box;
}
 
.first-post img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
 
.top-content-title {
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0 8px;
  line-height: 1.5;
}
 
.top-content-title a {
  color: #27272a;
  text-decoration: none;
}
.top-content-title a:hover {
  color: #289dcc;
}
 
.top-content-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}
.top-content-desc a {
  color: #555;
  text-decoration: none;
}
 
/* 右：記事リスト — 元の幅・floatを維持 */
.top-following-post {
  float: right;
  width: 48.7012987%;
  box-sizing: border-box;
}
 
/* pt-cv-ifield の min-height:140px を解除して詰まりを防ぐ */
.top-following-post .pt-cv-ifield {
  min-height: 0 !important;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}
 
.top-following-post .pt-cv-content-item:last-child .pt-cv-ifield {
  border-bottom: none;
}
 
/* サムネイル */
.top-following-post .pt-cv-href-thumbnail {
  flex-shrink: 0;
}
 
.top-following-post .pt-cv-thumbnail {
  width: 90px !important;
  height: 63px !important;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  float: none !important;  /* プラグインのpull-leftを打ち消す */
  margin: 0 !important;
}
 
/* タイトル・メタ */
.top-following-post .pt-cv-title {
  font-size: 13px !important;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 3px !important;
  border-bottom: none !important;
}
 
.top-following-post h3.pt-cv-title a {
  color: #27272a;
  font-weight: 600;
}
.top-following-post h3.pt-cv-title a:hover {
  color: #289dcc;
}
 
.top-following-post .pt-cv-meta-fields {
  font-size: 11px;
  color: #8f8f8f;
}
 
.top-following-post .pt-cv-meta-fields .terms a {
  color: #289dcc;
  text-decoration: none;
}
 
/* ============================================
   「教えて電子帳簿保存法」セクション
   col-md-6 の2カラムグリッド
   ============================================ */
 
/* pt-cv-page をflex化して均一な2カラムに */
#custom_html-4 .pt-cv-page {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -6px;
}
 
#custom_html-4 .pt-cv-content-item {
  width: 50% !important;
  padding: 0 6px 12px !important;
  box-sizing: border-box;
}
 
#custom_html-4 .pt-cv-ifield {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 0 !important;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 10px;
}
 
/* サムネイル */
#custom_html-4 .pt-cv-href-thumbnail {
  flex-shrink: 0;
}
 
#custom_html-4 .pt-cv-thumbnail {
  width: 80px !important;
  height: 56px !important;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  float: none !important;
  margin: 0 !important;
}
 
/* テキスト */
#custom_html-4 .pt-cv-title {
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 3px !important;
  border-bottom: none !important;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
 
#custom_html-4 h3.pt-cv-title a {
  color: #27272a;
  font-weight: 600;
}
#custom_html-4 h3.pt-cv-title a:hover {
  color: #289dcc;
}
 
#custom_html-4 .pt-cv-meta-fields {
  font-size: 10px;
  color: #8f8f8f;
  margin-top: 3px;
}
 
#custom_html-4 .pt-cv-meta-fields .terms a {
  color: #289dcc;
  text-decoration: none;
}
 
/* ============================================
   セクション間の余白
   ============================================ */
#cm-primary section.widget_custom_html {
  margin-bottom: 32px;
}
 
/* ============================================
   レスポンシブ
   ============================================ */
@media screen and (max-width: 768px) {
  .first-post,
  .top-following-post {
    float: none;
    width: 100%;
    margin-right: 0;
  }
 
  #custom_html-4 .pt-cv-content-item {
    width: 100% !important;
  }
}
 