/* ============================================================
   cases.css — Progress 導入事例ページ共通スタイル
   対象: cases/index.html（一覧）/ cases/detail.html（詳細）
   ============================================================ */

/* ========================
   CSS VARIABLES
   ======================== */
:root {
  --blue:        #2563EB;
  --blue-dark:   #1D4ED8;
  --blue-light:  #EFF6FF;
  --navy:        #0F172A;
  --navy-mid:    #1E293B;
  --text:        #0F172A;
  --text-muted:  #64748B;
  --text-light:  #94A3B8;
  --bg:          #FFFFFF;
  --bg-subtle:   #F8FAFC;
  --bg-dark:     #F1F5F9;
  --border:      #E2E8F0;
  --border-dark: #CBD5E1;
  --white:       #FFFFFF;
  --shadow-sm:   0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md:   0 4px 16px rgba(15,23,42,0.08), 0 2px 4px rgba(15,23,42,0.04);
  --shadow-lg:   0 12px 40px rgba(15,23,42,0.12), 0 4px 12px rgba(15,23,42,0.06);
  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   16px;
  --nav-height:  68px;
}

/* ========================
   RESET & BASE
   ======================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ========================
   SCROLL ANIMATIONS
   ======================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up[data-delay="1"] { transition-delay: 0.08s; }
.fade-up[data-delay="2"] { transition-delay: 0.16s; }
.fade-up[data-delay="3"] { transition-delay: 0.24s; }
.fade-up[data-delay="4"] { transition-delay: 0.32s; }
.fade-up[data-delay="5"] { transition-delay: 0.40s; }
.fade-up[data-delay="6"] { transition-delay: 0.48s; }

/* ========================
   LAYOUT UTILITIES
   ======================== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-sm {
  padding: 4rem 0;
}

/* ========================
   NAVIGATION
   ======================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 20px rgba(15,23,42,0.07);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin-right: auto;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color 0.2s, background-color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background-color: var(--bg-subtle);
}

.nav-links a.active {
  color: var(--blue);
  font-weight: 600;
}

.nav-cta {
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.15s;
  cursor: pointer;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background-color: var(--blue);
  color: var(--white);
  border: 2px solid transparent;
}

.btn-primary:hover {
  background-color: var(--blue-dark);
  box-shadow: 0 4px 16px rgba(37,99,235,0.28);
}

.btn-outline {
  background-color: var(--white);
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-outline:hover {
  background-color: var(--blue-light);
}

.btn-white {
  background-color: var(--white);
  color: var(--navy);
  border: 2px solid transparent;
  font-weight: 700;
}

.btn-white:hover {
  background-color: var(--bg-dark);
}

.btn-ghost {
  background-color: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-ghost:hover {
  background-color: rgba(255,255,255,0.18);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 1.25rem 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 8px 24px rgba(15,23,42,0.1);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child { border-bottom: none; }

.mobile-menu .btn {
  margin-top: 0.75rem;
  text-align: center;
  justify-content: center;
}

/* ========================
   HERO — 一覧ページ
   ======================== */
.cases-hero {
  position: relative;
  background-color: var(--navy);
  padding: calc(var(--nav-height) + 5rem) 0 5.5rem;
  overflow: hidden;
}

/* Dot grid pattern */
.cases-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 100%);
}

/* Blue accent glow */
.cases-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at 80% 30%, rgba(37,99,235,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(37,99,235,0.10) 0%, transparent 55%);
}

.cases-hero .container {
  position: relative;
  z-index: 1;
}

.cases-hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: 100px;
  padding: 0.3rem 0.875rem;
  margin-bottom: 1.5rem;
}

.cases-hero-heading {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.cases-hero-heading em {
  font-style: normal;
  color: var(--blue);
}

.cases-hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 3rem;
}

/* Stats bar */
.cases-hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.cases-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cases-hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
}

.cases-hero-stat-number span {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
  margin-left: 0.15rem;
}

.cases-hero-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

/* ========================
   FILTER BAR
   ======================== */
.filter-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
}

.filter-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.filter-inner::-webkit-scrollbar { display: none; }

.filter-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-pill:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--blue-light);
}

