/* ヘッダーのブログ入口を目立たせる（2026-10-14 blanc）— inc/blog-icon.php が読む
   main.css は header.php で wp_head より後に直書きで読まれる＝同じ強さのセレクタは負ける。.site-header を前に付けて勝たせている */

/* PC: ヘッダーの「ブログ」アイコンを大きく（1201px以上は1.8倍・それ未満は1.5倍＝アイコン列を1行に収めるため） */
:root {
  --jr-blog-scale: 1.8;
}
@media only screen and (max-width: 1200px) {
  :root {
    --jr-blog-scale: 1.5;
  }
}
.site-header .h-cta-icon-list > li a.cta-icon--blog {
  width: calc(var(--h-cta-size) * var(--jr-blog-scale));
  margin-top: -0.8rem;
}
.site-header .cta-icon--blog .cta-icon__box {
  position: relative;
  width: calc(var(--h-cta-size) * var(--jr-blog-scale));
  height: calc(var(--h-cta-size) * var(--jr-blog-scale));
  filter: drop-shadow(0 3px 6px rgba(0, 90, 200, 0.35));
}
.site-header .cta-icon--blog .cta-icon__label {
  top: calc(var(--h-cta-size) * var(--jr-blog-scale) + 0.2rem);
  color: #e8710a;
  font-size: 1rem;
}

/* NEW バッジ（PC・スマホ共通） */
.jr-blog-new {
  position: absolute;
  top: -4px;
  right: -8px;
  padding: 1px 5px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #fff;
  background: #e60023;
  border-radius: 3px;
}

/* スマホ: メニューボタンの左に「ブログ」ボタン */
.jr-sp-blog {
  display: none;
}
@media only screen and (max-width: 1024px) {
  .jr-sp-blog {
    position: absolute;
    top: 0;
    right: 71px;
    bottom: 0;
    width: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-decoration: none;
    background: #eef6ff;
    border-left: 1px solid #d6e6f7;
  }
  .jr-sp-blog img {
    width: 40px;
    height: 40px;
  }
  .jr-sp-blog__label {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-theme);
  }
  .jr-sp-blog .jr-blog-new {
    top: 6px;
    right: 4px;
  }
}
