/* ==================================================
   Services Page - 严格还原旧版 html_szzx_front 我们的服务页面
   ================================================== */

/* 旧版页面整体为白底黑字，覆盖新站默认暗色主题 */
body {
  background-color: #FFFFFF;
  color: #333333;
}

/* 旧版使用 Bootstrap 容器宽度，覆盖新站默认 max-width */
main .container {
  max-width: 1170px;
  width: 100%;
}

/* Bootstrap 风格栅格（旧版使用 Bootstrap） */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.row::before,
.row::after {
  content: "";
  display: table;
}

.row::after {
  clear: both;
}

.col-xs-12,
.col-sm-4,
.col-sm-8 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.col-xs-12 {
  width: 100%;
}

@media (min-width: 768px) {
  .col-sm-4 { width: 33.33333333%; }
  .col-sm-8 { width: 66.66666667%; }
}

/* Hero Banner */
.service-hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-repeat: no-repeat;
}

/* Service Sections */
#system-container,
#maintain-container,
#cloudService-container,
#infrastructure-container,
#software-outsourcing-container,
#drugs-container {
  scroll-margin-top: 85px;
}

.service-section {
  overflow: hidden;
  padding: 60px 0;
  background-color: #FFFFFF;
}

.service-section.service-gray {
  background-color: #EEEEEE;
}

.service {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 250px;
}

.service-img {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.service-img img {
  max-width: 320px;
  width: 100%;
  height: auto;
  display: block;
}

.service-content {
  color: #333333;
}

.service-title {
  text-align: center;
  padding-bottom: 30px;
  padding-top: 5px;
}

.service-title span {
  font-family: 思源黑体, "Source Han Sans", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-weight: bold;
  font-size: 30px !important;
  color: #333333;
}

.service-content p {
  font-size: 16px;
  color: #333333;
  line-height: 1.8;
  margin: 0;
}

.service-more {
  display: block;
  width: 110px;
  height: 32px;
  padding: 0;
  line-height: 32px;
  text-align: center;
  border: 1px solid #CCCCCC;
  background: #FFFFFF;
  float: right;
  margin-top: 30px;
  font-size: 14px;
  color: #333333;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  font-family: inherit;
}

.service-more:hover {
  border: 1px solid #68B726;
  color: #68B726;
}

.service-more-icon {
  display: inline-block;
  float: right;
  margin-right: 7px;
  line-height: 32px;
  font-style: normal;
  font-size: 16px;
}

/* Modal */
.focus-layer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2000;
  display: none;
  overflow: auto;
  overflow-y: scroll;
  background-color: rgba(0, 0, 0, 0.3);
}

.focus-layer.active {
  display: block;
}

.focus-layer-two {
  background: #FFFFFF;
  width: 770px;
  margin: 30px auto;
}

.focus-layer-two > div {
  width: 770px;
}

.focus-layer-item {
  height: 60px;
  border-bottom: 1px solid #EEEEEE;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.focus-layer-title {
  width: 120px;
  text-align: center;
  font-size: 16px;
  border: 1px solid #68B726;
}

.focus-layer-title h4 {
  height: 30px;
  line-height: 30px;
  margin: 0;
  font-size: 16px;
  color: #333333;
  font-weight: normal;
}

.focus-layer .close {
  order: 2;
  font-size: 30px;
  line-height: 1;
  color: #333333;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 4px;
}

.focus-layer-item::after {
  content: "";
  display: table;
  clear: both;
}

