@import url("https://fonts.googleapis.com/css2?family=Nanum+Myeongjo:wght@400;700;800;900&display=swap");

@import url("http://www.openhiun.com/hangul/nanumbarungothic.css");

a {
  color: #323232;
  text-decoration: none;
}
.inner {
  width: calc(100% - 6.9444vw);
  margin: 0 auto;
}
body {
  /* font-family: "Noto Sans KR", sans-serif; */
  font-family: "Nanum Barun Gothic", sans-serif;
  letter-spacing: -0.2vw;
}
.wrap {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
/* 헤더영역 */
header {
  width: 100%;
  height: 18.0556vw;
  position: fixed;
  top: 8vw;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99999;
  /* width: 95%; */
  overflow: hidden;
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* text-align: center; */
}

header .logo {
  padding-left: 5.9444vw;
}

header .logo img {
  width: 75%;
}

header .header-contact {
  width: 18.0556vw;
  /* background-color: #8a040b; */
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 10vw;
}
header .header-contact a {
  display: block;
  width: 8vw;
}
header .header-contact img {
  width: 100%;
  display: block;
  margin: 0 auto;
}

/* 모바일 메뉴버튼 */
.right_box {
  display: flex;
  height: 100%;
  align-items: center;
}

.right_box a img {
  display: block;
}
.right_box .mb-bt {
  z-index: 9999999;
  transition: 0.5s;
  cursor: pointer;
  width: 18.0556vw;
  height: 100%;
  position: relative;
  /* background-color: #ffffff; */
}

.wrap:after,
ul:after,
cl:after {
  content: "";
  clear: both;
  display: block;
}

.right_box .mb-bt.hide {
  top: -6.9444vw;
}
.right_box .mb-bt::before {
  content: "";
  display: block;
  position: absolute;
  top: 35%;
  right: 28%;
  width: 32%;
  height: 0.5vw;
  background-color: #3f3b53;
  transition: all 0.3s;
}
.right_box .mb-bt .line {
  content: "";
  display: block;
  position: absolute;
  top: 45%;
  right: 28%;
  width: 24%;
  height: 0.5vw;
  background-color: #3f3b53;
  transition: all 0.3s;
  line-height: 1vw;
}

.right_box .mb-bt::after {
  content: "";
  display: block;
  position: absolute;
  top: 55%;
  right: 28%;
  width: 32%;
  height: 0.5vw;
  background-color: #3f3b53;
  transition: all 0.3s;
}

.right_box .mb-bt-open::before {
  top: 50%;
  /* 세로축 */
  transform: rotate(45deg);
}

.right_box .mb-bt-open::after {
  top: 50%;
  transform: rotate(-45deg);
}

.right_box .mb-bt-open .line {
  width: 0;
}

/* 모바일 메뉴바 */

.mb-nav {
  position: fixed;
  top: 16.8889vw;
  right: -100vw;
  display: block;
  width: 100vw;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
  transition: 1s;
}
.mb-nav-open {
  right: -0vw;
}
.mb-nav ul {
  width: 100%;
  margin: 0;
  padding: 0;
}
.mb-nav ul.mb-menu li {
  position: relative;
  float: left;
  width: 100%;
  font-size: 4vw;
  color: #3f3b53;
  /* background-color: #fff; */
  /* padding: 5.9444vw 5.7778vw; */
}
.mb-nav ul.mb-menu li .mb-sub li::after {
  content: "-";
  display: block;
  position: absolute;
  left: 10vw;
  top: 4vw;
  z-index: 999;
}
.mb-nav ul.mb-menu li a {
  display: block;
  width: 100%;
  height: 100%;
  color: #333;
  font-weight: bold;
  line-height: 13vw;
  border-bottom: 1px solid #ddd;
  /* padding-left: 8vw; */
  text-align: center;
}
.mb-nav ul.mb-menu li a:hover {
  color: #3f3b53;
}

.mb-nav ul.mb-menu li .mb-sub a {
  position: relative;
  display: block;
  width: 100%;
  z-index: 999;
  font-size: 4.0833vw;
  color: #3f3b53;
  background-color: #eceaea;
}

.mb-nav ul.mb-menu li .mb-sub a:hover {
  color: #333;
}

/* footer영역 */
.footer {
  width: 100%;
  /* height: 82vw; */
  background: #2a2d2e;
  position: relative;
  margin-bottom: 17vw;
  padding: 10vw 0;

  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.footer img {
  width: 26vw;
  margin: 3vw 0 2vw;
}
.footer P {
  font-size: 2.9vw;
  font-weight: 400;
  color: #cfcfcf;
  margin: 2vw 0;
}
.footer P .line {
  width: 1px;
  height: 2vw;
  background: white;
  display: inline-block;
  margin: 0 1.5vw;
}
.footer P b {
  font-size: 2.9vw;
  font-weight: 600;
  color: #fff;
  /* margin-right: 0.5vw; */
}

/* 애니메이션 설정 */
@keyframes load_L {
  0% {
    transform: translateX(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes load_R {
  0% {
    transform: translateX(-30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes load_U {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
/* 애니메이션 설정 END */

/* ====BACK TO POSITION==== */
.back-to-position {
  opacity: 0;
  transition: 1.5s;
}

.back-to-position.up {
  transform: translateY(10.8333vw);
}

.back-to-position.to-right {
  transform: translateX(-20.8333vw);
}

.back-to-position.to-left {
  transform: translateX(20.8333vw);
}

.show .back-to-position {
  opacity: 1;
  transform: translateX(0);
}

.show .back-to-position.delay-0 {
  transition-delay: 0.2s;
}

.show .back-to-position.delay-1 {
  transition-delay: 0.3s;
}

.show .back-to-position.delay-2 {
  transition-delay: 0.4s;
}

.show .back-to-position.delay-3 {
  transition-delay: 0.5s;
}

/* sub page  */

.sub .sub_top {
  width: 100%;
  height: 70vw;
  background: url(../img/sub/sub_bg.png) no-repeat center / cover;
  justify-content: center;
  align-items: center;
  display: flex;
}

.sub .sub_bottom {
  width: 98%;
  height: auto;
  margin: 0 auto;
  z-index: 10;
  padding-top: 5vw;
  position: relative;
  margin-bottom: 10vw;
}
