html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
   margin: 0;
   padding: 0;
   border: 0;
   outline: 0;
   font-family: "맑은 고딕", Tahoma, sans-serif;
   font-size: 100%;
   
   vertical-align: baseline;
   background: transparent;
}

html, body {
  height: 100%;
  box-sizing: border-box;
  min-height: 100vh;  /* 뷰포트 높이 100% 보장 */
}
a {
    color:#222;
    text-decoration:none;
}

header {
  background-color: #0056b3;
  /* border-bottom: 1px solid #007bff; */
  padding: 10px 0px;
  position: sticky; /* 스크롤 시 상단 고정 옵션 */
  top: 0;
  height:50px;
  z-index: 1000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.logo {
  color:#fff;
  font-weight: bold;
  vertical-align: bottom;
}


.logo a {
  text-decoration: none;
  color: #bebebe;
  transition: color 0.3s ease;
}

.logo a:hover {
  color: #fff; /* 호버 시 컬러 변경 */
  cursor: pointer;
}

.logo a:active {
  color: #fff; /* 호버 시 컬러 변경 */
  cursor: pointer;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px; /* 메뉴 간 간격 */
}

.main-nav a {
  text-decoration: none;
  color: #bebebe;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #fff; /* 호버 시 컬러 변경 */
  cursor: pointer;
}

.main-nav a:active {
  color: #fff; /* 호버 시 컬러 변경 */
  cursor: pointer;
}

.main-nav .active {
  color: #fff; /* 호버 시 컬러 변경 */
  cursor: pointer;
}

.image-wrapper {
  width: 100%;       /* 부모 폭 꽉 채움 */
  height: 300px;     /* 고정 세로 높이 */
  overflow: hidden;  /* 이미지 넘침 방지 */
}

.image-wrapper img {
  width: 100%;
  height: 300px;
  object-fit: cover; /* 비율 유지하며 꼭 맞게 채우기 */
  display: block;    /* 밑에 공백 없애기용 */
}

.space {
    width: 1200px;
    display: flex;
    margin:30px 0px;
}

.content {
  max-width: 1200px;           /* 본문 최대 폭 제한, 너무 넓으면 가독성 떨어짐 */
  margin: 0 auto;             /* 가운데 정렬 */
  padding: 20px 15px;          /* 콘텐츠 주변 여백 */
  line-height: 1.6;           /* 줄 간격 넉넉하게 */
  color: #333333;             /* 눈에 부담 없는 진한 회색 */
  background-color: #fff;     /* 배경색은 흰색 */
}

.content p {
  margin-bottom: 1em;         /* 문단간 간격 */
}

.content a {
  color: #007bff;             /* 파란 링크 컬러 */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.content a:hover {
  color: #0056b3;             /* 호버시 짙은 파랑 */
  text-decoration: none;
}

.content img {
  max-width: 100%;            /* 이미지가 콘텐츠 영역 넘치지 않게 */
  height: auto;
  display: block;
  margin: 1em 0;
}

.content ul,
.content ol {
  margin: 1em 0 1em 1.5em;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  border : 0px
}

.content table th,
.content table td {
  border: 0px;
  padding: 10px;
  text-align: left;
}

.content span {
    font-size: 120%;
    font-weight: bold;
    color:#0056b3;
}

.btn-download {
  display: inline-block;
  font-weight: bold;
  background-color: #0056b3;      /* 부드러운 카키톤, 배경색 #f0f3d5랑 조화 */
  color: #fff;               /* 밝은 연두빛 */
  cursor: pointer;
  font-size: 12pt;
  padding: 12px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  user-select: none;
}

.btn-download:hover {
  background-color: #017cff;     /* 진한 녹색 계열로 호버 */
  text-decoration: none;
  cursor: pointer;
}

/* 질문, 답변 스타일 */
.answer {
  display: block;
  margin-top: 20px;
  padding-left: 20px;
  color: #222;
}

/*
.answer.active {
  display: block;
}

.qa-question, .faq-question {
  
  cursor: pointer;
  color: #222;
}

.faq-answer, .qa-answer {
  color: #0056b3;
  margin-bottom: 40px;
}


*/

footer {
  /* position: fixed;
  bottom: 0;
  left: 0;
  */
  width: 100%;
  background-color: #ebebeb;
  margin:0 auto;
  padding: 20px;
  border-top: 1px solid #cbcfa6;
  box-sizing: border-box;
  z-index: 1000;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom:40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-info p {
  font-size:80%;
  margin: 4px 0;
  line-height: 1.2;
}

hr {
    border: 1px dashed #ddd;
    margin:30px 0px;
}

@media (max-width: 768px) {

  footer {
    padding: 15px 10px;
  }
  
  .none {
    display: none;
  }

  .image-wrapper {
    height: 150px;  /* 모바일에서 높이를 200px로 줄임 */
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 100%; /* 1200px 고정 대신 꽉 채우기 */
    padding: 0 15px;
  }

  .footer-info p {
    text-align: left;
    margin: 3px 0;
  }

  .footer-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .footer-nav a {
    font-size: 14px;
    padding: 5px 8px;
  }
}