/*
Theme Name:  ファイナンスナビPRO
Theme URI:   https://finance-navi-pro.com
Description: 2026年対応・金融・FX・投資アフィリエイト専用プレミアムテーマ
Version:     1.0
Author:      ファイナンスナビPRO
Text Domain: mane-labo
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;600;700;900&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

/* =========================================================
   DESIGN TOKENS — Navy × Gold × Data
   ========================================================= */
:root {
  --navy:       #080f1e;
  --navy-2:     #0d1a30;
  --navy-3:     #152240;
  --navy-4:     #1e3056;
  --navy-light: #2a4070;

  --gold:       #c9a227;
  --gold-light: #e8c85a;
  --gold-pale:  #f5edd4;
  --gold-dark:  #9a7a18;

  --blue-accent:#3b82f6;
  --green-up:   #22c55e;
  --red-down:   #ef4444;

  --text-on-dark:  rgba(255,255,255,.92);
  --text-2-dark:   rgba(255,255,255,.65);
  --text-3-dark:   rgba(255,255,255,.38);
  --border-dark:   rgba(255,255,255,.1);
  --border-dark-2: rgba(255,255,255,.06);

  --cream:    #f8f7f4;
  --white:    #ffffff;
  --ink:      #0d1a30;
  --ink-2:    #2a3f5a;
  --ink-3:    #6a7f9a;
  --border:   #e0e8f0;

  --font-sans:  'Noto Sans JP', 'Inter', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
  --font-mono:  'JetBrains Mono', monospace;
  --font-num:   'Inter', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 8px rgba(8,15,30,.12);
  --shadow-md: 0 6px 24px rgba(8,15,30,.18);
  --shadow-lg: 0 16px 48px rgba(8,15,30,.28);
  --shadow-gold: 0 4px 20px rgba(201,162,39,.25);

  --container: 1240px;
}

/* =========================================================
   RESET
   ========================================================= */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0 }
html                  { scroll-behavior: smooth }
body                  { font-family: var(--font-sans); background: var(--navy); color: var(--text-on-dark); line-height: 1.7; -webkit-font-smoothing: antialiased }
a                     { color: var(--gold-light); text-decoration: none; transition: color .2s }
a:hover               { color: var(--white) }
img                   { display: block; max-width: 100%; height: auto }
ul,ol                 { list-style: none }
button                { cursor: pointer; font-family: inherit }

/* =========================================================
   LAYOUT
   ========================================================= */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px }
.page-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding: 40px 0 64px }
.main-col  { min-width: 0 }
.sidebar-col { min-width: 0 }

/* =========================================================
   TICKER BAR
   ========================================================= */
#ticker-bar {
  background: var(--navy-2);
  border-bottom: 1px solid var(--border-dark);
  padding: 8px 0;
  overflow: hidden;
}
.ticker-inner {
  display: flex;
  gap: 32px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
@keyframes ticker { 0% { transform: translateX(0) } 100% { transform: translateX(-50%) } }
.ticker-item { display: flex; align-items: center; gap: 8px; font-size: .75rem; font-family: var(--font-num) }
.ticker-name  { color: var(--text-2-dark); font-weight: 500 }
.ticker-price { color: var(--white); font-weight: 600 }
.ticker-up    { color: var(--green-up); font-size: .7rem }
.ticker-down  { color: var(--red-down); font-size: .7rem }

/* =========================================================
   HEADER
   ========================================================= */
#site-header {
  background: var(--navy-2);
  border-bottom: 1px solid var(--border-dark);
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 20px;
}
.site-branding    { display: flex; align-items: baseline; gap: 8px; text-decoration: none }
.site-name        { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--white); letter-spacing: .02em }
.site-name span   { color: var(--gold-light) }
.site-tagline     { font-size: .6rem; color: var(--text-3-dark); letter-spacing: .14em; text-transform: uppercase }

