/*-----------------------------------------------
	壁紙ページiframeコンテンツ用CSS
------------------------------------------------*/
* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
}
body {
    width: 100%;
    max-width: 856px;
    font-weight: bold;
}

img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: #333;
}
a:hover {
    color: #c3002f;
}
a:hover img {
    opacity: .7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}


h1{
    font-size: 2.16666667em;
}
.wp-list {
    margin-top: -10px;
}
.wp-list li {
    float: left;
}
.wp-list li img {
    margin-bottom: 12px;
}

.wp-list li.new-wp {
    float: none;
}

.wp-list .download-list li,
.wp-list .download-list dd {
    float: none;
}



.new-wp p:after {
    content: url(/EVENT/WALLPAPER/IMAGES/2016/arrow_red_min.png);
    position: relative;
    padding-left: 5px;
    top: 3px;
}


.download-list {
    line-height: 1.5em;
}
.download-list li a:before,
.download-list dd a:before {
    content: url(/EVENT/WALLPAPER/IMAGES/2016/icn_download_min.png);
    padding-right: 5px;
    vertical-align: middle;
}
.download-list li a:hover:before,
.download-list dd a:hover:before {
    content: url(/EVENT/WALLPAPER/IMAGES/2016/icn_download_red_min.png);
}

 #mainContents {
    padding: 44px;
    margin-bottom: 100px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    opacity: 0;
    filter: alpha(opacity=0);
    -ms-filter: "alpha(opacity=0)";
    -khtml-opacity: 0;
    -moz-opacity: 0;
    background: #fff;
}
#mainContents .column4 {
    width: 23.858%;
    margin-left: 1.52%;
    margin-top: 40px;
}

#mainContents .column4 img {
    border: solid 1px #ccc;
}

.newlabel{
    color: #fff;
    background-color: #c3002f;
    padding: 2px 4px;
    font-weight: normal;
    margin-left: 4px;
}
/*
body {
    background: url(../../IMAGES/2016/loading.gif) no-repeat center 50%;
}
body.loaded {
    background: none;
}
*/
/*-----------------------------
	PC表示時
-----------------------------*/
@media screen and (min-width: 857px) {
    #mainContents {
        padding: 44px;
    }
    #mainContents .column4 {
        width: 23.858%;
        margin-left: 1.52%;
        margin-top: 40px;
    }
}

/*-----------------------------
	SP表示時
-----------------------------*/
@media screen and (max-width: 855px) {
    body {
        max-width: 100%;
    }
    
    #mainContents {
        padding: 20px 10px;
        margin-bottom: 30px;
    }
    
    #mainContents .column4 {
        margin-left: 2%;
        width: 49%;
        margin-top: 40px;
    }
    
    #mainContents .column4:nth-child(2n) {
        margin-left: 0;
    }

    #mainContents h1 {
        padding-right: 1em;
    }

    /*webカタ壁紙ページが無い車種*/
    #LEAF #mainContents .column4:nth-child(2n),
    #NV350CARAVAN #mainContents .column4:nth-child(2n)
    {
        margin-left: 2%;
    }
    #LEAF #mainContents .column4:nth-child(2n+1),
    #NV350CARAVAN #mainContents .column4:nth-child(2n+1)
    {
        margin-left: 0;
    }
}