

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

@media screen and (max-width:768px){
  
/* 공통스타일 - hn 태그스타일링   */
  .h1{
    font-size: 80px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
  }
  .h2{
    font-size: 29px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
  }

  .h3{
    font-size: 31px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
  }

  .h4{
    font-size: 27px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
  }

  .h5{
    font-size: 19px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
  }
  
/* 헤더  */
  header .inner{
    height: 15vw;
    width: 90%;
    justify-content: center;
    position: relative;
    align-items: center;
  }
  header .inner h1 a{
    font-size: 4.557291666666667vw;
  }
  header .inner .wgnb{
    position: absolute;
    left: 0;
    top: calc(50% - 18px);
  }
  header .inner .wgnb a.ham{
    transform: scale(0.9);
  } 
  header .inner ul.enb{
    display: none;
  }
  
/*  타이틀  */
  
  #title{
    padding-top: 100px;
    box-sizing: border-box;
  }
  #title::before{
    width: 100%;
  }
  #title .inner{
    height: 92.44505494505495vw;
    height: 92%;
    justify-content: flex-start;
  }
  #title .inner h2{
    order: 2;
    font-size: 7.464vw;
    margin-top: 23px;
  }
  #title .inner p{
    order: 3;
  }
  /* #title .inner iframe{
    height: 46.445vw;
    position: static;
    width: 100%;
    order: 1;
  } */
  
  #title .inner img{
    height: 46.445vw;
    position: static;
    width: 100%;
    order: 1;
    padding-top: 100px;
  }
  #title span.titleaside{
  right: 0;
  justify-content: flex-end;
  align-items: flex-end;
  margin-right: 30px;
  }
  #title span.titleaside a.campaign{
    display: none;
  }
  #title span.titleaside a.scroll{
    
    right: 0;
    color: #fff;
    font-size: 0;
  }
  #title span.titleaside a.scroll::before {
    border-color:#fff;
    
  }
  #title span.titleaside a.scroll::after{
    border-color: #fff;
  }
/* 메인 서비스 */
  #service .inner{
    padding-bottom: 26.05vw;
  }
  
  #service .inner hgroup h2{
    font-size: 3.61vw;
  }
  #service .inner hgroup h3{
    line-height: 1.2;
  }
  #service .inner .contents article{  
    width: 100%;
    transform: initial !important;
  }
  #service .inner .contents{
    margin-top: 7.8125vw;
    row-gap: 19.53125vw;
  }
  #service .inner .contents article a::before{
    height: 77.47395833333333vw;
  }
  
/* 메인 스페이스   */
  #space{
   padding: 19.53125vw 0 5.208333333333333vw;
  }
 

  #space .inner::before{
    content: "";
    display: block;
    height: 200px;
    margin-left: 0;
    padding-left: 10%;
    padding-right: 10%;
    background-image: url(../img/main-space-01.jpg);
    background-size: cover;
  }
  
  #space .inner, #miele .inner, #contact .inner {
    height: 84.635vw;
    margin-left: 0;
    padding-left: 10%;
    padding-right: 10%;
    background-image: none;
  }
  
  #space .inner{
   height: calc(72.91666vw + 60.4166vw);
   padding-top:50px;
   justify-content: flex-start;
   padding-bottom: 50px;
  }
  
  #space .inner h2, #miele .inner h2{
    font-size: 8.69vw;
    color: #333;
  }
  
  #space .inner > :not(h2){
    color:#333;
  }
  
  #space .inner p{
    
  word-spacing: 0;
  font-size: 5.813vw;
  margin-top: 15vw;
  }
  #space .inner a.more::before{
    background-color: #333; 
  }

  #space .inner a.more::after{
    border-color: #333; 
  }
  
/* 스토리    */
  
  #story .inner{
    
  padding-top: 13.02083333333333vw;
  padding-bottom: 13.02083333333333vw;
  }
  #story .inner hgroup{
    margin-bottom: 73px;
  }
  
  #story .inner hgroup h2{
    font-size: 3.61vw; 
  }
  #story .inner hgroup h3{
    line-height: 1.15;
    margin: 10px 0;
  }
  
  #story .inner hgroup h4{
    font-size: 4.125vw; 
  }

  #story .inner ul.contents{
    flex-direction: column;
    align-content: center;
    gap: 40px;  
    margin: 15.625vw 0 11.71875vw;
  }
  
  #story .inner ul.contents li{
    width: calc(100%);   
  }
  
  #story .inner ul.contents li:nth-child(2){
    border: 0;
  }
  
