.solutions-page {
  --solution-blue: #003b9e;
  --solution-blue-2: #004ed0;
  --solution-navy: #001b54;
  --solution-text: #061941;
  --solution-line: #d6e3f4;
  --solution-soft: #f5faff;
  color: var(--solution-text);
  background: #fff;
}

.solutions-page main .container {
  width: min(calc(100% - 128px), 896px);
}

.solutions-page .site-header details.language-switch summary {
  border: 1px solid #b8cff2;
  border-radius: 5px;
}

.solutions-hero {
  position: relative;
  height: 296px;
  overflow: hidden;
  background: url("solutions-hero-jp.png") center center / cover no-repeat;
}

.solutions-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 76px;
}

.ja-page .solutions-hero-content {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.zh-page .solutions-hero::before,
.en-page .solutions-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.98) 36%, rgba(255, 255, 255, 0.62) 52%, rgba(255, 255, 255, 0) 73%);
}

.solutions-hero h1 {
  margin: 0;
  color: var(--solution-navy);
  font-size: 44px;
  font-weight: 900;
  line-height: 1.12;
}

.solutions-hero p {
  max-width: 470px;
  margin: 18px 0 0;
  color: var(--solution-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.75;
}

.solutions-overview {
  padding: 29px 0 15px;
  text-align: center;
}

.solutions-overview h2 {
  position: relative;
  display: inline-block;
  margin: 0;
  color: var(--solution-navy);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.18;
}

.solutions-overview h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 36px;
  height: 2px;
  background: var(--solution-blue-2);
  transform: translateX(-50%);
}

.solutions-overview p {
  max-width: 660px;
  margin: 25px auto 0;
  color: #111a2f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
}

.solution-list {
  display: grid;
  gap: 18px;
  padding-bottom: 20px;
}

.solution-card {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  height: 221px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--solution-line);
  border-radius: 5px;
}

.solution-card:nth-child(2) {
  height: 220px;
}

.solution-card:nth-child(3) {
  height: 201px;
}

.solution-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-card-body {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-width: 0;
  padding: 24px 18px 14px 26px;
}

.solution-card:nth-child(3) .solution-card-body {
  padding-top: 20px;
  padding-bottom: 10px;
}

.solution-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.solution-number {
  color: var(--solution-blue-2);
  font-size: 45px;
  font-weight: 900;
  line-height: 0.95;
}

.solution-title h3 {
  margin: 0;
  color: var(--solution-navy);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.18;
}

.solution-title p {
  margin: 2px 0 0;
  color: var(--solution-blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.solution-more {
  display: inline-flex;
  width: 98px;
  min-height: 37px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--solution-blue);
  border: 1px solid #99baf0;
  border-radius: 4px;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.solution-more span {
  font-size: 17px;
  line-height: 1;
}

.solution-summary {
  margin: 13px 0 0;
  color: #111a2f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.62;
}

.solution-card:nth-child(3) .solution-summary {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.5;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
  align-self: end;
  margin-top: 12px;
}

.capability {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  color: var(--solution-navy);
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.32;
}

.capability svg {
  width: 34px;
  height: 34px;
  margin-bottom: 7px;
  fill: none;
  stroke: var(--solution-blue-2);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.solutions-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 12% 65%, rgba(47, 156, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #eef8ff, #dff1ff);
}

.ja-page .solutions-cta {
  height: 116px;
  background: url("solutions-cta-jp.png") center center / cover no-repeat;
}

.solutions-cta-inner {
  display: grid;
  min-height: 116px;
  place-items: center;
  padding: 18px 0;
  text-align: center;
}

.solutions-cta h2 {
  margin: 0 0 13px;
  color: var(--solution-navy);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
}

.solutions-cta-button {
  display: inline-flex;
  min-width: 230px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 34px;
  color: #fff;
  border: 1px solid #00359b;
  border-radius: 4px;
  background: linear-gradient(180deg, #0048c4, #002f94);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.ja-page .solutions-cta h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.ja-page .solutions-cta-button {
  position: absolute;
  left: 50%;
  top: 54px;
  width: 230px;
  min-width: 0;
  height: 42px;
  min-height: 0;
  opacity: 0;
  transform: translateX(-50%);
}

.solutions-page .company-footer {
  position: relative;
  overflow: hidden;
}

.solutions-page .company-footer::after {
  content: "";
  position: absolute;
  right: 36px;
  bottom: 48px;
  width: 170px;
  height: 78px;
  background: none;
  opacity: 0.62;
  pointer-events: none;
}

.solutions-page .company-footer-grid,
.solutions-page .company-footer-bottom {
  position: relative;
  z-index: 1;
}

.solutions-page .company-footer-grid {
  grid-template-columns: 220px 88px 138px 72px 72px 78px 88px 90px;
}

@media (max-width: 980px) {
  .solutions-page main .container {
    width: min(calc(100% - 48px), 896px);
  }

  .solutions-hero {
    height: 320px;
  }

  .ja-page .solutions-hero-content {
    position: relative;
    width: auto;
    height: auto;
    padding-top: 78px;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }

  .ja-page .solutions-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.96) 46%, rgba(255, 255, 255, 0.34) 78%);
  }

  .solution-card,
  .solution-card:nth-child(2),
  .solution-card:nth-child(3) {
    grid-template-columns: 1fr;
    height: auto;
  }

  .solution-card-image {
    height: 220px;
  }

  .solution-heading {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .solution-more {
    grid-column: 1 / -1;
    width: 130px;
  }

  .capability-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 8px;
    margin-top: 20px;
  }

  .solutions-page .company-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .solutions-page main .container {
    width: min(calc(100% - 32px), 896px);
  }

  .solutions-hero {
    height: 360px;
    background-position: 57% center;
  }

  .solutions-hero h1 {
    font-size: 36px;
  }

  .solutions-hero p {
    max-width: 300px;
    font-size: 14px;
  }

  .solutions-overview {
    padding: 34px 0 26px;
  }

  .solution-card-body {
    padding: 22px 18px;
  }

  .solution-number {
    font-size: 38px;
  }

  .solution-title h3 {
    font-size: 18px;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solutions-cta h2 {
    font-size: 18px;
  }

  .solutions-page .company-footer-grid {
    grid-template-columns: 1fr;
  }
}
