/*============================================================
	For Small Desktop
==============================================================*/

@media (min-width: 1200px) {
  .sticky-logo {
    width: 180px;
    height: auto;
    image-rendering: -webkit-optimize-contrast; /* 크롬, 사파리 등에서 선명하게 */
    image-rendering: high-quality; 
  }
  .container {
    padding: 0 23rem;
  }
  .row {
    margin: 0;
  }

  .s-container {
    padding: 0 0 0 23rem;
  }

  .about .service-item {
    padding-bottom: 2rem;
  }
  .swiper-pagination {
    display: none;
  }
  .about .visual-slider .awe-section {
    height: 780px;
  }
  .navbar-fixed-top {
    padding-top: 0px;
  }
  .container {
    padding: 0 23rem;
  }

  .main-visual {
    height: 900px;
  }
  .main-visual .screen {
    position: absolute;
    width: 900px;
    margin-top: 180px;
  }
  .main-text {
    position: absolute;
    margin-top: 320px;
    text-align: left;
  }
  .main-text h5 {
    font-size: 16px;
  }
  .main-text .title {
    font-size: 60px;
    padding-top: 14px;
    font-weight: 300;
    line-height: 1.2em;
  }
  .main-text .title strong {
    display: block;
  }
  .about .service-icon {
    width: 150px;
    height: 150px;
  }

  .main-visual {
    height: 900px;
    position: relative;
  }
  .main-visual .screen {
    position: absolute;
    margin-top: 200px;
  }

  .main-text {
    position: absolute;
    margin-top: 300px;
    text-align: left;
  }
  .main-text h5 {
    font-size: 16px;
  }
}
/* 

@media (min-width: 980px) and (max-width: 1150px) {
.carousel-caption h3 {
  font-size: 45px;
}
.member-thumb {
  width: auto;
}
} */

/*============================================================
	Tablet (Portrait) Design for a width of 768px
==============================================================*/

@media (min-width: 768px) and (max-width: 979px) {
  .carousel-caption h2 {
    font-size: 55px;
  }
  .carousel-caption h3 {
    font-size: 36px;
  }
  .service-item {
    margin: 0 auto 30px;
    text-align: center;
    width: 325px;
  }
  .service-icon {
    width: 150px;
    height: 150px;
  }
  .service-desc {
    margin-left: 0;
    position: relative;
    top: 0;
  }
  .work-item {
    width: 33%;
  }
  .member-thumb .overlay h5 {
    margin: 25px 0;
  }
  .member-thumb {
    margin: 0 auto;
  }
  #facts {
    background-position: center top !important;
  }
  .counters-item {
    margin-bottom: 30px;
  }
  .counters-item i {
    margin: 0 0 15px;
  }
  .counters-item strong {
    font-size: 45px;
  }
  .contact-form .name-email input {
    margin-right: 0;
    width: 100%;
  }
  .footer-social {
    margin-top: 45px;
  }
  .footer-single {
    margin-bottom: 30px;
  }
}

/*============================================================
	Mobile (Portrait) Design for a width of 320px
==============================================================*/

@media only screen and (max-width: 767px) {
  /* .swiper-slide {
        width: 100% !important;
    } */
  .sec-sub-title p {
    font-size: 14px;
  }
  .carousel-caption h2 {
    font-size: 35px;
  }
  .carousel-caption h3 {
    font-size: 22px;
  }
  .carousel-caption p {
    font-size: 14px;
  }
  .social-links {
    margin-top: 20%;
  }
  .service-item {
    margin: 0 auto 30px;
    text-align: center;
    width: 280px;
  }
  .service-icon {
    width: 150px;
    height: 150px;
  }

  .service-desc {
    margin-left: 0;
    position: relative;
    top: 0;
  }
  .work-item {
    left: 5% !important;
    width: 90%;
  }
  .team-member {
    margin-bottom: 30px;
  }
  .team-member:last-child {
    margin-bottom: 0;
  }
  .member-thumb {
    margin: 0 auto;
  }
  #facts {
    background-position: center top !important;
  }
  .counters-item {
    margin-bottom: 30px;
  }
  .contact-address {
    margin-bottom: 30px;
  }
  .footer-social {
    margin-top: 20px;
    text-align: center;
  }
  .footer-social li {
    display: inline-block;
  }
  .footer-social li a {
    margin: 0 10px;
  }
  .footer-single {
    margin-bottom: 30px;
  }
}

