/* ==========================================================================
   NeoHeart (neoheart.jp) - Plan A Rich Production Stylesheet (v2)
   Brand: Emerald Green (#00A859), Trust Blue (#0284C7), Action Orange (#F97316)
   ========================================================================== */
:root {
  --nh-green: #00944e;
  --nh-green-dark: #006b38;
  --nh-green-soft: #ecfdf5;
  --nh-green-border: #4ade80;
  --nh-blue: #0369a1;
  --nh-blue-soft: #e0f2fe;
  --nh-orange: #ea580c;
  --nh-orange-dark: #c2410c;
  --nh-navy: #0b1324;
  --nh-navy-light: #1e293b;
  --nh-text: #0a0f1a;
  --nh-text-sub: #1e293b;
  --nh-muted: #334155;
  --nh-bg: #ffffff;
  --nh-bg-alt: #f1f5f9;
  --nh-border: #cbd5e1;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 14px 34px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", system-ui, -apple-system, sans-serif;
  color: var(--nh-text);
  background: var(--nh-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- Top Utility Ribbon ---------- */
.utility-bar {
  background: linear-gradient(90deg, var(--nh-navy) 0%, #0f2942 55%, #065f46 100%);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 0;
}
.utility-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.utility-bar strong { color: #6ee7b7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14.5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn-orange {
  background: linear-gradient(135deg, #fb923c 0%, var(--nh-orange) 50%, var(--nh-orange-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.34);
}
.btn-orange:hover { box-shadow: 0 14px 30px rgba(249, 115, 22, 0.44); }
.btn-green {
  background: linear-gradient(135deg, #10b981 0%, var(--nh-green) 60%, var(--nh-green-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 168, 89, 0.30);
}
.btn-green:hover { box-shadow: 0 14px 28px rgba(0, 168, 89, 0.40); }
.btn-outline {
  background: #fff;
  color: var(--nh-text);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: var(--nh-green); color: var(--nh-green-dark); }
.btn-navy { background: var(--nh-navy); color: #fff; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 15px 30px; font-size: 15.5px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nh-border);
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-logo img { height: 42px; width: auto; }
.audience-switch {
  display: inline-flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--nh-border);
}
.audience-switch a {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: var(--nh-muted);
  transition: all 0.18s;
}
.audience-switch a.active-personal {
  background: var(--nh-green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 168, 89, 0.30);
}
.audience-switch a.active-corporate {
  background: var(--nh-navy);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.30);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--nh-text-sub);
}
.main-nav a { position: relative; padding: 4px 0; }
.main-nav a:hover, .main-nav a.current { color: var(--nh-green-dark); }
.main-nav a.current::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2.5px;
  background: var(--nh-green);
  border-radius: 2px;
}
.header-ctas { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  display: none;
  background: #f1f5f9;
  border: 1px solid var(--nh-border);
  border-radius: 10px;
  width: 42px; height: 42px;
  font-size: 20px;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.mobile-drawer {
  display: none;
  background: #fff;
  border-top: 1px solid var(--nh-border);
  padding: 14px 20px 22px;
}
.mobile-drawer.open { display: block; }
.mobile-drawer a {
  display: block;
  padding: 12px 4px;
  border-bottom: 1px solid #f1f5f9;
  font-weight: 700;
  font-size: 15px;
}

/* ---------- Rich Hero (Photo + Floating Cards) ---------- */
.hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 168, 89, 0.12), transparent 36%),
    radial-gradient(circle at 88% 22%, rgba(2, 132, 199, 0.12), transparent 40%),
    linear-gradient(180deg, #f4fbf8 0%, #ffffff 100%);
  padding: 46px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.96fr;
  gap: 44px;
  align-items: center;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--nh-green-border);
  color: var(--nh-green-dark);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.hero h1 {
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.26;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero h1 .hl {
  color: var(--nh-green-dark);
  background: linear-gradient(transparent 66%, #bbf7d0 66%);
  padding: 0 4px;
}
.hero-lead {
  font-size: 15.5px;
  color: var(--nh-text-sub);
  margin-bottom: 22px;
}
.hero-medals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 26px;
}
.medal {
  background: #fff;
  border: 1px solid #d1fae5;
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.medal strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: var(--nh-green-dark);
  line-height: 1.2;
}
.medal span { font-size: 11.5px; color: var(--nh-text-sub); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero Photo Showcase */
.hero-visual {
  position: relative;
  padding-bottom: 44px;
}
.hero-photo-frame {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid #fff;
  position: relative;
}
.hero-photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero-float-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(11, 19, 36, 0.88);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(52, 211, 153, 0.45);
}
.hero-float-badge span { color: #34d399; }
.hero-float-price {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid #d1fae5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}
.hfp-item { border-right: 1px dashed #cbd5e1; padding: 0 6px; }
.hfp-item:last-child { border-right: none; }
.hfp-item small { display: block; font-size: 11px; font-weight: 700; color: var(--nh-muted); }
.hfp-item strong { font-size: 19px; font-weight: 900; color: var(--nh-text); }
.hfp-item strong.free { color: var(--nh-green); font-size: 22px; }

/* ---------- Brand / Maker Strip ---------- */
.maker-strip {
  background: #fff;
  border-top: 1px solid var(--nh-border);
  border-bottom: 1px solid var(--nh-border);
  padding: 18px 0;
}
.maker-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 13px;
  font-weight: 800;
  color: #64748b;
}
.maker-inner .maker-title {
  background: var(--nh-green-soft);
  color: var(--nh-green-dark);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
}

/* ---------- 3-Second Symptom Finder (Rich SVG Tiles) ---------- */
.symptom-section {
  margin-top: -54px;
  position: relative;
  z-index: 20;
  padding-bottom: 44px;
}
.symptom-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid #e2e8f0;
}
.symptom-box-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}
.symptom-box-head h2 {
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-tag {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
}
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.sym-btn {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
}
.sym-btn:hover {
  border-color: #7dd3fc;
  background: #f0f9ff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.sym-btn.active {
  border-color: var(--nh-green);
  background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%);
  box-shadow: 0 10px 22px rgba(0, 168, 89, 0.18);
  transform: translateY(-2px);
}
.sym-svg {
  width: 46px; height: 46px;
  margin: 0 auto 10px;
  border-radius: 14px;
  background: #fff;
  color: var(--nh-blue);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  transition: all 0.18s;
}
.sym-btn.active .sym-svg {
  background: var(--nh-green);
  color: #fff;
}
.sym-svg svg { width: 24px; height: 24px; }
.sym-btn strong { display: block; font-size: 13px; color: var(--nh-text); line-height: 1.35; }
.sym-result {
  background: linear-gradient(120deg, #0b1324 0%, #172554 65%, #064e3b 100%);
  color: #fff;
  border-radius: 18px;
  padding: 22px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
}
.sym-result-tag {
  display: inline-block;
  background: var(--nh-green);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.sym-result h3 { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.sym-result p { font-size: 13.5px; color: #cbd5e1; }

/* ---------- Sections & Rich Cards ---------- */
.section { padding: 76px 0; }
.section-alt {
  background: linear-gradient(180deg, #f4f7f9 0%, #f8fafc 100%);
}
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.sec-eyebrow {
  display: inline-block;
  background: var(--nh-green-soft);
  color: var(--nh-green-dark);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; margin-bottom: 10px; }
.sec-head p { font-size: 15px; color: var(--nh-text-sub); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.card {
  background: #fff;
  border: 1px solid var(--nh-border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}
.card-num-ico {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.card-ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: var(--nh-green-dark);
  display: flex; align-items: center; justify-content: center;
}
.card-ico svg { width: 26px; height: 26px; }
.card-num {
  font-size: 28px;
  font-weight: 900;
  color: #e2e8f0;
  line-height: 1;
}
.card h3 { font-size: 17.5px; font-weight: 800; margin-bottom: 8px; }
.card p { font-size: 13.5px; color: var(--nh-text-sub); }

/* ---------- Rich SSD Showcase (with Real Photo) ---------- */
.ssd-box {
  background: linear-gradient(135deg, #0b1324 0%, #152238 60%, #064e3b 100%);
  color: #fff;
  border-radius: 26px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  box-shadow: var(--shadow-lg);
}
.ssd-content { padding: 42px; }
.ssd-content h2 { font-size: 28px; line-height: 1.3; font-weight: 900; margin: 12px 0 14px; }
.ssd-content p { font-size: 14.5px; color: #cbd5e1; margin-bottom: 22px; }
.ssd-photo-side {
  position: relative;
  min-height: 320px;
}
.ssd-photo-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ssd-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,19,36,0.6) 0%, transparent 45%);
}
.bar-group { margin-bottom: 16px; }
.bar-meta { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; font-weight: 700; }
.bar-track { height: 12px; background: rgba(255,255,255,0.12); border-radius: 999px; overflow: hidden; }
.bar-fill-old { width: 92%; height: 100%; background: #64748b; border-radius: 999px; }
.bar-fill-new { width: 16%; height: 100%; background: linear-gradient(90deg, #10b981, #34d399); border-radius: 999px; box-shadow: 0 0 14px rgba(52, 211, 153, 0.7); }

/* ---------- Step Flow ---------- */
.step-card {
  position: relative;
  padding-top: 32px;
}
.step-badge {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--nh-green);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 168, 89, 0.35);
}

/* ---------- Reviews (Customer Voices) ---------- */
.review-card {
  background: #fff;
  border: 1px solid var(--nh-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.review-stars { color: #f59e0b; font-size: 15px; letter-spacing: 2px; margin-bottom: 8px; }
.review-meta { font-size: 12px; font-weight: 800; color: var(--nh-blue); margin-bottom: 8px; }
.review-card h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 8px; }
.review-card p { font-size: 13.5px; color: var(--nh-text-sub); }

/* ---------- Case Cards with Thumbnail ---------- */
.case-card-rich {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.case-thumb {
  height: 168px;
  overflow: hidden;
  position: relative;
  background: #0f172a;
}
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.case-card-rich:hover .case-thumb img { transform: scale(1.05); }
.case-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.case-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.case-tag {
  font-size: 11.5px; font-weight: 800;
  padding: 3px 10px; border-radius: 999px;
  background: var(--nh-green-soft); color: var(--nh-green-dark);
}
.case-tag.area { background: var(--nh-blue-soft); color: #0369a1; }

/* ---------- Subpage Hero ---------- */
.sub-hero {
  background: linear-gradient(135deg, #ecfdf5 0%, #e0f2fe 100%);
  padding: 46px 0;
  border-bottom: 1px solid var(--nh-border);
}
.sub-hero-dark {
  background: linear-gradient(135deg, #0b1324 0%, #172554 65%, #064e3b 100%);
  color: #fff;
  padding: 60px 0;
}
.sub-hero-b2b-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}
.b2b-photo {
  border-radius: 22px;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.18);
  box-shadow: var(--shadow-lg);
}
.breadcrumb { font-size: 12.5px; color: var(--nh-muted); margin-bottom: 10px; }
.sub-hero-dark .breadcrumb { color: #94a3b8; }
.sub-hero h1, .sub-hero-dark h1 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; margin-bottom: 12px; line-height: 1.3; }
.sub-hero p { color: var(--nh-text-sub); font-size: 15px; }
.sub-hero-dark p { color: #cbd5e1; font-size: 15px; }

/* ---------- Tables / FAQ / Filter / Form ---------- */
.price-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--nh-border);
}
.price-table th, .price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--nh-border); font-size: 14px; }
.price-table th { background: #f1f5f9; font-weight: 800; }
.price-table td.cost { font-weight: 800; color: var(--nh-green-dark); white-space: nowrap; }
.faq-item { background: #fff; border: 1px solid var(--nh-border); border-radius: 14px; margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; background: none; border: none; padding: 18px 22px; text-align: left; font-size: 15px; font-weight: 800; color: var(--nh-text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: inherit; }
.faq-a { display: none; padding: 0 22px 18px; font-size: 14px; color: var(--nh-text-sub); }
.faq-item.open .faq-a { display: block; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.filter-btn { border: 1.5px solid var(--nh-border); background: #fff; padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--nh-text-sub); cursor: pointer; font-family: inherit; transition: all 0.16s; }
.filter-btn.active { background: var(--nh-green); border-color: var(--nh-green); color: #fff; box-shadow: 0 4px 12px rgba(0,168,89,0.28); }
.case-card { display: flex; flex-direction: column; gap: 10px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.form-control { width: 100%; padding: 12px 14px; border: 1.5px solid #cbd5e1; border-radius: 10px; font-size: 14.5px; font-family: inherit; }
.form-control:focus { outline: none; border-color: var(--nh-green); }

/* ---------- Footer ---------- */
.site-footer { background: var(--nh-navy); color: #cbd5e1; padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-logo-wrap { background: #fff; display: inline-block; padding: 8px 14px; border-radius: 10px; margin-bottom: 14px; }
.footer-logo-wrap img { height: 32px; }
.site-footer h4 { color: #fff; font-size: 14.5px; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; font-size: 13.5px; }
.site-footer a:hover { color: #34d399; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 20px; font-size: 12px; color: #94a3b8; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Mobile Sticky Conversion Bar ---------- */
.mobile-sticky-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 950;
  background: #fff; border-top: 1px solid var(--nh-border); padding: 8px 10px; gap: 8px;
  box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.14);
}
.mobile-sticky-bar a { flex: 1; text-align: center; padding: 12px 6px; border-radius: 10px; font-size: 12.5px; font-weight: 800; color: #fff; }
.msb-tel { background: var(--nh-blue); }
.msb-line { background: var(--nh-green); }
.msb-map { background: var(--nh-orange); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .main-nav, .header-ctas { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-grid, .ssd-box, .sub-hero-b2b-grid { grid-template-columns: 1fr; }
  .symptom-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  body { padding-bottom: 68px; }
  .utility-bar { display: none; }
  .audience-switch { display: none; }
  .hero { padding: 28px 0 76px; }
  .hero-medals { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .medal strong { font-size: 15px; }
  .hero-float-price { position: static; margin-top: 14px; grid-template-columns: 1fr; text-align: left; }
  .hfp-item { border-right: none; border-bottom: 1px dashed #cbd5e1; padding: 8px 0; display: flex; justify-content: space-between; align-items: center; }
  .hfp-item:last-child { border-bottom: none; }
  .symptom-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .ssd-content { padding: 28px 22px; }
  .mobile-sticky-bar { display: flex; }
}

/* ---------- Added Styles for Full Current Site Parity ---------- */
.utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.utility-links a {
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  transition: color 0.15s;
}
.utility-links a:hover { color: #6ee7b7; }
.hero-notice {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--nh-muted);
  font-weight: 600;
}
.service-card {
  display: flex;
  flex-direction: column;
}
.service-card p { margin-bottom: 14px; }
.card-link {
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--nh-green-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card-link:hover { text-decoration: underline; }
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.area-tags span, .area-tags a {
  background: #fff;
  border: 1px solid #cbd5e1;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--nh-text-sub);
  transition: all 0.15s;
}
.area-tags a:hover {
  border-color: var(--nh-green);
  color: var(--nh-green-dark);
  background: var(--nh-green-soft);
}
.sns-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.sns-row a {
  background: var(--nh-navy);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  transition: background 0.15s;
}
.sns-row a:hover { background: var(--nh-green); }

/* ---------- High-Legibility Typography & Strong Contrast Boost ---------- */
body {
  font-size: 16.5px;
  font-weight: 500;
  color: #0a0f1a;
}
.utility-bar {
  font-size: 13px;
  color: #ffffff;
}
.utility-links a {
  font-size: 13px;
  color: #f8fafc;
}
.main-nav {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}
.audience-switch a {
  font-size: 13.5px;
  color: #1e293b;
}
.btn {
  font-size: 15.5px;
  font-weight: 800;
}
.btn-sm { font-size: 14px; }
.btn-lg { font-size: 16.5px; }
.trust-pill {
  font-size: 14px;
  color: #005c30;
  border-width: 2px;
}
.hero h1 {
  font-size: clamp(32px, 4.1vw, 48px);
  color: #0a0f1a;
}
.hero-lead {
  font-size: 17px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.75;
}
.hero-notice {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}
.medal strong { font-size: 20px; color: #006b38; }
.medal span { font-size: 13px; color: #0f172a; font-weight: 800; }
.hfp-item small { font-size: 12.5px; color: #1e293b; font-weight: 800; }
.hfp-item strong { font-size: 21px; color: #0a0f1a; }
.hfp-item strong.free { font-size: 25px; color: #007a40; }

.symptom-box-head h2 { font-size: 22px; color: #0a0f1a; }
.sym-btn strong { font-size: 14.5px; font-weight: 800; color: #0a0f1a; }
.sym-result h3 { font-size: 21px; color: #ffffff; }
.sym-result p { font-size: 15px; color: #f1f5f9; font-weight: 500; }

.maker-inner { font-size: 14.5px; color: #1e293b; font-weight: 800; }
.maker-inner .maker-title { font-size: 13.5px; color: #005c30; }

.sec-eyebrow { font-size: 13px; color: #005c30; }
.sec-head h2 { font-size: clamp(26px, 3.3vw, 36px); color: #0a0f1a; }
.sec-head p { font-size: 16.5px; font-weight: 600; color: #1e293b; }

.card { border-width: 1.5px; border-color: #cbd5e1; }
.card h3 { font-size: 19px; font-weight: 900; color: #0a0f1a; }
.card p { font-size: 15.5px; font-weight: 500; color: #1e293b; line-height: 1.75; }
.card-link { font-size: 15px; font-weight: 800; color: #006b38; }
.card-num { color: #cbd5e1; }

.ssd-content h2 { font-size: 31px; color: #ffffff; }
.ssd-content p { font-size: 16px; color: #f1f5f9; }
.bar-meta { font-size: 15px; color: #ffffff; }

.review-meta { font-size: 13.5px; color: #0369a1; font-weight: 800; }
.review-card h3 { font-size: 17px; color: #0a0f1a; }
.review-card p { font-size: 15px; color: #1e293b; }

.case-tag { font-size: 12.5px; color: #005c30; }
.case-tag.area { color: #075985; }
.area-tags span, .area-tags a { font-size: 14px; font-weight: 800; color: #0f172a; border-color: #94a3b8; }

.price-table th { font-size: 15.5px; color: #0a0f1a; }
.price-table td { font-size: 15.5px; color: #0f172a; font-weight: 500; }
.faq-q { font-size: 16.5px; color: #0a0f1a; }
.faq-a { font-size: 15.5px; color: #1e293b; font-weight: 500; }

.sub-hero h1, .sub-hero-dark h1 { font-size: clamp(28px, 3.5vw, 40px); }
.sub-hero p { font-size: 16.5px; font-weight: 600; color: #1e293b; }
.sub-hero-dark p { font-size: 16.5px; color: #f1f5f9; }
.breadcrumb { font-size: 13.5px; font-weight: 700; color: #334155; }

.site-footer { color: #f1f5f9; }
.site-footer h4 { font-size: 16px; }
.site-footer li, .site-footer p { font-size: 14.5px; color: #e2e8f0; }
.footer-bottom { font-size: 13.5px; color: #cbd5e1; }
.mobile-sticky-bar a { font-size: 14px; }

/* ==========================================================================
   Competitor Best-Practice Modules (Simulator, Maker Comparison, Device Bar)
   ========================================================================== */
.sec-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--nh-green) 0%, #34d399 100%);
  border-radius: 999px;
  margin: 14px auto 0;
}

/* Interactive Price Simulator */
.sim-card {
  background: #fff;
  border: 2px solid var(--nh-green);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.sim-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}
.sim-step { margin-bottom: 22px; }
.sim-step:last-child { margin-bottom: 0; }
.sim-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 900;
  color: #0a0f1a;
  margin-bottom: 10px;
}
.sim-label span {
  background: var(--nh-green);
  color: #fff;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
}
.sim-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sim-opt {
  border: 2px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.sim-opt:hover { border-color: var(--nh-blue); background: #f0f9ff; }
.sim-opt.active {
  border-color: var(--nh-green);
  background: var(--nh-green-soft);
  color: #005c30;
  box-shadow: 0 4px 12px rgba(0, 148, 78, 0.18);
}
.sim-result-panel {
  background: linear-gradient(145deg, #0b1324 0%, #172554 65%, #064e3b 100%);
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.sim-res-kicker {
  font-size: 12.5px;
  font-weight: 800;
  color: #6ee7b7;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.sim-res-summary {
  font-size: 14px;
  color: #e2e8f0;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.sim-res-price-label { font-size: 13px; color: #cbd5e1; font-weight: 700; }
.sim-res-price {
  font-size: 32px;
  font-weight: 900;
  color: #6ee7b7;
  line-height: 1.2;
  margin: 4px 0 12px;
}
.sim-res-detail {
  font-size: 14.5px;
  color: #f1f5f9;
  line-height: 1.65;
  margin-bottom: 20px;
}

/* Comparison Table (Manufacturer vs NeoHeart) */
.comp-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid #cbd5e1;
}
.comp-table th, .comp-table td {
  padding: 18px 20px;
  text-align: center;
  border-bottom: 1px solid #cbd5e1;
  font-size: 15.5px;
  font-weight: 700;
}
.comp-table th:first-child, .comp-table td:first-child {
  text-align: left;
  background: #f8fafc;
  color: #0a0f1a;
  font-weight: 900;
  width: 24%;
}
.comp-table thead th {
  background: #1e293b;
  color: #fff;
  font-size: 16.5px;
  font-weight: 900;
}
.comp-table thead th.col-nh {
  background: linear-gradient(135deg, #00944e 0%, #006b38 100%);
  color: #fff;
  font-size: 18px;
}
.comp-table td.col-nh {
  background: #ecfdf5;
  color: #005c30;
  font-weight: 900;
  font-size: 16px;
}
.comp-mark-best {
  display: inline-block;
  background: var(--nh-green);
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 13px;
  margin-right: 6px;
}
.comp-mark-bad {
  display: inline-block;
  background: #e2e8f0;
  color: #475569;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 13px;
  margin-right: 6px;
}

/* Visit Guide Box */
.visit-guide {
  background: #fffbeb;
  border: 2px solid #fcd34d;
  border-radius: 18px;
  padding: 22px 26px;
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.visit-guide h3 { font-size: 18px; color: #92400e; margin-bottom: 4px; }
.visit-guide p { font-size: 14.5px; color: #451a03; font-weight: 600; }

@media (max-width: 900px) {
  .sim-grid { grid-template-columns: 1fr; }
  .sim-card { padding: 22px 18px; }
  .comp-table th, .comp-table td { padding: 12px 8px; font-size: 13.5px; }
}

/* ==========================================================================
   Responsive 2-Row Crystal-Clear Header (Auto-Scaling by Screen Width)
   ========================================================================== */
.utility-bar {
  font-size: clamp(11.5px, 1vw, 13.5px);
}
.utility-links a {
  font-size: clamp(11.5px, 1vw, 13px);
  white-space: nowrap;
}
.header-inner {
  max-width: 1220px;
  padding: 12px 20px 10px;
  flex-wrap: wrap;
  row-gap: 10px;
}
.brand-logo img {
  height: clamp(34px, 3.2vw, 46px);
  width: auto;
}
.audience-switch a {
  font-size: clamp(12.5px, 1.05vw, 14px);
  padding: 6px clamp(12px, 1.3vw, 18px);
  white-space: nowrap;
}
.header-ctas .btn-sm {
  font-size: clamp(12.5px, 1.05vw, 14.5px);
  padding: 9px clamp(14px, 1.4vw, 20px);
}

/* Row 2: Full-width spacious navigation bar so links never wrap or cramp */
.main-nav {
  flex: 1 0 100%;
  order: 10;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(14px, 2.1vw, 32px);
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
  font-size: clamp(13.5px, 1.18vw, 16px);
  font-weight: 800;
  color: #0a0f1a;
}
.main-nav a {
  white-space: nowrap;
  padding: 5px 4px;
  letter-spacing: 0.01em;
}
.main-nav a:hover,
.main-nav a.current {
  color: #006b38;
}

/* Tablet & Mobile breakpoints */
@media (max-width: 1024px) {
  .main-nav {
    display: flex !important;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 10px 4px 6px;
    gap: 18px;
    font-size: 14px;
    -webkit-overflow-scrolling: touch;
  }
  .header-ctas {
    display: flex !important;
  }
  .menu-toggle {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 10px 14px;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .brand-logo img {
    height: 34px;
  }
  .audience-switch,
  .main-nav,
  .header-ctas {
    display: none !important;
  }
  .menu-toggle {
    display: inline-flex !important;
    width: auto;
    padding: 0 14px;
    height: 40px;
    font-size: 15px;
    font-weight: 800;
    color: #0a0f1a;
    background: #ecfdf5;
    border: 1.5px solid #4ade80;
    gap: 6px;
  }
  .menu-toggle::after {
    content: "メニュー";
    font-size: 13.5px;
  }
  .mobile-drawer a {
    font-size: 16px;
    color: #0a0f1a;
    padding: 14px 6px;
  }
}

/* ==========================================================================
   Default Selected Theme: 08 Soft Peach / Apricot (Applied Across All Pages)
   ========================================================================== */
body:not([data-theme]) {
  background: #fff7ed;
}
body:not([data-theme]) .site-header {
  background: rgba(255, 247, 237, 0.96);
  border-bottom-color: #fed7aa;
}
body:not([data-theme]) .hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(249, 115, 22, 0.10), transparent 38%),
    radial-gradient(circle at 88% 22%, rgba(0, 168, 89, 0.10), transparent 40%),
    linear-gradient(180deg, #ffedd5 0%, #fff7ed 100%);
}
body:not([data-theme]) .sub-hero {
  background: linear-gradient(135deg, #ffedd5 0%, #fff7ed 100%);
  border-bottom-color: #fed7aa;
}
body:not([data-theme]) .section {
  background: #fff7ed;
}
body:not([data-theme]) .section-alt {
  background: #ffedd5;
}
body:not([data-theme]) .maker-strip {
  background: #fffaf5;
  border-color: #fed7aa;
}
body:not([data-theme]) .main-nav {
  border-top-color: #fed7aa;
}
