/*!
Theme Name: Cocoon Child
Template: cocoon-master
Description: 分析・計測ナビ カスタムテーマ（Cocoon子テーマ）
Author: Digital Gorilla Inc.
Version: 2.0.0
*/

/* ============================================================
   分析・計測ナビ デザインシステム
   Design: Claude Design (TOP.html) → WordPress Theme
   ============================================================ */

:root {
  --navy-900: #0B1220;
  --navy-800: #111A2E;
  --navy-700: #1E2A44;
  --navy-100: #E2E8F0;
  --green-500: #10B981;
  --green-600: #059669;
  --green-50:  #ECFDF5;
  --ink-900: #0F172A;
  --ink-700: #334155;
  --ink-500: #64748B;
  --ink-400: #94A3B8;
  --line:    #E2E8F0;
  --bg:      #F8FAFC;
  --white:   #ffffff;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 1px 3px rgba(15,23,42,.06), 0 8px 24px -8px rgba(15,23,42,.08);
  --shadow-lg: 0 1px 3px rgba(15,23,42,.06), 0 24px 48px -16px rgba(15,23,42,.12);
  --radius: 6px;
}

/* ============================================================
   BASE RESET / TYPOGRAPHY
   ============================================================ */
body {
  font-family: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt", "cv11";
  letter-spacing: .005em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Cocoon overrides - 親テーマのレイアウトを上書き */
#container,
.wrap,
#content,
.content,
#main,
.main,
.body-wrap,
#body-wrap {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Cocoonのデフォルトヘッダー/フッター非表示 */
.cocoon-custom-header #header,
.cocoon-custom-header .header-container-in,
.cocoon-custom-header .mobile-menu-buttons,
.cocoon-custom-header .navi-in,
.cocoon-custom-header .go-to-top,
.cocoon-custom-header #notice-area,
.cocoon-custom-header .appeal,
.cocoon-custom-footer #footer,
.cocoon-custom-footer .footer-bottom {
  display: none !important;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.bn-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   TOPBAR
   ============================================================ */
.bn-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.bn-topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 44px; font-size: 13px; color: var(--ink-500); gap: 12px;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.bn-topbar-tag { letter-spacing: .04em; }
.bn-topbar-actions { display: flex; align-items: center; gap: 12px; }

.bn-alert-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--green-50); color: var(--green-600);
  font-weight: 600; font-size: 13px; white-space: nowrap;
}
.bn-alert-pill .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green-500);
  box-shadow: 0 0 0 3px rgba(34,197,94,.18);
  animation: bn-pulse 1.6s ease-in-out infinite;
}
@keyframes bn-pulse { 0%,100% { transform: scale(1); opacity: 1;} 50% { transform: scale(1.25); opacity:.6;} }

.bn-btn-register, .bn-btn-login {
  display: inline-flex; align-items: center; height: 34px; padding: 0 16px;
  border-radius: 6px; font-size: 13px; font-weight: 700; letter-spacing: .02em;
  white-space: nowrap;
}
.bn-btn-register { background: var(--navy-900); color: var(--white); }
.bn-btn-login { background: var(--white); color: var(--navy-900); border: 1px solid var(--navy-900); }

/* ============================================================
   HEADER MAIN
   ============================================================ */