.filter-pill.active {
  color: var(--blue);
  background: var(--blue-light);
  border-color: var(--blue);
  font-weight: 600;
}

.filter-count {
  font-size: 0.7rem;
  color: inherit;
  opacity: 0.7;
}

/* ========================
   COMPANIES SECTION
   ======================== */
.companies-section {
  padding: 4rem 0 6rem;
  background: var(--bg-subtle);
}

.companies-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.companies-count {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.companies-count strong {
  color: var(--text);
  font-weight: 700;
}

/* ========================
   COMPANY CARDS
   ======================== */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.company-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(.22,.61,.36,1), box-shadow 0.25s cubic-bezier(.22,.61,.36,1), border-color 0.25s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.company-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,0.15);
}

/* Card image area */
.company-card-image {
  height: 160px;
  position: relative;
  overflow: hidden;
  background: var(--bg-subtle);
}

.company-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.company-card:hover .company-card-image img {
  transform: scale(1.04);
}

/* Logo placeholder (no photo) */
.company-card-logo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-top: 3px solid rgba(212, 175, 55, 0.7);
}

.company-card-logo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(255,255,255,0.06) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}

.company-card-logo-placeholder::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  z-index: 1;
  transition: transform 0.5s ease;
}

.company-card:hover .company-card-logo-placeholder::after {
  transform: scale(1.2);
}

.card-hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 0;
}

.card-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.company-card-initials {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.97);
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 8px 32px rgba(0,0,0,0.3);
}

.card-hero-region {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.4);
  font-family: 'Inter', sans-serif;
}

/* Card body */
.company-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}

.company-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.company-card-industry {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.company-card-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-dark);
  flex-shrink: 0;
}

.company-card-region {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.company-card-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 0.875rem;
}

/* Feature tags */
.company-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
}

.feature-tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.feature-tag-more {
  background: var(--bg-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* Start date */
.company-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.company-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.company-card-date strong {
  color: var(--text);
  font-weight: 600;
}

.company-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.company-card:hover .company-card-cta {
  gap: 0.55rem;
}

.company-card-cta-arrow {
  font-size: 0.875rem;
  transition: transform 0.2s;
}

.company-card:hover .company-card-cta-arrow {
  transform: translateX(3px);
}

/* Loading skeleton */
.card-skeleton {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.skeleton-image {
  height: 160px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-body {
  padding: 1.5rem;
}

.skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  margin-bottom: 0.75rem;
}

.skeleton-line.w-60 { width: 60%; }
.skeleton-line.w-40 { width: 40%; }
.skeleton-line.w-80 { width: 80%; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Empty state */
.companies-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 1.5rem;
}

.companies-empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.companies-empty-text {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ========================
   BOTTOM CTA (一覧ページ)
   ======================== */
.list-cta {
  background: var(--navy);
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.list-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 36px 36px;
  pointer-events: none;
}

.list-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(37,99,235,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.list-cta .container {
  position: relative;
  z-index: 1;
}

.list-cta-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.list-cta-heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.list-cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

.list-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================
   FOOTER
   ======================== */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 3rem 0 2rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-brand-tagline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

.footer-brand-powered {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin-top: 0.5rem;
}

.footer-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin-top: 0.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.footer-links a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.8); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ========================
   DETAIL PAGE — HERO
   ======================== */
.detail-hero {
  background-color: var(--navy);
  padding: calc(var(--nav-height) + 4.5rem) 0 5rem;
  position: relative;
  overflow: hidden;
}

.detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 100%);
}

.detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 55% at 75% 25%, rgba(37,99,235,0.16) 0%, transparent 60%);
}

.detail-hero .container {
  position: relative;
  z-index: 1;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.breadcrumb a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

.breadcrumb a:hover { color: rgba(255,255,255,0.75); }

.breadcrumb-sep {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

.breadcrumb-current {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

/* Detail hero content */
.detail-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.detail-hero-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.detail-hero-logo-initials {
  font-size: 1.25rem;
  font-weight: 800;
  color: rgba(255,255,255,0.92);
  letter-spacing: -0.02em;
}

.detail-hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.875rem;
}

.detail-hero-name {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.detail-hero-catchcopy {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 2rem;
}

.detail-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.detail-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.7);
}

/* Detail hero side stats */
.detail-hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 160px;
}

