html {
  scroll-behavior: smooth;
}

.info-link {
  white-space: normal;
  text-align: left;
}

.mainvis-jumbotron {
  height: auto;
  min-height: 630px;
}

.mainvis-jumbotron img {
  max-width: 100%;
  height: auto;
}

.mainvis-jumbotron h1 img {
  width: 350px;
  max-width: 100%;
}

section h2 {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25em;
  padding-left: 0;
  text-indent: 0;
}

section h2 i {
  flex: 0 0 auto;
  padding-right: 0;
  text-indent: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid::before,
.service-grid::after {
  display: none;
}

.service-grid > div {
  float: none;
  width: auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.service-grid h3 {
  text-align: center;
  overflow-wrap: anywhere;
}

.service-grid > div > div {
  margin-top: auto;
}

.service-grid a {
  display: inline-block;
  max-width: 100%;
}

main {
  overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .nav-top .hidden-xs {
    display: none !important;
  }

  .sp_menues {
    position: fixed;
    top: 67px;
    left: 0;
    right: 0;
    z-index: 100;
    height: 44px;
    background: #fff;
    display: flex !important;
    border-bottom: 1px solid #d1efc2;
  }

  .sp_menues p {
    margin: 0;
    text-align: center;
  }

  .sp_menues p:first-child {
    flex: 1;
  }

  .sp_menues p:last-child {
    flex: 2;
  }

  .sp_menues a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 4px 8px;
  }

  .pt67 {
    padding-top: 111px;
  }

  .anchor {
    padding-top: 120px;
    margin-top: -120px;
  }

  .mainvis-jumbotron {
    min-height: 360px;
    padding: 30px 0;
  }

  .mainvis-jumbotron h2 {
    font-size: clamp(26px, 7vw, 33px);
  }

  .mainvis-jumbotron h1 img {
    width: 270px;
  }

  section h2 {
    justify-content: flex-start;
    font-size: 24px;
  }

  .pagetitle h1 {
    font-size: clamp(23px, 6vw, 28px);
  }

  footer > .sitemap-wrap ul {
    float: none !important;
    padding-right: 48px;
  }

  footer > .sitemap-wrap li a {
    display: inline-block;
    min-height: 44px;
  }

  footer > .sitemap-wrap .fa-4x {
    right: 10px;
    bottom: 12px;
    font-size: 42px;
  }
}

@media (max-width: 479.98px) {
  .service-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