.bn-header-main {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.bn-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.bn-brand { display: flex; align-items: center; gap: 12px; }
.bn-brand-name {
  font-weight: 800; font-size: 19px; color: var(--navy-900); letter-spacing: -.01em;
}
.bn-brand-sub { display: block; font-size: 12px; color: var(--ink-500); font-weight: 500; letter-spacing: .04em; }

nav.bn-primary { display: flex; align-items: center; gap: 22px; }
nav.bn-primary a {
  font-size: 14px; font-weight: 700; color: var(--ink-900);
  padding: 10px 0; position: relative; white-space: nowrap;
}
nav.bn-primary a:hover { color: var(--green-600); }
nav.bn-primary a.has-caret::after {
  content: ""; display: inline-block; margin-left: 6px;
  width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
nav.bn-primary a.cta {
  background: var(--navy-900); color: var(--white);
  padding: 9px 16px; border-radius: 6px;
}
nav.bn-primary a.cta:hover { background: var(--navy-800); color: var(--white); }

/* Mobile menu button */
.bn-mobile-menu {
  display: none;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.bn-mobile-menu span {
  display: block; width: 22px; height: 2px; background: var(--navy-900);
  transition: all .2s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.bn-hero {
  background:
    radial-gradient(1200px 500px at 80% 0%, rgba(16,185,129,.06) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  padding: 80px 0 32px;
  position: relative;
  overflow: visible;
}
.bn-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(800px 400px at 75% 30%, #000 0%, transparent 70%);
          mask-image: radial-gradient(800px 400px at 75% 30%, #000 0%, transparent 70%);
  opacity: .5; pointer-events: none;
}
.bn-hero > * { position: relative; }

.bn-hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start;
}

.bn-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 12px; font-weight: 700; color: var(--green-600);
  letter-spacing: .14em; margin-bottom: 18px; white-space: nowrap;
  text-transform: uppercase;
}
.bn-eyebrow::before {
  content: ""; width: 18px; height: 1px; background: var(--green-500);
}

h1.bn-hero-title {
  font-size: clamp(34px, 4.2vw, 56px); line-height: 1.18; font-weight: 800; color: var(--navy-900);
  letter-spacing: -.025em; margin: 0 0 24px;
  text-wrap: balance;
}
h1.bn-hero-title em { font-style: normal; color: var(--green-600); position: relative; }

.bn-hero-lead {
  font-size: 17px; color: var(--ink-700); margin: 0 0 28px; max-width: 560px; line-height: 1.8;
}
.bn-hero-lead strong { color: var(--ink-900); font-weight: 700; }

.bn-target-block { margin-top: 32px; }
.bn-target-label {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--ink-500);
  letter-spacing: .12em; padding: 4px 0; margin-bottom: 10px;
  border-top: 1px solid var(--line); padding-top: 14px; min-width: 80px;
}
.bn-target-cards { display: flex; gap: 10px; flex-wrap: wrap; }
.bn-target-card {
  flex: 1 1 0; min-width: 130px;
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  padding: 14px 16px; display: flex; align-items: center; gap: 12px;
  transition: all .15s ease;
}
.bn-target-card:hover { border-color: var(--navy-900); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.bn-target-icon { width: 32px; height: 32px; flex: 0 0 32px; color: var(--navy-900); }
.bn-target-text { font-size: 14px; font-weight: 700; color: var(--navy-900); line-height: 1.45; }

/* Hero visual: 4D matrix card */
.bn-hero-visual {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.bn-hv-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.bn-hv-head .label { font-family: "Inter"; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--ink-500); text-transform: uppercase; }
.bn-hv-head .live { display: inline-flex; align-items: center; gap: 6px; font-family: "Inter"; font-size: 12px; font-weight: 700; color: var(--green-600); letter-spacing: .04em; }
.bn-hv-head .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 3px rgba(16,185,129,.18); animation: bn-pulse 1.6s ease-in-out infinite; }
.bn-hv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bn-hv-cell { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); position: relative; transition: all .15s ease; }
.bn-hv-cell:hover { border-color: var(--navy-900); }
.bn-hv-cell .num { font-family: "Inter"; font-size: 11px; font-weight: 700; color: var(--ink-400); letter-spacing: .12em; }
.bn-hv-cell .name { font-size: 15px; font-weight: 700; color: var(--navy-900); margin-top: 4px; }
.bn-hv-cell .count { font-family: "Inter"; font-size: 28px; font-weight: 800; color: var(--navy-900); margin-top: 8px; letter-spacing: -.02em; line-height: 1; }
.bn-hv-cell .count small { font-size: 12px; font-weight: 600; color: var(--ink-500); margin-left: 4px; }
.bn-hv-cell.acc { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%); border-color: var(--navy-900); color: var(--white); }
.bn-hv-cell.acc .num, .bn-hv-cell.acc .name, .bn-hv-cell.acc .count { color: var(--white); }
.bn-hv-cell.acc .num { color: rgba(255,255,255,.6); }
.bn-hv-cell.acc .count small { color: rgba(255,255,255,.6); }
.bn-hv-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-family: "Inter"; font-size: 11px; color: var(--ink-500); letter-spacing: .04em; }
.bn-hv-foot strong { color: var(--navy-900); font-size: 15px; font-weight: 800; margin-right: 4px; }

