/*reset.css*/

body, html{ 
  margin:0; 
  padding:0; 
  width:100%; 
  overflow: visible !important;
  height: auto !important;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
body, html, input, textarea, select, button, table{ 
	font-family: "pretendard", serif;
	-webkit-font-smoothing:antialiased;
 }
form, fieldset, h1, h2, h3, h4, h5, h6, p{ 
  margin:0; 
  padding:0; 
  word-break: keep-all;
}
form, fieldset, button{ 
  border:none;
}
ol, ul, li{ 
  list-style:none; 
  padding:0; 
  margin:0; 
  word-break: keep-all;
}
img{ 
  max-width:100%; 
}
a{ 
  color:inherit; 
}
a, a:hover{ 
  text-decoration:none; 
}

.d-lg-none{ 
  display:none; 
}
.d-lg-block{ 
  display:block; 
}

#nc_container{
  z-index: 9999999999 !important;
}

/*header*/
header{ 
  position:fixed; 
  z-index:99999999; 
  top:0; 
  width:100%; 
  transition:all .3s; 
}
header, header *{ 
  box-sizing:border-box; 
}
.hd_con{ 
  width:100%; 
  max-width: 1480px;
  margin: 0 auto;
  padding:0 20px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lg{ 
  display:block; 
  font-size:20px; 
  line-height:1em; 
  white-space:nowrap;
}
.lg > img{ 
  display:block; 
  width:175px; 
  transition: .3s;
}

.mn{
  display: flex;
  align-items: center;
  gap: 30px;
}

/*gnb*/
#gnb{ 
  position:relative; 
  z-index:5;
}
#gnb > ul{ 
  display:flex; 
  flex-flow:row wrap; 
  padding-left: 0; 
  margin-bottom: 0;
}
#gnb > ul > li{ 
  position:relative; 
  z-index:1; 
  padding:30px 20px;
  transition: .3s;
}
#gnb > ul > li > a{ 
  display:flex;
  align-items: center; 
  padding:6px 0; 
  font-size:16px; 
  font-weight:600; 
  transition: all .3s; 
  color: #fff; 
  position: relative;
  gap: 4px;
}
#gnb > ul > li > a::after{
  content: "";
  width: 0%;
  height: 2px;
  background: linear-gradient(135deg,#F2594A 0%,#E5372A 100%);
  transition: .2s;
  position: absolute;
  left: 0;
  bottom: 0;
}
#gnb > ul > li:hover > a::after{
  width: 100%;
}
#gnb > ul > li > a > span{
  display: inline-block;
  font-size: 11px;
  transition: .2s;
}
#gnb > ul > li > a > span.rotate{
  transform: rotate(180deg);
}
#gnb > ul > li > ul{ 
  position:absolute; 
  z-index:1; 
  top:80%; 
  left:50%; 
  transform: translateX(-50%); 
  display:none; 
  width: 100%; 
  min-width: 230px; 
  box-sizing: border-box; 
  background-color: #fff; 
  border: 1px solid #D9E2E8;
  border-radius: 14px;
  padding: 10px;  
  box-shadow: 0 18px 50px -28px rgba(40,52,60,.4);
}
#gnb > ul > li > ul > li{ 
  position:relative; 
  z-index:1; 
  text-align: center;
}
#gnb > ul > li > ul > li > a{ 
  display:flex;
  align-items: center;
  gap: 6px; 
  padding: 13px 16px;
  border-radius: 10px;
  font-size:15px; 
  white-space:nowrap; 
  position: relative;
  color: #2E3A42;
  font-weight: 700;
  transition: .2s;
}
#gnb > ul > li > ul > li > a > span{
  display: inline-block;
  font-size: 12px;
  color: #8FA4B0;
  font-weight: 500;
}
#gnb > ul > li > ul > li > a:hover{
  background: #E5ECF0;
  color: #EF4836;
}
#gnb > ul > li > ul > li > ul{ 
  position:absolute; 
  z-index:1; 
  top:-10px; 
  left: calc(100% + 15px); 
  padding: 10px 0; 
  display:none; 
  min-width:150px; 
  box-shadow:0 12px 30px -2px rgba(0,0,0,.1); 
  background-color: #fafafa;
}
#gnb > ul > li > ul > li > ul > li > a{ 
  display:block; 
  padding:10px 15px; 
  font-size:14px; 
}

