/* ── Services Legacy Migration Page ── */

/* ═══ HERO (compact, blue band) ═══ */
.ai-hero {
  position: relative;
  color: #fff;
  padding: 170px 40px 90px;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(13,30,78,.95) 0%, rgba(30,64,175,.85) 50%, rgba(30,64,175,.5) 100%),
    url("../../../../assets/hero-bg.jpg") center/cover no-repeat,
    linear-gradient(135deg, #0B1A3A 0%, #1E40AF 100%);
}
.ai-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, black 0%, black 45%, transparent 80%);
  -webkit-mask-image: linear-gradient(90deg, black 0%, black 45%, transparent 80%);
  pointer-events: none;
}
.ai-hero-inner { position: relative; max-width: 1280px; margin: 0 auto; z-index: 2; }

.ai-hero.compact { padding: 130px 40px 72px; }
.ai-hero.compact h1 { font-size: clamp(34px, 4vw, 52px); margin: 0 0 14px; font-family: 'Noto Sans JP', sans-serif; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.ai-hero.compact p { font-size: 15px; max-width: 700px; line-height: 1.85; font-family: 'Noto Sans JP', sans-serif; color: rgba(255,255,255,.85); margin: 0; }
.ai-hero.compact .ai-hero-inner { padding-bottom: 12px; }
.ai-hero.compact .hero-ctas { margin-top: 32px; }

.c-breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px; font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255,255,255,.72);
  margin-bottom: 28px;
}
.c-breadcrumb a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s ease;
}
.c-breadcrumb a:hover { color: #fff; }
.c-breadcrumb .sep { opacity: .5; display: inline-flex; }
.c-breadcrumb .current { color: #fff; font-weight: 600; }

.hero-btn--primary-tight {
  background: #fff; color: #1E40AF;
  font-family: 'Noto Sans JP', sans-serif; font-weight: 700;
  font-size: 14px; padding: 11px 26px; border-radius: 6px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-btn--primary-tight:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.26); }

/* ═══ SECTIONS ═══ */
.sect { padding: 90px 40px; }
.sect.tint { background: #F8FAFC; }
.sect-inner-wide { max-width: 1180px; margin: 0 auto; }

.sect-head {
  text-align: center;
  margin-bottom: 48px;
  display: flex; flex-direction: column; align-items: center;
}
.sect-eye {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .24em;
  color: #3B82F6;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sect-title {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 700;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.25; letter-spacing: -.005em;
  color: #0B1220; margin: 0 0 14px;
}
.sect-lead {
  font-family: 'Noto Sans JP', sans-serif; font-size: 14px; line-height: 1.85;
  color: #3F5069; max-width: 720px;
  margin: 18px auto 0; text-align: center;
}

/* ═══ CORE SERVICES ═══ */
.core-services-header {
  text-align: center;
  margin-bottom: 48px;
  display: flex; flex-direction: column; align-items: center;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.services-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-card {
  flex: 1;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: #ffffff;
  color: #0F172A;
  transition: all .3s ease;
}
.service-card:hover {
  background: #1E40AF;
  color: #ffffff;
  border-color: #1E40AF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transform: translateY(-4px);
}
.service-number {
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  opacity: 0.6;
}
.service-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-content h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  color: inherit;
}
.service-content p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #3F5069;
}
.service-card:hover .service-content p {
  color: #ffffff;
}

/* service bullet list */
.service-list {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid #E2E8F0;
}
.service-card:hover .service-list {
  border-top-color: rgba(255, 255, 255, 0.24);
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: #3F5069;
}
.service-card:hover .service-list li {
  color: rgba(255, 255, 255, 0.92);
}
.service-check {
  flex-shrink: 0;
  margin-top: 2px;
  color: #1E40AF;
}
.service-card:hover .service-check {
  color: #93C5FD;
}
.services-image-card {
  position: relative;
  min-height: 100%;
  padding: 12px 16px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 8px;
  transition: all .4s ease;
}
.services-image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
.services-image-card:hover .services-image {
  transform: scale(1.05);
}
.services-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform .4s ease;
}
.image-card-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 8px;
  background: rgba(30, 64, 175, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #ffffff;
}
.image-card-content h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: #ffffff;
}
.image-card-content p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  color: #ffffff;
}
.service-button {
  width: fit-content;
  padding: 14px 20px 14px 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: #1E40AF;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}
.service-button svg {
  width: 20px;
  height: 20px;
  display: block;
}

.sect.dark {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
  color: #fff;
}
.sect.dark .sect-eye { color: #93C5FD; }
.sect.dark .sect-title { color: #fff; }
.sect.dark .sect-lead { color: rgba(255,255,255,.78); }

/* ═══ STATS ROW (dark sect) ═══ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 28px 0;
  margin-bottom: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.stat-item {
  text-align: center;
  position: relative;
}
.stat-value {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 3.4vw, 44px);
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.stat-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  color: rgba(255,255,255,.72);
}
.stat-divider {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 42px;
  background: rgba(255,255,255,.12);
}

/* ═══ REASON GRID (dark sect) ═══ */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.reason-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  padding: 28px 28px 26px;
  transition: all .25s ease;
}
.reason-card:hover {
  background: rgba(59,130,246,.10);
  border-color: rgba(147,197,253,.35);
}
.reason-num {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #93C5FD;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.reason-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -.005em;
}
.reason-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255,255,255,.74);
  margin: 0;
}