.header-nav       { display: flex }
.header-nav a     { font-size: .78rem; color: var(--text-2-dark); padding: 10px 14px; border-bottom: 2px solid transparent; transition: all .2s; letter-spacing: .04em }
.header-nav a:hover,
.header-nav a.current { color: var(--gold-light); border-bottom-color: var(--gold) }

.header-actions   { display: flex; align-items: center; gap: 10px }
.btn-open-acct    { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--navy); font-size: .75rem; font-weight: 700; padding: 9px 20px; border-radius: 50px; border: none; letter-spacing: .05em; transition: opacity .2s }
.btn-open-acct:hover { opacity: .9 }
.hamburger        { display: none; flex-direction: column; gap: 5px; width: 26px; background: none; border: none }
.hamburger span   { display: block; height: 2px; background: var(--white); border-radius: 1px }

/* =========================================================
   HERO — Split: Data Left + Image Right
   ========================================================= */
#hero {
  background: var(--navy-2);
  border-bottom: 1px solid var(--border-dark);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.hero-text-panel {
  padding: 52px 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--border-dark);
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .63rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold) }
.hero-headline {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 18px;
}
.hero-headline em { font-style: normal; color: var(--gold-light) }
.hero-sub { font-size: .88rem; color: var(--text-2-dark); line-height: 1.9; margin-bottom: 28px; max-width: 400px }
.hero-btns { display: flex; align-items: center; gap: 16px; margin-bottom: 44px }
.btn-hero-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-size: .85rem;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 50px;
  border: none;
  letter-spacing: .05em;
  box-shadow: var(--shadow-gold);
  transition: all .2s;
}
.btn-hero-primary:hover { opacity: .92; transform: translateY(-1px) }
.btn-hero-ghost {
  font-size: .83rem;
  color: var(--text-2-dark);
  background: none;
  border: 1px solid var(--border-dark);
  border-radius: 50px;
  padding: 12px 22px;
  transition: all .2s;
}
.btn-hero-ghost:hover { border-color: var(--gold); color: var(--gold-light) }

.hero-stats { display: flex; gap: 28px; padding-top: 22px; border-top: 1px solid var(--border-dark) }
.stat       { display: flex; flex-direction: column; gap: 3px }
.stat-num   { font-family: var(--font-num); font-size: 1.5rem; font-weight: 800; color: var(--gold-light); line-height: 1 }
.stat-label { font-size: .62rem; color: var(--text-3-dark); letter-spacing: .1em; text-transform: uppercase }

.hero-image-panel {
  position: relative;
  overflow: hidden;
  background: var(--navy-3);
}
.hero-image-panel img { width: 100%; height: 100%; object-fit: cover; opacity: .8 }
.hero-float-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(8,15,30,.88);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}
.hero-float-label { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3-dark); margin-bottom: 4px }
.hero-float-name  { font-size: .9rem; font-weight: 700; color: var(--white) }
.hero-float-score { font-size: .75rem; color: var(--gold-light); margin-top: 3px; font-family: var(--font-num) }

/* =========================================================
   CATEGORY STRIP
   ========================================================= */
#cat-strip {
  background: var(--navy-3);
  border-bottom: 1px solid var(--border-dark);
  overflow-x: auto;
  position: sticky;
  top: 66px;
  z-index: 100;
}
.cat-strip-inner { display: flex; align-items: center; gap: 6px; padding: 10px 24px; white-space: nowrap }
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  border: 1px solid var(--border-dark);
  color: var(--text-2-dark);
  background: transparent;
  transition: all .2s;
  text-decoration: none;
  letter-spacing: .04em;
}
.cat-pill:hover,
.cat-pill.active { background: var(--gold); color: var(--navy); border-color: var(--gold) }

/* =========================================================
   BENTO GRID
   ========================================================= */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
.bento-card {
  background: var(--navy-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
  position: relative;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.4) }
