html {
-webkit-text-size-adjust: none;
}
.video embed,
.video object,
.video iframe {
width: 100%;
height: auto;
}
img{
	max-width:100%;
	height: auto;
	width: auto\9; /* ie8 */
}



@media only screen and (min-width: 960px) and (max-width: 1920px) {
    #background_image_l, #background_image_r {
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    #background_image_l {
        background-image: url(../images/pcbg_l.png);
        background-position: bottom left;
    }
    
    #background_image_r {
        background-image: url(../images/pcbg_r.png);
        background-position: bottom right;
    }

    #background_image_r {
        padding: 50px 0px 50px 0px;
    }

    .br960 {
        display: block;
    }
    .br768, .br480, .br320 {
        display: none;
    }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
    #background_image_l {
        background-image: url(../images/pcbg_l.png);
        background-position: bottom left;
    }
    
    #background_image_r {
        background-image: url(../images/pcbg_r.png);
        background-position: bottom right;
    }

    header, footer, .featured, .social {
        width:768px;
    }
    img.item_image {
        width: 95%;
    }

    .br960, .br480, .br320 {
        display: none;
    }
    .br768 {
        display: block;
    }
    
    .shop_image_thumb {
        display: block;
        float: none!important;
        margin: 5px auto 5px auto!important;
        max-height: 90%; 
    }
}

@media only screen and (max-width: 767px) {
    #contents_wrapper {
	    margin: 0px;
		width: 100%;
    }

    header, footer, .featured, .social{width:100%;}
    header {margin-top: 0px;height:170px;}
    header #logo{
        top: 61px;
    }
    #content{background-color:#ffffff;}
    header nav {
        top: 0px;
            right: 5px;
    }

    .br480 {
        display: block;
    }
    
    .br320 {
        display: none;
    }
    /*
    .br768, br960 {
        display: none;
    }*/

    .block02 section {
        padding: 20px 25px;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    #background_image_l, #background_image_r {
        background-image: none;
        padding: 0px;
    }

        .br960 {
            display: none;
        }
}

@media only screen and (max-width: 479px) {
    #background_image_l, #background_image_r {
        background-image: none;
        padding: 0px;
    }

    #contents_wrapper { margin: 0px; }
	header{ height: 150px; }
	header #logo{
	    text-align: center;
	    width: 100%;
	    left: 0px;
	}
	.social {height:70px;}
	.social #search{right:auto; top:auto; bottom: 4px; left:7px; }

    header nav {
        position: static;
        width: 100%;
    }

    header nav ul li {
        width: 25%;
        padding: 0px;
        margin: 0px;
        background-image: url(../images/main_menu_bg_sp.png);
    }

    header nav ul li a {
        display: block;
        padding: 15px 0px;
        text-align: center;
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: top left;
    }


    header nav ul li a:hover {
        text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6)
                   , -1px 1px 4px rgba(255, 255, 255, 0.6)
                   , 1px -1px 4px rgba(255, 255, 255, 0.6)
                   , -1px -1px 4px rgba(255, 255, 255, 0.6)
                   , 2px 2px 2px rgba(0, 0, 0, 0.8);

    }

    .copyright_block_1 {
        display: block;
    }
    .copyright_block_2 {
        display: block;
    }
    .copyright_block_3 {
        display: block;
    }

    .block02 section {
        padding: 20px;
    }
    .block02 .col16 {
        width: 100%;
    }
    
    h4.item_price {
        padding: 0px 6px 0px 0px;
    }
    
    .contents_title_a, .contents_title_b {
        margin: 0px;
    }

    .br320 {
        display: block;
    }

    .br960, .br768, .br480 {
        display: none;
    }
}