/* ================================================================
   市場ナビ (shijo-navi.com) — Custom Design v1
   Theme: Kadence  |  Load order: after kadence-footer (last)
================================================================ */

/* ── 1. ヘッダー ── */
#masthead,
#masthead .site-header-row-container-inner,
#masthead .site-header-upper-inner-wrap,
#masthead .site-main-header-wrap {
  background: #0c1e3c !important;
  border-bottom: none !important;
  box-shadow: 0 2px 16px rgba(0,0,0,.3) !important;
}
.site-header-inner-wrap {
  background: #0c1e3c !important;
}
.site-main-header-inner-wrap {
  min-height: 68px !important;
}

/* ── 2. ロゴエリア ── */
.site-branding .brand {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  text-decoration: none !important;
}
/* コンパスSVGアイコン (::before) */
.site-branding .brand::before {
  content: '' !important;
  display: block !important;
  width: 40px !important;
  height: 40px !important;
  flex-shrink: 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 52'%3E%3Ccircle cx='26' cy='26' r='25' fill='rgba(255,255,255,0.08)' stroke='rgba(255,255,255,0.2)' stroke-width='1'/%3E%3Cpolyline points='6,40 15,29 26,32 37,20 46,14' stroke='%23e8a830' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpolygon points='46,14 39,16 43,22' fill='%23e8a830'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
}
.site-branding .site-title,
.site-branding .site-title a,
.mobile-site-branding .site-title,
.mobile-site-branding .site-title a {
  color: #ffffff !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  letter-spacing: -.01em !important;
  text-decoration: none !important;
  line-height: 1.1 !important;
}

/* ── 3. ナビゲーション ── */
.main-navigation .primary-menu-container > ul > li.menu-item > a {
  color: rgba(255,255,255,.78) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
  border-radius: 4px !important;
}
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.main-navigation .primary-menu-container > ul > li.current-menu-item > a {
  color: #ffffff !important;
  background: rgba(255,255,255,.12) !important;
}
.main-navigation .primary-menu-container > ul > li.current-menu-item > a {
  border-bottom: 2px solid #e8a830 !important;
  border-radius: 4px 4px 0 0 !important;
}
/* ドロップダウン */
.header-navigation .header-menu-container ul ul.sub-menu {
  background: #0c1e3c !important;
  border: 1px solid rgba(255,255,255,.12) !important;
}

/* ── 4. ヒーローセクション ── */
.sn-hero {
  background: linear-gradient(138deg, #0c1e3c 0%, #1a3a6e 60%, #0e2040 100%);
  padding: 48px 24px 44px;
  position: relative;
  overflow: hidden;
}
.sn-hero::before {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(201,134,31,.15) 0%, transparent 70%);
  pointer-events: none;
}
.sn-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.sn-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.sn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,134,31,.2);
  border: 1px solid rgba(201,134,31,.4);
  color: #e8a830;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.sn-hero h1 {
  font-size: 34px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
  letter-spacing: -.02em !important;
  margin-bottom: 12px !important;
}
.sn-hero h1 span { color: #e8a830 !important; }
.sn-hero-sub {
  color: rgba(255,255,255,.65);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.7;
}
.sn-hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sn-hero-tag {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.85) !important;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  text-decoration: none !important;
  transition: all .18s;
}
.sn-hero-tag:hover {
  background: #c9861f !important;
  border-color: #c9861f !important;
  color: #fff !important;
}

/* ── 5. コンテンツエリア背景 ── */
body {
  background-color: #f4f6fb !important;
}
.content-area,
#primary {
  background: #f4f6fb !important;
}

/* ── 6. 記事カード ── */
article.loop-entry,
.loop-entry {
  background: #ffffff !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 14px rgba(12,30,60,.09) !important;
  overflow: hidden !important;
  transition: transform .18s, box-shadow .18s !important;
  border: none !important;
}
article.loop-entry:hover,
.loop-entry:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(12,30,60,.14) !important;
}
.loop-entry .entry-content-wrap {
  padding: 16px 18px 14px !important;
}

/* カードタイトル */
.loop-entry .entry-title,
.loop-entry h2.entry-title {
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  letter-spacing: -.01em !important;
  margin-bottom: 6px !important;
}
.loop-entry .entry-title a {
  color: #1c1c2e !important;
  text-decoration: none !important;
}
.loop-entry .entry-title a:hover {
  color: #1a3460 !important;
}

