@charset "utf-8";
/* CSS Document */
.history_table {
  max-width: var(--contents-w);
  width: 90%;
  margin: 0 auto 30px;
}
.history_header {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.history_name {
  width: calc(50% - 30px);
  padding-bottom: 0.5em;
  border-bottom: 2px solid var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-24);
  font-weight: bold;
  text-align: center;
  margin-bottom: 1em;
  @media screen and (max-width: 767px) {
    width: calc(50% - 20px);
  }
}
@media screen and (max-width: 767px) {
  .history_box:first-child .history_name {
    padding-top: 1.5em;
  }
}
.history_name--blank {
  width: 60px;
  position: relative;
  &::before {
    content: "";
    display: block;
    width: 3px;
    height: 100%;
    border-left: 3px dotted var(--border-color);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin-inline: auto;
    z-index: -2;
  }
  @media screen and (max-width: 767px) {
    width: 40px;
  }
}
.history_item {
  width: 100%;
  display: flex;
  position: relative;
}
.history_item td {
  max-width: calc(50% - 30px);
  width: 100%;
  @media screen and (max-width: 767px) {
    max-width: calc(50% - 20px);
  }
}
.history_item td:first-child {
  padding-right: 110px;
  @media screen and (max-width: 767px) {
    padding-right: 0;
  }
}
.history_item td:last-child {
  margin-left: 160px;
  @media screen and (max-width: 767px) {
    padding-left: 10px;
    margin-left: 140px;
  }
}
.history_item--content {
  padding: 1em 0 80px 20px;
  display: flex;
  flex-direction: column;
  gap: 0.5em 35px;
  transform: translateY(-1.5px);
  margin: 0 auto -3px 10px;
  position: relative;
  &::before {
    content: "";
    display: block;
    width: 14px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: var(--main-color);
    position: absolute;
    left: 0;
    top: 1.6em;
    transform: translateX(calc(-50% - 1.5px));
  }
  @media screen and (max-width: 767px) {
    padding: 5px 0 30px 10px;
    margin: 0 auto -3px 10px;
    &::before {
      top: 17px;
      width: 10px;
      min-width: 10px;
    }
  }
}
.history_item--date {
  width: max-content;
  height: 100%;
  font-size: var(--font-20);
  font-weight: normal;
  letter-spacing: 0.1em;
  line-height: 1;
  position: absolute;
  left: 0;
  right: 0;
  z-index: -1;
  margin-inline: auto;
  @media screen and (max-width: 767px) {
    font-size: 1.6rem;
  }
  &::before {
    content: "";
    display: block;
    width: 3px;
    height: 100%;
    border-left: 3px dotted var(--border-color);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin-inline: auto;
    z-index: -2;
  }
}
.history_item--date p {
  padding: 0.2em 0;
  background: #fff;
}
.history_item--num {
  font-family: "Advent Pro", sans-serif;
  font-style: italic;
  font-size: 4.2rem;
  @media screen and (max-width: 767px) {
    font-size: 2.8rem;
  }
}
.history_last {
  width: 100%;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  &::before {
    content: "";
    max-width: 368px;
    width: 100%;
    aspect-ratio: 368 / 70;
    display: block;
    background: linear-gradient(to bottom, #fff 0%, var(--main-color) 100%);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin-inline: auto;
    @media screen and (max-width: 767px) {
      width: 50%;
    }
  }
}
.history_last--img {
  width: 100%;
  img {
    width: 100%;
    object-fit: cover;
    object-position: bottom center;
  }
}
.history_last--txt {
  padding: 0 5%;
  font-size: var(--font-20);
  line-height: 1.5;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin-inline: auto;
  @media screen and (max-width: 767px) {
    transform: translateY(-25%);
  }
}
.history_last .history_item {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
}
.history_last .history_item--date {
  height: auto;
  position: initial;
}
.history_last .history_item--date::before {
  content: none;
}
.history_last .history_item--content {
  width: 100%;
  padding: 0;
  display: initial;
  margin: 0;
}
.history_last .history_item--content::before {
  content: none;
}