.service {
  --navy: #002d68;
  --blue: #0063ce;
  --pale: #f2f7fc;
  color: #082b57;
  font-family: "Noto Sans JP", sans-serif;
  overflow: hidden;
}
.service * {
  box-sizing: border-box;
}
.service img {
  display: block;
  max-width: 100%;
  height: auto;
}
.service-container {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}
.service-heading p,
.service-eyebrow {
  margin: 0 0 9px;
  color: #3976c7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.service-heading p:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 12px;
  background: #1673d1;
}
.service-heading h2 {
  margin: 0;
  color: #102b4e;
  font-family: serif;
  font-size: 36px;
  letter-spacing: 0.08em;
}
.service-hero {
  position: relative;
  overflow: hidden;
  min-height: 570px;
  background: linear-gradient(105deg, #fff 35%, #f6faff 100%);
}
.service-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 43% 57%;
  align-items: center;
  min-height: 570px;
}
.service-hero__copy {
  position: relative;
  z-index: 2;
  padding: 58px 0;
}
.service-hero__copy h2 {
  position: relative;
  width: max-content;
  max-width: 144%;
  margin: 0 0 22px;
  color: #111;
  font-family: serif;
  font-size: 50px;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.07em;
}
.service-hero__copy h2 em {
  color: #075db9;
  font-style: normal;
}
.service-hero__title-text {
  display: inline;
  background: #fff;
  padding: 0.04em 0.14em 0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.service-hero__lead {
  margin: 0 0 28px;
  color: #425873;
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
}
.service-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 200px;
  padding: 16px 20px;
  border-radius: 2px;
  background: #003878;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 7px 15px rgba(0, 48, 107, 0.15);
}
.service-hero__visual {
  position: absolute;
  top: 50%;
  right: -3%;
  z-index: 1;
  width: 64%;
  transform: translateY(-50%);
}
.service-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}
.service-flow {
  display: grid;
  grid-template-columns: minmax(270px, 28%) 1fr;
  min-height: 285px;
  border-top: 1px solid #dce5ef;
  border-bottom: 1px solid #dce5ef;
}
.service-flow__intro {
  padding: 42px max(35px, calc((100vw - 1180px) / 2));
  background: linear-gradient(135deg, #003879, #0055a7);
  color: #fff;
}
.service-flow__intro h2 {
  margin: 0 0 18px;
  color: #fff;
  font-family: serif;
  font-size: 27px;
  line-height: 1.5;
  letter-spacing: 0.08em;
}
.service-flow__intro p {
  margin: 0;
  color: #fff;
  font-size: 12px;
  line-height: 1.8;
}
.service-flow__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-flow__list li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 15px 0;
  text-align: center;
}
.service-flow__list li:not(:last-child):after {
  content: "›";
  position: absolute;
  top: 47%;
  right: -7px;
  color: #1e72d4;
  font-size: 45px;
  font-weight: 200;
}
.service-flow__number {
  position: absolute;
  top: 8px;
  color: #edf2f9;
  font-family: serif;
  font-size: 58px;
  font-style: italic;
}
.service-flow__list h3 {
  position: relative;
  margin: 35px 0 8px;
  font-family: serif;
  font-size: 17px;
}
.service-flow__list p {
  position: relative;
  margin: 0;
  font-size: 11px;
  line-height: 1.7;
}
.service-flow__list img {
  width: 180px;
  height: 100px;
  margin-top: auto;
  object-fit: contain;
}
.service-strengths {
  padding: 70px 0 75px;
  background: #fff;
}
.service-strengths__diagram {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: center;
  margin-top: 10px;
}
.service-strengths__column {
  display: grid;
  gap: 45px;
}
.service-strengths__column article {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.service-lineicon {
  display: grid;
  flex: 0 0 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #7aade3;
  border-radius: 50%;
  color: #0870d7;
  font-size: 18px;
}
.service-strengths__column h3 {
  margin: 0 0 5px;
  font-size: 14px;
}
.service-strengths__column p {
  margin: 0;
  color: #52677e;
  font-size: 10px;
  line-height: 1.7;
}
.service-strengths__map img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
}
.service-services {
  padding: 55px 0 0;
  background: #f6f9fc;
}
.service-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}
.service-service-card {
  min-width: 0;
  background: #fff;
}
.service-service-card > img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-service-card__body {
  min-height: 285px;
  padding: 22px 40px 34px;
}
.service-service-card__body > span {
  display: block;
  color: #1471ce;
  font-family: serif;
  font-size: 30px;
  font-style: italic;
}
.service-service-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.service-service-card p {
  min-height: 46px;
  margin: 0 0 16px;
  color: #4b6077;
  font-size: 11px;
  line-height: 1.7;
}
.service-service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-service-card li {
  border-bottom: 1px solid #dbe3ec;
}
.service-service-card a {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  color: #0d386a !important;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none !important;
}
.service-service-card--blue {
  background: linear-gradient(135deg, #0068cc, #003875);
  color: #fff;
}
.service-service-card--blue .service-service-card__body > span,
.service-service-card--blue h3,
.service-service-card--blue p,
.service-service-card--blue a {
  color: #fff !important;
}
.service-service-card--blue li {
  border-color: rgba(255, 255, 255, 0.35);
}
.service-value {
  padding: 48px 0;
  background: radial-gradient(circle at 30% 40%, #07589e, #00326e 55%, #002550);
  color: #fff;
}
.service-value__inner {
  display: grid;
  grid-template-columns: 47% 53%;
  align-items: center;
}
.service-value__visual img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}
.service-heading--light p,
.service-heading--light h2 {
  color: #fff;
}
.service-heading--light h2 {
  font-size: 31px;
  line-height: 1.45;
}
.service-value__content > p {
  margin: 14px 0 25px;
  color: #dceafa;
  font-size: 10px;
  line-height: 1.7;
}
.service-value__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.service-value__points article {
  padding: 0 20px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}
.service-value__points article:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}
.service-value__points span {
  display: grid;
  width: 45px;
  height: 45px;
  margin: 0 auto 8px;
  place-items: center;
  border: 1px solid #92c8fa;
  border-radius: 50%;
  font-size: 22px;
}
.service-value__points h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 13px;
}
.service-value__points p {
  margin: 0;
  color: #dceafa;
  font-size: 9px;
  line-height: 1.6;
}
@media (max-width: 991px) {
  .service-hero__copy h2 {
    font-size: 36px;
  }
  .service-flow {
    grid-template-columns: 1fr;
  }
  .service-flow__intro {
    padding: 35px 8%;
    text-align: center;
  }
  .service-strengths__diagram {
    grid-template-columns: 1fr 1fr;
  }
  .service-strengths__map {
    grid-column: 1/-1;
    grid-row: 1;
  }
  .service-strengths__map img {
    max-height: 300px;
    margin: auto;
  }
  .service-value__inner {
    grid-template-columns: 40% 60%;
  }
}
@media (max-width: 767px) {
  .service-container {
    width: calc(100% - 36px);
  }
  .service-hero__inner {
    display: flex;
    min-height: auto;
    flex-direction: column;
  }
  .service-hero__copy {
    width: 100%;
    padding: 45px 0 20px;
  }
  .service-hero__copy h2 {
    width: auto;
    max-width: 100%;
    font-size: 25px;
    line-height: 1.6;
  }
  .service-hero__title-text {
    background: transparent;
    padding: 0;
  }
  .service-hero__lead {
    font-size: 12px;
    line-height: 1.9;
  }
  .service-hero__visual {
    position: static;
    width: auto;
    right: auto;
    transform: none;
  }
  .service-hero__visual img {
    width: 110%;
    margin: 0 -5%;
  }
  .service-flow__list {
    grid-template-columns: 1fr;
  }
  .service-flow__list li {
    min-height: 250px;
    padding-top: 15px;
    border-bottom: 1px solid #e4ebf3;
  }
  .service-flow__list li:not(:last-child):after {
    top: auto;
    right: calc(50% - 9px);
    bottom: -23px;
    z-index: 2;
    transform: rotate(90deg);
    background: #fff;
  }
  .service-flow__list img {
    height: 115px;
  }
  .service-strengths {
    padding: 50px 0;
  }
  .service-heading h2 {
    font-size: 29px;
  }
  .service-strengths__diagram {
    display: flex;
    flex-direction: column;
  }
  .service-strengths__map {
    order: -1;
  }
  .service-strengths__column {
    width: 100%;
    gap: 25px;
    margin-top: 25px;
  }
  .service-strengths__column p br {
    display: none;
  }
  .service-services__grid {
    grid-template-columns: 1fr;
  }
  .service-service-card > img {
    height: 200px;
  }
  .service-service-card__body {
    min-height: 0;
    padding: 22px 28px 30px;
  }
  .service-value {
    padding: 45px 0;
  }
  .service-value__inner {
    grid-template-columns: 1fr;
  }
  .service-value__visual img {
    max-height: 270px;
  }
  .service-heading--light h2 {
    font-size: 25px;
  }
  .service-value__points {
    gap: 10px;
  }
  .service-value__points article {
    padding: 0 5px;
  }
  .service-value__content > p br {
    display: none;
  }
}

/* Make service destinations clearly identifiable and pleasantly interactive. */
.service-service-card li {
  padding: 5px 0;
  border-color: #d9e5f0;
}

.service-service-card a,
.service-service-card--blue a {
  position: relative;
  align-items: center;
  min-height: 48px;
  padding: 10px 10px 10px 18px;
  overflow: hidden;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    #f1f7fd 0%,
    rgba(241, 247, 253, 0.35) 100%
  );
  color: #0d386a !important;
  font-weight: 700;
  text-decoration: none !important;
  transition:
    color 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.service-service-card a::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: #1680db;
  content: "";
  transition:
    width 0.22s ease,
    background-color 0.22s ease;
}

.service-service-card a > span[aria-hidden="true"] {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-left: 12px;
  place-items: center;
  border: 1px solid #9fc6e9;
  border-radius: 50%;
  background: #fff;
  color: #076ac7;
  line-height: 1;
  transition:
    color 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease;
}

.service-service-card a:hover {
  background: #086bc8;
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(0, 81, 164, 0.18);
  transform: translateY(-1px);
}

.service-service-card a:hover::before {
  width: 5px;
  background: #61c2ff;
}

.service-service-card a:hover > span[aria-hidden="true"] {
  border-color: #fff;
  background: #fff;
  color: #086bc8;
  transform: translateX(3px);
}

.service-service-card a:focus-visible {
  outline: 3px solid rgba(8, 107, 200, 0.35);
  outline-offset: 2px;
}
.service-flow__intro {
  padding-right: 35px;
  padding-left: max(35px, calc((100vw - 1440px) / 2));
}

/* Mockup-faithful service montage */
@media (min-width: 768px) {
  .service-services {
    position: relative;
    padding-top: 48px;
    background: #f7fafd;
  }

  .service-services .service-container {
    width: min(1440px, 100%);
  }

  .service-services .service-heading {
    position: absolute;
    z-index: 8;
    top: 52px;
    left: max(38px, calc((100vw - 1440px) / 2 + 38px));
  }

  .service-services__grid {
    grid-template-columns: 36% 34% 34%;
    width: calc(100% + 4%);
    margin-top: 0;
  }

  .service-service-card {
    position: relative;
    overflow: visible;
    background: transparent;
  }

  .service-service-card:nth-child(1) {
    z-index: 3;
  }
  .service-service-card:nth-child(2) {
    z-index: 2;
    margin-left: -8%;
  }
  .service-service-card:nth-child(3) {
    z-index: 1;
    margin-left: -8%;
  }

  .service-service-card > img {
    position: relative;
    z-index: 2;
    height: 250px;
  }

  .service-service-card:nth-child(1) > img {
    clip-path: polygon(30% 0, 100% 0, 91% 100%, 0 70%, 0 44%);
  }

  .service-service-card:nth-child(2) > img {
    clip-path: polygon(10% 0, 100% 0, 89% 100%, 0 100%);
  }

  .service-service-card:nth-child(3) > img {
    clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%);
  }

  .service-service-card__body {
    position: relative;
    z-index: 3;
    min-height: 315px;
    margin-top: -35px;
    padding: 52px 14% 36px 17%;
    background: #fff;
    clip-path: polygon(0 0, 91% 10%, 100% 100%, 0 100%);
  }

  .service-service-card:nth-child(2) .service-service-card__body {
    padding-left: 19%;
    clip-path: polygon(9% 0, 89% 0, 100% 100%, 0 100%);
    box-shadow: inset 1px 0 0 #e1e8f0;
  }

  .service-service-card:nth-child(3) .service-service-card__body {
    padding-right: 16%;
    padding-left: 20%;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
    background: linear-gradient(135deg, #0874d8 0%, #004e9e 50%, #00366f 100%);
  }

  .service-service-card__body > span {
    line-height: 1;
  }

  .service-service-card h3 {
    margin-top: 4px;
    font-size: 21px;
  }
}

@media (min-width: 768px) and (max-width: 1050px) {
  .service-services__grid {
    grid-template-columns: 36% 35% 35%;
  }
  .service-service-card > img {
    height: 205px;
  }
  .service-service-card__body {
    padding-right: 11%;
    padding-left: 13%;
  }
  .service-service-card:nth-child(2) .service-service-card__body {
    padding-left: 16%;
  }
  .service-service-card:nth-child(3) .service-service-card__body {
    padding-left: 18%;
  }
  .service-service-card h3 {
    font-size: 17px;
  }
  .service-service-card p {
    font-size: 10px;
  }
}

/* Page-level alignment with the supplied mockup */
.page-header {
  display: none;
}

.service-hero__visual,
.service-flow__list li,
.service-strengths__map,
.service-service-card,
.service-value__visual {
  background-repeat: no-repeat;
  background-position: center;
}

@media (min-width: 1200px) {
  .service-container {
    width: min(1720px, calc(100% - 48px));
  }

  .service-hero__copy h2 {
    max-width: clamp(1150px, calc(1150px + (100vw - 1280px) * 0.41), 1430px);
    font-size: clamp(42px, calc(22px + 1.6vw), 52px);
    letter-spacing: 0.075em;
  }

  .service-hero__lead {
    font-size: 14px;
  }

  .service-hero__visual {
    right: -4%;
    width: 66%;
  }

  .service-flow__intro {
    padding-left: max(42px, calc((100vw - 1720px) / 2));
  }

  .service-strengths__diagram {
    grid-template-columns: 1fr 1.25fr 1fr;
  }

  .service-services .service-container {
    width: min(1720px, 100%);
  }

  .service-services .service-heading {
    left: max(42px, calc((100vw - 1720px) / 2 + 42px));
  }
}

/* Services redesign: clear, independent cards with consistent information hierarchy. */
@media (min-width: 768px) {
  .service-services {
    min-height: 0;
    padding: 76px 0 88px;
    background:
      linear-gradient(
        135deg,
        rgba(0, 93, 185, 0.035) 0 32%,
        transparent 32% 100%
      ),
      #f3f7fb;
  }

  .service-services .service-container {
    width: min(1320px, calc(100% - 64px));
  }

  .service-services .service-heading {
    position: static;
    width: auto;
    margin: 0 0 34px;
    padding: 0;
    background: transparent;
    clip-path: none;
  }

  .service-services .service-heading h2 {
    font-size: 40px;
  }

  .service-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
    margin: 0;
  }

  .service-service-card,
  .service-service-card:nth-child(1),
  .service-service-card:nth-child(2),
  .service-service-card:nth-child(3) {
    position: relative;
    z-index: auto;
    display: flex;
    overflow: hidden;
    min-width: 0;
    margin: 0;
    flex-direction: column;
    border: 1px solid #dce6f0;
    border-top: 4px solid #0870cf;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(14, 47, 83, 0.09);
  }

  .service-service-card:nth-child(3) {
    border-color: #0757a6;
    border-top-color: #53b6ff;
  }

  .service-service-card > img,
  .service-service-card:nth-child(1) > img,
  .service-service-card:nth-child(2) > img,
  .service-service-card:nth-child(3) > img {
    position: relative;
    z-index: auto;
    width: 100%;
    height: 245px;
    clip-path: none;
    object-fit: cover;
  }

  .service-service-card__body,
  .service-service-card:nth-child(2) .service-service-card__body,
  .service-service-card:nth-child(3) .service-service-card__body {
    position: relative;
    z-index: auto;
    display: flex;
    min-height: 330px;
    margin: 0;
    padding: 30px 34px 32px;
    flex: 1;
    flex-direction: column;
    background: #fff;
    clip-path: none;
    box-shadow: none;
  }

  .service-service-card:nth-child(3) .service-service-card__body {
    background: linear-gradient(145deg, #0872d1 0%, #0053a7 50%, #00346f 100%);
  }

  .service-service-card__body > span {
    display: inline-grid;
    width: 54px;
    height: 32px;
    margin: -48px 0 18px;
    place-items: center;
    border-radius: 2px;
    background: #fff;
    color: #076ac7;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 5px 16px rgba(0, 44, 93, 0.14);
  }

  .service-service-card:nth-child(3) .service-service-card__body > span {
    background: #e7f5ff;
    color: #0057ad !important;
  }

  .service-service-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.45;
  }

  .service-service-card p {
    min-height: 0;
    margin: 0 0 23px;
    font-size: 12px;
    line-height: 1.9;
  }

  .service-service-card ul {
    margin-top: auto;
  }

  .service-service-card li {
    border-bottom: 1px solid #dbe5ef;
  }

  .service-service-card li:first-child {
    border-top: 1px solid #dbe5ef;
  }

  .service-service-card a {
    padding: 12px 2px;
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .service-services {
    padding: 50px 0 58px;
  }

  .service-services__grid {
    gap: 20px;
  }

  .service-service-card {
    overflow: hidden;
    border: 1px solid #dce6f0;
    border-top: 4px solid #0870cf;
    border-radius: 5px;
    box-shadow: 0 10px 25px rgba(14, 47, 83, 0.09);
  }

  .service-service-card:nth-child(3) {
    border-color: #0757a6;
    border-top-color: #53b6ff;
  }
}

/* Accessibility baseline: no readable copy on this page is smaller than 16px. */
.service-heading p,
.service-eyebrow,
.service-hero__lead,
.service-button,
.service-flow__intro p,
.service-flow__list p,
.service-strengths__column h3,
.service-strengths__column p,
.service-service-card p,
.service-service-card a,
.service-value__content > p,
.service-value__points h3,
.service-value__points p {
  font-size: 16px;
}