/* カードメタ */
.loop-entry .entry-meta,
.loop-entry .posted-on,
.loop-entry .byline {
  color: #5a6380 !important;
  font-size: 11.5px !important;
}

/* サムネイル */
.loop-entry .post-thumbnail {
  overflow: hidden !important;
}
.loop-entry .post-thumbnail img {
  transition: transform .25s !important;
}
.loop-entry:hover .post-thumbnail img {
  transform: scale(1.04) !important;
}

/* 続きを読む */
.post-more-link,
a.post-more-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #1a3460 !important;
  text-decoration: none !important;
  border-bottom: 1.5px solid #c9861f !important;
  padding-bottom: 1px !important;
  letter-spacing: .04em !important;
}
.post-more-link:hover { color: #c9861f !important; }
.more-link-wrap { margin-top: 8px !important; }

/* ── 7. カテゴリーバッジ ── */
.entry-taxonomies .category-links a,
.category-link-stocks,
a.category-link-stocks {
  background: #e8f0ff !important;
  color: #1a3460 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  padding: 3px 10px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  display: inline-block !important;
}
.category-link-forex,
a.category-link-forex {
  background: #fff3e0 !important;
  color: #b35a00 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 3px 10px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  display: inline-block !important;
}
.category-link-binary-options,
a.category-link-binary-options {
  background: #f3e8ff !important;
  color: #5b21b6 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 3px 10px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  display: inline-block !important;
}
.category-link-market-analysis,
a.category-link-market-analysis {
  background: #e8f7ef !important;
  color: #145c37 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 3px 10px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  display: inline-block !important;
}
.category-link-bonds,
a.category-link-bonds {
  background: #fef3c7 !important;
  color: #92400e !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 3px 10px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  display: inline-block !important;
}
.category-link-commodities,
a.category-link-commodities {
  background: #fce7f3 !important;
  color: #9d174d !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 3px 10px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  display: inline-block !important;
}

/* ── 8. サイドバー ── */
#secondary .widget,
#secondary aside.widget {
  background: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 12px rgba(12,30,60,.09) !important;
  overflow: hidden !important;
  margin-bottom: 20px !important;
  border: none !important;
  padding: 0 !important;
}
#secondary .widget-title,
#secondary .widgettitle {
  background: #0c1e3c !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .1em !important;
  padding: 10px 16px !important;
  margin: 0 0 0 0 !important;
}
#secondary .widget ul {
  list-style: none !important;
  padding: 10px 16px !important;
  margin: 0 !important;
}
#secondary .widget ul li {
  padding: 7px 0 !important;
  border-bottom: 1px solid #dde3f0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
#secondary .widget ul li:last-child { border-bottom: none !important; }
#secondary .widget ul li a {
  color: #1c1c2e !important;
  text-decoration: none !important;
}
#secondary .widget ul li a:hover { color: #1a3460 !important; }
/* タグクラウド */
#secondary .tagcloud a,
#secondary .tag-cloud-link {
  background: #f4f6fb !important;
  border: 1px solid #dde3f0 !important;
  color: #1c1c2e !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  display: inline-block !important;
  margin: 3px !important;
}
#secondary .tagcloud a:hover {
  background: #0c1e3c !important;
  border-color: #0c1e3c !important;
  color: #e8a830 !important;
}

/* ── 9. シングル記事 ── */
.single .entry-title,
.page .entry-title {
  font-size: 26px !important;
  font-weight: 900 !important;
  color: #1c1c2e !important;
  line-height: 1.35 !important;
  letter-spacing: -.02em !important;
}
.single .entry-content {
  font-size: 15px !important;
  line-height: 1.85 !important;
  color: #1c1c2e !important;
}
.single .entry-content h2 {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #0c1e3c !important;
  border-left: 4px solid #c9861f !important;
  padding-left: 14px !important;
  margin: 32px 0 14px !important;
}
.single .entry-content h3 {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #0c1e3c !important;
  border-bottom: 2px solid #dde3f0 !important;
  padding-bottom: 6px !important;
  margin: 24px 0 10px !important;
}
.single .entry-content table {
  border-collapse: collapse !important;
  width: 100% !important;
  font-size: 14px !important;
  margin: 20px 0 !important;
}
.single .entry-content table th,
.single .entry-content table tr:first-child td {
  background: #0c1e3c !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 10px 14px !important;
}
.single .entry-content table td {
  padding: 9px 14px !important;
  border-bottom: 1px solid #dde3f0 !important;
}
.single .entry-content table tr:nth-child(even) td {
  background: #f8f9fc !important;
}

