/* ── Products Page (自社プロダクト) ── */
.sjp-prod-page { font-family: 'Noto Sans JP', sans-serif; }

/* ── Shared section header ── */
.sjp-prod-eyebrow {
  color: #3B82F6;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-align: center;
  margin: 0;
  text-transform: uppercase;
  line-height: 21.25px;
}
.sjp-prod-hd__title {
  font-size: 36px;
  font-weight: 700;
  color: #0B1220;
  text-align: center;
  margin: 0;
  line-height: 45px;
  letter-spacing: -0.005em;
}
.sjp-prod-hd-line {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, #3B82F6, #1E40AF);
  border-radius: 2px;
}
.sjp-prod-sec-desc {
  font-size: 14px;
  color: #3F5069;
  line-height: 25.9px;
  text-align: center;
  max-width: 800px;
  margin: 0;
}
.sjp-prod-list__hd {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11.8px;
}

/* ── Hero ── */
.sjp-prod-hero {
  background: linear-gradient(166deg, #0B1D4F 0%, #1E40AF 75%, #2563EB 100%);
  background-image: url('../images/products/hero-bg.png'), linear-gradient(166deg, #0B1D4F 0%, #1E40AF 75%, #2563EB 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 110px 80px 70px;
}
.sjp-prod-hero__orb { position: absolute; border-radius: 50%; pointer-events: none; }
.sjp-prod-hero__orb--1 { width: 300px; height: 300px; right: -60px; top: -80px; background: rgba(59,130,246,.3); opacity: .3; }
.sjp-prod-hero__orb--2 { width: 200px; height: 200px; left: -80px; bottom: -60px; background: rgba(30,64,175,.4); opacity: .25; }
.sjp-prod-hero__inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.sjp-prod-bc { display: flex; align-items: center; gap: 8px; }
.sjp-prod-bc__link { color: #93C5FD; font-size: 15px; line-height: 25.5px; text-decoration: none; }
.sjp-prod-bc__link:hover { text-decoration: underline; }
.sjp-prod-bc__sep { color: #64748B; }
.sjp-prod-bc__cur { color: #CBD5E1; font-size: 15px; line-height: 25.5px; }
.sjp-prod-hero__title { font-size: 44px; font-weight: 700; color: #fff; margin: 0; line-height: 57.2px; }
.sjp-prod-hero__desc { font-size: 18px; color: #CBD5E1; margin: 0; line-height: 28.8px; max-width: 720px; }

/* ── Products list (gray bg) ── */
.sjp-prod-list { background: #F8FAFC; padding: 80px; }
.sjp-prod-list__inner {
  position: relative;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.sjp-prod-slider { width: 100%; display: flex; flex-direction: column; gap: 32px; }
.sjp-prod-slider__viewport { width: 100%; overflow: hidden; padding-top: 16px; padding-bottom: 16px; }
.sjp-prod-slider__track {
  display: flex;
  align-items: stretch;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.sjp-prod-slide { flex: 0 0 100%; min-width: 0; }

.sjp-prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}

.sjp-prod-card {
  position: relative;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(15,23,42,.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.sjp-prod-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(30,64,175,.12); border-color: #BFDBFE; }

.sjp-prod-card__img-wrap {
  width: 100%;
  aspect-ratio: 578 / 320;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
}
.sjp-prod-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.sjp-prod-card:hover .sjp-prod-card__img { transform: scale(1.04); }

.sjp-prod-card__title { font-size: 20px; font-weight: 700; color: #0F172A; margin: 0; line-height: 28px; }
.sjp-prod-card__desc {
  font-size: 15px;
  color: #64748B;
  line-height: 25.5px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 76.5px; /* 3 lines × 25.5px */
}

/* Card external link */
.sjp-prod-card__link-site {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #2563EB;
  text-decoration: none;
  line-height: 23.8px;
  transition: color .2s ease;
}
.sjp-prod-card__link-site:hover { color: #1E40AF; }
.sjp-prod-card__link-site svg { flex-shrink: 0; }

/* ── Slider nav (pagination) ── */
.sjp-prod-slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding-top: 24px;
}
.sjp-prod-slider__arrow {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  background: #fff;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.sjp-prod-slider__arrow:hover { color: #1E40AF; border-color: #BFDBFE; }
.sjp-prod-slider__arrow:disabled { cursor: not-allowed; opacity: .4; }
.sjp-prod-slider__arrow--next {
  background: linear-gradient(90deg, #1E40AF, #3B82F6);
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(30,64,175,.25);
}
.sjp-prod-slider__arrow--next:hover { background: linear-gradient(90deg, #1E3A8A, #1E40AF); color: #fff; }

.sjp-prod-slider__dots { display: inline-flex; align-items: center; gap: 4px; }
.sjp-prod-slider__dot {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  background: #fff;
  color: #475569;
  cursor: pointer;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.sjp-prod-slider__dot:hover { border-color: #BFDBFE; color: #1E40AF; }
.sjp-prod-slider__dot.is-active {
  background: linear-gradient(90deg, #1E40AF, #3B82F6);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(30,64,175,.25);
}

/* ── Inline inquiry banner ── */
.sjp-prod-inquiry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 40px 36px;
  margin-top: 40px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15,23,42,.03);
  width: 100%;
  max-width: 816px;
}
.sjp-prod-inquiry__text { display: flex; flex-direction: column; max-width: 443px; }
.sjp-prod-inquiry__title {
  font-size: 17.4px;
  font-weight: 700;
  color: #475569;
  margin: 0;
  line-height: 25.92px;
}
.sjp-prod-inquiry__title strong { color: #0B1220; }
.sjp-prod-inquiry__desc {
  font-size: 14.4px;
  color: #475569;
  margin: 0;
  line-height: 25.92px;
}
.sjp-prod-inquiry__btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: #1E40AF;
  border: 1px solid #2563EB;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}
.sjp-prod-inquiry__btn:hover { background: #1E3A8A; transform: translateY(-1px); }

/* ── Benefits / Experience & Expertise (white bg) ── */
.sjp-prod-benefits { background: #fff; padding: 80px; }
.sjp-prod-benefits__inner {
  position: relative;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.sjp-prod-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  width: 100%;
}

.sjp-prod-benefit-card {
  background: #F8FAFC;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.sjp-prod-benefit-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(30,64,175,.10); }

.sjp-prod-benefit-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1E40AF, #3B82F6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.sjp-prod-benefit-card__title { font-size: 20px; font-weight: 700; color: #0F172A; margin: 0; line-height: 28px; }
.sjp-prod-benefit-card__desc { font-size: 15px; color: #64748B; line-height: 25.5px; margin: 0; }

/* ── Case Studies & Insights (gray bg) ── */
.sjp-prod-cases { background: #F8FAFC; padding: 90px 0; }
.sjp-prod-cases__inner {
  position: relative;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
}
.sjp-prod-cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  padding: 16px 0;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

/* Pagination (mobile) — hidden on desktop, shown < 768px */
.sjp-prod-cases__pag {
  display: none;
  margin-top: 24px;
}
.sjp-prod-cases-pagination { display: inline-flex; align-items: center; gap: 4px; align-self: center; }
.sjp-prod-cases-pagination__btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  background: #fff;
  color: #475569;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all .2s ease;
}
.sjp-prod-cases-pagination__btn:hover:not(:disabled):not(.is-active) { border-color: #93C5FD; color: #1E40AF; }
.sjp-prod-cases-pagination__btn:disabled { opacity: .4; cursor: not-allowed; }
.sjp-prod-cases-pagination__btn.is-active {
  background: linear-gradient(90deg, #1E40AF, #3B82F6);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(30,64,175,.25);
}
.sjp-prod-cases-pagination__btn--nav { color: #94A3B8; }
.sjp-prod-cases-pagination__ellipsis { color: #94A3B8; padding: 0 4px; font-weight: 500; user-select: none; }

.sjp-prod-case-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  position: relative;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.sjp-prod-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);
}
.sjp-prod-case-card:hover {
  background: #EFF6FF;
  box-shadow: inset 0 0 0 1px #BFDBFE;
}
.sjp-prod-case-card:hover::after { transform: scaleX(1); }

.sjp-prod-case-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 382 / 215;
  border-radius: 0;
  overflow: hidden;
  flex-shrink: 0;
}
.sjp-prod-case-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.sjp-prod-case-card:hover .sjp-prod-case-card__img { transform: scale(1.04); }
.sjp-prod-case-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,18,32,.4) 100%);
}

.sjp-prod-case-card__body {
  padding: 21px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.sjp-prod-case-card__tags { display: flex; gap: 9px; flex-wrap: wrap; }
.sjp-prod-case-card__tag {
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  color: #1E40AF;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  line-height: 20.4px;
}
.sjp-prod-case-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #0B1220;
  line-height: 24.8px;
  letter-spacing: -0.005em;
  margin: 0;
}
.sjp-prod-case-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #2563EB;
  line-height: 23.8px;
}
.sjp-prod-case-card__more svg { flex-shrink: 0; }

/* ── CTA ── */
.sjp-prod-cta { position: relative; overflow: hidden; display: flex; align-items: center; padding: 80px; }
.sjp-prod-cta__bg { position: absolute; inset: 0; background: linear-gradient(165deg, #0B1D4F 0%, #1E40AF 50%, #2563EB 100%); }
.sjp-prod-cta__orb { position: absolute; border-radius: 50%; pointer-events: none; }
.sjp-prod-cta__orb--1 { width: 300px; height: 300px; right: -60px; top: -80px; background: rgba(59,130,246,.3); opacity: .3; }
.sjp-prod-cta__orb--2 { width: 250px; height: 250px; left: -50px; bottom: -60px; background: rgba(30,64,175,.44); opacity: .3; }
.sjp-prod-cta__inner {
  position: relative;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15.4px;
}
.sjp-prod-cta__label {
  color: #93C5FD;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1333em;
  margin: 0;
  text-transform: uppercase;
}
.sjp-prod-cta__title { font-size: 36px; font-weight: 700; color: #fff; text-align: center; margin: 0; line-height: 46.8px; }
.sjp-prod-cta__desc { font-size: 18px; color: #CBD5E1; text-align: center; margin: 0; line-height: 30.6px; }
.sjp-prod-cta__btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; padding-top: 12px; }
.sjp-prod-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 17.5px 40px;
  border-radius: 8px;
  font-size: 18px;
  text-decoration: none;
  line-height: 30.6px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.sjp-prod-cta__btn:hover { transform: translateY(-2px); }
.sjp-prod-cta__btn--solid {
  background: #fff;
  color: #1E40AF;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255,255,255,.25);
}
.sjp-prod-cta__btn--solid:hover { box-shadow: 0 8px 28px rgba(255,255,255,.4); }
.sjp-prod-cta__btn--outline {
  background: transparent;
  color: #fff;
  font-weight: 500;
  border: 2px solid rgba(255,255,255,.8);
}
.sjp-prod-cta__btn--outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ── Responsive ── */
@media (max-width: 1280px) {
  .sjp-prod-hero,
  .sjp-prod-list,
  .sjp-prod-benefits,
  .sjp-prod-cta { padding-left: 60px; padding-right: 60px; }

  .sjp-prod-cases { padding-left: 40px; padding-right: 40px; }
}

@media (max-width: 1024px) {
  .sjp-prod-hero,
  .sjp-prod-list,
  .sjp-prod-benefits,
  .sjp-prod-cta { padding-left: 40px; padding-right: 40px; }

  .sjp-prod-cases { padding-left: 24px; padding-right: 24px; }

  .sjp-prod-benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .sjp-prod-cases__grid { grid-template-columns: repeat(2, 1fr); }

  .sjp-prod-hd__title { font-size: 30px; line-height: 39px; }
  .sjp-prod-hero__title { font-size: 36px; line-height: 46.8px; }
  .sjp-prod-hero__desc { font-size: 16px; line-height: 26px; }

  .sjp-prod-inquiry { flex-direction: column; text-align: center; gap: 20px; }
  .sjp-prod-inquiry__text { align-items: center; }

  .sjp-prod-cta__title { font-size: 30px; line-height: 39px; }
  .sjp-prod-cta__btn { padding: 14px 32px; font-size: 16px; }
}

@media (max-width: 768px) {
  .sjp-prod-hero {
    background-image: url('../images/products/hero-mb-bg.png'), linear-gradient(166deg, #0B1D4F 0%, #1E40AF 75%, #2563EB 100%);
  }

  .sjp-prod-hero { padding: 80px 20px 50px; }
  .sjp-prod-list,
  .sjp-prod-benefits,
  .sjp-prod-cta { padding: 60px 20px; }
  .sjp-prod-cases { padding: 60px 20px; }

  /* Hero */
  .sjp-prod-hero__title { font-size: 28px; line-height: 36.4px; }
  .sjp-prod-hero__desc { font-size: 15px; line-height: 24px; max-width: 100%; }
  .sjp-prod-bc__link, .sjp-prod-bc__cur { font-size: 13px; }

  /* Section headers */
  .sjp-prod-hd__title { font-size: 24px; line-height: 32px; }
  .sjp-prod-sec-desc { font-size: 13px; line-height: 22px; }
  .sjp-prod-eyebrow { font-size: 11px; }

  /* Product grid - single column */
  .sjp-prod-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .sjp-prod-card { padding: 16px; gap: 12px; }
  .sjp-prod-card__img-wrap { aspect-ratio: 16 / 9; }
  .sjp-prod-card__title { font-size: 18px; line-height: 25px; }
  .sjp-prod-card__desc { font-size: 14px; line-height: 23.8px; height: 71.4px; /* 3 × 23.8px */ }

  /* Benefits grid - single column */
  .sjp-prod-benefits__grid { grid-template-columns: 1fr; gap: 20px; }
  .sjp-prod-benefit-card { padding: 24px; }
  .sjp-prod-benefit-card__title { font-size: 18px; }
  .sjp-prod-benefit-card__desc { font-size: 14px; }

  /* Case studies - single column with pagination */
  .sjp-prod-cases__grid {
    grid-template-columns: 1fr;
    overflow: hidden;
  }
  .sjp-prod-cases__grid .sjp-prod-case-card {
    display: none;
  }
  .sjp-prod-cases__grid .sjp-prod-case-card.is-active {
    display: flex;
  }
  .sjp-prod-case-card__img-wrap { height: auto; }
  .sjp-prod-case-card__title { font-size: 15px; line-height: 22px; }
  .sjp-prod-cases__pag { display: block; }

  /* CTA */
  .sjp-prod-cta__title { font-size: 24px; line-height: 31.2px; }
  .sjp-prod-cta__desc { font-size: 15px; line-height: 25.5px; }
  .sjp-prod-cta__btns { flex-direction: column; align-items: stretch; width: 100%; }
  .sjp-prod-cta__btn { justify-content: center; padding: 14px 24px; font-size: 16px; }

  /* Inquiry banner */
  .sjp-prod-inquiry { padding: 24px 20px; margin-top: 24px; }
  .sjp-prod-inquiry__title { font-size: 15px; line-height: 24px; }
  .sjp-prod-inquiry__desc { font-size: 13px; line-height: 22px; }
  .sjp-prod-inquiry__btn { padding: 10px 20px; font-size: 13px; }

  /* Slider nav */
  .sjp-prod-slider__dot { width: 36px; height: 36px; font-size: 13px; }
  .sjp-prod-slider__arrow { width: 36px; height: 36px; }
}

@media (max-width: 480px) {
  .sjp-prod-hero { padding: 70px 16px 40px; }
  .sjp-prod-list,
  .sjp-prod-benefits,
  .sjp-prod-cta { padding: 48px 16px; }
  .sjp-prod-cases { padding: 48px 16px; }

  .sjp-prod-hero__title { font-size: 24px; line-height: 32px; }
  .sjp-prod-hd__title { font-size: 22px; line-height: 30px; }
  .sjp-prod-cta__title { font-size: 22px; line-height: 30px; }

  .sjp-prod-card { padding: 12px; border-radius: 12px; }
  .sjp-prod-card__img-wrap { border-radius: 8px; }

  .sjp-prod-inquiry { border-radius: 12px; }
  .sjp-prod-inquiry__btn { width: 100%; justify-content: center; }
}
