@charset "UTF-8";

/*
商品詳細：商品画像
*/

#productSection .soldout{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-align:  center;
    -ms-flex-align:  center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content:  center;
    justify-content:  center;
    color: #ffffff;
    font-weight: 400;
    font-size: 24px;
    background: rgba(0,0,0, .6);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
}

#productSection .variationName{
    display: block;
    margin-top: 5px;
    font-size: 1.4rem;
    line-height: 1;
    text-align: center;
}



/**** thumbs ***************/
#productSection .thumsListBox{
    display: -webkit-box;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    width: 100%;
    padding: 0 16px;
}


#productSection .thumsListBox dl.thumsList {
    display: block;
    width: 100%;
    margin: 0;
}
#productSection .thumsListBox dl.thumsList dt{
    display: none;
    font-size: 1.2rem;
}

#productSection .thumsListBox dl.thumsList > dd{display: block;}
#productSection .thumsListBox dl.thumsList > dd > ul{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    -webkit-align-items: stretch;
    align-items: stretch;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    padding-top: 5px;
}

#productSection .thumsListBox dl.thumsList > dd > ul > li{
    display: block;
    width: calc((100% - 40px) / 5);
    margin-right: 10px;
    border: 1px solid #e5e5e5;
    cursor: pointer;
}
#productSection .thumsListBox dl.thumsList > dd > ul > li.current{border: 1px solid #666666;}

#productSection .thumsListBox dl.thumsList > dd > ul > li:nth-of-type(5n){margin-right: 0;}
#productSection .thumsListBox dl.thumsList > dd > ul > li:nth-of-type(n + 6){margin-top: 10px;}


#productSection .thumsListBox dl.thumsList > dd > ul > li a{display: block; width: 100%; height: auto;}
#productSection .thumsListBox dl.thumsList > dd > ul > li img{display: block; width: 100%; height: auto;}





/*
PC
*/
@media only screen and (min-device-width: 780px) {

    #productSection .thumsListBox {
        padding: 0 0;
    }
}


