@charset "UTF-8";

#subpage-body {
  min-width: 0;
}

#subpage-contents {
  width: 100%;
}

.history-page-illust {
  display: inline-block;
  width: min(140px, 22vw);
  margin-left: 24px;
  vertical-align: middle;
}

.history-page-illust img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
}

#subpage-contents section {
  margin-bottom: clamp(50px, 10vh, 100px);
}

.history-title {
  width: fit-content;
  margin: 0 0 20px 30px;
  border-bottom: 2px dashed #000;
  font-size: 1.6rem;
}

.history-timeline {
  padding: 1.25vw 0;
}

.history-timeline ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.history-item {
  display: flex;
  position: relative;
  margin-bottom: 30px;
  padding: 0.8rem 1rem;
  border-radius: 12px;
}

.history-item span {
  flex: 0 0 5rem;
  padding: 0 12px 18px 0;
  font-size: 1.1rem;
}

.history-item p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.8;
}

.history-subcontainer {
  max-width: 100%;
  margin-bottom: 5vw;
  padding: 50px;
  border: 2px solid #000;
  border-radius: 24px;
  background-color: #fff;
}

.history-subcontainer span {
  font-weight: 600;
}

.history-subtitle {
  width: fit-content;
  margin-bottom: 20px;
  border-bottom: 2px solid #ffb64b;
  color: #000;
  font-size: 1.4rem;
}

.history-subcontainer-txt {
  line-height: 1.8;
}

@media (max-width: 1000px) {
  .history-page-illust {
    width: min(95px, 24vw);
    margin-left: 8px;
  }

  .history-title {
    margin-left: 0;
    font-size: 1.35rem;
  }

  .history-item span {
    flex-basis: 4.2rem;
    font-size: 1rem;
  }

  .history-item p {
    max-width: 90%;
    font-size: 1rem;
  }

  .history-subcontainer {
    padding: 20px;
    border-radius: 16px;
  }
}