/* main */
.main_content {
  text-align: center;
  margin-bottom: 3rem;
}

.top_img {
  background-image: url("../img/top.jpg");
  width: 100%;
  background-size: cover;
  min-height: 500px;
  display: grid;
  place-items: center;
}

h1 {
  font-family: "Zen Kurenaido", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 3rem;
}

.top_text {
  margin: 1rem 1rem 0 1rem ;
  font-size: 1rem;
}

.works, .about {
  margin-top: 3rem;
  margin-left: 1rem;
  margin-right: 1rem;
}

.thumbnail {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.gallery, .cafe, .portfolio, .rock-paper-scissors, .omikuji, .to_do {
  display: flex;
  align-items: center;
}

.pc {
  max-width: 300px;
}

.tablet {
  max-width: 200px;
}

.phone {
  max-width: 100px;
}

.about_contents {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.about_contents img {
  max-width: 200px;
  border: solid;
  border-width: thin;
  border-radius: 50%;
}

@media(max-width: 786px) {
  h1 {
    font-size: 2.5rem;
  }
  .about_contents img {
    max-width: 150px;
  }
}

@media(max-width: 576px) {
  .about_contents {
    flex-direction: column;
    font-size: 0.8rem;
  }
  .about_contents a {
    margin-top: 1rem;
  }

}

