#historyDetail .history-list {
  position: relative;
  margin-top: 64px;
}
#historyDetail .history-item {
  position: relative;
  grid-template-columns: 159px 1fr;
}
#historyDetail .history-item + .history-item {
  margin-top: 40px;
}
#historyDetail .history-item:before, #historyDetail .history-item:after {
  content: "";
  display: block;
  position: absolute;
  background: #8f9fb8;
}
#historyDetail .history-item:before {
  width: 12px;
  height: 12px;
  border-radius: 1000px;
  top: 5px;
  left: 159px;
  transform: translateX(-50%);
  z-index: 1;
}
#historyDetail .history-item:after {
  width: 1px;
  height: calc(100% + 38px);
  top: 8px;
  left: 159px;
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform 0.7s 0.18s ease;
}
#historyDetail .history-item:last-of-type:after {
  height: calc(100% - 8px);
}
#historyDetail .history-item.move:after {
  transform: scaleY(1);
}
#historyDetail .history-year, #historyDetail .history-box {
  line-height: 1.5;
}
#historyDetail .history-year {
  padding-right: 12px;
  font-weight: 500;
}
#historyDetail .history-box {
  padding-left: 32px;
}
#historyDetail .history-box .img {
  width: 360px;
  margin-top: 16px;
}
#historyDetail .history-box p {
  line-height: 1.5;
}

#historyBanner {
  margin-top: 120px;
}
#historyBanner a {
  place-items: center;
  padding: 50px 20px 51px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
#historyBanner a:before, #historyBanner a:after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  margin: auto;
}
#historyBanner a:before {
  width: 100%;
  height: 100%;
  background: url(../img/history/history_banner_bg_pc.webp) no-repeat center center/cover;
  z-index: -1;
  transition: inherit;
}
#historyBanner a:after {
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  border: 1px solid #7bb8d5;
}
#historyBanner a:hover:before {
  transform: scale(1.1);
}
#historyBanner a:hover .ttl:before {
  right: 30px;
  transition: all 0.4s;
}
#historyBanner .ttl {
  width: 100%;
  margin-top: 0;
  font-size: 1.6rem;
  font-weight: 500;
}
#historyBanner .ttl:before {
  content: "";
  display: block;
  position: absolute;
  width: 26px;
  height: 26px;
  background: url(../img/common/angle_rt_wt_l.svg) no-repeat center center/contain;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.4s;
}
#historyBanner .ttl .en {
  display: block;
  color: #7bb8d5;
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

@media screen and (min-width: 1024px) {
  #historyDetail .wrap {
    max-width: 1000px;
  }
  #historyBanner .wrap {
    max-width: 1000px;
  }
}
@media screen and (max-width: 767px) {
  #historyDetail .history-list {
    margin-top: 48px;
  }
  #historyDetail .history-item {
    grid-template-columns: 1fr;
  }
  #historyDetail .history-item:before, #historyDetail .history-item:after {
    left: 0;
  }
  #historyDetail .history-year {
    padding: 0 0 0 24px;
  }
  #historyDetail .history-box {
    margin-top: 8px;
    padding: 0 0 0 24px;
  }
  #historyDetail .history-box .img {
    width: 100%;
  }
  #historyBanner {
    margin-top: 80px;
  }
  #historyBanner a {
    padding: 53px 20px;
  }
  #historyBanner a:before {
    background-image: url(../img/history/history_banner_bg_sp.webp);
  }
  #historyBanner .ttl {
    font-size: 1.4rem;
  }
  #historyBanner .ttl:before {
    content: none;
  }
  #historyBanner .ttl .en {
    font-size: 2.4rem;
  }
}