/* ---------------- - Header - ---------------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99;
  background-color: white;
}

/* ?메??*/

.header_top {
  height: 32px;
  width: 1310px;
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  justify-content: end;
}

.header_top ul {
  font-size: 14px;
}

.header_top ul li {
  float: left;
  margin-left: 10px;
  color: #333;
}

.header_top ul li a:hover {
  font-weight: bold;
  color: #54b7c9;
}

.logo_box {
  width: 100%;
  height: 88px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  box-sizing: border-box;
}

.top_logo {
  width: 56px;
  margin: 0px auto;
  margin-top: 16px;
  margin-bottom: 8px;
}

/* 메인 메뉴 */

.menu_outer {
  width: 100%;
  margin: 0 auto;
  max-width: 2560px;
  font-weight: 500;
  border-bottom: 1px solid #ddd;
  box-sizing: border-box;
}

.gnb {
  width: 1310px;
  height: 60px;
  text-align: center;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 9;
}

.main_left {
  width: 101px;
  line-height: 60px;
}

.btn_menu {
  display: inline-block;
  text-align: center;
}

.main_left:hover .dropdown {
  display: block;
}

.dropdown {
  position: fixed;
  top: 180px;
  left: 0;
  width: 100%;
  height: 500px;
  z-index: 98;
  display: none;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-top: 1px solid #E4E0DA;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

/* ?버??롭?운 ??5컬럼 그리?? ?커버 중앙 배치 */
.drop_menu {
  width: 1310px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0;
  list-style: none;
}

.drop_main {
  float: none;
  width: auto;
  background-color: transparent;
  padding: 0 16px;
  border-right: 1px solid #F0EDE8;
}

.drop_main:last-child {
  border-right: none;
}

.drop_main > a {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  padding-bottom: 8px;
  margin-bottom: 6px;
  border-bottom: 2px solid #4897A8;
}

.drop_main > a:hover {
  color: #2C5C6B;
}

.drop_main li {
  padding: 2px 0;
  border: none;
}

.drop_main li a {
  font-size: 16px;
  color: #666;
  font-weight: normal;
}

.drop_main li:hover {
  background-color: transparent;
}

.drop_main li:hover a {
  font-weight: 600;
  color: #2C5C6B;
}

.drop_sub {
  border-top: none;
}

.drop_sub:first-child {
  border-top: none;
}


/* 메인메뉴 중앙 */

.main_middle {
  flex-grow: 1;
}

.main_middle .main_menu {
  width: 20%;
  float: left;
  line-height: 60px;
}

.main_menu:hover {
  background-color: transparent;
}

.main_menu:hover > a {
  color: #2C5C6B;
  font-weight: bold;
  border-bottom: 2px solid #4897A8;
  padding-bottom: 4px;
}

.main_menu .sub_menu li:hover {
  background-color: #f7f7f7;
}

.main_menu .sub_menu li:hover a {
  font-weight: bold;
  color: #2C5C6B;
}

.sub_menu {
  display: none;
  background-color: #fff;
}

.main_menu:hover .sub_menu {
  display: block;
}

/* 메인메뉴 ?측 */

.main_right {
  /* flex-grow: 0.2; */
  width: 320px;
  line-height: 60px;
}

.main_right {
  display: flex;
}

.main_right li {
  flex-grow: 1;
}

.search_item {
  position: relative;
  flex-grow: 2;
}

.menu_icon img {
  width: 18px;
  height: 18px;
}

.search_item input {
  width: 90%;
  padding: 6px 8px;
  border-radius: 10px;
  background-color: #eee;
}

.menu_search {
  width: 18px;
  height: 18px;
  position: absolute;
  right: 20px;

  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.search_dropdown {
  position: absolute;
  top: 60px;
  overflow: hidden;
  background-color: white;
  z-index: 10;
}


#main_search_input:focus~.search_dropdown {
  /* width: 1310px; */
  width: 100vW;
  left: calc(-1280px);
  height: 480px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.header_back{
  height: 180px;
}
