/*----------- Origin -----------*/
.Origin_sec {
  background-color: #f3f7de;
}

.origin_container {
  padding: 0 50px;
}

.origin_container .text_box {
  padding: 0 40px;
}

.origin_wrap {
  background-color: #fff;
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 80px;
  margin: 20px 0;
}

.origin_wrap p {
  font-size: 112.5%;
  font-weight: 700;
}

.origin_wrap p.caveat_font {
  font-size: 240%;
  color: #0e2247;
  text-transform: lowercase;
}

.origin_wrap .text_wrap {
  width: calc((100% - (80px * 2)) / 3);
  text-align: center;
  position: relative;
}

.origin_wrap .text_wrap::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 90px;
  background: #ccc;
  top: calc(50% - 45px);
  right: -40px;
  transform: rotate(20deg);
}

.origin_wrap .text_wrap:last-child:before {
  content: none;
}

@media screen and (max-width: 1199px) {
  .origin_container {
    padding: 0;
  }
}

@media screen and (max-width: 992px) {
  .origin_wrap {
    gap: 40px;
  }

  .origin_wrap .text_wrap {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .origin_wrap .text_wrap::before {
    width: 100%;
    height: 1px;
    transform: rotate(0deg);
    top: auto;
    bottom: -20px;
    right: 0;
  }
}

@media screen and (max-width: 576px) {
  .origin_wrap {
    padding: 20px;
  }

  .origin_wrap .text_wrap {
    display: block;
  }

  .origin_container .text_box {
    padding: 0 10px;
  }
}

/*----------- philosophy -----------*/

.philosophy_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
}

.philosophy_wrap .h2_box {
  width: 20%;
  align-items: baseline;
  justify-content: flex-start;
  padding-left: 50px;
}

.philosophy_lists {
  width: calc(80% - 80px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.philosophy_lists li {
  padding-left: 40px;
  position: relative;
  font-size: 112.5%;
  font-weight: 700;
}

.philosophy_lists li::before {
  content: "";
  position: absolute;
  background: url(../img/foreign_talent/icon_check.png) center center / contain no-repeat;
  width: 18px;
  height: 12px;
  left: 0;
  top: 12px;
}

@media screen and (max-width: 1199px) {
  .philosophy_wrap .h2_box {
    padding-left: 0;
  }
}

@media screen and (max-width: 768px) {
  .philosophy_wrap .h2_box {
    width: 100%;
  }

  .philosophy_wrap {
    gap: 0;
  }

  .philosophy_lists {
    width: 100%;
  }
}

/*----------- History -----------*/
.History_sec {
  background-color: #fefeed;
}

.History_sec .history_box {
  display: flex;
  justify-content: center;
}

.History_sec .history_box .img_box {
  max-width: 417px;
  display: inline-block;
}

.history_box .timeline {
  inline-size: fit-content;
  margin-inline: auto;
}

.history_box .timeline-item {
  display: flex;
  gap: 40px 100px;
  flex-wrap: wrap;
  align-items: baseline;
  position: relative;
}

.history_box .year {
  font-size: 112.5%;
  font-weight: 700;
  color: #333;
  position: relative;
  width: 64px;
}

.history_box .year::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border: 4px solid #c0d26c;
  border-radius: 50%;
  top: 8px;
  right: calc(-50px - 10px);
  z-index: 2;
}

.history_box .detail_box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  padding-bottom: 40px;
  width: calc(100% - (64px + 100px));
}

.history_box .detail_box::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 4px;
  height: 100%;
  background: #c0d26c;
  left: -50px;
  transform: translateX(-50%);
  z-index: 1;
}

.history_box .detail_box.last::before {
  content: none;
}

.history_box .detail {
  display: flex;
  color: #333;
  gap: 20px;
}

.history_box .month {
  font-weight: 700;
}

@media screen and (max-width: 575px) {
  .history_box .timeline-item {
    gap: 0;
    padding-left: 40px;
    position: relative;
  }

  .history_box .year,
  .history_box .detail_box {
    width: 100%;
  }

  .history_box .year {
    padding-bottom: 20px;
  }

  .history_box .detail {
    flex-wrap: wrap;
    gap: 0px 20px;
  }

  .history_box .year::before,
  .history_box .detail_box::before {
    content: none;
  }

  .history_box .timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 4px solid #c0d26c;
    border-radius: 50%;
    top: 8px;
    left: 0;
    z-index: 2;
  }

  .history_box .timeline-item::after {
    content: '';
    position: absolute;
    top: 20px;
    width: 4px;
    height: 100%;
    background: #c0d26c;
    left: 8px;
    z-index: 1;
  }
  .history_box .timeline-item.last::after{
    content: none;
  }
}

/*----------- outline -----------*/
.outline_img {
  aspect-ratio: 65/16;
}

.outline_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.outline_d_list {
  padding: 30px 190px 0;
}

.outline_d_list dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.outline_d_list dl dt,
.outline_d_list dl dd {
  display: flex;
  flex-direction: column;
  padding: 21px 0;
  margin: 0;
  position: relative;
}

.outline_d_list dl dt::before,
.outline_d_list dl dd::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #a8a8a8;
  left: 0;
  bottom: 0;
}

.outline_d_list dl dt:first-of-type:after,
.outline_d_list dl dd:first-of-type:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #a8a8a8;
  left: 0;
  top: 0;
}

.outline_d_list dl dt {
  width: 280px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.outline_d_list dl dd {
  width: calc(100% - 280px);
  padding-left: 20px;
}

.outline_d_list dl dd i {
  padding-right: 0.5rem;
}

.outline_d_list dl dd a {
  position: relative;
  display: inline-block;
  width: fit-content;
}

.outline_d_list dl dd a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #414141;
  left: 0;
  bottom: 0;
}

.outline_d_list dl dd a:hover::before {
  opacity: 0;
}

@media screen and (max-width: 1199px) {
  .outline_d_list {
    padding: 30px 0;
  }
}

@media screen and (max-width: 768px) {
  .outline_d_list dl dt {
    width: 20%;
  }

  .outline_d_list dl dd {
    width: 80%;
  }
}

@media screen and (max-width: 576px) {

  .outline_d_list dl dt,
  .outline_d_list dl dd {
    width: 100%;
    padding: 10px;
  }

  .outline_d_list dl dd:first-of-type::after {
    content: none;
  }

  .outline_d_list dl dt {
    padding-bottom: 0;
  }

  .outline_d_list dl dt::before {
    content: none;
  }

  .outline_d_list dl dd:last-child:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #a8a8a8;
    left: 0;
    bottom: 0;
  }
}