@import url('../introduce/intro_common.css');
@import url('../common/common-layout.css');

.intro-container__text .inner-container__desc {
  margin-bottom: 100px;
}
/* intro-container1 */

.intro-container2 {
  margin: 0 auto;
}
.intro-container3 {
  margin: 0;
}

.history_list-nonpcflex {
  display: none;
}

.history_list_bg {
  width: 1130px;
  margin: 0 auto 180px auto;
}

.history_list_bg ul .inner-list {
  display: flex;
}
.history_list_bg ul .inner-list:not(:last-child) {
  margin-bottom: 100px;
}
.history_list_bg ul .inner-list:nth-child(even) {
  justify-content: flex-end;
}
.history_list_bg ul .inner-list:nth-child(even) .history__img {
  order: 3;
  margin: 0 0 0 50px;
}
.history_list_bg ul .inner-list:nth-child(even) .history__line {
  order: 2;
}
.history_list_bg ul .inner-list:nth-child(even) .history__cont {
  order: 1;
  margin: 0 50px 0 0;
}
/* row flex order */

.history__cont {
  margin-left: 50px;
}
.history__cont p {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-size: 30px;
  line-height: 42px;
  color: var(--main);
  margin-bottom: 30px;
}
.history__cont .history_detail {
  width: 250px;
  font-family: 'Noto Sans KR';
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.05em;
  color: #111111;
  margin-left: 30px;
}
.history__cont .history_detail li:not(:last-child, .history_detail li ul li) {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.history_list_bg ul .inner-list:nth-child(odd) .history_detail li ul li {
  text-align: left;
}
.history_list_bg ul .inner-list:nth-child(even) .history__cont p {
  text-align: right;
}
.history_list_bg ul .inner-list:nth-child(even) .history__cont .history_detail {
  margin: 0 30px 0 0;
  text-align: right;
}

.history_detail li ul li {
  font-family: 'Noto Sans KR';
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 23px;
  text-align: right;
  letter-spacing: -0.05em;
  color: #7d7d7d;
  margin-top: 10px;
}
/* history text align */

.history_list_bg ul .inner-list:nth-child(odd) .history__cont .history_detail li::before {
  content: '';
  position: absolute;
  transform: translate(-30px, 7px);
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background-color: var(--main);
}
.history_list_bg ul .inner-list:nth-child(even) .history__cont .history_detail li::after {
  content: '';
  position: absolute;
  transform: translate(270px, 7px);
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background-color: var(--main);
}
.history__cont .history_detail li ul li::before {
  display: none;
}
.history__cont .history_detail li ul li::after {
  display: none;
}
/* history text deco */

.history__img {
  width: 505px;
  height: 330px;
  margin-right: 50px;
}
.history_list .img1 {
  background: url(../../images/introduce/history_content_1.png);
}
.history_list .img2 {
  background: url(../../images/introduce/history_content_2.png);
}
.history_list .img3 {
  background: url(../../images/introduce/history_content_3.png);
}
.history_list .img4 {
  background: url(../../images/introduce/history_content_4.png);
}
.history_list .img5 {
  background: url(../../images/introduce/history_content_5.png);
}
/* history img */

.history__line {
  position: relative;
}
.history__line .outcircle {
  display: flex;
  background-color: var(--main);
  width: 20px;
  height: 20px;
  border-radius: 50px;
}
.history__line .innercircle {
  margin: auto;
  background-color: white;
  width: 10px;
  height: 10px;
  border-radius: 25px;
}
.history_list:not(:last-child) .history__line em::before {
  content: '';
  width: 1px;
  height: calc(100% + 80px);
  background-color: #cecece;
  position: absolute;
  left: 50%;
}
/* history line */

/* 테블릿 */
@media all and (max-width: 1360px) {
  .history_list-pcflex {
    display: none;
  }
  .history_list-nonpcflex {
    display: block;
  }

  .history_list_bg {
    margin-bottom: 160px;
  }

  .history_list_bg ul .inner-list:not(:last-child) {
    margin-bottom: 50px;
  }

  .history_list_bg ul .inner-list:nth-child(even) {
    justify-content: start;
  }
  .history_list_bg ul .inner-list:nth-child(even) .history__img {
    margin: 0;
  }
  .history_list_bg ul .inner-list:nth-child(even) .history__line {
    order: 1;
  }
  .history_list_bg ul .inner-list:nth-child(even) .history__cont {
    order: 2;
    margin: 0 0 0 50px;
  }
  /* row flex order */

  .history__cont p {
    margin-bottom: 20px;
  }
  .history__img {
    margin: 0;
    width: 505px;
    height: 330px;
  }
  .history__cont .history_detail {
    margin-top: 30px;
  }
  .history__cont .history_detail li ul li {
    text-align: left;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 23px;
    letter-spacing: -0.05em;
    color: #7d7d7d;
    margin-top: 10px;
  }

  .history_list_bg ul .inner-list:nth-child(even) .history__cont p {
    text-align: left;
  }
  .history_list_bg ul .inner-list:nth-child(even) .history__cont .history_detail {
    margin: 30px 0 0 30px;
    text-align: left;
  }
  /* history text align */

  .history_list_bg ul .inner-list .history__cont .history_detail li::before {
    content: '';
    position: absolute;
    transform: translate(-30px, 7px);
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: var(--main);
  }
  .history_list_bg ul .inner-list:nth-child(even) .history__cont .history_detail li::after {
    display: none;
  }
  .history__cont .history_detail li ul li::before {
    display: none;
  }
  /* history text deco */

  .history_list:not(:last-child) .history__line em::before {
    height: calc(100% + 30px);
  }
  /* history line */
}
/* 모바일 */
@media all and (max-width: 768px) {
  .intro-container__text .inner-container__desc {
    margin-bottom: 50px;
  }
  /* intro-container1 */

  .history_list_bg {
    margin-bottom: 140px;
  }
  .history__cont {
    margin-left: 30px;
  }
  .history__cont p {
    font-size: 24px;
    line-height: 34px;
  }
  .history_list_bg ul .inner-list:nth-child(even) .history__cont {
    margin-left: 30px;
  }

  .history__img {
    width: 288px;
    height: 188px;
  }

  .history__cont .history_detail,
  .history_list_bg ul .inner-list:nth-child(even) .history__cont .history_detail {
    margin: 20px auto auto 31px;
  }
}
