.lazyload,
.lazyloading {
	opacity: 0.5;
}

.lazyloaded {
	opacity: 1;
	transition: opacity 300ms;
}

.lazyload:not([src]) {
	visibility: hidden;
}

/* SP styles */

@media (max-width: 767px) {
  .gallery__cont {
    position: relative;
    min-height: 250px;
    white-space: nowrap;
  }

  .gallery__cont .tns-outer {
    position: relative;
  }

  .gallery__cont .tns-nav {
    position: absolute;
    z-index: 10;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, -50%);
    white-space: nowrap;
  }

  .gallery__cont .tns-nav>[aria-controls] {
    width: 9px;
    height: 9px;
    padding: 0;
    margin: 0 5px;
    border-radius: 50%;
    border: 0;
    background-color: white;
  }

  .gallery__cont .tns-nav>.tns-nav-active {
    background-color: oklch(66% .179 58.318);
  }

  .gallery__cont img,
  .gallery__cont .tns-item {
    height: 250px;
    object-fit: cover;
    width: 100%;
  }

  .gallery__btn {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 10;
    background-color: transparent;
    border: transparent;
    padding: 0;
    width: 50px;
    cursor: pointer;
  }

  .gallery__prev-btn {
    left: 0;
  }

  .gallery__next-btn {
    right: 0;
  }
}

/* PC styles */

@media (min-width: 768px) {

  .gallery__cont {
    position: relative;
    min-height: 350px;
  }

  .gallery__cont .tns-outer {
    position: relative;
  }

  .gallery__cont .tns-nav {
    position: absolute;
    z-index: 10;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, -50%);
    white-space: nowrap;
  }

  .gallery__cont .tns-nav>[aria-controls] {
    width: 9px;
    height: 9px;
    padding: 0;
    margin: 0 5px;
    border-radius: 50%;
    border: 0;
    background-color: white;
  }

  .gallery__cont .tns-nav>.tns-nav-active {
    background-color: oklch(66% .179 58.318);
  }

  .gallery__cont .tns-item {
    height: 350px;
    object-fit: cover;
  }

  .gallery__btn {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 10;
    background-color: transparent;
    border: transparent;
    padding: 0;
    width: 50px;
    cursor: pointer;
  }

  .gallery__prev-btn {
    left: 0;
  }

  .gallery__next-btn {
    right: 0;
  }
}
