.atf-slider-wrapper {
    overflow: hidden;
    user-select: none;
}

.atf-slider {
    display: -ms-flexbox;
    display: flex;
}

.atf-slider-elem {
    width: 100%;
    height: auto;
    flex: 0 0 100%;
    display: block;
    text-align: center;
    cursor: pointer;
}

.atf-slider-img {
    width: 100%;
    height: auto;
    user-select: none;
}

.atf-slider-navi-slider,
.atf-slider-navi {
    margin: 8px 0 0 0;
    padding: 0;
}

.atf-slider-navi {
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    cursor: pointer;
}

.atf-slider-navi.rised {
    position: absolute;
    bottom: 1em;
}

.atf-slider-navi .nav-item.icon {
    width: 48px;
    height: 48px;
    margin-right: 6px;
    margin-bottom: 0px;
    margin-left: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.35;
}

.atf-slider-navi .nav-item.icon::before {
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    content: '';
    border-radius: 1rem;
}

.atf-slider-navi .nav-item.icon.active {
    opacity: 1;
}

.atf-slider-navi li.active>.nav-boxer,
.atf-slider-navi-slider .atf-slider-elem.active {
    position: relative;
}

.atf-slider-navi li.active>.nav-boxer:before,
.atf-slider-navi-slider .atf-slider-elem.active:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 2px var(--primary), inset 0 -2px var(--primary);
    pointer-events: none;
}

.atf-slider-navi .nav-boxer.auto {
    aspect-ratio: unset;
}

.atf-slider-navi .nav-item.thumb {
    height: auto;
    margin: auto auto;
}

.atf-slider-navi .nav-boxer {
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
}

.atf-slider-navi-slider .atf-slider-elem {
    padding: 0 7px;
}

.atf-slider-wrapper .atf-slider-arrow-navi {
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    font-size: 2.5rem;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.7);
    width: 52px;
    height: 52px;
    padding: 5px 0;
    text-align: center;
}

.atf-slider-wrapper .atf-slider-navi-next {
    right: 0;
}

.atf-slider-wrapper .atf-slider-navi-prev {
    left: 0;
}

.atf-slider figure {
    position: relative;
    margin: 0;
}

.atf-slider figcaption {
    position: absolute;
    bottom: 0;
    color: white;
    padding: 10px 15px;
    background-color: var(--primary);
    font-size: 15px;
    font-weight: 200;
}

.atf-slider-navi.hidden {
    display: none;
}