/* ═══ DS CANONICAL FLAT CARD ═══ */
.ds-grid {
  display: grid;
  gap: 16px;
  padding: 0;
}
.ds-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 26px 26px 28px;
  transition: background-color .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
  position: relative;
}
.ds-card::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px; background: #1E40AF;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.ds-card:hover {
  background: #EFF6FF;
  box-shadow: inset 0 0 0 1px #BFDBFE;
}
.ds-card:hover::after { transform: scaleX(1); }
.ds-card:hover .ds-title { color: #1E40AF; }
.ds-title {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 700;
  font-size: 16px; line-height: 1.45;
  color: #0B1220;
  margin: 0 0 10px; letter-spacing: -.005em;
}
.ds-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  line-height: 1.85;
  color: #3F5069; margin: 0;
}

/* ═══ CORE SERVICES (6 cards, 3-up) ═══ */
.lm-grid { grid-template-columns: repeat(3, 1fr); }
.lm-card { padding: 30px 28px 32px; }

.cs-ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.cs-ico svg { width: 22px; height: 22px; }

/* ═══ RISK / EFFECTS (4-up, centered circle icon) ═══ */
.risk-grid { grid-template-columns: repeat(4, 1fr); }
.eff-grid { grid-template-columns: repeat(4, 1fr); }
.risk-card, .eff-card { text-align: center; padding: 36px 22px 32px; }
.risk-card .ds-title { font-size: 14px; }
.risk-card .ds-desc { font-size: 12px; }

.me-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 18px rgba(30,64,175,.22);
}
.me-circle svg { width: 24px; height: 24px; }

