@media (max-width: 1640px) {
  html {
    font-size: 18px;
  }
  .layout {
    padding: 0 3rem;
  }
}

@media (max-width: 1280px) {
  html {
    font-size: 16px;
  }
  .layout {
    padding: 0 2rem;
  }
  #header .logo {
    left: 2rem;
  }
  #header .logo span {
    padding-left: 0;
  }
  .right-service {
    right: 1rem;
  }
  #header .top-bar span {
    line-height: 2.22rem;
  }
  .navigation {
    padding-left: 11rem;
  }
}

@media (max-width: 1150px) {
  footer .site {
    right: 2rem;
  }
}

@media (max-width: 945px) {
  footer {
    text-align: center;
  }
  footer .logo {
    display: none;
  }
  footer .center-wrap {
    padding-left: 0;
  }
  footer .site a {
    display: block;
    padding-left: 0;
  }
  footer .center-wrap {
    padding-bottom: 1rem;
  }
  footer .site,
  footer .site a i {
    position: relative;
    top: inherit;
    right: inherit;
    transform: none;
    margin: auto;
  }
  footer .site a i {
    margin-left: 1rem;
  }
}

@media (max-width: 900px) {
  #header .logo {
    left: 0;
  }
}

@media (max-width: 767px) {
  html {
    font-size: 14px;
  }
  .layout {
    padding: 0 1rem;
  }
  br {
    display: none;
  }
  .nav-box > .layout {
    padding: 0.5rem;
  }
  #header .top-bar {
    display: none;
  }
  .header-bg {
    margin-top: 0;
  }
  #header .logo span {
    padding-left: 0.25rem;
    vertical-align: middle;
  }
  footer {
    font-size: 0.9rem;
    padding-bottom: 5rem;
  }
  .sub footer {
    padding-bottom: 2.75rem;
  }
  footer .top-btn {
    padding-top: 0.5rem;
  }



	.sub05-visual {
	  background: url("/html/moim/images/contents/sub05-visual-bg.png") no-repeat
		right center/cover;
	}
	.sub06-visual {
	  background: url("/html/moim/images/contents/sub06-visual-bg-m.png") no-repeat
		right center/cover;
	}
	.sub07-visual {
	  background: url("/html/moim/images/contents/sub07-visual-bg.png") no-repeat
		center center/cover;
		
	}
	.sub08-visual {
	  background: url("/html/moim/images/contents/sub08-visual-bg.png") no-repeat
		right center/cover;
	}
	.sub09-visual {
	  background: url("/html/moim/images/contents/sub09-visual-bg.png") no-repeat
		left center/cover;
	}


}

@media (max-width: 900px) {
  #header .logo {
    text-align: left;
    position: relative;
  }
  .navigation {
    overflow: hidden;
    visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 12;
    width: 100%;
    height: 0;
    background-color: #fff;
    opacity: 0;
    transition: all 0.3s;
    display: block;
  }
  .navigation > li {
    display: block;
  }
  .navigation + .control {
    display: block;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 13;
    width: 3.8rem;
    height: 3.8rem;
    line-height: 3.8rem;
  }
  .navigation + .control::before {
    display: block;
    font-family: "xeicon";
    font-size: 1.5rem;
    color: #fff;
    content: "";
  }
  .right-service {
    top: 0;
  }
  /* 주메뉴 */
  nav {
    display: block;
  }
  .navigation {
    overflow: hidden;
    visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 12;
    width: 100%;
    height: 0;
    background-color: #fff;
    opacity: 0;
    transition: all 0.3s;
    padding-left: 0;
  }
  .navigation::before {
    display: block;
    position: relative;
    left: 0;
    width: 100%;
    height: 3.8rem !important;
    margin: 0;
    box-shadow: none;
    background-color: #fff;
    border-top: 0;
  }
  .navigation li {
    float: none;
    position: relative;
    width: 100%;
    border-bottom: 1px solid #ddd;
    color: #000 !important;
    text-align: left;
  }
  .navigation li:first-child {
    border-top: 1px solid #ddd;
  }
  .navigation a {
    display: block;
    position: relative;
    padding: 0.5rem 1rem;
    line-height: inherit;
    transition: all 0.2s;
  }
  .navigation a::after {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: "xeicon";
    color: #cfcdcd;
    content: "";
    transition: all 0.2s;
  }
  .navigation > li > a.active:before {
    content: none;
  }
  .navigation .depth2 {
    position: relative;
    left: 0;
    height: 0 !important;
    padding: 0 1rem !important;
    border: 0 none !important;
    background-color: #f5f8ff;
    transition: all 0.2s;
  }
  .navigation .depth2::before,
  .navigation .depth2::after {
    display: none;
  }
  .navigation .depth2 li {
    border: 0 none;
  }
  .navigation .depth2 li:first-child {
    border-top: 0 none;
  }
  .navigation .depth2 li + li {
    border-top: 1px solid #e4e6ed;
  }
  .navigation .depth2 a {
    padding: 0;
    line-height: 2rem;
    font-size: 1rem;
  }
  .navigation .depth2 a::after {
    display: none;
  }
  .navigation + .control {
    display: block;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 13;
    width: 3.8rem;
    height: 3.8rem;
    line-height: 3.8rem;
  }
  .navigation + .control::before {
    display: block;
    font-family: "xeicon";
    font-size: 2rem;
    color: #fff;
    content: "";
    text-align: center;
  }
  .navigation + .control.close::before {
    font-size: 1.8rem;
  }
  #header.scrolled .navigation + .control::before {
    color: #142d5d;
  }

  /* 주메뉴 활성화 */
  .navigation > .active > a {
    background-color: #3a64b3;
    color: #fff;
  }
  .navigation .active > a::after {
    top: -0.3rem;
    transform: rotate(180deg) translateY(-50%);
  }
  .navigation .active .depth2 {
    visibility: visible;
    height: auto !important;
    padding: 1rem !important;
    top: inherit;
  }
  #header.active .navigation {
    visibility: visible;
    height: auto;
    opacity: 1;
  }
  #header.active .navigation + .control::before {
    color: #010101;
    content: "";
  }
  .right-service {
    display: none;
  }
  #header.active .right-service {
    display: block;
    z-index: 12;
    left: 0;
    text-align: left;
    padding-left: 1rem;
    padding-top: 1.2rem;
  }
  .nav-box {
    padding-top: 0;
  }
  footer .top-btn {
    right: 1rem;
  }
  .navigation.active .depth2 {
    margin-bottom: 0;
  }
}

@media (max-width: 570px) {
  footer address {
    display: block;
  }
}

@media (max-width: 430px) {
  footer .center-wrap .link ul li {
    font-size: 0.8rem;
    padding-right: 0.75rem;
  }
}

@media (max-width: 350px) {
  footer .center-wrap .link ul li {
    padding-right: 0.45rem;
  }
}