/* ── 10. ページネーション ── */
.page-numbers,
.pagination .page-numbers {
  background: #fff !important;
  color: #1c1c2e !important;
  border: 1px solid #dde3f0 !important;
  border-radius: 6px !important;
  padding: 6px 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all .18s !important;
}
.page-numbers:hover,
.page-numbers.current {
  background: #0c1e3c !important;
  color: #fff !important;
  border-color: #0c1e3c !important;
}

/* ── 11. フッター ── */
#colophon,
.site-footer,
.site-footer-wrap,
.site-bottom-footer-wrap,
.site-bottom-footer-inner-wrap {
  background: #0c1e3c !important;
  color: rgba(255,255,255,.6) !important;
  border-top: none !important;
}
#colophon a,
.site-footer a {
  color: rgba(255,255,255,.65) !important;
  text-decoration: none !important;
}
#colophon a:hover,
.site-footer a:hover {
  color: #e8a830 !important;
}
.site-info,
.site-footer .site-info {
  color: rgba(255,255,255,.4) !important;
  font-size: 11.5px !important;
}
/* フッターウィジェットタイトル */
#colophon .widget-title,
.site-footer .widget-title {
  color: rgba(255,255,255,.4) !important;
  font-size: 11px !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}
#colophon .widget ul li,
.site-footer .widget ul li {
  border-color: rgba(255,255,255,.08) !important;
}

/* ── 12. フォント・文字サイズ全般 ── */
body,
input, select, textarea, optgroup {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Helvetica Neue', sans-serif !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #1c1c2e !important;
  font-weight: 400 !important;
  -webkit-font-smoothing: antialiased !important;
}

/* 見出し全般 */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Helvetica Neue', sans-serif !important;
  font-weight: 800 !important;
  color: #1c1c2e !important;
  line-height: 1.35 !important;
  letter-spacing: -.02em !important;
}

/* アーカイブ h1（セクションヘッド） */
.section-head h2,
.archive-title,
.page-header .page-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: -.01em !important;
}

/* カードタイトル h2 */
.loop-entry .entry-title,
.loop-entry h2.entry-title {
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  letter-spacing: -.01em !important;
}

/* カード抜粋 */
.loop-entry .entry-summary,
.loop-entry .entry-summary p {
  font-size: 13px !important;
  line-height: 1.65 !important;
  color: #5a6380 !important;
}

/* カードメタ（日付・著者） */
.loop-entry .entry-meta,
.loop-entry .posted-on,
.loop-entry .byline,
.loop-entry .entry-meta * {
  font-size: 11.5px !important;
  line-height: 1.5 !important;
}

/* 続きを読む */
.post-more-link {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
}

/* ナビリンク */
.main-navigation .primary-menu-container > ul > li.menu-item > a {
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
}

/* ロゴ文字 */
.site-branding .site-title,
.site-branding .site-title a,
.mobile-site-branding .site-title,
.mobile-site-branding .site-title a {
  font-size: 22px !important;
  font-weight: 900 !important;
  letter-spacing: -.01em !important;
  line-height: 1.1 !important;
}

/* ヒーローh1 */
.sn-hero h1 {
  font-size: 34px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  letter-spacing: -.02em !important;
}
.sn-hero-sub {
  font-size: 14px !important;
  line-height: 1.7 !important;
}
.sn-hero-tag {
  font-size: 12px !important;
  font-weight: 600 !important;
}
.sn-eyebrow {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
}

/* カテゴリーバッジ */
.entry-taxonomies .category-links a,
.category-link-stocks, .category-link-forex,
.category-link-binary-options, .category-link-market-analysis,
.category-link-bonds, .category-link-commodities {
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
}

/* ウィジェットタイトル */
#secondary .widget-title,
#secondary .widgettitle {
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .1em !important;
}

/* ウィジェットリスト */
#secondary .widget ul li {
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

/* シングル記事 */
.single .entry-title,
.page .entry-title {
  font-size: 26px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  letter-spacing: -.02em !important;
}
.single .entry-content {
  font-size: 15px !important;
  line-height: 1.85 !important;
}
.single .entry-content h2 {
  font-size: 20px !important;
  font-weight: 800 !important;
}
.single .entry-content h3 {
  font-size: 17px !important;
  font-weight: 800 !important;
}
.single .entry-content h4 {
  font-size: 15px !important;
  font-weight: 800 !important;
}

