@charset "UTF-8";
.history__year {
  display: grid;
  grid-template-columns: 120px 0 1fr 0 1fr;
  align-items: stretch;
  position: relative;
}
.history__year:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  top: 0;
  background: #dbdbdb;
}
.history__year .year {
  padding-top: 20px;
  font-size: 30px;
  color: #bbd6e6;
}
.history__year .line {
  width: 4px;
  background: transparent;
  position: relative;
  z-index: 1;
}
.history__year .line:nth-child(2) {
  background: #bbd6e6;
}
.history__year__body {
  padding: 30px 0;
  min-width: 0;
}
.history__year__body__month {
  position: relative;
  padding: 0px 8px;
  display: grid;
  grid-template-columns: 50px 1fr;
  grid-gap: 8px;
  align-items: flex-start;
}
.history__year__body__month + .history__year__body__month {
  margin-top: 12px;
}
.history__year__body__month::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #19709b;
  position: absolute;
  top: 6px;
  left: -2px;
  z-index: 2;
}
.history__year__body__month .month {
  text-align: center;
  color: #bebebe;
  font-size: 12px;
  padding-top: 2px;
}
.history__year__body__month .text, .history__year__body__month .text * {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: normal;
}
.history__year__body__month .text strong {
  font-weight: 500;
}
.history__year__body__month .text small {
  display: block;
  font-size: 14px;
}
@media screen and (max-width: 767px) {
  .history__year__body__month {
    grid-template-columns: auto;
    grid-gap: 0px;
    padding: 0px 6px 0 12px;
  }
  .history__year__body__month .month {
    text-align: left;
  }
}
.history__year__body ~ .history__year__body .history__year__body__month::before {
  background: #039947;
}
.history__year:first-child .line, .history__year--rental_leasing.first .line:nth-child(4) {
  position: relative;
}
.history__year:first-child .line::before, .history__year--rental_leasing.first .line:nth-child(4)::before {
  content: "";
  position: absolute;
  background: white;
  left: 0;
  top: 0;
  width: 4px;
  height: 40px;
}
.history__year--ube_pallet .text strong {
  color: #19709b;
}
.history__year--rental_leasing .year {
  color: #b6e1c9;
}
.history__year--rental_leasing .line ~ .line, .history__year--rental_leasing ~ .history__year .line ~ .line {
  background: #b6e1c9;
}
.history__year--rental_leasing .text strong {
  color: #039947;
}
.history__year--merger::before, .history__year--merger + .history__year::before {
  display: none;
}
.history__year--merger .year, .history__year--merger ~ .history__year .year {
  color: #ffd7bf;
}
.history__year--merger .line, .history__year--merger ~ .history__year .line {
  background: #ffd7bf;
}
.history__year--merger .history__year__body__month::before, .history__year--merger ~ .history__year .history__year__body__month::before {
  background-color: #e47011;
}
.history__year--merger .line ~ .line,
.history__year--merger .history__year__body ~ .history__year__body, .history__year--merger ~ .history__year .line ~ .line,
.history__year--merger ~ .history__year .history__year__body ~ .history__year__body {
  display: none;
}
.history__year--merger .text strong, .history__year--merger ~ .history__year .text strong {
  color: #e47011;
}
.history__year--merger ~ .history__year {
  grid-template-columns: 120px 0 1fr;
}
.history__year--merger .year {
  padding-top: 10px;
}
.history__year--merger .history__year__body {
  padding: 20px 0;
}
.history__year--merger .line {
  z-index: 5;
}
.history__year--merger .line::before, .history__year--merger .line::after {
  position: absolute;
}
.history__year--merger .line::before {
  content: "合併";
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: calc(50% - 25px);
  left: calc(50% - 25px);
  z-index: 5;
  background-color: #e47011;
  color: white;
  border-radius: 50%;
}
html:not([lang=ja]) .history__year--merger .line::before {
  content: "MERGED";
  width: 84px;
  height: 84px;
  top: calc(50% - 42px);
  left: calc(50% - 42px);
}
html[lang=th] .history__year--merger .line::before {
  width: 72px;
  height: 72px;
  top: calc(50% - 36px);
  left: calc(50% - 36px);
  content: "ควบรวมกิจการ";
  text-align: center;
}
html[lang=vi] .history__year--merger .line::before {
  width: 72px;
  height: 72px;
  top: calc(50% - 36px);
  left: calc(50% - 36px);
  content: "Sáp nhập";
  text-align: center;
}
.history__year--merger .line::after {
  width: 4px;
  background: #e47011;
  bottom: 0;
  left: 0;
  z-index: 3;
}
.history__year--merger .history__year__body {
  position: relative;
}
.history__year--merger .history__year__body::before, .history__year--merger .history__year__body::after {
  content: "";
  display: block;
  position: absolute;
  background: #b6e1c9;
}
.history__year--merger .history__year__body::before {
  top: calc(50% - 2px);
  width: 100%;
  left: 0;
  height: 4px;
}
.history__year--merger .history__year__body::after {
  left: 100%;
  bottom: calc(50% - 2px);
  width: 4px;
  height: calc(50% + 2px);
}
@media screen and (max-width: 767px) {
  .history__year {
    grid-template-columns: 70px 0 1fr 0 1fr;
  }
  .history__year .year {
    font-size: 18px;
  }
  .history__year__body {
    padding: 20px 0;
  }
  .history__year:first-child .line::before, .history__year--rental_leasing.first .line:nth-child(4)::before {
    height: 30px;
  }
  .history__year--merger ~ .history__year {
    grid-template-columns: 70px 0 1fr;
  }
}

/*# sourceMappingURL=history.css.map */