/* ============================================================
   SEARCH PANEL
   ============================================================ */
.bn-search-section {
  background: linear-gradient(180deg, #f3f6fb 0%, #ffffff 100%);
  padding: 32px 0 64px;
}
.bn-search-panel {
  background: linear-gradient(180deg, var(--navy-900) 0%, #0E1828 100%);
  color: var(--white);
  border-radius: 14px;
  padding: 36px 40px 32px;
  box-shadow: 0 32px 80px -24px rgba(11,18,32,.4);
  position: relative; z-index: 5;
  overflow: hidden;
}
.bn-search-panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(800px 300px at 100% 0%, #000 0%, transparent 70%);
          mask-image: radial-gradient(800px 300px at 100% 0%, #000 0%, transparent 70%);
  pointer-events: none;
}
.bn-search-panel > * { position: relative; }

.bn-search-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap;
}
.bn-search-head-left { display: flex; flex-direction: column; gap: 8px; }
.bn-search-head .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Inter"; font-size: 12px; font-weight: 700; color: var(--green-500);
  letter-spacing: .14em; text-transform: uppercase;
}
.bn-search-head .kicker::before {
  content: ""; width: 18px; height: 1px; background: var(--green-500);
}
.bn-search-head h2 {
  margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.015em; color: var(--white);
}
.bn-search-head h2 strong { color: var(--green-500); font-weight: 800; }
.bn-search-head .formula {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: #9bb0c8; font-family: "Inter", "Noto Sans JP";
}
.bn-search-head .formula b { color: var(--white); font-weight: 700; padding: 4px 10px; background: rgba(255,255,255,.08); border-radius: 4px; font-size: 12px; }
.bn-search-head .formula .x { color: var(--green-500); font-weight: 800; font-family: "Inter"; }

.bn-search-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.bn-axis-btn {
  background: var(--white); color: var(--ink-900);
  border-radius: 8px; padding: 14px 16px 12px; cursor: pointer;
  display: flex; flex-direction: column; gap: 6px;
  border: 1px solid transparent; position: relative; text-align: left;
  transition: all .15s ease;
  min-height: 86px;
  font-family: inherit;
}
.bn-axis-btn:hover { box-shadow: 0 0 0 2px var(--green-500); transform: translateY(-1px); }
.bn-axis-head { display: flex; align-items: center; gap: 8px; }
.bn-axis-step {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--green-500); color: var(--white);
  display: grid; place-items: center;
  font-family: "Inter", sans-serif; font-size: 11px; font-weight: 800; letter-spacing: -.02em;
  flex: 0 0 22px;
}
.bn-axis-num {
  font-family: "Inter", sans-serif; font-size: 11px; font-weight: 700; color: var(--ink-500);
  letter-spacing: .08em; text-transform: uppercase;
}
.bn-axis-label { font-size: 15px; font-weight: 800; color: var(--navy-900); letter-spacing: -.005em; }
.bn-axis-value {
  font-size: 13px; color: var(--ink-500); display: flex; justify-content: space-between; align-items: center;
  margin-top: 4px; padding-top: 8px; border-top: 1px dashed var(--line);
}
.bn-axis-value .placeholder { color: var(--ink-400); font-weight: 500; }
.bn-axis-value::after {
  content: ""; width: 8px; height: 8px;
  border-right: 2px solid var(--ink-400); border-bottom: 2px solid var(--ink-400);
  transform: rotate(45deg) translate(-2px,-2px);
  flex: 0 0 auto; margin-left: 8px;
}

