@charset "utf-8";


.center {
  box-sizing: content-box;
  max-width: 56ch;
  margin: 0 auto;
}

.main {
  margin-top: 1em;
}

.title {
  background-image: url(../images/about/bg-title.jpg);
}

.title h1 {
  font-family: 'Ysabeau SC', sans-serif;
  font-size: 2.4rem;
  font-weight: bold;
  color: #fffcf9;
/*  display: flex;*/
  justify-content: center;
  text-align: center;
  padding: 30px;
}

.about-text h2 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #6d6d6d;
  padding-top: 3.5rem;
}

.about-text p {
  margin-top: 0.75rem;
  font-size: 10px;
}


.about-text h2::after {
  content: '';
  display: block;
  width: auto;
  height: 0.01rem;
  background-color: #9c9c9c;
}

.about-text a {
  font-weight: bold;
  text-decoration: underline;
}


@media (max-width: 600px) {
  .main{
	  margin-top: 0.5em;
	}
 
  .title {
    justify-content: center;
    align-items: center;
    line-height: 1.7;
	height: 8em;
  }

  .title h1 {
    font-size: 2.1rem;
	padding-top: 1.8em;
  }
    
  .about-text h2 {
    font-size: 0.9rem;
    margin-left: 4%;
    margin-right: 4%;
    padding-bottom: 2px;
  }
  
  .about-text p {
    font-size: 0.7rem;
    line-height: 2;
    margin-left: 4%;
    margin-right: 4%;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .center {
    max-width: 53ch;
  }
  
  .title h1 {
    height: 85px;
    font-size: 2rem;
    margin-top: 0.5rem;
  }
 
  .about-text h2 {
    font-size: 1rem;
    margin-top: 10px;
  }
  
  .about-text p {
    font-size: 0.7rem;
    line-height: 2.1;
    margin-bottom: 1.5rem;
  } 
}

@media (min-width: 1025px) {
  
  .about-text h2 {
    font-size: 1.125rem;
  }
  
  .about-text p {
    font-size: 0.775rem;
    line-height: 2.1;
    margin-bottom: 2.5rem;
  }

}