@charset "utf-8";
/** Site Common **/

.site {
  max-width: 1820px;
  margin: 0 auto;
  padding: 0 40px;
}

.site-header {
  width: 100%;
  margin: 50px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-mobile {
  display: none;
}

h1.site-logo a {
  display: block;
  width: 100px;
}

h1.site-logo a img {
  width: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

ul.nav-gnb {
  display: flex;
  align-items: center;
  gap: 38px;
}

ul.nav-gnb li a {
  display: block;
  padding: 6px 10px;
  font-size: 18px;
  font-weight: 500;
  transition: color .15s ease;
}

ul.nav-gnb li a:hover {
  color: #B7BECA;
}

ul.nav-gnb li:last-of-type a { /* 견적문의 */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 35px;
  padding: 13px 24px;
  background-color: #1E1E1E;
  color: #FFF;
  font-size: 15px;
  line-height: 1.0em;
  transition: background .15s ease;
}

ul.nav-gnb li:last-of-type a:hover {
  background-color: #B7BECA;
}

.ico-instagram {
  display: flex;
  width: 38px;
  height: 38px;
  background-color: #EAEAEA;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: background .1s ease;
}

.ico-instagram:hover {
  background-color: #E1E1E1;
}

.site-header-mobile, .mobile-screen {
  display: none;
}

.container {
  padding-bottom: 150px;
}

.site-footer {
  border-top: 1px solid #1E1E1E;
  padding: 40px 0 80px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 60px;
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-address p {
  color: #666;
  font-size: 13px;
  line-height: 1.6em;
  word-break: keep-all;
}

.footer-address p em {
  color: #1E1E1E;
  font-weight: 600;
  margin-right: 10px;
}

.footer-address .contact {
  display: flex;
  gap: 20px;
}

.footer-address .contact p em {
  margin-right: 0.6em;
}

p.site-rights {
  color: #B7BECA;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-top: 28px;
}

.fix-bottom {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  bottom: 24px;
  right: 24px;
  z-index: 10;
}

.fix-bottom .call-us img.numbers {
  width: 153px;
}

.fix-bottom .ico-call {
  display: none;
  width: 62px;
  height: 62px;
  background: var(--primary) url(../images/ico-phone.svg) 50%;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.2);
}

#page-up {
  display: block;
  width: 62px;
  height: 62px;
  background: #1E1E1E url(../images/ico-page-up.svg) 50%;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.2);
}

/** Contents **/
.site-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}

/*
 * RWD
 * Break Point 1024px
 */
@media screen and (max-width: 1480px) {
  /* */
}

@media screen and (max-width:1024px) {
  :root {
    --header-height: 58px;
  }

  .fix-bottom {
    bottom: 16px;
    right: 16px;
  }

  .fix-bottom #page-up, .fix-bottom img.numbers {
    display: none;
  }

  .fix-bottom .ico-call {
    display: block;
  }

  .site {
    padding: 0 24px;
  }

  .site-header {
    display: none;
  }

  html.nav-open .mobile-header h1.mobile-logo {
    display: none;
  }

  main.site-main {
    margin-top: var(--header-height);
  }

  .site-mobile {
    display: block;
    z-index: 100;
  }

  header.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: #FFF;
    padding: 0 16px;
    z-index: 100;
  }

  header.mobile-header .ico-instagram {
    width: 32px;
    height: 32px;
    padding: 2px;
    background-color: transparent;
    right: 48px;
  }

  .mobile-header h1.mobile-logo a {
    display: flex;
    width: 64px;
    align-items: center;
  }

  .mobile-header h1.mobile-logo a img {
    height: 100%;
  }

  .mob-toggle {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 38px;
    height: 30px;
    padding: 7px;
    z-index: 9000;
    font-size: 24px;
  }

  .mob-toggle:before, .mob-toggle:after {
    background-color: var(--dark);
    content: '';
    display: block;
    height: 2px;
    transition: all 0.1s ease-in-out;
  }

  .mob-toggle:before {
    box-shadow: 0 7px 0 0px var(--dark);
    margin-bottom: 12px;
  }

  .mob-toggle--active:before {
    background-color: var(--dark);
    box-shadow: 0 0 0 var(--dark);
    transform: translateY(6px) rotate(45deg);
  }

  .mob-toggle--active:after {
    background-color: var(--dark);
    transform: translateY(-8px) rotate(-45deg);
  }

  .mob-toggle:hover {
    cursor: pointer;
  }

  .mobile-screen {
    display: block;
    position: fixed;
    z-index: 10;
    top: 0px;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 100vh;
    overflow-y: auto;
    padding-top: 50px;
    opacity: 0;
    visibility: hidden;
    background-color: #FFF;
  }

  .mobile-screen--open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-container {
    height: calc(100vh - 50px);
    padding: 24px 16px;
    overflow-y: auto;
  }

  .mobile-nav-list > .menu-item {
    border-bottom: 1px solid rgb(255 255 255 / 12%);
  }

  .mobile-nav-list > .menu-item > a {
    display: block;
    padding: 18px 8px;
    color: var(--dark);
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid #DEDEDE;
  }

}

/** Tablet 800px **/
@media screen and (max-width: 800px) {
  /** Container **/
  .container {
    padding-bottom: 100px;
  }
}

/** Tablet, Mobile 640px **/
@media screen and (max-width: 640px) {
  /** Site **/
  .site {
    padding: 0 16px;
  }

  /** Footer **/
  .site-footer {
    padding: 40px 8px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    grid-template-rows: 32px 1fr;
    gap: 20px 0;
  }

  .footer-logo img {
    height: 100%;
  }

  .footer-address {
    gap: 5px;
  }

  .footer-address .contact {
    flex-direction: column;
    gap: 5px;
  }

  p.site-rights {
    margin-top: 18px;
  }

}

/** Mobile 480px **/
@media screen and (max-width: 480px) {
  /*** Container ***/
  .container {
    padding-bottom: 60px;
  }
}