/* Blend the map artwork's pale-blue canvas into the strengths section. */
.service-strengths {
  background: linear-gradient(135deg, #fbfcfe 0%, #f5f8fd 48%, #eef4fc 100%);
}

.service-strengths__map img {
  -webkit-mask-image: radial-gradient(
    ellipse 84% 80% at center,
    #000 52%,
    rgba(0, 0, 0, 0.72) 72%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 84% 80% at center,
    #000 52%,
    rgba(0, 0, 0, 0.72) 72%,
    transparent 100%
  );
}

@media (max-width: 767px) {
  .service-value__visual {
    width: calc(100% + 36px);
    max-width: none;
    margin-left: -18px;
  }

  .service-value__visual img {
    width: 100%;
    max-width: 100%;
  }

  .service-value__visual img {
    height: auto;
    max-height: none;
    object-fit: contain;
  }
}

/* Desktop proportions matched to mock3.png (935 x 1683 export). */
@media (min-width: 1200px) {
  .service-hero,
  .service-hero__inner {
    min-height: 755px;
  }

  .service-hero__copy {
    padding-top: 86px;
    padding-bottom: 86px;
  }

  .service-flow {
    min-height: 420px;
  }

  .service-flow__intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .service-flow__list li {
    padding-top: 48px;
  }

  .service-flow__number {
    top: 18px;
    font-size: 72px;
  }

  .service-flow__list h3 {
    margin-top: 58px;
    font-size: 19px;
  }

  .service-flow__list p {
    font-size: 12px;
  }

  .service-flow__list img {
    width: 300px;
    height: 185px;
    margin-bottom: 8px;
  }

  .service-strengths {
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .service-strengths__diagram {
    margin-top: -18px;
  }

  .service-strengths__column:first-child article {
    width: min(100%, 410px);
    justify-self: end;
  }

  .service-strengths__column:last-child article {
    width: min(100%, 410px);
    justify-self: start;
  }

  .service-strengths__column:first-child {
    padding-right: 24px;
  }

  .service-strengths__column:last-child {
    padding-left: 24px;
  }

  .service-strengths__map img {
    max-height: 420px;
  }

  .service-services {
    min-height: 640px;
  }

  .service-service-card > img {
    height: 270px;
  }

  .service-service-card:nth-child(1) > img {
    clip-path: polygon(18% 0, 100% 0, 89% 100%, 0 72%, 0 58%, 15% 58%);
  }

  .service-service-card:nth-child(2) > img {
    clip-path: polygon(12% 0, 100% 0, 87% 100%, 0 100%);
  }

  .service-service-card:nth-child(3) > img {
    clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
  }

  .service-services .service-heading {
    top: 57px;
    width: 235px;
    padding: 8px 28px 15px 0;
    background: #f7fafd;
    clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
  }

  .service-service-card__body {
    min-height: 322px;
  }

  .service-value {
    min-height: 438px;
    padding-top: 39px;
    padding-bottom: 39px;
    background: #001d4d;
  }

  .service-value__inner {
    grid-template-columns: 39% 61%;
  }

  .service-value__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }

  .service-value__visual img {
    width: 540px;
    height: 390px;
    max-width: 92%;
    max-height: 390px;
    object-fit: fill;
    filter: saturate(0.96) contrast(1.02);
  }
}

/* Keep the redesigned services layout authoritative over the legacy mock rules. */
@media (min-width: 1200px) {
  .service-services {
    min-height: 0;
  }

  .service-services .service-heading {
    top: auto;
    width: auto;
    padding: 0;
    background: transparent;
    clip-path: none;
  }

  .service-service-card > img,
  .service-service-card:nth-child(1) > img,
  .service-service-card:nth-child(2) > img,
  .service-service-card:nth-child(3) > img {
    height: 245px;
    clip-path: none;
  }

  .service-service-card__body {
    min-height: 330px;
  }
}

/* Equal-weight editorial treatment for the three service areas. */
@media (min-width: 768px) {
  .service-services {
    padding-bottom: 104px;
    background:
      linear-gradient(
        132deg,
        rgba(0, 91, 181, 0.045) 0 24%,
        transparent 24% 100%
      ),
      #f4f8fc;
  }

  .service-services__grid {
    gap: 10px;
  }

  .service-service-card,
  .service-service-card:nth-child(1),
  .service-service-card:nth-child(2),
  .service-service-card:nth-child(3) {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .service-service-card > img,
  .service-service-card:nth-child(1) > img,
  .service-service-card:nth-child(2) > img,
  .service-service-card:nth-child(3) > img {
    height: 270px;
    border-radius: 4px 4px 0 0;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  }

  .service-service-card__body,
  .service-service-card:nth-child(2) .service-service-card__body,
  .service-service-card:nth-child(3) .service-service-card__body {
    width: calc(100% - 34px);
    min-height: 330px;
    margin: -34px 17px 0;
    padding: 34px 32px 30px;
    border-top: 3px solid #0870cf;
    border-radius: 0 0 4px 4px;
    background: rgba(255, 255, 255, 0.98);
    color: #082b57;
    box-shadow: 0 18px 40px rgba(17, 50, 87, 0.12);
  }

  .service-service-card__body > span,
  .service-service-card:nth-child(3) .service-service-card__body > span {
    position: absolute;
    top: -25px;
    left: 28px;
    display: grid;
    width: 58px;
    height: 50px;
    margin: 0;
    place-items: center;
    border: 1px solid #c9ddf1;
    border-radius: 50% 50% 50% 8px;
    background: #fff;
    color: #086bc8 !important;
    font-family: serif;
    font-size: 22px;
    font-style: italic;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(0, 55, 112, 0.13);
  }

  .service-service-card h3,
  .service-service-card--blue h3 {
    margin: 8px 0 12px;
    color: #0b315f !important;
  }

  .service-service-card p,
  .service-service-card--blue p {
    color: #4b6077 !important;
  }

  .service-service-card li,
  .service-service-card li:first-child,
  .service-service-card--blue li {
    border-color: #dbe5ef;
  }

  .service-service-card a,
  .service-service-card--blue a {
    color: #0d386a !important;
  }
}

@media (max-width: 767px) {
  .service-service-card,
  .service-service-card:nth-child(3) {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .service-service-card > img {
    height: 220px;
    border-radius: 4px 4px 0 0;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  }

  .service-service-card__body,
  .service-service-card:nth-child(3) .service-service-card__body {
    width: calc(100% - 20px);
    margin: -24px 10px 0;
    padding: 32px 28px 28px;
    border-top: 3px solid #0870cf;
    border-radius: 0 0 4px 4px;
    background: #fff;
    color: #082b57;
    box-shadow: 0 12px 28px rgba(17, 50, 87, 0.12);
  }

  .service-service-card--blue .service-service-card__body > span,
  .service-service-card--blue h3,
  .service-service-card--blue p,
  .service-service-card--blue a {
    color: inherit !important;
  }

  .service-service-card--blue .service-service-card__body > span {
    color: #1471ce !important;
  }

  .service-service-card--blue li {
    border-color: #dbe5ef;
  }
}

/* Final type-size guard after all responsive component rules. */
.service-heading p,
.service-eyebrow,
.service-hero__lead,
.service-button,
.service-flow__intro p,
.service-flow__list p,
.service-strengths__column h3,
.service-strengths__column p,
.service-service-card p,
.service-service-card a,
.service-value__content > p,
.service-value__points h3,
.service-value__points p {
  font-size: 16px;
}

.service-service-card a,
.service-service-card--blue a {
  padding-right: 10px;
  padding-left: 20px;
}

/* ============================================================
   下層ページ（サービス詳細）共通スタイル
   対象: /service/haken/, /shokai/, /offsite/, /onsite/,
         /nencho-chosei/, /hibarai/, /it-chotatsu/
   トップページ（.service-heading, --navy/--blue/--pale など）と
   同じトーン&マナーで、各ページの本文構成に合わせて再利用する。
   ============================================================ */

/* パンくず + 見出し + リード + ビジュアルのヒーロー */
.service-detail-hero {
  padding: 46px 0 0;
  background: linear-gradient(105deg, #fff 35%, #f6faff 100%);
}
.service-detail-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  color: #6c86a3;
  font-size: 12px;
}
.service-detail-hero__breadcrumb li:not(:last-child):after {
  margin-left: 6px;
  color: #9bb6d6;
  content: "\203a";
}
.service-detail-hero__breadcrumb a {
  color: #3976c7;
  text-decoration: none;
}
.service-detail-hero__breadcrumb a:hover {
  text-decoration: underline;
}
.service-detail-hero__inner {
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
  gap: 20px;
  min-height: 380px;
}
.service-detail-hero__copy {
  padding: 10px 0 46px;
}
.service-detail-hero__category {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 14px;
  border: 1px solid #9fc6e9;
  border-radius: 999px;
  color: #0b5bad;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.service-detail-hero__copy h1 {
  margin: 0 0 20px;
  color: #111;
  font-family: serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.06em;
}
.service-detail-hero__lead {
  margin: 0;
  color: #425873;
  font-size: 16px;
  line-height: 2;
}
.service-detail-hero__visual {
  display: flex;
  align-self: stretch;
  align-items: center;
}
.service-detail-hero__visual img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 20px 45px rgba(10, 45, 90, 0.14);
}

/* セクション共通の余白・背景 */
.service-detail-section {
  padding: 64px 0;
}
.service-detail-section--alt {
  background: var(--pale);
}
.service-detail-section__lead {
  max-width: 760px;
  margin: 14px 0 0;
  color: #425873;
  font-size: 16px;
  line-height: 2;
}

/* このような課題はありませんか */
.service-detail-pain__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.service-detail-pain__list li {
  position: relative;
  padding: 18px 20px 18px 50px;
  border: 1px solid #dce5ef;
  border-radius: 6px;
  background: #fff;
  color: #26415f;
  font-size: 15px;
  line-height: 1.8;
}
.service-detail-pain__list li:before {
  position: absolute;
  top: 18px;
  left: 18px;
  color: #c0392b;
  font-family: "Font Awesome 5 Free";
  font-size: 18px;
  font-weight: 900;
  content: "\f059";
}

/* サービス内容の本文・カード群 */
.service-detail-overview__body {
  margin-top: 26px;
  color: #26415f;
  font-size: 16px;
  line-height: 2;
}
.service-detail-overview__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 30px;
}
.service-detail-overview__grid--triple {
  grid-template-columns: repeat(3, 1fr);
}
.service-detail-overview__card {
  padding: 26px 28px;
  border: 1px solid #dce5ef;
  border-top: 3px solid #0870cf;
  border-radius: 6px;
  background: #fff;
}
.service-detail-overview__card h3 {
  margin: 0 0 12px;
  color: #0b315f;
  font-size: 16px;
}
.service-detail-overview__card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-detail-overview__card li {
  position: relative;
  padding: 6px 0 6px 18px;
  color: #4b6077;
  font-size: 14px;
  line-height: 1.8;
}
.service-detail-overview__card li:before {
  position: absolute;
  top: 15px;
  left: 0;
  width: 6px;
  height: 6px;
  background: #1673d1;
  content: "";
}

/* 特徴・導入メリットのアイコングリッド */
.service-detail-points__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 26px;
  margin-top: 30px;
}
.service-detail-points__grid article {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.service-detail-points__grid h3 {
  margin: 0 0 6px;
  color: #0b315f;
  font-size: 15px;
}
.service-detail-points__grid p {
  margin: 0;
  color: #52677e;
  font-size: 13px;
  line-height: 1.8;
}

/* 対応業種・対応業務のタグ */
.service-detail-tags__group {
  margin-top: 28px;
}
.service-detail-tags__group h3 {
  margin: 0 0 14px;
  padding-left: 14px;
  border-left: 4px solid #1673d1;
  color: #0b315f;
  font-size: 16px;
}
.service-detail-tags__group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-detail-tags__group li {
  padding: 9px 18px;
  border: 1px solid #c9ddf1;
  border-radius: 999px;
  background: #fff;
  color: #0d386a;
  font-size: 13px;
  font-weight: 600;
}

/* 提供形態・センター体制などの2〜3カラムカード */
.service-detail-cards__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 30px;
}
.service-detail-cards__grid article {
  padding: 30px 32px;
  border: 1px solid #dce5ef;
  border-radius: 6px;
  background: #fff;
}
.service-detail-cards__grid span {
  display: inline-block;
  margin-bottom: 12px;
  color: #1471ce;
  font-family: serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.service-detail-cards__grid h3 {
  margin: 0 0 10px;
  color: #0b315f;
  font-size: 18px;
}
.service-detail-cards__grid p {
  margin: 0;
  color: #4b6077;
  font-size: 14px;
  line-height: 1.8;
}
.service-detail-cards__grid dl {
  margin: 14px 0 0;
  color: #4b6077;
  font-size: 13px;
}
.service-detail-cards__grid dt {
  color: #0b315f;
  font-weight: 700;
}
.service-detail-cards__grid dd {
  margin: 0 0 8px;
}

/* 活用ケースのチェックリスト */
.service-detail-cases__list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.service-detail-cases__list li {
  position: relative;
  padding: 16px 20px 16px 46px;
  border: 1px solid #dce5ef;
  border-radius: 6px;
  background: #fff;
  color: #26415f;
  font-size: 15px;
  line-height: 1.7;
}
.service-detail-cases__list li:before {
  position: absolute;
  top: 16px;
  left: 18px;
  color: #1673d1;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f00c";
}

/* 導入の流れ（ステップ） */
.service-detail-flow__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}
.service-detail-flow__list li {
  position: relative;
  padding: 0 18px;
  text-align: center;
}
.service-detail-flow__list li:before {
  counter-increment: flow;
  content: counter(flow);
  display: grid;
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 50%;
  background: #0063ce;
  color: #fff;
  font-family: serif;
  font-size: 16px;
  font-weight: 700;
}
.service-detail-flow__list li:not(:last-child):after {
  content: "";
  position: absolute;
  top: 20px;
  right: -6%;
  width: 12%;
  border-top: 2px dashed #b7cfe9;
}
.service-detail-flow__list p {
  margin: 0;
  color: #26415f;
  font-size: 13px;
  line-height: 1.7;
}

/* 導入の進め方（本文タイプ） */
.service-detail-process {
  margin-top: 26px;
  padding: 28px 32px;
  border-left: 4px solid #1673d1;
  border-radius: 6px;
  background: #fff;
  color: #26415f;
  font-size: 15px;
  line-height: 2;
}
.service-detail-process p {
  margin: 0 0 12px;
}
.service-detail-process p:last-child {
  margin-bottom: 0;
}

/* 補足 */
.service-detail-note {
  margin-top: 34px;
  padding: 22px 26px;
  border-left: 4px solid #1673d1;
  background: #f2f7fc;
  color: #26415f;
  font-size: 14px;
  line-height: 1.9;
}

/* ページ下部CTA（お問い合わせ導線） */
.service-detail-cta {
  padding: 60px 0;
  background: radial-gradient(circle at 30% 40%, #07589e, #00326e 55%, #002550);
  color: #fff;
  text-align: center;
}
.service-detail-cta h2 {
  margin: 0 0 14px;
  color: #fff;
  font-family: serif;
  font-size: 26px;
}
.service-detail-cta p {
  margin: 0 0 30px;
  color: #dceafa;
  font-size: 14px;
}
.service-detail-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.service-detail-cta__buttons a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}
.service-detail-cta__buttons .is-primary {
  background: #fff;
  color: #003878 !important;
}
.service-detail-cta__buttons .is-secondary {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff !important;
}

/* ------------------------------------------------------------
   下層ページ 追加ビジュアル（コンセプト図解 / カテゴリアイコン / 拠点写真）
   トップページの写真+アイソメトリック・イラスト併用のトーンを
   下層ページにも展開し、テキストに偏らないよう視覚要素を補強する。
   ------------------------------------------------------------ */

/* サービス概要を挟む「コンセプト図解」セクション（写真/イラスト＋見出し＋本文の2カラム） */
.service-detail-concept {
  padding: 60px 0;
}
.service-detail-concept--alt {
  background: var(--pale);
}
.service-detail-concept__inner {
  display: grid;
  grid-template-columns: 44% 56%;
  align-items: center;
  gap: 44px;
}
.service-detail-concept--reverse .service-detail-concept__inner {
  grid-template-columns: 56% 44%;
}
.service-detail-concept--reverse .service-detail-concept__visual {
  order: 2;
}
.service-detail-concept__visual img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(10, 45, 90, 0.12);
}
.service-detail-concept__copy p {
  margin: 16px 0 0;
  color: #425873;
  font-size: 16px;
  line-height: 2;
}

/* タグ見出し・カード見出しに添えるアイコンバッジ（対応業種／領域／サービス項目） */
.service-detail-icon-badge {
  display: inline-flex;
  width: 60px;
  height: 60px;
  margin-bottom: 14px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 22px rgba(10, 45, 90, 0.14);
}
.service-detail-icon-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-detail-tags__group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.service-detail-tags__group-head .service-detail-icon-badge {
  margin-bottom: 0;
}
.service-detail-tags__group-head h3 {
  margin: 0;
  padding-left: 0;
  border-left: 0;
}

/* センター体制などの拠点カードに写真を添えるバリエーション */
.service-detail-cards__grid article.has-photo {
  padding: 0;
  overflow: hidden;
}
.service-detail-cards__grid article.has-photo > img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}
.service-detail-cards__body {
  padding: 26px 30px 30px;
}

@media (max-width: 991px) {
  .service-detail-hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .service-detail-overview__grid,
  .service-detail-overview__grid--triple,
  .service-detail-cards__grid {
    grid-template-columns: 1fr;
  }
  .service-detail-points__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-detail-flow__list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }
  .service-detail-flow__list li:not(:last-child):after {
    display: none;
  }
  .service-detail-concept__inner,
  .service-detail-concept--reverse .service-detail-concept__inner {
    grid-template-columns: 1fr;
  }
  .service-detail-concept--reverse .service-detail-concept__visual {
    order: 0;
  }
}
@media (max-width: 767px) {
  .service-detail-hero {
    padding-top: 30px;
  }
  .service-detail-hero__copy {
    padding-bottom: 30px;
  }
  .service-detail-hero__copy h1 {
    font-size: 28px;
  }
  .service-detail-section {
    padding: 46px 0;
  }
  .service-detail-pain__list,
  .service-detail-points__grid,
  .service-detail-flow__list {
    grid-template-columns: 1fr;
  }
  .service-detail-concept {
    padding: 44px 0;
  }
}
/* ------------------------------------------------------------
   /service/haken/ 専用の見せ方調整
   共通の下層ページテンプレート（.service-detail-*）を土台にしつつ、
   情報の性質ごとに表現形式そのものを変える：
     SERVICE    = このページの主役。何を提供しているかの中心情報
     CASE       = どんな課題を持つ企業に適しているか（CONCEPT直後の問いかけ）
     FEATURES   = OLPが提供できること（濃紺の帯＋巨大連番）
     INDUSTRIES = 対応できる職種・領域（罫線区切りの一覧）
     TYPE       = 派遣方法の選択（横並び比較表）
     MERIT      = 導入後に起きる変化（Before→After）。SERVICEに次ぐ
                  補強セクションとしてページ後半でやや大きく見せる
   写真＝人・信頼感（ヒーローのみ）、イラスト＝サービス構造の説明
   （CONCEPT・対応業種アイコン）というルールで統一。
   セクションの並び順：HERO → SERVICE → CONCEPT → CASE → FEATURES →
   INDUSTRIES → TYPE → MERIT（HTML上の実際の並びに準拠）。
   クラスは .service-haken 配下に閉じているため他の下層ページの
   見た目には影響しない。
   ------------------------------------------------------------ */

/* コンテナ幅：トップページ用に1200px以上で1720pxまで広がる .service-container を、
   このページの本文が設計されている1180px幅に固定し直す */
@media (min-width: 1200px) {
  .service-haken .service-container {
    width: min(1180px, calc(100% - 48px));
  }
  /* TYPEの比較表だけは項目名・値がやや窮屈なため、このセクションに限り
     コンテンツ幅を広げて文字サイズ・行間に余裕を持たせる */
  .service-haken .service-detail-matrix-container {
    width: min(1320px, calc(100% - 48px));
  }
}

/* ============================================================
   HERO
   写真は変更せず、文字を写真に重ねない「情報レイヤー」構成のまま、
   ブランド感を強化する：英字ラベル→大見出し「人材派遣」→
   タグライン「必要なときに、必要な人材を、必要な人数だけ。」→
   補足リードの順に情報階層をはっきりさせる。装飾（背景のブロブ等）は
   足さず、タイポグラフィ・余白・写真の斜めトリミングだけで仕上げる。
   ============================================================ */
.service-haken .service-detail-hero {
  position: relative;
  padding-top: 54px;
}
.service-haken .service-detail-hero__breadcrumb {
  margin-bottom: 28px;
}
.service-haken .service-detail-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 540px) 1fr;
  align-items: stretch;
  width: 100%;
  min-height: 520px;
  margin-top: 4px;
  padding-left: max(24px, calc((100vw - 1180px) / 2 + 24px));
}
.service-haken .service-detail-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 36px 0 0;
}
.service-haken .service-detail-hero__eyebrow {
  margin: 0 0 20px;
  color: #3976c7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.service-haken .service-detail-hero__eyebrow:before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: #1673d1;
}
.service-haken .service-detail-hero__copy h1 {
  margin: 0 0 24px;
  color: #0a1f3d;
  font-size: clamp(44px, 5.6vw, 72px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.03em;
}
.service-haken .service-detail-hero__tagline {
  margin: 0 0 22px;
  padding-left: 18px;
  border-left: 3px solid #1673d1;
  color: #0b315f;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.7;
}
.service-haken .service-detail-hero__lead {
  margin: 0 0 30px;
  color: #5a7290;
  font-size: 15px;
  line-height: 1.9;
}
.service-haken .service-detail-hero__visual {
  height: 100%;
}
.service-haken .service-detail-hero__visual img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  clip-path: polygon(4% 0, 100% 0, 100% 100%, 0 100%);
}
.service-haken .service-detail-hero .service-button {
  margin-top: 4px;
}