.bc-hero  { grid-column: span 7; grid-row: span 2 }
.bc-tall  { grid-column: span 5; grid-row: span 2 }
.bc-wide  { grid-column: span 7 }
.bc-med   { grid-column: span 5 }
.bc-third { grid-column: span 4 }
.bc-half  { grid-column: span 6 }

.card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; opacity: .85 }
.bento-card:hover .card-img { transform: scale(1.04) }

.card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(8,15,30,.92) 0%, rgba(8,15,30,.5) 60%, transparent 100%);
  padding: 28px 22px 22px;
}
.card-overlay .card-cat   { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 600 }
.card-overlay .card-title { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; color: var(--white); line-height: 1.45 }
.card-overlay .card-meta  { font-size: .72rem; color: var(--text-3-dark); margin-top: 8px }

.card-body  { padding: 18px 20px }
.card-cat   { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px }
.card-title { font-family: var(--font-serif); font-size: .95rem; font-weight: 700; color: var(--white); line-height: 1.5 }
.card-meta  { font-size: .72rem; color: var(--text-3-dark); margin-top: 8px }

.card-horizontal { display: grid; grid-template-columns: 160px 1fr }
.card-horizontal .card-img-wrap { overflow: hidden }
.card-horizontal .card-img { height: 100% }

/* Ranking */
.rank-strip { padding: 0 }
.rank-strip-head { padding: 16px 20px 12px; border-bottom: 1px solid var(--border-dark) }
.rank-strip-title { font-family: var(--font-serif); font-size: .95rem; font-weight: 700; color: var(--white) }
.rank-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-bottom: 1px solid var(--border-dark-2);
  transition: background .15s;
}
.rank-row:last-child { border-bottom: none }
.rank-row:hover      { background: rgba(201,162,39,.08) }
.rank-num  { font-family: var(--font-num); font-size: 1.1rem; font-weight: 800; width: 24px; text-align: center; color: var(--text-3-dark); flex-shrink: 0 }
.rank-num.n1 { color: var(--gold-light) }
.rank-num.n2 { color: #9e9e9e }
.rank-num.n3 { color: #b87340 }
.rank-thumb { width: 44px; height: 44px; border-radius: var(--radius-sm); flex-shrink: 0; overflow: hidden; background: var(--navy-4) }
.rank-thumb img { width: 100%; height: 100%; object-fit: cover }
.rank-info  { flex: 1; min-width: 0 }
.rank-title { font-size: .82rem; font-weight: 700; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.rank-brand { font-size: .7rem; color: var(--text-3-dark) }
.rank-score { font-size: .78rem; font-weight: 700; color: var(--gold-light); font-family: var(--font-num); flex-shrink: 0 }

/* CTA bento card */
.card-cta {
  background: linear-gradient(135deg, var(--gold-dark) 0%, #6a4f00 100%);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--gold-dark);
  min-height: 200px;
}
.cta-eyebrow { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 8px }
.cta-title   { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; color: var(--white); line-height: 1.5; margin-bottom: 8px }
.cta-sub     { font-size: .75rem; color: rgba(255,255,255,.65); line-height: 1.65; margin-bottom: 16px }
.cta-btn     { display: inline-flex; align-items: center; gap: 6px; background: var(--white); color: var(--navy); font-size: .78rem; font-weight: 700; padding: 9px 20px; border-radius: 50px; width: fit-content }
.cta-btn:hover { opacity: .92; color: var(--navy) }

/* Stat card */
.card-stat { background: var(--navy-4); padding: 24px; border: 1px solid var(--border-dark) }
.stat-big-num   { font-family: var(--font-num); font-size: 2.2rem; font-weight: 800; line-height: 1; margin-bottom: 6px; color: var(--gold-light) }
.stat-big-label { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3-dark) }
.stat-big-delta { font-size: .72rem; color: var(--green-up); margin-top: 8px }

/* Spread card */
.card-spread { background: var(--navy-2); padding: 22px; border: 1px solid var(--border-dark) }
.spread-label { font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px }
.spread-row   { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--border-dark-2); font-size: .8rem }
.spread-row:last-child { border-bottom: none }
.spread-name  { color: var(--text-2-dark); font-weight: 500 }
.spread-val   { font-family: var(--font-num); color: var(--white); font-weight: 700 }
.spread-good  { color: var(--green-up); font-size: .7rem; font-family: var(--font-num) }

/* =========================================================
   SECTION HEADER
   ========================================================= */
.section-hd { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px }
.section-title { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; color: var(--white) }
.section-en    { font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-3-dark); margin-left: 10px }
.section-more  { font-size: .75rem; color: var(--gold-light); border: 1px solid var(--gold-dark); padding: 4px 14px; border-radius: 50px; transition: all .2s; background: none }
.section-more:hover { background: var(--gold); color: var(--navy); border-color: var(--gold) }

/* =========================================================
   ARTICLE GRID
   ========================================================= */
.article-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px }
.art-card { background: var(--navy-3); border: 1px solid var(--border-dark); border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s, box-shadow .25s }
.art-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.3) }
.art-card a   { display: block; text-decoration: none; color: inherit }
.art-thumb    { position: relative; padding-top: 58%; overflow: hidden; background: var(--navy-4) }
.art-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .4s, opacity .3s }
.art-card:hover .art-thumb img { transform: scale(1.05); opacity: 1 }
.art-cat-badge { position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--navy); font-size: .62rem; font-weight: 700; padding: 3px 10px; border-radius: 4px }
.art-body     { padding: 16px 18px }
.art-title    { font-family: var(--font-serif); font-size: .92rem; font-weight: 700; color: var(--white); line-height: 1.55; margin-bottom: 8px }
.art-excerpt  { font-size: .78rem; color: var(--text-2-dark); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px }
.art-foot     { display: flex; justify-content: space-between; font-size: .7rem; color: var(--text-3-dark) }