/* フッター */
.site-info,
.site-footer .site-info {
  font-size: 11.5px !important;
}

/* ページネーション */
.page-numbers {
  font-size: 13px !important;
  font-weight: 700 !important;
}

/* ── 12-b. リンク色 ── */
a { color: #1a3460; }
a:hover { color: #c9861f; }

/* ── 13. ボタン ── */
button, .button, .wp-block-button__link,
input[type="submit"], input[type="button"] {
  background: #0c1e3c !important;
  color: #fff !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  border: none !important;
}
button:hover, .button:hover {
  background: #1a3460 !important;
}

/* ── 14. モバイルヘッダー ── */
#mobile-header,
#mobile-header .site-header-row-container-inner {
  background: #0c1e3c !important;
}
.menu-toggle-open,
.menu-toggle-open .menu-toggle-icon {
  color: rgba(255,255,255,.8) !important;
}
#mobile-drawer,
.mobile-navigation {
  background: #0c1e3c !important;
}
.mobile-navigation ul li > a,
.mobile-navigation ul li.menu-item-has-children > .drawer-nav-drop-wrap {
  color: rgba(255,255,255,.85) !important;
  border-color: rgba(255,255,255,.1) !important;
}

/* ── 15. アーカイブグリッド余白調整 ── */
.content-area { margin-top: 0 !important; }
/* ヒーロー直下の先頭余白（メインとサイドバー両方） */
.home .site-main,
.blog .site-main,
.archive .site-main,
.category .site-main,
.tag .site-main,
.home #secondary,
.blog #secondary,
.archive #secondary,
.category #secondary,
.tag #secondary {
  padding-top: 36px !important;
}

/* ── 16. アーカイブ 強制2カラムグリッド ── */
#archive-container,
#archive-container.kadence-posts-list,
#archive-container.kadence-posts-grid,
.kadence-posts-loop {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  width: 100% !important;
  align-items: start !important;
  padding-top: 0 !important;
}
/* Kadence list モード内の横並びを縦並びに上書き */
#archive-container article.loop-entry,
.kadence-posts-loop article.loop-entry {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 0 !important;
  height: 100% !important;
}
#archive-container .loop-entry-inner,
.kadence-posts-loop .loop-entry-inner {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
}
/* サムネイルエリアを上に固定 */
#archive-container .entry-media-wrap,
#archive-container .post-thumbnail,
#archive-container .kadence-post-image-wrap {
  width: 100% !important;
  flex-shrink: 0 !important;
}
#archive-container .entry-content-wrap {
  flex: 1 !important;
}

/* ── 17. セクションヘッド（注目記事 / 新着記事） ── */
.sn-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  margin-top: 0;
}
.sn-section-head h2 {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #1c1c2e !important;
  letter-spacing: -.01em !important;
  white-space: nowrap;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  line-height: 1.3 !important;
}
.sn-badge {
  background: #0c1e3c;
  color: #e8a830;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.sn-section-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #0c1e3c 0%, transparent 100%);
  border-radius: 2px;
  min-width: 20px;
}