.bn-search-actions { display: flex; gap: 12px; margin-top: 16px; align-items: stretch; }
.bn-search-btn {
  background: var(--green-500); color: var(--white); border: none;
  border-radius: 8px; padding: 0 36px; font-weight: 800; font-size: 17px; letter-spacing: .02em;
  display: flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer;
  transition: all .15s ease;
  box-shadow: 0 8px 24px -8px rgba(16,185,129,.7);
  flex: 1; min-height: 64px;
  font-family: inherit;
}
.bn-search-btn:hover { background: var(--green-600); transform: translateY(-1px); box-shadow: 0 12px 32px -8px rgba(16,185,129,.7); }
.bn-search-btn .count { font-family: "Inter"; font-size: 12px; font-weight: 600; opacity: .85; letter-spacing: .04em; }

.bn-search-reset {
  background: transparent; color: #b7c5d8; border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px; padding: 0 22px; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; gap: 8px; cursor: pointer; min-height: 64px;
  transition: all .15s ease; font-family: inherit;
}
.bn-search-reset:hover { color: var(--white); border-color: rgba(255,255,255,.35); }

.bn-freetext {
  margin-top: 20px; padding: 14px 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: #b7c5d8;
  transition: all .15s ease;
}
.bn-freetext:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
.bn-freetext:focus-within { border-color: var(--green-500); background: rgba(255,255,255,.06); }
.bn-freetext .icon-search { width: 18px; height: 18px; opacity: .7; flex: 0 0 18px; }
.bn-freetext input {
  flex: 1; background: transparent; border: 0; outline: 0; color: var(--white);
  font-size: 14px; font-family: inherit;
}
.bn-freetext input::placeholder { color: #8aa0bd; }
.bn-freetext .kbd {
  font-family: "Inter", monospace; font-size: 11px; font-weight: 600;
  color: #8aa0bd; padding: 3px 7px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px; letter-spacing: .04em;
}

/* ============================================================
   SECTIONS (COMMON)
   ============================================================ */
section.bn-sec { padding: 80px 0; }
.bn-sec-head { text-align: center; margin-bottom: 48px; }
.bn-sec-head h2 {
  font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; color: var(--navy-900);
  margin: 0 0 14px; letter-spacing: -.02em;
}
.bn-sec-head .rule {
  width: 40px; height: 2px; background: var(--green-500); margin: 0 auto;
}
.bn-sec-head p { color: var(--ink-700); margin: 18px 0 0; font-size: 15px; line-height: 1.7; }
.bn-sec-head .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Inter"; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  color: var(--green-600); text-transform: uppercase; margin-bottom: 12px;
}
.bn-sec-head .kicker::before, .bn-sec-head .kicker::after {
  content: ""; width: 18px; height: 1px; background: var(--green-500);
}

/* ============================================================
   REASONS
   ============================================================ */
