@charset "UTF-8";

.img-zoomable {
  position: relative;
  width: 100%;
}

.img-zoomable img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.img-zoomable__hint {
  display: none;
}

@media screen and (max-width: 768px) {
  .img-zoomable {
    cursor: zoom-in;
  }

  .img-zoomable__hint {
    display: block;
    margin-top: 8px;
    color: #6b7280;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: right;
  }
}

.img-zoom-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 16px 24px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background-color: rgba(0, 0, 0, 0.88);
  box-sizing: border-box;
}

.img-zoom-overlay.is-open {
  display: flex;
}

.img-zoom-overlay__close {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 10001;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.95);
  color: #1a1d24;
  cursor: pointer;
}

.img-zoom-overlay__body {
  width: max-content;
  min-width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  background-color: #fff;
  padding: 16px;
  box-sizing: border-box;
}

.img-zoom-overlay__img {
  display: block;
  width: 220vw;
  max-width: none;
  height: auto;
  margin: 0 auto;
  background-color: #fff;
}

body.is-img-zoom-open {
  overflow: hidden;
}
