.list {
  position: relative;
  border-radius: 50px;
  background: #fff;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.25);
  .inner {
    padding: 38px 45px;
  }
  &.horz-list {
    .desc {
      margin-bottom: 40px;
    }
    .closing-txt p {
      margin-top: 40px;
      margin-bottom: 0;
    }
    ol {
      display: flex;
      justify-content: center;
      align-items: baseline;
      text-align: center;
      gap: 10px;
      @media (max-width: 650px) {
        justify-content: flex-start;
        align-items: baseline;
        text-align: left;
        gap: 0px;
        flex-direction: column;
      }
      &::before {
        content: '';
        position: absolute;
        width: 63%;
        height: 2px;
        background: var(--ccs-color-lime);
        top: 13px;
        left: 50%;
        transform: translateX(-50%);
        @media (max-width: 650px) {
          width: 2px;
          height: 65%;
          top: 50%;
          transform: translateY(-50%) translateX(0%);
          left: 13px;
        }
      }
    }
    li {
      flex-direction: column;
      @media (max-width: 650px) {
        flex-direction: row;
      }
    }
    @media (max-width: 650px) {
      li:not(:last-child) {
        margin-bottom: 21px;
      }
    }
  }

  &.vert-list {
    .closing-txt p {
      margin-top: 20px;
      margin-bottom: 0;
    }

    ol {
      flex-direction: column;
      &::before {
        content: '';
        position: absolute;
        width: 2px;
        height: 97%;
        background: var(--ccs-color-lime);
        top: 50%;
        transform: translateY(-50%);
        left: 13px;
      }
    }
    li:not(:last-child) {
      margin-bottom: 21px;
    }
  }

  .main-title {
    color: var(--ccs-color-main-blue);
    margin-bottom: 20px;
  }
  .desc {
    margin-bottom: 20px;
  }
  .closing-txt p {
    margin-top: 20px;
  }
  ol {
    padding: 0 0;
    margin: 0 0;
    position: relative;

    li {
      display: flex;
      justify-content: flex-start;
      gap: 18px;
      align-items: center;
      z-index: 1;
      position: relative;

      p {
        margin: 0 0;
      }
    }

    .number {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background-color: var(--ccs-color-lime);
      color: #fff;
      font-weight: 800;
      font-size: 12px;
      line-height: 13px;
      flex-shrink: 0;
    }
  }
}
