@charset "UTF-8";

@media (max-width:1400px){
    header{
        width: 100%;
    }
    .headerBox {
        width: auto;
        height: 80px;
        margin: 0 3vw;
    }
    .logo { margin-right: 80px;}
    .logo img { height: 40px;}
    #gnb li a {
        padding: 28px 10px;
    }
    /* section 2 */
    .countContainer {
        width: 1200px;
    }
    .countBox {
        justify-content: center;
    }
    .countNum {
        padding: 0 20px;
    }
    
    /* section 3 */
    .proLens{
        margin: 0;
        padding: 0 0;
        width: 100%;
    }
    /* section 4 */
    .eduTxt {
        width: 95vw;    
    }
    .eduTxt h3{ 
        font-size: 40px;
        line-height: 50px;
    }
    .eduTxt p {
        font-size: 16px;
        line-height: 30px;
        margin-bottom: 50px;
    }
    /* section 5 */
    .menuContainer {
        width: 1200px;
    }
    .menuBox a { 
        width: 200px;
        height: 200px;
    }
    .menuBox a .menu {
        bottom: 30px;
        font-size: 18px;
    }
    .menuBox .menuImg {
        width: 150px;
        margin-bottom: 0;
    }

    /* section 6 */
    .instaContainer{
        width: 1200px;
    }
    .instaContainer h2 { 
        font-size: 50px;
    }
    .instaInner{
        width: calc((100% / 3) - (60px / 3));    
        margin-right: 20px;
        margin-bottom: 20px;
    }
    .instaInner:nth-child(3){
        margin-right: 0px;
    } 
    .instaInner:nth-child(6){
        margin-right: 0px;
    }
    .instaInner:nth-child(4){
        margin-right: 20px;
    }
    .instaInner:nth-child(7){
        display: none;
    }
    .instaInner:nth-child(8){
        display: none;
    }

    /* section 7 */
    
    .noticeContainer {
        width: 1200px;
        padding: 50px 30px 30px;
    }
    .noticeBox{
        width: 40vw;
    }
    .storeDesc  img {
        width:  100%
    }
    
  .slick-slide .storeTxt h4{
    font-size: 30px;
    width: 45%;
}
.slick-slide .storeTxt p{
    font-size: 20px;
    width: 45%;
    top: 55%;
}
    /* footer */
    .footerContainer {
        width: 1200px;
    }

}

