@charset "utf-8";



/*============================
MV
============================*/
#mv {
  background-image: url(../img/history/mv.jpg);
}


/*============================
会社の沿革・歴史
============================*/
#history {
  padding: 1.7rem 0 1.2rem;
  position: relative;
}

@media screen and (max-width: 640px) {
  #history {
    padding: 0.8rem 0 0.5rem;
    overflow: hidden;
  }
}

#history .deco {
  position: absolute;
  top: 0;
  right: -1rem;
  animation: rotate 40s linear infinite;
}

@media screen and (max-width: 640px) {
  #history .deco {
    right: -1rem;
    max-width: 3rem;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#history .cont_wrap {
  max-width: 8rem;
  margin: 0 auto;
  width: 100%;
  margin-top: 0.7rem;
}

#history .cont_wrap .list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0.4rem;
}

@media screen and (max-width: 640px) {
  #history .cont_wrap .list {
    align-items: flex-start;
  }
}

#history .cont_wrap .list .year {
  font-size: 0.4rem;
  color: #2272D3;
  font-weight: 700;
  width: 2rem;
  box-sizing: border-box;
  font-family: "Noto Sans JP";
}

@media screen and (max-width: 640px) {
  #history .cont_wrap .list .year {
    font-size: 0.24rem;
    width: 1rem;
  }
}

#history .cont_wrap .list .year span {
  position: relative;
  display: inline-block;
}

#history .cont_wrap .list .year span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.21rem;
  transform: translateX(-50%);
  width: 0.01rem;
  height: 0.21rem;
  background-color: #ccc;
  display: block;
  z-index: 1;
}

#history .cont_wrap .list .year span:last-child::after {
  display: none;
}


#history .cont_wrap .list .year.long span::after {
  height: 0.35rem;
  bottom: -0.35rem;
}

#history .cont_wrap .list .text {
  font-size: 0.16rem;
  line-height: 2;
  margin-left: 0.3rem;
  position: relative;
  width: calc(100% - 2.3rem);
  box-sizing: border-box;
}

@media screen and (max-width: 640px) {
  #history .cont_wrap .list .text {
    font-size: 0.14rem;
    margin-left: 0.2rem;
    width: calc(100% - 1.2rem);
  }
}

#history .cont_wrap .list .text::before {
  content: "";
  position: absolute;
  left: -0.15rem;
  top: 0.13rem;
  width: 0.06rem;
  height: 0.06rem;
  background-color: #2272D3;
  border-radius: 50%;
}

@media screen and (max-width: 640px) {
  #history .cont_wrap .list .year {
    font-size: 0.24rem;
    width: 1rem;
  }
  
  #history .cont_wrap .list .year span::after {
    bottom: -0.15rem;
    height: 0.15rem;
  }
}
