.year_link_box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #ecebee;
}

.year_link {
  width: 100%;
  color: #adb5bd !important;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 20px;
}

.year_link.active {
  color: #212529 !important;
  transition: all 0.3s;
  position: relative;
}

.year_link.active p {
  position: relative;
}

.year_link.active p::after {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #ffa83f;
  content: "";
  right: -20px;
  top: -10px;
  border-radius: 50%;
}

.year_link::before {
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 0%;
  height: 5px;
  background-color: #ffa83f;
  border-radius: 10px;
  transition: all 0.3s;
}

.year_link.active::before {
  width: 100%;
}

.year_bg {
  width: calc(50% - 20px);
  height: 600px;
  border-radius: 10px;
  background-position: center;
  background-size: cover;
  position: relative;
  animation: x_left 0.5s 0.3s;
  animation-fill-mode: both;
}

.year_con {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 50px;
}

.year_bg h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: 700;
  width: 90%;
  text-align: center;
}

.year_bg h1 span {
  color: #ffa83f;
}

.year_history {
  width: 50%;
  padding-left: 200px;
  animation: x_right 0.5s 0.3s;
  animation-fill-mode: both;
}

/* ********** 년도 배경 ********** */
.year1_bg {
  background-image: url(../../img/sub/year1_bg.png);
}

.year2_bg {
  background-image: url(../../img/sub/year1_bg.png);
}

.year3_bg {
  background-image: url(../../img/sub/year1_bg.png);
}

/* 년도 시작 */
.year_history ul {
  position: relative;
}

.year_history ul::before {
  position: absolute;
  width: 1px;
  height: 100%;
  top: 0;
  left: -50px;
  background-color: #d7dce5;
  content: "";
}

.lg_circle {
  margin-bottom: 80px;
  display: flex;
  position: relative;
}

.sm_circle {
  margin-bottom: 40px;
  display: flex;
  position: relative;
}

.lg_circle::before {
  position: absolute;
  left: -60px;
  width: 20px;
  height: 20px;
  background: rgb(255, 168, 63);
  background: -moz-linear-gradient(120deg, rgba(255, 168, 63, 1) 0%, rgba(255, 128, 56, 1) 100%);
  background: -webkit-linear-gradient(120deg, rgba(255, 168, 63, 1) 0%, rgba(255, 128, 56, 1) 100%);
  background: linear-gradient(120deg, rgba(255, 168, 63, 1) 0%, rgba(255, 128, 56, 1) 100%);
  border-radius: 50%;
  content: "";
}

.lg_circle::after {
  content: "";
  background-color: #fff;
  width: 8px;
  height: 8px;
  position: absolute;
  top: 6px;
  left: -54px;
  border-radius: 50%;
}

.sm_circle::before {
  position: absolute;
  left: -55px;
  top: 20%;
  width: 10px;
  height: 10px;
  background: rgb(255, 168, 63);
  background: -moz-linear-gradient(120deg, rgba(255, 168, 63, 1) 0%, rgba(255, 128, 56, 1) 100%);
  background: -webkit-linear-gradient(120deg, rgba(255, 168, 63, 1) 0%, rgba(255, 128, 56, 1) 100%);
  background: linear-gradient(120deg, rgba(255, 168, 63, 1) 0%, rgba(255, 128, 56, 1) 100%);
  border-radius: 50%;
  content: "";
}

.sm_circle .history_text {
  margin-left: -30px;
}

.year_title {
  display: flex;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  margin-left: -160px;
  padding-right: 60px;
}

.moment_text {
  margin-bottom: 10px;
}

@media screen and (max-width: 1200px) {
  .year_bg,
  .year_history {
      width: 100%;
  }

  .year_history {
      margin-top: 50px;
  }

  .year_bg {
      height: 300px;
  }
}

@media screen and (max-width: 768px) {
  .year_bg {
      height: 300px;
  }

  .year_history {
      padding-left: 160px;
      margin-top: 20px;
  }

  .year_title {
      padding-right: 50px;
  }

  .lg_circle {
      margin-bottom: 50px;
  }

  .sm_circle {
      margin-bottom: 20px;
  }

  .moment_text {
      margin-bottom: 0px;
  }

  .year_history ul::before {
      left: -70px;
  }

  .lg_circle::before {
      left: -80px;
  }

  .sm_circle::before,
  .lg_circle::after {
      left: -74px;
  }

  .sm_circle .history_text {
      margin-left: -50px;
  }
}

@media screen and (max-width: 520px) {
  .year_con {
      margin-top: 20px;
  }

  .year_bg {
      height: 200px;
  }

  .year_link {
      text-align: center;
      padding: 15px 0;
  }

  .year_link_box {
      flex-direction: column;
      border: none;
  }

  .year_link::before {
      bottom: -0px;
  }

}
