.SmileGalleryC {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--PMGR_32px);
  padding: var(--PMGR_32px) 0;
}
.SGP1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--PMGR_16px);
}
.SGP1T {
  color: var(--color_blue);
  font-size: var(--font_20px);
}
.SGP1P {
  font-size: var(--font_20px);
}

.SGP2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--PMGR_32px);
  flex-wrap: wrap;
}

/* CSS */
.SGP2Box {
  position: relative;
  width: 25vw;
  height: 25vw;
  border-radius: var(--PMGR_16px);
  overflow: hidden;
  user-select: none;
}

.sg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.SGP2BoxBefore {
  z-index: 1;
}
.SGP2BoxAfter {
  z-index: 2;
}

.SGP2BoxAfter,
.SGP2BoxBefore {
  position: absolute;
  inset: 0;
  transition: clip-path 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.SGP2BBT,
.SGP2BAT {
  position: absolute;
  bottom: 6%;
  color: var(--color_white);
  font-style: italic !important;
  border-radius: 8px;
  font-size: var(--font_20px);
  z-index: 6;
  pointer-events: auto;
}
.SGP2BBT {
  left: 6%;
}
.SGP2BAT {
  right: 6%;
}

.SGp2BLEffect {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: 10vw;
  border: none;
  background: transparent;
  cursor: ew-resize;
  z-index: 5;
  padding: 0;
}
.SGp2BLEffect img {
  width: 10vw;
  height: 25vw;
}

.SGP2Box.dragging .SGP2BoxAfter {
  transition: none;
}

.SGP2Box {
  touch-action: pan-y;
  -ms-touch-action: pan-y;
}

.SGP2BoxAfter {
  will-change: clip-path;
}

.SGp2BLEffect {
  will-change: left;
  touch-action: pan-y;
  -ms-touch-action: pan-y;
}

.SGP2BoxBefore,
.SGP2BoxAfter {
  pointer-events: auto;
}

@media (max-width: 768px) {
  .SGP2Box {
    width: 80vw;
    height: 80vw;
  }
  .SGp2BLEffect {
    width: 30vw;
  }
  .SGp2BLEffect img {
    width: 30vw;
    height: 80vw;
  }
}
