/* ============================================================
   AGR Robotics Global — base.css
   カラーシステム：Yuncut JP に完全準拠
   ============================================================ */

:root {
  /* Backgrounds — cool industrial light theme */
  --bg:            #F5F6F7;
  --bg2:           #ECEFF2;
  --bg3:           #F1F3F5;
  --bg-primary:    #F5F6F7;
  --bg-secondary:  #ECEFF2;
  --bg-tertiary:   #F1F3F5;
  --bg-card:       #FFFFFF;

  /* Single AGR brand red — CTA / eyebrow / emphasis only */
  --brand:         #A3211B;
  --brand-hover:   #7C1712;
  --brand-soft:    rgba(163, 33, 27, 0.10);
  --brand-ink:     #7C1712;
  --brand-on-dark: #E9A79E;

  /* Accent aliases → brand (legacy --accent* consumers for labels) */
  --accent:        var(--brand);
  --accent2:       var(--brand-hover);
  --accent-hover:  var(--brand-hover);
  --accent-ink:    var(--brand-ink);
  --accent-dim:    var(--brand-soft);
  --accent-blue:   #1A5FA8;
  --link:          #1A5FA8;
  --cta-primary:   var(--brand);
  --cta-primary-hover: var(--brand-hover);

  /* Legacy gold — demoted; do not use as primary accent */
  --support-legacy-gold: #C8A84B;

  /* Text hierarchy */
  --text:          #22313F;
  --text-primary:  #22313F;
  --text-secondary:#5A6A77;
  --text-muted:    #5A6A77;
  --muted:         #5A6A77;
  --soft:          #5A6A77;

  /* Borders & shadows */
  --line:          #D5DBE0;
  --border-subtle: rgba(34, 49, 63, 0.10);
  --border:        rgba(34, 49, 63, 0.18);
  --border-strong: #D5DBE0;
  --shadow:        rgba(34, 49, 63, 0.06);

  /* Nav */
  --nav-bg:        rgba(245, 246, 247, 0.96);
  --nav-h:         72px;

  /* Metal blue-gray dark bands — NO pure / near-black */
  --graphite:      #22313F;
  --steel-dark:    #2B3D4F;
  --steel:         #31495C;
  --dark:          var(--graphite);
  --dark2:         var(--steel-dark);
  --dark-card:     #31495C;
  --dark-text:     #F3F5F7;
  --dark-text-secondary: #C2CBD3;
  --dark-line:     #5A7083;

  /* State */
  --state-success: #15803D;
  --state-warning: #B45309;
  --state-error:   #DC2626;
  --state-info:    #1D4ED8;

  /* Layout */
  --max-width:     1200px;
  --radius:        8px;
  --radius-sm:     6px;
  --radius-md:     8px;
  --radius-lg:     10px;
  --radius-badge:  4px;
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans JP', 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s; }

/* --- Typography -------------------------------------------- */
h1, h2, h3, h4 {
  font-family: 'Noto Sans JP', 'Barlow Condensed', sans-serif;
  font-weight: 800;
  line-height: 1.28;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(32px, 5vw, 60px); margin-bottom: 22px; }
h2 { font-size: clamp(26px, 3.5vw, 44px); margin-bottom: 20px; font-weight: 800; }
h3 { font-size: 20px; margin-bottom: 14px; font-weight: 700; line-height: 1.35; }

/* Eyebrow label */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--accent-ink);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 22px;
  line-height: 1.22;
  letter-spacing: -0.015em;
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.section-title em { font-style: normal; color: var(--accent-ink); }
.section-title.jp-title-lines {
  max-width: 100%;
  word-break: keep-all;
  line-break: strict;
}

/* Japanese large-heading intentional line groups */
.jp-title-lines {
  max-width: min(100%, 32rem);
  word-break: keep-all;
  line-break: strict;
}
.jp-title-lines > span {
  display: block;
  max-width: 100%;
}

