:root {
  --color-bg-body: #ffffff;
  --color-bg-light: #f7f7f7;
  --color-bg-dark: #1a1a1a;
  --color-base: #1a1a1a;
  --color-main: #ffffff;
  --color-accent: #1260cc;
  --color-accent-sub: #1260cc;
  --color-text: #333333;
  --color-text-light: #ffffff;
  --color-text-dim: #595959;
  --color-white: #ffffff;
  --color-border: #d4d4d4;

  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', sans-serif;
  --font-base: 16px;
  --line-height-base: 1.72;

  --width-max: 1200px;
  --width-content: 960px;
  --sp-xs: 8px;
  --sp-sm: 16px;
  --sp-md: 24px;
  --sp-lg: 48px;
  --sp-xl: 96px;

  --radius-card: 0px;
  --radius-btn: 0px;
}

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

html {
  font-size: var(--font-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-en), var(--font-jp);
  background-color: var(--color-bg-body);
  color: var(--color-text);
  line-height: var(--line-height-base);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-base);
  text-decoration: none;
  transition: none;
}

a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-base);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--sp-md);
}

h1 {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  line-height: 1.28;
  letter-spacing: 0.012em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  position: relative;
  padding-bottom: 16px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
}

.text-left h2::after {
  left: 0;
  transform: none;
}

h3 {
  font-size: clamp(1.22rem, 2vw, 1.5rem);
}

h4 {
  font-size: 1.08rem;
  line-height: 1.55;
  margin-bottom: 10px;
  color: var(--color-base);
}

p {
  line-height: 1.85;
}

.section h2:not(.section-title):not(.subsection-title),
.section h3:not(.card-title):not(.top-model-title):not(.top-solution-title):not(.case-title):not(.subsection-title-sm) {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section h2:not(.section-title):not(.subsection-title)::before {
  content: none;
}

.section h3:not(.card-title):not(.top-model-title):not(.top-solution-title):not(.case-title):not(.subsection-title-sm)::before {
  content: none;
}

.section h2:not(.section-title):not(.subsection-title):has(> i)::before,
.section h3:not(.card-title):not(.top-model-title):not(.top-solution-title):not(.case-title):not(.subsection-title-sm):has(> i)::before {
  content: none;
}

.bg-dark h2:not(.section-title):not(.subsection-title)::before,
.bg-dark h3:not(.card-title):not(.top-model-title):not(.top-solution-title):not(.case-title):not(.subsection-title-sm)::before {
  content: none;
}

.text-center {
  text-align: center;
}

.text-center h2:not(.section-title):not(.subsection-title),
.text-center h3:not(.card-title):not(.top-model-title):not(.top-solution-title):not(.case-title):not(.subsection-title-sm) {
  justify-content: center;
}

.text-dim {
  color: var(--color-text-dim);
}

.text-accent {
  color: var(--color-accent);
}

.text-white {
  color: var(--color-base) !important;
}

/* Dark background text visibility fixes */
.bg-dark .text-dim {
  color: rgba(200, 220, 255, 0.78);
}

.bg-dark .blog-meta {
  color: rgba(200, 220, 255, 0.65);
}

.bg-dark .card .text-dim,
.bg-dark .top-card .text-dim {
  color: var(--color-text-dim);
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--width-max);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.container-narrow {
  max-width: var(--width-content);
}

.section {
  padding: clamp(48px, 5vw, 64px) 0;
}

.hero-section {
  padding-top: 120px !important;
  padding-bottom: 64px !important;
}

.hero-section-home {
  padding-top: 140px !important;
}

.hero-grid {
  align-items: center;
  gap: 28px;
}

.hero-grid-wide {
  align-items: center;
  gap: 32px;
}

.grid {
  display: grid;
  gap: var(--sp-md);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 36px 0;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  /* Mobile: tighter cards */
  .top-card-body {
    padding: 12px 14px;
  }
  .top-card-body > * + * {
    margin-top: 8px;
  }
  .card-title {
    font-size: 1rem;
  }
  .icon-feature-grid .top-card-body {
    padding: 10px 12px;
  }
}

/* Output Utility Classes */
.bg-light {
  background-color: var(--color-bg-light);
}

.bg-white {
  background-color: var(--color-bg-body);
}

.bg-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3 {
  color: var(--color-base);
}

.section h2+ul,
.section h2+ol,
.section h3+ul,
.section h3+ol,
.section h2+p,
.section h3+p {
  margin-top: 4px;
}

.section p+h2,
.section ul+h2,
.section ol+h2,
.section p+h3,
.section ul+h3,
.section ol+h3 {
  margin-top: clamp(24px, 3vw, 36px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 32px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  min-height: 46px;
  border-radius: var(--radius-btn);
  transition: none;
  cursor: pointer;
  border: 0;
}

.btn::after {
  content: '\2192';
  font-family: inherit;
  font-weight: 900;
  font-size: 0.9em;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #0e4fa8;
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--color-base);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-bg-light);
  border-color: var(--color-base);
}

.btn-green {
  background-color: #16a34a;
  box-shadow: none;
}

.btn-green:hover {
  background-color: #15803d;
  box-shadow: none;
}

/* Cards */
.card {
  background-color: var(--color-main);
  border-radius: var(--radius-card);
  padding: var(--sp-lg);
  transition: none;
  height: 100%;
  display: flex;
  flex-direction: column;
}

a.card:hover {
  border-color: var(--color-text-dim);
}

.card-title {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--color-base);
}

/* Auto-icon removed — all pages use explicit <i> icons */

.card p,
.card li {
  line-height: 1.82;
}

/* Header / Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  overflow: visible;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  overflow: visible;
}

.header .logo {
  color: var(--color-base);
  letter-spacing: 0.02em;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: inherit;
}

.nav-list {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 6px 8px;
  border-radius: 0;
  transition: color 0.2s ease;
  letter-spacing: 0.015em;
  position: relative;
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--color-accent);
}

/* Header CTA button for contact */
.nav-list a[href*="contact"] {
  background: var(--color-accent);
  color: #ffffff;
  padding: 8px 20px;
  font-size: 0.85rem;
}
.nav-list a[href*="contact"]:hover {
  background: #0e4fa8;
  color: #ffffff;
}
.nav-list a[href*="contact"]::before {
  content: none;
}
/* Current page (contact) — distinct style so user knows they're on this page */
.nav-list .current-menu-item a[href*="contact"],
.nav-list .current_page_item a[href*="contact"] {
  background: #ffffff;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  padding: 6px 18px;
  cursor: default;
}
.nav-list .current-menu-item a[href*="contact"]:hover,
.nav-list .current_page_item a[href*="contact"]:hover {
  background: #ffffff;
  color: var(--color-accent);
}

.nav-list a:hover::before {
  width: 100%;
}

.nav-list a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  transition: width 0.2s ease;
  background: var(--color-accent);
}

/* Dropdown menu */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: 0;
  padding: 8px 0;
  min-width: 240px;
  box-shadow: none;
  z-index: 1001;
  list-style: none;
  margin: 0;
}

.nav-dropdown-menu--wide {
  min-width: 400px;
  left: 50%;
  transform: translateX(-50%);
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 20px;
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: none;
}

.nav-dropdown-menu li a::before {
  content: none;
}

.nav-dropdown-menu li a:hover {
  background: var(--color-bg-light);
  color: var(--color-base);
}

.nav-dropdown-date {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  min-width: 72px;
}

.nav-dropdown-title {
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-dropdown-menu li a:hover .nav-dropdown-date {
  color: var(--color-accent);
}

/* Hamburger button */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
  position: relative;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}

.nav-hamburger span,
.nav-hamburger span::before,
.nav-hamburger span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-base);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger span {
  position: relative;
}

.nav-hamburger span::before,
.nav-hamburger span::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-hamburger span::before {
  top: -7px;
}

