@charset "UTF-8";

/* Group 104：DM業務のDX。既存セクションには適用しない。 */
.lp-dx {
  --lp-dx-font: "Hubstep StdN", "Hiragino Sans", sans-serif;
  padding-block: 94px 131px;
  background: #e9f1f1;
  color: #000;
  font-family: var(--lp-dx-font);
  font-size: 15px;
  font-weight: 400;
  font-synthesis: none;
  line-height: 24px;
  letter-spacing: 0;
}

.lp-dx * {
  box-sizing: border-box;
}

.lp-dx-inner {
  width: 1000px;
  margin-inline: auto;
}

.lp-dx-label {
  position: relative;
  width: 140px;
  height: 30px;
  margin-inline: auto;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  text-align: center;
}

.lp-dx-label::after {
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  background: #208888;
  content: "";
}

.lp-dx h2 {
  width: 625px;
  height: 54px;
  margin: 31px auto 0;
  color: #208888;
  font-family: var(--lp-dx-font);
  font-size: 36px;
  font-weight: 600;
  line-height: 54px;
  text-align: center;
  white-space: nowrap;
}

.lp-dx-intro {
  position: relative;
  left: 1px;
  width: 786px;
  height: 24px;
  margin: 12px auto 0;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  white-space: nowrap;
}

.lp-dx-diagram {
  position: relative;
  margin-top: 52px;
}

.lp-dx-steps {
  display: grid;
  grid-template-columns: repeat(4, 230px);
  align-items: end;
  gap: 27px;
  height: 260px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-dx-step {
  position: relative;
  height: 170px;
  padding: 38px 19px 15px;
  border-radius: 10px;
  background: #d9d9d9;
}

.lp-dx-step--1 { height: 200px; background: #fff; }
.lp-dx-step--2 { height: 230px; background: #fff; }
.lp-dx-step--3 { height: 260px; background: #fff; }

.lp-dx-step-label {
  position: absolute;
  top: -19px;
  left: 38px;
  width: 151px;
  height: 38px;
  padding-top: 4px;
  border-radius: 100px;
  background: #208888;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 30px;
  text-align: center;
}

.lp-dx-step--0 .lp-dx-step-label {
  background: #999;
}

.lp-dx-step--2 .lp-dx-step-label {
  left: 39px;
}

.lp-dx-step h3 {
  position: relative;
  left: 50%;
  width: 174px;
  height: 59px;
  transform: translateX(calc(-50% - 1px));
  color: #208888;
  font-family: var(--lp-dx-font);
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  text-align: center;
  white-space: nowrap;
}

.lp-dx-step--0 h3 {
  color: #000;
}

.lp-dx-step--1 h3 {
  width: 232px;
}

.lp-dx-step-copy {
  width: 192px;
  height: 80px;
  margin-top: -22px;
  font-size: 15px;
  line-height: 24px;
}

.lp-dx-step-copy > span {
  display: block;
  white-space: nowrap;
}

.lp-dx-progress {
  position: absolute;
  z-index: 1;
  top: 217.77px;
  left: 185px;
  display: block;
  pointer-events: none;
}

.lp-dx-summary {
  width: 751px;
  margin: 18px auto 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  text-align: center;
}

.lp-dx-summary > span {
  display: block;
  white-space: nowrap;
}

@media (max-width: 1079px) {
  .lp-dx {
    padding-block: 60px 64px;
  }

  .lp-dx-inner {
    width: min(600px, calc(100% - 48px));
  }

  .lp-dx h2 {
    width: auto;
    height: auto;
    white-space: normal;
  }

  .lp-dx h2 > span {
    display: inline-block;
  }

  .lp-dx-intro {
    left: 0;
    width: auto;
    height: auto;
    white-space: normal;
  }

  .lp-dx-steps {
    grid-template-columns: repeat(2, 230px);
    justify-content: center;
    gap: 60px 40px;
    height: auto;
  }

  .lp-dx-progress {
    top: auto;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) scale(.6);
  }

  .lp-dx-summary {
    width: auto;
    margin-top: 28px;
  }

  .lp-dx-summary > span {
    white-space: normal;
  }
}

@media (max-width: 575px) {
  .lp-dx {
    padding-block: 48px 56px;
  }

  .lp-dx-inner {
    width: min(360px, calc(100% - 32px));
  }

  .lp-dx h2 {
    margin-top: 28px;
    font-size: clamp(24px, 6vw, 32px);
    line-height: 1.5;
  }

  .lp-dx-intro {
    margin-top: 20px;
    text-align: left;
  }

  .lp-dx-steps {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 54px;
  }

  .lp-dx-step {
    height: auto;
    min-height: 200px;
  }

  .lp-dx-step .lp-dx-step-label {
    left: 50%;
    transform: translateX(-50%);
  }

  .lp-dx-step h3 {
    left: auto;
    width: auto;
    transform: none;
  }

  .lp-dx-step-copy {
    width: auto;
    height: auto;
    min-height: 72px;
  }

  .lp-dx-step-copy > span {
    display: inline;
    white-space: normal;
  }

  .lp-dx-progress {
    transform: translateX(-50%) scale(.4);
  }

  .lp-dx-summary {
    font-size: 18px;
    line-height: 30px;
  }
}
