@charset "utf-8";

.service-page {
  color: #000;
  padding-bottom: 0;
}

.service-page *,
.service-page *::before,
.service-page *::after {
  box-sizing: border-box;
}

.service-page > .inner {
  padding-top: 12.1rem;
}

.service-page h1,
.service-page h2,
.service-page h3,
.service-page p,
.service-page figure,
.service-page ol,
.service-page ul {
  margin-top: 0;
}

.service-page h1 {
  margin-bottom: var(--design-heading-gap, 2.6rem);
  font-family: "hiragino sans", "hiragino kaku gothic proN", "Yu Gothic", sans-serif;
  font-size: 3.6rem;
  font-weight: 300;
  line-height: 1.222;
  margin-top: 0;
}

.service-page p {
  font-size: 1.5rem;
  line-height: 2.8rem;
}

.service-copy {
  max-width: 66.2rem;
  margin-bottom: 0;
}

.service-copy p {
  margin-bottom: 0;
}

.service-visual {
  width: 100%;
  margin-bottom: var(--design-space-red);
}

.service-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.service-section {
  scroll-margin-top: 3rem;
}

.service-section h2 {
  margin-bottom: var(--design-heading-gap, 2.6rem);
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 3.6rem;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.222;
}

.service-capability {
  padding-top: var(--design-space-blue);
}

.capability-intro {
  display: grid;
  grid-template-columns: minmax(0, 66.2rem) 29rem;
  gap: 4.8rem;
  align-items: end;
  margin-bottom: var(--design-space-orange);
  justify-content: space-between;
}

.capability-intro p {
  margin-bottom: 0;
}

.capability-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2.4rem;
  margin-bottom: -1rem;
}

.capability-logo {
  display: block;
  width: 16.1rem;
  height: auto;
  flex: 0 0 auto;
}

.capability-logo-tib {
  width: 10.5rem;
  height: 2.5rem;
  /* XD: 105x25, with its top 13px below the JS-Links image frame. */
  transform: translateY(0.35rem);
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem 1rem;
  padding: 0;
  list-style: none;
}

.capability-list li {
  display: flex;
  min-width: 0;
  min-height: 8rem;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.4rem;
  border: .1rem solid #111;
  border-radius: 3rem;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.service-approach {
  padding-top: var(--design-space-blue);
}

.service-lead,
.approach-list,
.service-flow {
  max-width: 66.2rem;
}

.service-lead {
  margin-bottom: var(--design-space-red);
}

.approach-list {
  padding: 0;
  list-style: none;
}

.approach-list > li {
  margin-bottom: var(--design-space-red);
  &:last-child{
    margin-bottom: 0;
  }
}

.approach-list h3 {
  margin-bottom: 1rem;
  padding-bottom: .8rem;
  border-bottom: .1rem solid #111;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 2.6rem;
}

.approach-list p {
  margin-bottom: 0;
}

.approach-list > li:last-child > div {
  width: 67.6rem;
  max-width: calc(100vw - 4rem);
}

.service-page .service-approach-visual {
  width: 100rem;
  max-width: calc(100vw - 4rem);
  margin: var(--design-space-orange) 0 0;
}

.service-flow {
  padding-top: var(--design-space-blue);
}

.flow-list {
  padding: 0;
  list-style: none;
}

.flow-list li {
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr);
  column-gap: 4rem;
  min-height: 12rem;
}

.flow-list h3 {
  position: relative;
  margin: 0;
  padding-right: 1rem;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 2.6rem;
      padding-left: 1.2em;
    text-indent: -1.2em;
}

.flow-list h3::after {
  position: absolute;
  top: 3.6rem;
  bottom: 1.2rem;
  left: .6rem;
  width: .1rem;
  background: #111;
  content: "";
}


.flow-list p {
  margin-bottom: 5rem;
}

.service-contact {
  display: grid;
  grid-template-columns: 16.3rem minmax(0, 1fr);
  gap: 2.4rem;
  min-height: 8rem;
  align-items: center;
  margin-top: -1rem;
  padding: 1.2rem 3.2rem;
  border: .1rem solid #111;
  border-radius: 3rem;
  color: #111;
  font-size: 1.5rem;
  line-height: 2.4rem;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}

.service-contact strong {
  font-size: 1.8rem;
  font-weight: 400;
}

.service-contact:hover,
.service-contact:focus-visible {
  color: #fff;
  background: #111;
}

@media screen and (max-width: 767px) {
  .service-page {
    padding-bottom: 10rem;
  }

  .service-page > .inner {
    width: 100%;
    padding-top: 5rem;
  }

  .service-page h1,
  .service-section h2 {
    font-size: 2.8rem;
    line-height: 1.222;
  }

  .service-page h1 {
    margin-bottom: var(--design-heading-gap, 2.6rem);
  }

  .service-page p {
    font-size: 1.5rem;
    line-height: 2.8rem;
  }

  .service-capability {
    padding-top: 10rem;
  }

  .capability-intro {
    display: block;
    margin-bottom: 4rem;
  }

  .capability-logos {
    gap: 2rem;
    margin: 3rem 0 0 auto;
  }

  .capability-logo {
    width: 14rem;
  }

  .capability-logo-tib {
    width: 9.1rem;
    height: 2.17rem;
    transform: translateY(0.3rem);
  }

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

  .capability-list li {
    min-height: 6.4rem;
    padding: .8rem 1rem;
    font-size: 1.5rem;
  }

  .service-approach {
    padding-top: 12rem;
  }

  .service-lead {
    margin-bottom: 5rem;
  }

  .approach-list > li {
    margin-bottom: 5rem;
  }

  .approach-list h3,
  .flow-list h3 {
    font-size: 1.8rem;
  }

  .service-page .service-approach-visual {
    width: 100%;
    max-width: none;
    margin-top: var(--design-space-orange);
  }

  .service-flow {
    padding-top: 10rem;
  }

  .approach-list > li:last-child > div {
    width: 100%;
    max-width: 100%;
  }

  .flow-list li {
    display: block;
    min-height: 0;
    margin-bottom: 5rem;
    padding-left: 1.8rem;
    border-left: .1rem solid #111;
  }

  .flow-list h3 {
    margin-bottom: 1.6rem;
  }

  .flow-list h3::after {
    display: none;
  }

  .flow-list p {
    margin-bottom: 0;
  }

  .service-contact {
    display: block;
    margin-top: 7rem;
    padding: 2.2rem 3rem;
    border-radius: 1rem;
  }

  .service-contact strong {
    display: block;
    margin-bottom: 1rem;
  }
}