.focus-layer img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive */
@media (max-width: 991px) {
  .focus-layer-two,
  .focus-layer-two > div {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .service-hero-banner {
    height: 400px !important;
  }

  .service-section {
    padding: 40px 0;
  }

  .service-img,
  .service-content {
    width: 100%;
  }

  .service-img {
    margin-bottom: 24px;
  }

  .service-content {
    order: 2;
  }

  .service-img {
    order: 1;
  }

  .service-title span {
    font-size: 24px !important;
  }

  .service-more {
    float: none;
    margin: 24px auto 0;
  }
}

/* Structured service detail modal - reconstructed from systemService.jpg */
.service-detail-modal {
  align-items: flex-start;
  justify-content: center;
  padding: 30px 16px;
  background: rgba(0, 0, 0, 0.3);
}

.service-detail-modal.active {
  display: flex;
}

.service-detail-panel {
  width: min(948px, 100%);
  max-height: calc(100dvh - 60px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #FFFFFF;
  border-radius: 0;
  box-shadow: none;
  animation: service-detail-enter 0.28s ease;
}

.service-detail-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 12px;
  box-sizing: border-box;
  border-bottom: 1px solid #EEEEEE;
  background: #FFFFFF;
}

.service-detail-category {
  width: 120px;
  height: 30px;
  margin: 0;
  box-sizing: border-box;
  border: 1px solid #68B726;
  color: #333333;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  text-align: center;
}

.focus-layer .service-detail-close {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  color: #333333;
  background: transparent;
  font-size: 30px;
  line-height: 1;
}

.focus-layer .service-detail-close:hover,
.focus-layer .service-detail-close:focus-visible {
  color: #006EBB;
  background: transparent;
  outline: 2px solid #8DBDDF;
  outline-offset: 2px;
}

.service-detail-body {
  padding: 0;
  background: #FFFFFF;
}

.service-detail-title-stage {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 250px;
  padding-top: 78px;
  box-sizing: border-box;
  background: #FFFFFF;
}

.service-detail-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 430px;
  height: 76px;
  margin: 0;
  box-sizing: border-box;
  border: 1px solid #8DBDDF;
  color: #006EBB;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

html[data-lang="en"] .service-detail-category {
  font-size: 14px;
}

html[data-lang="en"] .service-detail-title {
  font-size: 28px;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 255px);
  justify-content: space-between;
  column-gap: 0;
  row-gap: 78px;
  padding: 92px 44px 78px;
  box-sizing: border-box;
  background: #E6E6E6;
}

.service-detail-card {
  position: relative;
  width: 255px;
  min-width: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.focus-layer .service-detail-card-image {
  width: 255px;
  max-width: 255px;
  height: 275px;
  margin: 47px auto 0;
  margin-inline: auto;
  aspect-ratio: 255 / 275;
  object-fit: cover;
  background: #E6E6E6;
}

.service-detail-card-content {
  padding: 0;
}

.service-detail-card-content h3 {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 202px;
  height: 73px;
  margin: 0;
  padding: 0 12px;
  box-sizing: border-box;
  transform: translateX(-50%);
  border-radius: 0;
  background: #006EBB;
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.service-detail-card-content p {
  margin: 22px 0 0;
  color: #333333;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.service-maintain-content {
  padding: 72px 55px 90px;
  box-sizing: border-box;
  background: #FFFFFF;
}

.service-maintain-methods {
  display: grid;
  grid-template-columns: 250px max-content;
  align-items: center;
  width: max-content;
  max-width: 100%;
  gap: 40px;
  margin: 0 auto 64px;
}

.focus-layer .service-maintain-methods-image {
  display: block;
  width: 250px;
  max-width: 250px;
  height: auto;
}

.service-maintain-method-list {
  display: grid;
  gap: 42px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-maintain-method {
  position: relative;
  min-width: 0;
  padding-left: 34px;
  color: #243746;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.service-maintain-method::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #244A5B;
}

.service-maintain-method[data-method="remote"] {
  color: #F2B900;
}

.service-maintain-method[data-method="remote"]::before {
  background: #F2B900;
}

.service-maintain-method[data-method="inspection"] {
  color: #C5003E;
}

.service-maintain-method[data-method="inspection"]::before {
  background: #C5003E;
}

.service-maintain-method[data-method="onsite"] {
  color: #0087A4;
}

.service-maintain-method[data-method="onsite"]::before {
  background: #0087A4;
}

.service-maintain-capabilities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 20px;
  padding: 34px 28px 30px;
  border: 1px solid #0089A8;
}

.service-maintain-capability {
  min-width: 0;
  text-align: center;
}

.focus-layer .service-maintain-capability img {
  width: 92px;
  height: 92px;
  margin: 0 auto;
  object-fit: cover;
}

.service-maintain-capability p {
  margin: 10px 0 0;
  color: #333333;
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.service-maintain-cases {
  margin-top: 76px;
}

.service-maintain-cases-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 46px;
  color: #333333;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.service-maintain-cases-heading span:first-child {
  color: #0088B5;
}

.service-maintain-case-list {
  display: grid;
  gap: 32px;
}

.service-maintain-case {
  border: 1px dotted #AAAAAA;
  background: #FFFFFF;
}

.service-maintain-case h4 {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin: -1px 0 0 -1px;
  padding: 8px 18px;
  box-sizing: border-box;
  background: #008BC7;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.service-maintain-case p {
  margin: 20px 22px 24px;
  color: #333333;
  font-size: 14px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

html[data-lang="en"] .service-maintain-method {
  font-size: 19px;
}

html[data-lang="en"] .service-maintain-capability p {
  font-size: 13px;
}

.service-cloud-content {
  background: #FFFFFF;
}

.service-cloud-map-section {
  padding: 54px 44px 72px;
  box-sizing: border-box;
  background: #FFFFFF;
}

.service-cloud-map {
  width: min(600px, 100%);
  margin: 0 auto;
}

.service-cloud-cycle {
  position: relative;
}

.focus-layer .service-cloud-cycle-image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
}

.service-cloud-cycle-label {
  position: absolute;
  z-index: 1;
  transform: translate(-50%, -50%);
  color: #147AAE;
  font-size: 20px;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

.service-cloud-cycle-consultation {
  top: 21.3%;
  left: 50%;
}

.service-cloud-cycle-deployment {
  top: 58%;
  left: 8.6%;
}

.service-cloud-cycle-development {
  top: 58%;
  left: 90.1%;
}

.service-cloud-cycle-management {
  top: 96.2%;
  left: 50%;
}

.service-cloud-providers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3%;
  width: 90%;
  margin: 10px auto 0;
}

.service-cloud-provider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  padding: 7px 6px 8px;
  box-sizing: border-box;
  border-radius: 7px;
  background: #006FBE;
  color: #FFFFFF;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
}

.focus-layer .service-cloud-provider img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
}