/* ── 18. 注目記事フィーチャードカード ── */
.sn-featured-card {
  background: #ffffff !important;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(12,30,60,.09);
  overflow: hidden;
  margin-bottom: 24px;
  display: grid !important;
  grid-template-columns: 1fr 220px !important;
  align-items: stretch;
}
.sn-featured-body {
  padding: 24px;
}
.sn-pick-badge {
  display: inline-block;
  background: #0c1e3c;
  color: #e8a830;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.sn-featured-body h3 {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #1c1c2e !important;
  line-height: 1.4 !important;
  margin: 0 0 8px !important;
  letter-spacing: -.01em !important;
}
.sn-featured-body h3 a {
  color: #1c1c2e !important;
  text-decoration: none !important;
}
.sn-featured-body h3 a:hover { color: #1a3460 !important; }
.sn-excerpt {
  font-size: 13px !important;
  color: #5a6380 !important;
  line-height: 1.65 !important;
  margin: 6px 0 0 !important;
}
.sn-card-meta {
  font-size: 11.5px;
  color: #5a6380;
  margin-top: 12px;
  display: flex;
  gap: 12px;
}
.sn-read-more {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 14px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #1a3460 !important;
  text-decoration: none !important;
  border-bottom: 1.5px solid #c9861f !important;
  padding-bottom: 1px !important;
  letter-spacing: .04em !important;
}
.sn-read-more:hover { color: #c9861f !important; }
.sn-featured-img {
  background: linear-gradient(135deg, #1a3460 0%, #0c1e3c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  overflow: hidden;
  position: relative;
}
.sn-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* ── 19. サムネイルなしカード：グラデーションプレースホルダー ── */
article.loop-entry.sn-no-thumb .entry-media-wrap,
article.loop-entry.sn-no-thumb .post-thumbnail-wrap,
article.loop-entry.sn-no-thumb .kadence-post-image-wrap,
article.loop-entry.sn-no-thumb .post-thumbnail {
  background: linear-gradient(135deg, #1a3460 0%, #0c1e3c 100%) !important;
  min-height: 130px !important;
  display: block !important;
  width: 100% !important;
}

/* ── 20. ロゴ下サブテキスト SHIJO-NAVI ── */
.sn-logo-en {
  display: block !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,.45) !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  margin-top: 2px !important;
  line-height: 1 !important;
  font-family: 'Helvetica Neue', sans-serif !important;
}

/* ── 22. 検索フォーム ── */
.sn-search-form {
  display: flex;
  gap: 0;
  border: 1.5px solid #dde3f0;
  border-radius: 6px;
  overflow: hidden;
}
.sn-search-form input[type="search"] {
  flex: 1;
  border: none !important;
  outline: none !important;
  padding: 9px 12px !important;
  font-size: 13px !important;
  font-family: inherit !important;
  background: #fff !important;
  color: #1c1c2e !important;
  box-shadow: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  -webkit-appearance: none;
}
.sn-search-form input[type="search"]::placeholder { color: #a0aab8; }
.sn-search-form button {
  background: #0c1e3c !important;
  color: #e8a830 !important;
  border: none !important;
  padding: 0 14px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  border-radius: 0 !important;
  transition: background .15s !important;
}
.sn-search-form button:hover { background: #1a3460 !important; }

/* ── 23. 関連記事 ── */
.sn-related { margin-top: 0; }
.sn-rel-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}
.sn-rel-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(12,30,60,.09);
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.sn-rel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(12,30,60,.14);
}
.sn-rel-thumb {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.sn-rel-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.sn-rel-body { padding: 12px 14px 14px; }
.sn-rel-cat {
  display: inline-block;
  background: #e8f0ff;
  color: #1a3460;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.sn-rel-body h3 {
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  color: #1c1c2e !important;
  margin: 0 0 6px !important;
  letter-spacing: -.01em !important;
}
.sn-rel-body h3 a {
  color: #1c1c2e !important;
  text-decoration: none !important;
}
.sn-rel-body h3 a:hover { color: #1a3460 !important; }
.sn-rel-date { font-size: 11px; color: #5a6380; }

/* ── 24. 人気記事ランキンググリッド ── */
.sn-rank-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  margin-bottom: 32px !important;
}
.sn-rank-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(12,30,60,.09);
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.sn-rank-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(12,30,60,.14);
}
.sn-rank-thumb {
  height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sn-rank-num {
  position: absolute;
  top: 10px; left: 10px;
  width: 28px; height: 28px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.sn-rank-body {
  padding: 14px 16px 16px;
}
.sn-rank-body h3 {
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  color: #1c1c2e !important;
  margin: 0 0 6px !important;
  letter-spacing: -.01em !important;
}
.sn-rank-body h3 a {
  color: #1c1c2e !important;
  text-decoration: none !important;
}
.sn-rank-body h3 a:hover { color: #1a3460 !important; }
.sn-rank-body p {
  font-size: 12px !important;
  color: #5a6380 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* ── 23. カスタムサイドバーウィジェット (sn-w) ── */
/* Kadenceオリジナルのウィジェットは JS で置換するため、既存スタイルを上書き */
#secondary { visibility: visible !important; }

.sn-w {
  background: #fff !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 12px rgba(12,30,60,.09) !important;
  overflow: hidden !important;
  margin-bottom: 20px !important;
  padding: 0 !important;
  border: none !important;
  list-style: none !important;
}
.sn-wh {
  background: #0c1e3c;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sn-wd {
  width: 6px; height: 6px;
  background: #e8a830;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}
.sn-wb { padding: 12px 16px; }

/* 相場速報 */
.sn-mr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid #dde3f0;
  font-size: 13px;
}
.sn-mr:last-of-type { border-bottom: none; }
.sn-mn { font-weight: 700; color: #1c1c2e; }
.sn-mv { font-weight: 800; color: #1c1c2e; font-size: 14px; }
.sn-mc { font-size: 12px; font-weight: 700; }
.sn-mc.up   { color: #1a8a5a; }
.sn-mc.down { color: #c0392b; }
.sn-dn { font-size: 10px; color: #5a6380; text-align: right; margin-top: 6px; }

/* 人気記事TOP5 */
.sn-wl { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.sn-wl li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid #dde3f0 !important;
}
.sn-wl li:last-child { border-bottom: none !important; }
.sn-wn {
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: #0c1e3c;
  color: #e8a830;
  font-size: 11px;
  font-weight: 800;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.sn-wn.n1 { background: #e8a830; color: #fff; }
.sn-wt {
  font-size: 12.5px;
  line-height: 1.5;
  color: #1c1c2e !important;
  font-weight: 600;
  text-decoration: none !important;
}
.sn-wt:hover { color: #1a3460 !important; }

/* カテゴリーリスト */
.sn-cl { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.sn-cl li {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 7px 0 !important;
  border-bottom: 1px solid #dde3f0 !important;
  font-size: 13px;
  font-weight: 600;
}
.sn-cl li:last-child { border-bottom: none !important; }
.sn-cl a {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #1c1c2e !important;
  text-decoration: none !important;
}
.sn-cl a:hover { color: #1a3460 !important; }
.sn-ci { font-size: 14px; }
.sn-cc {
  background: #f4f6fb;
  color: #5a6380;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
  flex-shrink: 0;
}

/* タグクラウド */
.sn-tc { display: flex; flex-wrap: wrap; gap: 6px; }
.sn-tg {
  background: #f4f6fb !important;
  border: 1px solid #dde3f0 !important;
  color: #1c1c2e !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  transition: all .15s !important;
  display: inline-block !important;
}
.sn-tg:hover {
  background: #0c1e3c !important;
  border-color: #0c1e3c !important;
  color: #e8a830 !important;
}
.sn-tgs {
  background: #0c1e3c !important;
  border-color: #0c1e3c !important;
  color: #e8a830 !important;
}

/* ── 23. カスタムフッター ── */
/* Kadenceオリジナルのフッターを非表示 */
#colophon { display: none !important; }

.sn-custom-footer {
  background: #0c1e3c;
  color: rgba(255,255,255,.6);
  margin-top: 20px;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}
.sn-fi {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 24px 24px;
}
.sn-ft {
  display: grid;
  grid-template-columns: 200px 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 20px;
}
/* ブランドカラム */
.sn-fb .sn-flogo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.sn-flogo span {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}
.sn-flogo em { color: #e8a830; font-style: normal; }
.sn-fb p {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  margin: 0;
}
/* リンクカラム */
.sn-fc h4 {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
  color: rgba(255,255,255,.4) !important;
  margin-bottom: 12px !important;
  text-transform: uppercase !important;
  line-height: 1.4 !important;
}
.sn-fc ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.sn-fc ul li { margin-bottom: 6px; border: none !important; padding: 0 !important; }
.sn-fc ul li a {
  color: rgba(255,255,255,.65) !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  transition: color .15s;
}
.sn-fc ul li a:hover { color: #e8a830 !important; }
/* ボトムバー */
.sn-fbot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: rgba(255,255,255,.4);
}
.sn-fbot a {
  color: rgba(255,255,255,.45) !important;
  text-decoration: none !important;
  margin-left: 16px;
  font-size: 11.5px !important;
}
.sn-fbot a:hover { color: #e8a830 !important; }

/* ── 21. モバイル ── */
@media (max-width: 767px) {
  .sn-hero { padding: 32px 16px 28px; }
  .sn-hero h1 { font-size: 24px !important; }
  .site-branding .site-title { font-size: 18px !important; }
  #archive-container,
  #archive-container.kadence-posts-list,
  .kadence-posts-loop {
    grid-template-columns: 1fr !important;
  }
  .sn-featured-card {
    grid-template-columns: 1fr !important;
  }
  .sn-featured-img { min-height: 140px; }
  .sn-ft {
    grid-template-columns: 1fr 1fr !important;
  }
  .sn-fb {
    grid-column: 1 / -1 !important;
  }
}
