.cs-container {
    background: url(../img/bg.jpg) no-repeat top center #000;
}

#mainvisual {
    padding: 120px 0 30px;
}

h1 {
    margin: 0;
}

#mainvisual .inner {
    max-width: 1200px;
    text-align: center;
    margin: 0 auto;
}

#mainvisual #title img {
    max-width: 100%;
}

#mainvisual .text {
    margin-top: -30px;
}

.disnon {
    display: none;
}

#userReview {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 0 0;
}

#userReviewTab {
    list-style: none;
    padding: 0;
    margin: 0;
}

#userReviewTab li {
    width: 222px;
    height: 230px;
    cursor: pointer;
}

#userReviewTab li.select {
    background-position: 0 -268px;
}

#userReviewTab li.select:hover {
    opacity: 1;
}

#userReviewTab li:nth-of-type(n+2) {
    margin-left: 70px;
}

#userReviewTab li span {
    display: none;
}

#userReviewTab .user-review-tab-a {
    background: url(../img/navi_01.png) no-repeat top center;
}

#userReviewTab .user-review-tab-b {
    background: url(../img/navi_02.png) no-repeat top center;
}

#userReviewTab .user-review-tab-c {
    background: url(../img/navi_03.png) no-repeat top center;
}

#userReviewTab .user-review-tab-d {
    background: url(../img/navi_04.png) no-repeat top center;
}

@media screen and (max-width: 1199px) {
    #userReviewTab li:nth-of-type(n+2) {
        margin-left: 2.5%;
    }
}

@media screen and (max-width: 979px) {
    #mainvisual .inner {
        padding: 0 12px;
    }
    #userReviewTab {
        flex-wrap: wrap;
        max-width: 600px;
        margin: 0 auto;
    }
    #userReviewTab li:nth-of-type(odd) {
        margin: 0;
    }
    #userReviewTab li:nth-of-type(n+3) {
        margin-top: 10px;
    }
}

@media screen and (max-width: 767px) {
    .cs-container {
        background-position: left top;
        background-size: auto 310px;
    }
    #mainvisual {
        padding: 60px 0 30px;
    }
}

@media screen and (max-width: 639px) {
    #mainvisual {
        padding: 0;
    }
    #mainvisual .inner {
        padding: 0;
    }
    #mainvisual h1 img {
        width: 90%;
    }
    #mainvisual .text {
        width: 95%;
        margin-top: -10px;
    }
    #userReview {
        padding-top: 20px;
        border-bottom: 1px solid #828282;
    }
    #userReviewTab {
        overflow: hidden;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
    #userReviewTab li.user-review-tab-a, #userReviewTab li.user-review-tab-b, #userReviewTab li.user-review-tab-c, #userReviewTab li.user-review-tab-d {
        border-bottom: 1px solid #000;
        color: #C7C7C7;
        background-color: #474747;
        background: -moz-linear-gradient(top, #474747 0%, #595959 100%);
        background: -webkit-linear-gradient(top, #474747 0%, #595959 100%);
        background: linear-gradient(to bottom, #474747 0%, #595959 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#474747', endColorstr='#595959', GradientType=0);
        width: 100%;
        height: auto;
        padding: 10px 0;
        margin: 0;
    }
    #userReviewTab li.select {
        color: #fff;
        background: #920505;
        background: -moz-linear-gradient(top, #920505 0%, #ef312c 100%);
        background: -webkit-linear-gradient(top, #920505 0%, #ef312c 100%);
        background: linear-gradient(to bottom, #920505 0%, #ef312c 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#920505', endColorstr='#ef312c', GradientType=0);
    }
    #userReviewTab li span {
        display: inline;
        font-size: 12px;
    }
}

/**
 * メインコンテンツ
 */

.contents-wrap h2 {
    text-align: center;
    background: #fff;
    padding: 55px 30px;
    margin: 0;
}

.contents-wrap h2 img {
    max-width: 100%;
}

.contents-wrap .inner {
    max-width: 1200px;
    padding: 50px 30px 100px;
    margin: 0 auto;
}

.contents-wrap .list-wrap {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contents-wrap li {
    flex: 0 1 29.1666666666%;
    min-height: 510px;
    margin: 0 2.0833333%;
    border: 1px solid #1c1c1c;
    box-sizing: border-box;
    background: #050505 url(../img/arrow_blog.png) no-repeat;
    background-position: right bottom;
}

@media all and (-ms-high-contrast: none) {
    .contents-wrap li {
        margin: 0 1.97%;
    }
}

.contents-wrap li:nth-of-type(n+4) {
    margin-top: 40px;
}

.contents-wrap li:hover {
    background: #363636 url(../img/arrow_blog.png) no-repeat;
}

.contents-wrap li a {
    text-decoration: none;
    display: block;
    height: 100%;
    position: relative;
}

.contents-wrap li a .s5-icon-window {
    position: absolute;
    top: auto;
    bottom: 20px;
    right: 16px;
}

.contents-wrap li img {
    max-width: 100%;
    vertical-align: top;
}

.contents-wrap h3 {
    text-align: center;
    color: #fff;
    font-size: 14px;
    border-bottom: 1px solid #c20000;
    padding-bottom: 15px;
}

.contents-wrap li p {
    padding: 0 20px 20px;
    color: #737373;
    line-height: 1.8em;
    font-size: 14px;
}

@media screen and (max-width: 979px) {
    .contents-wrap li {
        flex: 0 1 46%;
        margin: 0 2%;
    }
    .contents-wrap li:nth-of-type(n+3) {
        margin-top: 40px;
    }
    .contents-wrap li img {
        width: 100%;
    }
}

@media all and (max-width: 979px) and (-ms-high-contrast: none) {
    .contents-wrap li {
        margin: 0 1.82%;
    }
}

@media screen and (max-width: 767px) {
    .contents-wrap li {
        min-height: 0;
    }
    .contents-wrap .inner {
        padding: 20px;
    }
}

@media screen and (max-width: 639px) {
    .contents-wrap h2 {
        display: none;
    }
    .contents-wrap li, .contents-wrap li:nth-of-type(n+3) {
        flex: 1 1 100%;
        margin: 0 0 40px;
    }
}

/**
 * サブメニューから下
 */

#subMenu {
    border-top: 1px #262626 solid;
    padding: 30px 0;
}

#subMenuTab {
    list-style: none;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

#subMenuTab li {
    flex: 0 0 25%;
    width: 25%;
    height: 67px;
    cursor: pointer;
}

#subMenuTab li.select {
    background-position: 0 -102px;
}