/* サービス内容：ページの主役となる中心コンテンツ。見出し・本文・余白を
   このページで最大級のスケールにし、HEROの直後で「何を提供している
   サービスか」がひと目で伝わる情報量として見せる */
.service-haken #service-detail-overview {
  padding: 118px 0 130px;
}
.service-haken #service-detail-overview .service-heading p {
  font-size: 13px;
}
.service-haken #service-detail-overview .service-heading h2 {
  font-size: clamp(38px, 4.6vw, 56px);
}
.service-haken .service-detail-overview__lead {
  max-width: 800px;
  margin-top: 40px;
}
.service-haken .service-detail-overview__lead p {
  margin: 0;
  color: #26415f;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 2.05;
}
.service-haken .service-detail-overview__lead p + p {
  margin-top: 18px;
}

/* ============================================================
   CONCEPT → ページ内の看せ場（signature section）
   「人材課題に応じた、最適な配置を。」をこのページ全体を象徴する
   コピーとして扱い、大きめのタイポグラフィと余白を与える。
   イラストはコンテナの外＝ビューポート端まで意図的に流し込み、
   非対称の構図をつくる。情報量そのものの主役はSERVICEに譲るため、
   このセクションのサイズは既存のまま変更しない。
   ============================================================ */
.service-haken .service-detail-brand {
  position: relative;
  overflow: hidden;
  padding: 88px 0 148px;
  background: linear-gradient(180deg, #fff 0%, #eef5fc 100%);
}
.service-haken .service-detail-brand__grid {
  display: grid;
  grid-template-columns: minmax(0, 760px) 1fr;
  align-items: center;
  width: 100%;
  padding-left: max(24px, calc((100vw - 1180px) / 2 + 24px));
}
.service-haken .service-detail-brand__text {
  position: relative;
  z-index: 1;
  padding-right: 28px;
}
.service-haken .service-detail-brand__eyebrow {
  margin: 0 0 22px;
  color: #3976c7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.service-haken .service-detail-brand__eyebrow:before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: #1673d1;
}
.service-haken .service-detail-brand__headline {
  margin: 0 0 34px;
  color: #0a1f3d;
  font-family: serif;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: 0.02em;
}
.service-haken .service-detail-brand__body {
  max-width: 460px;
  margin: 0;
  color: #46617f;
  font-size: 17px;
  line-height: 2.1;
}
/* 見出し・本文とも、意味のまとまり（節・語）の途中で改行されないよう
   単位ごとに折り返し禁止にする。折り返し自体は単位の外側で発生する */
.service-haken .service-detail-brand__nowrap {
  white-space: nowrap;
}
.service-haken .service-detail-brand__visual {
  position: relative;
  min-height: 360px;
}
.service-haken .service-detail-brand__visual img {
  display: block;
  width: min(620px, 94%);
  height: auto;
  margin: 0;
}

/* ============================================================
   FEATURES → 「OLPが提供できること」
   濃紺フルブリードの帯に、行いっぱいの巨大な連番を主役にした一覧。
   偶数行を右寄せに反転させるジグザグで単調さをなくす。
   ============================================================ */
.service-haken .service-detail-features {
  padding: 100px 0;
  background: linear-gradient(135deg, #003879, #0055a7);
  color: #fff;
}
.service-haken .service-detail-features .service-heading {
  max-width: 640px;
}
.service-haken .service-detail-features__list {
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}
.service-haken .service-detail-features__list li {
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.service-haken .service-detail-features__list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.service-haken .service-detail-features__list li:nth-child(even) {
  flex-direction: row-reverse;
  text-align: right;
}
.service-haken .service-detail-features__num {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.2);
  font-family: serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(44px, 5.4vw, 82px);
  line-height: 1;
}
.service-haken .service-detail-features__body h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.4;
}
.service-haken .service-detail-features__body p {
  max-width: 460px;
  margin: 0;
  color: #cfe1f7;
  font-size: 17px;
  line-height: 1.9;
}
.service-haken
  .service-detail-features__list
  li:nth-child(even)
  .service-detail-features__body
  p {
  margin-left: auto;
}

/* ============================================================
   INDUSTRIES → 「対応できる職種・領域」
   丸アイコンバッジ＋カード＋ホバー影というテンプレ的な見せ方はやめ、
   罫線で仕切っただけの静かな一覧に。
   ============================================================ */
.service-haken .service-detail-industries__list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.service-haken .service-detail-industries__list li {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 34px 6px;
  border-top: 1px solid #dce5ef;
}
.service-haken .service-detail-industries__list li:last-child {
  border-bottom: 1px solid #dce5ef;
}
.service-haken .service-detail-industries__index {
  flex: 0 0 40px;
  color: #b9cfe8;
  font-family: serif;
  font-style: italic;
  font-size: 28px;
  line-height: 1;
}
.service-haken .service-detail-industries__list img {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  object-fit: contain;
}
.service-haken .service-detail-industries__mark {
  display: grid;
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  place-items: center;
  gap: 4px;
  padding: 12px;
  border: 1px solid #c9ddf1;
  border-radius: 50%;
  color: #0870cf;
  font-size: 14px;
}
.service-haken .service-detail-industries__list h3 {
  display: flex;
  align-items: baseline;
  gap: 13px;
  margin: 0 0 12px;
  color: #0b315f;
  font-size: 26px;
  font-weight: 700;
}
.service-haken .service-detail-industries__en {
  color: #9ab7dc;
  font-family: sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.service-haken .service-detail-industries__list p {
  margin: 0;
  color: #5c7186;
  font-size: 13px;
  line-height: 1.9;
}

/* アバター（TYPE比較表の見出し行で使用） */
.service-haken .service-detail-compare__avatars {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.service-haken .service-detail-compare__avatar {
  display: grid;
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  place-items: center;
  border: 3px solid #f4f8fc;
  border-radius: 50%;
  background: #cfe1f7;
  color: #0b5bad;
  font-size: 24px;
}
.service-haken
  .service-detail-compare__avatars--team
  .service-detail-compare__avatar {
  margin-left: -16px;
  background: #b7d2ef;
}
.service-haken
  .service-detail-compare__avatars--team
  .service-detail-compare__avatar:first-child {
  margin-left: 0;
}
.service-haken .service-detail-compare__avatar--lead {
  position: relative;
  z-index: 1;
  background: #0870cf;
  color: #fff;
}

/* ============================================================
   TYPE → 「派遣方法の選択」
   2枚の説明カードではなく、違いを一目で比較できる表に。
   モバイルは横スクロールで同じ表を保持する（BtoBの比較表として
   自然な挙動）。
   ============================================================ */
.service-haken .service-detail-matrix {
  margin-top: 20px;
}
.service-haken .service-detail-matrix__scroll {
  overflow-x: auto;
}
.service-haken .service-detail-matrix__row {
  display: grid;
  grid-template-columns: 190px 1fr 1fr;
  min-width: 680px;
  border-top: 1px solid #dce5ef;
}
.service-haken .service-detail-matrix__row:last-child {
  border-bottom: 1px solid #dce5ef;
}
.service-haken .service-detail-matrix__row--head {
  border-top: 0;
  align-items: end;
  gap: 2px;
}
.service-haken .service-detail-matrix__label {
  display: flex;
  align-items: center;
  padding: 24px 16px 24px 4px;
  color: #6c86a3;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.service-haken .service-detail-matrix__col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 28px;
  border-left: 1px solid #e7edf5;
  color: #26415f;
  font-size: 16px;
  line-height: 1.85;
  text-align: center;
}
.service-haken .service-detail-matrix__col--accent {
  background: #f2f7fc;
  font-weight: 600;
}
.service-haken .service-detail-matrix__row--head .service-detail-matrix__col {
  flex-direction: column;
  padding: 30px 20px 26px;
  border-left: 1px solid transparent;
  border-radius: 12px 12px 0 0;
  background: #f7f9fb;
}
.service-haken
  .service-detail-matrix__row--head
  .service-detail-matrix__col--accent {
  background: #eaf2fb;
}
.service-haken .service-detail-matrix__composition {
  margin: 0 0 12px;
  color: #4b6077;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.service-haken .service-detail-matrix__index {
  display: block;
  margin-bottom: 2px;
  color: #9ab7dc;
  font-family: serif;
  font-style: italic;
  font-size: 17px;
}
.service-haken .service-detail-matrix__row--head h3 {
  margin: 0;
  color: #0b315f;
  font-size: 19px;
  font-weight: 700;
}

/* ============================================================
   MERIT → 「導入した企業に起きる変化」
   FEATURES（できること）と重複しないよう、結果・変化だけを見せる。
   左にBEFORE（課題）、矢印でつなぎ、右にAFTER（変化3点）。
   SERVICEに次ぐ補強セクションとして、既定の下層ページセクションより
   ひとまわり大きい余白・文字サイズで見せる（SERVICEほどではない）。
   ============================================================ */
.service-haken .service-detail-merit {
  padding: 78px 0;
}
.service-haken .service-detail-merit .service-heading h2 {
  font-size: clamp(32px, 3.6vw, 42px);
}
.service-haken .service-detail-transform {
  display: grid;
  grid-template-columns: minmax(0, 260px) auto minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  margin-top: 64px;
}
.service-haken .service-detail-transform__before {
  padding: 34px 30px;
  border: 1px solid #e3e6eb;
  border-radius: 10px;
  background: #f4f5f7;
}
.service-haken .service-detail-transform__label {
  display: inline-block;
  margin-bottom: 12px;
  color: #9aa4b2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.service-haken .service-detail-transform__label--accent {
  color: #0870cf;
}
.service-haken .service-detail-transform__before p {
  margin: 0;
  color: #737f8f;
  font-size: 15px;
  line-height: 1.95;
}
.service-haken .service-detail-transform__pivot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.service-haken .service-detail-transform__pivot:before,
.service-haken .service-detail-transform__pivot:after {
  content: "";
  width: 1px;
  height: 22px;
  background: #c7d6e8;
}
.service-haken .service-detail-transform__pivot-badge {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b5bad, #003878);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 12px 26px rgba(11, 49, 95, 0.25);
}
.service-haken .service-detail-transform__after {
  padding: 38px 44px;
  border-left: 4px solid #0870cf;
  border-radius: 4px 14px 14px 4px;
  background: linear-gradient(135deg, #eaf3fd, #dcebfa);
}
.service-haken .service-detail-transform__after ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-haken .service-detail-transform__after h3 {
  margin: 0 0 10px;
  color: #0a1f3d;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.45;
}
.service-haken .service-detail-transform__after p {
  margin: 0;
  color: #3d5977;
  font-size: 14px;
  line-height: 1.85;
}

/* ============================================================
   CASE → 「どんな課題を持つ企業に適しているか」
   CONCEPT直後に配置し、「こんな人員課題はありませんか？」という
   問いかけのもと大きなセリフ書体で見せる。前半に来たことで十分に
   目に留まるため、SERVICEほどの大きさは持たせず、現状よりやや
   コンパクトな余白・文字サイズに調整する。
   ============================================================ */
.service-haken .service-detail-prompt {
  padding: 84px 0 92px;
  background: linear-gradient(160deg, #eef5fc 0%, #dbeaf8 100%);
}
.service-haken .service-detail-prompt .service-heading h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.5;
}
.service-haken .service-detail-prompt__grid {
  display: grid;
  grid-template-columns: minmax(0, 620px) 1fr;
  align-items: center;
  gap: 34px;
}
.service-haken .service-detail-prompt__visual img {
  display: block;
  width: min(420px, 90%);
  height: auto;
  margin: 0 0 0 auto;
}
.service-haken .service-detail-prompt__list {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.service-haken .service-detail-prompt__list li {
  position: relative;
  padding: 22px 0 22px 44px;
  border-top: 1px solid rgba(11, 49, 95, 0.14);
}
.service-haken .service-detail-prompt__list li:last-child {
  border-bottom: 1px solid rgba(11, 49, 95, 0.14);
}
.service-haken .service-detail-prompt__list li:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 28px;
  height: 2px;
  margin-top: -1px;
  background: #0b5bad;
}
.service-haken .service-detail-prompt__list p {
  margin: 0;
  color: #0a1f3d;
  font-family: serif;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 500;
  line-height: 1.5;
}

/* CTA：CASEの問いかけを受けて、コンバージョンポイントとして
   一段存在感を上げる（余白・見出し・ボタンを拡大） */
.service-haken .service-detail-cta {
  padding: 104px 0 112px;
}
.service-haken .service-detail-cta__eyebrow {
  margin: 0 0 16px;
  color: #8ec2f2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.service-haken .service-detail-cta h2 {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(30px, 3.6vw, 44px);
}
.service-haken .service-detail-cta p {
  margin-bottom: 42px;
  font-size: 16px;
}
.service-haken .service-detail-cta__buttons {
  gap: 20px;
}
.service-haken .service-detail-cta__buttons a {
  padding: 19px 40px;
  border-radius: 3px;
  font-size: 16px;
}
.service-haken .service-detail-cta__buttons .is-primary {
  box-shadow: 0 16px 34px rgba(0, 15, 40, 0.22);
}

@media (max-width: 991px) {
  .service-haken .service-detail-hero__inner {
    grid-template-columns: minmax(0, 46%) 1fr;
    min-height: 440px;
  }
  .service-haken #service-detail-overview {
    padding: 88px 0 96px;
  }
  .service-haken .service-detail-brand__grid {
    grid-template-columns: minmax(0, 52%) 1fr;
  }
  .service-haken .service-detail-brand__headline {
    font-size: clamp(32px, 4.5vw, 44px);
  }
  .service-haken .service-detail-transform {
    grid-template-columns: minmax(0, 220px) auto 1fr;
  }
  .service-haken .service-detail-transform__after ul {
    grid-template-columns: 1fr 1fr;
  }
  .service-haken .service-detail-prompt__grid {
    grid-template-columns: minmax(0, 56%) 1fr;
  }
}

@media (max-width: 767px) {
  .service-haken .service-detail-hero__inner {
    display: block;
    min-height: 0;
    margin-top: 0;
    padding-left: 0;
  }
  .service-haken .service-detail-hero__copy {
    padding: 0 18px 40px;
  }
  .service-haken .service-detail-hero__copy h1 {
    font-size: 40px;
  }
  .service-haken .service-detail-hero__tagline {
    font-size: 17px;
  }
  .service-haken .service-detail-hero__visual {
    height: auto;
  }
  .service-haken .service-detail-hero__visual img {
    aspect-ratio: 4 / 3;
    clip-path: none;
  }
  .service-haken .service-detail-industries__list {
    gap: 0;
  }
  .service-haken .service-detail-industries__list li {
    gap: 16px;
    padding: 24px 2px;
  }
  .service-haken .service-detail-industries__index {
    flex-basis: 26px;
    font-size: 20px;
  }
  .service-haken .service-detail-industries__list img,
  .service-haken .service-detail-industries__mark {
    width: 48px;
    height: 48px;
    font-size: 10px;
  }
  .service-haken .service-detail-industries__list h3 {
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: 18px;
  }

  /* SERVICE：主役セクションだが、モバイルでは余白が間延びしすぎない
     スケールに調整する */
  .service-haken #service-detail-overview {
    padding: 56px 0 60px;
  }
  .service-haken #service-detail-overview .service-heading h2 {
    font-size: 30px;
  }
  .service-haken .service-detail-overview__lead {
    margin-top: 24px;
  }
  .service-haken .service-detail-overview__lead p {
    font-size: 16px;
    line-height: 1.9;
  }
  .service-haken .service-detail-overview__lead p + p {
    margin-top: 14px;
  }

  /* CONCEPT：非対称の余白ブリードをやめ、縦積みに */
  .service-haken .service-detail-brand {
    padding: 64px 0 58px;
  }
  .service-haken .service-detail-brand__grid {
    display: block;
    padding-left: 0;
  }
  .service-haken .service-detail-brand__text {
    padding: 0 18px;
  }
  .service-haken .service-detail-brand__headline {
    font-size: clamp(28px, 8vw, 36px);
  }
  .service-haken .service-detail-brand__body {
    max-width: none;
  }
  .service-haken .service-detail-brand__visual {
    min-height: 0;
    margin-top: 36px;
    padding: 0 18px;
  }
  .service-haken .service-detail-brand__visual img {
    width: 100%;
  }

  /* FEATURES：ジグザグ反転を解除して縦積みに */
  .service-haken .service-detail-features {
    padding: 60px 0;
  }
  .service-haken .service-detail-features__list li,
  .service-haken .service-detail-features__list li:nth-child(even) {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
  }
  .service-haken .service-detail-features__num {
    font-size: 46px;
  }
  .service-haken
    .service-detail-features__list
    li:nth-child(even)
    .service-detail-features__body
    p {
    margin-left: 0;
  }

  /* MERIT：BEFORE→導入→AFTERを縦積みに。現状よりやや大きい見せ方を
     モバイルでも維持しつつ、縦方向に間延びしない範囲で調整 */
  .service-haken .service-detail-merit {
    padding: 54px 0;
  }
  .service-haken .service-detail-transform {
    grid-template-columns: 1fr;
    justify-items: center;
    margin-top: 44px;
    text-align: center;
  }
  .service-haken .service-detail-transform__after {
    width: 100%;
  }
  .service-haken .service-detail-transform__after ul {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* TYPE：横スクロール表のままだと2列目が隠れて気付かれにくいため、
     行＝比較項目、値の頭に「通常派遣：」「ユニット派遣：」を付けて
     縦積みにする（データが欠けて見えることを避ける） */
  .service-haken .service-detail-matrix__scroll {
    overflow-x: visible;
  }
  .service-haken .service-detail-matrix__row {
    display: block;
    min-width: 0;
    padding: 20px 0;
  }
  .service-haken .service-detail-matrix__row--head {
    display: none;
  }
  .service-haken .service-detail-matrix__label {
    padding: 0 0 10px;
    font-size: 12px;
  }
  .service-haken .service-detail-matrix__col {
    display: block;
    padding: 8px 0 8px 14px;
    border-left: 2px solid #dce5ef;
    text-align: left;
  }
  .service-haken .service-detail-matrix__col--accent {
    border-left-color: #0870cf;
    background: transparent;
  }
  .service-haken .service-detail-matrix__col:before {
    display: block;
    margin-bottom: 2px;
    color: #6c86a3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    content: attr(data-label);
  }

  /* CASE：余白を詰めて見出しサイズを調整。画像は縦積みで上に */
  .service-haken .service-detail-prompt {
    padding: 52px 0 56px;
  }
  .service-haken .service-detail-prompt__grid {
    display: block;
  }
  .service-haken .service-detail-prompt__visual {
    margin-bottom: 24px;
  }
  .service-haken .service-detail-prompt__visual img {
    width: min(280px, 64%);
    margin: 0 auto;
  }
  .service-haken .service-detail-prompt__list {
    margin-top: 34px;
  }
  .service-haken .service-detail-prompt__list li {
    padding: 18px 0 18px 38px;
  }

  /* CTA：余白を詰める */
  .service-haken .service-detail-cta {
    padding: 64px 0 70px;
  }
}

/* ============================================================
   /service/shokai/（人材紹介＝リスキリング転職支援）専用の見せ方
   人材派遣ページ（.service-haken）とはセクション構成・視線誘導を
   意図的に変えている。視覚的ヒエラルキーは
     最重要：HERO / SERVICE / FEATURES
     中　　：CASE / MERIT
     補足　：CONCEPT
     詳細　：RESKILLING
   の順で、フォントサイズだけでなくセクション高さ・最大幅・余白・
   背景の切り替えで強弱を付ける：
     SERVICE    = このページの主役。左にリード、右に縦積みのサービス
                  項目（01〜）を大きな連番付きで配置する二分割構成
     FEATURES   = 濃紺の帯に3枚の特徴パネルを並べた比較用グリッド。
                  「縦に流れる一覧」のSERVICEとは意図的に構図を変える
     CASE       = 採用課題を3カラムの静かなカードで提示
     MERIT      = 導入価値を3カラムの均整カードで提示。CASEと対になる
     CONCEPT    = 「リスキリングと連携した人材紹介」を見出しに、
                  階段イラスト＋4ステップの縦フローで仕組みを補足する
     RESKILLING = 4領域のスキルマップ（カード化しない）。情報量は
                  維持しつつ、ページ全体では補足的な位置付けに収める
   共通化しているのはヘッダー／フッター／ブランドカラー／基本UI
   （.service-heading、.service-button、.service-lineicon、
   .service-detail-cta など）のみ。クラスは .service-shokai 配下に
   閉じているため他ページには影響しない。
   ============================================================ */

@media (min-width: 1200px) {
  .service-shokai .service-container {
    width: min(1180px, calc(100% - 48px));
  }
}

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
.service-shokai .service-detail-hero {
  padding: 56px 0 0;
  overflow: hidden;
}
.service-shokai-hero__copy {
  max-width: 700px;
  padding: 8px 0 54px;
}
.service-shokai-hero__copy h1 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: clamp(38px, 4.6vw, 54px);
}
.service-shokai-hero__sub {
  color: #46617f;
  font-size: 0.4em;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.service-shokai-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 34px;
  padding: 0;
  list-style: none;
}
.service-shokai-hero__chips li {
  padding: 9px 18px;
  border: 1px solid #bcd6f0;
  border-radius: 999px;
  background: #f2f8fd;
  color: #0b5bad;
  font-size: 13px;
  font-weight: 700;
}
.service-shokai-hero__photo {
  width: 100%;
  aspect-ratio: 21 / 8;
  min-height: 220px;
  max-height: 460px;
}
.service-shokai-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------------------------
   SERVICE（このページ最大級の主役セクション）
   左30〜35%にSERVICE見出しとリード、右65〜70%に縦積みの
   サービス項目（01〜）を大きな連番付きで配置する二分割構成。
   写真は使わず、番号・罫線・余白だけで情報の主役感を出す。
   ------------------------------------------------------------ */
.service-shokai-service {
  padding: 116px 0 128px;
  background: #fff;
}
.service-shokai-service__grid {
  display: grid;
  grid-template-columns: minmax(0, 33%) 1fr;
  gap: 64px;
  align-items: start;
}
.service-shokai-service__intro {
  position: sticky;
  top: 120px;
}
.service-shokai-service__intro .service-heading h2 {
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.5;
}
.service-shokai-service__intro .service-detail-section__lead {
  max-width: none;
  margin-top: 20px;
}
.service-shokai-service__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #dce5ef;
}
.service-shokai-service__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  padding: 52px 0;
  border-bottom: 1px solid #dce5ef;
}
.service-shokai-service__num {
  color: #b9cfe8;
  font-family: serif;
  font-style: italic;
  font-size: clamp(48px, 5vw, 68px);
  line-height: 1;
}
.service-shokai-service__body h3 {
  margin: 0 0 16px;
  color: #0b315f;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.5;
}
.service-shokai-service__body > p {
  margin: 0 0 14px;
  color: #425873;
  font-size: 16px;
  line-height: 1.9;
}
.service-shokai-service__note {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: #f2f7fc;
  color: #0b5bad;
  font-size: 13px;
  font-weight: 700;
}

