.history-container {
  border-radius: 8px;
  max-width: 1200px;
  padding: 89px 0 64px 0;
  margin: 0 auto;
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.history-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  width: 866px;
}

.history-timeline-center {
  position: absolute;
  top: -25px;
  left: 159.5px;
  width: 2px;
  height: calc(100% + 25px);
  background: #46B088;
  z-index: 0;
}

.history-row {
  position: relative;
  display: flex;
  width: 100%;
  margin: 0 auto;
  min-height: 100px;
  justify-content: flex-start;
}


.history-content {
  display: flex;
  gap: 24px;
  color: #454545;
  border-radius: 8px;
  width: 100%;
  max-width: 866px;
  position: relative;
  text-align: left;
  align-items: flex-start;
}

.history-year {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 172px;
  font-size: 35px;
  font-weight: 700;
  color: #242424;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;
  gap: 8px;
}

.history-year-detail {
  width: 92px;
}

.history-line {
    flex: 1;
    height: 1.5px;
    background: repeating-linear-gradient(
        to right,
        #97C686 0 8px,
        transparent 8px 16px
    );
    align-self: center;
    justify-content: center;
}

.history-year span:first-child {
  text-align: left;
}

.history-dot-wrapper {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.history-dot-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #46B088;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px));
  -webkit-mask-composite: destination-out;
  mask-composite: subtract;
  z-index: 0;
}

.history-dot {
  position: relative;
  width: 16px;
  height: 16px;
  background: #46B088;
  border-radius: 50%;
  z-index: 1;
}

.history-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 2px;
  width: 673px;
}

.history-item {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
  font-size: 16px;
}

.history-text {
  font-weight: 400;
  flex: 1;
  min-width: 0;
  font-size: 22px;
  letter-spacing: 0.04rem;
  line-height: 150%;
}

.history-date {
  display: flex;
  align-items: center;
  color: #454545;
  white-space: nowrap;
  font-size: 22px;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 0%;
  text-transform: uppercase;
  width: 32px;
}

.history-date.align-top {
  align-items: flex-start;
}

.history-desc {
  padding-left: 80px;
  margin: -36px 0 0 0;
}

.history-desc li {
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 16px;
  line-height: 200%;
  letter-spacing: 0%;
  text-transform: uppercase;
  list-style: none;
}

@media (max-width: 1439px) {
  .history-container {
    max-width: 896px;
    padding: 81px 0 56px 0;
  }

  .history-timeline {
    width: 666px;
  }

  .history-timeline-center {
    left: 131.5px;
  }

  .history-year {
    font-size: 24px;
    width: 144px;
  }

  .history-content {
    max-width: 666px;
  }

  .history-items {
    width: 498px;
  }

  .history-item {
    gap: 24px
  }

  .history-text {
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 0.04rem;
  }

  .history-date {
    font-size: 16px;
    width: 24px;
  }

  .history-year-detail {
    width: 64px;
  }
}

@media (max-width: 1023px) {
  .history-container {
    max-width: 666px;
    padding: 81px 0 56px 0;
  }

  .history-timeline {
    width: 666px;
    gap: 64px;
  }

  .history-timeline-center {
    left: 123px;
  }

  .history-year {
    font-size: 20px;
    width: 136px;
  }

  .history-content {
    max-width: 666px;
  }

  .history-items {
    width: 506px;
  }

  .history-item {
    gap: 20px
  }

  .history-text {
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 0.04rem;
  }

  .history-date {
    font-size: 16px;
  }

  .history-year-detail {
    width: 56px;
  }
}

@media (max-width: 767px) {
  .history-container {
    padding: 73px 0 48px 0;
  }

  .history-timeline {
    align-items: flex-start;
    gap: 40px;
  }

  .history-timeline-center {
    left: 105px;
  }

  .history-timeline {
    max-width: 343px;
  }

  .history-year-detail {
    width: 56px;
  }

  .history-dot {
    width: 12px;
    height: 12px;
  }

  .history-dot-wrapper {
    width: 20px;
    height: 20px;
  }

  .history-row {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .history-year {
    width: 116px;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .history-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .history-items {
    padding-top: 0;
    width: 215px;
    gap: 12px;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .history-item {
    gap: 10px
  }

  .history-text {
    font-size: 15px;
    line-height: 150%;
    letter-spacing: 0.04rem;
  }

  .history-date {
    font-size: 15px;
    width: 20px;
  }

  .history-desc {
    padding-left: 32px;
    margin-top: 0;
  }
}