/* =========================================================
   SINGLE POST
   ========================================================= */
.entry-header-inner { padding: 36px 0 28px }
.entry-cat-badge { display: inline-block; background: var(--gold); color: var(--navy); font-size: .65rem; font-weight: 700; padding: 4px 12px; border-radius: 4px; letter-spacing: .08em; margin-bottom: 14px }
.entry-title { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 900; color: var(--white); line-height: 1.4; margin-bottom: 18px }
.entry-meta-bar { display: flex; gap: 20px; font-size: .78rem; color: var(--text-3-dark); padding-bottom: 22px; border-bottom: 1px solid var(--border-dark) }
.entry-hero-img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 32px; opacity: .88 }
.entry-body { font-size: .95rem; line-height: 1.9; color: var(--text-2-dark) }
.entry-body h2 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--white); margin: 32px 0 14px; padding: 10px 16px; border-left: 4px solid var(--gold); background: rgba(201,162,39,.1); border-radius: 0 var(--radius-sm) var(--radius-sm) 0 }
.entry-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin: 24px 0 12px; padding-left: 14px; border-left: 3px solid var(--blue-accent) }
.entry-body p  { margin-bottom: 18px }
.entry-body a  { color: var(--gold-light) }
.entry-body strong { color: var(--gold-light); font-weight: 700 }
.entry-body ul { list-style: none; margin: 14px 0 18px }
.entry-body ul li { padding-left: 16px; margin-bottom: 6px; position: relative }
.entry-body ul li::before { content: ''; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold) }
.entry-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .88rem }
.entry-body table th { background: var(--navy-4); color: var(--gold-light); padding: 10px 14px; text-align: left; font-weight: 700; border: 1px solid var(--border-dark) }
.entry-body table td { padding: 10px 14px; border: 1px solid var(--border-dark); color: var(--text-2-dark) }
.entry-body table tr:nth-child(even) td { background: rgba(255,255,255,.03) }