/* ------------------------------------------------------------
   FEATURES（SERVICEと対になる比較用パネル）
   濃紺フルブリードの帯に3カラムのパネルを並べ、「縦に流れる一覧」の
   SERVICEとは背景色・構図の両方で意図的に見せ方を変える。
   ------------------------------------------------------------ */
.service-shokai-features {
  padding: 100px 0 112px;
  background: linear-gradient(135deg, #003879, #0055a7);
  color: #fff;
}
.service-shokai-features .service-heading {
  max-width: 640px;
}
.service-shokai-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
}
.service-shokai-features__grid li {
  padding: 40px 32px 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}
.service-shokai-features__num {
  display: block;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.35);
  font-family: serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
}
.service-shokai-features__grid h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}
.service-shokai-features__grid p {
  margin: 0;
  color: #cfe1f7;
  font-size: 14px;
  line-height: 1.85;
}

/* ------------------------------------------------------------
   CASE（カードUIを使わず、番号・大きなコピー・罫線・余白だけで
   採用課題を編集的に提示する非対称2カラム。左にCASE見出し、
   右に3項目を横一列の大きな行として縦に並べる。SERVICEの製品
   リスト、FEATURES/MERITのカード表現とは意図的に質感を変え、
   「文字そのもの」をビジュアルとして扱う）
   ------------------------------------------------------------ */
.service-shokai-narrow {
  max-width: 1140px;
}
.service-shokai-case {
  padding: 96px 0 104px;
  background: #f7f9fc;
}
.service-shokai-case__grid {
  display: grid;
  grid-template-columns: minmax(0, 34%) 1fr;
  gap: 64px;
}
.service-shokai-case__intro .service-heading h2 {
  max-width: 360px;
  font-size: clamp(34px, 2.5vw, 42px);
  line-height: 1.45;
}
.service-shokai-case__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d7e0ea;
}
.service-shokai-case__list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  column-gap: 32px;
  padding: 28px 0 32px;
  border-bottom: 1px solid #d7e0ea;
}
.service-shokai-case__num {
  color: #b9cfe8;
  font-family: serif;
  font-style: italic;
  font-size: clamp(38px, 3vw, 48px);
  line-height: 1;
}
.service-shokai-case__list p {
  margin: 0;
  color: #0b315f;
  font-size: clamp(24px, 1.8vw, 30px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* ------------------------------------------------------------
   MERIT（導入価値。CASEと対になる均整の取れた3カラム）
   ------------------------------------------------------------ */
.service-shokai-merit {
  padding: 108px 0 118px;
  background: #fff;
}
.service-shokai-merit .service-heading h2 {
  font-size: clamp(30px, 3.2vw, 40px);
}
.service-shokai-merit__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.service-shokai-merit__grid li {
  display: flex;
  flex-direction: column;
  min-height: 236px;
  padding: 36px 32px;
  border: 1px solid #dce5ef;
  border-radius: 6px;
  background: #f7f9fc;
}
.service-shokai-merit__grid .service-lineicon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  font-size: 22px;
}
.service-shokai-merit__grid h3 {
  margin: 0 0 10px;
  color: #0b315f;
  font-size: 19px;
}
.service-shokai-merit__grid p {
  margin: 0;
  color: #52677e;
  font-size: 14px;
  line-height: 1.8;
}
.service-shokai-merit__note {
  margin: 40px 0 0;
  padding: 22px 26px;
  border-left: 3px solid #0870cf;
  background: #eef5fc;
  color: #33475f;
  font-size: 14px;
  line-height: 1.85;
}

/* ------------------------------------------------------------
   CONCEPT + 仕組み（縦フロー）
   CASE・MERITの後段に置く補足セクションのため、SERVICE/FEATURES/
   CASE/MERITよりひとまわり控えめな余白・文字サイズにする。
   ------------------------------------------------------------ */
.service-shokai-flow {
  padding: 82px 0 92px;
  background: linear-gradient(180deg, #fff 0%, #f2f7fc 100%);
}
.service-shokai-flow .service-heading h2 {
  max-width: 640px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.55;
}
.service-shokai-flow__body {
  display: grid;
  grid-template-columns: minmax(0, 42%) 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 58px;
}
.service-shokai-flow__visual {
  position: sticky;
  top: 110px;
}
.service-shokai-flow__visual img {
  width: 100%;
  border-radius: 12px;
}
.service-shokai-flow__steps {
  position: relative;
  margin: 0;
  padding: 0 0 0 64px;
  list-style: none;
}
.service-shokai-flow__steps:before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 23px;
  width: 1px;
  background: #c9daed;
}
.service-shokai-flow__steps li {
  position: relative;
  padding-bottom: 46px;
}
.service-shokai-flow__steps li:last-child {
  padding-bottom: 0;
}
.service-shokai-flow__num {
  position: absolute;
  top: -4px;
  left: -64px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid #b7cfe9;
  border-radius: 50%;
  background: #fff;
  color: #0b5bad;
  font-family: serif;
  font-size: 16px;
  font-weight: 700;
}
.service-shokai-flow__steps h3 {
  margin: 0 0 8px;
  color: #0b315f;
  font-size: 19px;
  font-weight: 700;
}
.service-shokai-flow__steps p {
  margin: 0;
  max-width: 480px;
  color: #4b6077;
  font-size: 14px;
  line-height: 1.85;
}
.service-shokai-flow__step--highlight .service-shokai-flow__num {
  border-color: #0870cf;
  background: #0870cf;
  color: #fff;
  box-shadow: 0 8px 18px rgba(8, 112, 207, 0.3);
}
.service-shokai-flow__step--highlight h3 {
  color: #0757a6;
}
.service-shokai-flow__step--highlight h3:after {
  content: "差別化ポイント";
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eaf3fd;
  color: #0870cf;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

/* ------------------------------------------------------------
   RESKILLING（詳細情報。情報量は維持しつつ、ページ全体の中では
   補足的な位置付けに収まる面積に調整する）
   ------------------------------------------------------------ */
.service-shokai-skills {
  padding: 82px 0 90px;
  background: #fff;
}
.service-shokai-skills__container {
  max-width: 1040px;
}
.service-shokai-skills__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 44px;
  border-top: 1px solid #dce5ef;
  border-left: 1px solid #dce5ef;
}
.service-shokai-skills__panel {
  position: relative;
  padding: 40px 42px 36px;
  border-right: 1px solid #dce5ef;
  border-bottom: 1px solid #dce5ef;
}
.service-shokai-skills__num {
  display: block;
  margin-bottom: 14px;
  color: #b9cfe8;
  font-family: serif;
  font-style: italic;
  font-size: 28px;
  line-height: 1;
}
.service-shokai-skills__panel img {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  object-fit: contain;
}
.service-shokai-skills__panel h3 {
  margin: 0 0 16px;
  color: #0b315f;
  font-size: 20px;
  font-weight: 700;
}
.service-shokai-skills__panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-shokai-skills__panel li {
  padding: 9px 0;
  border-top: 1px solid #eef2f7;
  color: #4b6077;
  font-size: 14px;
  line-height: 1.6;
}
.service-shokai-skills__panel li:first-child {
  border-top: 0;
}

/* ------------------------------------------------------------
   CTA（共通コンポーネントを流用しつつ、文言で人材紹介専用と分かる
   ように英字ラベルを追加）
   ------------------------------------------------------------ */
.service-shokai .service-detail-cta__eyebrow {
  margin: 0 0 16px;
  color: #8ec2f2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

/* ------------------------------------------------------------
   レスポンシブ
   ------------------------------------------------------------ */
@media (max-width: 991px) {
  .service-shokai-service__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .service-shokai-service__intro {
    position: static;
  }
  .service-shokai-service__list li {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 40px 0;
  }
  .service-shokai-features__grid {
    grid-template-columns: 1fr;
  }
  .service-shokai-case__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .service-shokai-case__intro .service-heading h2 {
    max-width: none;
  }
  .service-shokai-merit__grid {
    grid-template-columns: 1fr;
  }
  .service-shokai-flow__body {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .service-shokai-flow__visual {
    position: static;
    max-width: 480px;
  }
}

@media (max-width: 767px) {
  .service-shokai .service-detail-hero {
    padding-top: 36px;
  }
  .service-shokai-hero__copy {
    padding-bottom: 40px;
  }
  .service-shokai-hero__copy h1 {
    font-size: 32px;
  }
  .service-shokai-hero__photo {
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .service-shokai-service {
    padding: 64px 0 70px;
  }
  .service-shokai-service__list li {
    padding: 32px 0;
  }
  .service-shokai-service__num {
    font-size: 40px;
  }

  .service-shokai-features {
    padding: 60px 0 64px;
  }
  .service-shokai-features__grid {
    gap: 20px;
    margin-top: 36px;
  }
  .service-shokai-features__grid li {
    padding: 32px 24px 28px;
  }

  .service-shokai-case,
  .service-shokai-merit {
    padding: 56px 0 62px;
  }
  .service-shokai-case__intro .service-heading h2 {
    max-width: none;
    font-size: 32px;
  }
  .service-shokai-case__list li {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }
  .service-shokai-case__num {
    font-size: 36px;
  }
  .service-shokai-case__list p {
    font-size: clamp(20px, 5.4vw, 22px);
    line-height: 1.6;
  }
  .service-shokai-merit__grid {
    gap: 18px;
    margin-top: 34px;
  }
  .service-shokai-merit__grid li {
    min-height: 0;
  }

  .service-shokai-flow {
    padding: 52px 0 56px;
  }
  .service-shokai-flow__body {
    margin-top: 40px;
  }
  .service-shokai-flow__steps {
    padding-left: 54px;
  }
  .service-shokai-flow__num {
    left: -54px;
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  .service-shokai-flow__step--highlight h3:after {
    display: block;
    margin: 8px 0 0;
    width: fit-content;
  }

  .service-shokai-skills {
    padding: 50px 0 54px;
  }
  .service-shokai-skills__grid {
    grid-template-columns: 1fr;
  }
  .service-shokai-skills__panel {
    padding: 30px 4px 26px;
  }
}

/* ============================================================
   /service/offsite/（自社BPOセンターへの業務集約・運用）専用の見せ方
   このサービスの本質は「人材を提供すること」ではなく、業務そのものを
   センターへ集約し、設計・人員配置・教育・運用・品質管理まで含めて
   運用すること。そのため人材派遣ページ（.service-haken）とは主役を
   変えている：
     HERO      = 会議写真ではなく、センターの実写真を全面に使う
     STRUCTURE = CLIENT COMPANY → OLP BPO CENTER → STABLE OPERATION の
                 3段。各段の「見せ方の違い」（散らばった帯／集約された
                 一枚の写真パネル／均一な帯）そのもので変化を表現する
     WORKS     = CONTACT CENTER／BACK OFFICEの画面分割（カード化しない）
     CASE      = 業種名カードではなく、受付から問い合わせ対応までの
                 工程チェーン
     OPERATION BASE = 01/02/03/04の番号カードではなく、CENTER OPERATION
                 を中心にDESIGN/MANAGEMENT/SECURITY/FLEXIBILITYが
                 支えるハブ構造
     CENTER    = 東京・仙台の実写真＋大型タイポグラフィによる非対称構成
                 （このページ最大の見せ場）
     MERIT     = BEFORE/AFTERカードではなく、分散→集約のような
                 業務構造の変化として見せる
     START SMALL = 規模が広がっていく感覚を、幅が伸びる帯で見せる
   共通化しているのはヘッダー／フッター／ブランドカラー／基本UI
   （.service-heading、.service-button、.service-detail-cta など）のみ。
   クラスは .service-offsite 配下に閉じているため他ページには影響しない。
   ============================================================ */

@media (min-width: 1200px) {
  .service-offsite .service-container {
    width: min(1280px, calc(100% - 64px));
  }
  .service-offsite-features .service-container,
  .service-offsite-center .service-container,
  .service-offsite-merit .service-container {
    width: min(1360px, calc(100% - 64px));
  }
  /* CASEはフローのラベルが折り返さないよう、カード幅にさらに余裕を持たせる */
  .service-offsite-cases .service-container {
    width: min(1400px, calc(100% - 64px));
  }
  /* SERVICE右側の5項目（設計・人員配置・教育・運用管理・品質管理）が
     1行に収まるよう、右カラムの実幅を確保する */
  .service-offsite-service .service-container {
    width: min(1360px, calc(100% - 64px));
  }
}
/* 992〜1199pxは幅拡張（min-width:1200px）の対象外でカードが窮屈になるため、
   この範囲だけ先にタブレット同様の折り返しへ切り替える */
@media (min-width: 992px) and (max-width: 1199px) {
  .service-offsite-cases__grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-offsite-cases__card {
    min-height: 0;
  }
  .service-offsite-diagram__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  .service-offsite-diagram__items li {
    flex: 0 0 calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
    width: auto;
  }
}

/* ------------------------------------------------------------
   タイポグラフィ：モック基準にスケールアップ（offsiteページのみ）。
   .service-heading 本体は他ページ共通のため変更せず、offsite配下だけ
   上書きする。
   ------------------------------------------------------------ */
.service-offsite .service-heading p {
  font-size: 13px;
  letter-spacing: 0.16em;
}
.service-offsite .service-heading h2 {
  font-size: clamp(30px, 3.2vw, 38px);
  line-height: 1.5;
}

/* ------------------------------------------------------------
   HERO：会議写真の2カラムではなく、センターの実写真を全面に使い、
   その上にタイポグラフィを重ねる。写真下には拠点・運用領域の
   ファクトストリップを写真に食い込ませて配置する。
   ------------------------------------------------------------ */
.service-offsite-hero {
  padding-top: 46px;
}
.service-offsite-hero .service-detail-hero__breadcrumb {
  margin-bottom: 22px;
}
.service-offsite-hero__frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: clamp(420px, 46vw, 660px);
}
.service-offsite-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-offsite-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 20, 50, 0.08) 0%,
    rgba(0, 20, 50, 0.22) 42%,
    rgba(0, 16, 42, 0.86) 100%
  );
}
.service-offsite-hero__copy {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 76px;
  left: max(24px, calc((100vw - 1180px) / 2 + 24px));
  max-width: 620px;
  color: #fff;
}
.service-offsite-hero__eyebrow {
  margin: 0 0 18px;
  color: #bcd8f7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.service-offsite-hero__eyebrow:before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: #bcd8f7;
}
.service-offsite-hero__copy h1 {
  margin: 0 0 20px;
  color: #fff;
  font-family: serif;
  font-size: clamp(38px, 5.2vw, 62px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0.04em;
}
.service-offsite-hero__copy h1 span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.42em;
  font-weight: 500;
}
.service-offsite-hero__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.95;
}
.service-offsite-hero__facts {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  margin: -46px 0 0;
  padding: 0;
  list-style: none;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(10, 45, 90, 0.16);
}
.service-offsite-hero__facts li {
  flex: 1 1 0;
  min-width: 200px;
  padding: 22px 28px;
  border-left: 1px solid #e4ebf3;
}
.service-offsite-hero__facts li:first-child {
  border-left: 0;
}
.service-offsite-hero__facts li span {
  display: block;
  margin-bottom: 6px;
  color: #6c86a3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.service-offsite-hero__facts li {
  color: #0b315f;
  font-size: 16px;
  font-weight: 700;
}

/* ------------------------------------------------------------
   共通：アイコンスプライト／英字サブラベル／中央寄せ見出し修飾子
   .service-offsite 配下に閉じたスコープのみを追加し、他ページで
   使われる .service-heading 本体のスタイルは変更しない。
   ------------------------------------------------------------ */
