.modal .btn,.modal .btn_a{
    position: absolute;
    display: block;
    cursor: pointer;
}

.modal .btnClose{
    position: absolute;
    display: block;
    cursor: pointer;
    width: 30px;
    height: 30px;
    top: 0px;
    right: 0px;
    background-image: url("../assets/img/btn_close.png");
    background-size: 30px 30px;
}
.modal .btnClose:hover{
    background-image: url("../assets/img/btn_close_hover.png");
    background-size: 30px 30px;
}

#shelfBase.modal{
    width: 100%;
    height: 100%;
}
#shelfBase.modal .shelf {
    position: relative;
    /**/
    /*width: 100%;*/
    height: 100%;
}
#shelfBase.modal .shelf .opening{
    position: absolute;
    display: none;
    opacity: 0;
    top: 50%;
    left: 50%;
    width: 130px;
    height: 172px;
}
#shelfBase.modal .shelf .opening img{
    width: 130px;
    height: 172px;
    margin: -86px 0 0 -65px;
}
#shelfBase.modal .shelf .mousehover{
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    z-index: 13;
}
#shelfBase.modal .shelf .mousehover.active{
    display: block;
}
#shelfBase.modal .shelf .mousehover.deactive{
    display: none;
}
#shelfBase.modal .shelf .mousehover img{
    width: 100px;
    margin: 0 0 0 -50px;
}
#shelfBase.modal .shelf .loadBase{
    width: 100%;
    height: 100%;
}
#shelfBase.modal .shelf .loadBase .load{
    width: 100%;
    height: 100%;
}
#shelfBase.modal .shelf .loadBase .load .img{
    width: 100%;
    height: 100%;
}
#shelfBase.modal .shelf .loadBase .load .img img{
    width:auto;
    height:auto;
    max-width:100%;
    max-height:100%;
}
#shelfBase.modal .shelf .btn,
#shelfBase.modal .shelf .btn_a{
    width: 35%;
    height: 15%;
    color: #FFFFFF;
    font-size: 14px;
    text-align: center;

    /* for debug */
    /*background-color: rgba(255, 255, 255, 0.3);*/
    z-index: 12;
}
#shelfBase.modal .shelf .btn:hover,
#shelfBase.modal .shelf .btn_a:hover{
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.3);
}

#stageBase.modal{
    opacity: 0;
}

#stageBase.modal .stage {
    position: relative;
    padding: 14px;
    background-color: #423a32;
}

#stageBase.modal .stage .loadBase{
    width: 800px;
}

#stageBase.modal .stage .load{
    position: relative;
    background: #423a32;
    margin: 0;
    padding: 0;
    border: none;
    text-align: center;
}
#stageBase.modal .stage .load .bottom{
    position: relative;
    display: inline-block;
}
#stageBase.modal .stage .btn{
    width: 20px;
    height: 20px;
    background-image: url("../assets/img/btn_product.png");
    background-size: 20px 20px;
    margin-left: -9px;
    margin-top: -9px;
}
#stageBase.modal .stage .btn:hover{
    background-image: url("../assets/img/btn_product_hover.png");
    background-size: 20px 20px;
}
#stageBase.modal .stage .btnMovie{
    position: absolute;
    cursor: pointer;
    width: 20px;
    height: 20px;
    background-image: url("../assets/img/btn_movie_play.png");
    background-size: 20px 20px;
    margin-left: -9px;
    margin-top: -9px;
}
#stageBase.modal .stage .btnMovie:hover{
    background-image: url("../assets/img/btn_movie_play_hover.png");
    background-size: 20px 20px;
}
#stageBase.modal .stage .btnClose{
    z-index: 29;
}
#stageBase.modal .stage .img{
    max-width: 800px;
}
#stageBase.modal .stage .img img{
    width: 800px;
    min-height: 180px;
}
#stageBase.modal .stage .promotion .img img,
#stageBase.modal .stage .promotion .upper{
    width: 740px;
}
#stageBase.modal .stage .img.accessories {
    width: auto;
    text-align: center;
}
#stageBase.modal .stage .img.accessories img {
    width: auto;
    margin: 0 auto;
    max-height: 700px;
}
#stageBase.modal .stage .upper {
    background: #fff;
    display: flex;
}
#stageBase.modal .stage .upper .category {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    line-height: 1em;
    letter-spacing: 0.03em;
    min-height: 40px;
    padding: 4px 20px 0 20px;
    font-family: "ArnoPro-Boldon";
    font-size: 18px;
    text-align: center;
    color: #fff;
    background-color: #d0c6a7;
}
#stageBase.modal .stage .upper .category.deact{
    display: none;
}

