#wrap {
  text-align: center;
}

h1 {
  font-family: 'GmarketSansbold'; 
  font-size: 2vw;
}

h1 span {
  font-family: 'Pretendard-Light'; 
  font-size: 20px; 
  color: #b3b3b3; 
  float: right; 
  padding: 15px;
}

p {
  font-family: 'Pretendard-Light'; 
  color: #b3b3b3; 
  margin-top: 5px;
}

article {
  width: 100%;
  max-width: 1220px;  /* 고정 너비 → max-width로 변경 */
  margin: 90px auto 0;  /* 중앙 정렬 추가 */
  height: auto; 
  border-bottom: 1px solid #ccc; 
  font-size: 24px; 
  border-top: 2px solid #000;
  padding: 0 20px;  /* 좌우 여백 추가 */
  box-sizing: border-box;
}

article > h1 {
  padding: 20px 0px 20px 0px; 
  text-align: left;  
  font-family: 'NexonLv2Gothic', sans-serif;
  font-size: 25px;
}

h1 span {
  font-family: 'NexonLv2Gothic light'; 
  font-size: 20px;
  color: #b3b3b3;
  float: right;
  padding: 15px;
}

.notice {
  width: 100%;  /* 고정 너비 제거 */
  max-width: 1180px;  /* max-width 추가 */
  margin: 0 auto;  /* 중앙 정렬 */
  height: auto; 
  border-top: 1px solid #ccc;
  text-align: center;  /* 추가 */
}

.notice img {
  width: 100%;  /* padding 제거하고 width 100%로 */
  max-width: 1000px;  /* 최대 너비 제한 */
  height: auto;
  display: block;  /* block으로 변경 */
  margin: 20px auto;  /* padding → margin으로 변경하고 auto로 중앙 정렬 */
  border-radius: 10px;  /* 이미지에 둥근 모서리 추가 (선택사항) */
}

.listbt {
  font-family: 'Pretendard-Bold'; 
  width: 200px; 
  height: 60px; 
  background-color: #2559a8; 
  border-radius: 30px; 
  margin: 30px; 
  display: inline-block; 
  color: #fff; 
  font-size: 24px; 
  line-height: 58px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.listbt:hover {
  background-color: #1a4280;
}

/* 반응형 미디어 쿼리 */
@media screen and (max-width: 800px) {
  footer { display: none; }
  #wrap { display: block; }
  .mlogo { float: left; display: block; width: 30%; }
  .mlogo img { width: 100%; height: auto; }
  .mmenu { display: block; }
  .menu { display: none; }
  .navi.show { display: flex; }
  .hamburger { display: flex; }
  
  article {
    width: 95%; 
    margin: 90px auto 0;
    padding: 0 10px;
  }
  
  .notice {
    width: 100%;
    text-align: center;
  }
  
  .notice img {
    width: 95%;
    max-width: 100%;
    margin: 15px auto;
    display: block;
  }
  
  /* 텍스트 크기 조정 */
  h1 {
    font-family: 'NexonLv2Gothic'; 
    font-size: 2.5rem;
  }
  
  h1 span { 
    font-size: 14px; 
    float: none; 
    display: block; 
    padding: 10px 0;
    text-align: left;
  }
  
  article { 
    font-size: 18px; 
    margin-top: 60px; 
  }
  
  article > h1 { 
    padding: 15px 10px; 
    font-size: 1.5rem;
  }
  
  /* 버튼 크기 조정 */
  .listbt {
    width: 160px; 
    height: 50px; 
    font-size: 18px; 
    line-height: 48px; 
    margin: 20px;
  }
}