/********모바일 top 설정*************/
.mmenu{display: none; width: 100%; overflow: hidden;}
.mimgslide{display: none; width: 100%; overflow: hidden;}
.mcontent{display: none; width: 100%; overflow: hidden;}
.mnote{display: none; width: 100%; overflow: hidden;}
.mgel{display: none; width: 100%; overflow: hidden;}
.morgan{display: none; width: 100%; overflow: hidden;}
.mbt{display: none; width: 100%; overflow: hidden;}

/* 햄버거 버튼 - 미디어 쿼리 밖 */
.hamburger {
  display: none;
}

.mnav {
  display: none;
}

/*반응형 설정*/
@media screen and (max-width: 800px){
    /* PC 버전 숨기기 */
    #wrap{display: none;}
    
    body {
      padding-top: 90px;
    }

/*모바일 top 설정*/
.mmenu {
  display: block; 
  width: 100%; 
  height: 90px; 
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  z-index: 1000;
  box-shadow: 0px 1px 5px -2px #ccc;
  overflow: visible;
}

.mlogo {
  width: 30%;
  height: 50px;
  margin-left: 20px;
  float: left;
  margin-top: 20px;
}

.mlogo img {
  width: 100%;
  height: auto;
  display: block;
}

/* 햄버거 버튼 */
.hamburger {
  display: block;
  font-size: 28px;  /* 32px에서 28px로 변경 */
  cursor: pointer;
  position: fixed;
  top: 30px;  /* 25px에서 30px로 조정 */
  right: 20px;
  z-index: 1001;
  color: #333;
  line-height: 1;
}
.mnav {
  display: none;
  position: fixed;
  top: 90px;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #ddd;
  z-index: 999;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  text-align: center;
}

.mnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mnav li {
  border-bottom: 1px solid #eee;
}

.mnav li a {
  display: block;
  padding: 15px;
  text-decoration: none;
  color: #333;
  font-family: 'NexonLv2Gothic', sans-serif;
  font-weight: 400;
}

.mnav li a:hover {
  background: #f4f4f4;
}

.mimgslide {
  display: block;
  position: relative;
  width: 100%;
  height: 400px;
  margin-top: 0;
}

.mimgslide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.mimgslide .slide-text {
  position: absolute; 
  top: 70%; 
  left: 10%; 
  font-family: 'NexonLv2Gothic', sans-serif;
  font-weight: 700;
  font-size: 6vw; 
  color: #fff; 
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5); 
  line-height: 8vw; 
  display: inline-block; 
  opacity: 0; 
  transform: translate(-50%, -50%) translateY(30px);
  animation: slide-text 1s ease-out forwards;
}

@keyframes slide-text {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
  }
}

/* 모바일 공고 레이아웃 */
.mcontent {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  width: 100%;
  margin-top: 30px;
  padding: 0 20px;
  box-sizing: border-box;
  font-family: 'NexonLv2Gothic', sans-serif;
}

.mcontent h1 {
  flex-basis: 100%;
  text-align: center;
  margin-bottom: 10px;
  font-weight: 700;
}

.mbox {
  width: calc(50% - 2.5px);
  min-width: 150px;
  box-sizing: border-box;
}

.mbox img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: solid 0.8px #d4d4d4;
}

/* 콘텐츠 영역 시작(공지사항) */
.mnote {
  display: block;
  width: 100%;
  height: auto;
  font-family: 'NexonLv2Gothic', sans-serif;
  margin-top: 30px;
}

.mnote h1 {
  flex-basis: 100%;
  text-align: center;
  margin-bottom: 10px;
  font-weight: 700;
}

.mnote ul {
  list-style: none;
  margin: 0;
  padding: 0 20px;
}

.mnote li {
  width: 100%;
  padding: 20px 10px;
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
}

.mnote li:first-of-type {
  border-top: 2px solid #000000;
}

.mnote li h3 {
  color: #000;
  font-size: 20px;
  line-height: 24px;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.mnote li span {
  display: block;
  color: #999;
  font-size: 15px;
  font-family: 'NexonLv2Gothic', sans-serif;
  font-weight: 400;
  margin-bottom: 0;
}

.mnote li p {
  display: none;
}

.mnote a {
  text-decoration: none;
  color: inherit;
}

.mnote a:hover {
  text-decoration: none;
}

/* 콘텐츠 영역 시작(갤러리) */
.mgel {
  display: block; 
  width: 100%; 
  height: auto; 
  font-family: 'NexonLv2Gothic', sans-serif;
  margin-top: 50px;
  position: relative;
}

.mgel h1 {
  text-align: center;
  margin: 0;
  font-weight: 700;
}

.mgel i {
  position: absolute;
  top: 25px;
  right: 30px;
}

.mgel ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mgel li {
  width: 100%; 
  max-width: 500px;
  height: auto; 
  padding: 25px;
  box-sizing: border-box;
  float: none;
}

.mgel li img {
  width: 100%; 
  height: 200px; 
  object-fit: cover; 
  border-radius: 10px;
}

.mgel li h3 {
  color: #000; 
  overflow: hidden; 
  text-overflow: ellipsis; 
  white-space: nowrap; 
  margin-top: 10px; 
  text-align: center;
  font-family: 'NexonLv2Gothic', sans-serif;
  font-weight: 400;
}

/* 지원기관 모바일 */
.morgan {
  display: block;
  width: 100%;
  text-align: center; 
  margin-top: 30px;
  padding: 20px 0;
  background-color: #fff;
  border-top: 1px solid #ddd;
}

.morganlist {
  width: 100%;
  overflow-x: auto;
  display: flex;
  justify-content: center;
}

.mslide {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 0 20px;
}

.morganbox {
  width: 80px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.morganbox a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.morganbox img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

/* 모바일 푸터 */
.mbt{
  display: block; 
  width: 100%; 
  background-color: #444; 
  padding: 20px;
  box-sizing: border-box;
}

.mbt img{
  display: block;
  width: 120px;
  margin: 0 0 15px 0;
}

.mcp{
  width: 100%;
  padding: 0;
  margin: 0 0 5px 0;
  color: #ffffff;
}

.mcp a{
  color: #ffffff;
}

.mcp li{
  display: inline-block;
  margin-right: 10px;
  font-size: 15px;
}

.mimfor {
  font-weight: 200;
   font-size: 13px; 
  line-height: 18px; 
  color: #ffffff;
  margin: 0;
  padding: 0;
} } /* @media screen and (max-width: 800px) 끝 */