/* =========================================================
   医療・介護特化 生成AI活用研修 LP
   Design tokens — modern IT product style
   ========================================================= */
:root {
  /* Color: single vivid accent (indigo) on near-black text + white/soft-gray surfaces.
     Zone colors kept only as small functional accents (safety legend, pain marks). */
  --navy: #4F46E5;        /* primary accent — buttons, links, headings, eyebrow */
  --navy-deep: #14152B;   /* near-black indigo — dark sections, footer */
  --ice: #E4E1FB;         /* pale indigo tint — subtle highlights */
  --mist: #F5F5F9;        /* soft neutral background for alternating sections */
  --paper: #FFFFFF;
  --ink: #12141F;
  --slate: #5B6272;
  --hairline: #E5E6EF;

  --green: #16A34A;
  --green-bg: #EAFBF0;
  --amber: #D97706;
  --amber-bg: #FEF6E7;
  --red: #DC2626;
  --red-bg: #FDEDEE;

  /* kept for backward compatibility across templates — now aliases the sans stack */
  --serif: var(--sans);
  --sans: "Zen Kaku Gothic New", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--sans); font-weight: 800; line-height: 1.4; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Eyebrow / kicker ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--navy);
  background: var(--mist);
  padding: 9px 18px;
  border-radius: 99px;
  margin-bottom: 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
  flex-wrap: nowrap;
}
.logo { flex: none; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.logo-mark {
  width: 37px; height: 37px; border-radius: 11px; flex: none;
  background: linear-gradient(155deg, #4F46E5 0%, #7C3AED 55%, #06B6D4 100%);
  box-shadow: 0 6px 14px -4px rgba(79,70,229,.55), inset 0 1px 0 rgba(255,255,255,.25);
  display: grid; place-items: center;
}
.logo-mark svg { width: 21px; height: 21px; }
.nav-links { display: flex; gap: 18px; font-size: 14.5px; font-weight: 500; flex: none; }
.nav-links a {
  position: relative; color: var(--slate); transition: color .2s; white-space: nowrap;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transform: scaleX(0); transform-origin: center;
  transition: transform .2s ease;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.nav-active { color: var(--navy); font-weight: 700; }
.nav-links a.nav-active::after { transform: scaleX(1); }
.header-ctas { display: flex; align-items: center; gap: 10px; flex: none; }
.header-cta {
  background: var(--navy);
  color: #fff;
  padding: 12px 23px;
  border-radius: 99px;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  flex: none;
  border: 1.5px solid transparent;
}
.header-cta-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
  padding: 10.5px 21px;
}
.header-cta-ghost:hover { background: var(--ice); }
.menu-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: none;
  background: none; border: none; color: var(--ink); cursor: pointer;
}
.menu-toggle svg { width: 24px; height: 24px; }
@media (max-width: 1080px) {
  .menu-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--hairline);
    box-shadow: 0 16px 30px -18px rgba(20,20,45,.25);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px var(--pad); }
  .nav-links a::after { display: none; }
}
@media (max-width: 640px) { .header-cta-ghost { display: none; } }
@media (max-width: 460px) { .logo { font-size: 15px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 76px 0 40px;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 84% -10%, var(--ice), transparent 60%),
    radial-gradient(600px 380px at -6% 92%, var(--mist) 0%, transparent 55%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

.hero h1 {
  font-size: clamp(28px, 3.2vw, 39px);
  color: var(--ink);
}
.hero h1 .hl { color: var(--navy); }
.hero-break-sm { display: none; }
@media (max-width: 440px) { .hero-break-sm { display: block; } }
.hero .sub {
  margin-top: 22px;
  font-size: 17.5px;
  color: var(--slate);
  max-width: 50ch;
}
.hero .sub strong { font-weight: 700; color: var(--ink); }
.hero .sub .sub-accent { color: var(--navy); font-weight: 700; }
.hero .cta-row { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -8px rgba(79,70,229,.5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(79,70,229,.55); }
.btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--hairline); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-block { width: 100%; justify-content: center; }

.hero-trust { margin-top: 26px; font-size: 12.5px; color: var(--slate); }

/* ---- Hero product-card mockup — the new signature visual ---- */
.hero-panel { position: relative; display: flex; justify-content: center; }
.hero-panel::before {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124,58,237,.4) 0%, rgba(79,70,229,.28) 42%, rgba(6,182,212,.18) 68%, transparent 75%);
  filter: blur(36px);
  z-index: 0;
}
.panel-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 22px;
  box-shadow: 0 30px 60px -24px rgba(79,70,229,.35);
  padding: 26px 26px 22px;
  animation: floatCard 5s ease-in-out infinite;
}
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
/* ---- Hero workspace — a single premium browser-style panel on a textured gradient field ---- */
.hero-orb { position: relative; width: 100%; max-width: 520px; height: 400px; margin: 0 auto; }
.ws-grid {
  position: absolute; inset: -40px;
  background-image: radial-gradient(circle, rgba(79,70,229,.35) 1.4px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(circle at 62% 42%, black 0%, transparent 68%);
  mask-image: radial-gradient(circle at 62% 42%, black 0%, transparent 68%);
  z-index: 0;
}
.hero-workspace::before {
  content: "";
  position: absolute; top: 42%; left: 58%; width: 400px; height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124,58,237,.24), rgba(6,182,212,.12) 55%, transparent 72%);
  filter: blur(24px);
  z-index: 0;
}
.ws-main {
  position: absolute; z-index: 3;
  top: 24px; right: 0;
  width: 100%; max-width: 476px;
  animation: floatCard 5.5s ease-in-out infinite;
}
.laptop-frame { width: 100%; }
.laptop-screen {
  position: relative;
  overflow: hidden;
  height: 264px;
  background: linear-gradient(155deg, #201c3f, #2c2358 55%, #241f48);
  border-radius: 14px;
  padding: 12px 10px 8px;
  box-shadow: 0 30px 60px -24px rgba(20,20,45,.5), inset 0 1px 0 rgba(255,255,255,.18), inset 1px 0 0 rgba(255,255,255,.08);
}
.laptop-screen::before {
  content: "";
  position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,.35);
  z-index: 2;
}
.laptop-inner {
  position: relative; height: 100%;
  background: linear-gradient(160deg, #eef0f7, #e2e5f0);
  border-radius: 7px; padding: 14px 16px 12px; overflow: hidden;
}
.laptop-inner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(122deg, rgba(255,255,255,.55) 0%, transparent 16%);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.laptop-base {
  height: 17px;
  margin: 0 -14px;
  background: linear-gradient(180deg, #eef0f5, #a9afc0);
  border-radius: 0 0 9px 9px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 18px -10px rgba(20,20,45,.4), inset 0 1px 0 rgba(255,255,255,.7);
}
.laptop-base::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.4) 22%, transparent 42%, transparent 60%, rgba(255,255,255,.25) 80%, rgba(255,255,255,.7) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.laptop-base::before {
  content: "";
  position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 4px;
  background: #939ab0;
  border-radius: 0 0 6px 6px;
}
.ws-menubar {
  display: flex; align-items: center; gap: 5px;
  margin: -14px -16px 6px; padding: 1px 9px;
  background: #1d1d1f; color: #e5e5e7;
  border-radius: 7px 7px 0 0;
}
.wmb-logo { width: 5px; height: 5px; flex: none; color: #f2f2f2; }
.wmb-item { font-size: 5px; color: #c7c7cc; }
.wmb-spacer { flex: 1; }
.wmb-icon { width: 6px; height: 6px; flex: none; color: #c7c7cc; }
.wmb-battery { display: flex; align-items: center; gap: 2.5px; }
.wmb-batt-pct { font-size: 5px; color: #e5e5e7; }
.wmb-batt-icon {
  position: relative; width: 10px; height: 5px;
  border: 0.7px solid #c7c7cc; border-radius: 1.5px;
  padding: 0.8px; display: block;
}
.wmb-batt-icon::after {
  content: ""; position: absolute; top: 50%; right: -2px; transform: translateY(-50%);
  width: 1.1px; height: 2.4px; background: #c7c7cc; border-radius: 0 1px 1px 0;
}
.wmb-batt-fill { display: block; width: 82%; height: 100%; background: #e5e5e7; border-radius: 0.5px; }
.wmb-time { font-size: 5px; color: #e5e5e7; }
.ws-desktop { position: relative; height: calc(100% - 22px); display: flex; align-items: center; justify-content: center; }
.ws-desktop::before {
  content: "";
  position: absolute; width: 58%; height: 62%; top: 13%; left: 24%;
  background: #fff; border-radius: 9px; opacity: .55;
  transform: rotate(-2deg);
  box-shadow: 0 12px 22px -16px rgba(20,20,45,.25);
}
.ws-window {
  position: relative; z-index: 2;
  width: 64%; max-width: 220px;
  background: #fff; border-radius: 9px;
  box-shadow: 0 18px 30px -16px rgba(20,20,45,.35);
  overflow: hidden;
}
.ws-window-bar { display: flex; align-items: center; gap: 4px; padding: 7px 9px; border-bottom: 1px solid var(--hairline); }
.ws-window-title { margin-left: 4px; font-size: 8px; font-weight: 700; color: var(--slate); }
.ws-window-body { padding: 8px 10px 9px; }
.ws-input {
  margin-top: 6px; display: flex; align-items: center; gap: 5px;
  background: var(--mist); border: 1px solid var(--hairline);
  border-radius: 999px; padding: 2.5px 2.5px 2.5px 9px;
}
.ws-input-ph { flex: 1; font-size: 6.5px; color: var(--slate); }
.ws-input-send {
  flex: none; width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #7C3AED); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.ws-input-send svg { width: 6.5px; height: 6.5px; }
.ws-desktop-icon {
  position: absolute; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  width: 32px;
}
.wdi-ico {
  width: 17px; height: 17px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.6); color: var(--slate);
  box-shadow: 0 4px 8px -4px rgba(20,20,45,.2);
}
.wdi-ico svg { width: 9px; height: 9px; }
.wdi-label { font-size: 5.5px; color: var(--slate); text-align: center; line-height: 1.2; }
.ws-cursor { position: absolute; right: 12%; bottom: 20%; z-index: 6; pointer-events: none; filter: drop-shadow(0 2px 3px rgba(20,20,45,.35)); }
.ws-cursor svg { width: 14px; height: 14px; }
.wb-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.wb-dot:nth-child(1) { background: #FF5F57; }
.wb-dot:nth-child(2) { background: #FEBC2E; }
.wb-dot:nth-child(3) { background: #28C840; }
.orb-chip {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--hairline);
  padding: 10px 16px 10px 14px; border-radius: 99px;
  font-size: 13px; font-weight: 700; color: var(--ink);
  box-shadow: 0 14px 30px -16px rgba(20,20,45,.3);
  animation: chipFloat 4.2s ease-in-out infinite;
}
.orb-chip svg { width: 16px; height: 16px; color: var(--navy); flex: none; }
.chip-1 { top: 1%; left: -2%; animation-delay: 0s; }
.chip-2 { top: 1%; right: 0; animation-delay: .7s; }
.chip-3 { top: 54%; left: -8%; animation-delay: 1.4s; }
.chip-4 { top: 40%; right: -6%; animation-delay: 2.1s; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 900px) {
  .hero-orb { max-width: 380px; height: 420px; }
}
@media (max-width: 460px) {
  .orb-chip { font-size: 11px; padding: 8px 12px 8px 10px; }
  .chip-1 { left: -4%; } .chip-2 { right: -2%; } .chip-3 { left: -6%; } .chip-4 { right: -4%; }
}
.panel-bar { display: flex; gap: 6px; margin-bottom: 18px; }
.panel-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--hairline); }
.panel-bar span:nth-child(1) { background: #FF5F57; }
.panel-bar span:nth-child(2) { background: #FEBC2E; }
.panel-bar span:nth-child(3) { background: #28C840; }
.panel-title { font-weight: 700; font-size: 13px; color: var(--slate); margin-bottom: 18px; }
.panel-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pf-item { padding: 16px; border: 1px solid var(--hairline); border-radius: 14px; background: var(--mist); }
.pf-val { font-size: 19px; font-weight: 800; color: var(--navy); }
.pf-lbl { font-size: 12px; color: var(--slate); margin-top: 4px; }
.panel-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hairline); font-size: 12.5px; color: var(--slate); text-align: center; }
@media (max-width: 900px) { .hero-panel { justify-content: flex-start; } .panel-card { max-width: 420px; } }

/* ---- AI chat mockup — reusable illustrative visual ---- */
.chat-mock { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; transition: opacity .3s ease; }
.chat-msg { font-size: 13.5px; line-height: 1.6; padding: 12px 14px; border-radius: 14px; max-width: 90%; }
.chat-msg.user { align-self: flex-end; background: var(--mist); color: var(--ink); border-bottom-right-radius: 4px; }
.chat-msg.ai {
  align-self: flex-start; color: #fff; border-bottom-left-radius: 4px;
  background: linear-gradient(135deg, var(--navy), #7C3AED);
  position: relative; padding-left: 32px;
}
.chat-spark { position: absolute; left: 12px; top: 12px; font-size: 12px; display: inline-block; animation: sparkPulse 1.8s ease-in-out infinite; }
@keyframes sparkPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .65; transform: scale(1.2); } }
.chat-tag { display: flex; align-items: center; font-size: 11.5px; color: var(--slate); margin-top: 2px; }

/* ---- Compact sizing for the laptop-frame hero demo (landscape screen proportions) ---- */
.laptop-inner .chat-mock { gap: 4px; margin-bottom: 0; }
.laptop-inner .chat-msg { font-size: 7.5px; line-height: 1.3; padding: 4px 6px; border-radius: 8px; max-width: 78%; }
.laptop-inner .chat-msg.ai { padding-left: 15px; }
.laptop-inner .chat-spark { left: 5px; top: 4px; font-size: 6px; }
.laptop-inner .chat-tag { margin-top: 0; font-size: 6.5px; }
.laptop-inner .dot { width: 3.5px; height: 3.5px; margin-right: 3.5px; }

/* ---------- Generic section ---------- */
section { padding: 88px 0; }
.section-glow {
  position: relative;
  background:
    radial-gradient(700px 360px at 88% -8%, var(--ice), transparent 60%),
    radial-gradient(520px 300px at -6% 108%, var(--mist), transparent 55%);
}
.section-tight { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(21px, 2.2vw, 27px); color: var(--ink); }
.section-head p { margin-top: 14px; color: var(--slate); font-size: 14.5px; }
.bg-mist { background: var(--mist); }
.bg-navy { background: var(--navy-deep); color: #fff; }
.bg-navy .section-head h2 { color: #fff; }
.bg-navy .section-head p { color: var(--ice); }


/* ---------- Promo / subsidy banner card ---------- */
.promo-card {
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(155deg, var(--ice) 0%, #fff 55%);
}
.promo-card .section-head { margin-bottom: 28px; }

/* ---------- Pain points ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.pain-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -22px rgba(79,70,229,.3); }
.pain-t { font-weight: 800; font-size: 15px; color: var(--ink); margin-bottom: 8px; }
.pain-sub { font-size: 13.5px; color: var(--slate); line-height: 1.7; }

/* ---------- 3-step process — the new differentiation concept ---------- */
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .step-grid { grid-template-columns: 1fr; } }
.step-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .step-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .step-grid.cols-4 { grid-template-columns: 1fr; } }
.step-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -26px rgba(20,20,45,.3); }
.step-no { font-size: 34px; font-weight: 800; color: var(--navy); opacity: .22; margin-bottom: -4px; }
.case-thumb-wrap { position: relative; margin-bottom: 16px; }
.case-thumb { width: 100%; height: 140px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), #7C3AED); display: flex; align-items: center; justify-content: center; color: #fff; }
.case-thumb svg { width: 48px; height: 48px; }
.case-tag { position: absolute; top: 10px; right: 10px; font-size: 10.5px; font-weight: 700; color: #fff; background: rgba(0,0,0,.32); padding: 4px 10px; border-radius: 99px; backdrop-filter: blur(2px); }
.case-filter { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.case-filter label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--slate); }
.case-filter select { padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--hairline); font-size: 14px; font-family: inherit; color: var(--ink); background: #fff; min-width: 160px; }
.step-t { font-size: 19px; font-weight: 800; color: var(--ink); margin: 6px 0 12px; }
.step-card p { font-size: 14.5px; color: var(--slate); }
.change-chip { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hairline); font-size: 12.5px; }
.cc-before { color: var(--slate); text-decoration: line-through; text-decoration-color: var(--hairline); }
.cc-after { color: var(--green); font-weight: 700; }
.cc-arrow { color: var(--hairline); font-weight: 700; }
.cc-lbl { color: var(--slate); font-size: 11px; }

/* ---------- Facility-type use cases ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .industry-grid { grid-template-columns: 1fr; } }
.industry-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .industry-grid.cols-3 { grid-template-columns: 1fr; } }
.industry-card { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px 22px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.industry-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(79,70,229,.32); border-color: var(--navy); }
.industry-card:hover .ind-icon, .pain-card:hover .ind-icon { background: linear-gradient(135deg, var(--navy), #7C3AED); color: #fff; }
.ind-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--mist); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; transition: background .2s ease, color .2s ease; }
.ind-icon svg { width: 22px; height: 22px; }
.ind-t { font-weight: 800; font-size: 15.5px; color: var(--ink); margin-bottom: 12px; }
.ind-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ind-list li { font-size: 13.5px; color: var(--slate); padding-left: 16px; position: relative; }
.ind-list li::before { content: "・"; position: absolute; left: 0; color: var(--navy); }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; }
.dot-g { background: var(--green); }
.dot-y { background: var(--amber); }
.dot-r { background: var(--red); }

/* ---------- Diagnostic tool ---------- */
.diag-box {
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--hairline);
  box-shadow: 0 30px 60px -30px rgba(20,20,45,.22);
  padding: clamp(24px, 4vw, 48px);
  max-width: 820px;
  margin: 0 auto;
}
.diag-progress { display: flex; gap: 8px; margin-bottom: 30px; }
.diag-progress i { flex: 1; height: 5px; border-radius: 4px; background: var(--mist); border: 1px solid var(--hairline); }
.diag-progress i.done { background: var(--navy); border-color: var(--navy); }
.diag-step { display: none; }
.diag-step.active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px);} to {opacity:1; transform:none;} }
.diag-q { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 20px; }
.diag-options { display: grid; gap: 12px; }
.diag-opt {
  text-align: left;
  border: 1.5px solid var(--hairline);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 15px;
  transition: border-color .15s, background .15s;
}
.diag-opt:hover { border-color: var(--navy); background: var(--mist); }
.diag-num { display: flex; gap: 12px; align-items: center; margin-top: 6px; }
.diag-num input {
  flex: 1;
  border: 1.5px solid var(--hairline);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
}
.diag-result .badge {
  display: inline-block;
  background: var(--mist);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.diag-result h3 { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.diag-result p { color: var(--slate); font-size: 15px; margin-bottom: 26px; }
.diag-back { margin-top: 18px; font-size: 13.5px; color: var(--slate); }
.diag-back button { color: var(--navy); font-weight: 700; text-decoration: underline; }

/* ---------- Contact / consultation form ---------- */
.contact-form { display: grid; gap: 14px; max-width: 520px; margin: 0 auto; }
.cf-row { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.cf-radio { display: flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; }
.cf-radio input[type="radio"] { width: 16px; height: 16px; margin: 0; flex: none; accent-color: var(--navy); }
.cf-grid { display: grid; gap: 12px; }
.contact-form input, .contact-form select, .contact-form textarea {
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--hairline);
  font-size: 14.5px; font-family: inherit; width: 100%; color: var(--ink); background: #fff;
}
.contact-form textarea { resize: vertical; }
.cf-note { font-size: 12px; color: var(--slate); text-align: center; margin-top: 4px; }

/* ---------- Two-course table ---------- */
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 780px) { .course-grid { grid-template-columns: 1fr; } }
.course-card { border: 1.5px solid var(--hairline); border-radius: var(--radius); padding: 30px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(79,70,229,.3); border-color: var(--navy); }
.course-card .ct { font-size: 19px; font-weight: 800; color: var(--ink); }
.course-card .cd { margin-top: 12px; color: var(--slate); font-size: 14.5px; }
.course-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 800; padding: 7px 16px; border-radius: 99px; margin-bottom: 14px; background: var(--mist); color: var(--navy); }
.course-badge svg { width: 16px; height: 16px; }

/* ---- Pricing cards: gradient accent + bold price for "AI feel" without implying hierarchy ---- */
.price-card { position: relative; overflow: hidden; padding-top: 40px; }
.price-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--navy), #7C3AED, #06B6D4);
}
.price-val {
  font-size: 34px; font-weight: 800; margin: 14px 0;
  background: linear-gradient(90deg, var(--navy), #7C3AED);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.course-note { margin-top: 20px; font-size: 13.5px; color: var(--slate); background: var(--mist); padding: 14px 18px; border-radius: 12px; }
.co-label { margin-top: 18px; font-size: 12.5px; font-weight: 700; color: var(--slate); }
.co-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.co-tag { font-size: 12px; font-weight: 600; color: var(--navy); background: var(--mist); padding: 5px 12px; border-radius: 99px; border: 1px solid var(--hairline); }

/* ---------- Deliverables ---------- */
.deliverables-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.preview-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--navy); background: var(--ice); padding: 5px 12px; border-radius: 99px; margin-bottom: 14px; }
@media (max-width: 900px) { .deliverables-wrap { grid-template-columns: 1fr; } }
.deliverables-wrap .deliv-list { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .deliverables-wrap .deliv-list { grid-template-columns: 1fr; } }
.deliv-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .deliv-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .deliv-list { grid-template-columns: 1fr; } }
.deliv-item { border: 1px solid var(--hairline); border-radius: 14px; padding: 22px; font-size: 14.5px; font-weight: 600; color: var(--ink); background: #fff; }
.deliv-interactive { cursor: pointer; padding: 26px 24px; font-size: 15.5px; transition: border-color .15s, background .15s, transform .15s, box-shadow .15s; }
.deliv-interactive:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: 0 14px 28px -18px rgba(79,70,229,.35); }
.deliv-interactive:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.deliv-interactive.active { border-color: var(--navy); background: var(--mist); color: var(--navy); box-shadow: 0 14px 28px -18px rgba(79,70,229,.35); }

