@charset "utf-8";

/*====================
  Historyページ
====================*/
.l-contentsHistory {
  color: #000;
  background: #fff;
}

.l-contentsHistory_mv {
  position: relative;
}

.l-contentsHistory_title {
  transform: translate(-50%, -50%);
  position: absolute;
  top: 50%;
  left: 50%;
  font-weight: 400;
  font-size: 3rem;
  line-height: 1.5;
  text-align: center;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .l-contentsHistory_title {
    font-size: 2rem;
  }
}

.l-contentsHistory_article {
  max-width: 115.8rem;
  margin: 0 auto;
  padding: 12rem 0 18rem;
}

@media screen and (max-width: 767px) {
  .l-contentsHistory_article {
    padding: 8rem 0 12rem;
  }
}

@media screen and (max-width: 1199px) {
  .l-contentsHistory_article--inner {
    margin: 0 11%;
  }
}

/*----- タイムライン -----*/
.l-contentsHistory_timeline--item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8rem;
  margin: 0 6rem;
  padding: 1.6rem 0 1.6rem 8.7rem;
  border-left: solid 0.1rem #000;
}

@media screen and (max-width: 1199px) {
  .l-contentsHistory_timeline--item {
    flex-direction: column-reverse;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    border: none;
  }
}

@media screen and (max-width: 767px) {
  .l-contentsHistory_timeline--item {
    gap: 2rem;
  }
}

.l-contentsHistory_timeline--item:not(:first-child) {
  margin-top: 4rem;
}

@media screen and (max-width: 1199px) {
  .l-contentsHistory_timeline--item:not(:first-child) {
    margin-top: 4.5rem;
  }
}

@media screen and (max-width: 767px) {
  .l-contentsHistory_timeline--item:not(:first-child) {
    margin-top: 4.5rem;
  }
}

.l-contentsHistory_timeline--item::before {
  transform: translate(-50%, -50%);
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  background-color: #000;
  border-radius: 50%;
}

.l-contentsHistory_timeline--item::after {
  transform: translateX(-50%);
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: solid 0.7rem #000;
  border-left: solid 0.9rem transparent;
  border-right: solid 0.9rem transparent;
}

@media screen and (max-width: 1199px) {
  .l-contentsHistory_timeline--item::before,
  .l-contentsHistory_timeline--item::after {
    display: none;
  }
}

.l-contentsHistory_timeline--item_text {
  flex-grow: 1;
}

.l-contentsHistory_timeline--item_text--text {
  font-size: 2.2rem;
  line-height: 1.25;
  text-align: left;
}

@media screen and (max-width: 1199px) {
  .l-contentsHistory_timeline--item_text--text {
    font-size: 1.4rem;
  }
}

.l-contentsHistory_timeline--item_text--year {
  font-weight: 600;
  font-size: 2.8rem;
  line-height: 1.2;
  margin-top: 1rem;
}

.l-contentsHistory_timeline--item_image {
  min-width: 33rem;
  width: 33rem;
  flex-grow: 0;
}

@media screen and (max-width: 1199px) {
  .l-contentsHistory_timeline--item_image {
    margin: 0 auto;
  }
}

@media screen and (max-width: 767px) {
  .l-contentsHistory_timeline--item_image {
    min-width: 70%;
    width: 70%;
  }
}

/* 見出し */
.l-contentsHistory_timeline--item_head {
  display: flex;
  gap: 3rem;
  padding-left: 3rem;
}

@media screen and (max-width: 1199px) {
  .l-contentsHistory_timeline--item_head {
    flex-direction: column-reverse;
    gap: 0.8rem;
    padding: 0;
  }
}

.l-contentsHistory_timeline--item_head::before {
  content: "";
  display: block;
  width: 6.8rem;
  height: 0.1rem;
  background-color: #000;
  position: absolute;
  left: 0;
  top: 50%;
}

@media screen and (max-width: 1199px) {
  .l-contentsHistory_timeline--item_head::before {
    display: none;
  }
}

.l-contentsHistory_timeline--item_head--year {
  font-weight: 600;
  font-size: 5.2rem;
  line-height: 1.2;
  white-space: nowrap;
}

@media screen and (max-width: 1199px) {
  .l-contentsHistory_timeline--item_head--year {
    font-size: 3.9rem;
  }
}

.l-contentsHistory_timeline--item_head--text {
  font-size: 2.2rem;
  line-height: 1.25;
  text-align: left;
}

@media screen and (max-width: 1199px) {
  .l-contentsHistory_timeline--item_head--text {
    font-size: 1.4rem;
  }
}

/* 区切り線 */
.l-contentsHistory_timeline--separator {
  height: 2rem;
  margin: 10rem 0;
  background: #000;
}

@media screen and (max-width: 767px) {
  .l-contentsHistory_timeline--separator {
    height: 1rem;
  }
}
