@charset "UTF-8";
/* CSS Document */

.history{
  position: relative;
  z-index: 1;
  margin-bottom: 120px;
}

.history::before{
  content: "";
  width: 7px;
  height: 100%;
  background: #D7E4F4;
  padding-bottom: 45px;
  position: absolute;
  top: 0;
  left: 67px;
}

.history::after{
  content: "";
  width: 16px;
  height: 16px;
  border-right: solid 8px #D7E4F4;
  border-bottom: solid 8px #D7E4F4;
  position: absolute;
  bottom: -40px;
  left: 70.5px;
  transform: translate(-50%,45%) rotate(45deg);
  transform-origin: center center;
}
.history dl{
  position: relative;
  z-index: 2;
}
.history dl::before{
  content: "";
  width: 7px;
  height: 100%;
  background: #D7E4F4;
  border-left: 5px solid #FFF;
  border-right: 5px solid #FFF;
  position: absolute;
  top: 0;
  left: 125px;
  z-index: 2;
}

.history dl::after{
  content: "";
  width: 20px;
  height: var(--after-height, 210px);
  background: #FFF;
  display: block;
  position: absolute;
  top: 0;
  left: 4em;
  z-index: 2;
}

.history dl div{
  width: 100%;
  display: table;
  position: relative;
}

.history dl div:first-of-type:before{
  content: "";
  width: 20px;
  height: 48%;
  background: #FFF;
  position: absolute;
  top: 0;
  left: 125px;
  z-index: 3;
}

.history dl div:last-of-type::before{
  content: "";
  width: 20px;
  height: 48%;
  background: #FFF;
  position: absolute;
  bottom: 0;
  left: 125px;
  z-index: 3;
}

.history dl div:last-of-type::after{
  content: "";
  width: 72px;
  height: 7px;
  background: #D7E4F4;
  position: absolute;
  top: 50%;
  left: 65px;
  z-index: 4;
  transform: translateY(-50%);
}

.history dl div + div{
  margin-top: 25px;
}

.history dl div + div.mt{
  margin-top: 45px;
}

.history dl div + div.mts{
  margin-top: 40px;
}

.history dl div dt,
.history dl div dd{
  display: table-cell;
  vertical-align: middle;
  position: relative;
}

.history dl div dt{
  width: 190px;
  font-family: 'UD Shin Go DemiBold', sans-serif;
  font-size: 20px;
  line-height: 1;
  color: #003484;
}

.history dl div dt::before,
.history dl div.w_block dd::after{
  content: "";
  width: 20px;
  height: 20px;
  background: #003484;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: 110px;
  transform: translateY(-50%);
  z-index: 5;
}

.history dl div.r_block dt::before{
  right: 47px;
}

.history dl div.w_block dd::after{
  right: auto;
  left: -69px;
}

.history dl div:first-of-type dt::after{
  content: "";
  width: 100%;
  height: 48%;
  background: #FFF;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}

.history dl div dd{
  font-size: 16px;
  line-height: 1.4;
  border: 2px solid #D7E4F4;
  padding: 12px 7px;
  position: relative;
}

.history dl div dd::before{
  content: "";
  width: 120px;
  height: 2px;
  background: #D7E4F4;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-100%,-50%);
}

.history dl div:last-of-type dd::before{
  z-index: 3;
}

.history dl div.r_block dd::before{
  width: 60px;
}

.history dl div dd span{
  color: #437CB4;
  padding-right: .7em;
}

.history dl div dd ul,
.history dl div dd p{
  padding: 0 !important;
  margin: 0 !important;
}

.history dl div dd ul li + li{
  margin-top: 10px;
}

.history dl div dd ul + p,
.history dl div dd p + ul,
.history dl div dd p + p{
  padding-top: 14px !important;
  margin-top: 12px !important;
  position: relative;
}

.history dl div dd ul + p::before,
.history dl div dd p + ul::before,
.history dl div dd p + p::before{
  content: "";
  width: 100%;
  height: 2px;
  padding: 0 7px;
  background: #D7E4F4;
  position: absolute;
  top: 0;
  left: -7px;
}


@media screen and (max-width: 800px) {

  .history{
    margin-bottom: 20vw;
  }

  .history::before{
    width: 1.3vw;
    padding-bottom: 5vw;
    top: 6vw;
    left: 10.6vw;
  }

  .history::after{
    width: 3vw;
    height: 3vw;
    border-right: solid 1.3vw #D7E4F4;
    border-bottom: solid 1.3vw #D7E4F4;
    bottom: -9vw;
    left: 11.25vw;
  }

  .history dl::after{
    width: 2vw;
  }

  .history dl::before{
    width: 1.3vw;
    height: 100%;
    border-left: 1vw solid #FFF;
    border-right: 1vw solid #FFF;
    position: absolute;
    top: 0;
    left: 16vw;
    z-index: 2;
  }
  .history dl::after{
    width: 2vw;
    left: 10vw;
    z-index: 2;
  }

  .history dl div:first-of-type:before{
    width: 4vw;
    left: 16vw;
  }
  
  .history dl div:last-of-type::before{
    width: 4vw;
    left: 16vw;
    z-index: 3;
  }
  
  .history dl div:last-of-type::after{
    width: 7.05vw;
    height: 1.3vw;
    left: 11.25vw;
  }

  .history dl div + div{
    margin-top: 5vw;
  }

  .history dl div + div.mt{
    margin-top: 10vw;
  }

  .history dl div + div.mts{
    margin-top: 8vw;
  }

  .history dl div dt{
    width: 23vw;
    font-size: 3.3vw;
    line-height: 1;
    color: #003484;
  }

  .history dl div dt::before,
  .history dl div.w_block dd::after{
    width: 3.5vw;
    height: 3.5vw;
    right: 10.1vw;
  }

  .history dl div.r_block dt::before{
    right: 3.8vw;
  }

  .history dl div.w_block dd::after{
    right: auto;
    left: calc(-7.3vw - 2px);
  }

  .history dl div dd::before{
    width: 10vw;
    height: 2px;
  }

  .history dl div.r_block dd::before{
    width: 7vw;
  }

  .history dl div dd{
    font-size: 2.8vw;
    line-height: 1.4;
    padding: 1.5vw 1vw;
  }


  .history dl div dd ul li + li{
    margin-top: 1vw;
  }

  .history dl div dd ul + p,
  .history dl div dd p + ul,
  .history dl div dd p + p{
    padding-top: calc(1.5vw + 2px) !important;
    margin-top: 1.5vw !important;
    position: relative;
  }

  .history dl div dd ul + p::before,
  .history dl div dd p + ul::before,
  .history dl div dd p + p::before{
    padding: 0 1vw;
    left: -1vw;
  }

}
