/* html,body{width: 100%;height: 100%;} */
.width_49{width: 49%;}
.width_50{width: 50%;}
.width_25{width: 25%;}
.mrgin_end{margin: 0.5%;}
.random{width: 100%;margin: 0 auto;font-size: 0;max-width: 1250px;margin: 0 auto;margin-bottom: 130px;min-height: 100vh;}
.random_opacity{opacity: 0;}
.random_item{display: inline-block;position: relative;overflow: hidden;}
.random_item img{width: 100%;height: auto;}
.width_32{width: 32.333%;}
.width_33{width: 33.333%;}
.width_100{width: 100%;}
.width_100 img{min-height: auto !important;}
.width_100s{width: 100%;}
.random_item div{
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
    background-color: rgba(153, 153, 153, 0.5);
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

}

.random_item div a{
    width: 100%;
    height: 19px;
    color: #fff;
    font-size: 12px;
    display: block;
    text-align: center;
    margin-bottom: 20px;
}
.random_item>div>p>a:last-child{
    margin-bottom: 0px;
}
.random_item div a:hover{
    color: #fff;
}

.random_item:hover div{
    opacity: 1;
}

.random_title{
    font-size: 21px;
    /* border-bottom: 1px solid #8c8260; */
    padding-bottom: 30px;
    margin: 0 auto 60px;
    text-align: center;
    padding-top: 2em;
    
}
.random_title p{
    color: #4d4d4d;
    font-weight: 400;
}
.random_title span{
    font-size: 17px;
    display: block;
    margin-top: 15px;
    font-weight: normal;
    color: #565656;
}

.random_opacity img{
    opacity: 0;
    transition: .3s;
}

.show_loading{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 34px;
    height: 34px;
    animation: loading 1s linear 0s infinite;
    border-radius: 50%;
    background: linear-gradient(to right, #8c8260 , #8c8260 , rgba(140,130,96,0.2));
    
}

.show_loading::after{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
}

.recommend_box{
    padding: 0 120px;
    margin-top: 130px;
}
.recommend_title{
    width: 100%;
    height: auto;
    text-align: center;
}
.recommend_title img{
    height: 27px;
    padding-bottom: initial;
    display: table;
    margin: 0 auto;
    opacity: 1;
}
.recommend_cont{
    display: flex;
    flex-wrap: wrap;
    max-width: 860px;
    margin: 0 auto;
    justify-content: center;
    margin-top: 40px;
}
.recommend_item{
    width: 20%;
    padding: 1%;
    box-sizing: border-box;
}
.recommend_item a{
    width: 100%;
    position: relative;
    display: block;
    margin-bottom: 10px;
}
.recommend_item a:hover{
    opacity: 0.7;
}
.recommend_item img{
    width: 100%;
    height: auto;
    opacity: 0;
    transition: .5s;
}
.recommend_item span{
    text-align: center;
    font-size: 14px;
    color: #999;
    line-height: 20px;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.random_popUp{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10;
    display: none;
    justify-content: center;
    align-items: center;
}
.random_popUp_cont{
    height: 859px;
    max-height: 680px;
    display: block;
    padding: 10px;
    border: 2px solid #CCCCCC;
    background: #eef2f7;
    width: 100%;
    box-sizing: border-box;
    border-radius: 6px;
    position: relative;
    max-width: 427px;
}
.random_popUp_cont .random_popUp_img {
    max-height: 480px;
    max-width: 480px;
    position: relative;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.random_popUp_cont .random_popUp_img img{
    max-height: 480px;
    max-width: 480px;
    opacity: 0;
    width: 70%;
}
.random_popUp_text_box{
    width: 100%;
}
.random_popUp_text span{
    font-weight: bold;
    margin-bottom: 4px;
    font-size: 10px;
    text-align: center;
    color: #999;
    width: 100%;
    display: block;
}
.close{position: absolute;bottom: 10px;left: 15px;font-size: 14px;cursor: pointer;}
.random_popUp_but{
    display: block;
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
    margin-top: 0px;
    background: #af9d5f;
    padding: 1px 0;
    text-decoration: none;
    -webkit-transition: background 0.4s;
    transition: background 0.4s;
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
    font-size: 12px;
}

.pc{display: flex !important;}

.mode{display: none !important;}

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

    .pc{display: none !important;}

    .mode{display: flex !important;}

    .random_title{
        margin-top: 3.75rem;
        margin-bottom: 0;
        padding: 0;
        text-align: center;
        font-weight: 400;
        /*text-shadow: .125rem .125rem .0625rem rgb(0 0 0 / 10%);*/
        overflow: hidden;
        line-height: 1.4;
        padding: 0;
        border: 0;
    }
    .random_title p{
        color: #4d4d4d;
        font-size: 1.125rem;
    }
    .random_title span{
        font-size: .9375rem;
        display: block;
        margin: 0 auto;
        margin-top: .625rem;
        margin-bottom: 1.375rem;
        font-weight: normal;
        color: #565656;
        /*text-transform: uppercase;*/
        word-break: break-all;
        width: 83%;
        
    }
    .wrapper .swiper-slide{
        width: 100%;
    }
    .wrapper .swiper-slide img{
        width: 100%;
    }
    .mySwiper{
        width: 100%;
        height: 100%;
    }
    .random{
        min-height: auto;
        margin-bottom: 0;
    }
    .random .swiper-slide{
        padding: 0 10px;
        box-sizing: border-box;
        height: auto;
    }
    .wrapper .swiper-slide {
        text-align: center;
        font-size: 1.125rem;
        background: #fff;
        
        /* min-height:  !important; */
    }
    .wrapper .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .random_item div a {
        width: 100%;
        height: 20px;
        color: #fff;
        font-size: .75rem;
        display: block;
        text-align: center;
    }
    .wrapper .swiper-slide div{
        width: calc(100% - 1rem);
        left: 50%;
        transform: translateX(-50%);
        display: none;
    }
    .random_item div{
        display: none;
        opacity: 1;
    }
    .random_item:hover div{

    }

    .mySwiper .swiper-button-next{
        right:1.25rem;
    }
    .mySwiper .swiper-button-prev{
        left:1.25rem;
    }
    .swiper-button-next::after{
        color: #fff;
        font-size: 1.75rem !important;
        font-weight: normal;
    }
    .swiper-button-prev::after{
        color: #fff;
        font-size: 1.75rem !important;
        font-weight: normal;
    }
    .mySwiper  .swiper-pagination{
        font-size: .9375rem;
        color: #fff;
        top: 20px;
        left: 34px;
        z-index: 3;
        bottom: 0;
        height: min-content;
        width: auto;
    }
    .recommend_box{padding: 0;margin-top: 4.375rem ;}
    .recommend_title{font-size: 1.5rem;padding-bottom: .9375rem;}
    .recommend_item{width: 50%;}
    .recommend_box.mode{display: block;}
    .recommend_cont{margin-top: 20px;justify-content: flex-start;}

}

@keyframes  loading{
    
    from{
        transform: translate(-50%,-50%) rotate(0deg);
    }

    to{
        transform: translate(-50%,-50%) rotate(360deg);
    }

}