@media (max-width:1240px){
    

    /* header */
    header {
        position: relative;
        width: auto;
        margin: 0 10px;
    }
    header h1 { 
        margin-left: 10px;
    }
    button.trigger { border: none;
        position: relative;
        display: block; 
        float: right;
        width: 22px;
        height: 22px;
        margin: 32px 10px 0 0;
        background: transparent;
        cursor: pointer;
    }
    .trigger .icon_bar {
        position: absolute;
        left: 0;
        width: 22px;
        height: 2px;
        border-radius: 1px;
        background: #fff;
        transition: 0.5s;
    }
    .trigger .icon_bar:nth-child(1) {
        top: 4px;
    }
    .trigger .icon_bar:nth-child(2) {
        top: calc(50% - 1px);
    }
    
    .trigger .icon_bar:nth-child(3) {
        bottom: 4px;
    }

    .trigger.open {}
    .trigger.open .icon_bar:nth-child(1) {
        transform: rotate(45deg);
        margin-top: 6px;
    }
    .trigger.open .icon_bar:nth-child(2) {
        width: 0;
    }
    .trigger.open .icon_bar:nth-child(3) {
        transform: rotate(-45deg);
        margin-bottom: 6px;
    }
    
    .gnb { 
        position: fixed;
        top: 0;
        right: -250px;
        bottom: 0;
        width: 250px;
        background: #fff;
    }
    .navbar { 
        padding-bottom: 100px;
    }
    ul.navbar_gnb { 
        margin-left: 0;
        text-align: left;
        margin-top: 13px;
        margin-right: 0;
    }
    ul.navbar_gnb > li{ 
        position: relative;
        display: block;
        
    }
    ul.navbar_gnb > li > a {
        line-height: 60px;
        color: #222;
    }
    .sub {
        position: relative;
        top: 0;
        background: #f9f9f9;
        padding-bottom: 15px;
    }

    .sub br {display: none;}

    .icon {
        position: absolute;
        top: 20px;
        right: 15px;
        width: 14px;
        height: 14px;
        transition: .5s;
    }
    .icon::before{
        content: "";
        width: 10px;
        height: 10px;
        display: block;
        border: 2px solid #222;
        border-top-color: currentcolor;
        border-top-style: solid;
        border-top-width: 2px;
        border-left-color: currentcolor;
        border-left-style: solid;
        border-left-width: 2px;
        border-top: transparent;
        border-left: transparent;
        color: grey;
        margin: 0 auto;
        margin-bottom: 0px;
        transform: rotate(45deg);
        margin-bottom: 10px;
    }
    .sub_shadow { display: none; } /* 스크립트 넣은 뒤 삭제하기 */


    .enbContainer {
        display: none;
    }
    /*** section1 ***/
    
    .mainTextContainer h2{ 
        font-size: 5vw;
    }
    .mainTextContainer p{ 
        font-size: 3vw;
    }
    .mainSlide img {
        width: 50px;
        height: 50px;
    }
    
    /* section 2 */
     #mainCountYear {
        width: 100%;
        margin-bottom: 0;
    }
    .countContainer {
        width: auto;
    }
    .countBox{
        display: block;
    }
    .countNum{
        margin: 0 0 100px 0;
        display: flex;
        justify-content: center;
    }
    .countNum:last-child{
        margin: 0;
    }
    .countNum p {
        width: 100%;
        text-align: end;
    }
    .countNum span {
        width: 100%;
        padding: 0 0 0 100px;
        text-align: start;
        margin-top: 10px;
    }


    /* section 3 */
    .proContainer {
    }
    .proWrap{ margin-bottom: 0;}
    .brandBox article:nth-child(1) .proWrap{ width: 100%;}
    
    .proWrapMini {
        display: none;
    }
    .brandBox article:nth-child(1) .proWrap img {
        display: inline-block;
        width: 100vw;
    }
    .pro .proBtn {
        position: absolute;
        left: 50%;
        transform: translate(-50%);
    }
    .brandBox article:nth-child(3) .proLens img{
        width: 100%;
    }

    .lensBox > span {
        display: none;
    }
    .proBtn {
        width: 200px;
        padding: 10px 10px;
        font-size: 20px;
    }

    /* section 4 */

    .pcEduImg {
        display: none;
    }
    .mEduImg {
        display: block;
    }
    .eduBox{
        display: flex;
    }
    .eduBox .eduImg img {
        width: 100%
    }
    .eduTxt {
        width: 370px;
        height: 300px;
        top: 300px;
        
    }
    .eduTxt h3{ 
        font-size: 30px;
        line-height: 30px;
        margin-bottom: 50px;
    }
    .eduTxt p {
        font-size: 16px;
        line-height: 30px;
        margin-bottom: 50px;
    }

    .eduImg p br{
        display: none;
    }
    .eduImgRight > .eduTxt {
        text-align: start;
    }
    .eduImg h3 br{
        display: none;
    }
    .eduImg .eduTxt .bannerBtn {
        display: none;
    }
    .mBannerBtn{
        display: block;
    }

    /* section 5 */
    .menuBox {
        justify-content: space-around;
        flex-wrap: wrap;
        padding: 50px 30px;
    }
    .menuContainer {
        width: 790px;
    }
    .menuBox a { 
        width: 200px;
        height: 200px;
        margin-right: 0;
        margin: 20px 50px;
    }
    .menuBox a:last-child {
        margin-right: 50px;
    }
    .menuBox a .menu {
        bottom: 30px;
        font-size: 18px;
    }
    .menuBox .menuImg {
        width: 150px;
        margin-bottom: 0;
    }


    /* section 6 */
    .instaContainer{
        width: 790px;
        margin: 0 auto;
    }
    .instaContainer h2 { 
        font-size: 40px;
        margin-bottom: 20px;
        text-align: center;
    }

    /* 슬릭슬릭슬릭슬릭슬릭 */
    .instaInner{
        display: block;
        width: 100%;    
        margin-right: 0px;
        margin-bottom: 0px;
    }
    /* .instaInner:nth-child(2){
        display: block;
    }  */

    .instaIcon {
        right: 10px;
        bottom: 10px;
        width: 70px;
        height: 70px;
    }
    
    /* section 7 */
        
    .noticeContainer {
        width: 100vw;
        display: block;
        padding: 50px 50px 50px;
    }
    .noticeContainer h2{
        text-align: center;
    }
    
    .noticeBox{
        width: 100%;
        margin-bottom: 50px;
    }
    .storeDesc  img {
        width:  100%;
    }
   
    .slick-slide .storeTxt h4{
        font-size: 45px;
        top: 30%;
        width: 45%
    }
    .slick-slide .storeTxt p{
        font-size: 3vw;
        top: 50%;
        width: 45%;
    }

    
    .btnAll {
        display: none;
    }

     /* footer */
    .footerContainer {
        width: 100vw;
    }
    .footerBox{ 
        padding: 0 0 50px 0;
        position: relative;
    }
    .footerTop{
        border-top: 1px solid #edeff5;
        display: block;
        background: #fff;
        padding-top: 70px;
    }
    .footerBody {
        position: initial;
    }
    .footerInfo h2 {
        position: absolute;
        top: 20px;

    }
    .footerTop .fnb li{
        display: block;
    }
    .footerTop .fnb li a {
        display: block;
        line-height: 3;
        font-weight: 400;
        border-bottom: 1px solid #edeff5;
        color: #555;
    }
    .footerTop .fnb li:nth-child(1){
        border-top: 1px solid #edeff5;;
    }
    .footerSns {
        display: inline-block;
        position: absolute;
        top: 25px;
        right: 50px;
    }

    .footerInfo{ margin-top: 0;}
    .footerInfo .address,  .footerInfo p { font-size: 14px;}
    .footerInfo h2, .footerTop .fnb li a, .footerInfo .adress, .footerInfo p{
        padding-left: 50px;
    }

    .footerFamilySite{
        display: none;
    }
    .fnb .mFamilySiteContainer{
        display: block;
    }
    
    .fnb{
        position: relative;
    }
    .fnb span {
        display: block;
    }
    .icoArrow{
        margin-right: 50px;
        display: block;
        position: absolute;
        bottom: 10px;
        right: 0;
    }
}

