/*my reset*/
* {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  vertical-align: top;
}

.wrap,
.wrap2,
.wrap3 {
  margin: 0 auto;
  position: relative;
}

.wrap {
  width: 100%;
  overflow: hidden;
}

.wrap2 {
  width: 95%;
  overflow: hidden;
}

.wrap3 {
  width: 90%;
}

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

.blind {
  position: absolute;
  left: -9999px;
  font-size: 0;

  width: 0;
  height: 0;
  overflow: hidden;
}

/*reset*/

html {
  position: relative;
  animation: bg 3s;
}

@keyframes bg {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

body {
  font-family: "Noto Sans KR";
  position: relative;
}

/*--------header---------*/

header {
  width: 100%;
  height: 15vw;
  position: fixed;
  z-index: 999;
  background: #fff;
}

h1 {
  margin-top: 5vw;
  text-align: center;
}

h1 img {
  height: 5vw;
}

.call {
  width: 15vw;
  height: 15vw;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
}

.call img {
  height: 15vw;
}

.menu {
  position: absolute;
  top: 0;
  right: 0;
 height: 15vw;
    padding:  0vw 3vw;
  cursor: pointer;
    border-left: 1px solid #ccc;
   background: #fff;
}

.menu span {
  display: block;
  width: 6.5vw;
  height: 0.7vw;
  background:  #8c0052;
  border-radius: 5px;
  margin: 1.5vw 1vw;
  transition: 0.5s;
}

.menu span:nth-of-type(1) {
  margin-top: 5.2vw;
}

.menu span.on:nth-of-type(1) {
  transform: rotate(45deg);
  margin-top: 7vw;
  width: 6.5vw;
}

.menu span.on:nth-of-type(2) {
  display: none;
}

.menu span.on:nth-of-type(3) {
  transform: rotate(-45deg);
  margin-top: -2vw;
  width: 6.5vw;
}

/*------------menu-------------*/

.gnb {
  background: #fff;
  position: fixed;
  right: -100vw;
  top: 15vw;
  overflow: auto;
  height: calc(100vh - 15vw);
  width: 100vw;
  z-index: 99;
  text-align: left;
  z-index: 999;
  transition: 0.5s;
  border-top: 1px solid #aaa;
}

.gnb.on {
  right: 0;
}

.gnb > li {
  display: block;
  text-align: center;
}

.gnb > li > a {
  border-bottom: 1px solid #ddd;
  display: block;
  width: 100vw;
}

.gnb > li > a {
  font-size: 4vw;
  font-weight: 500;
  line-height: 3.5;
  width: 100%;
  background-size: 3vw;
}

.gnb > li > ul { display: none;
 
}

.gnb > li > ul > li{
  font-size: 4vw;
  font-weight: 400;
  line-height: 3;
  width: 100%;
  background-size: 3vw;
    background: #f4f4f4;
    transition: 0.3s;
    border-bottom: 1px solid #ddd;
}




/*------------footer-------------*/

footer {
  width: 100%;
    height: 55vw;
  text-align: center;
  background: #202020;
  color: #fff;
  overflow: hidden;
  padding-bottom: 7vw;
}



.company {
  width: 60vw;
  padding: 8vw 0 6vw;
}

footer p {
  font-size: 2.3vw;
  line-height: 2;
}

footer span {
    display: inline-block;
    padding-top: 3vw;
  font-size: 2.5vw;
  font-weight: 600;  
}

/*-----scrollmagic--back-to-position------*/

.back-to-position {
  opacity: 0;
  transition: 1.5s;
}

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

.back-to-position.down {
  transform: translateY(-10vw);
}

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

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

.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;
}