/* ═══ MIGRATION PROCESS (5-step horizontal timeline) ═══ */
.lm-process {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr 60px 1fr 60px 1fr;
  align-items: stretch;
  gap: 0;
  padding: 8px 0 0;
}
.lm-step {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 28px 18px 24px;
  text-align: center;
  position: relative;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.lm-step:hover {
  border-color: #BFDBFE;
  box-shadow: 0 14px 32px rgba(30,64,175,.10);
  transform: translateY(-3px);
}
.lm-step-num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
  color: #fff;
  font-family: 'Inter', sans-serif; font-weight: 800;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(30,64,175,.32);
  border: 3px solid #fff;
}
.lm-step-ico {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: #EFF6FF;
  color: #1E40AF;
  display: flex; align-items: center; justify-content: center;
  margin: 14px auto 14px;
}
.lm-step-ico svg { width: 26px; height: 26px; }
.lm-step h3 {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 700;
  font-size: 15px; line-height: 1.3;
  color: #0B1220;
  margin: 0 0 8px; letter-spacing: -.005em;
}
.lm-step p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px; line-height: 1.7;
  color: #3F5069;
  margin: 0;
}
.lm-step-line {
  align-self: center;
  height: 2px;
  background: linear-gradient(90deg, #BFDBFE 0%, #3B82F6 100%);
  position: relative;
}
.lm-step-line::after {
  content: "";
  position: absolute;
  right: -1px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 8px solid #3B82F6;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* ═══ CASE STUDIES (3-up) ═══ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}
.case-card {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
  transition: background-color .25s ease, box-shadow .25s ease;
  position: relative;
}
.case-card::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px; background: #1E40AF;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  z-index: 2;
}
.case-card:hover {
  background: #EFF6FF;
  box-shadow: inset 0 0 0 1px #BFDBFE;
}
.case-card:hover::after { transform: scaleX(1); }
.case-card:hover .case-title { color: #1E40AF; }
.case-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.case-card:hover .case-img-pat {
  transform: scale(1.125) translateY(.5rem);
  transition-duration: 3s;
}
.case-img-pat {
  position: absolute; inset: 0;
  transition: transform .6s ease-out;
  will-change: transform;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.case-img-lbl {
  position: absolute; bottom: 14px; left: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,.72);
  letter-spacing: .2em;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.18);
  padding: 4px 10px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.case-body { padding: 20px 22px 24px; }
.case-ind {
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px; font-weight: 600;
  color: #1E40AF;
  background: #EFF6FF; border: 1px solid #DBEAFE;
  padding: 3px 10px; border-radius: 999px;
  margin-bottom: 12px;
}
.case-title {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 700;
  font-size: 16px; line-height: 1.55;
  color: #0B1220;
  margin: 0 0 10px; letter-spacing: -.005em;
}
.case-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  line-height: 1.85;
  color: #3F5069; margin: 0;
}

.case-all {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px; font-weight: 700;
  background: #1E40AF; color: #fff;
  text-decoration: none;
  padding: 13px 36px; border-radius: 8px;
  box-shadow: 0 4px 14px rgba(30,64,175,.28);
  transition: all .25s ease;
}
.case-all:hover {
  background: #1E3A8A;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(30,64,175,.4);
}

/* ═══ CONTACT CTA ═══ */
.cta-sect {
  position: relative; overflow: hidden;
  padding: 80px 40px;
  background: linear-gradient(120deg, #1E40AF 0%, #1E3A8A 60%, #0F172A 100%);
  color: #fff;
}
.cta-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 0%, transparent 80%);
  pointer-events: none;
}
.cta-inner {
  max-width: 1180px; margin: 0 auto; position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.cta-left { max-width: 600px; }
.cta-eye {
  font-family: 'Inter', sans-serif; font-size: 11.5px; font-weight: 700;
  letter-spacing: .24em; color: rgba(255,255,255,.85);
  margin-bottom: 16px;
}
.cta-inner h2 {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.3; margin: 0 0 12px; letter-spacing: -.012em;
}
.cta-inner p {
  font-family: 'Noto Sans JP', sans-serif; font-size: 14.5px; line-height: 1.75;
  color: rgba(255,255,255,.85); margin: 0;
}
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.btn-primary-w {
  font-family: 'Noto Sans JP', sans-serif; font-size: 14px; font-weight: 700;
  background: #fff; color: #0B1220;
  text-decoration: none; padding: 13px 26px; border-radius: 8px;
  min-width: 200px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: all .25s ease;
}
.btn-primary-w:hover {
  background: #0B1220; color: #fff; transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,.3);
}
.btn-ghost-w {
  font-family: 'Noto Sans JP', sans-serif; font-size: 14px; font-weight: 700;
  background: transparent; color: #fff;
  text-decoration: none; padding: 12px 25px; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,.6);
  min-width: 200px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: all .25s ease;
}
.btn-ghost-w:hover {
  background: #fff; color: #0B1220; border-color: #fff;
  transform: translateY(-2px);
}

