@charset "UTF-8";
/* CSS Document */

div#sub-column {
    display: none;
}

#itemDetail-cont .itemThumb-wrap .itemThumb ul {
    overflow: hidden;
    
}

/*お客様の声ページ*/
article #main-column section.rating h2 {
    border: none;
    display: table-cell;
    font-size: 100%;
    font-weight: normal;
    line-height: 140%;
    padding: 0 15px 0 0;
    margin: 0;
    vertical-align: top;
    width: 84%;
}
article #main-column section.rating .reviewTxt {
    float: right;
    width: 85%;
}
/*お客様の声ページ*/

/*画像一覧の高さ揃える*/
.column4 .itemThumb {
    margin-bottom: 5px;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    width: 264px;
    height: 264px;
}
.column4 .itemThumb a {
    height: auto;
    width: auto;
    display: block;
}
.column4 .itemThumb a img {
    height: auto;
    max-height: 264px;
    max-width: 264px;
    width: auto;
}

.column5 .itemThumb {
    margin-bottom: 5px;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}
.column5 .itemThumb a {
    height: auto;
    width: auto;
    display: block;
}
.column5 .itemThumb a img {
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    width: 100%;
}
/*画像一覧の高さ揃える*/
div#main-column > img {
    display: none;
}

@media(max-width: 1216px) {
    #itemDetail-cont .itemThumb-wrap .itemThumb ul li {
        height: 92px;
        margin-right: 1.25%;
        text-align: center;
        width: 19%;
    }
    #itemDetail-cont .itemThumb-wrap .itemThumb ul li:nth-child(5n) {
        margin-right: 0;
    }
  }
@media(max-width:1024px){
    #itemDetail-cont .itemThumb-wrap .itemThumb ul li {
        height: 92px;
        margin-right: 1.25%;
        text-align: center;
        width: 19%;
    }
    #itemDetail-cont .itemThumb-wrap .itemThumb ul li:nth-child(5n) {
        margin-right: 0;
    }
/*画像一覧の高さ揃える*/
    .column4 .itemThumb {
        margin-bottom: 5px;
        text-align: center;
        display: table-cell;
        vertical-align: middle;
        width: 220px;
        height: 220px;
    }
    .column4 .itemThumb a {
        height: auto;
        width: auto;
        display: block;
    }
    .column4 .itemThumb a img {
        height: auto;
        max-height: 220px;
        max-width: 220px;
        width: auto;
    }

    .column5 .itemThumb {
        margin-bottom: 5px;
        text-align: center;
        vertical-align: middle;
        width: 100%;
        height: 100%;
    }
    .column5 .itemThumb a {
        height: auto;
        width: auto;
        display: block;
    }
    .column5 .itemThumb a img {
        height: 100%;
        max-height: 100%;
        max-width: 100%;
        width: 100%;
    }
/*画像一覧の高さ揃える*/
}

@media(max-width:960px){
    #itemDetail-cont .itemThumb-wrap .itemThumb ul li {
        height: 86px;
        margin-right: 1.25%;
        text-align: center;
        width: 19%;
    }
    #itemDetail-cont .itemThumb-wrap .itemThumb ul li:nth-child(5n) {
        margin-right: 0;
    }
/*画像一覧の高さ揃える*/
    .column4 .itemThumb {
        margin-bottom: 5px;
        text-align: center;
        display: table-cell;
        vertical-align: middle;
        width: 206px;
        height: 206px;
    }
    .column4 .itemThumb a {
        height: auto;
        width: auto;
        display: block;
    }
    .column4 .itemThumb a img {
        height: auto;
        max-height: 206px;
        max-width: 206px;
        width: auto;
    }

    .column5 .itemThumb {
        margin-bottom: 5px;
        text-align: center;
        vertical-align: middle;
        width: 100%;
        height: 100%;
    }
    .column5 .itemThumb a {
        height: auto;
        width: auto;
        display: block;
    }
    .column5 .itemThumb a img {
        height: 100%;
        max-height: 100%;
        max-width: 100%;
        width: 100%;
    }
/*画像一覧の高さ揃える*/
}

@media(max-width:768px){
    div#sub-column {
        display: block;
    }
    #itemDetail-cont .itemThumb-wrap .itemThumb ul {
        display: block;
    }
    #itemDetail-cont .itemThumb-wrap .itemThumb ul li {
        margin-right: 1.333%;
        text-align: center;
        width: 24%;
        height: 88px;
        margin-bottom: 0;
    }
    #itemDetail-cont .itemThumb-wrap .itemThumb ul li:nth-child(4n) {
        margin-right: 0;
    }
    #itemDetail-cont .itemThumb-wrap .itemThumb ul li:nth-child(5n) {
        margin: 0 1.333% 0 0;
    }
/*画像一覧の高さ揃える*/
    .column4 .itemThumb {
        margin-bottom: 5px;
        text-align: center;
        display: table-cell;
        vertical-align: middle;
        width: 100%;
        height: 100%;
    }
    .column4 .itemThumb a {
        height: auto;
        width: auto;
        display: block;
    }
    .column4 .itemThumb a img {
        height: auto;
        max-height: 100%;
        max-width: 154px;
        width: 100%;
    }

    .column5 .itemThumb {
        margin-bottom: 5px;
        text-align: center;
        vertical-align: middle;
        width: 100%;
        height: 100%;
    }
    .column5 .itemThumb a {
        height: auto;
        width: auto;
        display: block;
    }
    .column5 .itemThumb a img {
        height: 100%;
        max-height: 100%;
        max-width: 100%;
        width: 100%;
    }
/*画像一覧の高さ揃える*/
}

@media(max-width:480px){
    .column4 .itemThumb a img {
        height: auto;
        max-height: 100%;
        max-width: 100%;
        width: 100%;
    }
}