/* ---- Document / flow mockups — reused inside .panel-card previews ---- */
.doc-mock { font-size: 13.5px; color: var(--ink); border-left: 3px solid var(--navy); background: linear-gradient(90deg, var(--ice) 0%, transparent 60%); padding: 12px 14px; border-radius: 0 10px 10px 0; }
.doc-head { font-weight: 700; font-size: 13px; color: var(--ink); margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--hairline); }
.doc-mock p { line-height: 1.7; color: var(--slate); }
.preview-done { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--green); background: var(--green-bg); padding: 5px 12px; border-radius: 99px; }
.mini-flow { display: grid; gap: 10px; }
.mini-flow.compact { gap: 6px; margin-top: 4px; }
.mini-flow.compact .mf-step { font-size: 11.5px; padding: 6px 10px; gap: 6px; }
.mini-flow.compact .mf-num { width: 18px; height: 18px; font-size: 10px; }
.mf-step { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink); background: var(--mist); padding: 10px 12px; border-radius: 10px; }
.mf-num { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.deliv-list-3 { grid-template-columns: repeat(3, 1fr); margin-top: 20px; }
@media (max-width: 860px) { .deliv-list-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .deliv-list-3 { grid-template-columns: 1fr; } }

/* ---------- Whitepaper form ---------- */
.wp-box { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--navy-deep); color: #fff; border-radius: 24px; padding: clamp(28px, 4vw, 52px); }
@media (max-width: 820px) { .wp-box { grid-template-columns: 1fr; } }
.wp-box h3 { font-size: 22px; font-weight: 800; }
.wp-box p { color: var(--ice); margin-top: 12px; font-size: 14.5px; }
.wp-form { display: grid; gap: 12px; }
.wp-form input {
  padding: 14px 16px;
  border-radius: 12px;
  border: none;
  font-size: 14.5px;
  font-family: inherit;
}

/* ---------- About ---------- */
.about-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
@media (max-width: 820px) { .about-wrap { grid-template-columns: 1fr; } }
.about-badge {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 28px;
  background: linear-gradient(155deg, var(--ice), var(--mist));
  display: grid;
  place-items: center;
}
.about-badge .mono { font-size: 16px; font-weight: 800; color: var(--navy); text-align: center; padding: 0 20%; line-height: 1.9; }

/* ---------- Pricing ---------- */
.monitor-box {
  margin-top: 26px;
  border: 1.5px dashed var(--amber);
  background: var(--amber-bg);
  border-radius: 16px;
  padding: 22px 26px;
  font-size: 14.5px;
}
.monitor-box strong { color: #8A5D14; }

/* ---------- Flow ---------- */
.flow-list { display: grid; gap: 0; }
.flow-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: flex-start;
}
.flow-item:last-child { border-bottom: none; }
.flow-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #7C3AED);
  color: #fff; flex: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px -12px rgba(79,70,229,.5);
}
.flow-icon svg { width: 22px; height: 22px; }
.flow-item .ft { font-weight: 700; font-size: 15px; margin-top: 4px; }
.flow-item .fd { color: var(--slate); font-size: 13.5px; margin-top: 3px; }
.flow-auto-note { margin-top: 24px; font-size: 13.5px; color: var(--slate); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--hairline); padding: 22px 0; }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--slate); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-a { margin-top: 14px; color: var(--slate); font-size: 14.5px; }