.service-cloud-provider span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  word-break: keep-all;
  overflow-wrap: normal;
}

html[data-lang="ja"] .service-cloud-cycle-label,
html[data-lang="en"] .service-cloud-cycle-label {
  font-size: 16px;
}

html[data-lang="ja"] .service-cloud-provider,
html[data-lang="en"] .service-cloud-provider {
  font-size: 14px;
}

.service-cloud-capabilities {
  display: grid;
  gap: 10px;
  padding: 46px 62px;
  box-sizing: border-box;
  background:
    radial-gradient(ellipse at 50% 102%, rgba(255, 255, 255, 0.42), transparent 50%),
    radial-gradient(ellipse at 12% 72%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #056DB5 0%, #0B70B4 55%, #4A8FB9 100%);
}

.service-cloud-capability {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: 44px;
  min-height: 190px;
  padding: 18px 46px 18px 26px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.48);
}

.service-cloud-capability h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 146px;
  height: 146px;
  margin: 0 auto;
  padding: 12px;
  box-sizing: border-box;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

.service-cloud-capability ul {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-cloud-capability li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px 14px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.9);
  color: #555555;
  font-size: 16px;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

html[data-lang="ja"] .service-cloud-capability li,
html[data-lang="en"] .service-cloud-capability li {
  font-size: 14px;
}

.service-cloud-private {
  padding: 82px 52px 72px;
  box-sizing: border-box;
  background: #FFFFFF;
  text-align: center;
}

.service-cloud-private h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-width: 170px;
  max-width: 100%;
  min-height: 48px;
  margin: 0 auto 42px;
  padding: 8px 18px;
  box-sizing: border-box;
  background: #0878B8;
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.service-cloud-private p {
  max-width: 760px;
  margin: 0 auto 34px;
  color: #333333;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.focus-layer .service-cloud-private img {
  display: block;
  width: min(760px, 100%);
  max-width: none;
  height: auto;
  margin: 0 auto;
}

.service-infra-content {
  background: #FFFFFF;
}

.service-infra-modal .service-detail-title {
  width: 640px;
  max-width: calc(100% - 48px);
  white-space: nowrap;
}

html[data-lang="en"] .service-infra-modal .service-detail-title {
  font-size: 26px;
}

.service-infra-flow-section {
  padding: 46px 60px 82px;
  box-sizing: border-box;
  background: #FFFFFF;
}

.service-infra-flow {
  width: min(800px, 100%);
  height: 312px;
  margin: 0 auto;
}