/* Prevent one-character / short-suffix orphans on public titles and card headings */
main h1,
main h2,
.pf-page-hero h1,
.pf-hub-hero h1,
.align-hub-hero h1,
.cases-p2-hero h1,
.corp-card h3,
.corp-card h4,
.cases-p2-card h3,
.pf-step h3,
.pf-evidence-card h3,
.confirm-card h3,
.pillar-panel h3,
.proof-copy h3,
.knowledge-card h3,
.align-industry-card h3 {
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.nobr {
  white-space: nowrap;
}
@media (max-width: 480px) {
  .nobr {
    white-space: normal;
  }
}

/* Split-column heroes: contain h1 in left column (no bleed into media) */
.page-hero-inner .page-hero-copy h1.jp-title-lines,
.case-page-hero-inner .page-hero-copy h1.jp-title-lines,
.val-page-hero-inner .page-hero-copy h1.jp-title-lines,
.about-hero-inner .page-hero-copy h1.jp-title-lines,
.cases-hero-top .page-hero-copy h1.jp-title-lines {
  max-width: 100%;
  font-size: clamp(1.65rem, 3.1vw, 2.6rem);
  line-height: 1.18;
  margin-bottom: 22px;
}
.page-hero-inner .page-hero-copy > h1,
.case-page-hero-inner .page-hero-copy > h1,
.val-page-hero-inner .page-hero-copy > h1 {
  max-width: 100%;
  font-size: clamp(1.65rem, 3.1vw, 2.6rem);
  line-height: 1.18;
}
.page-hero-inner .page-hero-copy > h1 em,
.case-page-hero-inner .page-hero-copy > h1 em,
.val-page-hero-inner .page-hero-copy > h1 em {
  font-style: normal;
}
.about-hero-title,
.about-hero--company h1.about-hero-title {
  max-width: 100%;
}

.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

.body-p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 20px;
}

