* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans KR', sans-serif; background: #fff; }
ul {list-style: none;padding-left: 0;}
main { max-width: 1920px; margin: 0 auto; padding: 0; }
.con_01 {position: relative;}
header { position: fixed; top: 0; left: 0; width: 100%; background: #fff; border-bottom: 1px solid #ddd; padding: 16px 0; z-index: 1000; }
.menu-container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: 94%; margin: 0 auto; }
.logo, .menu-box, .auth { display: flex; align-items: center; }
.logo { justify-self: start; gap: 12px; }
.logo img { height: 40px; }
.hamburger { display: none; flex-direction: column; gap: 4px; cursor: pointer; }
.hamburger div { width: 24px; height: 3px; background: #333; }
[id^="notice"], [id^="qna"], [id^="faq"] {
  scroll-margin-top: 130px; /* 메뉴 높이보다 약간 더 크게 여유 있게 */
}
.menu-box {
    justify-self: center;
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 0;
  }

  .menu-box a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0 30px;
  }
.divider { color: #aaa; margin: 0 8px; }
.auth { justify-self: end; gap: 12px; }
.auth a { text-decoration: none; color: #333; font-weight: 500; }
.pc { display: block; }
.mo { display: none; }
.con img { width: 100%; height: auto; }
main, .signup-container, .login-container, .reset-container, .mypage-container, .step-container, .archive-section { padding-top: 73px; }
.archive-detail-container {margin-top: 123px !important;}
.video-container { width: 90%; margin: 40px auto; aspect-ratio: 16/9; }
.video-container iframe { width: 100%; height: 100%; border: none; }
.btn01 { position: absolute; cursor: pointer; top: 22.5%; left: 11.5%; width: 17.5%; height: 2.9%; }
.faq-section {
  width: 94%;  
  margin: 50px auto;
}
.faq-section h2 img {
  max-width: 500px;
  height: auto;
  display: block;
  margin-bottom:20px;

}
.faq-question {
  border: 1px solid #057441;
  background: #fff;
  color: #057441;
  font-weight: 800;
  font-size: 28px;
  padding: 20px;
  margin-bottom: 0;
  cursor: pointer;
}
.faq-answer > div {
  display: none;
  border: 1px solid #057441;
  border-top: none;
  padding: 20px;
  color: #000;
  font-size: 16px;
  line-height: 1.5;
}
.inline-countdown {
  width: 100%;
  background-color: #c4dacd;
  color: #000000;
  text-align: center;
  padding: 8px 0;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Noto Sans KR', sans-serif;
  position: fixed; top: 78px; left: 0; z-index: 100;
}
@media (max-width: 900px) {
    .pc { display: none; }
    .mo { display: block; }
    .hamburger { display: flex; }
    .menu-box { display: none; }
    .menu-container { grid-template-columns: auto 1fr auto; }
    .auth { justify-self: end; }
    .btn01 { top: 23%; left: 8.5%; width: 23.5%; height: 2.5%; }
    .faq-section h2 img,
  .notice-section img,
  .qna-section h2 img {
      max-width: 40%;
      margin: 20px auto;
    }

    .faq-section h2 img{
      max-width: 80%;
      margin: 20px auto;
    }
  
    .faq-question {
      font-size: 20px !important;
      padding: 16px !important;
    }
  
    .faq-answer div {
      font-size: 14px !important;
      padding: 16px !important;
    }    
    .inline-countdown {
      font-size: 1.2rem;
      
    }
}
.mobile-menu-panel { position: fixed; top: 0; left: -250px; width: 250px; height: 100vh; background: #fff; padding: 24px 16px; transition: left 0.3s ease; z-index: 2000; }
.mobile-menu-panel.show { left: 0; }
.mobile-menu-panel .close-btn { font-size: 24px; cursor: pointer; align-self: flex-end; margin-bottom: 16px; text-align: right;}
.mobile-menu-panel a { display: block; text-decoration: none; color: #333; padding: 16px 0; font-weight: 500; }
.mobile-menu-panel .login-btn, .mobile-menu-panel .signup-btn { width: 100%; height: 50px; text-align: center; line-height: 50px; font-weight: bold; margin-top: 20px; }
.mobile-menu-panel .login-btn { background: #057441; color: #fff; }
.mobile-menu-panel .signup-btn { background: #efefef; color: #999; }
.notice-section, .qna-section { width: 94%; margin: 40px auto; }
.notice-section img, .qna-section img { display: block; margin-bottom: 16px; }
.notice-table, .qna-table { width: 100%; border-collapse: collapse; font-size: 1.1rem; }
th { border: 1px solid #ddd; padding: 12px; background: #f7f7f7; text-align: center; font-size: 1.2rem; }
.notice-table th:nth-child(1), .qna-table th:nth-child(1) { width: 10%; }
.notice-table th:nth-child(2), .qna-table th:nth-child(2) { width: 50%; }
.notice-table th:nth-child(3), .qna-table th:nth-child(3) { width: 15%; }
.notice-table th:nth-child(4), .qna-table th:nth-child(4) { width: 15%; }
.notice-table th:nth-child(5), .qna-table th:nth-child(5) { width: 10%; }
td { border: 1px solid #ddd; padding: 12px; background: #ffffff; text-align: left; font-size: 1.1rem; }
.item-row { cursor: pointer; }
.content-row td { padding: 12px; background: #ffffff; border: 1px solid #ddd; font-size: 1rem; }
.content-row td .icon { margin-right: 8px; vertical-align: middle; }
.pagination { text-align: center; margin-top: 16px; }
.pagination button { margin: 0 4px; padding: 6px 12px; font-size: 1rem;height: 32px;
  padding: 4px 12px;
  margin: 0 3px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  cursor: pointer; }
.pagination button[disabled] { font-weight: bold; background: #eee;
  color: #999;
  cursor: not-allowed;}
footer {width: 100%;}
footer img { width: 100%; display: block; }
.floating-btn { position: fixed; right: 20px; bottom: 20px; width: 100px; z-index: 9999; }
.floating-btn img { width: 100%; height: auto; }
  /* 팝업 박스만 띄우기 */
  #popup-box {
    display: none;               /* 기본은 숨김 */
    position: fixed;
    top: 20px;                   /* 화면 위에서 20px 아래 */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
  }
  #popup-box .close-btn {
    padding: 6px 12px;
    background: transparent;
    color: #666;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
  }
  #popup-box h2 {
    margin-top: 0;
    font-size: 1.25rem;
    text-align: center;
    border-bottom: 3px solid #ccc;
    /* margin-bottom: 5px; */
    padding-bottom: 10px;
  }
  #popup-box .content {
    margin: 32px 0;
    line-height: 1.5;
    max-height: 400px;
    overflow-y: auto;
  }
  #popup-box .today-btn {
    padding: 6px 12px;
    background: #006837;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
  }
  .popup-footer {
    text-align: right;
  }

  @media (max-width: 900px) {
    #popup-box .content {
      max-height: 400px;
    }
}