@media (max-width:790px){


    /* header */
    .logo img{
        height: 30px;
    }
    .enbContainer .enbMap .enbIcon{
        display: block;
        width: 25px;
        height: 25px;
    }
    .enbContainer .enbShop .enbIcon{
        display: block;
        width: 25px;
        height: 25px;
    }
    .trigger .iconBar {
        width: 20px;
    }
    .trigger .iconBar:nth-child(1) { top: -8px;}
    .trigger .iconBar:nth-child(2) {top: calc(50% - 12px);}
    .trigger .iconBar:nth-child(3) {bottom: 14px;}

    .trigger.open .iconBar:nth-child(1) {
        margin-top: 10px;
    }
    .trigger.open .iconBar:nth-child(3) {
        margin-bottom: 4px;
    }


     /*** section1 ***/

    .mainTextContainer h2{ 
        font-size: 7vw;
        line-height: 1;
        font-weight: 700;
    }
    .mainTextContainer p{ 
        font-size: 3vw;
    }

    .mBr{
        display: block;
    }

    .mainTextContainer{ 
        width: 100vw;
        text-align: center;
        left: 0;
    }

    .mainSlide img {
        width: 35px;
        height: 35px;
    }

    /* section 2 */
    .countNum{
        margin: 50px 0;
    }
    .countNum:first-child{
        margin: 0;
    }
    .countNum strong{
        font-size: 9vw;
    }
    .countNum p{
        font-size: 4vw;
    }
    .countNum span{
        font-size: 3vw;
        padding: 0 0 0 50px;
    }
    .countBox{
        padding: 50px 0;
    }

    /* section 3 */

    .title{
        display: none;
    }
    .pro .proBtn {
        top: 50%;
        transform: translate(-50%,-50%);
    }
    .proBtn {
        width: 150px;
        padding: 10px 10px;
        font-size: 16px;
    }
   .proWrap .proImg .proImgMain {
        display: none;
    }
    .proImgMain{
        display: none;
    }
    .mProImg{
        display: block;
    }
    /* section 4 */

    .pcEduImg {
        display: none;
    }
    .mEduImg {
        display: block;
    }
    .eduBox{
        display: block;
    }
    .eduTxt {
        width: 70vw;
        top: 40%;
    }
    .eduTxt h3{ 
        font-size: 25px;
        line-height: 40px;
        margin-bottom: 30px;
    }
    .eduTxt p {
        font-size: 14px;
        line-height: 30px;
        margin-bottom: 50px;
    }
    .eduImg p br{
        display: none;
    }
    .eduImgRight > .eduTxt {
        text-align: start;
    }
    .eduImg h3 br{
        display: none;
    }
    .eduImg .eduTxt .bannerBtn {
        display: none;
    }

    .btnAll {
        top:  5px;
        width: 30px;
        height: 30px;
    }
    .btnAll span:first-child{
        width: 15px;
    }
    .btnAll span:last-child{
        height: 15px;
    }
    
    /* section 5 */
    .menuBox {
        justify-content: space-around;
        flex-wrap: wrap;
        padding: 30px 10px;
    }
    .menuContainer {
        width: 390px;
    }
    .menuBox a { 
        width: 130px;
        height: 130px;
        margin-right: 0;
        margin: 20px 20px;
    }
    .menuBox a:last-child {
        margin-right: 20px;
    }
    .menuBox h3{
        font-weight: 700;
    }
    .menuBox a .menu {
        bottom: 20px;
        font-size: 14px;
    }
    .menuBox .menuImg {
        width: 100px;
        margin-bottom: 0;
    }
    .menuBox .menuImg img {
        width: 200px;

    }

    
    /* section 6 */
    .instaContainer{
        width: 100%;
        padding: 80px 0 30px;
    }
    
    .instaContainer h2 { 
        font-size: 40px;
        margin-bottom: 20px;
        text-align: center;
    }
    .instaInner{
        display: none;
        width: 100%;    
        margin-right: 0px;
        margin-bottom: 0px;
    }
    .instaInner:nth-child(2){
        display: block;
    } 
    .instaIcon {
        right: 10px;
        bottom: 10px;
        width: 70px;
        height: 70px;
    }
    
    /* section 7 */
    .noticeContainer {
        padding: 50px 30px 30px;
    }
    .noticeContainer h2  {
        font-size: 5vw;
        font-weight: 700;
        margin-bottom: 20px;
    }
    .noticeWrap li a {
        
        font-size: 16px;
        line-height: 4;
        
    }
    .noticeWrap li a p {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
    .slick-slide .storeTxt {
       position: relative;
    }
  .slick-slide .storeTxt h4 {
        width: 45%; 
        font-size: 4.5vw;
        top: 30%;
        height: 50px;
         font-weight: 500;
    }
    .slick-slide .storeTxt p{
        width: 45%;
        font-size: 3vw;
        top: 55%;
        font-weight: 500;
    }

    /* footer */
    .footerBox{ 
        padding: 0 0 30px 0;
    }
    .footerInfo h2 {
        position: absolute;
        top: 20px;
        font-size: 20px;
    }
    .footerTop .fnb li a {
    font-size: 14px;
    }
    .footerTop .fnb li:nth-child(1){
        border-top: 1px solid #edeff5;;
    }

    .footerSns a img{
        width: 20px;
        height: 20px;
        margin-right: 13px;
    }
    .footerSns {
        top: 22px;
        right: 30px;
    }

    .footerInfo{ margin-top: 0;}
    .footerInfo .mAddress {
        margin-top: 25px;
        margin-bottom: 25px;
        font-size: 13px;
        margin-right: 30px;
    }
    .footerInfo p{
        font-size: 11px;
    }
    .footerInfo h2, .footerTop .fnb li a, .footerInfo .adress, .footerInfo p{
        padding-left: 30px;
    }
    .icoArrow{
        margin-right: 30px;
        bottom: 5px;
    }
    .footerInfo .address {
        display: none;
    }

    .mAddress{
        display: block;
    }

    #topBtn{
      bottom: 5px;
      right: 20px;
    }
  }