.detail-stat {
  text-align: right;
}

.detail-stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.25rem;
}

.detail-stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
}

/* ========================
   DETAIL PAGE — CONTENT
   ======================== */
.detail-body {
  background: var(--bg);
}

/* Section headers */
.detail-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.detail-section:last-child {
  border-bottom: none;
}

.detail-section-alt {
  background: var(--bg-subtle);
}

.detail-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.25rem;
}

.detail-section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.detail-section-heading {
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 1.75rem;
}

.detail-section-text {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 680px;
}

/* 2-column layout for some sections */
.detail-section-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Pull quote */
.pull-quote {
  position: relative;
  padding: 2.5rem 2rem 2.5rem 3.5rem;
  background: var(--bg-subtle);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2.5rem 0;
}

.pull-quote::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--blue);
  font-family: Georgia, serif;
  opacity: 0.4;
}

.pull-quote-text {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
}

.pull-quote-attr {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 600;
}

/* President comment section */
.president-section {
  background: var(--navy);
  padding: 5.5rem 0;
}

.president-inner {
  max-width: 800px;
  margin: 0 auto;
}

.president-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.president-quote {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.75rem;
}

.president-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 3px;
  background: var(--blue);
  border-radius: 2px;
}

.president-attr {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
}

/* Feature list */
.feature-list-section {
  background: var(--bg-subtle);
}

.feature-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.875rem;
  margin-top: 2rem;
}

.feature-list-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-list-item:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.06);
}

.feature-list-icon {
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
}

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.photo-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-dark);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-item:hover img {
  transform: scale(1.04);
}

/* Video embed */
.video-wrap {
  max-width: 720px;
  margin: 2rem 0 0;
}

.video-embed {
  aspect-ratio: 16/9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--navy);
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ========================
   DETAIL PAGE — CTA
   ======================== */
.detail-cta {
  background: var(--navy);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.detail-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 36px 36px;
  pointer-events: none;
}

.detail-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 55% at 50% 50%, rgba(37,99,235,0.14) 0%, transparent 70%);
  pointer-events: none;
}

.detail-cta .container {
  position: relative;
  z-index: 1;
}

.detail-cta-company {
  display: inline-block;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.detail-cta-heading {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.detail-cta-sub {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  max-width: 440px;
  margin: 0 auto 2.5rem;
}

.detail-cta-back {
  margin-top: 2rem;
}
.detail-cta-back a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.detail-cta-back a:hover { color: rgba(255,255,255,0.65); }

.detail-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================
   LOADING STATE
   ======================== */
.page-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding-top: var(--nav-height);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Error state */
.page-error {
  text-align: center;
  padding: 6rem 1.5rem;
}

.page-error-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.page-error-text {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ========================
   RESPONSIVE — Tablet
   ======================== */
@media (max-width: 1024px) {
  .companies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .detail-hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .detail-stat {
    text-align: left;
  }

  .detail-section-2col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta.desktop { display: none; }
  .hamburger { display: flex; }

  .cases-hero {
    padding: calc(var(--nav-height) + 3.5rem) 0 4rem;
  }

  .cases-hero-stats {
    gap: 1.75rem;
  }
}

/* ========================
   RESPONSIVE — Mobile
   ======================== */
@media (max-width: 640px) {
  .companies-grid {
    grid-template-columns: 1fr;
  }

  .companies-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .cases-hero-heading {
    font-size: 2rem;
  }

  .detail-hero-name {
    font-size: 1.75rem;
  }

  .detail-section {
    padding: 3.5rem 0;
  }

  .president-section {
    padding: 4rem 0;
  }

  .detail-cta {
    padding: 4.5rem 0;
  }

  .detail-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .list-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .footer-top {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-links {
    align-items: flex-start;
  }

  .breadcrumb-current {
    max-width: 140px;
  }
}

/* ============================================================
   ASSET SITE — 追加コンポーネント
   企業が増えるほど価値が増す「資産サイト」設計
   ============================================================ */

/* ========================
   PLATFORM STATS BAR
   全数値は JS がJSONから自動計算
   ======================== */
.platform-stats {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.platform-stats-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.platform-stats-inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0;
}

.platform-stat-item {
  padding: 1rem 2rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.platform-stat-item:last-child {
  border-right: none;
}

.platform-stat-number {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--navy);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.platform-stat-unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0;
}

.platform-stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.125rem;
}

.platform-stat-note {
  font-size: 0.6875rem;
  color: var(--text-light);
  margin-top: 0.125rem;
}

/* ========================
   INDUSTRY CLUSTERS
   業種別グループ — 企業追加で自動的にクラスターが成長
   ======================== */
.industry-clusters {
  padding: 5rem 0;
  background: var(--white);
}

.industry-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.industry-section-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.industry-section-heading {
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1.2;
}

.industry-section-subtext {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: right;
}

.clusters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.cluster-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(.22,.61,.36,1), box-shadow 0.22s, border-color 0.22s;
  position: relative;
  overflow: hidden;
}

.cluster-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--blue);
  border-radius: 0 2px 2px 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.22s ease;
}

