
.room-type {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin: 2em 0;
}
.room-type li {
  display: inline-block;
  background-color: rgba(96, 171, 183, .8);
  text-align: center;
  color: white;
  line-height: 2em;
  padding: .25em 0;
}
.floormap-box {
  background-color: white;
  padding: 2.5em 1em;
  border-top-left-radius: 2.5em;
  border-bottom-right-radius: 2.5em;
}
.floormap-box .button01 {
  margin-top: 2.5em;
}
.room-info__note {
  color: var(--color-gray);
  margin-bottom: var(--space-md);
}
.room-layout picture {
  display: block;
  margin: 0 auto 1.5em auto;
}
.room-layout p {
  text-align: center;
  font-size: var(--font-size-sp14); 
}
.amenities__images {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  column-gap: 0;
  margin-bottom: 3.25em;
}
.room-type__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2.5em;
  row-gap: 1.75em;
}
.room-type__links picture {
  margin-bottom: 1em;
  display: block;
}
.room-type__links .active picture {
  opacity: .5;
}
.room-type__links .room-type__links__ttl {
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.6em;
  font-weight: 500;
}
.swiper-container.slide {
  margin: var(--space-md) 0;
  padding-bottom: calc(var(--space-md) + .5em);
}
.swiper-button_in .swiper-container.room-gallery {
  margin-top: 4em;
}
@media screen and (max-width: 767px) {
  .swiper-container.slide,.amenities__images {
    width: 100vw;
    transform: translateX(-1em);
  }
  .swiper-container.slide .swiper-slide {
    width: 100%;
    height: 20rem;
    position: relative;
  }
  .swiper-container.slide .swiper-slide img {
    max-width: auto !important;
    height: 100% !important;
    object-fit: cover;
  }
  table.detail-table .toggle__pointer {
    display: block;
  }
  table.detail-table tr:has(.room-info__capa) {
    position: relative;
  }
  table.detail-table td .room-info__capa {
    position: absolute;
    top: 1em;
    right: 0;
  }
  table.detail-table td:has(.room-info__capa) {
    padding: 0;
  }
}
@media screen and (min-width: 768px) {
  .room-type {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
    margin: 2.5em 0;
  }
  .room-type li {
    width: 28.8rem;
  }
  .floormap-box {
    max-width: 106.3rem;
    padding: 5em 6.5em;
    margin: auto;
  }
  .room-layout {
    width: 62.4rem;
    margin: 5em auto 0 auto;
  }
  .amenities__images {
    column-gap: 4.5em;
    margin-bottom: 5em;
  }
  .room-type__links {
    column-gap: 6.5em;
    row-gap: 5em;
  }
  .room-type__links picture {
    margin-bottom: 2.5em;
  }
  .room-type__links .room-type__links__ttl {
    font-size: 1.5em;
  }
  .swiper-button_in .swiper-container.room-gallery {
    margin-top: 7.5em;
  }
  table.detail-table td .room-info__list-lay2 {
    display: flex;
    column-gap: 2em;
  }
}