/* =========================================================
   SHORTCODES
   ========================================================= */
.mane-cta { background: linear-gradient(135deg, rgba(201,162,39,.15), rgba(201,162,39,.05)); border: 1px solid var(--gold-dark); border-radius: var(--radius-xl); padding: 32px 28px; margin: 36px 0; text-align: center }
.mane-cta-eyebrow { font-size: .63rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 600 }
.mane-cta-name  { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 8px }
.mane-cta-bonus { font-size: 1.5rem; font-weight: 900; color: var(--gold-light); font-family: var(--font-num); margin-bottom: 12px }
.mane-cta-points { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 22px }
.mane-cta-point  { font-size: .78rem; color: var(--text-2-dark); display: flex; align-items: center; gap: 5px }
.mane-cta-point::before { content: '✓'; color: var(--gold-light); font-weight: 700 }
.mane-cta-btn { display: inline-block; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--navy); font-size: 1rem; font-weight: 700; padding: 14px 44px; border-radius: 50px; letter-spacing: .05em; box-shadow: var(--shadow-gold); transition: all .2s }
.mane-cta-btn:hover { transform: translateY(-2px); opacity: .95; color: var(--navy) }

/* =========================================================
   PRODUCT META CARD
   ========================================================= */
.product-meta-card { display: flex; gap: 20px; align-items: flex-start; padding: 22px; background: var(--navy-3); border: 1px solid var(--border-dark); border-radius: var(--radius-lg); margin-bottom: 28px; flex-wrap: wrap }
.product-meta-img  { width: 90px; height: 90px; border-radius: var(--radius-md); object-fit: cover; background: var(--navy-4); flex-shrink: 0 }
.product-meta-info { flex: 1; min-width: 180px }
.product-brand  { font-size: .72rem; color: var(--text-3-dark); margin-bottom: 3px }
.product-name   { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 8px }
.product-bonus  { font-size: 1.2rem; font-weight: 900; color: var(--gold-light); font-family: var(--font-num) }
.product-bonus small { font-size: .72rem; font-weight: 400; color: var(--text-3-dark); margin-left: 6px }
.product-meta-btn-wrap { display: flex; align-items: center }
.product-meta-btn { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--navy); font-size: .82rem; font-weight: 700; padding: 12px 24px; border-radius: 50px; white-space: nowrap; transition: all .2s; box-shadow: var(--shadow-gold) }
.product-meta-btn:hover { opacity: .92; transform: translateY(-1px); color: var(--navy) }

/* =========================================================
   SIDEBAR
   ========================================================= */
.sidebar-widget { background: var(--navy-3); border: 1px solid var(--border-dark); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 20px }
.widget-head { background: linear-gradient(135deg, var(--gold-dark), #4a3800); color: var(--white); padding: 11px 18px; font-size: .82rem; font-weight: 700; display: flex; align-items: center; gap: 7px }
.widget-body { padding: 12px 16px }
.widget-row  { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border-dark-2) }
.widget-row:last-child { border-bottom: none }
.widget-rank { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: .68rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0 }
.widget-rank.wn1 { background: var(--gold-light) }
.widget-rank.wn2 { background: #9e9e9e }
.widget-rank.wn3 { background: #b87340 }
.widget-img  { width: 42px; height: 42px; border-radius: var(--radius-sm); flex-shrink: 0; overflow: hidden; background: var(--navy-4) }
.widget-img img { width: 100%; height: 100%; object-fit: cover }
.widget-text { flex: 1; min-width: 0; font-size: .8rem; color: var(--text-2-dark); line-height: 1.4 }
.widget-text a { color: var(--text-2-dark) }
.widget-text a:hover { color: var(--gold-light) }
.widget-score { font-size: .73rem; font-weight: 700; color: var(--gold-light); flex-shrink: 0; font-family: var(--font-num) }
.widget-cat-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border-dark-2); font-size: .8rem }
.widget-cat-row:last-child { border-bottom: none }
.widget-cat-name a { color: var(--text-2-dark) }
.widget-cat-name a:hover { color: var(--gold-light) }
.widget-cat-count { color: var(--text-3-dark) }

.sidebar-cta { background: linear-gradient(135deg, rgba(201,162,39,.18), rgba(201,162,39,.06)); border: 1px solid var(--gold-dark); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 20px; text-align: center }
.sidebar-cta h3 { font-family: var(--font-serif); font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 6px }
.sidebar-cta p  { font-size: .75rem; color: var(--text-2-dark); line-height: 1.65; margin-bottom: 14px }
.sidebar-cta-btn { display: block; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--navy); font-size: .82rem; font-weight: 700; padding: 11px; border-radius: 50px; transition: opacity .2s }
.sidebar-cta-btn:hover { opacity: .9; color: var(--navy) }

