.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;
  align-items: center;
}

.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;
  position: relative;
}

.input-layout img {
	position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
.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("/assets/front/images/icon/icon_search.png");
  background-size: 24px;
  background-position: 99% center; */
  color: #8497b0;
}

.floating {
  position: fixed;
  /* top: 265px; */
  right: 24px;
  display: flex;
  flex-direction: column;
  z-index: 999;
  text-align: center;
  top: 62%;
  transform: translateY(-50%);
}
.floating a {
  cursor: pointer;
}
.floating img {
	width: 85%;
}

.admin-btn {
	position: absolute;
    right: 0.2%;
    bottom: 1.5%;
    z-index: 1000;
}

.admin-btn button {
	background: 0;
    border: 1px solid #0497b0;
    color: #0497b0;
    padding: 3px 15px;
    border-radius: 4px;
    cursor: pointer;
}

@media (min-width: 1901px) {
	.floating {
		/* transform: translateY(calc(-50% + 75px)); */
	}
}

@media (min-width: 1600px) and (max-width: 1900px) {

}

@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) {
	
	.pc {
		display: none !important;
	}
	
	.mb {
		display: block !important;
	}	
	
	.mb.admin-btn {
		bottom: 1% !important;
        top: unset;
	}
  .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;
  }
  
  .nav-mobile-menu {
  	
  }
  
  .mb-search {
  	position: absolute;
    top: 8.4vh;
    right: 0;
    padding: 10px 10px 20px;
    background: #1e2b3c;
    width: 100%;
  }
  
  .mb-search .closeBtn {
  	text-align: right;
  }
  
  .mb-search input {
  	padding: 5px;
        width: 100%;
        border: 1px solid #ccc;
        border-radius: 30px;
  }
  
  .mb-search img {
  	position: absolute;
        right: 13px;
        top: 57%;
        transform: translateY(-50%);
  }
  
  .mb-search input:focus-visible {
  	outline: unset;
  }
  
  .mb-search input::placeholder {
  	font-size: 14px;
  	padding-left: 10px;
  }
}

@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;
  }
  
  .mb-search {
  	position: absolute;
    top: 56px;
    right: 0;
    padding: 10px 10px 20px;
    background: #1e2b3c;
    width: 100%;
  }
}
