body {
  margin: 0 auto 0 auto;
  font-family: "Noto Sans JP", sans-serif;
  color: #000000;
  background-color: #ffffff;
}

/* ヘッダー */
nav {
  margin: 0 auto 0 auto;
  display: flex;
  /* justify-content: center; */
  justify-content: space-between;
  align-items: flex-end;
  font-size: 34px;
  font-weight: bold;
  padding: 22px 0;
  max-width: 960px;
  text-align: center;
}

#myprof {
  border: 1px solid #000000;
  width: 200px;
  /* text-align: center; */
}

a { 
  text-decoration: none;
  color: #000000;
  /* font-weight: bold; */
}

#head-menu {
  display: flex;
  list-style: none;
  justify-content: center;
  margin: 0;
}

.menu-item {
  margin-left: 20px;
}

#main-img {
  width: 100%;
} 

h1 {
  font-size: 34px;
  text-align: center;
  margin: 90px auto 50px auto;
}

#about-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#about-img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
}

#about-prof {
  margin-top: 80px;
  margin-left: 150px;
}

#about-name {
  font-size: 24px;
  font-weight: bold;
  margin-block-start: 0;
  margin-block-end: 0.5em;
}

#works-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.works-div   {
  padding: 0 20px 0 20px;
  width: 210px;
}

.works-img {
  width: 230px;
  height: 170px; 
}

footer {
  font-size: 18px;
  text-align: center;
  margin: 90px auto 50px auto;
}

/* 横幅が767pxまでの場合 */
@media (max-width: 767px) {
  .works-div {
      width: 100%;
      text-align: center;
      padding-bottom: 40px;
  }
}
