#header .top-menu{background-color: white;  display: flex; justify-content: center;align-items: center; height: 35px;font-size: 0.9rem; 
  color: #00478a;
  font-weight: normal; }
#header .top-menu ul {display: flex;  gap: 0.8rem;}

#header .top-menu a{color: inherit;}
#header .slogan{  font-weight: bold;
  font-size: 18px;             /* 15pt ≈ 20px */
    margin-top: -5px;
    margin-bottom: 0px;
    color: rgb(103, 102, 102);
    display: none;
}


#header .menu{background-color: var(--color-yellow);  color: white;
font-size:11px;
font-weight: 200;
height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 0px 1.3rem;
}


#header .logo img{width: 130px;}

#header .menu ul{justify-content: center; align-items: center;}
#header .menu a{color: white;}
#header .menu li{margin: 0 5px;}
#header .menu li:hover a{color: #fcd000; font-weight: 700; }


#mobile-menu {
  max-height: 0;
  overflow: hidden;
  background-color: #FFFDF2;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}



#mobile-menu.show {
  max-height: 1000px; /* 충분히 크게 설정 */
  opacity: 1;
  visibility: visible;
}



.mobile-menu .menu-group {
  list-style: none;
  padding: 15px;
  padding-bottom: 0;
  margin: 0;
}

 .mobile-menu .menu-group li {
  margin-bottom: 12px;
  text-align: left;
  display: flex;
  border-bottom: solid 1px #FCCF00;
}

 .mobile-menu .menu-title {
  color: #FCCF00;
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 14px;
  width: 110px;
}

 .mobile-menu .menu-sub a {
  display: inline-block;
  margin: 0 4px;
  font-size: 0.7rem;
  color: #9B9B9B;
  text-decoration: none;
}

 .mobile-menu .menu-sub a:hover {
  color: #00478a;
  font-weight: bold;
}

/* 선택된 2단 메뉴 항목 스타일 */
 .mobile-menu .menu-depth-2 li.active-depth2 a {
  color: #004d97;
  font-weight: bold;
}



#mobile-menu .menu-close{text-align: center;}



 /* 태블릿 (768px ~ */
@media screen and (min-width: 768px) {

    html {
  font-size: 16px;
}



#header .top-menu{ height: 35px;font-size: 12px; color: rgb(103, 102, 102);}
#header .top-menu ul{width: 68%; justify-content: end;}
#header .slogan{  font-weight: bold;
                font-size: 18px;             /* 15pt ≈ 20px */
                margin-top: -15px;
                margin-bottom: 0px;;
                margin-left: 22px;
                /* display: block; */
                display: none;
                }


#header .menu{position: relative; height: 70px; font-size:17px;
background-color: #004d98;
justify-content: center;
}

#header ul{display: flex;}


#header .logo {position: absolute;   
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#header .logo img{width: 120px; margin-top: 10px;}
#header .menu li{margin: 0 15px;}

#header .menu .center {width: 170px;}

#header .menu-depth-2{background-color: #FFF8D7;  
height: 50px; 
display: flex;justify-content: center; align-items: center;
border-bottom: solid 8px var(--color-yellow);

}
#header .menu-depth-2 ul{justify-content: center; align-items: center;}
#header .menu-depth-2 li{margin: 0 5px;color: #cc9900;}
#header .menu-depth-2 a{ color: #FFA600; font-size:0.9rem;}
#header .menu-depth-2 li:hover a{color: #004d97;}
}



/* PC 반응형 */
@media (min-width: 1024px) 
{

  #header .menu ul{margin-right: 10px;}
  #header .menu .center {width: 270px;}
}