.bn-reasons {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.bn-reason {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 28px 24px; text-align: left; transition: all .15s ease;
  position: relative;
}
.bn-reason:hover { border-color: var(--navy-900); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.bn-reason .r-num {
  font-family: "Inter"; font-size: 12px; font-weight: 700; color: var(--green-600);
  letter-spacing: .14em; text-transform: uppercase;
}
.bn-reason svg { width: 40px; height: 40px; color: var(--navy-900); margin: 14px 0 18px; display: block; stroke-width: 1.5; }
.bn-reason h3 {
  font-size: 18px; font-weight: 800; color: var(--navy-900);
  margin: 0 0 12px; line-height: 1.45; letter-spacing: -.01em;
}
.bn-reason p { font-size: 14px; color: var(--ink-700); margin: 0; line-height: 1.8; }

/* ============================================================
   AXIS CARDS (4 Axes Overview)
   ============================================================ */
.bn-axes-section { background: var(--bg); }
.bn-axes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.bn-axis-card {
  background: var(--white); border-radius: 10px; border: 1px solid var(--line);
  padding: 28px 28px 24px; transition: all .15s ease;
}
.bn-axis-card:hover { border-color: var(--navy-900); box-shadow: var(--shadow-md); }
.bn-axis-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.bn-axis-card-num {
  width: 36px; height: 36px; border-radius: 8px; background: var(--navy-900); color: var(--white);
  display: grid; place-items: center; font-family: "Inter"; font-weight: 800; font-size: 14px; letter-spacing: -.02em;
}
.bn-axis-card h3 { margin: 0; font-size: 19px; font-weight: 800; color: var(--navy-900); letter-spacing: -.01em; }
.bn-axis-card .count { font-family: "Inter"; font-size: 12px; color: var(--ink-500); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bn-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bn-chip {
  display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 6px;
  background: var(--white); color: var(--ink-900); font-size: 13px; font-weight: 600;
  border: 1px solid var(--line);
  transition: all .12s ease;
}
.bn-chip:hover { border-color: var(--navy-900); color: var(--navy-900); }
.bn-chip.featured {
  background: var(--green-50); color: var(--green-600); border-color: rgba(16,185,129,.3);
}
.bn-chip.featured:hover { background: var(--green-500); color: var(--white); border-color: var(--green-500); }
.bn-axis-more {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--green-600);
}
.bn-axis-more::after {
  content: ""; width: 6px; height: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

/* ============================================================
   NEWS
   ============================================================ */
.bn-news-section { background: var(--white); }
.bn-news-grid {
  display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 24px; background: #f5f7fa;
  padding: 28px; border-radius: 12px; border: 1px solid var(--line);
}
.bn-news-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px;
}
.bn-news-head h2 {
  margin: 0; font-size: 26px; font-weight: 800; color: var(--navy-900);
  display: flex; align-items: center; gap: 12px; letter-spacing: -.01em;
}
.bn-news-head h2 small { font-size: 13px; color: var(--ink-500); font-weight: 600; }
.bn-news-head .badge-48 {
  background: var(--green-500); color: var(--white); font-size: 12px; font-weight: 800;
  padding: 4px 10px; border-radius: 4px; letter-spacing: .04em;
}
.bn-news-feature {
  background: var(--white); border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.bn-news-feature-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  position: relative;
}
.bn-news-feature-img::after {
  content: "NEWS"; position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: "Inter", sans-serif; font-size: 24px; font-weight: 800; color: rgba(255,255,255,.15);
  letter-spacing: .1em;
}
.bn-news-feature-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--green-500); color: var(--white);
  padding: 5px 10px; font-size: 12px; font-weight: 800; border-radius: 4px;
  z-index: 1;
}
.bn-news-feature-body { padding: 18px 20px; }
.bn-news-feature-date { font-family: "Inter"; font-size: 13px; color: var(--ink-500); font-weight: 600; }
.bn-news-feature-title {
  font-size: 19px; font-weight: 800; color: var(--navy-900); margin: 10px 0 14px;
  line-height: 1.5; letter-spacing: -.01em;
}
.bn-news-feature-cat {
  display: inline-block; font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 4px;
}