.service-infra-flow-list {
  display: grid;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.service-infra-flow-step {
  display: grid;
  grid-template-columns: clamp(74px, 10vw, 92px) 180px minmax(0, 1fr);
  align-items: center;
  min-height: 78px;
  padding: 0 38px 0 14px;
  box-sizing: border-box;
  clip-path: polygon(3% 0, 92% 0, 100% 100%, 3% 100%, 0 50%);
  color: #FFFFFF;
}

.service-infra-flow-step-foundation {
  background: linear-gradient(90deg, #006DA8 0%, #0877B0 48%, #4B82A6 100%);
}

.service-infra-flow-step-training {
  background: linear-gradient(90deg, #FFB900 0%, #FFC328 52%, #F5CE67 100%);
}

.service-infra-flow-step-project {
  background: linear-gradient(90deg, #292929 0%, #3E3E3E 52%, #686868 100%);
}

.service-infra-flow-step-operations {
  background: linear-gradient(90deg, #EA293D 0%, #EF3C4A 52%, #ED887E 100%);
}

.service-infra-flow-number {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding-right: 12px;
  border-right: 2px solid rgba(255, 255, 255, 0.9);
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 500;
  line-height: 1;
}

.service-infra-flow-step h3 {
  margin: 0;
  padding: 0 14px;
  color: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.service-infra-flow-step ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-infra-flow-step li {
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: nowrap;
}

.service-infra-flow-step li::before {
  content: "※";
  margin-right: 4px;
}

html[data-lang="ja"] .service-infra-flow-step h3 {
  font-size: 13px;
}

html[data-lang="en"] .service-infra-flow-step h3 {
  font-size: 10px;
}

html[data-lang="ja"] .service-infra-flow-step li,
html[data-lang="en"] .service-infra-flow-step li {
  font-size: 11px;
}

.service-infra-cases {
  padding: 0 52px 72px;
  box-sizing: border-box;
}

.service-infra-cases-heading {
  margin: 0 0 42px;
  color: #0789B9;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: none;
}

.service-infra-case-list {
  display: grid;
  gap: 36px;
}

.service-infra-case {
  border: 1px dotted #999999;
  background: #FFFFFF;
}

.service-infra-case h4 {
  display: inline-flex;
  align-items: center;
  min-width: 300px;
  min-height: 44px;
  margin: -1px 0 0 -1px;
  padding: 8px 22px;
  box-sizing: border-box;
  background: #0788C0;
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.service-infra-case-body {
  padding: 22px 24px 26px;
  color: #333333;
}

.service-infra-case h5 {
  margin: 18px 0 8px;
  color: #333333;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.service-infra-case h5:first-child {
  margin-top: 0;
}

.service-infra-case p,
.service-infra-case li {
  color: #333333;
  font-size: 14px;
  line-height: 1.8;
}

.service-infra-case p {
  margin: 0 0 8px;
}

.service-infra-case ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-infra-case li {
  min-width: 0;
  overflow-wrap: anywhere;
}

.service-infra-case li::before {
  content: "※";
  margin-right: 5px;
}

.service-infra-case-result {
  display: flex;
  align-items: flex-start;
}

.service-infra-case-result::before {
  content: "※";
  flex: 0 0 auto;
  margin-right: 5px;
}

/* Structured software outsourcing detail modal */
.service-outsource-modal .service-detail-title {
  width: 430px;
  max-width: calc(100% - 48px);
  white-space: nowrap;
}

html[data-lang="en"] .service-outsource-modal .service-detail-title {
  font-size: 28px;
}

.service-outsource-content {
  color: #333333;
  background: #FFFFFF;
}

.service-outsource-hero {
  margin: 0;
  background: #F1F3F4;
}

.service-outsource-hero svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 948 / 875;
}

.service-outsource-section {
  padding: 70px 60px;
  box-sizing: border-box;
  background: #FFFFFF;
}

.service-outsource-section + .service-outsource-section {
  padding-top: 24px;
}

.service-outsource-heading {
  position: relative;
  margin: 0 0 48px;
  padding-left: 24px;
  color: #111111;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.service-outsource-heading::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 12px;
  background: #08B6E7;
}

.service-outsource-business-map {
  position: relative;
  width: min(720px, 100%);
  height: 300px;
  margin: 0 auto;
  border: 5px solid #075AA8;
  border-radius: 50%;
  box-sizing: border-box;
}

.service-outsource-business-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(3, 150px);
  gap: 14px;
  transform: translate(-50%, -50%);
}

.service-outsource-business-core span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 12px;
  border: 1px solid #E89B58;
  border-radius: 50%;
  box-sizing: border-box;
  background: linear-gradient(180deg, #FFE8D3 0%, #FFC386 100%);
  box-shadow: 0 3px 8px rgba(89, 75, 54, 0.25);
  color: #B4554D;
  font-size: 20px;
  line-height: 1.25;
  text-align: center;
}

.service-outsource-business-sectors {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-outsource-business-sectors li {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 58px;
  padding: 8px 12px;
  border: 1px solid #45B8CF;
  border-radius: 50%;
  box-sizing: border-box;
  background: linear-gradient(180deg, #E5FAFF 0%, #A7E5F1 100%);
  box-shadow: 0 3px 7px rgba(35, 82, 96, 0.25);
  color: #B4554D;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.service-outsource-business-sectors li:nth-child(1) { top: 50%; left: -28px; transform: translateY(-50%); }
.service-outsource-business-sectors li:nth-child(2) { top: 4%; left: 9%; }
.service-outsource-business-sectors li:nth-child(3) { top: -34px; left: 34%; }
.service-outsource-business-sectors li:nth-child(4) { top: -32px; right: 32%; }
.service-outsource-business-sectors li:nth-child(5) { top: 5%; right: 8%; }
.service-outsource-business-sectors li:nth-child(6) { top: 50%; right: -28px; transform: translateY(-50%); }
.service-outsource-business-sectors li:nth-child(7) { right: 14%; bottom: -22px; }
.service-outsource-business-sectors li:nth-child(8) { right: 43%; bottom: -34px; }
.service-outsource-business-sectors li:nth-child(9) { bottom: -20px; left: 16%; }

.service-outsource-tech-list {
  display: grid;
  gap: 18px;
  margin: 0;
}

.service-outsource-tech-list > div {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding-left: 38px;
}

.service-outsource-tech-list > div::before {
  content: "•";
  position: absolute;
  top: -2px;
  left: 12px;
  color: #00579F;
  font-size: 22px;
}

.service-outsource-tech-list dt,
.service-outsource-tech-list dd {
  margin: 0;
  color: #07599A;
  font-size: 17px;
  line-height: 1.6;
}

.service-outsource-tech-list dt {
  font-weight: 500;
}

.service-outsource-tech-list dd {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.service-outsource-security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: end;
  width: min(720px, 100%);
  margin: 0 auto;
}

.service-outsource-security-grid figure {
  margin: 0;
  text-align: center;
}

.service-outsource-security-grid svg {
  display: block;
  width: 100%;
  height: 330px;
  margin: 0 auto 16px;
}

.service-outsource-security-grid figcaption {
  color: #07599A;
  font-size: 16px;
  line-height: 1.5;
}

.service-outsource-achievements {
  padding-bottom: 84px;
}

.service-outsource-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #1745B1;
  overscroll-behavior-inline: contain;
}

.service-outsource-table-wrap:focus-visible {
  outline: 3px solid #8DBDDF;
  outline-offset: 3px;
}

.service-outsource-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  table-layout: fixed;
  color: #222222;
  font-size: 11px;
}

.service-outsource-table th,
.service-outsource-table td {
  padding: 7px 5px;
  border-right: 1px solid #1745B1;
  border-bottom: 1px solid #1745B1;
  box-sizing: border-box;
  line-height: 1.35;
  text-align: center;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.service-outsource-table tr:last-child th,
.service-outsource-table tr:last-child td {
  border-bottom: 0;
}

.service-outsource-table th:last-child,
.service-outsource-table td:last-child {
  border-right: 0;
}

.service-outsource-table thead th {
  background: #0753A4;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 600;
}

.service-outsource-table th:first-child {
  width: 30%;
  text-align: left;
}

.service-outsource-table thead th:first-child {
  text-align: center;
}

.service-outsource-table th:nth-child(2) { width: 7%; }
.service-outsource-table th:nth-child(3) { width: 7%; }
.service-outsource-table th:nth-child(n+4):nth-child(-n+10) { width: 5.5%; }
.service-outsource-table th:last-child { width: 17.5%; }

.service-outsource-table tbody th {
  padding-left: 10px;
  background: #FFFFFF;
  font-weight: 500;
}

.service-outsource-table tbody td:nth-child(n+4):nth-child(-n+10) {
  color: #F00000;
  font-size: 16px;
  font-weight: 700;
}

/* Structured pharmaceutical development support detail modal */
.service-drugs-modal .service-detail-title {
  width: 430px;
  max-width: calc(100% - 48px);
  white-space: nowrap;
}

html[data-lang="ja"] .service-drugs-modal .service-detail-title {
  font-size: 30px;
}

html[data-lang="en"] .service-drugs-modal .service-detail-title {
  font-size: 24px;
}

.service-drugs-content {
  color: #333333;
  background: #FFFFFF;
}

.service-drugs-hero {
  margin: 0;
  background: #FFFFFF;
}

.service-drugs-hero svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 948 / 750;
}

.service-drugs-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 40px;
  align-items: stretch;
  padding: 70px 86px 84px;
  box-sizing: border-box;
  background: #FFFFFF;
}

.service-drugs-card {
  border: 1px solid #868686;
  background: #FFFFFF;
}

.service-drugs-card h3 {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 7px 14px;
  box-sizing: border-box;
  background: #858585;
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}

html[data-lang="en"] .service-drugs-card h3 {
  font-size: 19px;
}

.service-drugs-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 20px 18px 24px 34px;
  list-style: none;
}

.service-drugs-card li {
  position: relative;
  padding-left: 17px;
  color: #222222;
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.service-drugs-card li::before {
  content: "";
  position: absolute;
  top: 0.775em;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #08B6E7;
  transform: translateY(-50%);
}

.service-drugs-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  margin: 0;
}

.service-drugs-pill svg {
  display: block;
  width: min(310px, 100%);
  height: auto;
  aspect-ratio: 350 / 340;
}

@keyframes service-detail-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1023px) {
  .service-detail-grid {
    grid-template-columns: repeat(2, 255px);
    justify-content: space-evenly;
    padding-right: 32px;
    padding-left: 32px;
  }
}

@media (max-width: 767px) {
  .service-detail-modal {
    padding: 0;
  }

  .service-detail-panel {
    width: 100%;
    max-height: 100dvh;
  }

  .service-detail-header {
    min-height: 56px;
    padding: 12px;
  }

  .service-detail-title-stage {
    height: 190px;
    padding-top: 60px;
  }

  .service-detail-title {
    width: calc(100% - 48px);
    max-width: 430px;
    height: 70px;
    padding: 0 12px;
    font-size: 28px;
  }

  html[data-lang="en"] .service-detail-title {
    font-size: 24px;
  }

  .service-detail-card {
    width: 100%;
    max-width: none;
  }

  .focus-layer .service-detail-card-image {
    width: 100%;
    max-width: none;
    height: auto;
  }

  .service-detail-card-content h3 {
    width: 79.215686%;
    max-width: none;
  }

  .service-detail-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-content: center;
    row-gap: 56px;
    padding: 72px 16px;
  }
}

@media (max-width: 1023px) {
  .service-maintain-content {
    padding-right: 32px;
    padding-left: 32px;
  }
}

@media (max-width: 767px) {
  .service-maintain-content {
    padding: 48px 16px;
  }

  html[data-lang="ja"] .service-maintain-modal .service-detail-title {
    font-size: 26px;
  }
  .service-maintain-methods {
    grid-template-columns: 130px max-content;
    width: max-content;
    max-width: 100%;
    gap: 14px;
    margin-bottom: 48px;
  }

  .focus-layer .service-maintain-methods-image {
    width: 100%;
    max-width: none;
    height: auto;
  }

  .service-maintain-method-list {
    gap: 22px;
  }

  .service-maintain-method {
    padding-left: 22px;
    font-size: 16px;
  }

  .service-maintain-method::before {
    width: 9px;
    height: 9px;
  }

  html[data-lang="en"] .service-maintain-method {
    font-size: 15px;
  }

  .service-maintain-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
    padding: 28px 16px;
  }

  .focus-layer .service-maintain-capability img {
    width: 82px;
    height: 82px;
  }

  .service-maintain-capability p,
  html[data-lang="en"] .service-maintain-capability p {
    font-size: 13px;
  }

  .service-maintain-cases {
    margin-top: 56px;
  }

  .service-maintain-cases-heading {
    gap: 8px;
    margin-bottom: 32px;
    font-size: 20px;
  }

  .service-maintain-case-list {
    gap: 26px;
  }

  .service-maintain-case h4 {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .service-maintain-case p {
    margin: 16px;
    font-size: 13px;
    line-height: 1.75;
  }

  .service-cloud-map-section {
    padding: 36px 12px 48px;
  }

  .service-cloud-cycle-label,
  html[data-lang="ja"] .service-cloud-cycle-label,
  html[data-lang="en"] .service-cloud-cycle-label {
    font-size: clamp(11px, 3.4vw, 14px);
  }

  .service-cloud-providers {
    width: 96%;
    gap: 2%;
  }

  .service-cloud-provider,
  html[data-lang="en"] .service-cloud-provider {
    padding: 4px 3px 5px;
    border-radius: 5px;
    font-size: clamp(9px, 2.8vw, 11px);
  }

  .service-cloud-provider span {
    min-height: 15px;
  }

  .service-cloud-capabilities {
    gap: 8px;
    padding: 28px 12px;
  }

  .service-cloud-capability {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
    min-height: 160px;
    padding: 10px;
  }

  .service-cloud-capability h3 {
    width: 78px;
    height: 78px;
    padding: 7px;
    font-size: 14px;
  }

  html[data-lang="en"] .service-cloud-capability h3 {
    font-size: 13px;
  }

  .service-cloud-capability ul {
    gap: 4px;
  }

  .service-cloud-capability li,
  html[data-lang="ja"] .service-cloud-capability li,
  html[data-lang="en"] .service-cloud-capability li {
    min-height: 30px;
    padding: 4px 6px;
    font-size: 11px;
  }

  .service-cloud-private {
    padding: 56px 16px 48px;
  }

  .service-cloud-private h3 {
    min-width: 140px;
    min-height: 44px;
    margin-bottom: 28px;
    font-size: 20px;
  }

  .service-cloud-private p {
    margin-bottom: 24px;
    font-size: 13px;
    line-height: 1.75;
  }

  .service-infra-modal .service-detail-title {
    width: calc(100% - 24px);
    max-width: 640px;
    padding-right: 6px;
    padding-left: 6px;
    font-size: clamp(18px, 5.6vw, 26px);
  }

  html[data-lang="ja"] .service-infra-modal .service-detail-title {
    font-size: clamp(15px, 4.5vw, 20px);
  }

  html[data-lang="en"] .service-infra-modal .service-detail-title {
    font-size: clamp(11px, 3.6vw, 17px);
  }

  .service-infra-flow-section {
    padding: 36px 12px 52px;
  }

  .service-infra-flow {
    height: auto;
  }

  .service-infra-flow-list {
    gap: 10px;
    width: 100%;
  }

  .service-infra-flow-step {
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-areas:
      "number title"
      "number items";
    min-height: 112px;
    padding: 12px 14px 12px 10px;
    clip-path: none;
    border-radius: 4px;
  }

  .service-infra-flow-number {
    grid-area: number;
    padding-right: 8px;
    font-size: 36px;
  }

  .service-infra-flow-step h3,
  html[data-lang="ja"] .service-infra-flow-step h3,
  html[data-lang="en"] .service-infra-flow-step h3 {
    grid-area: title;
    padding: 0 0 8px 12px;
    font-size: 15px;
    white-space: normal;
  }

  .service-infra-flow-step ul {
    grid-area: items;
    gap: 4px 8px;
    padding-left: 12px;
  }

  .service-infra-flow-step li,
  html[data-lang="ja"] .service-infra-flow-step li,
  html[data-lang="en"] .service-infra-flow-step li {
    font-size: 12px;
    white-space: normal;
  }

  .service-infra-cases {
    padding: 0 12px 48px;
  }

  .service-infra-cases-heading {
    margin-bottom: 28px;
    font-size: 20px;
  }

  .service-infra-case-list {
    gap: 28px;
  }

  .service-infra-case h4 {
    min-width: 0;
    max-width: 100%;
    min-height: 42px;
    padding: 8px 14px;
    font-size: 14px;
  }

  .service-infra-case-body {
    padding: 18px 16px 20px;
  }

  .service-infra-case h5 {
    margin-top: 16px;
    font-size: 14px;
  }

  .service-infra-case p,
  .service-infra-case li {
    font-size: 13px;
    line-height: 1.75;
  }

  .service-infra-case ul {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .service-outsource-modal .service-detail-title {
    width: calc(100% - 32px);
    max-width: 430px;
    font-size: 26px;
  }

  html[data-lang="ja"] .service-outsource-modal .service-detail-title {
    font-size: 22px;
  }

  html[data-lang="en"] .service-outsource-modal .service-detail-title {
    font-size: clamp(18px, 6vw, 24px);
  }

  .service-outsource-hero svg {
    aspect-ratio: 948 / 875;
  }

  .service-outsource-section {
    padding: 52px 16px;
  }

  .service-outsource-section + .service-outsource-section {
    padding-top: 16px;
  }

  .service-outsource-heading {
    margin-bottom: 32px;
    padding-left: 18px;
    font-size: 21px;
  }

  .service-outsource-heading::before {
    width: 9px;
  }

  .service-outsource-business-map {
    height: auto;
    border: 0;
    border-radius: 0;
  }

  .service-outsource-business-core {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    transform: none;
  }

  .service-outsource-business-core span {
    min-height: 78px;
    padding: 8px 5px;
    font-size: 15px;
  }

  .service-outsource-business-sectors {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .service-outsource-business-sectors li,
  .service-outsource-business-sectors li:nth-child(n) {
    position: static;
    min-width: 0;
    min-height: 44px;
    padding: 7px 4px;
    border-radius: 24px;
    transform: none;
    font-size: 13px;
    white-space: normal;
  }

  .service-outsource-tech-list {
    gap: 20px;
  }

  .service-outsource-tech-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding-left: 26px;
  }

  .service-outsource-tech-list > div::before {
    left: 5px;
  }

  .service-outsource-tech-list dt,
  .service-outsource-tech-list dd {
    font-size: 14px;
    line-height: 1.55;
  }

  .service-outsource-security-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .service-outsource-security-grid svg {
    width: min(320px, 100%);
    height: 300px;
  }

  .service-outsource-security-grid figcaption {
    font-size: 14px;
  }

  .service-outsource-achievements {
    padding-bottom: 56px;
  }

  .service-drugs-modal .service-detail-title {
    width: calc(100% - 28px);
    max-width: 430px;
    padding-right: 6px;
    padding-left: 6px;
    font-size: clamp(20px, 6.8vw, 28px);
  }

  html[data-lang="ja"] .service-drugs-modal .service-detail-title {
    font-size: clamp(19px, 5.8vw, 24px);
  }

  html[data-lang="en"] .service-drugs-modal .service-detail-title {
    font-size: clamp(15px, 4.6vw, 19px);
  }

  .service-drugs-services {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 42px 16px 56px;
  }

  .service-drugs-card h3,
  html[data-lang="en"] .service-drugs-card h3 {
    min-height: 42px;
    padding: 7px 12px;
    font-size: 18px;
  }

  .service-drugs-card ul {
    gap: 7px;
    padding: 18px 14px 20px 24px;
  }

  .service-drugs-card li {
    padding-left: 15px;
    font-size: 13px;
    line-height: 1.55;
  }

  .service-drugs-pill {
    min-height: 220px;
  }

  .service-drugs-pill svg {
    width: min(260px, 82%);
  }

}
@media (max-width: 320px) {
  html[data-lang="ja"] .service-maintain-modal .service-detail-title {
    font-size: 22px;
  }
  .service-detail-title {
    font-size: 24px;
  }

  html[data-lang="en"] .service-detail-title {
    font-size: 20px;
  }

  .service-infra-modal .service-detail-title {
    font-size: 18px;
  }

  html[data-lang="ja"] .service-infra-modal .service-detail-title {
    font-size: 15px;
  }

  html[data-lang="en"] .service-infra-modal .service-detail-title {
    font-size: 11px;
  }

  html[data-lang="en"] .service-outsource-modal .service-detail-title {
    font-size: 17px;
  }

  html[data-lang="en"] .service-drugs-modal .service-detail-title {
    font-size: 14px;
  }

  html[data-lang="en"] .service-maintain-methods {
    grid-template-columns: 126px minmax(0, 1fr);
    width: 100%;
  }

  html[data-lang="en"] .service-maintain-method {
    font-size: 14px;
  }

  .service-cloud-capability {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 7px;
    padding: 8px;
  }

  .service-cloud-capability h3 {
    width: 66px;
    height: 66px;
    font-size: 12px;
  }

  html[data-lang="en"] .service-cloud-capability h3 {
    font-size: 11px;
  }

  .service-cloud-capability li,
  html[data-lang="ja"] .service-cloud-capability li,
  html[data-lang="en"] .service-cloud-capability li {
    padding-right: 4px;
    padding-left: 4px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-detail-panel {
    animation: none;
  }
}