.nav-hamburger span::after {
  top: 7px;
}

/* Hamburger active state (X) */
.nav-hamburger.is-active span {
  background: transparent;
}

.nav-hamburger.is-active span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-hamburger.is-active span::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
  }

  .header nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    padding: 80px 24px 32px;
    transition: opacity 0.2s ease;
    z-index: 1001;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
  }

  .header nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .nav-list > li {
    border-bottom: 1px solid var(--color-border);
  }

  .nav-list a {
    padding: 14px 0;
    font-size: 1rem;
  }

  .nav-list a::before {
    content: none;
  }

  /* Mobile dropdown – accordion */
  .nav-dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--color-text-dim);
    border-bottom: 2px solid var(--color-text-dim);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    flex-shrink: 0;
    margin-left: 8px;
  }

  .nav-dropdown.is-expanded > a::after {
    transform: rotate(-135deg);
  }

  .nav-dropdown-menu {
    display: none;
    position: static !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 0 0 8px 0 !important;
    min-width: 0 !important;
    transform: none !important;
  }

  .nav-dropdown.is-expanded .nav-dropdown-menu {
    display: block !important;
  }

  .nav-dropdown-menu--wide {
    min-width: 0 !important;
    left: auto !important;
    transform: none !important;
  }

  .nav-dropdown-menu li a {
    padding: 10px 0 10px 16px;
    font-size: 0.85rem;
    color: var(--color-text-dim);
    white-space: normal;
    border-left: 2px solid var(--color-accent);
  }

  .nav-dropdown-menu li a:hover,
  .nav-dropdown-menu li a:active {
    background: var(--color-bg-light);
    color: var(--color-base);
    border-left-color: var(--color-accent);
  }

  .nav-dropdown-date {
    font-size: 0.7rem;
    min-width: auto;
  }

  .nav-dropdown-title {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  /* Overlay — hidden (full-screen menu) */
  .nav-overlay {
    display: none !important;
  }
}

/* Labels/Badges */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  background-color: var(--color-accent);
  color: #ffffff;
  margin-right: 8px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.badge::before {
  content: none;
}

.badge-accent {
  width: auto;
  height: auto;
  padding: 6px 18px;
  border-radius: 0;
  background: var(--color-accent);
  color: var(--color-base);
  margin-bottom: 16px;
}

.fw-700 {
  font-weight: 700;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-row .btn,
.cta-card-actions .btn,
.top-contact-actions .btn {
  min-width: 210px;
}

.cta-row-center {
  justify-content: center;
}

.gap-20 {
  gap: 20px;
}

.grid-gap-20-center {
  gap: 20px;
  align-items: center;
}

.grid-gap-20-start {
  gap: 20px;
  align-items: start;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-6 {
  margin-bottom: 6px !important;
}

.mb-8 {
  margin-bottom: 8px !important;
}

.mb-10 {
  margin-bottom: 10px !important;
}

.mb-12 {
  margin-bottom: 12px !important;
}

.mb-14 {
  margin-bottom: 14px !important;
}

.mb-16 {
  margin-bottom: 16px !important;
}

.mb-18 {
  margin-bottom: 18px !important;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.mb-22 {
  margin-bottom: 22px !important;
}

.mb-24 {
  margin-bottom: 24px !important;
}

.mb-26 {
  margin-bottom: 26px !important;
}

.mb-28 {
  margin-bottom: 28px !important;
}

.mb-52 {
  margin-bottom: 52px !important;
}

.mt-10 {
  margin-top: 10px !important;
}

.mt-12 {
  margin-top: 12px !important;
}

.mt-16 {
  margin-top: 16px !important;
}

.mt-18 {
  margin-top: 18px !important;
}

.mt-22 {
  margin-top: 22px !important;
}

.mt-24 {
  margin-top: 24px !important;
}

.mt-20 {
  margin-top: 20px !important;
}

.mt-28 {
  margin-top: 28px !important;
}

.mt-30 {
  margin-top: 30px !important;
}

.mt-40 {
  margin-top: 40px !important;
}

.mb-30 {
  margin-top: 30px !important;
}

.section-plain {
  padding: 0 !important;
}

.list-disc {
  list-style: disc !important;
  padding-left: 18px !important;
}

.list-disc li::before {
  content: none !important;
}

.list-disc li {
  position: static !important;
  padding-left: 0 !important;
}

.list-no-auto-icon li::before {
  content: none !important;
}

.list-no-auto-icon li {
  padding-left: 0 !important;
}

.inline-note {
  font-size: 0.95rem;
}

.inline-grid-10-left {
  display: inline-grid;
  gap: 10px;
  text-align: left;
}

.contact-mail-link {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
}

/* Form Styles */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: box-shadow 0.3s ease;
  background-color: var(--color-base);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 112, 243, 0.1);
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-base);
}

form {
  box-shadow: none;
}

/* ==========================================================================
   TOP Page
   ========================================================================== */
.section-lead {
  max-width: 760px;
  margin: 0 auto 44px;
}

.top-hero-visual {
  text-align: center;
}

.top-hero-image {
  width: 100%;
  border-radius: 0;
  box-shadow: none;
}

.top-card-grid {
  gap: 12px;
}

.top-card {
  padding: 0;
  overflow: hidden;
  border: none;
  background: var(--color-bg-light);
}
/* Cards on gray sections get white bg */
.bg-light .top-card {
  background: #ffffff;
}

a.top-card:hover {
  background: #eeeeee;
}

.top-card-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.top-card-body > * + * {
  margin-top: 12px;
}

.top-card-body > .top-card-link,
.top-card-body > .top-model-btn {
  margin-top: auto;
}

/* Badge + title inline row */
.top-card-body:has(> .badge) {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0 14px;
}
.top-card-body > .badge {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  align-self: center;
}
.top-card-body > .badge + .card-title {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  align-self: center;
}
.top-card-body:has(> .badge) > p,
.top-card-body:has(> .badge) > ul,
.top-card-body:has(> .badge) > div:not(:first-child) {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.top-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.top-card-image.top-feature-image {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #ffffff;
}

.top-card-image-full {
  height: auto !important;
  max-height: none !important;
  object-fit: unset !important;
}

.blog-list-grid .top-card-image {
  height: auto;
  object-fit: unset;
}

.top-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-weight: 700;
  margin-top: auto;
}

.top-card-link::before {
  content: '\2192';
  font-family: inherit;
  font-weight: 900;
  font-size: 0.9em;
}

.top-card-link:hover {
  color: #0e4fa8;
}

.section ul:not(.nav-list):not(.top-footer-links):not(.top-model-features):not(.top-solution-features):not(.case-results):not(.check-list) {
  list-style: none;
  padding-left: 0;
}

.section ul:not(.nav-list):not(.top-footer-links):not(.top-model-features):not(.top-solution-features):not(.case-results):not(.check-list) li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 4px;
}

.section ul:not(.nav-list):not(.top-footer-links):not(.top-model-features):not(.top-solution-features):not(.case-results):not(.check-list) li::before {
  content: '–';
  color: var(--color-text-dim);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1em;
}

/* 明示的な <i> アイコンがある li は自動アイコンを非表示 */
.section ul:not(.nav-list):not(.top-footer-links):not(.top-model-features):not(.top-solution-features):not(.case-results):not(.check-list) li:has(> i)::before {
  content: none;
}

.section ul:not(.nav-list):not(.top-footer-links):not(.top-model-features):not(.top-solution-features):not(.case-results):not(.check-list) li:has(> i) {
  padding-left: 0;
}

/* TOP Models and Solutions */
.top-models {
  background-color: var(--color-bg-body);
}

