@charset "utf-8";

#content{
  min-height: calc(100vh - 135px);
  font-family: "游ゴシック体", "Yu Gothic Medium", "Yu Gothic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;

}

#footer{
  z-index: 10;
}

#header{
  background: none;
}

#about{
  padding: 180px 0 113px;
}

.fadein{
  opacity: 0;
  transform: translate(0,20px);
}

.fadein.scrollin{
  opacity: 1;
  transform: translate(0,0);
  transition: 0.5s;

}

#about #container{
  max-width: 1440px;
  margin: 0 auto;
  display: table;
  margin: 0 auto;
}
#about h1,#about p{
  font-weight: bold;
  text-align: left;
  text-align: justify;
  margin-bottom: 45px;
  color: #3a3838;
}


#about h1{
  font-size: 56px;
  line-height: 1.4;
}

#about p{
  font-size: 28px;
  line-height: 1.6;
}


#about p:last-of-type{
  margin-bottom: 0;
}

@keyframes fadeIn{
  0%{
    opacity: 0;
    transform: translate(0,20px);
  }
  100%{
    opacity: 1;
    transform: translate(0,0);
  }
}
@keyframes span_border{
  0%{
    width: 0;
  }
  100%{
    width: 100%;
  }
}
@keyframes fadeIn_yoko{
  0%{
    opacity: 0;
    transform: translate(-20px,0);
  }
  100%{
    opacity: 1;
    transform: translate(0,0);
  }
}

#about h1{
  opacity: 0;
  animation: fadeIn_yoko 1.4s forwards;
}
#about p{
  opacity: 0;
}

#about p span{
  position: relative;
}

#about p span::after{
  content: '';
  width: 0;
  height: 3px;
  background-color: #3a3838;
  position: absolute;
  bottom: -6px;
  left: 0;
  animation: span_border 1.4s 2.5s forwards;
}

#about p:first-of-type{
  animation: fadeIn 1.6s 1s forwards;
}

#about p:nth-of-type(2){
  animation: fadeIn 1.6s 1.4s forwards;
}
#about p:nth-of-type(3){
  animation: fadeIn 1.6s 2s forwards;
}
#about p:nth-of-type(4){
  animation: fadeIn 1.6s 2.6s forwards;
}
#about p:nth-of-type(5){
  animation: fadeIn 1.6s 3.2s forwards;
}
@media screen and (max-width:1500px) {
  #about{
    padding: 100px 0 80px;
  }

  #about h1,#about p{
    margin-bottom: 30px;
  }
  
  
  #about h1{
    font-size: 42px;
  }
  
  #about p{
    font-size: 22px;
  }
}

@media screen and (max-width:1290px) and (min-width:768px) {
  #about{
    padding: 130px 0 80px;
  }
  #hd_nav nav ul{
    background: none;
  }
}

@media screen and (max-width:768px) {
  #header{
    background: none;
  }
  #about{
    padding: 80px 0;
  }
  #about #container {
    width: auto;
    display: table;
    padding: 0 8%;
    box-sizing: border-box;
}
  #about h1{
    font-size: 30px;
  }
  
  #about p{
    font-size: 16px;
    letter-spacing: normal;
  }

  #about p span::after{
    height: 2px;
    bottom: -4px;
  }

}