.modal-gallery {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-view {
    width: 100%;
}

.gallery-media {
    position: relative;
    width: 100%;
}

.gallery-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
}

.gallery-image-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--move-anim-time) ease;
    pointer-events: none;
}

/* 左右ボタン */
.gallery-button-wrapper {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.gallery-button-wrapper.prev {
    left: var(--space2);
}

.gallery-button-wrapper.next {
    right: var(--space2);
}

.gallery-button {
    width: var(--space4);
    height: var(--space4);
    color: var(--content-color);
    font-size: var(--space3);
}

/* インジケーター */
.gallery-indicators {
    margin-top: var(--space3);
    display: flex;
    justify-content: center;
    gap: var(--space3);
}

.indicator {
    width: var(--space3);
    height: var(--space3);
    background: var(--content-color);
    border-radius: 50%;
    transition: background-color var(--move-anim-time) ease;
}

.indicator.active {
    background: var(--accent-color);
}