/* 초기화 */
:root {
	--transition-basic: .3s;
	--transition-custom: .4s cubic-bezier(0.4, 0, 0.2, 1);
	--transition-custom2: 1s ease-in-out;
	--transition-custom3: 1.5s ease;
}

*, *::before, *::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	overflow-x: hidden;
	color: #191919;
  font-family: 'Pretendard', sans-serif;
	font-size: 62.5% !important;
	word-break: keep-all;
	word-wrap: break-word;
	box-sizing: border-box;
	-webkit-overflow-scrolling: touch;
	-webkit-tap-highlight-color : transparent !important;
	animation:entry .3s ease forwards;
  opacity: 0;
}

/* html::-webkit-scrollbar {
	display: none;
}

html {
	-ms-overflow-style: none;
	scrollbar-width: none;
} */

body {
	font-size: 1.6rem;
}

a {
	color: inherit;
	outline: none;
	text-decoration: none;
}

ol, ul {
	list-style: none;
}

b, strong {
	font-weight: 700;
}

img {
	max-width: 100%;
}

button {
	font-family: inherit;
	border: none;
	outline: none;
	cursor: pointer;
	color: inherit;
	-webkit-appearance: none;
	background: none;
}

select {
	outline: none;
	border: 1px solid transparent;
	font-family: inherit;
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
}

input, textarea {
	font-family: inherit;
	outline: none;
	border: 1px solid transparent;
}

:focus {
	outline: none;
}

::placeholder {
	color:#A4A4A4;
}

em, i {
	font-style: normal;
}

@-webkit-keyframes entry {
	to{opacity: 1;}
}

@keyframes entry {
	to{opacity: 1;}
}

@media screen and (max-width:1200px) {

}
@media screen and (max-width:1024px) {

}
@media screen and (max-width:768px) {

}
@media screen and (max-width:576px) {

}


.hidden {
	overflow: hidden;
}

/* 블라인드 */
.blind {
	overflow: hidden;
	position: absolute;
	width: 1px;
	height: 1px;
	clip: rect(1px, 1px, 1px, 1px);
}


/* 줄바꿈 */
  br.mo-only{
    display: none;
  }
@media screen and (max-width:1200px) {
	.lg {
		display: none;
	}
}
@media screen and (max-width:1024px) {
	.md {
		display: none;
	}
}
@media screen and (max-width:768px) {
	.sm {
		display: none;
	}
}
@media screen and (max-width:576px) {
	.xs {
		display: none;
	}
  br.mo-only{
    display: block;
  }
}


/* 블록 */
.d-block {
	display: block;
}
.d-inline-block {
	display: inline-block;
}


.ellip {
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clamp-1 {
	-webkit-line-clamp: 1;
}

.clamp-2 {
	-webkit-line-clamp: 2;
}


/* 컨테이너 */
.container {
	max-width:1500px;
	width: 95%;
	margin:0 auto;
  position: relative;
}
.container.w1850{
  max-width: 1850px;
}


/* 메인 */
#main {
}

/* 헤더 */
/*header*/
#header{
  position: relative;
  border-bottom: 1px solid #D2D2D2;
  z-index: 11;
}
#header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#header .gnb{
  width: 100%;
}

#header .gnb > ul{
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  justify-content: center;
}


#header .gnb > ul > li > a{
  font-size: 2.2rem;
  font-weight: 500;
  padding: 32px 50px;
  display: block;
}
#header .gnb > ul > li:hover > a{
  color: #6E1D23;
  font-weight: 500;
}

#header .gnb > ul > li{
  position: relative;
}
#header .gnb .depth02{
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 20px 0;
  z-index: 9;
  width: 100%;
  text-align: center;
}
#header .gnb .depth03{
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px 0;
    z-index: 9;
    width: 100%;
    text-align: center;
}
#header .gnb .depth02 li a{
  font-size: 1.6rem;
  padding: 10px 0;
  display: block;
}
#header .gnb .depth02 li:hover a{
  color: #6E1D23;
  font-weight: 500;
}
#header .header-bg{
	position: absolute;
	width: 100%;
	top: 100%;
	left: 0;
	background-color: #fff;
	content: '';
	border-top: 1px solid #D2D2D2;
	opacity: 0;
	visibility: hidden;
}

#header.hover .header-bg{
	opacity: 1;
	visibility: visible;
}
#header.hover .gnb .depth02{
	opacity: 1;
	visibility: visible;
}

#header .head-air-box{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

#header .head-air-box .head-air{
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
}
#header .head-air-box .logo{
  left: 0;
}
#header .head-air-box .head-right{
  right: 0;
}

