@charset "UTF-8";

/*******************************************************************************************************************************
 *** 헤더
*******************************************************************************************************************************/
header.header {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  width: 100%;
  color: #353535;

}

header.header .tophead {
  background: #ec8890;
  color: #fff;
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 7px;
  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%;
  height: 90px;
}

.fix {
  border-top: 4px solid #ec8890;
  border-bottom: 1px solid #ddd;
  background: url(../img/topbg.png) bottom center;
}


header.header .logo img {}

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



nav .logo {
  display: none;
}

nav ul {
  display: flex;
}

nav ul li a {
  display: block;
  margin: 0 9px;
  font-weight: 600;
  padding: 8px 20px;
  transition: 0.2s;
  border-radius: 3px;
  font-size: 17px;

}

nav ul li a:hover {
color: #ec8890;
}

nav ul li a.on {}


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

.toggle {
  width: 110%;
  background: #ffffff;
  padding: 10px 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 4px;
  display: none;
  border: 2px solid #ec8890;
  box-shadow: 0 6px 12px #22222223;
}

.toggle a {
  font-size: 15px;
  font-weight: normal;
  padding: 4px 15px;
  border-bottom: 1px solid #ddd;
  color: #333 !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;
  bottom: 20px;
  z-index: 200;
}

.quick a.call {
  background-color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  display: block;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

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

.quick button {
  text-align: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #333;
  margin-top: 6px;
  color: #fff;
}

/*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: 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: #f2f2f2;
  color: #222222;
  border-top: 1px solid #ddd;
}

.foot_con {
  font-size: 14px;
  line-height: 1.9;
}

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

footer .copy div:last-child {
  text-align: right;
}

footer img {
  opacity: 0.5;
  width: 70%;
}

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


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

  header.header .tophead {
    display: none;
  }

  footer {
    padding: 20px 0;
  }

  .foot_con {
    font-size: 13px;
  }

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

  .m-block {
    display: block;
  }

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