.maid_profile_page {
  width: min(1080px, calc(100% - 32px));
  margin: 40px auto 96px;
  padding: 32px;
  border: 1px solid rgba(74, 63, 46, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92) 0%, rgba(255, 251, 244, 0.86) 36%, rgba(245, 234, 219, 0.92) 100%);
  box-shadow:
    0 24px 60px rgba(62, 47, 28, 0.12),
    0 2px 0 rgba(255, 255, 255, 0.7) inset;
  color: #2a221a;
}

.maid_profile_page h1,
.maid_profile_page h2,
.maid_profile_page p {
  margin: 0;
}

.maid_profile_hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 8px 4px 28px;
  border-bottom: 1px solid rgba(74, 63, 46, 0.12);
}

.maid_profile_kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #8b5e34;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.maid_profile_kicker::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.maid_profile_hero h1 {
  color: #1f1812;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: 0.03em;
}

.maid_profile_summary {
  margin-top: 14px;
  max-width: 56ch;
  color: #5b5146;
  font-size: 1rem;
  line-height: 1.95;
}

.maid_profile_hero_image {
  width: clamp(128px, 18vw, 220px);
  aspect-ratio: 1;
  padding: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 239, 226, 0.92));
  box-shadow:
    0 18px 30px rgba(62, 47, 28, 0.15),
    0 0 0 1px rgba(132, 107, 76, 0.15) inset;
}

.maid_profile_hero_image img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.maid_profile_detail {
  padding: 28px 0 8px;
}

.maid_profile_detail h2,
.maid_profile_list_section h2 {
  margin-bottom: 18px;
  color: #201913;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: 0.03em;
}

.maid_profile_detail_list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.maid_profile_detail_list > div {
  padding: 18px 20px;
  border: 1px solid rgba(74, 63, 46, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(62, 47, 28, 0.06);
}

.maid_profile_detail_list dt {
  margin-bottom: 8px;
  color: #8b5e34;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.maid_profile_detail_list dd {
  margin: 0;
  color: #2f271f;
  font-size: 0.98rem;
  line-height: 1.8;
}

.maid_profile_list_section {
  padding-top: 20px;
}

.maid_profile_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.maid_profile_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 100%;
  padding: 20px 18px 18px;
  border: 1px solid rgba(74, 63, 46, 0.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(251, 245, 236, 0.96) 100%);
  box-shadow: 0 10px 22px rgba(62, 47, 28, 0.08);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.maid_profile_card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 94, 52, 0.26);
  box-shadow: 0 16px 30px rgba(62, 47, 28, 0.12);
}

.maid_profile_card.is-active {
  border-color: rgba(139, 94, 52, 0.36);
  box-shadow:
    0 16px 30px rgba(62, 47, 28, 0.12),
    0 0 0 2px rgba(139, 94, 52, 0.08) inset;
}

.maid_profile_card_image {
  width: 96px;
  aspect-ratio: 1;
  padding: 6px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 236, 223, 0.92));
  box-shadow:
    0 12px 20px rgba(62, 47, 28, 0.14),
    0 0 0 1px rgba(132, 107, 76, 0.12) inset;
}

.maid_profile_card_image img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.maid_profile_card_name {
  color: #1f1812;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.maid_profile_card_role {
  color: #8b5e34;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.maid_profile_card_summary {
  display: block;
  color: #5b5146;
  font-size: 0.92rem;
  line-height: 1.8;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .maid_profile_page {
    width: min(100%, calc(100% - 18px));
    margin: 16px auto 64px;
    padding: 18px 16px 22px;
    border-radius: 22px;
  }

  .maid_profile_hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
    padding-bottom: 20px;
  }

  .maid_profile_summary {
    margin-left: auto;
    margin-right: auto;
  }

  .maid_profile_detail_list {
    grid-template-columns: 1fr;
  }

  .maid_profile_grid {
    grid-template-columns: 1fr;
  }

  .maid_profile_card {
    align-items: stretch;
  }

  .maid_profile_card_image {
    margin-left: auto;
    margin-right: auto;
  }
}


/* ここからリスト分 */
.maid_profile_page {
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.92) 0%, rgba(254, 248, 240, 0.88) 38%, rgba(241, 230, 215, 0.95) 100%);
}

.maid_profile_hero {
  padding-bottom: 22px;
}

.maid_profile_list_section {
  padding-top: 24px;
}

.maid_profile_grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
