.section-branch-staff {
    margin: 80px 0;
}

.l-page-branch .section-branch-staff-inner {
    margin-inline: auto;
}

/* =======================
   スライダー全体
======================= */
.branch-staff-slider-wrap {
    position: relative;
    overflow: visible;
    max-width: 1184px;
    width: 100%;
    padding: 0 60px 78px;
    margin: 0 auto;
}

.l-page-branch .branch-staff-slider {
    overflow: hidden;
    padding: 2px;
    box-sizing: border-box;
}

/* =======================
   スライド
======================= */
.branch-staff-slide {
    padding: 20px 30px;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.25);
    background: #FAF4E9;
    border-radius: 12px;
}

.branch-staff-slide img {
    object-fit: cover;
    object-position: top;
}

.branch-staff-slide a{
    display: block;
}

.branch-staff-slide a p {
    color: #111;
    font-size: 16px;
}

.branch-staff-slide a p.branch-staff-name {
    text-align: center;
    font-weight: 600;
    font-size: 22px;
    margin: 10px 0 0;
}

/* =======================
   ページネーション
======================= */
.branch-staff-slider-wrap .staff-swiper-pagination {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
}

.branch-staff-slider-wrap .staff-swiper-pagination .swiper-pagination-bullet {
    margin: 0 4px;
}

.branch-staff-slider-wrap .staff-swiper-pagination .swiper-pagination-bullet-active {
    background: #333;
}


/* =======================
   左右ボタン（共通）
======================= */
.branch-staff-slider-wrap .staff-swiper-button-prev,
.branch-staff-slider-wrap .staff-swiper-button-next {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.branch-staff-slider-wrap .staff-swiper-button-prev:hover,
.branch-staff-slider-wrap .staff-swiper-button-next:hover {
    background-color: #FDFCF8;
}

/* デフォルト矢印消す */
.branch-staff-slider-wrap .staff-swiper-button-prev::after,
.branch-staff-slider-wrap .staff-swiper-button-next::after {
    content: '';
    background-image: url(../assets/images/common/ico_swiper_arrow.svg);
    background-size: 20px auto;
    background-position: center;
    width: 100%;
    height: 100%;
    margin: 0;
}

.branch-staff-slider-wrap .staff-swiper-button-prev::after {
    transform: scaleX(-1);
}

/* ← */
.branch-staff-slider-wrap .staff-swiper-button-prev::before {
    font-size: 18px;
    color: #333;
}

/* → */
.branch-staff-slider-wrap .staff-swiper-button-next::before {
    font-size: 18px;
    color: #333;
}

/* 位置 */
.branch-staff-slider-wrap .staff-swiper-button-prev {
    left: 0;
}

.branch-staff-slider-wrap .staff-swiper-button-next {
    right: 0;
}

/* =======================
   SP
======================= */
@media (max-width: 767px) {

    .branch-staff-slide a p {
        font-size: 14px;
    }

    .branch-staff-slide a p.branch-staff-name {
        font-size: 16px;
    }

    .branch-staff-slider-wrap .staff-swiper-button-prev {
        left: 7px;
    }

    .branch-staff-slider-wrap .staff-swiper-button-next {
        right: 7px;
    }

    .section-branch-staff-btn-wrapper {
        padding-inline: 15px;
    }

    .branch-staff-slide {
        padding: 20px;
    }

    .section-branch-staff {
        margin: 36px 0;
    }

}