.top-models-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.top-model-card {
  background-color: var(--color-main);
  border-radius: 0;
  padding: 24px;
  border: none;
  background: #f0f0f0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

a.top-model-card:hover {
  background: #e8e8e8;
}

.top-model-card-featured {
  background: var(--color-bg-light);
  box-shadow: none;
  border-top: none;
}

.top-model-card-featured .grid {
  gap: 20px;
}

.top-model-card-featured .grid > div {
  background: var(--color-main);
  border-radius: var(--radius-card);
  padding: 24px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.25s ease;
}

a.top-model-card-featured .grid > div:hover {
  box-shadow: none;
}

.top-model-card-featured h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--color-base);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
}

.top-model-card-featured h4 i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #dbeafe;
  color: var(--color-accent);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.top-model-card-featured .text-dim {
  font-size: 0.92rem;
  line-height: 1.8;
}

.top-model-card-featured .check-list {
  margin-top: 12px;
  padding-top: 8px;
  font-size: 0.88rem;
}

.top-model-card-featured .top-model-description {
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.top-model-card-featured .top-model-features li {
  background: var(--color-main);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  border: 1px solid var(--color-border);
}

.top-model-card-featured .top-model-features li strong {
  font-size: 1.02rem;
}

/* Service eyecatch image (hero right column) */
.hero-light-eyecatch {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-light-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero architecture grid (top page) */
.hero-arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-self: center;
}

.hero-arch-grid a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  transition: none;
}

.hero-arch-grid a:hover {
  border-color: var(--color-text-dim);
}

.hero-arch-grid img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .hero-arch-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/* Approach groups (top page service section) */
.approach-group {
  margin-bottom: 48px;
}

.approach-group:last-child {
  margin-bottom: 0;
}

.approach-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.approach-heading h3 {
  font-size: 1.35rem;
  margin: 0;
}


.approach-desc {
  color: var(--color-text-dim);
  margin-bottom: 20px;
}

/* Service visual cards */
.service-visual-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-visual-card:hover {
  box-shadow: none;
  transform: none;
}

.service-visual-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.service-visual-card-body {
  padding: 16px 20px 20px;
  text-align: center;
}

.service-visual-card-body h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--color-base);
}

.service-visual-card-body p {
  color: var(--color-text-dim);
  font-size: 0.88rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Horizontal solution card (image left + text right) */
.solution-hz-card {
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  margin-bottom: 20px;
}

.solution-hz-card:last-child {
  margin-bottom: 0;
}

.solution-hz-card img {
  width: 260px;
  flex-shrink: 0;
  object-fit: contain;
  align-self: center;
  padding: 16px;
}

.solution-hz-card-body {
  flex: 1;
  padding: 24px 28px;
}

@media (max-width: 768px) {
  .solution-hz-card {
    flex-direction: column;
  }

  .solution-hz-card img {
    width: 100%;
    max-height: 200px;
  }
}

/* Highlighted section title */
.section-title-xl {
  font-size: 2rem;
  letter-spacing: 0.01em;
}

/* Colored header band for plan cards */
.top-model-card-header {
  margin: -24px -24px 16px -24px;
  padding: 12px 24px;
  border-radius: 0;
  color: var(--color-base);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-bg-light);
  background: none;
}

.top-model-card-header--blue {
  background: none;
}

.top-model-card-header--green {
  background: none;
}

.top-model-card-header--gray {
  background: none;
}

.top-model-card-header--purple {
  background: none;
}

.top-model-card-header .top-model-icon {
  display: none;
}

.top-model-card-header .top-model-badge {
  background: none;
  color: var(--color-text-dim);
  margin-bottom: 2px;
  font-size: 0.82rem;
  padding: 0;
}

.top-model-card-header .top-model-title {
  color: var(--color-base);
}

.top-model-card-header-text {
  display: flex;
  flex-direction: column;
}

/* Price numbers — override inline accent color */
.top-model-card-featured [style*="font-size: 2.2rem"] {
  color: var(--color-base) !important;
}

.top-model-card-header-sub {
  color: var(--color-text-dim);
  font-size: 0.85rem;
  margin: 0;
}

.top-model-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 0;
  background-color: var(--color-bg-light);
  color: var(--color-base);
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.top-model-badge-featured {
  background-color: var(--color-accent);
  color: var(--color-base);
}

.top-model-icon {
  display: none;
  width: 70px;
  height: 70px;
  border-radius: 0;
  align-items: center;
  justify-content: center;
  color: var(--color-base);
  font-size: 2rem;
  background: var(--color-accent);
  margin-bottom: 16px;
}

.top-model-title {
  display: block;
  font-size: 1.65rem;
  margin-bottom: 10px;
  color: var(--color-base);
}

.top-model-title::before {
  content: none;
}

.top-model-description {
  margin-bottom: 16px;
}

.top-model-features {
  list-style: none;
  padding-left: 0;
  margin: 0 0 16px;
}

.top-model-features li {
  padding: 10px 0;
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.top-model-features li::before {
  content: none;
}

.top-model-features i {
  color: #16a34a;
  margin-top: 3px;
}

.top-model-example {
  background-color: #eef4ff;
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

/* Alternating color tints for detail boxes in cards */
.top-card:nth-child(odd) .top-model-example,
.top-card:nth-child(odd) .fw-700 + ul {
  background-color: #eef4ff;
  border-radius: 10px;
}

.top-card:nth-child(even) .top-model-example,
.top-card:nth-child(even) .fw-700 + ul {
  background-color: #fef7ed;
  border-radius: 10px;
}

.fw-700 + ul {
  padding: 14px 16px 14px 32px !important;
  margin-bottom: 12px;
}

.top-model-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.top-solutions {
  background-color: var(--color-bg-light);
}

.top-solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.top-solution-card {
  background-color: var(--color-main);
  border-radius: 0;
  padding: 28px 24px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  transition: none;
}

a.top-solution-card:hover {
  border-color: var(--color-text-dim);
}

.top-solution-icon {
  width: 68px;
  height: 68px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-base);
  font-size: 1.95rem;
  background: var(--color-accent);
  margin-bottom: 16px;
}

.top-solution-title {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--color-base);
}

.top-solution-title::before {
  content: none;
}

.top-solution-subtitle {
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 12px;
}

.top-solution-description {
  margin-bottom: 14px;
  line-height: 1.8;
}

.top-solution-features {
  list-style: none;
  padding-left: 0;
  margin: 0 0 16px;
}

.top-solution-features li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.top-solution-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;
  font-weight: 700;
}

.top-solution-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-weight: 700;
  margin-top: auto;
}

.top-solution-link:hover {
  color: #0e4fa8;
}

/* TOP Case Study */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(20px, 3vw, 28px);
}

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 0;
}

.section .section-title {
  display: inline-block;
}

.section-title::before {
  content: none;
}

.section-title {
  color: var(--color-base);
  margin-bottom: 10px;
}

.section-title::after {
  content: none;
}

.section-subtitle {
  color: var(--color-text-dim);
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.subsection-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  font-size: 1.48rem;
  margin-top: 24px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  color: var(--color-base);
}

.subsection-title::before {
  content: none;
}

.subsection-title::after {
  content: none;
}

.subsection-title i {
  display: none;
}

.subsection-title-sm {
  font-size: 1.15rem !important;
  color: var(--color-accent);
  letter-spacing: 0.02em;
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 0;
}

.subsection-title-sm::before {
  content: none;
}

.subsection-title-sm::after {
  content: none;
}

.bg-dark .section-title {
  color: #ffffff;
}

.bg-dark .section-title::after {
  background-color: var(--color-accent);
}

.bg-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.84);
}

.bg-dark .subsection-title {
  color: var(--color-base);
}

.bg-dark .subsection-title::before {
  color: var(--color-accent);
}

.bg-dark .subsection-title::after {
  background-color: var(--color-accent);
}

