* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 48px 16px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  font-family: "Helvetica Neue", Arial, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  color: #3f3a3d;
  background: #fbf6f8;
}

.card {
  position: relative;
  width: 100%;
  max-width: 820px;
  padding: 72px 64px 48px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #f3e4ea;
  box-shadow: 0 10px 30px rgba(120, 40, 80, 0.06);
  text-align: center;
  overflow: hidden;
}

/* Soft pink banner behind the photo */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 170px;
  background: linear-gradient(135deg, #fde4ee 0%, #f8c8dc 100%);
}

.lang-switch {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  display: flex;
  padding: 3px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
}

.lang-switch a,
.lang-switch span {
  padding: 5px 12px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
}

.lang-switch a {
  color: #a3245e;
}

.lang-switch a:hover {
  background: #fdf0f5;
}

.lang-switch .active {
  color: #ffffff;
  background: #d14d86;
}

.photo {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #ffffff;
  box-shadow: 0 6px 20px rgba(120, 40, 80, 0.15);
}

h1 {
  margin: 24px 0 6px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #2e2a2c;
}

.subtitle {
  margin: 0 0 40px;
  font-size: 16px;
  color: #c0567f;
}

.info {
  margin: 0;
  text-align: left;
}

.row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #f4e8ed;
}

.row:last-child {
  border-bottom: none;
}

dt {
  line-height: 1.6;
  font-weight: 600;
  color: #8a7480;
}

dd {
  margin: 0;
  line-height: 1.6;
}

.tags {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags li {
  padding: 3px 12px;
  font-size: 14px;
  color: #a3245e;
  background: #fdf0f5;
  border-radius: 6px;
}

@media (max-width: 600px) {
  .card {
    padding: 64px 24px 32px;
  }

  .card::before {
    height: 140px;
  }

  .photo {
    width: 160px;
    height: 160px;
  }

  h1 {
    font-size: 26px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.email {
  color: #c0567f;
  text-decoration: none;
  border-bottom: 1px solid #f3c6d8;
}

.email:hover {
  color: #a3245e;
  border-bottom-color: #a3245e;
}