.service-offsite-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.service-offsite .oi-ic {
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.service-offsite .service-heading--center {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.service-offsite .service-heading--center p:before {
  display: none;
}
.service-offsite .service-eyebrow-sub,
.service-offsite-eyebrow-sub {
  display: block;
  margin: -4px 0 10px;
  color: #6c86a3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ------------------------------------------------------------
   SERVICE：左＝見出し＋本文、右＝「業務→OLP BPO CENTER→運用要素」の
   関係を示すインフォグラフィック。左右非対称。ページ上部らしく
   余白を広めに取る。
   ------------------------------------------------------------ */
.service-offsite-service {
  padding: 128px 0 132px;
  background: #fff;
}
.service-offsite-service__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 64px;
  align-items: center;
}
.service-offsite-service__lead {
  margin: 26px 0 0;
  color: #425873;
  font-size: 17px;
  line-height: 2;
}
.service-offsite-service__note {
  margin: 24px 0 0;
  padding-top: 24px;
  border-top: 1px solid #dfe8f2;
  color: #6c86a3;
  font-size: 14.5px;
  line-height: 1.85;
}
.service-offsite-service__diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 48px 32px;
  border-radius: 24px;
  background: var(--pale);
}
.service-offsite-diagram__stage {
  width: 100%;
  text-align: center;
}
.service-offsite-diagram__label {
  margin: 0 0 20px;
  color: #5b7290;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.service-offsite-diagram__row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-offsite-diagram__row li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  color: #1673d1;
  box-shadow: 0 8px 20px rgba(10, 45, 90, 0.1);
}
.service-offsite-diagram__row li .oi-ic {
  width: 28px;
  height: 28px;
}
.service-offsite-diagram__arrow {
  color: #9ab7dc;
  transform: rotate(90deg);
  margin: 6px 0;
}
.service-offsite-diagram__arrow .oi-ic {
  width: 26px;
  height: 26px;
}
.service-offsite-diagram__stage--center {
  padding: 8px 0;
}
.service-offsite-diagram__center {
  margin: 0;
  padding: 22px 40px;
  border-radius: 10px;
  background: linear-gradient(90deg, #003878, #0063ce);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow: 0 16px 34px rgba(0, 48, 107, 0.24);
}
.service-offsite-diagram__items {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.service-offsite-diagram__items li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: auto;
  padding: 22px 8px;
  border-radius: 12px;
  background: #fff;
  color: #0b315f;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 8px 20px rgba(10, 45, 90, 0.08);
}
.service-offsite-diagram__items .oi-ic {
  width: 30px;
  height: 30px;
  color: #1673d1;
}

/* ------------------------------------------------------------
   FEATURES：SERVICEの左右非対称から切り替え、中央見出し＋4カラムの
   アイコン主役カードに構成をリセットする。
   ------------------------------------------------------------ */
.service-offsite-features {
  padding: 128px 0;
  background: var(--pale);
}
.service-offsite-features__lead {
  max-width: 680px;
  margin: 24px auto 0;
  color: #425873;
  font-size: 16px;
  line-height: 1.95;
  text-align: center;
}
.service-offsite-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 68px;
}
.service-offsite-features__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 340px;
  padding: 52px 32px 44px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(10, 45, 90, 0.07);
  text-align: center;
}
.service-offsite-features__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: var(--pale);
  color: #0757c9;
}
.service-offsite-features__icon .oi-ic {
  width: 44px;
  height: 44px;
}
.service-offsite-features__label {
  margin: 0 0 14px;
  color: #3976c7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.service-offsite-features__card h3 {
  margin: 0 0 16px;
  color: #0a1f3d;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}
.service-offsite-features__card p {
  margin: 0;
  color: #4b6077;
  font-size: 14.5px;
  line-height: 1.85;
}

/* ------------------------------------------------------------
   WORKS：横幅を大きく使い、CONTACT CENTER／BACK OFFICEの2枚の大型
   ビジュアルカードで見せる。
   ------------------------------------------------------------ */
.service-offsite-works {
  padding: 128px 0 0;
  background: #fff;
}
.service-offsite-works__head {
  margin-bottom: 60px;
}
.service-offsite-works__lead {
  max-width: 820px;
  margin: 22px 0 0;
  color: #425873;
  font-size: 16px;
  line-height: 1.95;
}
.service-offsite-works__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 760px;
}
.service-offsite-works__col {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.service-offsite-works__col--contact {
  background: linear-gradient(135deg, #0a4fa0, #001c40);
  color: #fff;
}
.service-offsite-works__col--contact:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -160px;
  width: 480px;
  height: 480px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 46px rgba(255, 255, 255, 0.05),
    0 0 0 100px rgba(255, 255, 255, 0.03);
}
.service-offsite-works__col--office {
  background: #eef4fb;
  color: #0a1f3d;
}
.service-offsite-works__col--office:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(11, 49, 95, 0.05) 0 1px,
    transparent 1px 46px
  );
}
.service-offsite-works__inner {
  position: relative;
  z-index: 1;
  width: min(560px, 86%);
  margin: 0 auto;
  padding: 72px 0;
}
.service-offsite-works__visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 260px;
  margin-bottom: 32px;
}
.service-offsite-works__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: drop-shadow(0 14px 22px rgba(0, 10, 30, 0.18));
}
.service-offsite-works__label {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.service-offsite-works__col--contact .service-offsite-works__label {
  color: #bcd8f7;
}
.service-offsite-works__col--office .service-offsite-works__label {
  color: #4f7fc4;
}
.service-offsite-works__inner h3 {
  margin: 0 0 12px;
  color: inherit;
  font-size: 32px;
  font-weight: 700;
}
.service-offsite-works__sub {
  margin: 0 0 30px;
  font-size: 15px;
  line-height: 1.75;
  opacity: 0.88;
}
/* テーマ側の `p{color:#111}` が継承色より優先され、紺グラデーション上で
   ほぼ読めなくなっていたため、明示的に高コントラストな色を指定する。 */
.service-offsite-works__col--contact .service-offsite-works__sub {
  color: #cfe4ff;
  opacity: 1;
  font-weight: 500;
}
.service-offsite-works__inner ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-offsite-works__inner li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 16px;
  line-height: 1.6;
}
.service-offsite-works__inner li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.service-offsite-works__inner li .oi-ic {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: #9fd0ff;
}
.service-offsite-works__col--office .service-offsite-works__inner li {
  border-color: rgba(11, 49, 95, 0.14);
}
.service-offsite-works__col--office .service-offsite-works__inner li .oi-ic {
  color: #1673d1;
}

/* ------------------------------------------------------------
   CASE：WORKSの大型2カラムから切り替え、全幅見出し＋4つの業務フロー
   カードを横並びに展開する。
   ------------------------------------------------------------ */
.service-offsite-cases {
  padding: 128px 0;
  background: #fff;
}
.service-offsite-cases__lead {
  max-width: 820px;
  margin: 22px 0 0;
  color: #425873;
  font-size: 16px;
  line-height: 1.95;
}
.service-offsite-cases__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 64px;
}
.service-offsite-cases__card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 40px 24px 32px;
  border-radius: 18px;
  background: var(--pale);
  box-shadow: 0 12px 32px rgba(10, 45, 90, 0.05);
}
.service-offsite-cases__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: #fff;
  color: #0757c9;
  box-shadow: 0 6px 16px rgba(10, 45, 90, 0.06);
}
.service-offsite-cases__icon .oi-ic {
  width: 34px;
  height: 34px;
}
.service-offsite-cases__en {
  margin: 0 0 10px;
  color: #3976c7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.service-offsite-cases__card h3 {
  margin: 0 0 12px;
  color: #0a1f3d;
  font-size: 20px;
  font-weight: 700;
}
.service-offsite-cases__card > p {
  margin: 0 0 26px;
  color: #4b6077;
  font-size: 14.5px;
  line-height: 1.85;
}
.service-offsite-cases__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 4px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid #dbe4ef;
}
.service-offsite-cases__flow span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #0b315f;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.service-offsite-cases__flow .oi-ic {
  width: 16px;
  height: 16px;
  color: #1673d1;
}
.service-offsite-cases__flow-arrow {
  flex: 0 0 auto;
  width: 12px !important;
  height: 12px !important;
  color: #aec3dc !important;
}

/* ------------------------------------------------------------
   CENTER：独立・全幅セクション。添付モックを基準に、左＝見出し・本文、
   右＝日本地図＋東京・仙台の拠点カードという1つの横長構成で再現する。
   ------------------------------------------------------------ */
.service-offsite-center {
  padding: 132px 0;
  background: #fff;
}
.service-offsite-center__grid {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.service-offsite-center__lead {
  margin: 24px 0 0;
  color: #425873;
  font-size: 16px;
  line-height: 1.95;
}

/* 地図＋東京／仙台の拠点情報は1枚の添付画像（center_map_with_centers.webp）に
   集約。画像自体を主役にし、外側にテキストで情報を重複させない。 */
.service-offsite-center__visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 24px 56px rgba(10, 45, 90, 0.14);
}

/* ------------------------------------------------------------
   MERIT：独立・全幅セクション。添付のBEFORE/AFTERイラスト4枚を主役に
   した「大きな図解を4つ見せるギャラリー型」の比較セクション。
   FEATURES／CASEのミニカード群、既存SVGアイコンとは意図的に見た目を
   分け、画像そのものの情報量で変化を伝える。
   ------------------------------------------------------------ */
.service-offsite-merit {
  padding: 128px 0;
  background: linear-gradient(180deg, #f5f9fd, #ffffff 40%);
}
.service-offsite-merit__lead {
  max-width: 680px;
  margin: 20px auto 0;
  color: #425873;
  font-size: 16px;
  line-height: 1.95;
  text-align: center;
}

.service-offsite-merit__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 56px;
}
.service-offsite-merit__card {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 34px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(10, 45, 90, 0.08);
}
.service-offsite-merit__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1448 / 1086;
  margin-bottom: 22px;
  border-radius: 14px;
  background: #f4f8fc;
  overflow: hidden;
}
.service-offsite-merit__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.service-offsite-merit__state {
  margin: 0 0 10px;
  color: #1673d1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.service-offsite-merit__title {
  margin: 0 0 10px;
  color: #0a1f3d;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}
.service-offsite-merit__text {
  margin: 0;
  color: #55698a;
  font-size: 14.5px;
  line-height: 1.85;
}

/* ------------------------------------------------------------
   START SMALL：ページ最下部のためコンパクトに。順序に意味があるため
   1→2→3→4の数字のみここで使用する。
   ------------------------------------------------------------ */
.service-offsite-scale {
  padding: 116px 0 120px;
  background: var(--pale);
}
.service-offsite-scale__lead {
  max-width: 680px;
  margin: 20px auto 0;
  color: #425873;
  font-size: 15.5px;
  line-height: 1.9;
  text-align: center;
}
.service-offsite-scale__steps {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 60px 0 0;
  padding: 0;
  list-style: none;
}
.service-offsite-scale__step {
  flex: 1 1 0;
  min-width: 0;
  padding: 34px 28px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(10, 45, 90, 0.06);
}
.service-offsite-scale__arrow {
  flex: 0 0 auto;
  align-self: center;
  color: #b7cce6;
}
.service-offsite-scale__arrow .oi-ic {
  width: 24px;
  height: 24px;
}
.service-offsite-scale__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #003878;
  color: #fff;
  font-family: serif;
  font-size: 20px;
  font-weight: 700;
}
.service-offsite-scale__en {
  margin: 0 0 6px;
  color: #3976c7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.service-offsite-scale__jp {
  margin: 0 0 10px;
  color: #0a1f3d;
  font-size: 18px;
  font-weight: 700;
}
.service-offsite-scale__desc {
  margin: 0;
  color: #4b6077;
  font-size: 13.5px;
  line-height: 1.8;
}
.service-offsite-scale__note {
  margin-top: 44px;
  padding: 22px 26px;
  border-left: 4px solid #1673d1;
  background: #fff;
  color: #26415f;
  font-size: 14.5px;
  line-height: 1.9;
}
.service-offsite-scale__note a {
  color: #0757a6;
  font-weight: 700;
}

/* ------------------------------------------------------------
   レスポンシブ（タブレット）
   ------------------------------------------------------------ */
@media (max-width: 991px) {
  .service-offsite-service {
    padding: 88px 0 92px;
  }
  .service-offsite-service__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .service-offsite-service__diagram {
    max-width: 560px;
    margin: 0 auto;
    padding: 44px 32px;
  }
  .service-offsite-diagram__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  .service-offsite-diagram__items li {
    flex: 0 0 calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
    width: auto;
  }
  .service-offsite-features {
    padding: 88px 0;
  }
  .service-offsite-features__grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .service-offsite-features__card {
    min-height: 0;
    padding: 40px 26px 34px;
  }
  .service-offsite-works {
    padding: 88px 0 0;
  }
  .service-offsite-works__inner {
    width: min(460px, 88%);
    padding: 56px 0;
  }
  .service-offsite-works__visual {
    height: 210px;
  }
  .service-offsite-cases {
    padding: 88px 0;
  }
  .service-offsite-cases__grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-offsite-cases__card {
    min-height: 0;
  }
  .service-offsite-center {
    padding: 96px 0;
  }
  .service-offsite-center__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-offsite-center__visual img {
    border-radius: 16px;
  }
  .service-offsite-merit {
    padding: 96px 0;
  }
  .service-offsite-merit__gallery {
    gap: 24px;
    margin-top: 44px;
  }
  .service-offsite-merit__card {
    padding: 22px 22px 26px;
  }
  .service-offsite-scale {
    padding: 88px 0 92px;
  }
  .service-offsite-scale__steps {
    flex-wrap: wrap;
  }
  .service-offsite-scale__step {
    flex: 1 1 calc(50% - 10px);
  }
  .service-offsite-scale__arrow {
    display: none;
  }
}

/* ------------------------------------------------------------
   レスポンシブ（モバイル）
   ------------------------------------------------------------ */
@media (max-width: 767px) {
  .service-offsite-service {
    padding: 64px 0 70px;
  }
  .service-offsite-service__diagram {
    padding: 36px 22px;
  }
  .service-offsite-diagram__row li {
    width: 46px;
    height: 46px;
  }
  .service-offsite-diagram__row li .oi-ic {
    width: 22px;
    height: 22px;
  }
  .service-offsite-diagram__items {
    gap: 12px;
  }
  .service-offsite-diagram__items li {
    flex: 0 0 calc(50% - 6px);
    max-width: calc(50% - 6px);
    width: auto;
  }

  .service-offsite-features {
    padding: 64px 0;
  }
  .service-offsite-features__grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 44px;
  }
  .service-offsite-features__card {
    padding: 36px 26px 32px;
  }
  .service-offsite-features__icon {
    width: 80px;
    height: 80px;
  }
  .service-offsite-features__icon .oi-ic {
    width: 36px;
    height: 36px;
  }

  .service-offsite-works {
    padding: 64px 0 0;
  }
  .service-offsite-works__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .service-offsite-works__inner {
    width: min(440px, 90%);
    padding: 48px 0;
  }
  .service-offsite-works__visual {
    height: 190px;
    margin-bottom: 26px;
  }
  .service-offsite-works__inner h3 {
    font-size: 26px;
  }

  .service-offsite-cases {
    padding: 64px 0;
  }
  .service-offsite-cases__grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 44px;
  }
  .service-offsite-cases__card {
    min-height: 0;
  }

  .service-offsite-center {
    padding: 64px 0;
  }
  .service-offsite-center__grid {
    gap: 32px;
  }
  .service-offsite-center__visual img {
    border-radius: 14px;
  }

  .service-offsite-merit {
    padding: 64px 0;
  }
  .service-offsite-merit__gallery {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 36px;
  }
  .service-offsite-merit__card {
    padding: 20px 20px 24px;
  }
  .service-offsite-merit__title {
    font-size: 18px;
  }

  .service-offsite-scale {
    padding: 64px 0 68px;
  }
  .service-offsite-scale__steps {
    flex-direction: column;
    gap: 14px;
    margin-top: 40px;
  }
  .service-offsite-scale__step {
    flex: 1 1 auto;
    width: 100%;
  }
}

/* ============================================================
   /service/onsite/（顧客の現場へ入り、その場で業務を運用する）専用の
   見せ方
   このサービスの本質は「人を配置すること」だけではなく、お客様の現場
   そのものへ入り込み、そこで業務を成立させ、必要に応じて複数拠点も
   動かせること。人材派遣（.service-haken＝人・柔軟性）、オフサイト
   （.service-offsite＝センター・集約）とは主役を変えている：
     HERO      = 左テキスト＋右写真ではなく、写真パネルと濃紺パネルを
                 並置し、見出しをその継ぎ目に「跨がせる」。写真には
                 地点ピン＋点線ルートを重ね、以降のセクションでも
                 繰り返す「現場＝地点」のモチーフを提示する
     STRUCTURE = CLIENT LOCATION → OLP ON-SITE OPERATIONという、複数の
                 現場へ運用が広がっていく構造（オフサイトの「集約」と
                 は逆方向の構図）
     WORKS     = 均等カードではなく、4つの現場運営領域を左右非対称の
                 編集レイアウトで見せる
     MOBILITY  = このページ最大の見せ場。01/02/03のFEATURESカードでは
                 なく、地点と運用の動きそのものを可視化し、背景の濃度
                 を段階的に上げることで動かせる範囲の広がりを見せる
     FLOW      = STEP01-04の4枚カードではなく、「配置」から「運用」へ
                 OLPの関与範囲がグラデーションのように広がる横方向の
                 ストーリー
     MERIT     = BEFORE/AFTERではなく、TIME/SCALE/SCOPEの3軸
     HYBRID    = オフサイトとの組み合わせを示す小さな補助セクション
                 （オフサイトページのデザインは流用しない）
     SCENE     = 「こんな課題は？」ではなく、実際の現場シーンとして
                 活用ケースを提示
   共通化しているのはヘッダー／フッター／ブランドカラー／基本UI
   （.service-heading、.service-button、.service-detail-cta など）のみ。
   クラスは .service-onsite 配下に閉じているため他ページには影響しない。
   ============================================================ */

@media (min-width: 1200px) {
  .service-onsite .service-container {
    width: min(1180px, calc(100% - 48px));
  }
}

/* ------------------------------------------------------------
   HERO：写真パネル＋濃紺パネルを並置し、見出しをその継ぎ目に跨がせる。
   写真には地点ピン＋点線ルートのグラフィックを重ねる。
   ------------------------------------------------------------ */
.service-onsite-hero {
  padding-top: 46px;
}
.service-onsite-hero .service-detail-hero__breadcrumb {
  margin-bottom: 22px;
}
.service-onsite-hero__frame {
  position: relative;
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: stretch;
  width: 100%;
  min-height: clamp(420px, 44vw, 600px);
}
.service-onsite-hero__photo {
  position: relative;
  overflow: hidden;
}
.service-onsite-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-onsite-hero__pin {
  position: absolute;
  bottom: 16%;
  left: 12%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #4fc3ff;
  box-shadow:
    0 0 0 6px rgba(79, 195, 255, 0.28),
    0 0 0 13px rgba(79, 195, 255, 0.14);
}
.service-onsite-hero__pin:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 14vw;
  max-width: 220px;
  height: 2px;
  transform: translateY(-50%);
  background-image: repeating-linear-gradient(
    90deg,
    #4fc3ff 0 8px,
    transparent 8px 18px
  );
}
.service-onsite-hero__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 56px 46px 56px;
  background: #00234f;
  color: #fff;
}
.service-onsite-hero__eyebrow {
  margin: 0;
  color: #bcd8f7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.service-onsite-hero__eyebrow:before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: #bcd8f7;
}
.service-onsite-hero__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.95;
}
.service-onsite-hero__title {
  position: relative;
  z-index: 2;
  margin-left: -120px;
}
.service-onsite-hero__title h1 {
  display: inline-block;
  margin: 0;
  padding: 22px 30px;
  background: #00234f;
  box-shadow: 0 20px 45px rgba(6, 20, 45, 0.35);
  color: #fff;
  font-family: serif;
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.03em;
}
.service-onsite-hero__title h1 span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.44em;
  font-weight: 500;
}

/* ------------------------------------------------------------
   STRUCTURE：複数の現場へOLPの運営体制が広がっていく構造。オフサイト
   の「集約」構図とは逆に、ここでは「拠点へ広がる」構図として見せる。
   ------------------------------------------------------------ */
.service-onsite-structure {
  padding: 92px 0 100px;
  background: #fff;
}
.service-onsite-structure__lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: #425873;
  font-size: 16px;
  line-height: 2;
}
.service-onsite-structure__caption {
  margin: 0;
  color: #6c86a3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
}
.service-onsite-structure__caption--top {
  margin-top: 52px;
}
.service-onsite-structure__caption--bottom {
  margin-top: 22px;
}
.service-onsite-structure__locations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.service-onsite-structure__locations li {
  padding: 10px 22px;
  border: 1px solid #c9ddf1;
  border-radius: 999px;
  background: #f2f7fc;
  color: #0b315f;
  font-size: 15px;
  font-weight: 600;
}
.service-onsite-structure__figure {
  margin: 36px 0 0;
  text-align: center;
}
.service-onsite-structure__figure img {
  display: inline-block;
  width: min(880px, 100%);
  height: auto;
}

/* ------------------------------------------------------------
   WORKS：均等カードではなく、4つの現場運営領域を左右非対称の編集
   レイアウトで見せる（既存7業務の意味・表記は変更しない）。
   ------------------------------------------------------------ */