.case-study {
  background-color: var(--color-bg-body);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.case-card {
  background: var(--color-main);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  transition: none;
  display: flex;
  flex-direction: column;
}

a.case-card:hover,
.card-clickable.case-card:hover {
  border-color: var(--color-text-dim);
}

.case-image {
  height: 180px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.case-image .case-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-image .case-placeholder-logo {
  width: 80px;
  height: auto;
  opacity: 0.35;
}

.case-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 0;
  background-color: var(--color-bg-light);
  color: var(--color-base);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.case-title {
  font-size: 1.26rem;
  margin-bottom: 12px;
  color: var(--color-base);
  display: block;
}

.case-title::before {
  content: none;
}

.case-description {
  line-height: 1.8;
  margin-bottom: 14px;
}

.case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid var(--color-border);
  margin-bottom: 14px;
}

.case-result-item {
  text-align: center;
}

.result-value {
  display: block;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.result-label {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-dim);
}

/* TOP News / Tech Blog (from manuscript style) */
.top-feed {
  background-color: var(--color-bg-light);
}

.top-feed-blog {
  background-color: var(--color-bg-body);
}

.top-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.top-feed-card {
  background: var(--color-main);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  transition: none;
  display: flex;
  flex-direction: column;
}

a.top-feed-card:hover,
.card-clickable.top-feed-card:hover {
  border-color: var(--color-text-dim);
}

.top-feed-image {
  width: 100%;
  height: 198px;
  object-fit: cover;
}

.top-feed-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.top-feed-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.top-feed-category {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 0;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
}

.top-feed-date {
  color: var(--color-text-dim);
  font-size: 0.84rem;
}

.top-feed-title {
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--color-base);
  margin-bottom: 12px;
  display: block;
}

.top-feed-title::before {
  content: none;
}

.top-feed-excerpt {
  color: var(--color-text-dim);
  line-height: 1.8;
  margin-bottom: 14px;
  flex: 1;
}

.top-feed-link {
  color: var(--color-accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.top-feed-link:hover {
  color: #0e4fa8;
}

.top-feed-cta {
  text-align: center;
  margin-top: 28px;
}

.section-actions {
  margin-top: 28px;
}

.section p,
.section li {
  line-height: 1.85;
}

.section p + p {
  margin-top: 0.7em;
}

.section p + ul,
.section p + ol,
.section ul + p,
.section ol + p {
  margin-top: 0.8em;
}

.top-contact-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.cta-card-body {
  text-align: center;
  background: var(--color-bg-light);
}

.cta-card-body .card-title {
  justify-content: center;
}

.cta-card-body .text-dim {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.cta-card-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.cta-inline-note {
  text-align: center;
  margin-top: 22px;
}

.cta-inline-note p {
  margin-bottom: 12px;
}

.cta-section,
.cta-section-light {
  position: relative;
  overflow: hidden;
}

.cta-section {
  background: var(--color-bg-dark);
}

.cta-section-light {
  background: var(--color-bg-light);
}

.cta-section .container,
.cta-section-light .container {
  max-width: 980px;
}

.cta-section .container>h2,
.cta-section-light .container>h2 {
  display: inline-block;
}

.cta-section h2 i,
.cta-section-light h2 i {
  display: none;
}

.cta-section .container>p,
.cta-section-light .container>p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn,
.cta-section-light .btn {
  min-width: 220px;
  padding: 13px 28px;
}

.cta-section .top-contact-actions,
.cta-section-light .top-contact-actions {
  margin-top: 22px;
}

.cta-section h2,
.cta-section-light h2 {
  margin-bottom: 10px;
}

.cta-note {
  color: rgba(200, 220, 255, 0.65);
  font-size: 0.88rem;
}

.top-single-card {
  max-width: 960px;
  margin: 0 auto;
}

.top-single-image {
  height: 280px;
}

.top-footer {
  padding: 48px 0;
  position: relative;
  background: var(--color-base);
  color: rgba(200, 215, 240, 0.85);
  font-size: 0.9rem;
}

.top-footer-rich {
  padding: 52px 0 24px;
}

.top-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.top-footer-col {
  padding-right: 0;
}

.top-footer-logo {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 1.1rem;
}

.top-footer-desc {
  color: rgba(200, 215, 240, 0.7);
  line-height: 1.85;
  margin-bottom: 18px;
  font-size: 0.85rem;
}

.top-footer-company {
  color: rgba(200, 215, 240, 0.7);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.top-footer-company i {
  color: rgba(200, 215, 240, 0.5);
  margin-top: 0.2rem;
  font-size: 0.82rem;
}

.top-footer-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.top-footer-menu {
  display: grid;
  gap: 0;
}

.top-footer-menu a {
  color: rgba(200, 215, 240, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.6;
  font-size: 0.88rem;
  transition: color 0.2s ease;
  padding: 3px 0;
}

.top-footer-menu a:hover {
  color: var(--color-base);
}

.top-footer-menu a i {
  font-size: 0.78rem;
  opacity: 0.5;
}

/* Footer CTA button column */
.top-footer-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.top-footer-cta-lead {
  color: rgba(180, 200, 240, 0.7);
  font-size: 0.88rem;
  margin-bottom: 16px;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--color-accent);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0;
  text-decoration: none;
  transition: none;
}
.footer-cta-btn:hover {
  opacity: 0.85;
  color: #ffffff !important;
}
.footer-cta-btn i {
  font-size: 0.95rem;
}

.top-footer-bottom {
  margin-top: 32px;
  text-align: center;
  position: relative;
  padding-top: 24px;
  border-top: 1px solid rgba(145, 166, 199, 0.12);
}

.top-footer-bottom p {
  color: rgba(180, 200, 240, 0.45);
  font-size: 0.82rem;
}

.top-footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.top-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 768px) {
  .top-nav-list {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
  }

  .top-nav-list li {
    flex: 0 0 auto;
  }

  .top-card-image {
    height: 180px;
  }

  .top-card-image.top-feature-image {
    height: auto;
  }

  .top-single-image {
    height: 180px;
  }

  .top-footer-rich {
    padding: 40px 0 20px;
  }

  .top-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .top-footer-brand {
    margin-bottom: 4px;
  }

  .top-footer-title {
    margin-bottom: 10px;
  }

  .top-models-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .top-model-card {
    padding: 24px;
  }

  .top-model-card-header {
    margin: -24px -24px 20px -24px;
    padding: 20px 24px;
  }

  .top-model-title {
    font-size: 1.35rem;
  }

  .top-solutions-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .top-solution-card {
    padding: 22px 20px;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-subtitle {
    font-size: 0.96rem;
  }

  .top-card-body > * + * {
    margin-top: 10px;
  }

  .cta-row .btn,
  .cta-card-actions .btn,
  .top-contact-actions .btn {
    min-width: 100%;
  }

  .cases-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .top-feed-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .top-feed-image {
    height: 170px;
  }

  .top-feed-body {
    padding: 18px;
  }

  .top-feed-title {
    font-size: 1.05rem;
  }

  .case-image {
    height: 130px;
  }

  .case-content {
    padding: 20px;
  }

  .case-title {
    font-size: 1.08rem;
  }

  .case-results {
    gap: 8px;
  }
}

@media (max-width: 1100px) and (min-width: 769px) {
  .top-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Blog Article
   ========================================================================== */
.blog-list-grid {
  gap: 20px;
}

.blog-meta {
  color: var(--color-text-dim);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* ==========================================================================
   Post Body — comprehensive prose styling for article content
   WordPress editor-compatible: all styles use HTML tags only, no classes needed
   ========================================================================== */
.post-body {
  display: block;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text);
}

/* Reset global .section heading overrides inside post-body */
.post-body h2,
.post-body h3,
.post-body h4 {
  display: block;
  text-align: left;
}

.post-body h2::before,
.post-body h3::before {
  content: none;
}

.post-body h2::after,
.post-body h3::after {
  display: none;
}

/* --- h2: Major section heading with icon --- */
.post-body h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--color-base);
  margin-top: 48px;
  margin-bottom: 16px;
  padding: 12px 0;
  border-left: none;
  line-height: 1.4;
}

.post-body h2:first-child {
  margin-top: 0;
}

/* --- h3: Sub-section heading with accent color --- */
.post-body h3 {
  font-size: clamp(1.12rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--color-accent);
  margin-top: 36px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border);
  line-height: 1.45;
}

/* --- h4: Minor heading --- */
.post-body h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-base);
  margin-top: 28px;
  margin-bottom: 10px;
  line-height: 1.5;
}

