@charset "utf-8";
body{
max-width: 960px;
}
body .row {
    max-width: 960px;
}

body {
    margin: 0 auto;
    background: url(../img/main_bg.jpg) center top repeat;
    background-size: 115%;
}

#contents {
    width: 96%;
    margin-top: 40px;
    display: block;
    margin-bottom: 30px;
}
/*메뉴*/
.m_menu {
    overflow: hidden;
    margin-top: 40px;
    display: block;
}

.m_menu ul {
    margin: 0 auto;
    text-align: center;
    display: block;
}

.m_menu ul li {
    text-align: center;
    height: 111px;
    width: 33.3333333%;
    margin-bottom: 10px;
    float: left;
}

.m_menu ul li img {
    width: 110px;
}

.m_menu ul li.m_txt {
    text-align: left;
    width: 66.6666666%;
}

.m_menu ul li.m_txt img {
    margin-top: 7%;
    width: 97%;
}

h1 {
    display: block;
    text-align: center;
    margin: 0 auto;
}

h1 img {
    height: 50px;
}

@media only screen and (max-width: 320px) {
    .m_menu ul li {
        text-align: center;
        height: 96px;
        width: 32%;
        margin-bottom: 10px;
        float: left;
    }
    .m_menu ul li img {
        width: 95px;
    }
    .m_menu ul li.m_txt {
        width: 64%;
    }
}

/* 아이폰 4 */
@media only screen and (-webkit-min-device-pixel-ratio : 1.5) , only screen and (min-device-pixel-ratio : 1.5) {
    .m_menu ul li {
        text-align: center;
        height: 96px;
        width: 33.333333333%;
        margin-bottom: 10px;
        float: left;
    }
    .m_menu ul li img {
        width: 95px;
    }
    .m_menu ul li.m_txt {
        width: 66.66666666666%;
    }
}

@media only screen and (min-width:421px) and (max-width:479px) {
}

@media only screen and (min-width:480px) and (max-width:767px) {
    h1 img {
        height: 60px;
    }
    .m_menu ul {
        width: 80%;
    }
    .m_menu ul li {
        text-align: center;
        height: 111px;
        width: 33%;
        margin-bottom: 20px;
        float: left;
    }
    .m_menu ul li img {
        width: 110px;
    }
    .m_menu ul li.m_txt img {
        margin-top: 4%;
        width: 95%;
    }
}

@media only screen and (max-width:767px) {
}

@media only screen and (min-width:768px) and (max-width:959px) {
    h1 img {
        height: 70px;
    }
    .m_menu ul {
        width: 80%;
    }
    .m_menu ul li {
        text-align: center;
        height: 131px;
        width: 33%;
        margin-bottom: 20px;
        float: left;
    }
    .m_menu ul li img {
        width: 130px;
    }
    .m_menu ul li.m_txt img {
        margin-top: 3%;
        width: 350px;
    }
}

@media only screen and (min-width:960px) {
}

@media only screen and (min-device-width :768px) and (max-device-width :1024px) and (orientation :landscape) {
}

@media only screen and (min-width:960px) and (max-width:1200px) {
    h1 img {
        height: 70px;
    }
    .m_menu ul {
        width: 60%;
    }
    .m_menu ul li {
        text-align: center;
        height: 131px;
        width: 33%;
        margin-bottom: 20px;
        float: left;
    }
    .m_menu ul li img {
        width: 130px;
    }
    .m_menu ul li.m_txt img {
        margin-top: 3%;
        width: 350px;
    }
}

@media only screen and (min-width:1200px) and (max-width:1400px) {
    h1 img {
        height: 70px;
    }
    .m_menu ul {
        width: 60%;
    }
    .m_menu ul li {
        text-align: center;
        height: 131px;
        width: 33%;
        margin-bottom: 20px;
        float: left;
    }
    .m_menu ul li img {
        width: 130px;
    }
    .m_menu ul li.m_txt img {
        margin-top: 3%;
        width: 350px;
    }
}