#stageBase.modal .stage .upper .category.m{
    font-size: 16px;
}
#stageBase.modal .stage .upper .category.s,
#stageBase.modal .stage .upper .category.ss{
    font-size: 14px;
}
#stageBase.modal .stage .upper .description{
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    font-size: 12px;
    line-height: 1.4em;
    min-height: 40px;
    color: #474747;
    padding: 3px 20px 0 20px;
}
#stageBase.modal .stage .upper .description.deact{
    display: none;
}
#stageBase.modal .stage .img{
    line-height: 0;
}

#videoBase.modal .video {
    position: relative;
    padding: 14px;
}

#videoBase.modal .video .loadBase{
    padding: 40px;
    background-color: #FFFFFF;
}




/*sp用*/
@media only screen and (max-width: 999px) {
    .modal .btnClose{
        width: 20px;
        height: 20px;
        background-image: url("../assets/img/btn_close.png");
        background-size: 20px 20px;
    }
    .modal .btnClose:hover{
        background-image: url("../assets/img/btn_close_hover.png");
        background-size: 20px 20px;
    }
    #shelfBase.modal .shelf{
        /*width: 100%;*/
    }
    #shelfBase.modal .shelf .img{
        width: 100%;
    }
    #shelfBase.modal .shelf .img img{
        width: 100%;
    }
    #shelfBase.modal .shelf .btn{
        width: 35%;
        height: 16%;
    }
    #shelfBase.modal .shelf .opening{
        width: 65px;
        height: 82px;
    }
    #shelfBase.modal .shelf .opening img{
        /*width: 130px;
        height: 172px;*/
        width: 65px;
        height: 82px;
        margin: -41px 0 0 -32px;
    }
    #shelfBase.modal .shelf .mousehover{
        visibility: hidden;
    }

    #stageBase.modal .stage{
        padding: 1.7%;
    }
    #stageBase.modal .stage .loadBase{
        width: auto;
    }
    #stageBase.modal .stage .btn{
        width: 14px;
        height: 14px;
        background-image: url("../assets/img/btn_product.png");
        background-size: 14px 14px;
        margin-left: -7px;
        margin-top: -7px;
    }
    #stageBase.modal .stage .btn:hover{
        background-image: url("../assets/img/btn_product_hover.png");
        background-size: 14px 14px;
    }
    #stageBase.modal .stage .btnMovie{
        width: 14px;
        height: 14px;
        background-image: url("../assets/img/btn_movie_play.png");
        background-size: 14px 14px;
        margin-left: -7px;
        margin-top: -7px;
    }
    #stageBase.modal .stage .btnMovie:hover{
        background-image: url("../assets/img/btn_movie_play_hover.png");
        background-size: 14px 14px;
    }
    #stageBase.modal .stage .img{
        width: 100%;
        pointer-events: none;
    }
    #stageBase.modal .stage .img img{
        width: 100%;
        min-height: 90px;
        pointer-events: none;
    }
    
    #stageBase.modal .stage .promotion .img img,
    #stageBase.modal .stage .promotion .upper{
        width: 100%;
    }
    #stageBase.modal .stage .img.accessories img {
        width: auto;
        height: 120vw;
    }
    #stageBase.modal .stage .upper {
        display: flex;
    }
    #stageBase.modal .stage .upper.handcream {
        width: 81.8666vw;
    }
    #stageBase.modal .stage .upper.facepolisher {
        width: 50.5333vw;
        display: block;
    }
    #stageBase.modal .stage .upper .category {
        min-width: 92px;
        font-size: 14px;
        height: auto;
        padding: 3px 0;
    }
    #stageBase.modal .stage .upper .category.m{
        font-size: 12px;
    }
    #stageBase.modal .stage .upper .category.s {
        font-size: 10px;
    }
    #stageBase.modal .stage .upper .category.ss {
        min-width: 118px;
        font-size: 10px;
    }
    #stageBase.modal .stage .upper .description{
        font-size: 11px;
        line-height: 1.5em;
        color: #474747;
        height: auto;
        padding: 3px 14px 3px 10px;
    }
    #stageBase.modal .stage .upper .description.s{
        font-size: 10px;
    }
    #videoBase.modal .video {
        padding: 0;
        padding-top:56.25%;
        width:100% ;
    }
    #videoBase.modal .video .btnClose{
        z-index: 42;
    }
    #videoBase.modal .video .loadBase{
        z-index: 41;
        padding: 0px;
        background-color: #000;
    }
    #videoBase.modal .video iframe {
        position:absolute;
        top:0;
        right:0;
        width: 96%;
        padding: 2%;
        /*height: 100%;*/
        background-color: #FFFFFF;
    }
    #shelfBase.modal .shelf .btn_a:hover{
        background: none;
    }
}

@media screen and (max-width: 320px) {
    #stageBase.modal .stage .img img{
        min-height: 76px;
    }
}

/*pc用*/
@media screen and (min-width: 1000px), print {

}