/* --- Paragraphs --- */
.post-body p {
  color: var(--color-text);
  line-height: 1.9;
  margin-bottom: 20px;
  font-size: 1rem;
}

/* Lead paragraph: first p gets slightly larger treatment */
.post-body > p:first-child {
  font-size: 1.08rem;
  line-height: 1.95;
}

/* --- Strong / Bold --- */
.post-body strong {
  font-weight: 700;
  color: var(--color-base);
}

/* --- Links --- */
.post-body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 112, 243, 0.3);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.post-body a:hover {
  color: #0e4fa8;
  text-decoration-color: #0e4fa8;
}

/* --- Unordered Lists --- */
.post-body ul {
  list-style: none;
  padding-left: 0;
  margin-top: 8px;
  margin-bottom: 24px;
}

.post-body ul > li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 10px;
  color: var(--color-text);
  line-height: 1.85;
}

.post-body ul > li::before {
  content: '\f14a';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--color-accent);
  position: absolute;
  left: 0;
  top: 0.18em;
  font-size: 0.82em;
}

.post-body ul > li:has(> i)::before {
  content: none;
}

.post-body ul > li:has(> i) {
  padding-left: 0;
}

/* --- Ordered Lists --- */
.post-body ol {
  list-style: none;
  padding-left: 0;
  margin-top: 8px;
  margin-bottom: 24px;
  counter-reset: post-ol;
}

.post-body ol > li {
  position: relative;
  padding-left: 2.2em;
  margin-bottom: 10px;
  color: var(--color-text);
  line-height: 1.85;
  counter-increment: post-ol;
}

.post-body ol > li::before {
  content: counter(post-ol);
  position: absolute;
  left: 0;
  top: 0.15em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-base);
  font-size: 0.78em;
  font-weight: 700;
}

/* Nested lists */
.post-body ul ul,
.post-body ol ol,
.post-body ul ol,
.post-body ol ul {
  margin-top: 8px;
  margin-bottom: 4px;
  padding-left: 0.5em;
}

/* --- Blockquote --- */
.post-body blockquote {
  position: relative;
  margin: 32px 0;
  padding: 20px 24px;
  background: var(--color-bg-light);
  border: none;
  border-radius: var(--radius-card);
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.85;
}

.post-body blockquote p {
  margin-bottom: 8px;
}

.post-body blockquote p:last-child {
  margin-bottom: 0;
}

.post-body blockquote strong {
  color: var(--color-accent);
}

.post-body blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.88rem;
  font-style: normal;
  color: var(--color-text-dim);
}

.post-body blockquote cite::before {
  content: '\2014\00a0';
}

/* --- Table --- */
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  background: var(--color-main);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: none;
  font-size: 0.95rem;
}

.post-body th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  background: var(--color-bg-dark);
  color: var(--color-base);
  border-bottom: 1px solid var(--color-border);
  line-height: 1.65;
}

.post-body td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.65;
}

.post-body tbody tr:hover {
  background-color: rgba(0, 112, 243, 0.03);
}

.post-body tbody tr:last-child td {
  border-bottom: none;
}

/* --- Images --- */
.post-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 28px auto;
  border-radius: 0;
  box-shadow: none;
}

.post-body p:has(> img:only-child) {
  margin-bottom: 0;
}

.post-body figure {
  margin: 32px 0;
  text-align: center;
}

.post-body figure img {
  margin: 0 auto 12px;
}

.post-body figcaption {
  font-size: 0.88rem;
  color: var(--color-text-dim);
  line-height: 1.6;
  margin-top: 8px;
}

/* --- Horizontal Rule --- */
.post-body hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-border), var(--color-accent), var(--color-border), transparent);
  margin: 48px 0;
}

/* --- Inline code --- */
.post-body code {
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 0.88em;
  padding: 2px 6px;
  background: var(--color-bg-light);
  border-radius: 4px;
  color: var(--color-base);
  border: 1px solid var(--color-border);
}

/* --- Code blocks --- */
.post-body pre {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--color-bg-dark);
  color: rgba(200, 220, 255, 0.9);
  border-radius: var(--radius-card);
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.7;
}

.post-body pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
  border-radius: 0;
}

/* --- Mark (highlighted text) --- */
.post-body mark {
  background: rgba(0, 112, 243, 0.08);
  padding: 2px 4px;
  border-radius: 2px;
}

/* --- Post body mobile --- */
@media (max-width: 768px) {
  .post-body h2 {
    font-size: 1.25rem;
    margin-top: 36px;
    padding: 10px 0 10px 14px;
  }

  .post-body h3 {
    font-size: 1.1rem;
    margin-top: 28px;
  }

  .post-body img {
    border-radius: 8px;
    margin: 20px auto;
  }

  .post-body blockquote {
    padding: 16px 18px;
    margin: 24px 0;
  }

  .post-body ol > li {
    padding-left: 2em;
  }

  .post-body ol > li::before {
    width: 1.4em;
    height: 1.4em;
    font-size: 0.72em;
  }

  .post-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.top-card-body>.subsection-title:first-child,
.top-card-body>.subsection-title:first-of-type {
  margin-top: 0;
}

.blog-list-grid .subsection-title.subsection-title-sm {
  font-size: 1.1rem !important;
  margin-top: 2px;
  margin-bottom: 10px;
  padding-bottom: 8px;
}

/* ==========================================================================
   Article Hero — enhanced hero for article pages
   ========================================================================== */
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  margin-bottom: 20px;
}

.article-breadcrumb a {
  color: rgba(200, 220, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-breadcrumb a::before {
  content: none;
}

.article-breadcrumb a:hover {
  color: var(--color-base);
}

.article-breadcrumb-sep {
  color: rgba(200, 220, 255, 0.35);
  font-size: 0.75rem;
}

.article-breadcrumb span:last-child {
  color: rgba(200, 220, 255, 0.85);
}

/* Breadcrumb on hero */
.hero-light .article-breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
}
.hero-light .article-breadcrumb a:hover {
  color: #ffffff;
}
.hero-light .article-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
}
.hero-light .article-breadcrumb span:last-child {
  color: rgba(255, 255, 255, 0.75);
}

.article-category-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-accent-sub);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

.article-hero h1 {
  margin-bottom: 18px;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: rgba(200, 220, 255, 0.7);
}

.article-meta-item i {
  font-size: 0.82em;
  color: var(--color-accent-sub);
}

/* ==========================================================================
   Article Bottom Navigation — Prev/Next card links
   ========================================================================== */
.article-nav-section {
  padding: clamp(48px, 6vw, 72px) 0;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.article-nav-single {
  grid-template-columns: 1fr;
}

.article-nav-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px;
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: none, border-color 0.3s ease;
}

.article-nav-link::after {
  content: none;
}

.article-nav-link:hover {
  border-color: var(--color-text-dim);
  border-color: var(--color-accent);
}

.article-nav-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

.article-nav-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-base);
  line-height: 1.5;
}

.article-nav-link:hover .article-nav-title {
  color: var(--color-accent);
}

.article-nav-next {
  text-align: right;
}

.article-nav-next .article-nav-label {
  justify-content: flex-end;
}

.article-nav-back {
  text-align: center;
  padding-top: 4px;
}