/* ---------- Case studies placeholder ---------- */
.case-placeholder {
  border: 1.5px dashed var(--hairline);
  border-radius: var(--radius);
  padding: 48px 30px;
  text-align: center;
  color: var(--slate);
  font-size: 14.5px;
}

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { color: #fff; }

/* ---------- Footer ---------- */
footer { background: var(--navy-deep); color: var(--ice); padding: 48px 0 30px; font-size: 13px; }
footer .foot-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 22px; }
footer .foot-logo { font-size: 16px; font-weight: 800; color: #fff; }
footer .foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
footer .foot-links a { color: var(--ice); opacity: .8; transition: opacity .2s; }
footer .foot-links a:hover { opacity: 1; text-decoration: underline; }
footer .foot-org { opacity: .85; line-height: 1.8; margin-bottom: 22px; }
footer .foot-note { opacity: .65; line-height: 1.9; max-width: 640px; }

/* ---------- Blog ---------- */
.blog-list { display: grid; gap: 16px; }
.blog-card { border: 1px solid var(--hairline); border-radius: 16px; padding: 20px 26px; display: flex; gap: 18px; align-items: center; background: #fff; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -20px rgba(79,70,229,.35); border-color: var(--navy); }
.blog-card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--mist); color: var(--navy); display: flex; align-items: center; justify-content: center; flex: none; }
.blog-card-icon svg { width: 22px; height: 22px; }
.blog-card-body { flex: 1; }
.blog-arrow { color: var(--navy); font-weight: 700; flex: none; }
.blog-card .cat { font-size: 11.5px; font-weight: 700; color: var(--navy); background: var(--mist); padding: 4px 10px; border-radius: 99px; }
.blog-card h3 { font-size: 16px; font-weight: 800; margin-top: 8px; color: var(--ink); }
.article-body { max-width: 720px; margin: 0 auto; font-size: 16px; }
.article-body h2 { font-size: 21px; font-weight: 800; color: var(--ink); margin: 40px 0 16px; }
.article-body p { margin-bottom: 18px; color: var(--ink); }
.article-meta { color: var(--slate); font-size: 13px; margin-bottom: 30px; }
.article-disclaimer { margin-top: 50px; padding: 18px 22px; background: var(--mist); border-radius: 12px; font-size: 12.5px; color: var(--slate); }
.article-cta { margin: 44px 0; padding: 28px; background: var(--navy-deep); border-radius: 18px; color: #fff; text-align: center; }
.article-cta a { display: inline-block; margin-top: 14px; }
