*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  font-family: "BIZ UDPGothic", sans-serif;
  background-color: white;
  color: #23231e;
}

.content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 20px;
}

.card {
  border: 1px solid #cccccc;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  max-width: 584px;
  width: 100%;
  padding: 40px 48px;
  border-radius: 24px;
  aspect-ratio: 1.618 / 1;
}

.name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.5;
  white-space: pre-wrap;
}

.name-jp {
  font-size: 24px;
  letter-spacing: 1.2px;
  width: 100%;
  margin: 0;
}

.name-en {
  font-size: 12px;
  width: 100%;
  margin: 0;
}

.description {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.affiliation p,
.email p {
  line-height: 1.5;
  font-size: 12px;
  letter-spacing: 0.6px;
  margin: 0;
}

@media (max-width: 600px) {
  .card {
    padding: 20px 24px;
    max-width: 95%;
  }
  .name-jp {
    font-size: 20px;
  }
  .name-en,
  .affiliation p,
  .email p {
    font-size: 10px;
  }
}
