@charset "UTF-8";

/*******************************************************************************************************************************
 *** 헤더
*******************************************************************************************************************************/
header.header {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  width: 100%;
  color: #353535;
  background: url(../img/topbg.png) bottom center;
}

header.header .tophead {
  background: #4293ac;
  color: #fff;
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 2px;
  font-size: 15px;
  letter-spacing: 2px;
  transition: 0.5s;
}

header.header.fix .tophead {
  height: 0px;
  padding: 0;
  opacity: 0;
  visibility: hidden;
}

header.header .tophead span {
  border-right: 2px solid #ffffff65;
  padding: 0 2rem;
}

header.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  height: 100%;
}

.fix {
  border-top: 4px solid #42ac77;
  border-bottom: 1px solid #ddd;
  margin-top: -3px;
}


header.header .logo img {}

.logo {
  width: 300px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}



nav .logo {
  display: none;
}

nav ul {
  display: flex;
}

nav ul li a {
  display: block;
  font-weight: 600;
  padding: 30px 34px;
  transition: 0.2s;
  font-size: 17px;

}

nav ul li a:hover {
background: #42ac77;
}

nav ul li a.on {}


/* 드롭다운 */
nav .drop {
  position: relative;
}

.toggle {
  width: 100%;
  background: #005c2ec9;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: none;
}

.toggle a {
  font-size: 16px;
  font-weight: normal;
  padding: 14px 15px;
  border-bottom: 1px solid #ffffff42;
  color: #ffffff !important;
}

.toggle a:hover {
  opacity: 0.6;
}

.toggle a:last-child {
  border: none;
}


/* 드롭다운 모바일 */
.toggle_m {
  width: 100%;
  background: #474747d0;
  padding: 1rem 0;
  position: relative;
  border-radius: 10px;
  display: none;
}

.toggle_m a {
  font-size: 17px;
  font-weight: normal;
  padding: 5px 10px;
  border-bottom: 1px solid #ccc;

}

.toggle_m a:hover {
  opacity: 0.6;
}




/* hamburger Button */
input[id=hamburger] {
  display: none;
}

label[for=hamburger] {
  /*border: 1px solid red;*/
  width: 30px;
  height: 20px;
  display: block;
  position: relative;
  cursor: pointer;
  z-index: 2000;
}

label[for=hamburger] div {
  display: none;
  position: absolute;
  height: 2px;
  background-color: #000;
  width: 100%;
  left: 0;
  transition: 0.3s;
}

label[for=hamburger] div:nth-child(1) {
  top: 0;
}

label[for=hamburger] div:nth-child(2) {
  top: 50%;
}

label[for=hamburger] div:nth-child(3) {
  top: 100%;
}

input[id=hamburger]:checked+label[for=hamburger] div:nth-child(1) {
  top: 50%;
  transform: rotate(45deg);
  background-color: #000000;
}

input[id=hamburger]:checked+label[for=hamburger] div:nth-child(2) {
  opacity: 0;
}

input[id=hamburger]:checked+label[for=hamburger] div:nth-child(3) {
  top: 50%;
  background-color: #000000;
  transform: rotate(-45deg);
}



/*quick 시작*/
.quick {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  opacity: 0;
  transition: 0.8s;
}

.view {
  opacity: 1;
}

.quick .call {
  background-color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 14px;
}

.quick .call img {
  transition: 0.5s;
}

.quick .call i {
  font-size: 24px;
  line-height: 50px;
}

.quick .call:hover img{
  filter: invert(40%) sepia(98%) saturate(424%) hue-rotate(59deg) brightness(100%) contrast(86%);
}


/*quick 끝//*/

/**PC 모바일 이미지 사이즈 조정 시작**/
.d-block {
  display: block;
}

.m-block {
  display: none;
}

/**PC 모바일 이미지 사이즈 조정 끝**/


