@charset "utf-8";

.company-sec02 .history-box ul {
  justify-content: center;
  gap: 10px;
}
.company-sec02 .history-box {
  max-width: 900px;
}
.company-sec02 .history-box .history-start {
  width: 60px;
}
.company-sec02 .history-box.scrollin ul li:nth-of-type(5) img.year-img {
  animation: line-opacity .3s 2s forwards;
}
@media screen and (max-width:991px) {
  .company-sec02 .history-box {
    margin: 40px auto 0;
  }
  .company-sec02 .history-box ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 20px;
  }
  .company-sec02 .history-box .history-middle {
    width: 100%;
    text-align: center;
  }
  .company-sec02 .history-box ul li {
    margin: 0;
  }
  .company-sec02 .history-box .history-start {
    display: none;
  }
  .company-sec02 .history-box .history-line {
    display: none;
  }
  .company-sec02 .history-box ul li.history-middle .history-item {
    width: 100%;
    margin: 20px 0 0;
  }
  .company-sec02 .history-box ul li.history-middle .history-item .text {
    margin-top: 20px;
  }
  .company-sec02 .history-box ul li.history-middle .history-item .his-img img {
    width: 100%;
  }
  .company-sec02 .history-box ul li img.year-img, .company-sec02 .history-box ul li.history-middle .history-item, .company-sec02 .history-box ul li.history-middle .history-item .text {
    position: initial !important;
    transform: initial !important;
  }
  .company-sec02 .history-box ul li.history-middle:nth-of-type(even)::after {
    content: none;
  }
  .company-sec02 .history-box ul li.history-middle:nth-of-type(odd)::after {
    content: none;
  }
}
@media screen and (max-width:767px) {
  .company-sec02 .history-box ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* SUSTAINABILITY */
.company-sec04 {
  background-color: #ffd811;
  padding-bottom: 100px;
}
.company-sec04-content {
  margin-top: 30px;

  & small {
    font-size: 14px;
  }
}
.company-sec04-content__flex-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}
.company-sec04-content__flex-wrap.n2 {
  margin-top: 50px;
}
.company-sec04-content__item {
  width: 100%;
  max-width: 400px;
}
.company-sec04-content__item h4 {
  font-size: 19px;
  font-weight: bold;
  text-align: center;
  padding-bottom: .5em;
  margin-bottom: 1em;
  position: relative;
}
.company-sec04-content__item h4::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 1px;
  background: #000;
}
@media screen and (max-width:767px) {
  .company-sec04n{
    padding-bottom: 50px;
  }
  .company-sec04-content small {
    font-size: 14px;
  }
  .company-sec04-content__item {
    max-width: 300px;
  }
  .company-sec04-content__item h4 {
    font-size: 16px;
  }
  .company-sec04-content__item h4::before {
    width: 20px;
  }
  .company-sec04-content__flex-wrap {
    gap: 15px;
  }
}
@media screen and (max-width:540px) {
  .company-sec04-content__flex-wrap {
    flex-wrap: wrap;
    gap: 20px;
  }
}