/* =========================================================
   BREADCRUMB
   ========================================================= */
#breadcrumb { background: var(--navy-2); border-bottom: 1px solid var(--border-dark); padding: 10px 0 }
.breadcrumb-inner { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--text-3-dark); flex-wrap: wrap }
.breadcrumb-inner a { color: var(--gold-light) }

/* =========================================================
   PAGINATION
   ========================================================= */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap }
.pagination a,
.pagination span { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-dark); font-size: .88rem; font-weight: 600; transition: all .2s; color: var(--text-2-dark) }
.pagination a:hover,
.pagination .current { background: var(--gold); color: var(--navy); border-color: var(--gold) }

/* =========================================================
   FOOTER
   ========================================================= */
#site-footer { background: var(--navy-2); border-top: 1px solid var(--border-dark); margin-top: 56px }
.footer-main { padding: 48px 0 32px }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px }
.footer-logo { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; color: var(--white); margin-bottom: 12px }
.footer-logo span { color: var(--gold-light) }
.footer-tagline { font-size: .78rem; color: var(--text-3-dark); line-height: 1.75; margin-bottom: 16px }
.footer-badge { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border-dark); border-radius: var(--radius-sm); padding: 6px 14px; font-size: .7rem; color: var(--text-3-dark) }
.footer-col h4 { font-size: .72rem; font-weight: 700; color: var(--gold-light); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; padding-bottom: 7px; border-bottom: 1px solid var(--border-dark) }
.footer-col a  { display: block; font-size: .78rem; color: var(--text-3-dark); margin-bottom: 9px; transition: color .2s }
.footer-col a:hover { color: var(--white) }
.footer-bottom { border-top: 1px solid var(--border-dark-2); padding: 18px 0; display: flex; justify-content: space-between; font-size: .72rem; color: var(--text-3-dark); flex-wrap: wrap; gap: 8px }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .page-wrap { grid-template-columns: 1fr }
  .footer-grid { grid-template-columns: 1fr 1fr }
  .bc-hero,.bc-tall,.bc-wide,.bc-med { grid-column: span 12 }
}
@media (max-width: 768px) {
  .header-nav { display: none }
  .header-nav.nav-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
    z-index: 500;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
  }
  .header-nav.nav-open a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid #f0f0f0;
    font-size: .9rem;
    color: #1a1a2e !important;
  }
  .btn-open-acct { display: none }
  .hamburger { display: flex }
  .hero-grid { grid-template-columns: 1fr }
  .hero-image-panel { min-height: 250px }
  .hero-headline { font-size: 1.9rem }
  .hero-text-panel { padding: 28px 20px }
  .article-grid { grid-template-columns: 1fr }
  .bc-third,.bc-half { grid-column: span 12 }
  .footer-grid { grid-template-columns: 1fr }
  .entry-title { font-size: 1.5rem }
}

@media (max-width: 768px) {
  #cat-strip { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cat-strip-inner {
    padding: 8px 12px;
    justify-content: flex-start;
    width: max-content;
  }
  .cat-pill { flex-shrink: 0; }
}

