@charset "utf-8";
/*--------------------------------------------
  goodsList.css
  商品一覧画面用CSS
--------------------------------------------*/

/*---------------------------------------------
    goodsList 商品一覧(全体)
  ---------------------------------------------*/
.goodsList .matrix-header,
.goodsList .matrix-footer {
    font-size: 0.9em;
    margin: 10px auto;
    color: #666;
}
/* celarfix - matrix-header */
.goodsList .matrix-header:before,
.goodsList .matrix-header:after,
.goodsList .matrix-footer:before,
.goodsList .matrix-footer:after {
    content:"";
    display:table;
}
.goodsList .matrix-header:after,
.goodsList .matrix-footer:after {
    clear:both;
}
.goodsList .matrix-header {
    zoom:1;
}
.goodsList .resultsPagingResultsShow {
    float: right;
    margin: 2px 0;
}
.goodsList .resultsPagingResultsShow span{
    display: inline-block;
    padding-right: 4px;
}
.goodsList .resultsShowMaxLine{
	display: none;
    /* float: left;
    margin-top: 0; */

}

@media screen and (max-width: 641px){
    /* SP表示しない場合 */
    #goodsListArea .priceSearch,
    #goodsListArea .sortSetArea #displayTypeGroup #displayTypeLabel_labelId{
        display:none;
    }

    /* SP表示する場合 */
    #goodsListArea .sortSetArea,
    #goodsListArea .priceSearch {
        background-color:#fff;
        padding:0 10px;
    }
    #goodsListArea .sortSetArea a,
    #goodsListArea .priceSearch a {
        padding: 5px 6px;
        display: block;
    }

    div.imageResultsShowMaxLine {
        display: none;
    }

    fieldset#priceSearchGroupField legend {
        display: block;
        padding: 3px 5px;
        margin-bottom: 8px;
    }
}

/*---------------------------------------------
    goodsSort 商品一覧(ソート)
  ---------------------------------------------*/
.goodsSort.sortArea {
    font-size: 0.8em;
    margin-bottom: 20px;
}
.goodsSort.sortArea .sortAreaLeft .sortTypeLabel_itemLabel,
.goodsSort.sortArea .sortAreaLeft a,
.goodsSort.sortArea .sortAreaRight .displayTypeLabel_itemLabel,
.goodsSort.sortArea .sortAreaRight a {
    display:inline-block;
    vertical-align:top;
}
.goodsSort.sortArea .sortAreaLeft .sortTypeLabel_itemLabel,
.goodsSort.sortArea .sortAreaRight .displayTypeLabel_itemLabel {
    width:auto;
    margin:0 5px 0 0;
}
.goodsSort.sortArea a.btn_0 {
    border-radius:0;
    padding:2px 5px;
    background-color:#e0e0e0;
    border:none;
    color:#333;
}
.goodsSort.sortArea a.check {
    background-color:#27a25d;
    color:#fff;
}
.goodsSort.sortArea a:hover {
    opacity:0.75;
}

.goodsSort .sortTypeItems {
    width: auto;
}

.goodsSort.sortArea .sortGroup {
    display: inline-block;
    margin-right: 30px;
}
.goodsSort.sortArea .displayTypeGroup {
    display: none;
}

.goodsSort a[class*="btn_"] {
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding-bottom: 3px;
}
.goodsSort a[class*="btn_"]:hover {
    background: #fff;
    color: #333;
    border: 1px solid #ec8125;
}

/* ソートエリア */
#sortGroup a,
#displayTypeGroup a {
    padding: 3px;
    margin-right: 5px;
}
#sortGroup a + a,
#displayTypeGroup a + a {
    border-left:1px solid #575746;
}
#sortGroup .itemWrap,
#displayTypeGroup .itemWrap {
    display: inline-block;
}
@media screen and (max-width: 641px) {

    .goodsSort.sortArea {
        padding: 0 10px;
    }

    .goodsSort.sortArea .sortAreaRight {
        border-left:none;
        padding-left:0;
    }
    #sortGroup,
    #displayTypeGroup {
        display:block;
        float:none;
        margin:0;
        padding:0;
        clear: both;
        width:100%;
        border:0;
    }
    #sortGroup a {
        display: table-cell;
        text-align: center;
        text-decoration:none;
        border: 1px solid #9B9191;
        margin:0 5px 3px 0;
        padding: 5px 7px;
        float: left;
    }
    #displayTypeGroup a {
        display: table-cell;
        text-align: center;
        text-decoration:none;
        border: 1px solid #9B9191;
        margin:0 5px 3px 0;
        padding: 5px 7px;
        float: left;
    }
    #sortGroup a + a,
    #displayTypeGroup a + a {
        border-left:none;
    }
    #sortGroup:after,
    #displayTypeGroup:after {
        content:" ";
    }
    #sortGroup label,
    #displayTypeGroup label {
        display: block;
        padding: 3px 5px;
        clear: both;
    }
    #sortTypeLabelItemWrap,
    #displayTypeLabelItemWrap{
        vertical-align: top;
    }
}

ul.pagination>li {
    font-size: 1.2em;
}



/*---------------------------------------------
    goodsItem 商品一覧(商品行)
  ---------------------------------------------*/