.cluster-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,0.2);
}

.cluster-card:hover::before {
  transform: scaleY(1);
}

.cluster-card.active {
  border-color: var(--blue);
  background: var(--blue-light);
}

.cluster-card.active::before {
  transform: scaleY(1);
}

.cluster-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.cluster-industry-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.cluster-count {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  border-radius: 100px;
  padding: 0.2rem 0.625rem;
}

.cluster-companies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cluster-company-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 0.625rem;
  font-weight: 800;
  color: rgba(255,255,255,0.9);
  line-height: 1;
  letter-spacing: -0.02em;
}

.cluster-company-badge-name {
  display: none;
}

.cluster-footer {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.cluster-footer-arrow {
  font-size: 0.75rem;
  color: var(--blue);
  margin-left: auto;
  transition: transform 0.2s;
}

.cluster-card:hover .cluster-footer-arrow {
  transform: translateX(3px);
}

/* ========================
   FEATURE INSIGHTS
   機能別採用率 — 企業が増えるほど統計の信頼性が高まる
   ======================== */
.feature-insights {
  padding: 5rem 0;
  background: var(--bg-subtle);
}

.insights-header {
  margin-bottom: 3rem;
}

.insights-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.insights-heading {
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.insights-subtext {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.insights-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.insights-bars {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.insight-bar-row {
  display: grid;
  grid-template-columns: 160px 1fr 60px;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
}

.insight-bar-row:last-child {
  border-bottom: none;
}

.insight-bar-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.insight-bar-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.insight-bar-track {
  height: 6px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}

.insight-bar-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 100px;
  transition: width 1.2s cubic-bezier(.22,.61,.36,1);
  width: 0;
}

.insight-bar-fill.animate {
  width: var(--fill-width);
}

.insight-bar-fill.high {
  background: var(--blue);
}

.insight-bar-fill.mid {
  background: #60A5FA;
}

.insight-bar-fill.low {
  background: var(--border-dark);
}

.insight-bar-count {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  text-align: right;
  white-space: nowrap;
}

.insight-bar-count span {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Insights summary panel */
.insights-summary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.insight-summary-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.insight-summary-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.insight-summary-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.375rem;
}

.insight-summary-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========================
   ADOPTION TIMELINE
   導入推移 — 時間軸で成長が見える
   ======================== */
.adoption-timeline {
  padding: 4.5rem 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.timeline-header {
  margin-bottom: 2.5rem;
}

.timeline-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.timeline-heading {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 600px;
  position: relative;
}

.timeline-list::before {
  content: '';
  position: absolute;
  top: 0.625rem;
  bottom: 0;
  left: 5.5rem;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 0.875rem 0;
  position: relative;
}

.timeline-date {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: right;
  padding-top: 0.125rem;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.timeline-dot {
  position: absolute;
  left: 5rem;
  top: 1rem;
  width: 12px;
  height: 12px;
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 50%;
  transform: translateX(-5px);
  z-index: 1;
}

.timeline-dot.future {
  border-color: var(--border-dark);
  background: var(--bg-subtle);
}

.timeline-content {
  padding-left: 1.5rem;
}

.timeline-company-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color .2s;
}
.timeline-company-name:hover { color: var(--blue); }

.timeline-company-industry {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.timeline-future-text {
  font-size: 0.9375rem;
  color: var(--text-light);
  font-style: italic;
}

/* ========================
   DETAIL PAGE — RELATED COMPANIES
   ======================== */
.related-section {
  padding: 5rem 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
}

.related-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.related-heading {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 2rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* ========================
   RESPONSIVE — Asset sections
   ======================== */
@media (max-width: 1024px) {
  .platform-stats-inner {
    grid-template-columns: repeat(3, 1fr);
  }
  .platform-stat-item:nth-child(3) { border-right: none; }
  .platform-stat-item:nth-child(4) { border-right: 1px solid var(--border); }

  .insights-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .insights-summary {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .insight-summary-card {
    flex: 1;
    min-width: 160px;
  }
}

@media (max-width: 640px) {
  .platform-stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-stat-item:nth-child(2) { border-right: none; }
  .platform-stat-item:nth-child(3) { border-top: 1px solid var(--border); border-right: 1px solid var(--border); }
  .platform-stat-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .platform-stat-item:nth-child(5) { border-top: 1px solid var(--border); grid-column: span 2; border-right: none; }

  .insight-bar-row {
    grid-template-columns: 120px 1fr 50px;
    gap: 0.75rem;
  }

  .cluster-card {
    padding: 1.25rem;
  }

  .timeline-list::before { left: 4.5rem; }
  .timeline-item { grid-template-columns: 4rem 1fr; }
  .timeline-dot { left: 4rem; }
}

/* ========================
   STATUS BADGES
   ======================== */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* 実運用中 */
.status-badge.active {
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
}
.status-badge.active::before {
  background: #22C55E;
  animation: status-pulse 2.4s ease infinite;
}
@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(34,197,94,0.5); }
  50%       { box-shadow: 0 0 0 4px rgba(34,197,94,0);   }
}

/* 導入完了 */
.status-badge.complete {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}
.status-badge.complete::before { background: #3B82F6; }

/* 導入準備中 */
.status-badge.preparing {
  background: #FFFBEB;
  color: #92400E;
  border: 1px solid #FDE68A;
}
.status-badge.preparing::before { background: #F59E0B; }

.status-badge.demo {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #CBD5E1;
}
.status-badge.demo::before { background: #94A3B8; }

/* ========================
   CARD HEADER ROW
   (status badge + feature count)
   ======================== */
.company-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.875rem;
  min-height: 1.75rem;
}

.company-card-feat-count {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.company-card-feat-count strong {
  font-weight: 700;
  color: var(--text-muted);
}

/* ========================
   HERO COUNTER BLOCK
   ======================== */
.hero-counter-wrap {
  margin-top: 2.75rem;
  margin-bottom: 2rem;
}

.hero-counter-inner {
  display: inline-flex;
  flex-direction: column;
  gap: 0.375rem;
  border-left: 3px solid var(--blue);
  padding-left: 1.375rem;
}

.hero-counter-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.hero-counter-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.hero-counter-pre {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
}

.hero-counter-number {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero-counter-unit {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  letter-spacing: -0.02em;
}

.hero-counter-note {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .hero-counter-number { font-size: 3rem; }
  .hero-counter-unit   { font-size: 1.25rem; }
}

/* ========================
   SCREENSHOTS GRID
   ======================== */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.screenshot-item {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.screenshot-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-item img:hover {
  transform: scale(1.015);
  box-shadow: var(--shadow-lg);
}

.screenshot-caption {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .screenshot-grid { grid-template-columns: 1fr; }
  .screenshot-item img { height: 180px; }
}

/* ========================
   OPERATION STATUS BLOCK
   ======================== */
.operation-status-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.operation-since {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.operation-status-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.9;
  max-width: 640px;
}

/* ── 会社サイトリンク (nav-company-link) ─────── */
.nav-company-link {
  font-size: 0.8125rem !important;
  color: var(--text-light) !important;
  opacity: 0.75;
  border-right: 1px solid var(--border);
  margin-right: 0.25rem;
  padding-right: 0.875rem !important;
  border-radius: 0 !important;
}
.nav-company-link:hover { opacity: 1; }
