.nav-mobile-menu {
  display: none;
}

.nav-mobile-menu button {
  background: none;
  border: none;
}

.header {
  position: fixed;
  top: 0;
  background-color: #8497b0;
  width: 100%;
  height: 125px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px 0px 0px 0px;
  z-index: 999;
}

.nav {
  width: 90%;
  max-width: 1171px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.nav-first {
  width: 100%;
  height: 30px;
}

.nav-second {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0px 0px 26px 0px;
}

.nav-tel {
  margin: 0px 0px 0px 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-tel a {
  color: #ebebd3;
  text-decoration: none;
  font-size: 16px;
  border: solid;
  border-width: 1px;
  border-color: #ebebd3;
  border-radius: 9999px;
  padding: 6px 12px 4px 12px;
}

.nav-listA {
  display: flex;
  flex-direction: row;
  justify-content: end;
  list-style-type: none;
}

.nav-itemA {
  border: solid;
  border-width: 0px 1px 0px 0px;
  border-color: #ffffff45;
  padding: 13px 20px 13px 20px;
}
.nav-first ul li:nth-child(1) {
  padding: 14px 20px 13px 20px;
}
.nav-itemA a {
  color: inherit;
  text-decoration: none;
  font-size: 16px;
}

.nav-listB {
  display: flex;
  flex-direction: row;
  align-items: end;
  gap: 42px;
  list-style-type: none;
  margin-bottom: 8px;
}

.nav-itemB {
  border-right-width: 10px;
  border-color: #333;
}

.nav-itemB a {
  color: #fff;
  text-decoration: none;
  font-size: 19px;
}

.logo {
  width: 297px;
  height: 64px;
}

.search {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #1e2b3c;
}

.search-inline {
  width: 1171px;
  height: 70px;
  display: flex;
  justify-content: end;
  align-items: center;
  color: #fff;
  padding: 19.5px 0px 19.5px 0px;
}
.input-layout {
  width: 365px;
  display: flex;
  margin-left: 30px;
}
.search-text {
  font-size: 19px;
}
.search input {
  width: 100%;
  height: 35px;
  font-size: 14px;
  padding-right: 30px;
  padding-left: 10px;
  border-radius: 9999px;
  background-repeat: no-repeat;
  background-image: url("/suseong/images/icon/icon_search.png");
  background-size: 24px;
  background-position: 99% center;
  color: #8497b0;
}

.floating {
  position: fixed;
  top: 290px;
  right: 24px;
  display: flex;
  flex-direction: column;
  z-index: 998;
}
.floating a {
  cursor: pointer;
}

@media (max-width: 1171px) {
  .header {
    height: 111px;
  }
  .floating {
    top: 260px;
  }
  .nav {
    width: 90%;
  }
  .nav-listB {
    gap: 0px;
    margin-bottom: -4px;
  }
  .nav-itemA,
  .nav-itemB {
    padding: 10px;
  }
  .nav-itemA a,
  .nav-itemB a {
    font-size: 14px;
  }
  .nav-tel a {
    font-size: 14px;
    padding: 4px 10px;
  }

  .logo {
    width: 230px;
    height: 50px;
  }

  .search-inline {
    width: 90%;
  }
}

@media (max-width: 830px) {
  .nav-first {
    display: none;
  }
  .nav-second .nav-listB {
    display: none;
  }

  .search {
    display: none;
  }

  .floating {
    display: none;
  }

  .nav-mobile-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .header {
    height: 100px;
    justify-content: center;
  }

  .nav {
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .nav-second {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0px 0px 0px 0px;
  }

  .logo {
    width: 230px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .nav-mobile-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }

  .hamburger-icon {
    width: 24px;
    height: 24px;
  }

  .search-icon {
    width: 24px;
    height: 24px;
  }

  .header {
    height: 56px;
    justify-content: center;
  }

  .logo {
    width: 120px;
    height: 26px;
  }
}
