@charset "utf-8";
div#s_main_wrap {
	max-width: 980px;	
	position: relative;
	margin: 0 auto;
    text-align: center;
}

ul.s_main {
	width:100%;
	height:100%;
	overflow:hidden;
	margin-bottom: 30px;
}
ul.s_main li {
	top:0;
	left:0;
	width:100%;
	position: absolute;
	display:none;
}

.prev_btn {
	position: absolute;
	top:50%;
    transform: translateY(-50%);
	left:0px;
	cursor: pointer;
	z-index:9;
}
.next_btn {
	position: absolute;
	top:50%;
    transform: translateY(-50%);
	right:0px;
	cursor: pointer;
	z-index:9;
}

.prev_btn img:hover,.next_btn img:hover{
	/*opacity:0.7; filter:alpha(opacity=70); -moz-opacity:0.7;*/
	opacity: 0.8;
}
ul.s_thum{
	margin-bottom: 100px;
    max-width: 860px;
    margin: auto;
}
ul.s_thum li {
	float:left;
	/*width: 12.5%;*/
    width: 23.26%;
	cursor: pointer;
    position: relative;
    margin-right: 2.32%;
    margin-bottom: 2.32%;
}
ul.s_thum li:nth-child(n + 13){
    margin-bottom: 0;
}
ul.s_thum li:nth-child(4n) {
    margin-right: 0;
}

ul.s_thum li img {
	opacity:0.9; filter:alpha(opacity=90); -moz-opacity:0.9;
  /*  vertical-align: bottom !important;*/
   
}
/*ul.s_thum li::after{
    content: "";
    width: 100%;
    height: calc(100% + 1px);
       background:rgba(0,0,0,0.9);
    z-index: 9999;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
}*/

ul.s_thum li.ac {
	opacity:1.0; filter:alpha(opacity=100); -moz-opacity:1.0;
}
ul.s_thum li.ac::after{
    display: none;
}


@media screen and (max-width: 900px){
.bg2 {
    background: url(../images/model/bg.png) top center repeat-x;
    }
ul.s_main {
	margin-bottom: 20px;
}
    ul.s_thum{
        max-width:460px;
    }
ul.s_thum li {
	float:left;
	width: 25%;
	cursor: pointer;
    margin-right: 0;
    margin-bottom: 0;
}
    ul.s_thum li:nth-child(3n){
        margin-right: 0;
    }
}


@media screen and (max-width: 767px){
    ul.s_main li{
        width:80%;
        margin: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    .bg{
        width:80%;
    }
   /* .next_btn img{
        width: 50%;
        
    }
    .next_btn{
        text-align: right;
    }
    .prev_btn{
        text-align: left
    }
    .prev_btn img{
        width: 50%;
        
    }*/
	
}