#header .head-right .head-btn{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background-color: #6E1D23;
  border-radius: 5px;
}

/*moblie*/
#header .m_btn {
  display: none;
  width: 24px;
  text-align: right;
  cursor: pointer;
  flex-direction: column;
  align-items: flex-end;
  padding: 15px 0;
}

#header .m_btn i {
  display: inline-block;
  width: 100%;
  height: 2px;
  margin: 3px 0;
  background: #000;
  transition: all 0.5s;
}

#header .m_btn i:nth-of-type(2) {
  width: 84%;
}

#header .m_btn.on i:nth-of-type(1) {
  margin: 11px 0 -2px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
}

#header .m_btn.on i:nth-of-type(2) {
  width: 0;
  margin: 0;
}

#header .m_btn.on i:nth-of-type(3) {
  margin: 0 0 11px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}

.m_menu_bg {
  z-index: 101;
  position: fixed;
  left: 0;
  top: 0;
  display: none;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .7);
  cursor: pointer;
}

.m_menu {
  z-index: 102;
  position: fixed;
  right: -100%;
  top: 0;
  width: 500px;
  max-width: 80%;
  height: 100%;
  background-color: #fff;
  box-sizing: border-box;
  transition: all 0.5s;
  overflow-y: auto;
}

.m_menu.on {
  right: 0;
}

.m_menu .top_box {
  position: relative;
  padding: 18px 10px;
  box-sizing: border-box;
}

.m_menu .top_box .logo-img{
  max-height: 20px;
}

.m_menu .top_box .close_btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 23px;
  height: 23px;
}

.m_menu .top_box .close_btn i {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #333;
}

.m_menu .top_box .close_btn i:first-of-type {
  -webkit-transform: rotate(45deg) translate(8px, 8px);
  -moz-transform: rotate(45deg) translate(8px, 8px);
  -ms-transform: rotate(45deg) translate(8px, 8px);
  -o-transform: rotate(45deg) translate(8px, 8px);
  transform: rotate(45deg) translate(8px, 8px);
}

.m_menu .top_box .close_btn i:last-of-type {
  -webkit-transform: rotate(-45deg) translate(-6px, 7px);
  -moz-transform: rotate(-45deg) translate(-6px, 7px);
  -ms-transform: rotate(-45deg) translate(-6px, 7px);
  -o-transform: rotate(-45deg) translate(-6px, 7px);
  transform: rotate(-45deg) translate(-6px, 7px);
}

.m_menu .login_box {
  padding: 10px 0;
  background-color: #6E1D23;
  text-align: center;
}

.m_menu .login_box a {
  position: relative;
  padding: 0 30px;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: -0.04em;
}

/* .m_menu .login_box a:first-of-type:before {
  content: '';
  position: absolute;
  right: -1px;
  top: calc(50% - 7px);
  width: 2px;
  height: 15px;
  background-color: #fff;
} */

.m_menu .gnb_box {
  border-top: 1px solid #ddd;
}

.m_menu .gnb_box > ul > li {
  border-bottom: 1px solid #dddddd;
}

.m_menu .gnb_box > ul > li > a {
  position: relative;
  display: block;
  padding: 13px 18px;
  font-size: 1.6rem;
  font-weight: bold;
  color: #222222;
  letter-spacing: -0.04em;
  box-sizing: border-box;
}

.m_menu .gnb_box .depth02 {
  display: none;
  padding: 10px 0;
  background-color: #000;
}

.m_menu .gnb_box .depth02 li a {
  position: relative;
  display: block;
  padding: 7px 18px;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: -0.04em;
  box-sizing: border-box;
}



@media all and (max-width:1400px){
  #header .gnb > ul > li > a{padding: 31px 20px;}
}

@media all and (max-width: 1024px) {
  #header .m_btn {
    display: flex;
  }
  #header .gnb,
  #header .head-air-box .head-right {
    display: none;
  }

  #header .head-air-box,
  #header .head-air-box .logo{
    position: unset;
    transform: none;
    width: auto;
  }

   .m_menu .gnb-contact-box{
    background-color:#6E1D23;
    color:#fff; 
    position:absolute; 
    bottom : 0px; 
    width : 100%; 
    display:flex; 
    flex-direction:column;
    padding: 10px;
}

  .m_menu .gnb-contact-box .gnb-contact-info{
      display: flex;
      align-items: center;
      gap : 16px;
      height: 40px;
      box-sizing: border-box;
  }

}

@media all and (max-width:768px){
  #header .head-air-box .logo img{
    max-height: 26px;
  }
}

@media all and (max-width:576px){
  #header .head-air-box .logo img{
    max-height: 20px;
  }
}

