.timeline-texts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.timeline-texts-end {
    justify-items: end;
}

.timeline-icons-block {
    display: flex;
}

/* vertical */

.timeline-nums-vertical {
  display: none;
  position: relative;

  .timeline-1 {
    height: auto;
    
    .timeline-icon {
      position: static;
    }
  }

  .timeline-1:last-child {
    height: auto;
  }
  
  .timeline-icons-block{
    position: relative;
    z-index: 11;
    flex-direction: column;
    justify-content: space-between;
  }
  .line {
    /* position: absolute; */
    z-index: 1;
    max-height: 230px;
    overflow: hidden;
    width: 2px;
  }
}

/* horizontal */

.timeline-nums-horizontal {
  margin: 70px 0;
  position: relative;

  .timeline-1 {
    position: relative;
    width: 100%;
    
    .timeline-icon {
      position: absolute;
    }
  }

  .timeline-1:last-child {
    width: auto;
  }

  .timeline-icons-block{
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 11;
    width: 70%;
    margin: 0 auto;
  }

  .line{
    position: absolute;
    top: -14px;
    width: 100%;
    z-index: 1;

    img {
      width: 100%;
      height: 2px;
    }
  }
}

  .timeline-item {
      p {
          font-size: 24px;    
      @media (max-width: 1280px) {       
        font-size: 16px;
      }
      
      @media (min-width: 1280px) {       
        font-size: 20px;
      }
    }
  }

  .timeline-item {
      p a {
          color: #1F59B0;
          font-weight: 700;
      }
  }

@media (max-width: 768px) {

    .timeline-item {
        .ttl {
          font-size: 17px;
          line-height: 27px;
          padding: 15px 0;
        }

        p a {
        }

        p:last-child {
          margin-bottom: 50px;
        }
    }

  .stage-timeline1 {
    padding: 70px 10px 0 35px; 
    display: flex;
    justify-content: center;
  }

  .timeline-texts {
    grid-template-columns: repeat(1, 1fr);
    justify-items: start;
  }

  .timeline-nums-horizontal {
    display: none;
  }

  .timeline-nums-vertical {

    margin-top: 140px;
    .timeline-icons-block {
      grid-template-columns: repeat(1, 1fr);
      /* height: 100%; */
    }
    display: block;
  }

  .grant-box h1 {
    line-height: unset !important;
  }

}


.stage-timeline1 .timeline-icon {
  background: #1F235C;
  width: 3.125rem;
  height: 3.125rem;
  top: 60%;
  left: -5px;
  overflow: hidden;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  display: -ms-grid;
  display: grid;
  place-items: center;
  color: #F4F5F6;
  font-weight: 800;
  font-size: 1.625rem;
    z-index: 111;
  transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
}


.stage-timeline1 .timeline-nums + .line {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  left: 1.5rem;
  top: 13%;
  background-image: url(../img/line2.png);
  background-repeat: no-repeat;
  background-size: cover;
}




.ttl {
    font-weight: 800;
    font-size: 36px;
    line-height: 49px;
    color: #1F235C;

    @media (max-width: 480px) { 
      font-size: 17px;
      line-height: 34px;
    }
    
    @media (max-width: 780px) {       
      font-size: 22px;
      line-height: 44px;
    }
    
    @media (max-width: 1280px) {       
      font-size: 26px;
      line-height: 49px;
    }
}

.doc-custom {
  padding: 60px 0;
}

.page-wrap-1430 {
  max-width: 1430px;
}

@media (max-width: 780px) { 
  .doc-custom {
    padding: 50px 0;
  }
}

.doc-custom h2 {
  text-align: center;
  color: #fff;
  font-weight: 800;
  font-size: 2rem;
  line-height: 43px;
  margin-bottom: 30px;
}

@media (min-width: 860px) {
  .doc-custom h2 {
    font-size: 3rem;
    line-height: 65px;
  }
}

section footer {
  padding: 0 40px;
}

.stage-block1 {
  padding-top: 20px;
}

.card-nav.card-nav-bottom {
  position: relative;
  justify-content: center;
  top: 20px;
  left: 0;
}

.stage-box {

  padding: 100px 55px;

  @media (max-width: 1280px) {
    padding: 60px 30px;
  }

  @media (max-width: 768px) {
    padding: 50px 0px;
  }
  
  @media (max-width: 480px) {
  }
}

.b24-form {
      max-width: 860px;
    margin: auto;
}

.detail-box {
  max-width: 1360px;
}

.stage {
  padding-left: 0.625rem;
  padding-right: 0.625rem;

  @media (min-width: 1280px) {
    padding-left: 40px;
    padding-right: 40px;
  }
}

.cats-box-empty {
  padding: 0;
}

.cats-box.cats-box-custom .bx:first-child {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 57%;
  flex: 0 0 57%;
  max-width: 57%;
	@media (max-width: 859px) {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
	}
}

.cats-box-custom .bx-spec {
      -webkit-box-flex: 0;
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%;
	@media (max-width: 859px) {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
	}
}

.cats-box-central {
  padding: 0;
  .block {
    width: 500px;
    margin: 0 auto;
    padding: 0;
	@media (max-width: 480px) {
	  width:100%;
	}
  }
}