/* ================= box の枠  ================= */
.box1{padding:2em 1em;margin:0 0 3em;background:#f4f4f4;border:1px solid #e0e0e0;border-radius:5px}.box1 p{margin:0 0 .8em;padding:0;font-size:.95em;line-height:1.85}.box1 p:last-child{margin-bottom:0}

/* フッターの「Powered by〜」だけ消す（2つ目のp） */
.site-footer-copyright p:nth-of-type(2){
  display:none !important;
}

/* 画像枠の背景（空サムネ）だけ消す */
.vk_posts .vk_post_imgOuter{
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 1em .4em 0 !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  overflow: visible !important;
  flex: 0 0 auto !important;
}

/* 画像枠に入ってる疑似要素が空枠を作ってるケースを殺す */
.vk_posts .vk_post_imgOuter:before,
.vk_posts .vk_post_imgOuter:after{
  content: none !important;
  display: none !important;
}

/* ラベルを確実に表示（overlayを通常フローへ） */
.vk_posts .vk_post_imgOuter > a{
  display: inline-block !important;
  position: static !important;
}
.vk_posts .vk_post_imgOuter .card-img-overlay{
  position: static !important;
  display: block !important;
  padding: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.vk_posts .vk_post_imgOuter_singleTermLabel{
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  z-index: 10 !important;
}

/* サムネ用の左余白が残る場合の詰め */
.vk_posts .vk_post_body{
  margin-left: 0 !important;
}

/* パンくずの最後（現在地＝カテゴリ名/タイトル）だけ消す */
#breadcrumb .breadcrumb-list__item:last-child{
  display:none !important;
}

/* ================================== */
/* 前後記事ラベル：大きく＋文字だけ少し上寄せ（崩れない版） */
.next-prev-prev .vk_post_imgOuter_singleTermLabel,
.next-prev-next .vk_post_imgOuter_singleTermLabel{
  display:inline-block !important;
  background:#999 !important;
  color:#fff !important;
  font-weight:700 !important;
  font-size:18px !important;

  /* ここが肝：行高は普通にする */
  line-height:5 !important;

  /* 文字を上寄せに見せる（箱の高さは維持） */
  padding-top:.20em !important;
  padding-right:1.8em !important;
  padding-left:1.8em !important;
  padding-bottom:1.40em !important;
}

/* ================================== */
/* 投稿メタの著者（アイコン＋Sam）を非表示 */
.vcard.author{
  display:none !important;
}

/* ================================== */
/* ブログ固定ページ（page-id-186）だけ 1カラム化：サイドバー非表示＋本文幅100% */
body.page-id-186 #secondary,
body.page-id-186 .sidebar,
body.page-id-186 .sub-section,
body.page-id-186 .widget-area{
  display:none !important;
}

body.page-id-186 #primary,
body.page-id-186 .content-area,
body.page-id-186 .site-content .main-section,
body.page-id-186 .site-content .primary{
  width:100% !important;
  max-width:100% !important;
  flex:0 0 100% !important;
}

/* コンテナの横幅制限が強い場合だけ解除 */
body.page-id-186 .site-content .container,
body.page-id-186 .sectionBody .container{
  max-width:100% !important;
}

/* ================================== */
/* /blog/（投稿一覧）だけ右カラムを消す */
body.blog .sub-section.sub-section--col--two{
  display:none !important;
}

/* /blog/（投稿一覧）だけ左カラムを全幅にする */
body.blog .main-section{
  width:100% !important;
  max-width:100% !important;
  flex:0 0 100% !important;
}

/* 念のため、横並び指定を解除 */
body.blog .sectionBody{
  display:block !important;
}

/* ================================== */
/* ヘッダーロゴにアイコンを付ける */

/* ロゴ全体のベース */
.site-header-logo{
  margin-top: 1em;
  padding: 0;
}

/* テキストリンクに、左側の余白＋ロゴ用スペースを確保 */
.site-header-logo a{
  position: relative;
  display: inline-block;
  padding-left: 40px;        /* ← ロゴの幅＋余白（32px＋12pxぐらい） */
  text-decoration: none;
  line-height: 1;            /* 行の高さを詰めておく */
}

/* 左側の四角ロゴ本体（画像差し込み） */
.site-header-logo a::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;               /* ロゴの大きさ（PC） */
  height: 32px;
  background-image: url("https://isamulife.com/wp-content/uploads/2026/01/logo01.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;  /* 画像を枠にフィットさせる */
  border-radius: 3px;
}



