@media screen and (min-width: 960px) {
    @keyframes imagesCale {
        0% {
            transform: scale(1);
        }

        100% {
            transform: scale(1.1);
        }
    }

    .custom-brand-swiper-mb {
        display: none;
    }

    .custom-brand-swiper__title {
        text-align: center;
        margin: 30px 0;
    }

    .custom-brand-swiper {
        margin: 50px auto;
    }

    .custom-brand-swiper-box {
        max-width: 1440px;
        width: 80%;
        margin: 0 auto;
        overflow: hidden;
        position: relative;
    }

    .custom-brand-swiper-content {
        display: flex;
        position: relative;
        left: 0px;
        /* transform: translateX(-75px) */
    }

    .custom-brand-swiper-item {
        /* height: 512px; */
        /* width: 300px; */
        width: 20%;
        margin-right: 1%;
        background-color: gray;
        flex-shrink: 0;
        border-radius: 20px;
        overflow: hidden;
        position: relative;
    }

    .image-animation {
        animation: imagesCale 3s infinite;
    }

    .custom-brand-swiper-item-img {
        width: 100%;
        height: 100%;
    }

    .custom-brand-swiper-item-text {
        position: absolute;
        bottom: 4%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .custom-brand-swiper-item-text-name {
        font-size: 16px;
        font-weight: 700;
        margin: 0;
    }

    .custom-brand-swiper-item-text-button {
        border-radius: 20px;
        text-align: center;
        line-height: 40px;
        text-decoration: underline;
        font-size: 13px;
        /* margin-bottom: 20px; */
        margin: 0;
        padding: 0 15px;
        margin-top: 4%;
    }

    .theme-name-true {
        color: white;
    }

    .theme-name-false {
        color: black;
    }

    .theme-button-true {
        color: white;
        border: 1px solid white;
    }

    .theme-button-false {
        color: black;
        border: 1px solid black;
    }

    .swiper-left-buttom {
        position: absolute;
        top: 50%;
        left: 35px;
        font-size: 20px;
        width: 42px;
        height: 42px;
        text-align: center;
        line-height: 42px;
        border: 1px solid rgba(160, 157, 157, 1);
        background: white;
        border-radius: 50%;
        transform: translate(0, -50%);
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
        cursor: pointer;
    }

    .swiper-right-buttom {
        position: absolute;
        top: 50%;
        right: 35px;
        font-size: 20px;
        width: 42px;
        height: 42px;
        text-align: center;
        line-height: 42px;
        border: 1px solid rgba(226, 222, 222, 1);
        background: white;
        border-radius: 50%;
        transform: translate(0, -50%);
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
        cursor: pointer;
    }
}

@media screen and (max-width: 959px) {
    @keyframes imagesCale {
        0% {
            transform: scale(1);
        }

        100% {
            transform: scale(1.1);
        }
    }

    .custom-brand-swiper-pc {
        display: none;
    }

    .custom-brand-swiper__title {
        text-align: center;
        margin: 30px 0;
        font-size: 24px;
    }

    .custom-brand-swiper {
        margin: 30px auto;
    }

    .custom-brand-swiper-box {
        max-width: 100%;
        margin: 0 auto;
        overflow: hidden;
        position: relative;
    }

    .custom-brand-swiper-content {
        display: flex;
        position: relative;
        left: 0px;
        /* transform: translateX(-75px) */
    }

    .custom-brand-swiper-item {
        /* height: 512px; */
        width: 60%;
        margin-right: 1%;
        background-color: gray;
        flex-shrink: 0;
        border-radius: 20px;
        overflow: hidden;
        position: relative;
        flex-shrink: 0;
    }

    .image-animation {
        animation: imagesCale 3s infinite;
    }

    .custom-brand-swiper-item-img {
        width: 100%;
        height: 100%;
    }

    .custom-brand-swiper-item-text {
        position: absolute;
        bottom: 3%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .custom-brand-swiper-item-text-name {
        font-size: 16px;
        font-weight: 700;
        margin: 0;
    }

    .custom-brand-swiper-item-text-button {
        border-radius: 20px;
        text-align: center;
        line-height: 30px;
        text-decoration: underline;
        font-size: 13px;
        margin: 0;
        padding: 0 15px;
        margin-top: 2%;
    }

    .theme-name-true {
        color: white;
    }

    .theme-name-false {
        color: black;
    }

    .theme-button-true {
        color: white;
        border: 1px solid white;
    }

    .theme-button-false {
        color: black;
        border: 1px solid black;
    }

    .swiper-left-buttom {
        position: absolute;
        top: 50%;
        font-size: 20px;
        width: 42px;
        height: 42px;
        text-align: center;
        line-height: 42px;
        border: 1px solid rgba(160, 157, 157, 1);
        background: white;
        border-radius: 50%;
        transform: translate(0, -50%);
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
        cursor: pointer;
    }

    .swiper-right-buttom {
        position: absolute;
        top: 50%;
        right: 0px;
        font-size: 20px;
        width: 42px;
        height: 42px;
        text-align: center;
        line-height: 42px;
        border: 1px solid rgba(226, 222, 222, 1);
        background: white;
        border-radius: 50%;
        transform: translate(0, -50%);
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
        cursor: pointer;
    }
}

.custom-brand-swiper-item-empty {
    background-color: gray;
}

.custom-brand-swiper a {
    width: 100%;
    height: 100%;
    display: block;
}