#subMenuTab li span, #subMenuTab li img {
    display: none;
}

.sub-menu-tab-a {
    background: url(../img/naviSub_01.png) no-repeat top center;
}

.sub-menu-tab-b {
    background: url(../img/naviSub_02.png) no-repeat top center;
}

.sub-menu-tab-c {
    background: url(../img/naviSub_03.png) no-repeat top center;
}

.sub-menu-tab-d {
    background: url(../img/naviSub_04.png) no-repeat top center;
}

@-moz-document url-prefix() {
    #subMenuTab li {
        background-size: cover;
    }
}

.footer_product {
    border-top: 1px #262626 solid;
    text-align: center;
}

.footer_product img {
    max-width: 100%;
}

@media screen and (max-width: 1199px) {
    #subMenuTab {
        flex-wrap: wrap;
        max-width: 500px;
    }
    #subMenuTab li {
        flex: 1 0 40%;
        text-align: center;
        height: auto;
        padding: 20px;
        position: relative;
    }
    #subMenuTab li::before {
        content: '';
        position: absolute;
        border-top: 1px solid #000;
        border-bottom: 1px solid #000;
        top: -1px;
        bottom: -1px;
        left: 10px;
        right: 10px;
    }
    #subMenuTab li::after {
        content: '';
        position: absolute;
        border-left: 1px solid #000;
        border-right: 1px solid #000;
        top: 10px;
        bottom: 10px;
        left: -1px;
        right: -1px;
    }
    #subMenuTab li:hover {
        opacity: .5;
        transition: opacity 0.5s;
        background: #363636;
    }
    #subMenuTab li:nth-of-type(-n+2) {
        border-top: 1px solid #626262;
    }
    #subMenuTab li:nth-of-type(n+3) {
        border-top: 1px solid #626262;
        border-bottom: 1px solid #626262;
    }
    #subMenuTab li:nth-of-type(odd) {
        border-right: 1px solid #626262;
        border-left: 1px solid #626262;
    }
    #subMenuTab li:nth-of-type(even) {
        border-right: 1px solid #626262;
    }
    #subMenuTab li img {
        display: inline-block;
        max-width: 100%;
        transition: .25s;
    }
    #subMenuTab li:hover img {
        opacity: .6;
    }
    .sub-menu-tab-a, .sub-menu-tab-b, .sub-menu-tab-c, .sub-menu-tab-d {
        background: none;
    }
}

@media screen and ( max-width: 639px) {
    #subMenu {
        width: 100%;
        padding: 0;
    }
    #subMenuTab {
        display: block;
        margin: 0;
        padding: 0;
        max-width: 100%;
    }
    #subMenuTab li:hover {
        opacity: 1;
    }
    #subMenuTab li::before, #subMenuTab li::after {
        content: none;
    }
    #subMenuTab li:nth-of-type(-n+2) {
        border-top: 0;
    }
    #subMenuTab li:nth-of-type(n+3) {
        border-top: 0;
        border-bottom: 0;
    }
    #subMenuTab li:nth-of-type(odd) {
        border-right: 0;
        border-left: 0;
    }
    #subMenuTab li:nth-of-type(even) {
        border-right: 0;
    }
    #subMenuTab li.sub-menu-tab-a, #subMenuTab li.sub-menu-tab-b, #subMenuTab li.sub-menu-tab-c, #subMenuTab li.sub-menu-tab-d {
        border-bottom: 1px solid #000;
        color: #C7C7C7;
        background-color: #474747;
        background: -moz-linear-gradient(top, #474747 0%, #595959 100%);
        background: -webkit-linear-gradient(top, #474747 0%, #595959 100%);
        background: linear-gradient(to bottom, #474747 0%, #595959 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#474747', endColorstr='#595959', GradientType=0);
        width: 100%;
        height: auto;
        padding: 10px 0;
        margin: 0;
    }
    #subMenuTab li.select {
        color: #fff;
        background: #920505;
        background: -moz-linear-gradient(top, #920505 0%, #ef312c 100%);
        background: -webkit-linear-gradient(top, #920505 0%, #ef312c 100%);
        background: linear-gradient(to bottom, #920505 0%, #ef312c 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#920505', endColorstr='#ef312c', GradientType=0);
    }
    #subMenuTab li span {
        display: inline;
        font-size: 12px;
    }
    #subMenuTab li img {
        display: none;
    }
}