/* footer */
#footer{
  padding: 66px 0;
  background-color: #6E1D23;
}

#footer .foot-info{
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding-bottom: 20px;
}
#footer .info-area{
  display: flex;
  max-width: 600px;
  width: 100%;
  justify-content: space-between;
}

#footer .info-box.contains-privacy{
  display: flex;
  flex-direction: column;
  gap : 20px;
}

#footer .sns-list{
  display: flex;
  align-items: center;
  gap: 25px;
}
#footer .sns-list .sns-btn{
  opacity: 0.2;
  transition: .5s;
}
#footer .sns-list .sns-btn:hover{
  opacity: 1;
}

#footer .branch-info{
  display : flex;
  flex-direction: column;
  gap : 5px;
  padding-top : 30px;
  border-top : 1px solid #fff;
}

#footer .branch-info .info-txt{
  line-height: 140%;
}

@media all and (max-width:1024px){
  #footer{
    padding: 55px 0;
  }
  #footer .info-area{
    max-width: 450px;
  }
}

@media all and (max-width:768px){
  #footer{
    padding: 40px 0;
  }
  #footer .f_logo{
    display: flex;
    justify-content: center;
  }
  #footer .f_logo img{
    max-height: 24px;
  }

  #footer .foot-info{
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }
  #footer .sns-tit{
    text-align: center;
  }

  #footer .sns-list .sns-btn img{
    max-height: 30px;
  }

}

@media all and (max-width:576px){
  #footer{
    padding: 35px 0;
  }
  #footer .info-area{
    flex-wrap: wrap;
    text-align: center;
    max-width: 100%;
    gap: 10px 0;
  }
  #footer .info-area .info-box{
    width: 100%;
  }
  #footer .info-area .info-box.mo-w50{
    width: 50%;
  }
}

/* quick */
.quick-menu{
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 10px 0 0 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 11;
}
.quick-menu .quick-btn{
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  background-color: #6E1D23;
}
.quick-menu .quick-btn:first-child:after{
  content: '';
  width: calc(100% - 20px);
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  background-color: rgba(255,255,255,.2);
  position: absolute;
  height: 1px;
}
.quick-menu .top-btn{
  padding: 8px 0;
  background-color: #ED9F3A;
  border-radius: 0 0 0 10px;
}

@media all and (max-width:1024px){
  .quick-menu .quick-btn{
    padding: 10px 8px;
  }
}

@media all and (max-width:768px){
  .quick-menu{
    display: none;
  }
}


/* Ele Position */
.ele-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity var(--transition-custom3), transform var(--transition-custom3);
}

.ele-delay1 {
  transition-delay: .1s;
}

.ele-delay2 {
  transition-delay: .2s;
}

.ele-delay3 {
  transition-delay: .3s;
}

.ele-delay4 {
  transition-delay: .4s;
}

.ele-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.yellow-under-line{
  display: inline-block;
  position: relative;
  z-index: 2;
}
.yellow-under-line:before{
  content: '';
  width: calc(100% + 20px);
  left: -10px;
  bottom: -3px;
  height: 20px;
  background-color: #FFD35B;
  position: absolute;
  z-index: -1;
}
.yellow-under-line.ani:before{
  width: 0;
  transition: .5s .5s width;
}
.yellow-under-line.in-view:before{
  width: calc(100% + 20px);
}

@media all and (max-width:768px){
  .yellow-under-line:before{
    left: 0px;
    height: 10px;
    bottom: 0;
  }
  .yellow-under-line.in-view:before{
    width: 100%;
  }
}



/***** 개인정보 처리방침 팝업 모달 ******/

#footer .modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

#footer .modal-overlay.active {
  display: flex;
}

#footer .modal-content {
  position: relative;
  width: 680px;
  /*
  min-width: 400px;
  max-width: 800px;
  */
  height: 500px;
  background-color: #fff;
  border-radius: 10px;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
}

@media (max-width : 1024px) {
  #footer .modal-content{
    width: 500px;
    height: 400px;
    padding: 40px 32px;
  }
}

@media (max-width : 768px) {
  #footer .modal-content{
    padding: 36px 24px;
  }
}

@media (max-width : 576px) {
  #footer .modal-content{
    width: 90%;
    padding: 30px 20px;
  }
}

#footer .modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  color: #fff;
  font-size: 48px;
  font-weight: 200;
  cursor: pointer;
}

#footer .policy-wrap {
  flex: 1;                
  overflow-y: auto;       
  border: 1px solid #ddd;
  padding: 20px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

#footer .privacy-button{
  cursor: pointer;
}

#footer .policy-wrap p {
  overflow-y: auto;
}
