﻿/* The banner of a solution's page (Views/Solutions/_ItemLayout.cshtml), first made for the group pages, which went on
   06/11; what the pages share on top of it is serviceItem.css. */

/* ---------- Banner ---------- */
.grp-hero {
  padding: 12rem 0 6.4rem;
  background: linear-gradient(180deg, #e6f9fa 0%, #ffffff 100%);
  border-bottom: 1px solid #e3eef0;
}
.grp-hero__inner {
  max-width: 120rem;
}
.grp-hero__kicker {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #9fe3e7;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0e2a38;
}
.grp-hero__title {
  margin: 1.6rem 0 0;
  font-size: clamp(3.2rem, 2.4rem + 2vw, 4.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #0e2a38;
}
.grp-hero__text {
  max-width: 72rem;
  margin: 1.6rem 0 0;
  font-size: var(--fs-lead, 1.8rem);
  line-height: 1.65;
  color: #3e5662;
}
.grp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem 2.4rem;
  margin-top: 3.2rem;
}
.grp-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: #0e2a38;
  text-decoration: none;
  border-bottom: 2px solid #00c2cb;
}
.grp-hero__link:hover {
  color: #00c2cb;
}
html[lang=ja] .grp-hero__title {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* ---------- Phones ---------- */
@media (max-width: 767px) {
  /* The trail at the same height as on the other inner pages (11.2rem); the banner ends as the sections do (4.8rem) */
  .grp-hero {
    padding: 11.2rem 0 4.8rem;
  }
  .grp-hero__title {
    font-size: 3rem;
  }
  .grp-hero__text {
    font-size: 1.6rem;
  }
  .grp-hero__actions .btn-pill {
    width: 100%;
  }
}
/* Desktop: the trail starts below the corner of the header's logo, at the height of the line pages; that corner reaches
   furthest between 1367 and 1480px, where the logo is at full size and the container still near the screen's edge */
@media (min-width: 1025px) {
  .grp-hero {
    padding-top: 17.6rem;
  }
}
@media (min-width: 1367px) and (max-width: 1480px) {
  .grp-hero {
    padding-top: 20rem;
  }
}
