html {
  --image-margin-top: 120px;
  background-color: #e9f1e9;
  color: #4a4a4a;
  font-family: sans-serif;
}
body {
  margin: 0;
}
.profile-container {
  max-width: 800px;
  margin: var(--image-margin-top) auto 20px;
  display: flex;
  gap: 1rem;
}
.profile-image {
  --l: 60px;
}
.profile-image img {
  width: calc(100% + var(--l) * 2);
  margin: calc(var(--image-margin-top) * -1) calc(var(--l) * -1) 0;
}
.profile-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.9);
  padding: 2em;
}
.name {
  font-size: 2.5rem;
  margin: 0;
  color: #4a4a4a;
}
.name ruby rt {
  font-size: 0.5em;
  font-weight: normal;
  color: #757575;
}
.description {
  margin: 0.5em 0;
}
.description p {
  margin: 0.5em 0;
}
.table-info {
  margin-right: 2em;
  display: grid;
  text-align: center;
  grid-template-columns: repeat(3, 1fr);
}
.basic-info,
.appearance {
  margin-bottom: 2rem;
}
.info-item {
  margin: 0.5rem 0;
}
.media-box {
  padding: 10px 0;
}
.expression-box {
  display: flex;
  padding: 20px 0;
}
.expression-box .expression-item {
  width: 120px;
  height: 120px;
  margin-right: 6px;
  background: #e9f1e9;
}
.sketch-box {
  display: flex;
  flex-wrap: wrap;
  padding: 20px 0;
}
.sketch-box .sketch-item {
  margin: 0 6px 6px 0;
  aspect-ratio: 4 / 3;
  width: calc(100% / 6 - 6px);
}
@media (max-width: 860px) {
  .sketch-box .sketch-item {
    width: calc(100% / 4 - 6px);
  }
}
@media (max-width: 640px) {
  .sketch-box .sketch-item {
    width: calc(100% / 3 - 6px);
  }
}
@media (max-width: 480px) {
  .sketch-box .sketch-item {
    width: calc(100% / 2 - 6px);
  }
}
.label {
  font-weight: bold;
  margin-right: 1rem;
  color: #757575;
}
.characteristics h2,
.background h2 {
  font-size: 1.2rem;
  color: #e57373;
  border-bottom: 2px solid #e57373;
  padding-bottom: 0.5rem;
  margin: 2rem 0 1rem;
}
.characteristics ul {
  list-style: none;
  padding: 0;
}
.characteristics li {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.characteristics li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #e57373;
}
.background p {
  line-height: 1.6;
  margin: 1rem 0;
}
@media (max-width: 768px) {
  .profile-container {
    flex-direction: column;
    padding: 1rem;
    margin: 1rem;
  }
  .profile-image {
    flex: 0 0 auto;
  }
  .profile-image img {
    margin-top: 0;
    margin-bottom: -560px;
  }
}