/*  밀레  */
 
  #miele {
    height: calc(72.91666vw + 50.4166vw);
    padding-top: 50px;
    justify-content: flex-start;
    padding-bottom: 10vw;
  }
  
  #miele::after{
    display: none;
  }

  #miele .inner{
  background-image: none;
  height: auto;
  
  padding-top: 0;
  overflow: hidden;
  }
  
   #miele .inner::before{
    content: "";
    display: block;
    width: 100%;
    height: 39.0625vw;
    background-image: url(../img/main-miele.jpg);
    background-size: cover;
    transform: scaleX(1.3);
    }
  
  #miele .inner h2{
    word-spacing: 0;
    font-size: 7.8125vw;
    margin-top: 15vw;
    text-align: center;
  }
  
  #miele .inner h2 small{
    font-size: 3.61vw;
  }
  #miele .inner p{
    color: #333;
    text-align: center;
    font-size: 15px;
  }
  
  #miele .inner a{
    color: #333;
  }
  #miele .inner a.more::before{
    background-color: #333;
  }
  #miele .inner a.more::after{
    border-color: #333;
  }
  
  
 
/* 컨택트   */
  
  #contact{
    padding-top: 0;
    background-color: #ccc;
  }
  #contact .inner{
    height: auto;
    z-index: 1;
    background-color: transparent;
  }
  #contact .inner::before{
    position:static;
    width: 100%;
    height: 91.145833vw;
  }
  
  #contact::after{
     content: "";
     width: 100%;
     height: 200px;
     top: 0;
     bottom: initial;
     background-color: #767c69;
     z-index: 0;
  }
  #contact .inner h2{
    text-align: center;
  }
  #contact .inner h2 small.h5{
    font-size: 3.61vw;
    padding-top: 12px;
  }
  
  #contact .inner h2 br:nth-of-type(2){
    display: none;
    word-spacing: 0;
  }
  
  #contact .inner p{
    text-align: center;
  }
  
/* 인스타그램   */
  #instagram .inner{
    width: 90%;
    margin-right: 0;
    overflow: hidden;
    
  }
  #instagram .inner ul{
    
  flex-wrap: initial;
  width: calc(533.333%);
  gap: 0px;
/*   width: calc(400%); */
  gap: 0px;
  }
  
  #instagram .inner ul li{
    flex-basis: initial;
    padding-right: 30px; 
    box-sizing: border-box;
  }
  
/* 인스타그램   */
  #instagram .inner{
    width: 90%;
    margin-right: 0;
    overflow: hidden;
    
  }
  #instagram .inner ul{
    flex-wrap: initial;
    width: calc(533.33333333333%);
    gap: 0px;
  /*   width: calc(400%); */
    gap: 30px;
  }
  
  #instagram .inner ul li{
    flex-basis: initial;
/*     padding-right: 30px;  */
    box-sizing: border-box;
  }

/* footer   */
  footer .inner{
    display: block;
    
  }
  
  footer .inner .left address{
    font-size: 11px;
    margin-bottom: 20px;
    margin-top: 20px;
    letter-spacing: -1px;
  }
  
  footer .inner .left address span{
  display: block;
}
  footer .inner .left .tel p:not(.phone){
    font-size: 13px;
  }
  footer .inner .left .tel p:not(.phone) a{
    font-size: 14px;
  }
  footer .inner .left ul.bnb{
  padding-top:0px;
  }
  footer .inner .left ul.bnb li a{
    font-size: 11px;
    padding: 4px;
    letter-spacing: -1px;
  }
  
  footer .inner .right{
    margin-top: 20px;
    
  }
  
  footer .inner .right ul.sns{
    justify-content: flex-start;
    margin-bottom:30px;
    
    gap: 20px;
  }
  
  footer .inner .right > a.email{
    transform: translateY(-3.3333333333333333vw);
  }
  
  footer .inner .right > a.email::before {
    margin-top: 30px;
    display: block;
    }
}
  
