@import url(/reset.css);


header {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  border-bottom: 1px solid #fff;
  z-index: 10;
}

header{background: #fff; cursor: pointer;}
header h1 img.over{display: block;}
header h1 img.out{display: none;}
header li.main > a{color: #333;}
header .gnb{color: #333;}


li.open > a{
  font-weight: 800;
}
li.open:hover a{
  color: #333;
}
/* li.main:hover ul.sub{display: block;} */

nav li.main:hover > a{color:rgb(255, 90, 99) ;}

h1 img.over {
  display: none;
}

.header_inner {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  max-width: calc(100% - 2rem);
  margin: auto;
  align-items: center;
}

nav {
  width: 952px;
  display: none;
  /* position: relative; */
}
ul.menu {
  display: flex;
}
li.main{position: relative;}




nav ul li.main > a {
  color: #000;
  
}
nav li.main > a {
    display: block;
    padding: 10px 0;
  white-space: nowrap;
  font-weight: bold;
}


ul.sub{
  position: absolute;
  display: none;
  text-align: center;
  border-radius: 13px;
  background: rgb(255, 90, 99);
  width: 200px;
  padding: 1rem;
  left: 50%;
  top:140%;
  transform: translateX(-50%);

}
ul.sub li > a{
color: #fff;
font-size: 16px;}

nav > ul{display: flex;}
.gnb {
  display: flex;
  color: #000;
  font-weight: bold;
  gap: 1rem;
  padding-left: 16px;
}

section .click {
  height: 85px;
  padding: 15px 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
section .click p {
  font-size: 18px;
  font-weight: bold;
}

.map {
  max-width: 1400px;
  width: 100%;
  margin: auto;
  position: relative;
}
.map img {
  width: 100%;
}

ul.spot li a {
  position: absolute;
  width: 35px;
  height: 35px;
  background: #e23e58;
  border-radius: 20px;
  text-align: center;
  line-height: 35px;
  color: #fff;
  z-index: 99;
}

ul.spot li:nth-child(1) {
  position: absolute;
  left: 44%;
  top: 1%;
}
ul.spot li:nth-child(2) {
  position: absolute;
  left: 32%;
  top: 42%;
}
ul.spot li:nth-child(3) {
  position: absolute;
  right: 16%;
  top: 4%;
}
ul.spot li:nth-child(4) {
  position: absolute;
  right: 35%;
  top: 15%;
}
ul.spot li:nth-child(5) {
  position: absolute;
  right: 23%;
  top: 28%;
}
ul.spot li:nth-child(6) {
  position: absolute;
  right: 25%;
  top: 49%;
}
ul.spot li:nth-child(7) {
  position: absolute;
  right: 29%;
  top: 68%;
}
ul.spot li:nth-child(8) {
  position: absolute;
  right: 15%;
  top: 72%;
}
ul.spot li:nth-child(9) {
  position: absolute;
  left: 10%;
  top: 70%;
}
ul.spot li:nth-child(10) {
  position: absolute;
  left: 17%;
  top: 28%;
}

ul.spot li span {
  background: #333;
  position: absolute;
  left: 19px;
  text-align: center;
  color: #fff;
  width: 0px;
  height: 34px;
  border: 2px solid #e23e58;
  border-radius: 0 20px 20px 0;
  padding: 5px;
  overflow: hidden;
  transition: 0.35s;
  z-index: 90;
}

ul li:hover span {
  width: 150px;
}

/* -----------------------mobile----------------------- */

@media screen and (max-width: 521px) {
  header {
    height: 60px;
  }
  h1 img {
    height: 25px;
  }
  nav ul {
    flex-direction: column;
  }

  ul.spot li a {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #e23e58;
    border-radius: 20px;
    text-align: center;
    line-height: 30px;
    color: #fff;
    z-index: 99;
  }

  ul.spot li span {
    background: #333;
    position: absolute;
    left: 16px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    width: 0px;

    height: 29px;
    border: 2px solid #e23e58;
    border-radius: 0 20px 20px 0;
    padding: 5px;
    overflow: hidden;
    transition: 0.35s;
    z-index: 90;
  }

  ul.spot li:hover span {
    width: 100px;
  }
}

/* ---------------------------------------------------- */

@media screen and (min-width: 522px) {
  nav > ul li a {
    font-size: 1.2rem;
  }
  header {
    height: 100px;
  }
  h1 img {
    height: 40px;
  }
  .header_inner {
    max-width: calc(100% - 6rem);
  }
  nav {
    margin-left: 300px;
  }
  nav > ul {
    flex-direction: row;
    gap: 4rem;
  }
  nav ul li {
    flex: 1;
  }
  nav ul li a {
    font-size: 1.2rem;
  }

  li.main {
    position: relative;
  }
  ul.sub {
    position: absolute;
  }
}

@media screen and (min-width: 1280px) {
  nav {
    display: block;
  }
}
