.maids-page {
  position: relative;
  margin: 19.8rem 0 0
}

.maids-masthead__title {
  margin: 0 0 3rem;
  font-size: 4.8rem;
  color: #D0E2E6;
  font-family: 'Righteous', sans-serif;
  text-align: center
}

.maids-masthead__lead {
  margin: 0 auto 4.3rem;
  font-size: 1.8rem;
  color: #fff;
  text-align: center
}

.sp-only {
  display: none
}

.maids-list {
  margin: 0 0 12.3rem
}

.maids-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 60px;
  margin: 0;
  padding: 0;
  list-style: none
}

.maids-grid__item {
  margin: 0
}

.maids-card {
  position: relative;
  overflow: hidden
}

.maids-card__link {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer
}

.maids-card__media {
  position: relative;
  margin: 0 0 1.2rem
}

.maids-card__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px
}

.maids-card__body {
  color: #fff;
  text-align: center
}

.maids-card__name {
  margin: 0 0 .8rem;
  font-size: 1.8rem;
  color: #D0E2E6
}

.maids-card__shop {
  margin: 0;
  font-size: 1.4rem;
  color: #fff
}

.maids-empty {
  margin: 2rem 0 6rem;
  color: #D0E2E6;
  text-align: center;
  font-size: 1.6rem
}

.maids-more {
  position: relative;
  margin: 36px 0 48px
}

.maids-more__box {
  width: 920px;
  height: 280px;
  margin: 0 auto;
  box-sizing: border-box;
  background: #fff;
  border-radius: 28px;
  display: grid;
  place-content: center;
  place-items: center;
  gap: 12px;
  text-align: center
}

.maids-more__text {
  margin: 0;
  font-family: "LINE Seed JP", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  font-weight: 900;
  font-size: 4rem;
  line-height: 1.2;
  letter-spacing: .01em;
  color: #FF5BA7
}

.maids-more__icons {
  line-height: 0
}

.maids-more__icons img {
  display: inline-block;
  height: 40px;
  width: auto
}

.maidm {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 16px
}

.maidm[hidden] {
  display: none !important
}

.maidm__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 16, 54, .6);
  z-index: 0
}

.maidm__panel {
  position: relative;
  display: grid;
  grid-template-columns: 350px 1fr;
  grid-template-areas: "left right";
  column-gap: 40px;
  width: clamp(960px, 86vw, 1160px);
  max-height: min(692px, calc(100vh - 32px));
  margin: 0;
  padding: 60px 60px 55px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  overflow: auto;
  z-index: 1
}

.maidm__left {
  grid-area: left;
  display: grid;
  grid-auto-rows: max-content;
  row-gap: 30px;
  align-content: start;
  min-width: 0
}

.maidm__right {
  grid-area: right;
  display: flex;
  flex-direction: column;
  min-width: 0
}

.maidm__close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 18px;
  font-weight: 700;
  color: #1D2087;
  cursor: pointer
}

.maidm__gallery {
  position: relative;
  width: 350px;
  margin: 0 auto
}

.maidm-swiper {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding-bottom: 0 !important
}

.maidm__slide {
  width: 100%;
  height: 445px;
  overflow: hidden
}

.maidm__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 8px;
  background: #B8D6F3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .15);
  z-index: 10;
  cursor: pointer
}

.swiper-button-prev {
  left: -20px
}

.swiper-button-next {
  right: -20px
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #2A3A61
}

.swiper-button-prev::after {
  transform: rotate(90deg)
}

.swiper-button-next::after {
  transform: rotate(-90deg)
}

.maidm-swiper .swiper-pagination {
  display: none !important
}

.maidm__cta {
  display: block !important;
  text-align: center;
  margin: 0
}

.maidm__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  height: 64px;
  margin: 0 auto;
  border-radius: 9999px;
  background: #E75297;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px
}

.maidm__note {
  margin: 10px 0 0;
  font-size: 1.3rem;
  color: #E75297
}

.maidm__head {
  padding: 6px 0 0;
  text-align: left;
  margin-bottom: 14px
}

