/* ── Services AI Page (synced from design system) ── */

/* ═══ SHARED SECTION PATTERN ═══ */
.sect { padding: 90px 40px; }
.sect.tint { background: var(--sjp-bg-gray, #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: var(--sjp-font-latin, 'Inter', sans-serif);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .24em;
  color: var(--sjp-accent-blue, #3B82F6);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sect-title {
  font-family: var(--sjp-font-jp, 'Noto Sans JP', sans-serif); font-weight: 700;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.25; letter-spacing: -.005em;
  color: var(--sjp-ink-hi, #0B1220); margin: 0 0 14px;
}
.sect-lead {
  font-family: var(--sjp-font-jp, 'Noto Sans JP', sans-serif); font-size: 14px; line-height: 1.85;
  color: var(--sjp-text-body, #3F5069); max-width: 720px;
  margin: 18px auto 0; text-align: center;
}

/* ═══ HERO ═══ */
.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("../images/services-ai/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 .sjp-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.ai-hero .sjp-hero__btn {
  font-family: var(--sjp-font-jp); font-size: 14px; font-weight: 700;
  text-decoration: none; padding: 13px 26px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px; transition: all .25s ease;
}
.ai-hero .sjp-hero__btn--primary { background: #fff; color: var(--sjp-ink-hi); box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.ai-hero .sjp-hero__btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.30); }
.ai-hero .sjp-hero__btn--ghost {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.28);
}
.ai-hero .sjp-hero__btn--ghost:hover { background: #fff; color: var(--sjp-ink-hi); border-color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.30); }
.ai-hero .sjp-hero__btn svg { transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.ai-hero .sjp-hero__btn:hover svg { transform: translateX(4px); }

.c-breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sjp-font-latin, '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; }

.ai-hero h1 {
  font-family: var(--sjp-font-jp, 'Noto Sans JP', sans-serif); font-weight: 700;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 26px;
}
.ai-hero p {
  font-family: var(--sjp-font-jp, 'Noto Sans JP', sans-serif);
  font-size: 17px; line-height: 1.9;
  color: rgba(255,255,255,.85);
  max-width: 620px;
  margin: 0;
}

/* ═══ 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;
  min-height: 180px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  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.35;
  color: #3F5069;
}
.service-card:hover .service-content p {
  color: #ffffff;
}
.services-image-card {
  position: relative;
  min-height: 572px;
  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;
}

/* ═══ AI TECHNOLOGIES ═══ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--sjp-border-default, #E2E8F0);
  border-bottom: 1px solid var(--sjp-border-default, #E2E8F0);
}
.tech-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 30px 30px 32px;
  transition: background-color .25s ease, box-shadow .25s ease;
  position: relative;
}
.tech-card::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--sjp-primary-blue, #1E40AF);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.tech-card:hover {
  background: #EFF6FF;
  box-shadow: inset 0 0 0 1px #BFDBFE;
}
.tech-card:hover::after { transform: scaleX(1); }
.tech-card:hover .tech-title { color: var(--sjp-primary-blue, #1E40AF); }
.tech-ico {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.tech-ico svg { width: 26px; height: 26px; }
.tech-title {
  font-family: var(--sjp-font-jp, 'Noto Sans JP', sans-serif); font-weight: 700;
  font-size: var(--sjp-card-title, 16px); line-height: 1.4;
  color: var(--sjp-ink-hi, #0B1220);
  margin: 0 0 12px; letter-spacing: -.01em;
}
.tech-desc {
  font-family: var(--sjp-font-jp, 'Noto Sans JP', sans-serif);
  font-size: var(--sjp-card-body, 13px);
  line-height: var(--sjp-card-line, 1.85);
  color: var(--sjp-text-body, #3F5069); margin: 0;
}

/* ═══ SEAF ARCHITECTURE ═══ */
#seaf-architecture {
  width: 100%;
  padding: 86px 24px 83px;
  background: #0f172a;
  color: #ffffff;
  overflow: hidden;
}
.seaf-content {
  display: flex;
  flex-direction: column;
  gap: 74px;
}
.seaf-header {
  max-width: 1126px;
}
.seaf-header h2 {
  margin: 0 0 16px;
  font-family: var(--sjp-font-jp, 'Noto Sans JP', sans-serif);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
}
.seaf-header p {
  width: min(100%, 1100px);
  margin: 0;
  font-family: var(--sjp-font-jp, 'Noto Sans JP', sans-serif);
  font-size: 13px;
  font-weight: 400;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.7);
}
.architecture-layout {
  display: grid;
  grid-template-columns: 75% 1fr;
  align-items: center;
  gap: 0;
}
.architecture-panel {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
}
.architecture-item {
  border-bottom: 1px solid #e2e8f0;
}
.architecture-item:last-child {
  border-bottom: none;
}
.architecture-item.active {
  background: #eff6ff;
}
.architecture-row {
  min-height: 75px;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
}
.architecture-row svg {
  width: 18px;
  height: 18px;
  color: #94A3B8;
  transition: color .25s ease, transform .25s ease;
  justify-self: center;
}
.architecture-item.active .architecture-row svg {
  color: #1E40AF;
  transform: rotate(180deg);
}
.architecture-number {
  min-width: 52px;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  background: #eff6ff;
  font-family: var(--sjp-font-latin, 'Inter'), sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #1e40af;
  text-align: center;
}
.architecture-item.active .architecture-number {
  background: #1e40af;
  border-color: #1e40af;
  color: #ffffff;
}
.architecture-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.architecture-text h3 {
  margin: 0;
  font-family: var(--sjp-font-jp, 'Noto Sans JP', sans-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}
.architecture-item.active .architecture-text h3 {
  color: #1e40af;
}
.architecture-text p {
  margin: 0;
  padding-top: 1px;
  padding-bottom: 2px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
  color: #ffffff;
}
.architecture-item.active .architecture-text p {
  color: #475569;
}
.architecture-detail {
  display: none;
  gap: 14px;
  padding: 0 24px 22px 92px;
}
.architecture-item.active .architecture-detail {
  display: flex;
}
.detail-line {
  width: 3px;
  min-width: 3px;
  height: 36px;
  border-radius: 2px;
  background: linear-gradient(180deg, #3b82f6 0%, #1e40af 100%);
}
.architecture-detail p {
  margin: -4px 0 0;
  font-family: var(--sjp-font-jp, 'Noto Sans JP', sans-serif);
  font-size: 13px;
  font-weight: 400;
  line-height: 24px;
  color: #3f5069;
}
.architecture-note {
  min-height: 48px;
  padding: 10px 24px;
  font-family: var(--sjp-font-jp, 'Noto Sans JP', sans-serif);
  font-size: 12px;
  font-weight: 400;
  line-height: 21.6px;
  text-align: center;
  color: #ffffff;
}
.architecture-note strong {
  font-weight: 700;
  color: #3b82f6;
}
.architecture-visual {
  width: 366px;
  height: 604px;
  margin-left: 0;
}
.architecture-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ═══ PRODUCTS ═══ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--sjp-border-default, #E2E8F0);
  border-bottom: 1px solid var(--sjp-border-default, #E2E8F0);
}
.prod-card {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
  transition: background-color .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
  position: relative;
}
.prod-card::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--sjp-primary-blue, #1E40AF);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  z-index: 2;
}
.prod-card:hover {
  background: #EFF6FF;
  box-shadow: inset 0 0 0 1px #BFDBFE;
}
.prod-card:hover::after { transform: scaleX(1); }
.prod-card:hover .prod-name { color: var(--sjp-primary-blue, #1E40AF); }
.prod-img {
  aspect-ratio: 16 / 9;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.prod-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--sjp-zoom-duration-out, 600ms) var(--sjp-zoom-ease, ease-out);
  will-change: transform;
}
.prod-card:hover .prod-img img,
.prod-card:focus-within .prod-img img {
  transform: scale(var(--sjp-zoom-scale, 1.125)) translateY(var(--sjp-zoom-translate-y, .5rem));
  transition-duration: var(--sjp-zoom-duration, 3000ms);
}
.prod-body { padding: 24px 28px 28px; }
.prod-name {
  font-family: var(--sjp-font-latin, 'Inter', sans-serif); font-weight: 700;
  font-size: var(--sjp-card-title-lg, 20px); letter-spacing: -.005em;
  color: var(--sjp-ink-hi, #0B1220);
  margin: 0 0 10px;
}
.prod-desc {
  font-family: var(--sjp-font-jp, 'Noto Sans JP', sans-serif);
  font-size: var(--sjp-card-body, 13px);
  line-height: var(--sjp-card-line, 1.85);
  color: var(--sjp-text-body, #3F5069); margin: 0 0 16px;
}
.prod-link {
  font-family: var(--sjp-font-jp, 'Noto Sans JP', sans-serif);
  font-size: var(--sjp-card-body, 13px); font-weight: 700;
  color: var(--sjp-primary-blue, #1E40AF);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s ease;
}
.prod-card:hover .prod-link { gap: 10px; }

.prod-all {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sjp-font-jp, 'Noto Sans JP', sans-serif);
  font-size: 14px; font-weight: 700;
  background: var(--sjp-primary-blue, #1E40AF);
  color: #fff;
  border: 1.5px solid var(--sjp-primary-blue, #1E40AF);
  text-decoration: none;
  padding: 13px 36px; border-radius: 8px;
  box-shadow: 0 4px 12px rgba(30,64,175,0.20);
  transition: all .25s ease;
}
.prod-all:hover {
  background: var(--sjp-primary-blue-dark, #1E3A8A);
  border-color: var(--sjp-primary-blue-dark, #1E3A8A);
  color: #fff;
  box-shadow: 0 6px 18px rgba(30,64,175,0.30);
  transform: translateY(-1px);
}

/* ═══ TECH STACK ═══ */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--sjp-border-default, #E2E8F0);
  border-bottom: 1px solid var(--sjp-border-default, #E2E8F0);
}
.stack-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 32px 24px 26px;
  text-align: center;
  transition: background-color .25s ease, box-shadow .25s ease;
  position: relative;
}
.stack-card::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--sjp-primary-blue, #1E40AF);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.stack-card:hover {
  background: #EFF6FF;
  box-shadow: inset 0 0 0 1px #BFDBFE;
}
.stack-card:hover::after { transform: scaleX(1); }
.stack-card:hover .stack-name { color: var(--sjp-primary-blue, #1E40AF); }
.stack-ico {
  height: 60px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.stack-ico svg { width: 48px; height: 48px; }
.stack-ico img { max-height: 80px; width: auto; height: auto; }
.stack-name {
  font-family: var(--sjp-font-latin, 'Inter', sans-serif); font-weight: 700;
  font-size: var(--sjp-card-title, 16px); letter-spacing: -.005em;
  color: var(--sjp-ink-hi, #0B1220);
  margin-bottom: 4px;
}
.stack-sub {
  font-family: var(--sjp-font-latin, 'Inter', sans-serif);
  font-size: var(--sjp-card-eyebrow, 11px); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--sjp-text-tertiary, #94A3B8);
}

/* ═══ CASE STUDIES ═══ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--sjp-border-default, #E2E8F0);
  border-bottom: 1px solid var(--sjp-border-default, #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: var(--sjp-primary-blue, #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: var(--sjp-primary-blue, #1E40AF); }
.case-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}
.case-card:hover .case-img-pat {
  transform: scale(var(--sjp-zoom-scale, 1.125)) translateY(var(--sjp-zoom-translate-y, .5rem));
  transition-duration: var(--sjp-zoom-duration, 3000ms);
}
.case-img-pat {
  position: absolute; inset: 0;
  transition: transform var(--sjp-zoom-duration-out, 600ms) var(--sjp-zoom-ease, 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;
  pointer-events: none;
}
.case-img-lbl {
  position: absolute; bottom: 14px; left: 16px;
  font-family: var(--sjp-font-latin, '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);
  z-index: 1;
}
.case-body { padding: 20px 22px 24px; }
.case-ind {
  display: inline-block;
  font-family: var(--sjp-font-jp, 'Noto Sans JP', sans-serif);
  font-size: var(--sjp-card-meta, 12px); font-weight: 600;
  color: var(--sjp-primary-blue, #1E40AF);
  background: #EFF6FF; border: 1px solid #DBEAFE;
  padding: 3px 10px; border-radius: 999px;
  margin-bottom: 12px;
}
.case-title {
  font-family: var(--sjp-font-jp, 'Noto Sans JP', sans-serif); font-weight: 700;
  font-size: var(--sjp-card-title, 16px); line-height: 1.55;
  color: var(--sjp-ink-hi, #0B1220);
  margin: 0 0 10px; letter-spacing: -.005em;
}
.case-desc {
  font-family: var(--sjp-font-jp, 'Noto Sans JP', sans-serif);
  font-size: var(--sjp-card-body, 13px);
  line-height: var(--sjp-card-line, 1.85);
  color: var(--sjp-text-body, #3F5069); margin: 0;
}

.case-all {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sjp-font-jp, 'Noto Sans JP', sans-serif);
  font-size: 14px; font-weight: 700;
  background: var(--sjp-primary-blue, #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: var(--sjp-font-latin, '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: var(--sjp-font-jp, '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: var(--sjp-font-jp, '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: var(--sjp-font-jp, 'Noto Sans JP', sans-serif); font-size: 14px; font-weight: 700;
  background: #fff; color: var(--sjp-ink-hi, #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: var(--sjp-ink-hi, #0B1220); color: #fff; transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,.3);
}
.btn-ghost-w {
  font-family: var(--sjp-font-jp, '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: var(--sjp-ink-hi, #0B1220); border-color: #fff;
  transform: translateY(-2px);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1200px) {
  #seaf-architecture { min-height: auto; padding: 72px 0; }
  .seaf-content { gap: 80px; }
  .architecture-layout { grid-template-columns: 1fr; gap: 32px; }
  .architecture-panel { width: 100%; }
  .architecture-visual { width: 320px; height: auto; margin: 0 auto; }
  .architecture-visual img { height: auto; }
}
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-image-card { grid-column: span 2; min-height: 420px; }
  .services-image { left: 0; width: 100%; }
  .stack-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .sect { padding: 64px 24px; }
  #seaf-architecture { padding: 64px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-image-card { grid-column: span 1; }
  .tech-grid, .prod-grid, .case-grid { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
}
@media (max-width: 768px) {
  #seaf-architecture { padding: 56px 24px; }
  .seaf-content { gap: 48px; }
  .seaf-header h2 { font-size: 24px; line-height: 1.5; }
  .seaf-header p { font-size: 13px; line-height: 1.8; }
  .architecture-row {
    grid-template-columns: 44px minmax(0, 1fr) 18px;
    padding: 16px;
    gap: 12px;
  }
  .architecture-number { min-width: 44px; }
  .architecture-text h3 { font-size: 13px; }
  .architecture-text p { font-size: 11px; line-height: 1.5; }
  .architecture-detail { padding: 0 16px 20px 72px; }
  .architecture-detail p { font-size: 12px; line-height: 1.7; }
  .architecture-note { padding: 14px 16px; display: block; }
  .architecture-visual { display: none; }
  .architecture-layout { gap: 0; }
  .sect-title { font-size: 30px; line-height: 38px; }
  .sect-lead { max-width: 320px; }
  .services-image-card { min-height: 420px; order: -1; }
  .service-content h3 { font-size: 20px; }
  .ai-hero .sjp-hero__ctas { flex-direction: column; gap: 12px; }
  .ai-hero .sjp-hero__btn { font-size: 15px; padding: 14px 22px; border-radius: 10px; justify-content: center; }
}
@media (max-width: 560px) {
  .btn-primary-w, .btn-ghost-w { min-width: 100%; }
  #seaf-architecture { padding: 48px 24px; }
  .architecture-row {
    grid-template-columns: 36px minmax(0, 1fr) 16px;
    padding: 12px;
    gap: 8px;
  }
  .architecture-number { min-width: 36px; padding: 4px 6px; font-size: 10px; }
  .architecture-text h3 { font-size: 12px; }
  .architecture-text p { font-size: 10px; }
  .architecture-detail { padding: 0 12px 16px 56px; }
  .architecture-detail p { font-size: 11px; }
  .architecture-note { padding: 12px; font-size: 11px; }
  .architecture-visual { width: 100%; }
}