@media (max-width: 768px) {
  .article-meta-row {
    gap: 12px;
  }

  .article-meta-item {
    font-size: 0.82rem;
  }

  .article-breadcrumb {
    font-size: 0.78rem;
  }

  .article-nav {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .article-nav-next {
    text-align: left;
  }

  .article-nav-next .article-nav-label {
    justify-content: flex-start;
  }

  .article-nav-link {
    padding: 16px 18px;
  }
}

/* Extra visual strip for each page */
.page-visual-strip .top-single-image {
  height: 240px;
}

.page-visual-note {
  padding-top: 16px;
  padding-bottom: 18px;
}

.page-visual-note p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  margin-bottom: 0;
}

.page-visual-note i {
  color: var(--color-accent);
}

/* ==========================================================================
   TOP Section Differentiation — case-study / news / tech-blog
   ========================================================================== */

.section-icon {
  margin-right: 0.35em;
  font-size: 0.85em;
}

/* ---------- #news: 横型リスト ---------- */
#news .top-feed-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

#news .top-feed-card {
  flex-direction: row;
}

#news .top-feed-image {
  width: 200px;
  min-width: 200px;
  height: auto;
  min-height: 150px;
  object-fit: cover;
}

#news .top-feed-body {
  justify-content: center;
}

@media (max-width: 768px) {
  #news .top-feed-card {
    flex-direction: column;
  }
  #news .top-feed-image {
    width: 100%;
    min-width: unset;
    height: 170px;
  }
}

/* ==========================================================================
   Icon Feature Grid — centered cards with colored icon circles
   ========================================================================== */
.icon-feature-grid .top-card-body {
  align-items: flex-start;
  text-align: left;
  padding: 14px 16px;
}
.icon-feature-grid .top-card-body.text-center {
  align-items: center;
  text-align: center;
}

.icon-feature-grid .top-card-body ul {
  text-align: left;
  width: 100%;
}

.icon-feature-grid .card-title {
  display: block;
  font-size: 0.95rem;
  color: var(--color-base);
  margin-bottom: 4px;
}


.icon-feature-grid .card-title i {
  display: none;
}

/* ==========================================================================
   Section Differentiation — break card monotony
   ========================================================================== */

/* Overview: 3 key points with counter */
.section--overview .icon-feature-grid {
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  counter-reset: overview;
}
.section--overview .top-card {
  border: none;
  background: none;
}
.section--overview .top-card-body {
  padding: 20px 0 0;
  text-align: left;
}
.section--overview .icon-feature-grid .card-title {
  align-items: flex-start;
  flex-direction: row;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.section--overview .icon-feature-grid .card-title::before {
  counter-increment: overview;
  content: counter(overview) '.';
  color: var(--color-accent);
  font-weight: 700;
  margin-right: 6px;
  flex-shrink: 0;
}

/* Challenges: emphasize pain — dark background, light cards */
.section--challenges {
  background: #1a1a1a !important;
  color: #ffffff;
}
.section--challenges .section-title {
  color: #ffffff;
}
.section--challenges .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}
.section--challenges .top-card {
  background: #262626;
  border: none;
}
.section--challenges .card-title {
  color: #ffffff;
}
.section--challenges .top-card .text-dim {
  color: rgba(255, 255, 255, 0.7);
}
.section--challenges .callout-box {
  background: #ffffff;
  color: var(--color-text);
}
.section--challenges .callout-box h3 {
  color: var(--color-base);
}
.section--challenges .callout-box strong {
  color: var(--color-base);
}
.section--challenges .callout-box li {
  color: var(--color-text);
}
.section--challenges .callout-box li::before {
  color: var(--color-text-dim) !important;
}

/* Solutions: blue-tinted background */
.section--solutions {
  background: #f0f6ff;
}
.section--solutions .top-card {
  background: #ffffff;
}

/* Effects */
.section--effects .top-card {
  border: none;
}

/* Comparison cards: highlight the recommended option */
.top-models-grid .top-model-card-header--blue + .top-model-features li,
.top-models-grid .top-model-card-header--blue ~ .top-model-features li {
  font-weight: 600;
  color: var(--color-base);
}

/* Architecture: compact */
.section--architecture .icon-feature-grid {
  gap: 12px;
}
.section--architecture .top-card {
  background: var(--color-bg-light);
  border: none;
}

/* Strengths */
.section--strengths .top-card {
  border: none;
}

/* Pricing: larger section */
.section--pricing .section-title {
  font-size: clamp(1.75rem, 3vw, 2.2rem);
}

/* Testimonials */
.section--testimonials .top-card {
  border: none;
}
.section--testimonials .top-card-body {
  padding: 8px 20px;
}

/* Steps & After — unified flow sections */
.section--steps .section-title,
.section--after .section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
}

/* ── Timeline stepper ── */
.stepper {
  display: flex;
  gap: 0;
  counter-reset: step;
  position: relative;
}
.stepper-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 12px;
}
/* Connecting line */
.stepper-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(50% + 28px);
  width: calc(100% - 56px);
  height: 2px;
  background: var(--color-accent);
  opacity: 0.3;
}
/* Arrow head on the line */
.stepper-item:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 18px;
  right: calc(12px + 22px);
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--color-accent);
  border-right: 2px solid var(--color-accent);
  transform: rotate(45deg);
  opacity: 0.5;
  z-index: 1;
}
/* Number circle */
.stepper-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
}
.stepper-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-base);
  margin-bottom: 8px;
  line-height: 1.4;
}
.stepper-desc {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  line-height: 1.6;
}

/* Responsive: vertical on mobile */
@media (max-width: 768px) {
  .stepper {
    flex-direction: column;
    gap: 0;
  }
  .stepper-item {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    padding: 0 0 24px 0;
    gap: 16px;
  }
  .stepper-item:not(:last-child)::after {
    top: 44px;
    left: 21px;
    width: 2px;
    height: calc(100% - 44px);
  }
  .stepper-item:not(:last-child)::before {
    top: auto;
    bottom: 28px;
    left: 17px;
    right: auto;
    transform: rotate(135deg);
  }
  .stepper-num {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  /* Hide forced line breaks on mobile — let text flow */
  .stepper-title br {
    display: none;
  }
}

/* Heading hierarchy: 2 tiers */
/* Tier 1 (primary): challenges, solutions, deliverables, pricing, strengths, steps, after — use default h2 size */
/* Tier 2 (secondary): everything else — one step down */
.section--overview .section-title,
.section--effects .section-title,
.section--architecture .section-title,
.section--team .section-title,
.section--security .section-title,
.section--testimonials .section-title,
.section--faq .section-title {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
}

/* FAQ: quiet, compact, accordion */
.section--faq {
  padding: clamp(32px, 4vw, 48px) 0;
}
.section--faq .section-header {
  margin-bottom: 16px;
}
.section--faq .top-card {
  border: none;
  background: none;
  cursor: pointer;
}
.section--faq .top-card + .top-card {
  margin-top: 4px;
}
.section--faq .top-card-body {
  padding: 0;
}
.section--faq .card-title {
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 32px 16px 0;
  margin-bottom: 0;
  position: relative;
  line-height: 1.5;
}
.section--faq .card-title::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-text-dim);
}
.section--faq .top-card.is-open .card-title::after {
  content: '−';
}
.section--faq .top-card-body > .text-dim {
  font-size: 0.9rem;
  line-height: 1.7;
  padding: 0 0 16px 0;
  display: none;
}
.section--faq .top-card.is-open .top-card-body > .text-dim {
  display: block;
}
@media (max-width: 768px) {
  .section--faq .card-title {
    font-size: 0.95rem;
  }
  .section--faq .top-card-body > .text-dim {
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   Additional Patterns
   ========================================================================== */

/* Hide redundant hero-main-image (content now in hero) */
.hero-main-image {
  display: none;
}

/* Light hero variant — dark for security credibility */
.hero-light {
  background: #0f1a2e;
  color: #ffffff;
  position: relative;
}

.hero-light::before,
.hero-light::after {
  content: none;
}

.hero-light-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  line-height: 1.28;
  letter-spacing: 0.012em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.hero-light h1 {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}

.hero-light-sub {
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
}

.hero-light-desc {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  max-width: 680px;
  margin-bottom: 32px;
}

.text-center .hero-light-label {
  justify-content: center;
}

.text-center .hero-light-desc {
  margin-left: auto;
  margin-right: auto;
}

.hero-light-desc strong {
  color: #ffffff;
}

.hero-light .btn-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.hero-light .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

/* Top page hero keeps white background */
.hero-section-home.hero-light {
  background: #ffffff;
  color: var(--color-text);
}

.hero-section-home.hero-light::before,
.hero-section-home.hero-light::after {
  display: none;
}

.hero-section-home.hero-light h1 {
  color: var(--color-base);
}

.hero-section-home.hero-light .btn-secondary {
  background-color: #ffffff;
  color: var(--color-base);
  border: 1px solid var(--color-border);
}

.hero-section-home.hero-light .btn-secondary:hover {
  background-color: var(--color-bg-light);
  border-color: var(--color-base);
}

/* Hero description box (glass on dark bg) */
.hero-desc-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  padding: 28px 32px;
  margin-top: 28px;
}

.hero-desc-box p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.85;
  margin-bottom: 0;
}