.maidm__name {
  margin: 0 0 10px;
  font-size: 28px;
  color: #E75297;
  font-weight: 800
}

.maidm__lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
  color: #4B5563;
  word-wrap: break-word
}

.maidm__tablewrap {
  align-self: auto
}

.maidm__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px
}

.maidm__table th,
.maidm__table td {
  padding: 14px 18px;
  border-top: 1px solid #D0E2E6;
  text-align: left
}

.maidm__table th,
.maidm__table td:last-of-type {
  border-bottom: 1px solid #D0E2E6
}

.maidm__table th {
  width: 38%;
  color: #1D2087;
  font-weight: 600
}

.maidm__panel,
.maidm__left,
.maidm__gallery,
.maidm-swiper {
  min-width: 0
}

.maidm-swiper {
  width: 100%
}

.maidm-swiper .swiper-slide {
  max-width: 100%
}

@media (max-width:1200px) {
  .maidm__panel {
    width: clamp(600px, 92vw, 1040px);
    column-gap: 28px;
    padding: 40px 36px 32px
  }

  .maidm__gallery {
    width: 320px
  }

  .maids-more__box {
    width: min(920px, calc(100% - 24px));
    height: 260px
  }
}

@media (max-width:1024px) {
  .maids-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 44px
  }
}

@media (max-width:769px) {
  .maids-masthead__title {
    font-size: 3rem
  }

  .maids-list {
    margin: 0 0 6.3rem
  }

  .maids-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 28px
  }

  .sp-only {
    display: inline
  }

  .maidm {
    padding: 12px
  }

  .maidm__panel {
    grid-template-columns: 1fr;
    grid-template-areas: "left""right";
    gap: 14px;
    width: clamp(500px, 94vw, 600px);
    max-height: 600px;
    padding: 50px 16px 16px;
    border-radius: 20px
  }

  .maidm__gallery {
    width: 100%
  }

  .maidm__slide {
    height: auto;
    aspect-ratio: 7 / 9
  }

  .maidm__slide img {
    height: 100%;
    border-radius: 16px
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none !important
  }

  .maidm__head {
    text-align: center
  }

  .maidm__cta {
    margin: 0 0 3rem
  }

  .maidm__btn {
    width: 100%;
    max-width: 280px;
    height: 56px
  }
  .maids-more__text{
    padding: 2rem 1.5rem;
    font-size: 2.4rem;
  }
}

@media (max-width:500px) {
  .maids-page {
    margin: 10.8rem 0 0
  }

  .maidm {
    padding: 8px
  }

  .maidm__panel {
    width: min(354px, calc(100vw - 16px));
    height: min(542px, calc(100vh - 16px));
    max-height: none;
    padding: 45px 0 12px;
    margin: 0;
    border-radius: 16px
  }

  .maidm__close {
    top: 8px;
    right: 10px
  }

  .maidm__name {
    font-size: 1.8rem
  }

  .maidm__lead {
    padding: 0 1.5rem;
    font-size: 1.3rem;
    line-height: 1.7
  }

  .maidm__tablewrap {
    flex: 1;
    min-height: 0;
    padding: 0 1.2rem 0
  }

  .maidm__table th,
  .maidm__table td {
    padding: 14px 0
  }

  .maidm__slide {
    aspect-ratio: 7 / 9;
    height: auto
  }

  .maidm__slide img {
    border-radius: 14px
  }

  .maids-more__box {
    height: 182px
  }

  .maids-more__text {
    margin: 0 0 1.7rem;
    font-size: 2.4rem
  }

  .maids-more__icons {
    margin: 0
  }

  .maids-more__icons img {
    height: 32px
  }

  .maidm__btn {
    max-width: 200px;
    height: 42px;
    font-size: 1.4rem
  }

  .maidm__table {
    font-size: 1.3rem
  }
  .maids-card__name {
    font-size: 1.6rem
  }

  .maids-card__shop {
    font-size: 1.2rem
  }
  .maids-more__text{
    margin: 0 1rem;
    padding: 0px .5rem;
    font-size: 1.8rem;
  }
}