/* ═══ OUR AI TOOL ═══ */
.lm-ai-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.lm-ai-panel {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.lm-ai-stat {
  position: relative;
  padding: 28px 28px 24px;
  background: radial-gradient(94.08% 274.5% at 90% 20%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 25%), linear-gradient(108.92deg, #2948B5 0%, #315FE0 55%, #1F409C 100%);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.lm-ai-stat-eye {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 400;
  letter-spacing: .2em;
  color: #fff;
  margin-bottom: 12px;
}
.lm-ai-stat-value {
  display: flex; align-items: baseline; 
  justify-content: center;
  gap: 4px;
  line-height: 1;
}
.lm-ai-stat-num {
  font-family: 'Inter', sans-serif; font-weight: 800;
  font-size: clamp(40px, 5vw, 52px);
  letter-spacing: -.02em;
}
.lm-ai-stat-unit {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 24px;
}
.lm-ai-stat-label {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 400;
  font-size: 15px;
  margin-top: 10px;
}
.lm-ai-stat-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px; line-height: 1.7;
  color: #fff;
  margin: 8px 0 0;
}
.lm-ai-compare {
  display: flex; flex-direction: column;
}
.lm-ai-flow {
  padding: 20px 28px 24px;
  background: #fff;
}
.lm-ai-flow--divider { margin: 0 28px; padding: 0; border-bottom: 1px solid #E2E8F0; }
.lm-ai-flow-title {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 400;
  font-size: 15px; line-height: 20px;
  color: #111827;
  text-align: left;
  margin-bottom: 3px;
}
.lm-ai-flow-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 11px; line-height: 19px;
  color: #68758A;
  text-align: left;
  margin-bottom: 14px;
}
.lm-ai-flow-steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.lm-ai-step {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px; font-weight: 500;
  color: #3F5069;
  line-height: 1.45;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.lm-ai-step-icon {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: #1E40AF;
  background: #EFF6FF;
}
.lm-ai-step-icon svg { width: 24px; height: 24px; }
.lm-ai-flow--before .lm-ai-step-icon {
  color: #64748B;
  background: #F1F5F9;
}
.lm-ai-flow--after .lm-ai-flow-title,
.lm-ai-flow--after .lm-ai-step { color: #1E40AF; }

.lm-ai-content { align-self: center; }
.lm-ai-content .sect-eye { text-align: left; }
.lm-ai-heading {
  text-align: left;
  font-size: clamp(30px, 2.8vw, 40px);
  line-height: 1.25;
}
.lm-ai-underline {
  margin: 14px 0 0;
}
.lm-ai-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px; line-height: 1.85;
  color: #3F5069;
  margin: 20px 0 22px;
}
.lm-ai-features {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.lm-ai-features li {
  display: flex; align-items: flex-start; gap: 12px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px; font-weight: 500; line-height: 1.6;
  color: #0B1220;
  padding: 14px 4px;
  border-bottom: 1px solid #E2E8F0;
  position: relative;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.lm-ai-feature-item::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px; background: #1E40AF;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.lm-ai-features li:last-child {
  border-bottom: none;
}
.lm-ai-feature-item:hover {
  background: #EFF6FF;
  box-shadow: inset 0 0 0 1px #BFDBFE;
}
.lm-ai-feature-item:hover::after { transform: scaleX(1); }
.lm-ai-feature-item:hover .lm-ai-feature-title {
  color: #1E40AF;
}
.lm-ai-feature-item:hover .lm-ai-feature-ico {
  background: #fff;
}
.lm-ai-feature-ico {
  flex-shrink: 0; width: 36px; height: 36px; margin-top: 0;
  padding: 9px; box-sizing: border-box;
  border-radius: 50%;
  background: #EFF6FF;
  color: #1E40AF;
  transition: background-color .25s ease;
}
.lm-ai-feature-title {
  transition: color .25s ease;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1080px) {
  .lm-ai-inner { grid-template-columns: 1fr; gap: 36px; }
  .lm-ai-content { order: -1; }
  .lm-grid { grid-template-columns: repeat(2, 1fr); }
  .risk-grid { grid-template-columns: repeat(2, 1fr); }
  .eff-grid { grid-template-columns: repeat(2, 1fr); }
  .lm-process { grid-template-columns: 1fr; gap: 32px; }
  .lm-step-line { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-image-card { grid-column: span 2; min-height: 420px; }
}
@media (max-width: 900px) {
  .ai-hero.compact { padding: 108px 24px 64px; }
  .ai-hero.compact h1 { font-size: clamp(32px, 7vw, 44px); }
  .ai-hero.compact p { font-size: 14px; }
  .sect { padding: 72px 24px; }
  .sect-head, .core-services-header { margin-bottom: 36px; }
  .sect-title { font-size: clamp(26px, 5vw, 34px); }
  .case-grid { grid-template-columns: 1fr; }
  .cta-sect { padding: 64px 24px; }
  .cta-inner { flex-direction: column; align-items: stretch; gap: 28px; }
  .cta-left { max-width: none; }
  .cta-btns { width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .services-image-card { grid-column: span 1; }
  .lm-ai-inner { gap: 32px; }
  .lm-ai-panel { width: 100%; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-divider { display: none; }
}
@media (max-width: 700px) {
  .ai-hero.compact { padding: 92px 20px 56px; }
  .ai-hero.compact h1 { font-size: 32px; line-height: 1.25; }
  .ai-hero.compact .hero-ctas { margin-top: 24px; }
  .c-breadcrumb { gap: 7px; font-size: 11px; margin-bottom: 22px; }
  .sect { padding: 60px 20px; }
  .lm-grid, .risk-grid, .eff-grid { grid-template-columns: 1fr; }
  .services-image-card { min-height: 420px; order: -1; }
  .service-card { padding: 22px 20px; }
  .service-content h3 { font-size: 20px; }
  .reason-grid { grid-template-columns: 1fr; }
  .stats-row { padding: 20px 16px; }
  .lm-ai-inner { gap: 28px; }
  .lm-ai-content { order: -1; }
  .lm-ai-heading { font-size: clamp(28px, 8vw, 34px); }
  .lm-ai-text { font-size: 15px; line-height: 1.8; }
  .lm-ai-flow { padding-left: 20px; padding-right: 20px; }
  .lm-ai-flow--divider { margin-left: 20px; margin-right: 20px; }
  .lm-process { padding-top: 4px; }
  .lm-step { padding: 28px 20px 24px; }
  .case-body { padding: 18px 18px 22px; }
}
@media (max-width: 560px) {
  .btn-primary-w, .btn-ghost-w { width: 100%; min-width: 0; }
  .hero-ctas, .cta-btns { flex-direction: column; width: 100%; }
  .hero-ctas a { width: 100%; justify-content: center; }
  .lm-ai-flow-steps { grid-template-columns: repeat(2, 1fr); }
  .lm-ai-stat { padding: 24px 20px 22px; }
  .lm-ai-stat-num { font-size: 44px; }
  .lm-ai-stat-unit { font-size: 21px; }
  .lm-ai-flow-title { font-size: 14px; }
  .lm-ai-step { font-size: 10px; }
  .lm-ai-features li { gap: 10px; padding: 12px 0; }
  .lm-ai-feature-ico { width: 32px; height: 32px; padding: 8px; }
  .risk-card, .eff-card { padding: 28px 18px 24px; }
  .lm-step-ico { margin-top: 12px; }
}

