.instagram .sbi #sbi_images {
  margin-bottom: 1.5em;
}
.instagram .sbi_load_btn {
  font-size: 1em !important;
  font-weight: bold;
  padding: 1em 1.25em !important;
}
@media (max-width: 768px) {
  .instagram .sbi_load_btn {
    width: 100%;
    max-width: 250px;
  }
}
.instagram .sbi_follow_btn {
  margin-left: 1.25em !important;
}
@media (max-width: 768px) {
  .instagram .sbi_follow_btn {
    margin-left: 0 !important;
    width: 100%;
    max-width: 250px;
  }
}
.instagram .sbi_follow_btn a {
  font-size: 1em !important;
  font-weight: bold;
  padding: 1em 1.25em !important;
}
@media (max-width: 768px) {
  .instagram .sbi_follow_btn a {
    width: 100%;
    padding: 1em 0.5em !important;
  }
}
.instagram .sbi_follow_btn a svg {
  width: 1.25em !important;
  height: 1.25em !important;
}

/* gallery (photo) */
.gallery__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 0 2em;
  padding: 0;
  list-style: none;
}
@media (max-width: 1024px) {
  .gallery__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .gallery__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}
.gallery__item {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 8px;
  background: #f2f2f2;
}
.gallery__item.is-hidden {
  display: none;
}
.gallery__item-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}
.gallery__item-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.gallery__item-btn:hover img {
  transform: scale(1.05);
}
.gallery__btn {
  margin: 0 auto 2em;
}
.gallery__btn span {
  cursor: pointer;
}

/* gallery modal */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.gallery-modal.is-open {
  display: flex;
}
.gallery-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}
.gallery-modal__content {
  position: relative;
  width: 92vw;
  max-width: 1100px;
  z-index: 2;
}
@media (max-width: 768px) {
  .gallery-modal__content {
    width: calc(100% - 3em);
    max-width: none;
  }
}
.gallery-modal__splide {
  overflow: visible;
}
.gallery-modal__splide .splide__track {
  overflow: hidden;
}
.gallery-modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease;
}
.gallery-modal__close:hover {
  background: rgba(0, 0, 0, 0.8);
}
.gallery-modal__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 2px;
  background: #fff;
}
.gallery-modal__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}
.gallery-modal__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}
@media (max-width: 768px) {
  .gallery-modal__close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }
  .gallery-modal__close span {
    width: 20px;
  }
}
.gallery-modal__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80vh;
  cursor: pointer;
}
.gallery-modal__slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  cursor: default;
}
@media (max-width: 768px) {
  .gallery-modal__slide {
    height: 65vh;
  }
}
.gallery-modal .splide__slide.is-next {
  transform: translateX(1px);
}
.gallery-modal .splide__slide.is-prev {
  transform: translateX(-1px);
}
.gallery-modal .splide__arrow {
  background: rgba(255, 255, 255, 0.85);
  width: 3em;
  height: 3em;
  opacity: 1;
}
.gallery-modal .splide__arrow svg {
  fill: #E63946;
}
.gallery-modal .splide__arrow:hover:not(:disabled) {
  background: #fff;
}
@media (max-width: 768px) {
  .gallery-modal .splide__arrow {
    width: 2.2em;
    height: 2.2em;
  }
}
.gallery-modal .splide__arrow--prev {
  left: -1.5em;
}
@media (max-width: 768px) {
  .gallery-modal .splide__arrow--prev {
    left: -1.1em;
  }
}
.gallery-modal .splide__arrow--next {
  right: -1.5em;
}
@media (max-width: 768px) {
  .gallery-modal .splide__arrow--next {
    right: -1.1em;
  }
}
.gallery-modal .splide__pagination {
  bottom: -1.8em;
}
.gallery-modal .splide__pagination__page {
  background: rgba(255, 255, 255, 0.5);
}
.gallery-modal .splide__pagination__page.is-active {
  background: #fff;
}

.blog__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  margin-bottom: 2.5em;
}
@media (max-width: 768px) {
  .blog__list {
    grid-template-columns: repeat(1, 1fr);
    gap: 1em;
  }
}
.blog__btn {
  margin: 0 auto;
}
.blog__btn a::after {
  content: "";
  display: block;
  width: 0.75em;
  height: 0.75em;
  background: url(../img/common/icons/arrow-white.svg) no-repeat center center/cover;
}
.blog__btn a:hover::after {
  background: url(../img/common/icons/arrow-red.svg) no-repeat center center/cover;
}

.movie__btn {
  margin: 0 auto;
}