@import url('./reset.css');

html {
  font-size: 16px;
}

@keyframes upDown {
  0% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-5px);
  }
  100% {
    transform: translateX(-50%) translateY(0);
  }  
}

.intro .map-wrap {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro .map {
  width: 80%;
  position: relative;
}

.intro .map:hover .category li {
  z-index: -1;
}

.intro .map .bg {
  width: 100%;
}

.intro .map .bg img {
  width: 100%;
  height: auto;
}

.intro .map .category {
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.intro .map .category li {
  position: absolute;
  transition: all 0.5s ease;
  cursor: pointer;
  z-index: 1;
}

.intro .map .category li .img {
  position: relative;
  z-index: 1;
}

.intro .map .category li:hover {
  /* animation: upDown 2s infinite; */
  transform: translate(0, 4px);
  z-index: 10;
}

.intro .map .category li .pop {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.2s ease;
  padding: 8px 8px;
  background: #fff;
  white-space: nowrap;
  font-size: 1.125rem;
  color: #46AE66;
  font-weight: bold;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.3) 4px 4px 4px ;
  z-index: 10000;
  opacity: 0;
  animation: upDown 2s infinite;
}

.intro .map .category li .pop:after {
  content: "";
  position: absolute;
  box-shadow: rgba(0, 0, 0, 0.3) 4px 4px 4px ;
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  bottom: -9px;
  left: 50%;
  margin-left: -10px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent #FFF #FFF transparent;
}

.intro .map .category li .pop .icon {
  display: inline-block;
  width: 40px;
}

.intro .map .category li .pop .link {
  display: inline-block;
  width: 28px;
}

.intro .map .category li:hover .pop {
  opacity: 1;
}

.intro .map .category li.she00 .pop {
  display: none;
}

.intro .logo {
  position: absolute;
  top: 40px;
  left: 3%;
  width: 215px;
}

.intro-panel {
  position: fixed;
  top: 0;
  left: -80%;
  width: 80%;
  height: 100vh;
  background: #fff;
  z-index: 100;
  transition: all 1s ease;
  overflow-y: auto;
}

.intro-panel.active {
  left: 0;
}

.intro-panel-header {
  background: #E9F5ED; 
  width: 100%;
  height: 440px;
  position: relative;
  padding: 0 8.333%;
}

.intro-panel-header .brand {
  padding: 48px 0  70px 0;
}

.intro-panel-header .brand img {
  width: 215px;
}

.intro-panel-header h2 {
  font-size: 1.5rem;
  color: #46AE66;
  padding: 0 0 12px 0;
}

.intro-panel-header h1 {
  font-size: 3rem;
  padding: 0 0 16px 0;
}

.intro-panel-header .desc {
  font-size: 1rem;
  color: #212121;
  line-height: 1.6;
  width: 45%;
}

.intro-panel-header .img {
  width: 50%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  background-size: auto 80%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.intro-panel-header .close {
  position: absolute;
  top: 40px;
  right: 2.7%;
}

.intro-panel-header .close img {
  width: 48px;  
}

.intro-panel-body {
  padding: 80px 8.333%;
}

.intro-panel-body ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 80px;
}

.intro-panel-body ul li a {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.intro-panel-body ul li h3 {
  font-size: 1.5rem;
  color: #46AE66;
  padding-bottom: 10px;
  background: transparent url('./images/intro/icon_arrow_right_gr.png') no-repeat center 100%;
  background-size: 28px auto;
}
.intro-panel-body ul li h4 {
  font-size: 0.875rem;
  padding-bottom: 10px;
}

.intro-panel-body ul li p {
  color: #212121;
  line-height: 1.6;
}

.intro-panel-body ul li .cont {
  width: 65%;
}

.intro-panel-body ul li .img {
  overflow: hidden;
  border-radius: 8px;
  width: 28%;
}

.gnb {}

.gnb-tog {
  position: fixed;
  top: 40px;
  right: 3%;
}

.gnb-tog img {
  width: 48px;
}

.gnb-cont {
  position: fixed;
  top: 0;
  right: -30%;
  width: 30%;
  height: 100vh;
  background: #46AE66;
  transition: all .5s ease;
  z-index: 100;
}

.gnb.active .gnb-cont {
  right: 0;
} 

.gnb-cont .brand {
  padding: 48px 0 70px 9%;
}

.gnb-cont .brand img {
  width: 215px;
}

.gnb-cont .close {
  position: absolute;
  top: 40px;
  right: 9%;
}

.gnb-cont .close img {
  width: 48px;
}

.gnb-cont nav {
  padding: 0 9%;
}

.gnb-cont nav strong {
  font-size: 1rem;
  color: #BEE3C9;
  display: block;
  padding: 0 0 14px 0;
} 

.gnb-cont nav ul {
  padding: 0 0 40px 0;
}

.gnb-cont nav ul li a,
.gnb-cont nav ul li button {
  text-align: left;
  display: block;
  padding: 13px 0;
  font-size: 1.5em;
  color: #fff;
  font-weight: bold;
} 

.gnb-cont nav .divider {
  width: 32px;
  display: block;
  height: 1px;
  background: #fff;
  margin: 0 0 30px 0;
}

.intro-footer {
  position: fixed;
  bottom: 40px;
  left: 3%;
  font-size: 0.875rem;
}

@media screen and (min-width: 1400px) {
  .intro .map-wrap .map {
    width: 60%;
  }
}


@media screen and (max-width: 640px) {

  html {
    font-size: 12px;
  }

  .intro {
    overflow: hidden;
  }

  .intro .logo {
    top: 20px;
    width: 180px;
  }
 
  .intro .map {
    width: 80%;
  }

  .gnb-tog {
    top: 20px;
  }

  .gnb-tog img {
    width: 36px;
  }

  .gnb-cont {
    right: -80%;
    width: 80%;
  }

  .gnb-cont .brand {
    padding: 20px 0 30px 9%;
  }

  .gnb-cont .brand img {
    width: 180px;
  }

  .gnb-cont .close {
    top: 20px;
    right: 3%;
  }

  .gnb-cont .close img {
    width: 36px;
  }

  .gnb-cont nav ul {
    padding: 0 0 20px 0;
  }

  .gnb-cont nav ul li a, .gnb-cont nav ul li button {
    padding: 8px 0;
  }

  .gnb-cont nav .divider {
    margin: 0 0 20px 0;
  }

  .intro-panel {
    width: 100%;
    left: -100%;
    overflow-y: auto;
  }
  
  .intro-panel-header {
    height: auto;
    padding: 0 3% 30px;
  }

  .intro-panel-header .brand {
    padding: 20px 0 30px 0;
  }

  .intro-panel-header .brand img {
    width: 180px;
  }

  .intro-panel-header .close {
    top: 20px;
    right: 3%;
  }

  .intro-panel-header h1 {
    font-size: 2rem;
  }

  .intro-panel-header .close img {
    width: 36px;
  }

  .intro-panel-header .img {
    width: 50%;
    height: 120px;
    top: auto;
    bottom: 20px;
  }

  .intro-panel-body {
    padding: 40px 3% 120px;
  }

  .intro-panel-body ul {
    grid-template-columns: 1fr;
    grid-gap: 30px;
  }

  .intro .map .category li .pop {
    font-size: 1.5em;
    top: -30px;
  }

  .intro .map .category li .pop .icon {
    width: 30px;
  }

  .intro .map .category li .pop .link {
    width: 22px;
  }

}