*:focus {
    outline: none;
}

.modal__overlay {
    align-items: center;
    background: rgba(0, 0, 0, .3);
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100;
}

.modal--member .modal__container {
    max-width: 700px;
}

.modal__container {
    width: 100%;
    position: relative;
}


.modal__content {
    width: 100%;
    overflow-y: auto;
    background-color: rgba(242, 242, 242, 0.96);
    max-height: 80vh;
    padding-top: 20px;
    padding-bottom: 95px;
    position: relative;
}

.modal__content::before {}

.modal__content::-webkit-scrollbar {
    display: none;
}



.modal__close {
    margin-right: 20px;
    width: 48px;
    margin-left: auto;
    line-height: 1;
    cursor: pointer;
    transition: opacity 0.6s;
    margin-bottom: 33px;
}

.modal__close:hover {
    opacity: 0.8;
}



.swiper--member .swiper-slide .swiper__fade {
    opacity: 0;
    transition: opacity 0.3s !important;
}

.swiper--member .swiper-slide-active .swiper__fade {
    opacity: 1;
}



.modal__inner1 {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 39px;
}

.modal__thum {
    position: relative;
    margin-bottom: 30px;
}



.modal__thum-title {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    position: absolute;
    z-index: 5;
    top: -32px;
    right: 17px;
    height: 100%;
}

.modal__thum-title span {
    display: inline-block;
    background-color: #00ff82;
    font-size: 21px;
    font-family: "FP-ヒラギノ明朝 ProN W3";
    letter-spacing: 0.1em;
    padding: 8px 5.75px;
    text-align: center;
    white-space: nowrap;
}

.modal__thum-title span object {
    display: inline-block;
    transform: rotate(-90deg);
    position: relative;
}

.modal__thum-title span:not(:last-child) {
    margin-left: 10px;
}

.modal__position {
    font-size: 14px;
    margin-bottom: 14px;
    letter-spacing: 0.04em;
}

.modal__name {
    letter-spacing: 0.2em;
    font-size: 26px;
    margin-bottom: 25px;
    font-family: "FP-ヒラギノ明朝 ProN W3";
}

.modal__txt {
    font-family: "FP-ヒラギノ明朝 ProN W3";
    font-size: 14px;
    letter-spacing: 0.11em;
    line-height: 2.1;
    font-feature-settings: "palt";
    text-align: justify;
}

.swiper--member .swiper__ui {
    width: 100%;
    padding-top: 400px;
    position: fixed;
    z-index: 4;
    left: 0;
    top: 118px;
    pointer-events: none;
}

.swiper--member .swiper-button-prev,
.swiper--member .swiper-button-next {
    height: 30px;
    width: 10px;
    pointer-events: all;
}

.swiper--member .swiper-button-prev {
    left: 30px;
}

.swiper--member .swiper-button-next {
    right: 30px;
}

/* 前へ次への矢印カスタマイズ */
.swiper--member .swiper-button-prev::after,
.swiper--member .swiper-button-next::after {
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    height: 100%;
    margin: auto;
    width: 100%;
}

/* 前への矢印カスタマイズ */
.swiper--member .swiper-button-prev::after {
    background-image: url(https://ccsw.jp/commons/images/ccsw/modal_arrow_l.svg);
}

/* 次への矢印カスタマイズ */
.swiper--member .swiper-button-next::after {
    background-image: url(https://ccsw.jp/commons/images/ccsw/modal_arrow_r.svg);
}



@media screen and (max-width:768px) {

    .modal__inner1 {
        width: 83.3%;
    }

    .modal__content {
        height: 100svh;
    }

    .modal__overlay {
        align-items: flex-start;
        background-color: rgba(242, 242, 242, 0.96);
    }

    .swiper--member .swiper__ui {
        top: 149px;
    }

    .modal__thum-title span {
        font-size: 18px;
        padding: 8px 4.5px;
    }

    .modal__thum-title {
        right: 10px;
    }

    .modal__thum-title span:not(:last-child) {
        margin-left: 8px;
    }

    .modal__position {
        font-size: 12px;
        line-height: 1;
        margin-bottom: 13px;
    }

    .modal__thum {
        margin-bottom: 20px;
    }

    .modal__close {
        margin-bottom: 64px;
    }
}

@media screen and (max-width:600px) {
    .swiper--member .swiper__ui {
        padding-top: 118vw;
        pointer-events: none;
    }

    .swiper--member .swiper-button-prev {
        left: 13px;
        pointer-events: all;
    }

    .swiper--member .swiper-button-next {
        right: 13px;
        pointer-events: all;
    }

    .swiper--member .swiper-button-prev,
    .swiper--member .swiper-button-next {
        height: 30px;
        width: 30px;
    }

    .swiper--member .swiper-button-prev::after,
    .swiper--member .swiper-button-next::after {
        width: 10px;
        height: 30px;
    }

    .swiper--member .swiper-button-prev::after {
        margin-left: 0;
    }

    .swiper--member .swiper-button-next::after {
        margin-right: 0;
    }
}

@media screen and (max-width: 500px) {
    .modal__overlay {
        background-color: rgba(242, 242, 242, 0.96);
    }

    .modal__content {
        background-color: transparent;
    }
}


@keyframes mmfadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes mmfadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes mmslideIn {
    from {
        transform: translateY(15%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes mmslideOut {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-10%);
    }
}

.modal {
    display: none;
}

.modal.is-open {
    position: relative;
    z-index: 400;
    display: block;
}

.modal[aria-hidden="false"] .modal__overlay {
    animation: mmfadeIn .3s cubic-bezier(.0, .0, .2, 1);
}

.modal[aria-hidden="false"] .modal__container {
    animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.modal[aria-hidden="true"] .modal__overlay {
    animation: mmfadeOut .3s cubic-bezier(.0, .0, .2, 1);
}

.modal[aria-hidden="true"] .modal__container {
    animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.modal .modal__container,
.modal .modal__overlay {
    will-change: transform;
}



@media screen and (max-width: 768px) {}