.bn-news-list {
  background: var(--white); border-radius: 10px; padding: 8px 4px; border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.bn-news-row {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  transition: background .12s ease;
}
.bn-news-row:last-child { border-bottom: 0; }
.bn-news-row:hover { background: #f8fafc; }
.bn-news-row .date { font-family: "Inter"; font-size: 13px; color: var(--ink-500); font-weight: 600; }
.bn-news-row .title { font-size: 15px; color: var(--navy-900); font-weight: 600; line-height: 1.5; }
.bn-news-row .cat {
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 4px; white-space: nowrap;
}
.cat-soil { background: #fff7ed; color: #c2410c; }
.cat-cn   { background: #ecfeff; color: #0e7490; }
.cat-chem { background: #f5f3ff; color: #6d28d9; }
.cat-pfas { background: var(--green-50); color: var(--green-600); }
.cat-water { background: #eff6ff; color: #1d4ed8; }

.bn-news-cta {
  display: block; text-align: center; padding: 16px;
  font-size: 14px; font-weight: 700; color: var(--navy-900);
  border-top: 1px solid var(--line);
}
.bn-news-cta::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

/* ============================================================
   VENDORS
   ============================================================ */
.bn-vendors-section { background: var(--bg); }
.bn-vendor-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.bn-vendor-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 24px 14px; min-height: 92px;
  display: grid; place-items: center; text-align: center;
}
.bn-vendor-name {
  font-size: 14px; font-weight: 700; color: var(--navy-900); line-height: 1.4;
}
.bn-vendor-name small {
  display: block; font-family: "Inter", sans-serif; font-size: 11px; font-weight: 500;
  color: var(--ink-500); margin-top: 2px; letter-spacing: .02em;
}
.bn-vendors-cta { text-align: center; margin-top: 36px; }
.bn-vendors-cta a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700; color: var(--navy-900);
}
.bn-vendors-cta a::after {
  content: ""; width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer.bn-site-footer {
  background: var(--navy-900); color: #b7c5d8; padding: 64px 0 24px;
}
.bn-foot-grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; margin-bottom: 48px;
}
.bn-foot-brand .bn-brand-name { color: var(--white); }
.bn-foot-brand .bn-brand-sub { color: #8aa0bd; }
.bn-foot-brand p {
  margin-top: 16px; font-size: 13px; line-height: 1.8; color: #8aa0bd; max-width: 280px;
}
.bn-foot-col h4 {
  color: var(--white); font-size: 14px; font-weight: 800; margin: 0 0 14px;
  padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.bn-foot-col ul { list-style: none; margin: 0; padding: 0; }
.bn-foot-col li { margin-bottom: 10px; font-size: 13px; }
.bn-foot-col li a { color: #b7c5d8; }
.bn-foot-col li a:hover { color: var(--green-500); }
.bn-foot-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; font-size: 12px; color: #8aa0bd;
  flex-wrap: wrap; gap: 16px;
}
.bn-foot-bottom .legal { display: flex; gap: 16px; }
.bn-foot-bottom .legal a:hover { color: var(--green-500); }

/* ============================================================
   LOWER PAGE: CATEGORY HERO
   ============================================================ */
.bn-cat-hero {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  padding: 48px 0 40px;
  position: relative;
  overflow: hidden;
}
.bn-cat-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .5; pointer-events: none;
}
.bn-cat-hero > * { position: relative; }
.bn-cat-hero .bn-eyebrow { color: var(--green-500); }
.bn-cat-hero h1 {
  font-size: clamp(28px, 3vw, 42px); font-weight: 800; color: var(--white);
  letter-spacing: -.02em; margin: 0 0 12px;
}
.bn-cat-hero p {
  font-size: 16px; color: #b7c5d8; max-width: 640px; line-height: 1.7; margin: 0;
}
.bn-breadcrumb {
  font-size: 13px; color: var(--ink-500); margin-bottom: 16px;
}
.bn-breadcrumb a { color: var(--ink-400); }
.bn-breadcrumb a:hover { color: var(--green-500); }
.bn-breadcrumb-dark { color: #8aa0bd; }
.bn-breadcrumb-dark a { color: #8aa0bd; }
.bn-breadcrumb-dark a:hover { color: var(--green-500); }

/* ============================================================
   LOWER PAGE: ARTICLE LIST
   ============================================================ */
.bn-article-list { padding: 48px 0 64px; }
.bn-article-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.bn-article-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; transition: all .15s ease;
}
.bn-article-card:hover { border-color: var(--navy-900); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.bn-article-card-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  position: relative;
}
.bn-article-card-body { padding: 18px 20px; }
.bn-article-card-meta {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.bn-article-card-date { font-family: "Inter"; font-size: 13px; color: var(--ink-500); font-weight: 600; }
.bn-article-card-cat {
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px;
}
.bn-article-card-title {
  font-size: 16px; font-weight: 700; color: var(--navy-900); line-height: 1.5; letter-spacing: -.005em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ============================================================
   LOWER PAGE: SINGLE ARTICLE
   ============================================================ */
.bn-single-hero {
  background: var(--bg);
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--line);
}
.bn-single-layout {
  display: grid; grid-template-columns: 1fr 320px; gap: 40px;
  padding: 48px 0 80px;
}
.bn-single-main { min-width: 0; }

/* Article body styling */
.bn-article-body h2 {
  font-size: 22px; font-weight: 800; color: var(--navy-900);
  margin: 48px 0 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--green-500);
  letter-spacing: -.01em;
}
.bn-article-body h3 {
  font-size: 18px; font-weight: 700; color: var(--navy-900);
  margin: 36px 0 16px; padding-left: 14px;
  border-left: 3px solid var(--green-500);
}
.bn-article-body p {
  font-size: 16px; line-height: 1.9; margin: 0 0 24px; color: var(--ink-700);
}
.bn-article-body ul, .bn-article-body ol {
  margin: 0 0 24px; padding-left: 24px;
}
.bn-article-body li {
  font-size: 15px; line-height: 1.8; margin-bottom: 8px; color: var(--ink-700);
}
.bn-article-body table {
  width: 100%; border-collapse: collapse; margin: 0 0 24px;
  font-size: 14px;
}
.bn-article-body table th {
  background: var(--navy-900); color: var(--white);
  padding: 12px 16px; font-weight: 700; text-align: left;
}
.bn-article-body table td {
  padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.bn-article-body table tr:nth-child(even) td {
  background: var(--bg);
}
.bn-article-body blockquote {
  background: var(--bg);
  border-left: 4px solid var(--green-500);
  padding: 20px 24px;
  margin: 0 0 24px;
  font-size: 15px; color: var(--ink-700);
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.bn-sidebar { position: sticky; top: 100px; }
.bn-sidebar-widget {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 24px; margin-bottom: 20px;
}
.bn-sidebar-widget h3 {
  font-size: 15px; font-weight: 800; color: var(--navy-900);
  margin: 0 0 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--green-500);
}
.bn-sidebar-widget .bn-chip { margin-bottom: 4px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.bn-pagination {
  display: flex; justify-content: center; gap: 8px; margin-top: 48px;
}
.bn-pagination a, .bn-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 6px;
  font-size: 14px; font-weight: 600;
  border: 1px solid var(--line);
  transition: all .15s ease;
}
.bn-pagination a:hover { border-color: var(--navy-900); }
.bn-pagination .current {
  background: var(--navy-900); color: var(--white); border-color: var(--navy-900);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .bn-topbar-tag { display: none; }
}
@media (max-width: 960px) {
  nav.bn-primary { gap: 16px; }
  nav.bn-primary a { font-size: 13px; }
  .bn-search-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bn-search-head { flex-direction: column; align-items: flex-start; }
  .bn-vendor-grid { grid-template-columns: repeat(4, 1fr); }
  .bn-single-layout { grid-template-columns: 1fr; }
  .bn-sidebar { position: static; }
  .bn-article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  nav.bn-primary { display: none; }
  .bn-mobile-menu { display: flex; }
  .bn-hero-grid { grid-template-columns: 1fr; }
  .bn-reasons { grid-template-columns: repeat(2, 1fr); }
  .bn-axes-grid { grid-template-columns: 1fr; }
  .bn-news-grid { grid-template-columns: 1fr; }
  .bn-vendor-grid { grid-template-columns: repeat(3, 1fr); }
  .bn-foot-grid { grid-template-columns: 1fr 1fr; }
  .bn-topbar-actions .bn-btn-register,
  .bn-topbar-actions .bn-btn-login { display: none; }
  .bn-article-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .bn-reasons { grid-template-columns: 1fr; }
  .bn-vendor-grid { grid-template-columns: repeat(2, 1fr); }
  .bn-foot-grid { grid-template-columns: 1fr; }
  .bn-search-row { grid-template-columns: 1fr; }
}
/* Article quality blocks */
.bn-quality-map,
.bn-quality-check {
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.bn-quality-map-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
}
.bn-quality-map-head span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #8DE7C3;
}
.bn-quality-map-head strong {
  font-size: 20px;
  line-height: 1.4;
}
.bn-quality-map-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.bn-quality-map-grid div {
  padding: 20px;
  background: #fff;
}
.bn-quality-map-grid b {
  display: block;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.bn-quality-map-grid span {
  color: var(--ink-700);
  font-size: 14px;
  line-height: 1.7;
}
.bn-quality-check {
  padding: 24px;
}
@media (max-width: 768px) {
  .bn-quality-map-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   HERO BACKGROUND IMAGE (2026-05-17)
   フルスクリーン背景画像+グラデーションオーバーレイ
   ============================================================ */
.bn-hero {
  background:
    linear-gradient(135deg,
      rgba(11,18,32,0.88) 0%,
      rgba(30,42,68,0.75) 40%,
      rgba(16,185,129,0.15) 100%
    ),
    url("/wp-content/uploads/2026/05/bunseki-hero-bg.jpg") center/cover no-repeat !important;
  padding: 80px 0 48px !important;
}
.bn-hero::before {
  opacity: 0.25 !important;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px) !important;
}
/* Text colors on dark bg */
.bn-hero .bn-eyebrow { color: #6ee7b7 !important; }
.bn-hero .bn-eyebrow::before { background: #6ee7b7 !important; }
h1.bn-hero-title { color: #ffffff !important; }
h1.bn-hero-title em { color: #6ee7b7 !important; }
.bn-hero-lead { color: rgba(255,255,255,0.85) !important; }
.bn-hero-lead strong { color: #ffffff !important; }
.bn-target-label { color: rgba(255,255,255,0.6) !important; border-top-color: rgba(255,255,255,0.15) !important; }
.bn-target-card {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.18) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.bn-target-card:hover { border-color: rgba(255,255,255,0.5) !important; background: rgba(255,255,255,0.15) !important; }
.bn-target-icon { color: #ffffff !important; }
.bn-target-text { color: #ffffff !important; }
/* 4D visual card on dark bg */
.bn-hero-visual {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.15) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.bn-hv-head { border-bottom-color: rgba(255,255,255,0.12) !important; }
.bn-hv-head .label { color: rgba(255,255,255,0.6) !important; }
.bn-hv-head .live { color: #6ee7b7 !important; }
.bn-hv-cell { background: rgba(255,255,255,0.04) !important; border-color: rgba(255,255,255,0.1) !important; }
.bn-hv-cell:hover { border-color: rgba(255,255,255,0.35) !important; }
.bn-hv-cell .num { color: rgba(255,255,255,0.5) !important; }
.bn-hv-cell .name { color: #ffffff !important; }
.bn-hv-cell .count { color: #ffffff !important; }
.bn-hv-cell .count small { color: rgba(255,255,255,0.5) !important; }
.bn-hv-cell.acc { background: linear-gradient(135deg, rgba(16,185,129,0.3) 0%, rgba(5,150,105,0.2) 100%) !important; border-color: rgba(16,185,129,0.4) !important; }
.bn-hv-cell.acc .num { color: rgba(255,255,255,0.6) !important; }
.bn-hv-foot { border-top-color: rgba(255,255,255,0.12) !important; color: rgba(255,255,255,0.5) !important; }
.bn-hv-foot strong { color: #ffffff !important; }

/* ==========================================================================
   A-1: Related Posts Grid
   ========================================================================== */
.bn-related-posts {
  margin: 3rem 0 1rem;
  padding: 2rem 0 0;
  border-top: 2px solid #e5e7eb;
}
.bn-related-posts h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: #111827;
}
.bn-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 640px) {
  .bn-related-grid { grid-template-columns: 1fr; }
}
.bn-related-card {
  display: block;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.bn-related-card:hover {
  border-color: #10b981;
  box-shadow: 0 2px 8px rgba(16,185,129,0.12);
}
.bn-related-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  color: #fff;
  background: #10b981;
}
.bn-related-cat.cat-pfas { background: #2563eb; }
.bn-related-cat.cat-cn { background: #059669; }
.bn-related-cat.cat-soil { background: #92400e; }
.bn-related-cat.cat-water { background: #0891b2; }
.bn-related-cat.cat-chem { background: #7c3aed; }
.bn-related-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 0.4rem;
  color: #111827;
}
.bn-related-card p {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}
