body{background-color:#333;}
#main {padding-top: 70px;}
.fir{width:100%;height:92vh;
background:url(../img/product/2.jpg) center -250px no-repeat fixed;
background-size: cover;color: white;margin: 0 auto;padding: 0;position:relative;}    
h2{color:transparent;text-align:center;font-size:2rem;line-height:570px;margin:0 auto;position:relative;z-index:1;}
h3{color:#fff;line-height: 30px;padding-top: 40px;text-align:center;font-size:2rem; }
.second div{max-width:800px;width:100%;margin:0 auto;padding-top:40px;padding-bottom:80px;
    display:flex;justify-content:center;flex-wrap:wrap;}
p{background-color:#fff;border-radius:5px;margin:1%;}
h2.m{display:none;}
span{display:none;}
.second div p img{height:100px;margin-top: 5px;}
.pageNo{background-color: #333;}
footer{border-top:1px solid #fff; }
@media(min-width:1900px){
    .fir{background:url(../img/product/2.jpg) center -105px no-repeat fixed;
    background-size: cover;}
}
@media(max-width:1500px){
    .fir{background:url(../img/product/2.jpg) center 0 no-repeat fixed;
    background-size: contain;}
}
@media(max-width:1140px){
    .fir{background:url(../img/product/2.jpg) center 0 no-repeat fixed;
    background-size: contain;}
}
@media(max-width:1100px){
    .fir{background:url(../img/product/1.jpg) center 0 no-repeat fixed;
    background-size: contain;}
}
@media(max-width:950px){
    .fir, .fir:before{height:500px;}
}
@media(max-width:850px){
    .fir, .fir:before{height:450px;}
}
@media(max-width:750px){
    .fir{background:url(../img/product/1.jpg) center 0 no-repeat;
    background-size: cover;}
}
@media(max-width:650px){
    h2,h3{font-size:1.8rem;}
    h2{line-height:450px;}
}
@media(max-width:550px){
    h2.pc{display:none;}
    h2.m{display:block;line-height: 50px;width: 300px;padding-top: 150px;}
    h2{width:200px;text-align: center;}
    p{width: 40%;text-align:center;}
}
@media(max-width:460px){
    .second div{width:100%;}
}
@media(max-width:414px){
     p{width: 45%;margin:2%;}
}
@media(max-width:375px){
    p{width:60%;margin:2.5%;}
    .second div p img{height:134px;}
}
@media(max-width:360px){
    p{width:70%;}
}
@media(max-width:320px){
    .fir, .fir:before{height:399px;}
    h2{line-height:399px;}
}