.hero-desc-box strong {
  color: #93c5fd;
}

/* Phase transition arrow */
.phase-arrow {
  text-align: center;
  padding: 20px 0;
}

.phase-arrow i {
  font-size: 2rem;
  color: var(--color-accent);
}

.phase-arrow p {
  color: var(--color-text-dim);
  font-weight: 600;
  margin-top: 6px;
  margin-bottom: 0;
}

/* ==========================================================================
   Service Page Variety Patterns
   ========================================================================== */

/* Callout boxes */
.callout-box {
  padding: 24px 28px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  margin-top: 20px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.callout-box p { margin-bottom: 0; }
.callout-box h3 {
  color: var(--color-base);
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.callout-box strong {
  color: var(--color-base);
}
.callout-box a {
  color: var(--color-accent);
  text-decoration: underline;
}
.callout-box.callout-info {
  background: #ffffff;
}
.callout-box.callout-neutral {
  background: #ffffff;
}
.callout-box.callout-success {
  background: #ffffff;
}
.callout-box.callout-warning {
  background: #ffffff;
}
.callout-box.callout-warning h3 {
  color: var(--color-base);
}
.callout-box.callout-warning strong {
  color: var(--color-base);
}

.comparison-table-wrapper {
  overflow-x: auto;
}
.comparison-table .highlight {
  background: rgba(0, 112, 243, 0.08);
  font-weight: 700;
  color: var(--color-accent);
}

/* Lead text — editorial intro before card grids */
.lead-text {
  max-width: var(--width-content);
  margin: 0 auto 36px;
  font-size: 1.08rem;
  line-height: 1.95;
  color: var(--color-text);
}
.lead-text strong {
  color: var(--color-base);
}
.section-header + .lead-text {
  margin-top: -12px;
}

/* Check lists — replace inline icon+color patterns */
.check-list {
  list-style: none !important;
  padding: 0 !important;
}
.check-list li {
  position: relative !important;
  padding-left: 1.4em !important;
  margin-bottom: 4px;
  line-height: 1.65;
}
.check-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1em;
  font-weight: 400;
}
.check-list-success li::before {
  content: '✓';
  color: #16a34a;
}
.check-list-accent li::before {
  content: '–';
  color: var(--color-accent);
}
.check-list-result li::before {
  content: '→';
  color: #c2410c;
}
.check-list-info li::before {
  content: '✓';
  color: var(--color-accent);
}
.check-list-danger li::before {
  content: '–';
  color: #dc2626;
}
.check-list-warning li::before {
  content: '–';
  color: #c2410c;
}
.check-list-success-chevron li::before {
  content: '–';
  color: #16a34a;
}

/* Check-list inside callout-info */
.callout-box.callout-info .check-list li::before {
  color: var(--color-accent) !important;
}

/* Step number — circular step indicator */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-bottom: 12px;
}

/* Comparison table — styled data table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-main);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: none;
}
.comparison-table thead tr {
  background: var(--color-bg-dark);
  color: #fff;
}
.comparison-table th,
.comparison-table td {
  padding: 14px 18px;
  text-align: center;
  font-size: 0.95rem;
}
.comparison-table th {
  font-weight: 600;
  color: #ffffff;
}
.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--color-text);
}
.comparison-table th:first-child {
  text-align: left;
}
.comparison-table tbody tr {
  border-bottom: 1px solid var(--color-border);
}
.comparison-table .col-highlight {
  background: var(--color-accent);
  font-weight: 700;
  color: #ffffff;
}
.comparison-table .col-highlight-header {
  background: var(--color-accent);
}

/* Left-aligned section header variant */
.section-header-left {
  text-align: left;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.section-header-left .section-title::after {
  left: 0;
  transform: none;
}

/* Stat grid — number highlight component */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 840px;
  margin: 0 auto;
}
.stat-callout {
  text-align: center;
  padding: 24px 16px;
}
.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1.2;
  margin-bottom: 8px;
}
.stat-unit {
  font-size: 1rem;
  font-weight: 700;
}
.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-dim);
  margin-top: 4px;
}

/* ==========================================================================
   Company Page
   ========================================================================== */
.company-table-wrap {
  padding: 0 !important;
  overflow: hidden;
}

a.company-table-wrap:hover {
  border-color: var(--color-text-dim);
}

.company-info-table {
  width: 100%;
  border-collapse: collapse;
}

.company-info-table th,
.company-info-table td {
  padding: 18px 20px;
  text-align: left;
  font-size: 0.98rem;
  line-height: 1.75;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.company-info-table th {
  width: 180px;
  font-weight: 700;
  color: var(--color-base);
  white-space: nowrap;
  background: rgba(0, 112, 243, 0.03);
}

.company-info-table td {
  color: var(--color-text);
}

.company-info-table tr:last-child th,
.company-info-table tr:last-child td {
  border-bottom: none;
}

.company-office-card {
  background: var(--color-main);
  border-radius: var(--radius-card);
  box-shadow: none;
  transition: none;
  overflow: hidden;
  padding: 0;
}

.company-office-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  margin-bottom: 24px;
}

.company-office-label,
.company-office-name,
.company-office-detail {
  padding-left: 32px;
  padding-right: 32px;
}

.company-office-detail:last-child {
  padding-bottom: 32px;
}

a.company-office-card:hover {
  border-color: var(--color-text-dim);
}

.company-office-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.company-office-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-base);
  margin-bottom: 16px;
}

.company-office-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-text-dim);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 8px;
}

.company-office-detail i {
  color: var(--color-accent);
  margin-top: 4px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.company-biz-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--color-main);
  border-radius: var(--radius-card);
  box-shadow: none;
  transition: none;
}

a.company-biz-card:hover {
  border-color: var(--color-text-dim);
}

.company-biz-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: #dbeafe;
  color: var(--color-accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.company-biz-title {
  font-weight: 700;
  color: var(--color-base);
  font-size: 1rem;
  margin-bottom: 4px;
}

.company-biz-desc {
  font-size: 0.9rem;
  color: var(--color-text-dim);
  line-height: 1.7;
}

.company-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.case-numbers {
  grid-template-columns: repeat(4, 1fr);
  max-width: 900px;
}

.company-number-item {
  padding: 28px 16px;
}

.company-number-value {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.company-number-value span:not(.count-up) {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-dim);
  margin-left: 2px;
}
.company-number-value .count-up {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.company-number-label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-dim);
  margin-top: 8px;
  font-weight: 600;
}

