/*==================================================

** history
==================================================*/
#historyTtl {
  position: relative;
}
#historyTtl .pht {
  width: 51.8%;
  position: absolute;
  right: 21px;
  top: -70px;
  z-index: -1;
}

#historyList {
  margin-top: 100px;
}
#historyList .history-list {
  max-width: 780px;
  margin-inline: auto;
  padding-bottom: 135px;
  position: relative;
}
#historyList .history-list::after {
  content: "";
  display: block;
  width: 2px;
  height: calc(100% - 60px);
  background: #ea0a2a;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  margin-inline: auto;
}
#historyList .history-list-li + .history-list-li {
  margin-top: 50px;
}
#historyList .history-year {
  position: relative;
}
#historyList .history-year-ttl {
  width: 12.8%;
  position: absolute;
  left: 0;
  right: 0;
  top: 50px;
  margin-inline: auto;
}
#historyList .history-year-event {
  display: block;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  min-height: 200px;
}
#historyList .history-year-event .phtbox {
  width: 38.4%;
}
#historyList .history-year-event .txtbox {
  width: 38.4%;
  margin-inline: auto 0;
}
#historyList .history-year-event .txtbox p {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.025em;
}
#historyList .history-year-event.ptn2 {
  flex-direction: row-reverse;
}
#historyList .history-year-event.ptn2 .txtbox {
  margin-inline: 0 auto;
}
#historyList .history-year-event.ptn2 .txtbox p {
  text-align: right;
}
#historyList .history-continue {
  margin-top: 10px;
  text-align: center;
  font-size: 2.7rem;
  font-weight: 700;
  color: #ef363c;
  letter-spacing: 0.03em;
}

#historyMsg {
  margin: 60px auto 0;
  max-width: 500px;
}
#historyMsg .ttl {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.8;
}
#historyMsg .txt {
  margin-top: 30px;
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: justify;
}

@media screen and (max-width: 991px) {
  #historyList .history-year-event .txtbox p {
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 767px) {
  #historyTtl .pht {
    width: 60%;
    right: 0;
    top: 0;
  }
  #historyList {
    margin-top: 50px;
  }
  #historyList .history-list {
    max-width: 100%;
    padding-bottom: 60px;
  }
  #historyList .history-list::after {
    height: 100%;
    left: 9.3333333333vw;
    right: auto;
  }
  #historyList .history-list-li + .history-list-li {
    margin-top: 70px;
  }
  #historyList .history-year {
    padding-left: 21.3333333333vw;
  }
  #historyList .history-year-ttl {
    width: 18.6666666667vw;
    left: 0;
    right: auto;
    top: 0;
  }
  #historyList .history-year-event {
    min-height: auto;
  }
  #historyList .history-year-event .phtbox {
    width: 100%;
  }
  #historyList .history-year-event .phtbox + .txtbox {
    margin-top: 20px;
  }
  #historyList .history-year-event .txtbox {
    width: 100%;
  }
  #historyList .history-year-event.ptn2 .txtbox p {
    text-align: left;
  }
  #historyList .history-year:not(:has(.phtbox)) .history-year-event {
    min-height: 18.6666666667vw;
  }
  #historyList .history-continue {
    margin-top: 20px;
    font-size: 2.4rem;
  }
  #historyMsg {
    margin-top: 40px;
    max-width: 100%;
  }
  #historyMsg .ttl {
    font-size: 2rem;
  }
  #historyMsg .txt {
    margin-top: 20px;
    font-size: 1.6rem;
    line-height: 1.8;
  }
}