.service-onsite-works {
  padding: 96px 0;
  background: var(--pale);
}
.service-onsite-works__list {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.service-onsite-works__row {
  display: grid;
  grid-template-columns: minmax(0, 320px) 1fr;
  gap: 24px 40px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid #d9e5f0;
}
.service-onsite-works__list > li:last-child {
  border-bottom: 1px solid #d9e5f0;
}
.service-onsite-works__row--reverse {
  grid-template-columns: 1fr minmax(0, 320px);
}
.service-onsite-works__row--reverse .service-onsite-works__head {
  order: 2;
}
.service-onsite-works__row--reverse .service-onsite-works__items {
  order: 1;
}
.service-onsite-works__en {
  display: block;
  margin-bottom: 8px;
  color: #5f89c9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.service-onsite-works__head h3 {
  margin: 0;
  color: #0b315f;
  font-size: 24px;
  font-weight: 700;
}
.service-onsite-works__items {
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-onsite-works__items li {
  position: relative;
  padding: 10px 0 10px 22px;
  color: #33475f;
  font-size: 15px;
  line-height: 1.8;
}
.service-onsite-works__items li:before {
  content: "";
  position: absolute;
  top: 19px;
  left: 0;
  width: 8px;
  height: 1px;
  background: #5f89c9;
}

/* ------------------------------------------------------------
   MOBILITY（このページ最大の見せ場）：01/02/03のFEATURESカードでは
   なく、地点と運用の動きそのものを可視化する。背景の濃度を段階的に
   上げ、動かせる範囲の広がりを体感させる。
   ------------------------------------------------------------ */
.service-onsite-mobility {
  padding: 100px 0 0;
  background: #163f73;
  color: #fff;
}
.service-onsite-mobility .service-heading h2 {
  max-width: 640px;
}
.service-onsite-mobility__lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: #cfe1f7;
  font-size: 16px;
  line-height: 2;
}
.service-onsite-mobility__list {
  margin: 60px 0 0;
  padding: 0;
  list-style: none;
}
.service-onsite-mobility__item {
  padding: 56px 0;
}
.service-onsite-mobility__item--1 {
  background: #163f73;
}
.service-onsite-mobility__item--2 {
  background: #0c2c58;
}
.service-onsite-mobility__item--3 {
  padding-bottom: 76px;
  background: #061936;
}
.service-onsite-mobility__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 40px;
}
.service-onsite-mobility__body {
  max-width: 520px;
}
.service-onsite-mobility__num {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.35);
  font-family: serif;
  font-style: italic;
  font-size: 30px;
}
.service-onsite-mobility__en {
  margin: 0 0 10px;
  color: #8ec2f2;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.service-onsite-mobility__body h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
}
.service-onsite-mobility__body p {
  margin: 0;
  color: #cfe1f7;
  font-size: 15px;
  line-height: 1.85;
}
.service-onsite-mobility__map {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 20px;
  gap: 26px;
}
.service-onsite-mobility__dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #4fc3ff;
  box-shadow:
    0 0 0 9px rgba(79, 195, 255, 0.22),
    0 0 0 17px rgba(79, 195, 255, 0.1);
}
.service-onsite-mobility__map--multi .service-onsite-mobility__dot {
  width: 18px;
  height: 18px;
}
.service-onsite-mobility__map--multi
  .service-onsite-mobility__dot:nth-child(2) {
  transform: translateY(-16px);
}
.service-onsite-mobility__map--multi
  .service-onsite-mobility__dot:nth-child(3) {
  transform: translateY(12px);
}
.service-onsite-mobility__map--caravan {
  gap: 0;
}
.service-onsite-mobility__map--caravan .service-onsite-mobility__dot {
  width: 14px;
  height: 14px;
  box-shadow:
    0 0 0 6px rgba(79, 195, 255, 0.22),
    0 0 0 11px rgba(79, 195, 255, 0.1);
}
.service-onsite-mobility__route {
  width: 34px;
  height: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    #4fc3ff 0 6px,
    transparent 6px 12px
  );
}

/* ------------------------------------------------------------
   FLOW：STEP01-04の4枚カードではなく、「配置」から「運用」へOLPの
   関与範囲がグラデーションのように広がる横方向のストーリー。
   ------------------------------------------------------------ */
.service-onsite-flow {
  padding: 100px 0 96px;
  background: #fff;
}
.service-onsite-flow__lead {
  max-width: 640px;
  margin: 20px 0 0;
  color: #425873;
  font-size: 16px;
  line-height: 2;
}
.service-onsite-flow__list {
  display: flex;
  align-items: stretch;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}
.service-onsite-flow__step {
  flex: 0 0 auto;
  width: 196px;
  padding: 26px 22px;
  border-radius: 12px;
}
.service-onsite-flow__step--1 {
  background: #eaf2fb;
  color: #0a1f3d;
}
.service-onsite-flow__step--2 {
  background: #cfe1f7;
  color: #0a1f3d;
}
.service-onsite-flow__step--3 {
  background: #4f9eea;
  color: #fff;
}
.service-onsite-flow__step--4 {
  background: linear-gradient(135deg, #0b5bad, #00234f);
  color: #fff;
}
.service-onsite-flow__num {
  display: block;
  margin-bottom: 10px;
  font-family: serif;
  font-style: italic;
  font-size: 22px;
  opacity: 0.55;
}
.service-onsite-flow__en {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.8;
}
.service-onsite-flow__step h3 {
  margin: 0 0 10px;
  color: inherit;
  font-size: 18px;
  font-weight: 700;
}
.service-onsite-flow__step p {
  margin: 0;
  color: inherit;
  font-size: 13px;
  line-height: 1.75;
  opacity: 0.88;
}
.service-onsite-flow__connector {
  position: relative;
  flex: 1 1 auto;
  align-self: center;
  height: 2px;
  min-width: 40px;
  max-width: 130px;
  background: linear-gradient(90deg, #9ab7dc, #0870cf);
}
.service-onsite-flow__connector--1 {
  flex-grow: 1;
}
.service-onsite-flow__connector--2 {
  flex-grow: 1.6;
}
.service-onsite-flow__connector--3 {
  flex-grow: 2.2;
}
.service-onsite-flow__connector:after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1px;
  width: 8px;
  height: 8px;
  transform: translateY(-50%) rotate(45deg);
  border-top: 2px solid #0870cf;
  border-right: 2px solid #0870cf;
}

/* ------------------------------------------------------------
   MERIT：BEFORE/AFTERでも3枚カードでもなく、TIME/SCALE/SCOPEの3軸で
   「何を柔軟に変えられるか」を一体的に見せる。
   ------------------------------------------------------------ */
.service-onsite-merit {
  padding: 96px 0;
  background: var(--pale);
}
.service-onsite-merit__lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: #425873;
  font-size: 16px;
  line-height: 2;
}
.service-onsite-merit__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
  border-top: 1px solid #d9e5f0;
  border-left: 1px solid #d9e5f0;
}
.service-onsite-merit__col {
  padding: 38px 34px;
  border-right: 1px solid #d9e5f0;
  border-bottom: 1px solid #d9e5f0;
}
.service-onsite-merit__en {
  margin: 0 0 14px;
  color: #9ab7dc;
  font-family: serif;
  font-style: italic;
  font-size: 32px;
}
.service-onsite-merit__col h3 {
  margin: 0 0 12px;
  color: #0b315f;
  font-size: 18px;
  font-weight: 700;
}
.service-onsite-merit__col p {
  margin: 0;
  color: #4b6077;
  font-size: 14px;
  line-height: 1.85;
}

/* ------------------------------------------------------------
   HYBRID：オフサイトとの組み合わせを示す小さな補助セクション。
   オフサイトページのデザインは流用しない。
   ------------------------------------------------------------ */
.service-onsite-hybrid {
  padding: 64px 0;
  background: #fff;
}
.service-onsite-hybrid__inner {
  text-align: center;
}
.service-onsite-hybrid__eyebrow {
  margin: 0 0 24px;
  color: #3976c7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.service-onsite-hybrid__equation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.service-onsite-hybrid__term {
  display: flex;
  min-width: 200px;
  flex-direction: column;
  gap: 6px;
  padding: 20px 26px;
  border: 1px solid #c9ddf1;
  border-radius: 10px;
  background: #f2f7fc;
}
.service-onsite-hybrid__term strong {
  color: #0b315f;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.service-onsite-hybrid__term em {
  color: #5c7186;
  font-size: 13px;
  font-style: normal;
}
.service-onsite-hybrid__term--result {
  background: #00234f;
  border-color: #00234f;
}
.service-onsite-hybrid__term--result strong {
  color: #fff;
}
.service-onsite-hybrid__op {
  color: #9ab7dc;
  font-size: 22px;
  font-weight: 700;
}
.service-onsite-hybrid__note {
  margin: 26px 0 0;
  color: #425873;
  font-size: 14px;
}
.service-onsite-hybrid__note a {
  color: #0757a6;
  font-weight: 700;
}

/* ------------------------------------------------------------
   SCENE：「こんな課題は？」ではなく、実際の現場シーンとして活用ケース
   を提示する（既存の活用ケースの範囲内）。
   ------------------------------------------------------------ */