.company-partner-logo {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  background: var(--color-main);
  border-radius: var(--radius-card);
  box-shadow: none;
  transition: none;
}

a.company-partner-logo {
  text-decoration: none;
  color: inherit;
}

a.company-partner-logo:hover {
  border-color: var(--color-text-dim);
  color: inherit;
}

.company-partner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 0;
  background: var(--color-accent);
  color: var(--color-base);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.company-partner-name {
  font-weight: 700;
  color: var(--color-base);
  font-size: 1.05rem;
}

.company-partner-desc {
  font-size: 0.88rem;
  color: var(--color-text-dim);
  margin-top: 2px;
}

@media (max-width: 768px) {
  .hero-desc-box {
    padding: 20px;
  }
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
  .company-info-table th {
    display: block;
    width: 100%;
    padding-bottom: 4px;
    border-bottom: none;
  }
  .company-info-table td {
    display: block;
    padding-top: 0;
    padding-bottom: 16px;
  }
  .company-numbers {
    grid-template-columns: repeat(2, 1fr);
  }
  .case-numbers {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Case meta tags ── */
.case-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.case-meta .case-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--color-bg-light);
  color: var(--color-text-dim);
}

/* ── Feed image placeholder ── */
.top-feed-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  aspect-ratio: 16 / 9;
  border-radius: 8px 8px 0 0;
}
.top-feed-image-placeholder img {
  width: 80px;
  height: auto;
  opacity: 0.35;
}

/* ── Scroll reveal — disabled for accessibility ── */
.reveal,
.reveal.is-visible,
.reveal-stagger > *,
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Hero entrance — disabled */
.hero-fade-in .hero-content,
.hero-fade-in .hero-light-image {
  opacity: 1;
  transform: none;
  animation: none;
}
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > *,
  .hero-fade-in .hero-content,
  .hero-fade-in .hero-light-image {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

/* ── Clickable card (stretched link) ── */
.card-clickable {
  position: relative;
  cursor: pointer;
}
.card-clickable .top-card-link::after,
.card-clickable .top-solution-link::after,
.card-clickable .top-feed-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ==========================================================================
   Service Page — illustration image styling
   ========================================================================== */

/* Illustration wrapper inside cards — centered, transparent bg */
.illust-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 12px 8px;
  margin-bottom: 16px;
  min-height: 200px;
}
.illust-wrap img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
}
/* Larger variant for wide illustrations */
.illust-wrap--lg img {
  max-height: 260px;
}
/* Screenshot variant */
.illust-wrap--screenshot {
  padding: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.illust-wrap--screenshot img {
  max-height: 240px;
  border-radius: 6px;
}

/* Section-level illustration (challenges / risks) */
.section-illust {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.section-illust img {
  max-width: 720px;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
/* Dark background sections: give illustrations a white container */
.section--challenges .section-illust {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

/* Risks illustrations: subtle shadow */
.section--risks .section-illust {
  background: #fff;
  border-radius: 12px;
  padding: 20px 16px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

/* Overview illustration — centered */
.overview-illust {
  text-align: center;
  margin-top: 8px;
}
.overview-illust img {
  display: block;
  margin: 0 auto;
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Solutions cards: fixed image height so titles align */
.section--solutions .illust-wrap {
  height: 200px;
  min-height: 0;
  background: transparent;
  padding: 12px;
}
.section--solutions .illust-wrap img {
  max-height: 100%;
}
.section--solutions .top-card .top-card-body {
  display: flex;
  flex-direction: column;
}
.section--solutions .top-card .top-card-body.text-center {
  text-align: left;
}
.section--solutions .top-card .top-card-body.text-center .illust-wrap {
  align-self: center;
}
.section--solutions .top-card .top-card-body.text-center .card-title {
  text-align: left;
}

/* Deliverables cards: fixed image height so titles align */
.section--deliverables .illust-wrap {
  height: 180px;
  min-height: 0;
  background: transparent;
}
.section--deliverables .illust-wrap img {
  max-height: 100%;
}
.section--deliverables .top-card .top-card-body {
  display: flex;
  flex-direction: column;
}
.section--deliverables .top-card .top-card-body.text-center .text-dim {
  text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
  .illust-wrap {
    min-height: 120px;
    padding: 16px 12px;
  }
  .illust-wrap img {
    max-height: 150px;
  }
  .section--challenges .section-illust,
  .section--risks .section-illust {
    padding: 16px 12px;
  }
}

/* ── Border Grid (Box.com style) ── */
.border-grid {
  display: grid;
  border-top: 1px solid #e5e7eb;
  border-left: 1px solid #e5e7eb;
}
.border-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.border-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.border-grid-item {
  display: block;
  padding: 32px 28px;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.border-grid-item {
  background: #fff;
}
.border-grid-item:hover {
  background: #fafafa;
}
.border-grid-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 270px;
  margin-bottom: 20px;
}
.border-grid-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.border-grid-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.border-grid-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-base);
  margin-bottom: 8px;
  line-height: 1.4;
}
.border-grid-desc {
  font-size: 0.88rem;
  color: var(--color-text-dim);
  line-height: 1.7;
  margin-bottom: 12px;
}
.border-grid-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-base);
}
.border-grid-item:hover .border-grid-link {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .border-grid--3,
  .border-grid--2 {
    grid-template-columns: 1fr;
  }
}

/* ── Process flow (box → arrow → box) ── */
.process-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 0;
}
.process-flow-item {
  flex: 1;
  min-width: 0;
}
.process-flow-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px 20px;
  height: 100%;
}
.process-flow-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-accent);
  background: none;
  padding: 0;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.process-flow-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-base);
  margin-bottom: 8px;
}
.process-flow-box p {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  line-height: 1.7;
  margin: 0;
}
.process-flow-arrow {
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 48px;
}
.process-flow-arrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  border-top: 2px solid var(--color-accent);
  border-right: 2px solid var(--color-accent);
  transform: rotate(45deg);
  opacity: 0.4;
}
@media (max-width: 768px) {
  .process-flow {
    flex-direction: column;
    gap: 0;
  }
  .process-flow-arrow {
    flex: none;
    padding: 8px 0;
  }
  .process-flow-arrow::after {
    transform: rotate(135deg);
    width: 18px;
    height: 18px;
  }
}

/* ── Feature row (image + text side by side, alternating) ── */
.feature-row {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}
.feature-row:last-child {
  margin-bottom: 0;
}
.feature-row--reverse {
  flex-direction: row-reverse;
}
.feature-row-img {
  flex: 1 1 320px;
  min-width: 0;
}
.feature-row-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.feature-row-body {
  flex: 1 1 400px;
  min-width: 0;
}
.feature-row-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-base);
  margin-bottom: 12px;
}
.feature-row-body .text-dim {
  font-size: 1rem;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .feature-row,
  .feature-row--reverse {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
  }
  .feature-row-img {
    flex: none;
    width: 100%;
  }
  .feature-row-body {
    flex: none;
    width: 100%;
  }
}

/* ── Showcase card (image + text in a white panel) ── */
.showcase-card {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.showcase-card-img {
  flex: 0 0 300px;
  text-align: center;
}
.showcase-card-img img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.showcase-card-body {
  flex: 1 1 0;
  min-width: 0;
}
@media (max-width: 768px) {
  .showcase-card {
    flex-direction: column;
    gap: 24px;
    padding: 24px 20px;
  }
  .showcase-card-img {
    flex: none;
    width: 100%;
  }
  .showcase-card-img img {
    max-width: 260px;
  }
  .showcase-card-body {
    flex: none;
    width: 100%;
  }
}

/* ── External link icon ── */
a[target="_blank"]::after {
  content: "\f08e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.75em;
  margin-left: 4px;
  opacity: 0.6;
}