.goodsList .results .matrix-body {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.goodsList .goodsItem {
    width:24%;
    display:inline-block;
    vertical-align:top;
    padding-bottom: 20px;
    font-size: 0.9em;
    margin-right: calc(4%/3);
}
@media screen and (max-width: 641px) {
    .goodsList .results .matrix-body {
        justify-content: space-between;
    }

    .goodsList .goodsItem {
        margin-right: 0;
    }
}

.goodsList .goodsItem .goodsImgItemWrap img {
    width: 100%;
    border: 1px solid #ddd;
}

.goodsList .goodsItem .goodsNameItemWrap {
    flex-basis: 100%;
    order: 1;
}
.goodsList .goodsItem .goodsName {
    display: block;
}
.goodsList .goodsItem .addCount {
    width: auto;
    padding: 4px;
}
.goodsList .goodsItem .add_subbtn.plusButton,
.goodsList .goodsItem .add_subbtn.minusButton {
    width: 20px;
    padding: 2px;
}
.goodsList .goodsItem .addCart {
    display: block;
    background-color: #EC8125;
    color: #fff;
    padding: 3px 0;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    margin: 5px auto;
}


.goodsList .goodsItem .addFavoriteLinkItemWrap .items {
    text-align: right;
}
.goodsList .goodsItem .addFavoriteLink {
    position: relative;
    display: inline-block;
    color: #333;
    padding: 3px 0;
}
.goodsList .goodsItem .addFavoriteLink::after {
    position: absolute;
    width: 30px;
    height: auto;
    font-size: 22px;
    top: 3px;
    left: -34px;
    content: "\f004";
    color: #cc0000;
    font-family: "Font Awesome 5 Free";
    line-height: 1;
}

@media screen and (max-width: 641px) {
    .goodsList .goodsItem .addFavoriteLink {
        width: 30px;
        height: 30px;
        overflow: hidden;
        font-size: 0;
    }
    .goodsList .goodsItem .addFavoriteLink::after {
        left: -3px;
    }
}





.goodsList .goodsItem .goodsInfo {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 5px 0 0 5px;
}

.goodsList .goodsItem .goodsInfo .priceItemWrap,
.goodsList .goodsItem .goodsInfo .saleStatusItemWrap {
    text-align: right;
}
.goodsList .goodsItem .goodsInfo .priceItemWrap  {
    order: 10;
    align-self: flex-end;
}
.goodsList .goodsItem .goodsInfo .priceItemWrap .priceSuffixLabel  {
    font-size: 0.8em;
}
.goodsList .goodsItem .goodsInfo .saleStatusItemWrap {
    order: 2;
    align-self: flex-end;
    margin-bottom: 3px;
}
.goodsList .goodsItem .goodsInfo .saleStatus  {
    font-size: 0.8em;
    padding: 2px 5px;
    border: 1px solid #4C4C4C;
}





/* 写真のみ */
.goodsList .goodsItem.img .goodsInfo .imgWrap{
    display: inline-block;
    width: auto;
    padding: 0 2px 2px 0;
}
.goodsList .goodsItem.img .goodsInfo .imgWrap img{
    width: 80px;
}

/* 説明付 */
.goodsList .goodsItem.desc {
    width:100%;
    display:block;
}
.goodsList .goodsItem.desc .goodsInfo .imgWrap{
    display: inline-block;
    width: auto;
    padding: 0 2px 2px 0;
}
.goodsList .goodsItem.desc .goodsInfo .imgWrap img{
    width: 80px;
}
.goodsList .goodsItem.desc .goodsImg {
    float: left;
    width: 130px;
}
.goodsList .goodsItem .goodsInfo .itemWrap .items{
    display: inline-block;
}
.goodsList .goodsItem.desc .userOperateArea {
    float: left;
    text-align: center;
    width: 180px;
}


@media screen and (max-width: 641px) {
    #goodsList {
        padding: 0 10px;
    }
    .goodsList .goodsItem.img,
    .goodsList .goodsItem.desc {
        display: inline-block;
        vertical-align: top;
        float: none;
        text-align: center;
        padding-bottom: 10px;
    }

    .goodsList .goodsItem.desc .goodsImg {
        float: none;
        width: 100%;
        text-align: center;
    }
    .goodsList .goodsItem.desc .goodsInfo {
        float: none;
        width: 100%;
        text-align: center;
    }
    .goodsList .goodsItem.desc .goodsInfo .imgWrap{
        float: left;
    }
    .goodsList .goodsItem .add_subbtn.plusButton,
    .goodsList .goodsItem .add_subbtn.minusButton {
        display: none;
    }
    .goodsList .goodsItem.img .userOperateArea,
    .goodsList .goodsItem.desc .userOperateArea {
        float: none;
        margin: 0 auto;
        width: 90%;
    }
}

/* 販売ステータス */
.saleStatusPreLabel,
.saleStatusSuffixLabel {
    display: none;
}

/* カートに入れる  */
.addCountItemWrap,
.addCartItemWrap {
    display: none;
}

/* ラベル・商品名・価格 中央揃え */
.goodsList .goodsItem .goodsInfo {
    justify-content: center;
}
.goodsList .goodsItem .goodsInfo .itemWrap .items {
    width: 100%;
}
.goodsList .goodsItem .goodsInfo {
    justify-content: center;
}
.goodsList .goodsItem .goodsInfo .itemWrap .items {
    width: 100%;
}