/* 最近の投稿 */
.widget-recent-row{display:flex;align-items:flex-start;gap:8px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,0.06)}
.widget-recent-row:last-child{border-bottom:none}
.widget-recent-date{font-size:11px;color:var(--slate-4);white-space:nowrap;padding-top:2px;font-family:var(--font-num)}
.widget-recent-title{font-size:12px;color:var(--slate-2);line-height:1.5;text-decoration:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.widget-recent-title:hover{color:var(--brand)}

/* === サマリーボックス（CTA改善版）=== */
.aff-summary-box{background:linear-gradient(135deg,#1a2744 0%,#0f172a 100%);border:1px solid rgba(44,123,229,0.4);border-radius:12px;padding:20px 24px;margin:20px 0}
.aff-summary-box p{margin:0 0 12px;color:#e2e8f0;font-size:14px;line-height:1.6}
.aff-summary-box .aff-cta-btn{display:inline-flex;align-items:center;gap:8px;background:#2c7be5;color:#fff;padding:11px 24px;border-radius:8px;font-weight:700;font-size:14px;text-decoration:none;transition:background .2s}
.aff-summary-box .aff-cta-btn:hover{background:#1a6bc5}
.aff-summary-box .aff-doubt{font-size:11px;color:#64748b;margin:8px 0 0}

/* === 記事内CTAボタン改善 === */
.entry-content div[style*="text-align:center"] a[rel="nofollow"],
.entry-content div[style*="text-align: center"] a[rel="nofollow"]{
  display:inline-flex!important;align-items:center;gap:8px;
  padding:14px 28px!important;border-radius:8px!important;
  font-size:16px!important;letter-spacing:.02em;
  box-shadow:0 4px 14px rgba(231,76,60,0.35)!important;
  transition:transform .2s,box-shadow .2s!important
}
.entry-content div[style*="text-align:center"] a[rel="nofollow"]:hover{
  transform:translateY(-2px);box-shadow:0 6px 20px rgba(231,76,60,0.45)!important
}

/* 記事内CTAラッパーの余白最適化 */
.entry-content div[style*="text-align:center"]{margin:24px 0!important;padding:0!important}
.entry-content div[style*="background:#fff8e1"]{margin:24px 0!important}

/* Sticky CTA */
.sticky-cta-bar{display:none}
@media(max-width:768px){
  .sticky-cta-bar{display:block;position:fixed;bottom:0;left:0;right:0;
    background:#2c7be5;padding:13px 16px;text-align:center;
    z-index:9999;box-shadow:0 -2px 12px rgba(0,0,0,0.25)}
  .sticky-cta-bar a{color:#fff;font-weight:700;font-size:15px;text-decoration:none}
}

/* === 比較表モバイル対応 === */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media(max-width: 768px) {
  .entry-content table {
    font-size: 12px;
  }
  .entry-content table th,
  .entry-content table td {
    padding: 8px 6px !important;
    min-width: 60px;
  }
  /* CTA列のボタンを小さく */
  .entry-content table a[style*="border-radius:4px"] {
    padding: 5px 8px !important;
    font-size: 11px !important;
    white-space: nowrap;
  }
  /* ヘッダー行を固定色に */
  .entry-content table thead tr {
    position: sticky;
    top: 0;
  }
}
/* 空セルの最低幅確保 */
.entry-content table td:empty::after {
  content: "−";
  color: #64748b;
}
/* おすすめ行のスタイル強化 */
.entry-content table tbody tr:first-child {
  background: rgba(255, 248, 225, 0.08) !important;
}

/* === 比較表テキスト色修正 === */
.entry-content table thead th {
  color: #fff !important;
  font-weight: 700 !important;
}
.entry-content table tr[style*="background:#fff8e1"] td {
  color: #0f172a !important;
}
.entry-content table tr[style*="background:#fff8e1"] td:first-child {
  color: #b45309 !important;
  font-weight: 700 !important;
}
.entry-content table tbody tr:not([style*="background:#fff8e1"]) td {
  color: #cbd5e1 !important;
}
.entry-content table tr[style*="border-bottom:1px solid #eee"] {
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
/* 比較表 製品名列幅最適化 */
.entry-content table td:first-child,
.entry-content table th:first-child {
  min-width: 100px;
  overflow-wrap: break-word;
}
.entry-content table td:not(:first-child),
.entry-content table th:not(:first-child) {
}


/* ===== まとめ等の明るい背景ボックス内テキストを濃色化（白文字白背景の解消） ===== */
.entry-content div[style*="background:#f8f9fa"],
.entry-content div[style*="background:#f8f9fa"] p,
.entry-content div[style*="background:#f8f9fa"] h2,
.entry-content div[style*="background:#f8f9fa"] h3,
.entry-content div[style*="background:#f8f9fa"] li,
.entry-content div[style*="background:#fff8e1"],
.entry-content div[style*="background:#fff8e1"] p,
.entry-content div[style*="background:#fff8e1"] h2,
.entry-content div[style*="background:#fff8e1"] h3,
.entry-content div[style*="background:#fff8e1"] li,
.entry-content div[style*="background:#fff"],
.entry-content div[style*="background:#fff"] p,
.entry-content div[style*="background:#fff"] h2,
.entry-content div[style*="background:#fff"] h3,
.entry-content div[style*="background:#fff"] li {
    color: #1a3a6b !important;
}

/* ==========================================================
   AI生成コンテンツ対応スタイル (article_worker.py 出力用)
   ========================================================== */

/* 著者プロフィール */
.author-profile {
  background: var(--navy-3);
  border: 1px solid var(--gold-dark);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 40px 0 24px;
}
.author-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.author-title {
  font-size: .8rem;
  color: var(--text-2-dark);
  margin-bottom: 12px;
}
.author-bio {
  font-size: .88rem;
  line-height: 1.75;
  color: var(--text-on-dark);
  margin-bottom: 12px;
}
.author-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.author-expertise li {
  font-size: .72rem;
  background: rgba(201,162,39,.08);
  border: 1px solid var(--gold-dark);
  padding: 3px 10px;
  border-radius: 20px;
  color: var(--text-2-dark);
}

/* 免責事項 */
.disclaimer {
  background: rgba(201,162,39,.08);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 32px 0;
}
.disclaimer p {
  font-size: .78rem;
  color: var(--text-2-dark);
  line-height: 1.7;
  margin-bottom: 6px;
}
.disclaimer p:last-child { margin-bottom: 0; }

/* スペック・特徴一覧表 */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .88rem;
}
.spec-table th,
.spec-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--gold-dark);
}
.spec-table thead tr {
  background: rgba(201,162,39,.08);
}
.spec-table thead th {
  font-weight: 700;
  color: var(--gold);
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.spec-table tbody tr:last-child td { border-bottom: none; }

/* entry-body内の基本スタイル補完 */
.entry-body h2 {
  border-left: 4px solid var(--gold);
  padding-left: 14px;
  margin: 36px 0 16px;
}
.entry-body h3 {
  border-left: 2px solid var(--gold);
  padding-left: 10px;
  margin: 28px 0 12px;
}
.entry-body ul, .entry-body ol {
  list-style: revert;
  padding-left: 1.5em;
  margin: 12px 0;
}
.entry-body li { margin-bottom: 6px; line-height: 1.75; }
.entry-body p { margin-bottom: 1em; }
.entry-body strong { color: var(--gold-light); }
.entry-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: .88rem;
}
.entry-body table th,
.entry-body table td {
  padding: 9px 12px;
  border: 1px solid var(--gold-dark);
}
.entry-body table thead th {
  background: rgba(201,162,39,.08);
  font-weight: 700;
  color: var(--gold);
}
