@media screen and (max-width: 768px) {
  .wrap {
    padding: 0 calc(60 / 750 * 100vw);
  }
}

.heading--01 {
  color: #464646;
}

@media print, screen and (min-width: 768px) {
  .heading--01 {
    font-size: 24px;
  }
}

@media screen and (max-width: 768px) {
  .heading--01 {
    font-size: 20px;
  }
}

.heading--01 .en {
  font-family: "Cinzel", serif;
  line-height: 1;
}

.roomspaceGallery {
  border-top: solid 1px rgba(102, 102, 102, 0.3);
  position: relative;
}

@media print, screen and (min-width: 768px) {
  .roomspaceGallery {
    margin-top: 110px;
    padding-bottom: 100px;
    padding-top: 110px;
  }
}

@media screen and (max-width: 768px) {
  .roomspaceGallery {
    margin-top: 60px;
    padding-bottom: 60px;
    padding-top: 60px;
  }
}

@media print, screen and (min-width: 768px) {
  .roomspaceGallery__main {
    margin-top: 32px;
  }
}

@media screen and (max-width: 768px) {
  .roomspaceGallery__main {
    margin-left: calc(-60 / 750 * 100vw);
    margin-right: calc(-60 / 750 * 100vw);
    margin-top: 56px;
    width: 100vw;
  }
}

.roomspaceGallery__photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
}

.roomspaceGallery__image {
  display: block;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

.roomspaceGallery__head {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: rgba(0, 0, 0, 0.8);
  bottom: 0;
  color: #ffffff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-family: "Cinzel", serif;
  letter-spacing: .04em;
  line-height: 1;
  position: absolute;
  right: 0;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

@media print, screen and (min-width: 768px) {
  .roomspaceGallery__head {
    font-size: 16px;
    padding: 0 30px;
    height: 38px;
  }
}

@media screen and (max-width: 768px) {
  .roomspaceGallery__head {
    font-size: 10px;
    height: 22px;
    padding: 0 8px;
  }
}

.roomspaceGallery__controller {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  position: relative;
  z-index: 2;
}

@media print, screen and (min-width: 768px) {
  .roomspaceGallery__controller {
    gap: 24px;
    margin-top: 20px;
  }
}

@media screen and (max-width: 768px) {
  .roomspaceGallery__controller {
    gap: 12px;
    position: absolute;
    right: calc(-60 / 750 * 100vw + 16px);
    top: 93px;
  }
}

.roomspaceGallery__btn {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #907e5e;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

@media print, screen and (min-width: 768px) {
  .roomspaceGallery__btn {
    height: 48px;
    width: 48px;
  }
}

@media screen and (max-width: 768px) {
  .roomspaceGallery__btn {
    height: 32px;
    width: 32px;
  }
}

.roomspaceGallery__btn--next .arrowSVG {
  -webkit-transform: scale(-1, 1);
          transform: scale(-1, 1);
}

.roomspaceGallery__thumbList {
  display: grid;
}

@media print, screen and (min-width: 768px) {
  .roomspaceGallery__thumbList {
    gap: 12px;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 20px;
  }
}

@media screen and (max-width: 768px) {
  .roomspaceGallery__thumbList {
    gap: 6px;
    grid-template-columns: repeat(3, 1fr);
    margin-left: calc(-60 / 750 * 100vw);
    margin-right: calc(-60 / 750 * 100vw);
    margin-top: 16px;
    width: 100vw;
  }
}

.roomspaceGallery__thumbItem {
  cursor: pointer;
}

.roomspaceGallery__thumbPhoto {
  aspect-ratio: 1 / 1;
  background: #000000;
  overflow: hidden;
  position: relative;
}

.roomspaceGallery__thumbImage {
  display: block;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: .3;
  -webkit-transition: opacity .3s;
  transition: opacity .3s;
  width: 100%;
}

.roomspaceGallery__thumbCap {
  color: #ffffff;
  font-family: "Cinzel", serif;
  left: 50%;
  letter-spacing: .04em;
  line-height: 1.3;
  padding: 0 4px;
  position: absolute;
  text-align: center;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  white-space: nowrap;
}

@media print, screen and (min-width: 768px) {
  .roomspaceGallery__thumbCap {
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  .roomspaceGallery__thumbCap {
    font-size: 11.5px;
  }
}

.roomspaceGallery__thumbItem:hover .roomspaceGallery__thumbImage,
.roomspaceGallery__thumbItem.is-active .roomspaceGallery__thumbImage {
  opacity: 1;
}