.service-onsite-scene {
  padding: 96px 0;
  background: #fff;
}
.service-onsite-scene__list {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
.service-onsite-scene__list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  padding: 26px 0;
  border-top: 1px solid #d9e5f0;
}
.service-onsite-scene__list li:last-child {
  border-bottom: 1px solid #d9e5f0;
}
.service-onsite-scene__tag {
  flex: 0 0 240px;
  color: #0757a6;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.service-onsite-scene__list p {
  margin: 0;
  flex: 1 1 320px;
  color: #182c4c;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}

/* ------------------------------------------------------------
   CTA：現場運用・業務範囲という2つの具体的な相談導線を持たせる
   ------------------------------------------------------------ */
.service-onsite-cta {
  padding: 100px 0 108px;
}
.service-onsite-cta__eyebrow {
  margin: 0 0 16px;
  color: #8ec2f2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.service-onsite-cta__back {
  display: inline-block;
  margin-top: 24px;
  color: #bcd8f7 !important;
  font-size: 13px;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------
   レスポンシブ（タブレット）
   ------------------------------------------------------------ */
@media (max-width: 991px) {
  .service-onsite-hero__title {
    margin-left: -70px;
  }
  .service-onsite-hero__title h1 {
    padding: 18px 24px;
  }
  .service-onsite-flow__step {
    width: 168px;
  }
  .service-onsite-flow__connector {
    min-width: 24px;
  }
}

/* ------------------------------------------------------------
   レスポンシブ（モバイル）
   ------------------------------------------------------------ */
@media (max-width: 767px) {
  .service-onsite-hero {
    padding-top: 30px;
  }
  .service-onsite-hero__frame {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .service-onsite-hero__photo {
    height: 56vw;
    min-height: 240px;
  }
  .service-onsite-hero__pin:after {
    width: 70px;
  }
  .service-onsite-hero__title {
    margin-left: 0;
  }
  .service-onsite-hero__title h1 {
    padding: 18px 20px;
    box-shadow: none;
    font-size: 28px;
  }
  .service-onsite-hero__panel {
    padding: 30px 20px 34px;
    gap: 20px;
  }
  .service-onsite-hero__lead {
    font-size: 14px;
  }

  .service-onsite-structure {
    padding: 58px 0 60px;
  }
  .service-onsite-structure__caption--top {
    margin-top: 36px;
  }

  .service-onsite-works {
    padding: 58px 0;
  }
  .service-onsite-works__row,
  .service-onsite-works__row--reverse {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 26px 0;
  }
  .service-onsite-works__row--reverse .service-onsite-works__head,
  .service-onsite-works__row--reverse .service-onsite-works__items {
    order: 0;
  }

  .service-onsite-mobility {
    padding: 58px 0 0;
  }
  .service-onsite-mobility__list {
    margin-top: 40px;
  }
  .service-onsite-mobility__item {
    padding: 40px 0;
  }
  .service-onsite-mobility__item--3 {
    padding-bottom: 52px;
  }
  .service-onsite-mobility__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
  .service-onsite-mobility__map {
    min-width: 0;
    padding: 6px 0 0;
    align-self: center;
  }

  .service-onsite-flow {
    padding: 58px 0 54px;
  }
  .service-onsite-flow__list {
    flex-direction: column;
    align-items: stretch;
    margin-top: 40px;
  }
  .service-onsite-flow__step {
    width: 100%;
  }
  .service-onsite-flow__connector {
    align-self: center;
    width: 2px;
    min-width: 0;
    max-width: none;
    height: 34px;
    background: linear-gradient(180deg, #9ab7dc, #0870cf);
  }
  .service-onsite-flow__connector--1 {
    flex-grow: 0;
    height: 30px;
  }
  .service-onsite-flow__connector--2 {
    flex-grow: 0;
    height: 44px;
  }
  .service-onsite-flow__connector--3 {
    flex-grow: 0;
    height: 58px;
  }
  .service-onsite-flow__connector:after {
    top: auto;
    right: 50%;
    bottom: -1px;
    transform: translateX(50%) rotate(135deg);
  }

  .service-onsite-merit {
    padding: 58px 0;
  }
  .service-onsite-merit__grid {
    grid-template-columns: 1fr;
  }

  .service-onsite-hybrid {
    padding: 52px 0;
  }
  .service-onsite-hybrid__term {
    min-width: 0;
    width: 100%;
  }

  .service-onsite-scene {
    padding: 58px 0;
  }
  .service-onsite-scene__tag {
    flex-basis: 100%;
  }

  .service-onsite-cta {
    padding: 60px 0 64px;
  }
}

/* Onsite page rebuild (v2) */
.service-onsite-v2 { --os-navy:#062b60; --os-blue:#086bc1; --os-pale:#f1f7fc; color:#193452; overflow:hidden; }
.service-onsite-v2 .service-onsite-v2__container { width:min(1520px,calc(100% - 80px)); margin:0 auto; }
.service-onsite-v2__section { padding:60px 0; }
.service-onsite-v2__heading { margin-bottom:30px; }
.service-onsite-v2__heading h2 { margin:8px 0 16px; color:#123d72; font-family:serif; font-size:clamp(27px,2.35vw,38px); font-weight:400; line-height:1.45; letter-spacing:.03em; }
.service-onsite-v2__heading > p:not(.service-onsite-v2__label) { max-width:600px; margin:7px 0; color:#425a73; font-size:15px; line-height:1.85; }
.service-onsite-v2__label { margin:0; color:#086bc1; font-size:11px; font-weight:700; letter-spacing:.18em; }
.service-onsite-v2__label:before { content:""; display:inline-block; width:6px; height:6px; margin-right:9px; border-radius:50%; background:currentColor; vertical-align:2px; }
.service-onsite-v2__hero { padding-top:28px; }
.service-onsite-v2__hero-frame { display:grid; grid-template-columns:1fr 1fr; min-height:430px; margin-top:14px; }
.service-onsite-v2__hero-frame figure { min-width:0; margin:0; background:#e7eef5; }
.service-onsite-v2__hero-frame img { width:100%; height:100%; object-fit:cover; }
.service-onsite-v2__hero-copy { display:flex; flex-direction:column; justify-content:center; padding:55px clamp(42px,6vw,100px); background:var(--os-navy); color:#fff; }
.service-onsite-v2__label--light { color:#a9d6ff; }
.service-onsite-v2__hero-copy h1 { margin:24px 0 22px; padding-bottom:20px; border-bottom:1px solid rgba(255,255,255,.42); color:#fff; font-family:serif; font-size:clamp(34px,3vw,48px); font-weight:400; letter-spacing:.07em; }
.service-onsite-v2__hero-copy h1 small { font-size:.58em; }
.service-onsite-v2__hero-copy > p:last-child { max-width:560px; margin:0; color:#fff; font-size:16px; line-height:2; }
.service-onsite-v2__service-layout { display:grid; grid-template-columns:360px 1fr; gap:28px; align-items:center; }
.service-onsite-v2__service-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
.service-onsite-v2__service-grid article { min-height:252px; padding:32px 22px 26px; border:1px solid #cad9e8; text-align:center; }
.service-onsite-v2__service-grid i,.service-onsite-v2__feature-grid i,.service-onsite-v2__merit-grid > article > i { color:#075dac; font-size:40px; }
.service-onsite-v2__service-grid h3 { margin:19px 0 16px; color:#123d72; font-size:17px; font-weight:700; }
.service-onsite-v2__service-grid p { margin:0; font-size:13px; line-height:1.75; text-align:left; }
.service-onsite-v2__features,.service-onsite-v2__mobility,.service-onsite-v2__merit { background:var(--os-pale); }
.service-onsite-v2__feature-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.service-onsite-v2__feature-grid article { display:grid; grid-template-columns:54px 1fr; gap:16px; padding:8px 28px; border-left:1px solid #cfdeec; }
.service-onsite-v2__feature-grid article:first-child { border-left:0; padding-left:0; }
.service-onsite-v2__feature-grid h3,.service-onsite-v2__merit-grid h3 { margin:0 0 10px; color:#143d70; font-size:16px; line-height:1.6; }
.service-onsite-v2__feature-grid p,.service-onsite-v2__merit-grid p { margin:0; font-size:13px; line-height:1.75; }
.service-onsite-v2__photo-grid,.service-onsite-v2__scene-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.service-onsite-v2__photo-grid article { display:flex; min-height:385px; flex-direction:column; border:1px solid #cfdae5; background:#fff; }
.service-onsite-v2__photo-grid figure,.service-onsite-v2__scene-grid figure { aspect-ratio:16/9; margin:0; overflow:hidden; background:#e4edf4; }
.service-onsite-v2__photo-grid img,.service-onsite-v2__scene-grid img { width:100%; height:100%; object-fit:cover; }
.service-onsite-v2 img.is-missing { visibility:hidden; }
.service-onsite-v2__photo-grid article > div { padding:21px 20px; }
.service-onsite-v2__photo-grid h3 { margin:0 0 12px; color:#123d72; font-size:17px; }
.service-onsite-v2__photo-grid ul { margin:0; padding-left:18px; font-size:13px; line-height:1.7; }
.service-onsite-v2__mobility-images { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.service-onsite-v2__mobility-images figure { margin:0; }
.service-onsite-v2__mobility-images img { display:block; width:100%; height:auto; }
.service-onsite-v2__note { margin:16px 0 0; color:#1766aa; font-size:12px; text-align:center; }
.service-onsite-v2__scene-grid article { border:1px solid #d2dee9; background:#fff; }
.service-onsite-v2__scene-grid figure { aspect-ratio:16/9; }
.service-onsite-v2__scene-grid p { display:flex; align-items:flex-start; gap:11px; min-height:88px; margin:0; padding:20px; color:#183e68; font-size:15px; font-weight:700; line-height:1.55; }
.service-onsite-v2__scene-grid p i { flex:none; color:#0870c9; font-size:20px; }
.service-onsite-v2__merit-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.service-onsite-v2__merit-grid article { display:grid; grid-template-columns:82px 1fr; gap:22px; min-height:180px; padding:34px 32px; border:1px solid #d2e0ec; border-radius:6px; background:#fff; }
.service-onsite-v2__merit-grid > article > i { font-size:52px; }
.service-onsite-v2__flow { background:#fff; }
.service-onsite-v2__flow-image { width:100%; max-width:1100px; margin:0 auto; }
.service-onsite-v2__flow-image img { display:block; width:100%; height:auto; }
@media (max-width:1199px){.service-onsite-v2__mobility-images{grid-template-columns:1fr;max-width:820px;margin:0 auto}.service-onsite-v2__service-layout{grid-template-columns:1fr}.service-onsite-v2__feature-grid article{grid-template-columns:42px 1fr;padding:8px 16px}.service-onsite-v2__photo-grid,.service-onsite-v2__scene-grid{grid-template-columns:repeat(2,1fr)}.service-onsite-v2__merit-grid article{grid-template-columns:55px 1fr}}
@media (max-width:991px) and (min-width:768px){.service-onsite-v2__service-grid{grid-template-columns:repeat(3,1fr)}.service-onsite-v2__service-grid article{min-height:220px}.service-onsite-v2__feature-grid{grid-template-columns:repeat(2,1fr);row-gap:34px}.service-onsite-v2__feature-grid article:nth-child(3){border-left:0}}
@media (max-width:767px){.service-onsite-v2 .service-onsite-v2__container{width:calc(100% - 36px)}.service-onsite-v2__section{padding:48px 0}.service-onsite-v2__heading{margin-bottom:26px}.service-onsite-v2__hero-frame{grid-template-columns:1fr;min-height:0}.service-onsite-v2__hero-frame figure{aspect-ratio:16/10}.service-onsite-v2__hero-copy{padding:34px 22px}.service-onsite-v2__hero-copy h1{margin:18px 0;font-size:30px}.service-onsite-v2__hero-copy>p:last-child{font-size:14px}.service-onsite-v2__service-grid{grid-template-columns:repeat(2,1fr);gap:8px}.service-onsite-v2__service-grid article{min-height:230px;padding:24px 14px}.service-onsite-v2__service-grid article:last-child{grid-column:1/-1;min-height:0}.service-onsite-v2__feature-grid{grid-template-columns:1fr}.service-onsite-v2__feature-grid article,.service-onsite-v2__feature-grid article:first-child{padding:24px 0;border-left:0;border-top:1px solid #cfdeec}.service-onsite-v2__photo-grid,.service-onsite-v2__scene-grid,.service-onsite-v2__merit-grid{grid-template-columns:1fr}.service-onsite-v2__photo-grid article{min-height:0}.service-onsite-v2__merit-grid article{min-height:0}.service-onsite-v2__mobility-images{gap:16px}.service-onsite-v2__flow{padding-left:0;padding-right:0}.service-onsite-v2__flow-image{width:calc(100% + 36px);max-width:none;margin-inline:-18px}}
@media (max-width:420px){.service-onsite-v2__service-grid{grid-template-columns:1fr}.service-onsite-v2__service-grid article:last-child{grid-column:auto}.service-onsite-v2__heading h2{font-size:26px}}

/* ============================================================
   /service/nencho-chosei/（年末調整アウトソーシング）専用の見せ方
   このサービスの価値は「年末調整システムの提供」ではなく、クラウドに
   よるデジタル化と、それでも残るチェック・差戻し・再回収等の実務を
   BPOで代行する「フルパッケージ」にある。年末という限られた期間に
   業務が集中し、大量の申告が処理ラインを流れて完了していく——という
   ワークフロー・繁忙期の感覚を、ページ全体の視覚テーマにする。
     HERO      = 左テキスト右写真ではなく、上部＝メッセージ＋処理の
                 流れを想起させる書類チップのグラフィック、下部＝写真
                 ストリップという縦構成
     CHALLENGE = 濃紺背景の4パネルで毎年繰り返される課題を整理
     SERVICE   = CLOUDとBPOの左右分割でサービス領域を明示
     PROCESS   = 既存の業務フロー図解を大きく表示
     FEATURES / MERIT / CASE = 内容の意味に合わせて表現を変える
   共通化しているのはヘッダー／フッター／ブランドカラー／基本UI
   （.service-heading、.service-button、.service-detail-cta など）のみ。
   クラスは .service-nencho 配下に閉じているため他ページには影響しない。
   ============================================================ */

@media (min-width: 1200px) {
  .service-nencho .service-container {
    width: min(1180px, calc(100% - 48px));
  }
}

/* ------------------------------------------------------------
   HERO：上部＝メッセージ＋書類チップの流れ、下部＝写真ストリップ。
   ------------------------------------------------------------ */
.service-nencho-hero {
  padding-top: 46px;
  overflow: hidden;
}
.service-nencho-hero .service-detail-hero__breadcrumb {
  margin-bottom: 22px;
}
.service-nencho-hero__top {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 200px;
  padding: 10px 0 44px;
}
.service-nencho-hero__copy {
  max-width: 640px;
}
.service-nencho-hero__eyebrow {
  margin: 0 0 18px;
  color: #3976c7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.service-nencho-hero__eyebrow:before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: #1673d1;
}
.service-nencho-hero__copy h1 {
  margin: 0 0 20px;
  color: #0a1f3d;
  font-family: serif;
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.03em;
}
.service-nencho-hero__lead {
  margin: 0;
  max-width: 560px;
  color: #425873;
  font-size: 16px;
  line-height: 2;
}
.service-nencho-hero__stream {
  position: relative;
  width: 220px;
  height: 170px;
  justify-self: end;
}
.service-nencho-hero__stream:before {
  content: "";
  position: absolute;
  top: 6px;
  right: 16px;
  width: 1px;
  height: 150px;
  transform: rotate(30deg);
  transform-origin: top right;
  background-image: repeating-linear-gradient(
    180deg,
    #9ab7dc 0 6px,
    transparent 6px 12px
  );
}
.service-nencho-hero__chip {
  position: absolute;
  width: 44px;
  height: 30px;
  border: 1px solid #c9ddf1;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(10, 45, 90, 0.1);
}
.service-nencho-hero__chip:nth-child(1) {
  top: 0;
  right: 0;
}
.service-nencho-hero__chip:nth-child(2) {
  top: 30px;
  right: 32px;
  opacity: 0.85;
}
.service-nencho-hero__chip:nth-child(3) {
  top: 60px;
  right: 64px;
  opacity: 0.68;
}
.service-nencho-hero__chip:nth-child(4) {
  top: 90px;
  right: 96px;
  opacity: 0.5;
}
.service-nencho-hero__chip:nth-child(5) {
  top: 120px;
  right: 128px;
  opacity: 0.32;
}
.service-nencho-hero__stream-label {
  position: absolute;
  top: -20px;
  right: -2px;
  color: #6c86a3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.service-nencho-hero__photo {
  padding: 0 0 60px;
}
.service-nencho-hero__photo img {
  width: 100%;
  height: clamp(240px, 30vw, 400px);
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 24px 50px rgba(10, 45, 90, 0.16);
}

/* CHALLENGE */
.service-nencho-sprite { position:absolute; width:0; height:0; overflow:hidden; }
.service-nencho-icon { width:34px; height:34px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.service-nencho-challenge { padding:88px 0 92px; background:linear-gradient(145deg,#073b73,#031a38); color:#fff; }
.service-nencho-challenge .service-heading h2 { max-width:none; text-wrap:balance; line-break:strict; }
.service-nencho-challenge__grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; margin-top:44px; border:1px solid rgba(255,255,255,.18); }
.service-nencho-challenge__grid article { min-height:262px; padding:29px 26px; background:rgba(255,255,255,.045); }
.service-nencho-challenge__grid .service-nencho-icon { margin-bottom:24px; color:#69b8ff; }
.service-nencho-challenge__grid span,.service-nencho-case__grid span { display:block; margin-bottom:12px; color:#8ec2f2; font-size:10px; font-weight:700; letter-spacing:.16em; }
.service-nencho-challenge__grid h3 { margin:0; color:#fff; font-size:18px; font-weight:600; line-height:1.7; text-wrap:balance; line-break:strict; }
.service-nencho-challenge__grid p { margin:13px 0 0; color:#c9dcf0; font-size:14px; line-height:1.75; }

/* PROCESS：新しい横長インフォグラフィックをセクションの主役として表示。
   ラベル・見出し・説明文・図版までをPROCESS＝白背景で統一し、1つの
   情報単位として見せる。intro（見出し・説明文）は通常コンテナ幅、
   visual（図版）はコンテナ幅の制約から解放したワイド表示のみ担い、
   背景はセクションと同じ白のまま切り替えない。 */
.service-nencho-process {
  padding: 78px 0 18px;
  background: #fff;
}
.service-nencho-process__lead {
  max-width: 780px;
  margin: 18px 0 0;
  color: #425873;
  font-size: 16px;
  line-height: 2;
  text-wrap: balance;
}
.service-nencho-process__hint {
  display: none;
}
.service-nencho-process__visual {
  margin-top: 28px;
  padding: 0;
  background: transparent;
}
.service-nencho-process__figure {
  width: calc(100% - 32px);
  max-width: 1520px;
  margin: 0 auto;
  aspect-ratio: 1983 / 492;
  overflow: hidden;
}
.service-nencho-process__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 39%;
}
@media (min-width: 1200px) {
  .service-nencho-process__figure {
    width: calc(100% - 48px);
  }
}

/* ------------------------------------------------------------
   CLOUD × BPO（このページ最大の見せ場）：単純な2枚カードではなく、
   画面を左右に大きく分け、YEAR-END ADJUSTMENT COMPLETEへ収束する
   構造として見せる。
   ------------------------------------------------------------ */
.service-nencho-hybrid {
  padding: 80px 0 0;
  background: #fff;
}
.service-nencho-hybrid__lead { max-width:720px; margin:20px 0 0; color:#425873; font-size:16px; line-height:2; }
.service-nencho-hybrid__figure {
  margin: 34px 0 0;
  text-align: center;
}
.service-nencho-hybrid__figure img {
  display: inline-block;
  width: min(760px, 100%);
  height: auto;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(10, 45, 90, 0.14);
}
.service-nencho-hybrid__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 44px;
}
.service-nencho-hybrid__side {
  padding: 52px 0;
}
.service-nencho-hybrid__side--cloud {
  background: #eaf2fb;
}
.service-nencho-hybrid__side--bpo {
  background: #00234f;
  color: #fff;
}
.service-nencho-hybrid__inner {
  width: min(460px, 88%);
  margin: 0 auto;
}
.service-nencho-hybrid__label {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.service-nencho-hybrid__side h3 { margin:0 0 18px; color:inherit; font-size:21px; font-weight:600; }
.service-nencho-hybrid__side--cloud .service-nencho-hybrid__label {
  color: #0757a6;
}
.service-nencho-hybrid__side--bpo .service-nencho-hybrid__label {
  color: #8ec2f2;
}
.service-nencho-hybrid__side ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-nencho-hybrid__side li {
  padding: 13px 0;
  border-top: 1px solid rgba(11, 49, 95, 0.14);
  font-size: 15px;
  line-height: 1.7;
}
.service-nencho-hybrid__side--bpo li {
  border-top-color: rgba(255, 255, 255, 0.2);
}
.service-nencho-hybrid__side li:last-child {
  border-bottom: 1px solid rgba(11, 49, 95, 0.14);
}
.service-nencho-hybrid__side--bpo li:last-child {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

/* FEATURES */
.service-nencho-features { padding:60px 0 76px; background:#fff; }
.service-nencho-features__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; margin-top:40px; }
.service-nencho-features__grid article { min-height:216px; padding:18px 40px 24px; border-left:1px solid #d4e1ed; }
.service-nencho-features__grid article:last-child { border-right:1px solid #d4e1ed; }
.service-nencho-features__grid .service-nencho-icon { width:46px; height:46px; margin-bottom:22px; color:#0063ce; }
.service-nencho-features__grid h3 { margin:0 0 15px; color:#102c50; font-size:22px; font-weight:600; text-wrap:balance; line-break:strict; }
.service-nencho-features__grid p { margin:0; color:#52657b; font-size:15px; line-height:1.9; }

/* MERIT */
.service-nencho-merit { padding:76px 0 82px; background:#f2f7fc; }
.service-nencho-merit__grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:44px; }
.service-nencho-merit__grid article { min-height:278px; padding:36px 29px; border:1px solid #d9e5f0; border-radius:6px; background:#fff; }
.service-nencho-merit__grid .service-nencho-icon { margin-bottom:24px; color:#0063ce; }
.service-nencho-merit__grid h3 { margin:0 0 14px; color:#102c50; font-size:18px; font-weight:600; line-height:1.6; text-wrap:balance; line-break:strict; }
.service-nencho-merit__grid p { margin:0; color:#5a6b7e; font-size:14px; line-height:1.85; }

/* CASE */
.service-nencho-case { padding:76px 0 92px; background:#fff; }
.service-nencho-case__lead { margin:18px 0 0; color:#52657b; font-size:16px; }
.service-nencho-case__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:42px; }
.service-nencho-case__grid article { min-height:224px; padding:30px 30px 34px; border-top:3px solid #0063ce; background:#fff; box-shadow:0 12px 34px rgba(10,45,90,.09); }
.service-nencho-case__grid .service-nencho-icon { margin-bottom:24px; color:#0063ce; }
.service-nencho-case__grid h3 { margin:0; color:#152e50; font-size:19px; font-weight:600; line-height:1.75; text-wrap:balance; line-break:strict; }
.service-nencho-case__break { display:block; }

.service-nencho .service-heading h2 { text-wrap:balance; line-break:strict; }

@media (min-width: 1200px) {
  .service-nencho-challenge .service-heading h2 { white-space:nowrap; }
}

@media (max-width: 1199px) and (min-width: 768px) {
  .service-nencho-challenge__grid,
  .service-nencho-merit__grid { grid-template-columns:repeat(2,1fr); }
  .service-nencho-case__grid { grid-auto-rows:1fr; }
}

@media (max-width: 1100px) and (min-width: 768px) {
  .service-nencho-case__grid { grid-template-columns:repeat(2,1fr); }
  .service-nencho-case__grid article:last-child { grid-column:1/-1; }
}

.service-nencho-cta {
  padding: 100px 0 108px;
}
.service-nencho-cta__eyebrow {
  margin: 0 0 16px;
  color: #8ec2f2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.service-nencho-cta__back {
  display: inline-block;
  margin-top: 24px;
  color: #bcd8f7 !important;
  font-size: 13px;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------
   レスポンシブ（タブレット）
   ------------------------------------------------------------ */
@media (max-width: 991px) {
  .service-nencho-hero__stream {
    width: 170px;
    height: 140px;
  }
  .service-nencho-challenge__grid,.service-nencho-merit__grid { grid-template-columns:repeat(2,1fr); }
  .service-nencho-features__grid { grid-template-columns:repeat(2,1fr); }
  .service-nencho-features__grid article:nth-child(3) { grid-column:1/-1; max-width:50%; border-right:1px solid #d4e1ed; }
  .service-nencho-case__grid { grid-template-columns:repeat(2,1fr); }
  .service-nencho-case__grid article:last-child { grid-column:1/-1; }
}

/* ------------------------------------------------------------
   レスポンシブ（モバイル）
   ------------------------------------------------------------ */
@media (max-width: 767px) {
  .service-nencho-hero {
    padding-top: 30px;
  }
  .service-nencho-hero__top {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: 30px;
  }
  .service-nencho-hero__stream {
    display: none;
  }
  .service-nencho-hero__copy h1 {
    font-size: 28px;
  }
  .service-nencho-hero__lead {
    font-size: 14px;
  }
  .service-nencho-hero__photo {
    padding-bottom: 40px;
  }
  .service-nencho-hero__photo img {
    height: 220px;
    border-radius: 10px;
  }

  .service-nencho-process {
    padding-top: 52px;
  }
  .service-nencho-process__lead {
    margin-top: 14px;
  }
  .service-nencho-process__hint {
    display: block;
    margin: 14px 0 0;
    color: #7a8ba0;
    font-size: 11px;
    letter-spacing: 0.04em;
  }
  .service-nencho-process__visual {
    margin-top: 22px;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .service-nencho-process__figure {
    width: 1000px;
    max-width: none;
    margin: 0;
    padding: 0 24px 0 24px;
  }

  .service-nencho-hybrid {
    padding-top: 52px;
  }
  .service-nencho-hybrid__split {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .service-nencho-hybrid__side {
    padding: 38px 0;
  }
  .service-nencho-challenge,.service-nencho-features,.service-nencho-merit { padding:52px 0 56px; }
  .service-nencho-case { padding:52px 0 60px; }
  .service-nencho-challenge__grid,.service-nencho-features__grid,.service-nencho-merit__grid,.service-nencho-case__grid { grid-template-columns:1fr; }
  .service-nencho-challenge__grid article { min-height:0; padding:28px 24px; }
  .service-nencho-features__grid article,.service-nencho-features__grid article:nth-child(3) { grid-column:auto; max-width:none; min-height:0; padding:28px 12px; border-right:0; border-left:0; border-top:1px solid #d4e1ed; }
  .service-nencho-features__grid article:last-child { border-bottom:1px solid #d4e1ed; }
  .service-nencho-merit__grid article,.service-nencho-case__grid article { min-height:0; }
  .service-nencho-case__grid article:last-child { grid-column:auto; }
  .service-nencho-case__break { display:none; }

  .service-nencho-cta {
    padding: 60px 0 64px;
  }
}

/* ============================================================
   /service/hibarai/ 専用
   ============================================================ */
@media (min-width: 1200px) {
  .service-hibarai .service-container { width: min(1180px, calc(100% - 48px)); }
}

.service-hibarai { color: #263d59; }
.service-hibarai-section-heading { max-width: 1080px; margin-bottom: 44px; }
.service-hibarai-section-heading > p {
  margin: 0 0 14px; color: #1673d1; font-size: 12px; font-weight: 800;
  letter-spacing: .18em;
}
.service-hibarai-section-heading > h2 {
  margin: 0; color: #09264a; font-size: clamp(28px, 3vw, 40px);
  font-weight: 700; line-height: 1.45; letter-spacing: .02em;
  line-break: strict; overflow-wrap: normal; word-break: normal;
}
.service-hibarai-section-heading--light > p { color: #8dc8ff; }
.service-hibarai-section-heading--light > h2 { color: #fff; }

.service-hibarai-hero {
  min-height: 660px; padding: 46px 0 78px;
  background: linear-gradient(180deg, #fff 0%, #edf5fd 100%);
}
.service-hibarai-hero .service-detail-hero__breadcrumb { margin-bottom: 38px; }
.service-hibarai-hero__copy { max-width: 790px; margin: 0 auto; text-align: center; }
.service-hibarai-hero__eyebrow {
  margin: 0 0 18px; color: #3976c7; font-size: 13px; font-weight: 800;
  letter-spacing: .18em;
}
.service-hibarai-hero__eyebrow:before {
  content: ""; display: inline-block; width: 26px; height: 1px; margin-right: 12px;
  vertical-align: middle; background: #1673d1;
}
.service-hibarai-hero__copy h1 {
  margin: 0 0 24px; color: #082447; font-family: serif;
  font-size: clamp(38px, 5vw, 58px); font-weight: 600; letter-spacing: .03em;
}
.service-hibarai-hero__lead {
  max-width: 730px; margin: 0 auto; color: #405a78; font-size: 17px; line-height: 2;
}
.service-hibarai-hero__pipeline {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  max-width: 1060px; margin: 54px auto 0;
}
.service-hibarai-hero__group { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.service-hibarai-hero__group-label {
  margin: 0; color: #527fb8; font-size: 11px; font-weight: 700; letter-spacing: .06em;
}
.service-hibarai-hero__days,.service-hibarai-hero__outputs { display: flex; flex-direction: column; gap: 7px; }
.service-hibarai-hero__days span,.service-hibarai-hero__outputs span {
  min-width: 104px; padding: 8px 14px; border: 1px solid #c3d9ee; border-radius: 4px;
  background: #fff; color: #12375f; font-size: 11px; font-weight: 700;
  text-align: center; white-space: nowrap; box-shadow: 0 5px 15px rgba(16,54,96,.06);
}
.service-hibarai-hero__arrow {
  position: relative; width: 52px; height: 2px; flex: 0 0 auto;
  background: linear-gradient(90deg,#a8c3e0,#0870cf);
}
.service-hibarai-hero__arrow:after {
  content: ""; position: absolute; top: 50%; right: 0; width: 9px; height: 9px;
  transform: translateY(-50%) rotate(45deg); border-top: 2px solid #0870cf;
  border-right: 2px solid #0870cf;
}
.service-hibarai-hero__calc {
  display: flex; width: 146px; height: 146px; flex: 0 0 auto; flex-direction: column;
  align-items: center; justify-content: center; border-radius: 50%;
  background: linear-gradient(145deg,#0a79dc,#03254f); color: #fff; text-align: center;
  box-shadow: 0 22px 48px rgba(8,80,170,.27);
}
.service-hibarai-hero__calc-en { font-family: serif; font-size: 16px; font-weight: 700; letter-spacing: .08em; }
.service-hibarai-hero__calc-jp { margin-top: 7px; color: #c7e1fb; font-size: 11px; }

.service-hibarai-challenge { padding: 96px 0; background: #082a54; }
.service-hibarai-challenge__grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.22); }
.service-hibarai-challenge__grid article { min-height: 166px; padding: 28px 26px 30px; border-right: 1px solid rgba(255,255,255,.16); }
.service-hibarai-challenge__grid article:last-child { border-right: 0; }
.service-hibarai-challenge__grid span { color: #78bdf7; font-family: serif; font-size: 18px; letter-spacing: .08em; }
.service-hibarai-challenge__grid h3 { margin: 16px 0 0; color: #fff; font-size: 18px; line-height: 1.75; }

.service-hibarai-service { padding: 100px 0 104px; background: #fff; }
.service-hibarai-service__visual { margin: 0; text-align: center; }
.service-hibarai-service__visual img { display: block; width: min(1040px,100%); height: auto; margin: 0 auto; }
.service-hibarai-service__functions { display: grid; grid-template-columns: repeat(2,1fr); margin-top: 54px; border-top: 1px solid #bed2e7; border-left: 1px solid #bed2e7; }
.service-hibarai-service__functions article { min-height: 270px; padding: 32px 36px; border-right: 1px solid #bed2e7; border-bottom: 1px solid #bed2e7; background: #f8fbfe; }
.service-hibarai-service__functions article:nth-child(2),.service-hibarai-service__functions article:nth-child(3) { background: #eef5fb; }
.service-hibarai-service__functions span { color: #2776c6; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.service-hibarai-service__functions h3 { margin: 12px 0 20px; padding-bottom: 16px; border-bottom: 2px solid #1673d1; color: #0a315d; font-size: 20px; }
.service-hibarai-service__functions ul { margin: 0; padding: 0; list-style: none; }
.service-hibarai-service__functions li { position: relative; margin-top: 9px; padding-left: 18px; color: #334e6b; font-size: 15px; line-height: 1.75; }
.service-hibarai-service__functions li:before { content: ""; position: absolute; top: .75em; left: 0; width: 7px; height: 2px; background: #4d91d2; }

.service-hibarai-features { padding: 100px 0 104px; background: #edf4fa; }
.service-hibarai-features__layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 64px; }
.service-hibarai-features__layout figure { margin: 0; }
.service-hibarai-features__layout figure img { display: block; width: 100%; height: auto; }
.service-hibarai-features__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #c6d8e8; }
.service-hibarai-features__list li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid #c6d8e8; }
.service-hibarai-features__list li > span { padding-top: 3px; color: #3f83c7; font-family: serif; font-size: 13px; }
.service-hibarai-features__list h3 { margin: 0; color: #15395f; font-size: 18px; line-height: 1.55; }
.service-hibarai-features__list h3 strong { color: #096bc5; font-family: serif; font-size: 29px; line-height: 1; }
.service-hibarai-features__list p { margin: 8px 0 0; color: #4b647d; font-size: 15px; line-height: 1.75; }
.service-hibarai-features__highlight { position: relative; }
.service-hibarai-features__highlight:before { content: ""; position: absolute; top: 0; bottom: 0; left: -18px; width: 3px; background: #1673d1; }

.service-hibarai-merit { padding: 96px 0; background: #0b3d75; }
.service-hibarai-merit__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.22); }
.service-hibarai-merit__grid article { min-height: 178px; padding: 28px 26px 30px; background: #0b3d75; }
.service-hibarai-merit__grid span { color: #78bdf7; font-family: serif; font-size: 18px; letter-spacing: .08em; }
.service-hibarai-merit__grid h3 { margin: 16px 0 0; color: #fff; font-size: 18px; line-height: 1.75; }

.service-hibarai-flow { padding: 100px 0 104px; background: #fff; }
.service-hibarai-flow__list { position: relative; display: flex; margin: 58px 0 0; padding: 0; list-style: none; }
.service-hibarai-flow__list:before { content: ""; position: absolute; top: 25px; right: 12%; left: 12%; height: 2px; background: #c5d9eb; }
.service-hibarai-flow__step { position: relative; z-index: 1; flex: 1; padding: 0 12px; text-align: center; }
.service-hibarai-flow__num { display: grid; width: 50px; height: 50px; margin: 0 auto 20px; place-items: center; border: 2px solid #90b5d8; border-radius: 50%; background: #fff; color: #113e6a; font-family: serif; font-weight: 700; }
.service-hibarai-flow__step--run .service-hibarai-flow__num { border-color: #0870cf; background: #0870cf; color: #fff; box-shadow: 0 10px 24px rgba(8,112,207,.25); }
.service-hibarai-flow__en { margin: 0 0 7px; color: #3d83c8; font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.service-hibarai-flow__jp { margin: 0; color: #102f52; font-size: 16px; font-weight: 700; line-height: 1.6; }
.service-hibarai-flow .service-detail-note { max-width: 860px; margin: 52px auto 0; padding: 21px 28px; border-left: 3px solid #1673d1; background: #edf5fb; color: #34516f; font-size: 15px; line-height: 1.85; }

@media (max-width: 991px) {
  .service-hibarai-hero__pipeline { gap: 10px; }
  .service-hibarai-hero__arrow { width: 28px; }
  .service-hibarai-hero__calc { width: 118px; height: 118px; }
  .service-hibarai-challenge__grid,.service-hibarai-merit__grid { grid-template-columns: repeat(2,1fr); }
  .service-hibarai-challenge__grid article:nth-child(2) { border-right: 0; }
  .service-hibarai-features__layout { grid-template-columns: 1fr; gap: 48px; }
  .service-hibarai-features__layout figure { max-width: 720px; margin: 0 auto; }
}
@media (max-width: 767px) {
  .service-hibarai-section-heading { margin-bottom: 32px; }
  .service-hibarai-section-heading > h2 { font-size: 27px; line-height: 1.55; }
  .service-hibarai-hero { min-height: 0; padding: 30px 0 58px; }
  .service-hibarai-hero .service-detail-hero__breadcrumb { margin-bottom: 28px; }
  .service-hibarai-hero__copy h1 { font-size: 34px; }
  .service-hibarai-hero__lead { font-size: 14px; line-height: 1.9; }
  .service-hibarai-hero__pipeline { flex-direction: column; margin-top: 38px; }
  .service-hibarai-hero__days,.service-hibarai-hero__outputs { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .service-hibarai-hero__days span,.service-hibarai-hero__outputs span { min-width: 88px; padding: 7px 10px; }
  .service-hibarai-hero__arrow { width: 2px; height: 25px; }
  .service-hibarai-hero__arrow:after { top: auto; right: 50%; bottom: 0; transform: translateX(50%) rotate(135deg); }
  .service-hibarai-hero__calc { width: 108px; height: 108px; }
  .service-hibarai-challenge,.service-hibarai-service,.service-hibarai-features,.service-hibarai-merit,.service-hibarai-flow { padding: 62px 0; }
  .service-hibarai-challenge__grid,.service-hibarai-merit__grid { grid-template-columns: 1fr; }
  .service-hibarai-challenge__grid article { min-height: 0; padding: 25px 4px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .service-hibarai-challenge__grid span,.service-hibarai-merit__grid span { font-size: 16px; }
  .service-hibarai-challenge__grid h3,.service-hibarai-merit__grid h3 { margin-top: 12px; }
  .service-hibarai-service__functions { grid-template-columns: 1fr; margin-top: 42px; }
  .service-hibarai-service__functions article { min-height: 0; padding: 28px 24px; background: #f7fbfe !important; }
  .service-hibarai-features__layout { gap: 34px; }
  .service-hibarai-features__list li { grid-template-columns: 34px 1fr; }
  .service-hibarai-features__highlight:before { left: -9px; }
  .service-hibarai-merit__grid article { min-height: 0; padding: 26px 22px; }
  .service-hibarai-flow__list { flex-direction: column; gap: 22px; margin-top: 38px; }
  .service-hibarai-flow__list:before { top: 0; right: auto; bottom: 0; left: 24px; width: 2px; height: auto; }
  .service-hibarai-flow__step { display: flex; align-items: center; gap: 17px; padding: 0; text-align: left; }
  .service-hibarai-flow__num { flex: 0 0 50px; margin: 0; }
  .service-hibarai-flow .service-detail-note { margin-top: 38px; padding: 18px 20px; }
}

/* /service/it-chotatsu/（IT導入支援・機器調達）専用 */

@media (min-width: 1200px) {
  .service-itc .service-container {
    width: min(1180px, calc(100% - 48px));
  }
}

.service-itc-hero {
  padding-top: 46px;
}
.service-itc-hero .service-detail-hero__breadcrumb {
  margin-bottom: 26px;
}
.service-itc-hero__copy {
  max-width: 760px;
}
.service-itc-hero__eyebrow {
  margin: 0 0 18px;
  color: #3976c7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.service-itc-hero__eyebrow:before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: #1673d1;
}
.service-itc-hero__copy h1 {
  margin: 0 0 20px;
  color: #0a1f3d;
  font-family: serif;
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.03em;
}
.service-itc-hero__lead {
  max-width: 680px;
  margin: 0;
  color: #425873;
  font-size: 16px;
  line-height: 2;
}
.service-itc-hero__photo {
  margin-top: 40px;
}
.service-itc-hero__photo img {
  width: 100%;
  height: clamp(240px, 26vw, 360px);
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 24px 50px rgba(10, 45, 90, 0.16);
}
.service-itc-hero__areas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 40px;
  padding: 20px 0;
  list-style: none;
}
.service-itc-hero__areas li {
  padding: 10px 22px;
  border: 1px solid #c9ddf1;
  border-radius: 999px;
  background: #f2f7fc;
  color: #0b315f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.service-itc-challenge {
  padding: 86px 0 92px;
  background: var(--pale);
}
.service-itc-challenge__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 46px 0 0;
  padding: 0;
  border-top: 1px solid #cbd9e8;
  border-left: 1px solid #cbd9e8;
  list-style: none;
}
.service-itc-challenge__grid li {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 26px;
  min-height: 142px;
  padding: 28px 34px;
  border-right: 1px solid #cbd9e8;
  border-bottom: 1px solid #cbd9e8;
}
.service-itc-challenge__grid i {
  color: #1673d1;
  font-size: 36px;
  text-align: center;
}
.service-itc-challenge__grid p {
  max-width: 430px;
  margin: 0;
  color: #0b315f;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.8;
}

.service-itc-service {
  padding: 92px 0 98px;
  background: #fff;
}
.service-itc-service__lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: #425873;
  font-size: 16px;
  line-height: 2;
}
.service-itc-service__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}
.service-itc-service__grid article {
  display: flex;
  min-height: 442px;
  padding: 42px 36px 36px;
  flex-direction: column;
  border: 1px solid #d9e5f0;
  border-top: 4px solid #1673d1;
  border-radius: 10px;
  background: #f8fbfe;
}
.service-itc-service__label {
  margin: 0 0 22px;
  color: #3976c7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}
.service-itc-service__grid article > i {
  color: #1673d1;
  font-size: 36px;
}
.service-itc-service__grid h3 {
  min-height: 76px;
  max-width: 310px;
  margin: 20px 0 24px;
  color: #0b315f;
  font-family: serif;
  font-size: 24px;
  line-height: 1.5;
}
.service-itc-service__grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-itc-service__grid li {
  padding: 11px 0;
  border-top: 1px solid #e7edf5;
  color: #33475f;
  font-size: 14.5px;
  line-height: 1.8;
}
.service-itc-service__grid li:first-child {
  border-top: 0;
}
.service-itc-service__support {
  display: grid;
  grid-template-columns: 52px 240px 1fr;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  padding: 24px 30px;
  border: 1px solid #c9ddf1;
  border-radius: 8px;
  background: #eef6fd;
}
.service-itc-service__support > i { color: #1673d1; font-size: 30px; }
.service-itc-service__support p { margin: 0; color: #425873; font-size: 14px; line-height: 1.8; }
.service-itc-service__support div p { color: #3976c7; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.service-itc-service__support h3 { margin: 4px 0 0; color: #0b315f; font-size: 16px; }

.service-itc-features {
  padding: 94px 0 100px;
  background: linear-gradient(145deg, #0a3f7a, #041c3c);
  color: #fff;
}
.service-itc-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.service-itc-features__item {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(255,255,255,.07);
}
.service-itc-features__item span { color: #8ec2f2; font-family: serif; font-size: 18px; font-style: italic; }
.service-itc-features__item h3 { max-width: 440px; margin: 22px 0 14px; color: #fff; font-family: serif; font-size: 24px; line-height: 1.55; }
.service-itc-features__item p { margin: 0; color: #d4e5f8; font-size: 14px; line-height: 1.9; }
.service-itc-features__item--visual { display: grid; grid-template-columns: 1fr 46%; align-items: stretch; background: linear-gradient(120deg,rgba(255,255,255,.07),rgba(142,194,242,.1)); }
.service-itc-features__item--visual div { padding: 32px 12px 32px 34px; }
.service-itc-features__item--visual img {
  align-self: center;
  width: calc(100% - 14px);
  height: calc(100% - 28px);
  min-height: 232px;
  margin: 14px 14px 14px 0;
  border: 1px solid rgba(182,211,237,.7);
  border-radius: 9px;
  background: #edf5fb;
  object-fit: cover;
  filter: saturate(.92) contrast(.98);
  box-shadow: 0 0 0 5px rgba(142,194,242,.07);
}
.service-itc-features__item--diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, .85fr);
  align-items: center;
  gap: 30px;
  padding: 34px 36px;
}
.service-itc-features__copy { min-width: 0; }
.service-itc-features__conditions {
  display: grid;
  gap: 17px;
  padding: 24px 20px;
  border: 1px solid rgba(142,194,242,.28);
  border-radius: 10px;
  background: rgba(2,22,49,.32);
}
.service-itc-features__conditions > div {
  display: grid;
  grid-template-columns: 68px 1fr 18px;
  align-items: center;
  gap: 10px;
}
.service-itc-features__conditions strong { color: #d9eafb; font-size: 10px; letter-spacing: .08em; }
.service-itc-features__conditions div > span { position: relative; height: 5px; border-radius: 99px; background: rgba(255,255,255,.18); }
.service-itc-features__conditions div > span i { position: absolute; top: 0; left: 0; width: var(--level); height: 100%; border-radius: inherit; background: #61b3f1; }
.service-itc-features__conditions div > span i:after { content: ""; position: absolute; top: 50%; right: 0; width: 11px; height: 11px; border: 2px solid #fff; border-radius: 50%; background: #1673d1; transform: translate(50%,-50%); }
.service-itc-features__conditions div > i { color: #7fd0ff; font-size: 11px; }
.service-itc-features__products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-itc-features__products li {
  display: grid;
  min-height: 82px;
  place-items: center;
  padding: 12px 8px;
  border: 1px solid rgba(142,194,242,.25);
  border-radius: 8px;
  background: rgba(2,22,49,.32);
  color: #d9eafb;
  text-align: center;
}
.service-itc-features__products i { color: #8ec2f2; font-size: 25px; }
.service-itc-features__products span { font-family: inherit; font-size: 9px; font-style: normal; font-weight: 700; letter-spacing: .06em; }

.service-itc-merit {
  padding: 92px 0 98px;
  background: #fff;
}
.service-itc-merit__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 46px;
}
.service-itc-merit__grid article {
  min-height: 348px;
  padding: 39px 30px;
  border: 1px solid #d7e3ef;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(10,45,90,.075);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-itc-merit__grid article:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(10,45,90,.095); }
.service-itc-merit__grid article > span { display: grid; width: 70px; height: 70px; place-items: center; border-radius: 50%; background: #eaf4fd; color: #1673d1; font-size: 30px; }
.service-itc-merit__grid article > p { margin: 26px 0 10px; color: #3976c7; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.service-itc-merit__grid h3 { min-height: 66px; margin: 0 0 17px; color: #0b315f; font-size: 19px; line-height: 1.6; }
.service-itc-merit__grid article > div { color: #52677d; font-size: 14.5px; line-height: 1.85; }

.service-itc-case {
  padding: 92px 0 98px;
  background: var(--pale);
}
.service-itc-case__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 46px;
}
.service-itc-case__grid article {
  display: grid;
  grid-template-columns: 112px 1fr;
  column-gap: 28px;
  align-items: center;
  min-height: 158px;
  padding: 28px 32px 28px 24px;
  border: 1px solid #d8e5f1;
  border-radius: 6px;
  background: #fff;
}
.service-itc-case__grid span { grid-row: 1 / 3; display: flex; width: 112px; height: 100px; align-items: center; justify-content: center; gap: 6px; border-radius: 4px; background: linear-gradient(145deg,#0b315f,#0757a6); color: #fff; font-size: 30px; }
.service-itc-case__grid span i:nth-child(n+2) { color: #9fd2ff; font-size: 15px; }
.service-itc-case__grid span i:nth-child(3) { color: #fff; font-size: 24px; }
.service-itc-case__grid h3 { margin: 0 0 8px; color: #0b315f; font-family: serif; font-size: 20px; line-height: 1.5; }
.service-itc-case__grid p { margin: 0; color: #52677d; font-size: 14px; line-height: 1.8; }

.service-itc-cta {
  padding: 100px 0 108px;
}
.service-itc-cta__eyebrow {
  margin: 0 0 16px;
  color: #8ec2f2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.service-itc-cta__back {
  display: inline-block;
  margin-top: 24px;
  color: #bcd8f7 !important;
  font-size: 13px;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

@media (max-width: 991px) {
  .service-itc-service__grid { grid-template-columns: 1fr; }
  .service-itc-service__grid article,.service-itc-service__grid h3 { min-height: 0; }
  .service-itc-features__item--diagram { grid-template-columns: 1fr; align-content: start; }
  .service-itc-features__item--visual { grid-template-columns: 1fr; }
  .service-itc-features__item--visual div { padding: 30px; }
  .service-itc-features__item--visual img { width: calc(100% - 32px); height: 230px; min-height: 0; margin: 0 16px 16px; }
  .service-itc-merit__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .service-itc-hero { padding-top: 30px; }
  .service-itc-hero__copy h1 { font-size: 28px; }
  .service-itc-hero__lead { font-size: 14px; }
  .service-itc-hero__photo img { height: 200px; border-radius: 10px; }
  .service-itc-hero__areas { flex-direction: column; align-items: stretch; gap: 8px; margin: 20px 0 28px; }
  .service-itc-hero__areas li { padding: 8px 16px; font-size: 11px; text-align: center; }
  .service-itc-challenge,.service-itc-service,.service-itc-features,.service-itc-merit,.service-itc-case { padding: 58px 0 62px; }
  .service-itc-challenge__grid { grid-template-columns: 1fr; margin-top: 34px; }
  .service-itc-challenge__grid li { grid-template-columns: 44px 1fr; gap: 16px; min-height: 0; padding: 22px 18px; }
  .service-itc-challenge__grid i { font-size: 28px; }
  .service-itc-challenge__grid p { font-size: 15px; }
  .service-itc-service__grid { margin-top: 36px; }
  .service-itc-service__grid article { padding: 30px 24px; }
  .service-itc-service__grid article > i { font-size: 30px; }
  .service-itc-service__grid h3 { max-width: none; margin: 16px 0 18px; font-size: 21px; }
  .service-itc-service__grid li { font-size: 13px; }
  .service-itc-service__support { grid-template-columns: 40px 1fr; gap: 14px; padding: 22px 18px; }
  .service-itc-service__support > p { grid-column: 1 / -1; }
  .service-itc-features__grid,.service-itc-merit__grid,.service-itc-case__grid { grid-template-columns: 1fr; margin-top: 36px; }
  .service-itc-features__item { min-height: 0; }
  .service-itc-features__item--diagram { gap: 24px; padding: 28px 24px; }
  .service-itc-features__item h3 { font-size: 21px; }
  .service-itc-features__conditions { padding: 20px 16px; }
  .service-itc-features__products li { min-height: 76px; }
  .service-itc-features__item--visual img { height: auto; max-height: 240px; }
  .service-itc-merit__grid article { min-height: 0; padding: 32px 26px; }
  .service-itc-merit__grid article:hover { transform: none; }
  .service-itc-merit__grid h3 { min-height: 0; }
  .service-itc-case__grid article { grid-template-columns: 82px 1fr; gap: 18px; min-height: 0; padding: 20px 18px; }
  .service-itc-case__grid span { width: 82px; height: 72px; gap: 4px; font-size: 23px; }
  .service-itc-case__grid span i:nth-child(n+2) { font-size: 11px; }
  .service-itc-case__grid span i:nth-child(3) { font-size: 18px; }
  .service-itc-case__grid h3 { font-size: 17px; }
  .service-itc-cta { padding: 60px 0 64px; }
}

/* Shared service-site finishing rules */
.footer-contact-title {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.5;
  text-wrap: balance;
}

.footer-contact-copy {
  max-width: 46rem;
  margin-inline: auto;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.8;
}

.service-service-card__body .service-link__text {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.service-service-card__body .service-link__text strong {
  display: block;
  line-height: 1.45;
}

.service-service-card__body .service-link__text small {
  display: block;
  margin-top: 0.25rem;
  padding-right: 0.5rem;
  color: inherit;
  font-size: 0.8em;
  font-weight: 400;
  line-height: 1.55;
}

.service-service-card__body h3,
.service-service-card__body a {
  line-break: strict;
  overflow-wrap: break-word;
  word-break: normal;
}

@media (max-width: 767px) {
  .footer-contact-copy {
    font-size: 1rem;
    line-height: 1.75;
  }

  .service-service-card__body .service-link__text small {
    font-size: 0.82em;
  }
}