.phone{
  display: flex;
  align-items: center;
  gap: 12px;
}
.phone > span{
  display: inline-block;
  font-size: 17px;
  color: #fff;
  transition: .3s;
}
.phone > p{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  color: #fff;
  font-weight: 800;
  transition: .3s;
}
.phone > p > span{
  display: inline-block;
  font-size: 12px;
  color: #D8392A;
  font-weight: 800;
  padding: 6px 9px;
  border-radius: 7px;
  border: 1px solid #D9E2E8;
  background: #FFF;
}

/* scr */
header.scr{
  border-bottom: 1px solid #D9E2E8;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 24px -20px rgba(0, 0, 0, 0.40);
}
header.scr #gnb > ul > li{
  padding: 24px 20px;
}
header.scr #gnb > ul > li > a{
  color: #52616B;
}
header.scr .phone > span{
  color: #52616B;
}
header.scr .phone > p{
  color: #2E3A42;
}

/* footer */
#footer{
  width: 100%;
  background: #2E3A42;
  padding: 70px 0 40px;
}
.ft_con{
  width: 100%;
  max-width: 1480px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
}
.ft-wrap{
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ft-lg{
  display: flex;
}
.ft-lg img{
  width: 100%;
  max-width: 160px;
}
#fnb > ul{
  display: flex;
  align-items: center;
  gap: 24px;
}
#fnb > ul > li > a{
  color: rgba(255, 255, 255, 0.70);
  font-size: 14px;
  font-weight: 600;
  display: block;
  transition: .2s;
}
#fnb > ul > li > a:hover{
  color: #fff;
}
.ft-bt{
  width: 100%;
}
.ft-bt > p{
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 20px;
}
.ft-bt > h5{
  color: rgba(255, 255, 255, 0.30);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}

/*wrapper*/
.article_mover{ 
  position:absolute; 
  z-index:-1; 
  bottom:100%; 
}

/* modal */
.simple-modal{
  width: 100%;
  height: 100vh;
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 999999999999;
  display: flex;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}
.modal-ov{
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 33, .55);
  backdrop-filter: blur(3px);
}
.modal-cont{
  position: relative;
  width: 100%;
  max-width: 430px;
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 30px 70px -34px rgba(40,52,60,.55);
  transition: .2s;
  opacity: 0;
  transform: translateY(18px) scale(.98);
  transition: opacity .25s ease, transform .25s ease;
}
.modal-cont .x{
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid #D9E2E8;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  color: #52616B;
  font-size: 15px;
  transition: .2s;
}
.modal-cont .x:hover{
  background: #E5ECF0;
  color: #2E3A42;
}
.modal-cont > h5{
  font-size: 24px;
  font-weight: 600;
  color: #2E3A42;
  margin-bottom: 10px;
}
.modal-cont > p{
  font-size: 14px;
  color: #52616B;
  margin-bottom: 30px;
}
.form-box{
  width: 100%;
  margin-bottom: 1rem;
}
.form-box > h5{
  font-size: 13px;
  font-weight: 700;
  color: #52616B;
  margin-bottom: 8px;
}
.form-box > h5 > span{
  color: #D8392A;
}
.form-box > input{
  width: 100%;
  font-size: 15px;
  color: #2E3A42;
  border: 1px solid #D9E2E8;
  border-radius: 12px;
  padding: 14px 1rem;
  background: #fff;
}
.form-box > input::placeholder{
  color: #8FA4B0;
}
.form-box > input:focus{
  outline: none;
  border-color: #C7916B;
  box-shadow: 0 0 0 3px rgba(199,145,107,.14);
}
.form-select{
  width: 100%;
  font-size: 15px;
  color: #2E3A42;
  border: 1px solid #D9E2E8;
  border-radius: 12px;
  padding: 14px 12px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  transition: .2s;
}
.form-select > span{
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  font-size: 13px;
  color: #52616B;
}
.form-select select{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  width: 100%;
  background: transparent;
  border: 0;
  font-size: 15px;
  color: #2E3A42;
}
.form-select select::placeholder{
  color: #8FA4B0;
}
.form-select:hover{
  outline: none;
  border-color: #C7916B;
  box-shadow: 0 0 0 3px rgba(199,145,107,.14);
}
.form-btn{
  width: 100%;
  padding-top: 8px;
}
.formbtn{
  display: flex;
  width: 100%;
  padding: 1rem;
  text-align: center;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg,#F2594A 0%,#E5372A 100%);
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}
.formbtn:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -16px rgba(192, 126, 21, .6);
}