/*******************************************************************************************************************************
 *** PC ~ 테블릿
*******************************************************************************************************************************/
@media (max-width: 1000px) {
  header.header {
    width: 100%;
  }


  label[for=hamburger] div {
    display: block;
  }


  nav {
    position: absolute;
    left: -300px;
    top: 0;
    z-index: 999;
    width: 270px;
    height: 100vh;
    background: rgba(255, 255, 255);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 0 2rem;
    transition: 0.2s;
    box-shadow: 2px 0 20px 0 rgba(0, 0, 0, 0.15);

  }

  nav .logo {
    display: block;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding-top: 1rem;
  }

  nav .logo img {}


  nav ul {
    display: block;
    padding: 0px;
    padding-top: 60px;
  }

  nav ul li {
    border-bottom: 1px solid #ddd;
  }

  nav ul li.drop {
    background: url(../img/m_arrow.png) no-repeat;
    background-size: 16px;
    background-position-y: 18px;
    background-position-x: right;
    cursor: pointer;
  }

  .arrow_x {
    background-image: url(../img/m_arrow_X.png) !important;
  }

  nav ul li a {
    color: #333 !important;
  }

  nav ul li>a {
    display: inline-block;
    font-size: 18px;
    padding: 14px 0px;
  }

  nav ul li.drop>a {
    pointer-events: none;
  }

  div.toggle {
    display: none;
    opacity: 0;
    visibility: hidden;
  }

  div.toggle_m {
    background: #eeeeee;
    display: none;
  }


  .hamburger {
    display: block;
  }


  input[id=hamburger]:checked~nav {
    left: 0
  }



}

/*******************************************************************************************************************************
 *** 모바일
*******************************************************************************************************************************/



/*******************************************************************************************************************************
 *** 푸터
*******************************************************************************************************************************/
footer {
  width: 100%;
  padding: 60px 0;
  background-color: #f0f0f0;
  color: #333333;
}

footer i {
  display: inline-block;
  padding-bottom: 2rem;
}

footer .flex {
  display: grid;
  grid-template-columns: 1fr 0.5fr;
  border-bottom: 1px solid #999;
  padding-bottom: 2rem;
}

.foot_con {
  font-size: 15px;
  line-height: 38px;
  display: flex;
  grid-gap: 70px;
}

.foot_con .icon_text {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  grid-gap: 20px;
}

.foot_con img {
  width: 18px;
}

footer .copy {
  padding: 3rem 0 0rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .logo img {
  filter: grayscale(1) brightness(0.2);
  opacity: 0.33;
  max-width: 250px;
}

footer span {
  padding-right: 10px;
  margin-right: 5px;
  border-right: 1px solid #686868;
}

/*******************************************************************************************************************************
 *** PC ~ 테블릿
*******************************************************************************************************************************/
/*******************************************************************************************************************************
 *** 모바일
*******************************************************************************************************************************/
@media (max-width:768px) {
  .logo {
    width: 250px;
  }

  header.header .tophead {
    display: none;
  }

  header.header .container {
    height: 90px;
  }


  footer {
    padding: 30px 0;
  }

  .foot_con {
    font-size: 14px;
    line-height: 30px;
    flex-direction: column;
    grid-gap: 0px;
  }

  footer .copy {
    flex-direction: column;
    grid-gap: 10px;
    align-items: flex-start;
  }

  footer .flex {
    display: grid;
    grid-template-columns: 1fr;
    border-bottom: 1px solid #999;
    padding-bottom: 2rem;
  }

  footer .logo {
    display: none;
  }


  /**PC 모바일 이미지 사이즈 조정 시작**/
  .d-block {
    display: none;
  }

  .m-block {
    display: block;
  }


  /* quick */
  /*quick 시작*/
  .quick {
    top: auto;
    bottom: 20px;
    transform: translateY(0%);
    transition: 0.8s;
  }

  /**PC 모바일 이미지 사이즈 조정 끝**/
}