body {
  display: flex;
  justify-content: center;  /* 横方向中央 */
  align-items: center;      /* 縦方向中央 */
  /* height: 100vh;            画面全体の高さ */
  /* margin: 0; */
  flex-direction: column;   /*縦並び
  /* text-align: center;      テキストも中央に */
  font-family: 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 50px; 
  background-color: #fff;
  color: #6a1b9a; /* 乃木坂っぽい紫 */
}

.container {
  display: flex;
  justify-content: center;
}
.body-index {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  width: 100%;
}

.member-detail {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  max-width: 800px;
  width: 100%;
}

.member-info {
  flex: 1;
}

.member-name {
  font-size: 2.5em;
  margin: 0;
  font-weight: bold;
}

.member-yomi {
  font-size: 1.2em;
  color: #b388ff;
  margin: 8px 0 40px 0;
}

.member-table {
  font-size: 1.1em;
  border-collapse: collapse;
}

.member-table th {
  text-align: left;
  padding: 6px 20px 6px 0;
  white-space: nowrap;
}

.member-table td {
  padding: 6px 0;
}

.member-image img {
  max-width: 300px;
  /* max-width: 80%; */
  height: auto;
  border-radius: 10px;
}
.color-box {
    width: 30px;
    height: 30px;
    background-color: red;
    margin: 10px;
    display: inline-block;
    border: 1px solid #000;
}
@media (max-width: 768px) {
  .member-detail {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

  #backButton {
    margin-top: 20px;
    padding: 10px 16px;
    font-size: 10px;
    border: none;
    background-color: #eee;
    cursor: pointer;
    border-radius: 10px;
  }
  #backButton:hover {
    background-color: #ccc;
  }

  .yomigana {
  font-size: 0.6em;
  color: #666;
  margin-left: 5px;
}
  a {
    text-decoration: none;
  }
 .index-body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* height: 100vh; */
  margin: 0;
}

#memberList td {
  text-align: left;
}