/* --- Buttons ----------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  transition: background .15s, box-shadow .15s;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--brand-hover);
  color: #fff;
  box-shadow: 0 1px 2px var(--shadow);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border: 1px solid var(--line-dark, #5A7083);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  transition: background .15s, border-color .15s, color .15s;
  text-decoration: none;
  background: transparent;
}
.btn-outline:hover {
  background: var(--bg-secondary);
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  transition: background .22s;
  text-decoration: none;
}
.btn-outline-dark:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn-text {
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .15s, color .15s;
}
.btn-text:hover { gap: 10px; color: var(--accent-hover); }

/* --- Sections --------------------------------------------- */
.section { padding: 88px 0; position: relative; }
.section-alt {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.dark-band {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head p { max-width: 440px; color: var(--text-secondary); font-size: 16px; line-height: 1.8; }

/* --- Cards — Yuncut JP スタイル -------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: .25s ease;
  box-shadow: 0 2px 12px var(--shadow);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(200,168,75,0.12);
  border-color: rgba(200,168,75,0.3);
}
.card-num {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.card-title { font-size: 18px; color: var(--text-primary); margin-bottom: 10px; font-weight: 700; line-height: 1.35; }
.card-desc { color: var(--text-secondary); font-size: 14px; line-height: 1.78; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link-arrow { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--accent-ink); font-weight: 600; }

/* Card grid */
.card-grid { display: grid; gap: 20px; }
.card-grid-3 { grid-template-columns: repeat(3,1fr); }
.balanced-four-card-grid,
.engineering-approach-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* --- Check list ------------------------------------------- */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { font-size: 14px; color: var(--text-secondary); padding-left: 22px; position: relative; line-height: 1.72; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-ink); font-weight: 700; }
.fail-list li::before { content: '✗'; color: #E05252; }

/* --- Scope table ------------------------------------------ */
.scope-table { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: #fff; box-shadow: 0 2px 12px var(--shadow); }
.scope-row { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--line); }
.scope-row:last-child { border-bottom: none; }
.scope-cat { padding: 18px 22px; background: #F4F7FB; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); border-right: 1px solid var(--line); display: flex; align-items: flex-start; font-weight: 600; line-height: 1.6; }
.scope-items { padding: 18px 22px; font-size: 14px; color: var(--text-secondary); line-height: 1.78; }
.scope-items strong { color: var(--text-primary); font-weight: 600; }

/* --- Breadcrumb ------------------------------------------- */
.breadcrumb { background: var(--bg2); border-bottom: 1px solid var(--line); padding: 12px 0; }
.bc-inner { width: min(var(--max-width), calc(100% - 40px)); margin: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }
.bc-inner a { color: var(--text-secondary); font-weight: 500; }
.bc-inner a:hover { color: var(--accent-ink); }
.bc-inner .sep { color: var(--text-muted); opacity: 0.65; }

/* --- Reveal animations ------------------------------------ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* --- Hero actions ----------------------------------------- */
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* --- Page hero（サブページ）— Yuncut JP スタイル --------- */
.page-hero {
  padding: 130px 0 72px;
  background: linear-gradient(135deg, #F0F5FC 0%, #E8EFF8 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero .section-label { color: var(--accent-ink); }
.page-hero .section-label::before { background: var(--accent-ink); }
.page-hero h1 { color: var(--text-primary); }
.page-hero .section-sub { color: var(--text-secondary); }

/* --- CTA section ------------------------------------------ */
.cta-section {
  background: linear-gradient(135deg, #EBF2FC, #F5F7FB);
  border-top: 1px solid var(--line);
  padding: 88px 0;
}
.cta-inner { width: min(var(--max-width), calc(100% - 40px)); margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.cta-left h2 { color: var(--text-primary); }
.cta-left h2 em { color: var(--accent-ink); font-style: normal; }
.cta-left p { color: var(--text-secondary); font-size: 15px; line-height: 1.82; margin-bottom: 28px; }
.cta-right { color: var(--text-secondary); font-size: 14px; padding-top: 12px; line-height: 1.78; }

/* --- Dark CTA（フッター手前の暗いCTA）------------------- */
.cta-section-dark {
  background: var(--dark);
  padding: 88px 0;
}
.cta-section-dark h2 { color: #fff; }
.cta-section-dark h2 em { color: var(--accent); font-style: normal; }
.cta-section-dark p { color: var(--dark-text-secondary, #C2CBD3); }
.cta-section-dark .check-list li { color: var(--dark-text-secondary, #C2CBD3); }

/* --- Image placeholder ------------------------------------ */
.hero-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #E8EFF8, #D4E3F5);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image img,
.hero-image .agr-hero-video,
.hero-image .agr-hero-video-static {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.img-placeholder-label { font-size: 12px; color: var(--muted); text-align: center; padding: 20px; line-height: 1.6; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.6); }

/* --- YT embed --------------------------------------------- */
.yt-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius-md); background: var(--bg3); border: 1px solid var(--line); }
.yt-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* --- Responsive ------------------------------------------- */
@media (max-width: 900px) {
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .balanced-four-card-grid,
  .engineering-approach-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .scope-row { grid-template-columns: 1fr; }
  .scope-cat { border-right: none; border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .card-grid-3 { grid-template-columns: 1fr; }
}


/* --- Public strategic modules: offline teaching & Osaka ---- */
.offline-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}
.offline-feature-copy {
  background: linear-gradient(135deg, #1A1F2E, #242938);
  color: #fff;
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: 0 12px 34px rgba(26,31,46,.18);
}
.offline-feature-copy .section-label { color: var(--accent); }
.offline-feature-copy h2 { color: #fff; font-size: clamp(30px,3.6vw,46px); }
.offline-feature-copy h2 em { color: var(--accent); font-style: normal; }
.offline-feature-copy p { color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.9; margin-bottom: 18px; }
.offline-feature-flow { display: grid; gap: 12px; }
.offline-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: 0 2px 12px var(--shadow);
}
.offline-step.is-active { border-color: rgba(200,168,75,.65); box-shadow: 0 0 0 3px rgba(200,168,75,.14); }
.offline-step span { display: inline-block; font-family: 'JetBrains Mono', monospace; color: var(--accent); font-size: 11px; letter-spacing: .12em; margin-bottom: 6px; }
.offline-step strong { display: block; color: var(--text-primary); font-size: 17px; margin-bottom: 6px; font-weight: 700; }
.offline-step p { color: var(--text-secondary); font-size: 14px; line-height: 1.75; }

.osaka-entry {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, rgba(26,95,168,.96), rgba(26,31,46,.99));
  color: #fff;
  border-radius: var(--radius);
  padding: 46px;
  display: grid;
  grid-template-columns: 1fr 245px;
  gap: 32px;
  align-items: center;
  box-shadow: 0 16px 42px rgba(26,31,46,.20);
}
.osaka-entry::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 64px),
    linear-gradient(0deg, rgba(200,168,75,.12) 0 1px, transparent 1px 52px);
  opacity: .55;
  pointer-events: none;
}
.osaka-entry-copy, .osaka-date-card { position: relative; z-index: 1; }
.osaka-entry .section-label { color: #fff; }
.osaka-entry .section-label::before { background: var(--accent); }
.osaka-entry h2 { color: #fff; font-size: clamp(28px,3.4vw,42px); max-width: 780px; }
.osaka-entry p { color: rgba(255,255,255,.82); max-width: 760px; font-size: 15px; line-height: 1.85; margin-top: 14px; }
.osaka-date-card {
  background: linear-gradient(135deg, #D7B85B, #A8882E);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 12px 34px rgba(0,0,0,.20);
}
.osaka-date-card strong { display:block; color:#fff; font-family:'JetBrains Mono', monospace; font-size: 29px; line-height: 1.1; margin-bottom: 10px; }
.osaka-date-card span { display:block; color:#fff; font-weight:700; font-size: 15px; }
.osaka-date-card small { display:block; color: rgba(255,255,255,.82); font-size: 12px; margin-top: 6px; }
.ozu-trust-strip {
  background: linear-gradient(135deg, #22313F 0%, #2B3D4F 48%, #31495C 100%);
  border: 1px solid rgba(200,168,75,.22);
  border-radius: var(--radius-md);
  padding: clamp(32px, 4vw, 52px);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.ozu-trust-copy .section-label { color: var(--accent); }
.ozu-trust-copy h2 { color: #fff; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 18px; }
.ozu-trust-copy p { color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.9; margin-bottom: 16px; max-width: 920px; }
.ozu-trust-copy .ozu-support-note { color: rgba(255,255,255,.88); border-left: 3px solid var(--accent); padding-left: 16px; }
.ozu-trust-copy .hero-actions { margin-top: 8px; }
.theme-grid { display:grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.theme-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius-md); padding:20px; box-shadow:0 2px 12px var(--shadow); }
.theme-card strong { display:block; color:var(--text-primary); margin-bottom:6px; font-size: 15px; font-weight: 700; }
.theme-card p { color:var(--text-secondary); font-size:13px; line-height:1.72; }
.prep-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:10px; }
.prep-grid span { background:#fff; border:1px solid var(--line); border-radius:999px; padding:10px 14px; font-size:13px; color:var(--text-secondary); text-align:center; }
.notice-box { background:#fff; border:1px solid rgba(200,168,75,.35); border-left:4px solid var(--accent); border-radius: var(--radius-md); padding:22px 24px; color:var(--text-secondary); font-size:14px; line-height:1.82; }
.notice-box strong { color:var(--text-primary); font-weight: 700; }

/* --- Campaign LP: offline teaching Osaka ------------------- */
.lp-campaign-hero {
  background: linear-gradient(135deg, #22313F 0%, #2B3D4F 45%, #31495C 100%);
  color: #fff;
  padding: clamp(120px, 14vw, 160px) 0 clamp(56px, 6vw, 72px);
}
.lp-campaign-hero .section-label { color: var(--accent); margin-bottom: 16px; }
.lp-campaign-hero h1 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.15; max-width: 920px; margin-bottom: 20px; }
.lp-campaign-hero h1 em { color: var(--accent); font-style: normal; }
.lp-campaign-hero .lp-lead { color: rgba(255,255,255,0.82); font-size: 16px; line-height: 1.9; max-width: 820px; margin-bottom: 28px; }
.lp-event-strip { background: rgba(200,168,75,0.12); border-bottom: 1px solid rgba(200,168,75,0.25); padding: 14px 0; }
.lp-event-strip-inner { display: flex; flex-wrap: wrap; gap: 16px 28px; font-size: 14px; color: var(--text); }
.lp-event-strip-inner strong { color: var(--text); }
.lp-dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lp-support-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 32px; box-shadow: 0 2px 12px var(--shadow); }
.lp-support-panel h2 { font-size: 22px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.lp-faq-teaser { display: grid; gap: 16px; max-width: 860px; }
.lp-faq-item { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; }
.lp-faq-item strong { display: block; color: var(--text-primary); margin-bottom: 8px; font-size: 15px; font-weight: 700; }
.lp-faq-item p { color: var(--text-secondary); font-size: 14px; line-height: 1.78; margin: 0; }

/* --- Media proof blocks ------------------------------------ */
.media-figure { margin: 0; }
.media-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  background: var(--bg2);
}
.media-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.72;
  color: var(--text-secondary);
}
.media-content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.media-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.media-proof-grid .media-figure img { aspect-ratio: 4/3; object-fit: cover; }
.proof-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.proof-metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  text-align: center;
}
.proof-metric strong {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 6px;
}
.proof-metric span { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.lp-hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.lp-hero-media img { aspect-ratio: 16/11; object-fit: cover; }
.consult-mini-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.consult-mini-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
}
.consult-mini-step span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.consult-mini-step strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin: 8px 0 6px;
}
.consult-mini-step p { font-size: 12px; color: var(--text-secondary); line-height: 1.65; margin: 0; }
.ozu-flow-visual {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.ozu-flow-step {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
}
.ozu-flow-step strong { display: block; font-size: 14px; margin-bottom: 6px; color: var(--text-primary); font-weight: 700; }
.ozu-flow-step p { font-size: 12px; color: var(--text-secondary); line-height: 1.65; margin: 0; }

@media (max-width: 980px) {
  .offline-feature, .osaka-entry { grid-template-columns: 1fr; }
  .theme-grid { grid-template-columns: 1fr 1fr; }
  .prep-grid { grid-template-columns: 1fr 1fr; }
  .osaka-date-card { text-align:left; }
  .lp-dual-grid { grid-template-columns: 1fr; }
  .media-content-split, .lp-hero-split { grid-template-columns: 1fr; }
  .media-proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-metrics-grid { grid-template-columns: 1fr 1fr; }
  .consult-mini-flow { grid-template-columns: 1fr 1fr; }
  .ozu-flow-visual { grid-template-columns: 1fr 1fr; }
}

/* --- Supplier brand area: integrator logo cards + text badges --- */
.supplier-brand-area {
  --logo-wall-card-height: 76px;
  --logo-wall-viewport-width: 170px;
  --logo-wall-viewport-height: 56px;
  --logo-wall-padding: 10px 14px;
  --logo-wall-gap: 18px;
  margin-top: 32px;
  padding: 28px 28px 24px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  max-width: none;
}
.supplier-brand-area--compact {
  --logo-wall-card-height: 72px;
  --logo-wall-viewport-width: 160px;
  --logo-wall-viewport-height: 52px;
  --logo-wall-padding: 8px 12px;
  --logo-wall-gap: 16px;
  margin-top: 24px;
  padding: 22px 22px 18px;
  max-width: none;
}
.supplier-brand-area__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0 0 14px;
  line-height: 1.2;
  text-align: center;
}
.supplier-brand-area__compact-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 16px;
  font-weight: 600;
}
.supplier-brand-area__intro {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 auto 12px;
  max-width: 62ch;
  text-align: center;
}
.supplier-brand-group { margin-top: 20px; }
.supplier-brand-group:first-of-type { margin-top: 0; }
.supplier-brand-area--compact .supplier-brand-group { margin-top: 14px; }
.supplier-brand-group__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px;
  line-height: 1.5;
}
/* Certification block: integrator label + logo cards + explanation as one module */
.supplier-brand-group--integrator {
  padding: 20px 20px 18px;
  background: var(--bg-card, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: center;
}
.supplier-brand-group--integrator .supplier-brand-group__label {
  margin-bottom: 14px;
  max-width: none;
  text-align: center;
}
.supplier-integrator-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
  max-width: 760px;
}
.supplier-integrator-cap {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}
.supplier-logo-row,
.manufacturer-logo-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--logo-wall-gap, 18px);
  max-width: 560px;
  margin: 0;
  min-width: 0;
}
.supplier-logo-card,
.manufacturer-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  height: var(--logo-wall-card-height);
  min-height: var(--logo-wall-card-height);
  max-height: var(--logo-wall-card-height);
  width: 100%;
  max-width: 280px;
  padding: var(--logo-wall-padding);
  background: var(--bg-card, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: none;
}
.supplier-logo-card__viewport,
.supplier-logo-card__logo-box,
.manufacturer-logo-viewport {
  width: min(var(--logo-wall-viewport-width), 100%);
  max-width: 100%;
  height: var(--logo-wall-viewport-height);
  aspect-ratio: var(--logo-wall-viewport-width) / var(--logo-wall-viewport-height);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 1;
  overflow: hidden;
}
.supplier-logo-card__img,
.manufacturer-logo-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
/*
 * FANUC: wide SVG already includes yellow plate + FANUC + Robotics.
 * Keep shared white card chrome (same height/radius/border as siblings).
 * No CSS yellow fill — avoids double yellow / stroke clash.
 */
.manufacturer-logo-card--fanuc,
.supplier-logo-card--fanuc {
  background: var(--bg-card, #fff);
  border-color: var(--line);
  /* Tighter pad so the 3:1 plate can grow ~30% while keeping edge whitespace. */
  padding: 6px 10px;
}
.manufacturer-logo-card--fanuc .manufacturer-logo-viewport,
.supplier-logo-card--fanuc .manufacturer-logo-viewport,
.supplier-logo-card--fanuc .supplier-logo-card__viewport,
.supplier-logo-card--fanuc .supplier-logo-card__logo-box {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: calc(var(--logo-wall-card-height) * 0.84);
  aspect-ratio: 3 / 1;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  margin-inline: auto;
}
.manufacturer-logo-card--fanuc .manufacturer-logo-img,
.supplier-logo-card--fanuc .supplier-logo-card__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}
.manufacturer-logo-card--panasonic .manufacturer-logo-viewport,
.supplier-logo-card--panasonic .manufacturer-logo-viewport,
.supplier-logo-card--panasonic .supplier-logo-card__viewport,
.supplier-logo-card--panasonic .supplier-logo-card__logo-box {
  box-sizing: border-box;
  padding: 2px 4px;
}
.supplier-logo-placeholder {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.2;
  text-align: center;
}
.supplier-brand-area--compact .supplier-logo-placeholder {
  font-size: 16px;
}
.supplier-integrator-copy {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 16px auto 0;
  max-width: 60ch;
}
.supplier-logo-note {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 10px auto 0;
  max-width: 60ch;
}
/* Equipment consideration groups: two columns on desktop/wide tablet */
.supplier-brand-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
}
.supplier-brand-groups .supplier-brand-group {
  margin-top: 0;
  padding: 18px 20px 16px;
  background: var(--bg-card, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.supplier-brand-groups .supplier-brand-group__label {
  text-align: center;
  min-height: 2.6em;
  display: flex;
  align-items: center;
}
.supplier-brand-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.supplier-brand-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  height: 34px;
  padding: 0 14px;
  line-height: 1;
  white-space: nowrap;
}
.supplier-brand-area__note {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 22px auto 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  max-width: 640px;
  text-align: center;
}

@media (max-width: 900px) {
  .supplier-brand-groups {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .supplier-brand-area {
    --logo-wall-viewport-width: 150px;
    --logo-wall-viewport-height: 52px;
    --logo-wall-card-height: 76px;
    --logo-wall-padding: 10px 14px;
    max-width: none;
  }
}
@media (max-width: 600px) {
  .supplier-integrator-row {
    flex-direction: column;
    gap: 12px;
  }
  .supplier-integrator-cap {
    font-size: 11px;
  }
  .supplier-logo-row,
  .manufacturer-logo-row {
    grid-template-columns: 1fr;
  }
  .supplier-logo-card,
  .manufacturer-logo-card {
    max-width: none;
    margin-inline: auto;
  }
  .supplier-brand-area {
    --logo-wall-viewport-width: 220px;
    --logo-wall-viewport-height: 62px;
    --logo-wall-card-height: 84px;
    --logo-wall-padding: 10px 16px;
  }
  .supplier-brand-groups {
    grid-template-columns: 1fr;
  }
  .offline-feature-copy, .osaka-entry { padding: 30px 22px; }
  .theme-grid, .prep-grid { grid-template-columns: 1fr; }
}