.pc-only,
.mySwiper-pc-only {
  display: block;
}
.mo-only,
.mySwiper-mo-only {
  display: none !important;
}
/************ 모바일 ******************/

@media (min-width: 320px) and (max-width: 1024px) {
  .sticky-logo {
    width: 150px;
    height: auto;
    image-rendering: -webkit-optimize-contrast; /* 크롬, 사파리 등에서 선명하게 */
    image-rendering: high-quality; 
  }
  .pc-only,
  .mySwiper-pc-only {
    display: none !important;
  }
  .mo-only,
  .mySwiper-mo-only {
    display: block !important;
  }
  .brochure .btn-down {
    margin-top: 0;
    height: 4rem;
    width: 14rem;
  }
  .container {
    padding: 0 3rem;
  }
  .main-visual {
    height: 700px;
    position: relative;
  }
  .main-visual .screen {
    position: relative;
    margin-top: 34rem;
    margin-left: -4rem;
    min-width: 120%;
  }
  .text-center {
    position: absolute;
  }
  .main-text {
    position: relative;
    top: 113px;
    text-align: left;
  }
  .title strong {
    display: block;
    font-family: 'Noto Sans';
  }
  .container > .navbar-header {
    margin: 0rem 0 0;  /* 수정 3rem -> 0 */
  }
  .main-text h5 {
    font-size: 12px;
  }
  .main-text h2 {
    font-size: 4rem;
    font-weight: 300;
    line-height: 4.6rem;
    margin-top: 1.4rem;
    letter-spacing: -0.1rem;
  }
  .row {
    margin-right: 0;
    margin-left: 0;
  }
  .brochure {
    padding-top: 2rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }

  .work-item {
    left: 0 !important;
    width: 100%;
  }
  .darkblue .navbar-header {
    margin-top: 1rem;
  }
  .fancybox-nav span {
    margin-top: 600px;
  }
  .fancybox-prev span {
    width: 48px;
    height: 48px;
    left: 20px;
  }
  .fancybox-next span {
    width: 48px;
    height: 48px;
    right: 20px;
  }
  .contact {
    padding: 0;
  }
  .contact-us button {
    width: 100% !important;
    margin-bottom: 1rem;
  }
  .inner-btn-next,
  .inner-btn-pre {
    width: 40px;
    height: 40px;
    top: 330px;
  }
  .inner-btn-next {
    right: 2rem;
  }
  .inner-btn-pre {
    left: 2rem;
  }
  .sub-h3 {
    font-size: 2rem;
    letter-spacing: -1px;
    line-height: 2.8rem;
  }
  .sub-h3 span {
    display: inline-block;
  }
  .service-icon {
    width: 13rem;
    height: 13rem;
  }
  .sub-h4 {
    font-size: 1.4rem;
    font-weight: 800;
  }
  .work-list {
    height: auto !important;
    min-height: unset !important;
  }
  .work-list .title,
  .work-list .company {
    font-size: 1.6rem;
  }
  .work-list .title {
    padding-bottom: 1rem;
  }
  .work-list .info {
    padding-bottom: 2rem;
  }
  .contact-us .info .about {
    width: 180px;
  }
  .contact-us,
  .contact-us .info {
    height: auto;
  }
  .contact-us .pic {
    height: 390px;
  }

  /* works modal */
  .works-modal-swiper .img-pc {
    display: none;
  }
  .works-modal-swiper .img-mo {
    display: block;
  }

  .layer-header .close {
    right: 30px;
    top: 32px;
    width: 22px;
    height: 22px;
    opacity: 1;
    z-index: 1040;
  }
  .layer-header .close:before,
  .layer-header .close:after {
    left: 10px;
    content: '';
    height: 20px;
    width: 2px;
    background-color: #000;
  }
}