.simple-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.simple-modal.is-active .modal-cont {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* mediaquery */

@media(min-width:1200px){ 
  .d-lg-none{ 
    display:none !important; 
  }
  .d-lg-block{ 
    display:block !important; 
  }
  .d-lg-flex{ 
    display:flex !important; 
  }

  .lg{
    margin-right: 120px;
  }
  .mo-fixed{
    display: none;
  }
  .hd-btn{
    display: none;
  }

  .mt-menu{
    display: none;
  }

  .quick{
    display: block;
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9999999;
  }
  .quick > ul{
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .quick > ul > li > a{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 1px solid #D9E2E8;
    background: #FFF;
    box-shadow: 0 12px 28px -14px rgba(40, 52, 60, 0.45);
    transition: .2s;
    gap: 4px;
    color: #2E3A42;
  }
  .quick > ul > li > a > span{
    font-size: 20px;
    display: inline-block;
    transition: .2s;
  }
  .quick > ul > li > a.kakao{
    gap: 0;
  }
  .quick > ul > li > a.kakao > span{
    font-size: 30px;
    line-height: 1;
  }
  .quick > ul > li > a > p{
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    transition: .2s;
  }
  .quick > ul > li > a:hover{
    background: linear-gradient(135deg,#F2594A 0%,#E5372A 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
  }
  
}

@media(max-width:1600px){
  .quick{
    right: 1rem;
    bottom: 1rem;
  }

  .ft_con{
    max-width: 1300px;
  }
}
@media(max-width:1440px){
  .lg > img{
    width: 160px;
  }
}

@media(max-width:1199px){ 
  .d-none{ 
    display:none !important;
  }
  .d-block{ 
    display:block !important; 
  }
  .d-flex{ 
    display:flex !important; 
  }

  .quick{
    display: none;
  }

  .lg{
    padding: 1rem 0;
  }
  .lg > img{
    width: 150px;
  }
  
  .mo-fixed{
    width: 100%;
    height: 65px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 8888;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #C7916B;
    padding: 0 8px;
  }
  .mo-fixed > a{
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
  }
  .mo-fixed > a > span{
    font-size: 14px;
    line-height: 1;
  }
  .mo-fixed > a.kakao > span{
    font-size: 18px;
  }

  #gnb{
    display: none;
  }

  .phone{
    gap: 10px;
  }
  .phone > span{
    font-size: 16px;
  }
  .phone > p{
    gap: 8px;
    font-size: 21px;
  }
  .phone > p > span{
    padding: 4px 8px;
    border-radius: 6px;
  }

  .mn{
    gap: 20px;
  }

  .hd-btn{
    position: relative;
    z-index: 999;
    font-size: 26px;
    cursor: pointer;
    transition: .3s;
    color: #fff;
  }
  header.scr .hd-btn{
    color: #2E3A42;
  }

  .mt-menu{
    width: 50%; 
    height: 100vh; 
    position: fixed; 
    top: 0; 
    right: -51%; 
    background-color: #fff; 
    z-index: 99998; 
    transition: .8s ease-in-out; 
    padding: 0; 
    display: flex; 
    flex-direction: column;
    align-items: center;
    overflow-y: scroll;
  }
  .mt-menu.mt-open{
    right: 0; 
    box-shadow: 4px 0px 10px 0px rgba(0,0,0,0.1);
  }
  .mt-top{
    width: 100%;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #C7916B;
  }
  .mt-logo{
    display: flex;
    width: 150px;
  }
  .mt-logo img{
    width: 100%;
  }
  .hd-close{
    display: flex;
    color: #fff;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    background-color: #C7916B;
    line-height: 1;
  }
  .mo_mn_mn{
    padding: 10px 0 2rem;
    width: 100%;
  }
  .mo_mn_mn > li > a{ 
    display:block; 
    padding:20px 25px; 
    font-size:15px; 
    font-weight:500; 
    color: #1a1a1a;
    border-bottom: 1px solid #f3f3f3; 
    transition: .2s;
  }
  .mo_mn_mn > li > ul{ 
    display:none; 
    background-color:#f8f9fa; 
  }
  .mo_mn_mn > li > ul > li > a{ 
    display:block; 
    padding:15px 34px 15px; 
    font-size:14px; 
    font-weight:400; 
    color: #666;
    border-bottom: 1px solid #E9ECEF; 
  }
  
  .mo_mn_mn > li > a.more{
    position: relative;
  }
  .mo_mn_mn > li > a.more::after{
    content: ""; 
    width: 10px; 
    height: 2px; 
    background-color: #C7916B; 
    position: absolute; 
    top: 50%; 
    right: 25px; 
    transform: translateY(-50%);
  }
  .mo_mn_mn > li > a.more::before{
    content: ""; 
    width: 2px; 
    height: 10px; 
    background-color: #C7916B; 
    position: absolute; 
    top: 50%; 
    right: 29px; 
    transform: translateY(-50%); 
    transition: .3s;
  }
  .mo_mn_mn > li > a.more.act{
    background-color: #C7916B;
    color: #fff;
  }
  .mo_mn_mn > li > a.more.act::after{
    background-color: #fff;
  }
  .mo_mn_mn > li > a.more.act::before{
    opacity: 0;
    background-color: #fff;
  }

  #footer{
    padding: 40px 0 105px;
  }
  #fnb{
    display: none;
  }
 
}
@media(max-width:768px){
  .pb-btn > a:first-child{
    width: auto;
    flex: 1;
  }
}
@media(max-width:587px){
  .mt-menu{
    width: 100%; 
    right: -101%; 
  }

  .mo_mn_mn > li > a{
    padding: 1rem 25px;
  }
  .mo-fixed{
    height: 60px;
  }

  .phone{
    display: none;
  }
  .lg{
    transition: .3s;
  }
  header.scr .lg{
    padding: 10px 0;
  }
  .lg > img{
    width: 115px;
  }
  .hd-btn{
    font-size: 24px;
  }
  .mo-fixed > a{
    gap: 6px;
    font-size: 15px;
  }
  .mo-fixed > a > span{
    font-size: 12px;
  }
  .mo-fixed > a.kakao > span{
    font-size: 16px;
  }
  .modal-cont{
    padding: 32px 1rem;
    border-radius: 12px;
  }
  .modal-cont > h5{
    font-size: 20px;
  }
  .modal-cont > p{
    font-size: 13px;
    line-height: 1.6;
  }

  .mt-logo{
    width: 115px;
  }

  .ft-lg img{
    max-width: 115px;
  }
  .ft-wrap{
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .ft-bt > p{
    font-size: 13px;
    margin-bottom: 1rem;
  }
  #footer{
    padding: 40px 0 100px;
  }
}


@keyframes blink{
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
  100% {
    opacity: 1;
  }
}
@keyframes float{
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}