@charset "utf-8";
@media (min-width: 1000px) {
  .timeline .demo-card:nth-child(even) .head::after, .timeline .demo-card:nth-child(odd) .head::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    height: 0;
  }

  .timeline .demo-card:nth-child(even) .head::before, .timeline .demo-card:nth-child(odd) .head::before {
    position: absolute;
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 9px;
  }
}
/* Some Cool Stuff */
.demo-card:nth-child(1) {
  order: 1;
}

.demo-card:nth-child(2) {
  order: 4;
}

.demo-card:nth-child(3) {
  order: 2;
}

.demo-card:nth-child(4) {
  order: 5;
}

.demo-card:nth-child(5) {
  order: 3;
}

.demo-card:nth-child(6) {
  order: 6;
}


.body-parts img{
  width: 100%;
	height: 220px;
	object-fit: cover

}

/* Border Box */
* {
  box-sizing: border-box;
}


.timeline {
  padding: 0px 0 0px;
}
.timeline p {
  font-size: 14px;
	line-height: 1.6em
}

.timeline p.leader {
  text-align: center;
  max-width: 90%;
  margin: auto;
  margin-bottom: 45px;
}
.timeline .demo-card-wrapper {
  position: relative;
  margin: auto;
}
	.bg-gray-h1 {
    display: flex;
    flex-flow: column wrap;
    min-width:  auto;
		background: #9E9E9E	;
		margin: 50px 0 20px;
  }

	
@media (min-width: 1000px) {
  .timeline .demo-card-wrapper {
    display: flex;
    flex-flow: column wrap;
    width: 1170px;
    height: 1555px;
    margin: 0 auto;
  }
	
	.bg-gray-h1 {
    display: flex;
    flex-flow: column wrap;
    width: 1000px;
		background: #ffffff	;
		margin: 0 auto 20px;
		border: solid 1px #9E9E9E;
		font-weight: 400!important
  }
	
	
	
	  .timeline .demo-card-wrapper1 {
    height: 1575px;
  }
	
	
	
		  .timeline .demo-card-wrapper2 {
    height: 1255px;
  }
	  .timeline .demo-card-wrapper3 {
    height: 1325px;
  }
}

.timeline .demo-card-wrapper::after {
  z-index: 1;
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px solid #9E9E9E;
}
@media (min-width: 1000px) {
  .timeline .demo-card-wrapper::after {
    border-left: 1px solid #9E9E9E;
  }
}

@media (max-width: 1000px) {
  .timeline .demo-card-wrapper::after {
    border-left: none;
  }
}

	

.timeline .demo-card {
  position: relative;
  display: block;
  margin: 0px auto 80px;
  max-width: 94%;
  z-index: 2;
}
@media (min-width: 480px) {
  .timeline .demo-card {
    max-width: 90%;
  }
}
@media (min-width: 720px) {
  .timeline .demo-card {
    max-width: 90%;
  }
}
@media (min-width: 1000px) {
  .timeline .demo-card {
    max-width: 450px;
    height:  auto;
    margin: 90px;
    margin-top: 45px;
    margin-bottom: 45px;
  }
  .timeline .demo-card:nth-child(odd) {
    margin-right: 45px;
	    margin-top: 60px;
  }
  .timeline .demo-card:nth-child(odd) .head::after {
 border-top: 1px solid #9E9E9E;;
	  width: 45px;
    left: 100%;
  }
  .timeline .demo-card:nth-child(odd) .head::before {
    left: 491.5px;
  }
  .timeline .demo-card:nth-child(even) {
    margin-left: 45px;
  }
  .timeline .demo-card:nth-child(even) .head::after {
 border-top: 1px solid #9E9E9E;
	  width: 45px;
    right: 100%;
  }
  .timeline .demo-card:nth-child(even) .head::before {
    right: 489.5px;
  }
  .timeline .demo-card:nth-child(2) {
    margin-top: 150px;
  }
}


.timeline .demo-card .head {
  position: relative;
  display: flex;
  align-items: center;
  color: #FFFFFF;
	background: #9E9E9E;
  font-weight: 500;
	padding: 2px 0 5px;
		height: 50px

}
.number-box {
  display: inline;
	color: #6E6E6E;
  float: left;
  margin: 10px 10px 5px;
   padding: 4px 7px;
  font-size: 17px;
  line-height: 25px;
  font-weight: 600;
  background: #fff;
	border-radius: 50%;
	font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif"
}
.timeline .demo-card .head h2 {
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: inherit;
  letter-spacing: 2px;
  margin: 0;
  padding: 10px 0 6px;
  line-height: 1rem;
}
@media (min-width: 480px) {
  .timeline .demo-card .head h2 {
  font-size: clamp(1.4rem, 2vw, 1.4rem);
  }
}
.timeline .demo-card .head h2 span {
  display: block;
  margin: 0;
}
@media (min-width: 480px) {
  .timeline .demo-card .head h2 span {
    font-size: 1rem;
  }
}
.timeline .demo-card .body-parts{
  border-top: 0;
  padding: 5px 15px 20px;
}


.kansei {
padding: 5px 10px 2px 20px;
  font-weight: 500;
	text-align: center;
	margin-top: 30px;
	width: 300px;
	margin: 0 auto;
	letter-spacing: 1.1em;
	text-align: center;
	color: #ffffff;
	background: #9E9E9E;
	  font-weight: inherit;
	height: 50px;
	  font-size: 24px!important;

}




@media (max-width: 1000px) {
.kansei {
	margin: 0px auto;

}

	


 .card-7 {
margin-top: -160px;

}
@media (max-width: 1000px) {
	 .card-7 {
margin-top: 0px
}
}
 .card-7-2 {
margin-top: -230px;

}
@media (max-width: 1000px) {
	 .card-7-2 {
margin-top: 0px
}
}
 .card-8 {
margin-top: -100px;

}
@media (max-width: 1000px) {
	 .card-8 {
margin-top: 0px
}
}
 .card-8-2 {
margin-top: -180px;

}
@media (max-width: 1000px) {
	 .card-8-2 {
margin-top: 0px
}
}
@media (min-width: 1000px) {
  .timeline .demo-card .body-parts{
    height: auto;
  }
}

.body-parts p{
  font-size: 1.05rem;

}
