@charset "UTF-8";
/* 共通カラー */
/* ブレイクポイント */
/* メディアクエリ */
.section--gray {
  background: #f6f7f7;
  padding: 30px 0;
}
@media screen and (min-width: 520px) {
  .section--gray {
    padding: 50px 0;
  }
}
@media screen and (min-width: 760px) {
  .section--gray {
    padding: 30px 0 70px;
  }
}

.history {
  max-width: 1100px;
  width: 94%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}
.history__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
}
@media screen and (min-width: 760px) {
  .history__list {
    flex-wrap: nowrap;
    border-left: none;
    border-bottom: 3px solid #000;
    justify-content: space-between;
  }
}
.history__item {
  padding: 8px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  cursor: pointer;
  width: 50%;
  height: 50px;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  text-align: center;
}
@media screen and (min-width: 760px) {
  .history__item {
    flex: 1;
    margin-right: 5px;
    border-left: 2px solid #000;
    width: auto;
    height: auto;
    padding: 12px 6px;
    font-size: 1.2rem;
  }
}
.history__item:last-of-type {
  margin-right: 0;
}
@media screen and (min-width: 1130px) {
  .history__item {
    flex: auto;
  }
}
.history__item--active {
  background: #000;
  color: #fff;
}
.history__item br {
  display: none;
}
@media screen and (min-width: 760px) and (max-width: 960px) {
  .history__item br {
    display: block;
  }
}

.timeline {
  background: #fff;
}
.timeline--downline {
  border-bottom: 1px solid #707070;
}
.timeline--downline-red {
  border-bottom: 5px solid #f00;
}
.timeline--downline-red:nth-of-type(3) {
  border-bottom: 1px solid #707070;
}
@media screen and (min-width: 520px) {
  .timeline--downline-red:nth-of-type(3) {
    border-bottom: 5px solid #f00;
  }
}
.timeline--sideline {
  border-right: none;
}
@media screen and (min-width: 520px) {
  .timeline--sideline {
    border-right: 1px solid #707070;
  }
}
.timeline--half {
  width: 100%;
}
@media screen and (min-width: 520px) {
  .timeline--half {
    width: 50%;
  }
}
.timeline--full {
  width: 100%;
}
.timeline--connection {
  margin-top: 80px;
  position: relative;
}
.timeline--connection::before {
  content: "";
  background-image: url(../img/history/line_img.svg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 12px;
  height: 96px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -88px;
}
.timeline__title {
  display: inline-block;
  background: #000;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 10px;
}
@media screen and (min-width: 760px) {
  .timeline__title {
    padding: 15px 20px;
    font-size: 1.6rem;
  }
}
@media screen and (min-width: 960px) {
  .timeline__title {
    font-size: 2rem;
  }
}
.timeline__title--half {
  width: 200px;
}
@media screen and (min-width: 760px) {
  .timeline__title--half {
    width: 340px;
  }
}
.timeline__title--full {
  width: 100%;
}
.timeline__list {
  padding: 20px 10px;
}
@media screen and (min-width: 760px) {
  .timeline__list {
    padding: 40px;
  }
}
.timeline__item {
  display: none;
}
.timeline__item--active {
  display: flex;
}
.timeline__item--gift .timeline__info {
  margin-bottom: 0;
}
.timeline__item:last-of-type .timeline__info {
  margin-bottom: 0;
}
.timeline__content {
  position: relative;
  border-left: 2px solid #f00;
  padding-left: 15px;
  padding-top: 6px;
  flex: 1;
}
@media screen and (min-width: 760px) {
  .timeline__content {
    padding-left: 20px;
  }
}
.timeline__content::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: #f00;
  border-radius: 50%;
  left: 0;
  top: 0;
  transform: translateX(-60%);
}
.timeline__content--disable {
  border-left: none;
}
.timeline__content--disable::before {
  left: 2px;
}
.timeline__info {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 30px;
  position: relative;
  top: -12px;
}
@media screen and (min-width: 760px) {
  .timeline__info {
    flex-wrap: nowrap;
    margin-bottom: 40px;
  }
}
.timeline__data {
  font-weight: bold;
  padding-right: 15px;
  padding-top: 6px;
  text-align: right;
  position: relative;
  top: -12px;
  font-size: 1.2rem;
}
@media screen and (min-width: 760px) {
  .timeline__data {
    font-size: 1.4rem;
    padding-right: 20px;
  }
}
.timeline__tag {
  color: #fff;
  background: #000;
  padding: 4px 0;
  text-align: center;
  width: 70px;
}
.timeline__description {
  font-size: 1.2rem;
}
@media screen and (min-width: 760px) {
  .timeline__description {
    font-size: 1.4rem;
  }
}
.timeline__description span {
  font-weight: bold;
}