@charset "utf-8";

/* Reset & Base */

@font-face {font-display: swap;font-family: 'Noto Sans KR';font-style: normal;font-weight: 100;src: url(./fonts/noto-sans-kr-v39-latin-100.woff2) format('woff2'), url(./fonts/NotoSansKR-Thin.ttf) format('truetype');}
@font-face {font-display: swap;font-family: 'Noto Sans KR';font-style: normal;font-weight: 200;src: url(./fonts/noto-sans-kr-v39-latin-200.woff2) format('woff2'), url(./fonts/NotoSansKR-ExtraLight.ttf) format('truetype');}
@font-face {font-display: swap;font-family: 'Noto Sans KR';font-style: normal;font-weight: 300;src: url(./fonts/noto-sans-kr-v39-latin-300.woff2) format('woff2'), url(./fonts/NotoSansKR-Light.ttf) format('truetype');}
@font-face {font-display: swap;font-family: 'Noto Sans KR';font-style: normal;font-weight: 400;src: url(./fonts/noto-sans-kr-v39-latin-regular.woff2) format('woff2'), url(./fonts/NotoSansKR-Regular.ttf) format('truetype');}
@font-face {font-display: swap;font-family: 'Noto Sans KR';font-style: normal;font-weight: 500;src: url(./fonts/noto-sans-kr-v39-latin-500.woff2) format('woff2'), url(./fonts/NotoSansKR-Medium.ttf) format('truetype');}
@font-face {font-display: swap;font-family: 'Noto Sans KR';font-style: normal;font-weight: 600;src: url(./fonts/noto-sans-kr-v39-latin-600.woff2) format('woff2'), url(./fonts/NotoSansKR-SemiBold.ttf) format('truetype');}
@font-face {font-display: swap;font-family: 'Noto Sans KR';font-style: normal;font-weight: 700;src: url(./fonts/noto-sans-kr-v39-latin-700.woff2) format('woff2'), url(./fonts/NotoSansKR-Bold.ttf) format('truetype');}
@font-face {font-display: swap;font-family: 'Noto Sans KR';font-style: normal;font-weight: 800;src: url(./fonts/noto-sans-kr-v39-latin-800.woff2) format('woff2'), url(./fonts/NotoSansKR-ExtraBold.ttf) format('truetype');}
@font-face {font-display: swap;font-family: 'Noto Sans KR';font-style: normal;font-weight: 900;src: url(./fonts/noto-sans-kr-v39-latin-900.woff2) format('woff2'), url(./fonts/NotoSansKR-Black.ttf) format('truetype');}


* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Noto Sans KR', sans-serif; }
body { font-family: 'Noto Sans KR', sans-serif; color: #333; line-height: 1.6; background: #fff; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.radius5x { border: 1px solid #C0C0C0; border-radius: 5px; -moz-border-radius: 5px; -khtml-border-radius: 5px; -webkit-border-radius: 5px; }

/* Header & Navigation */
.top-bar { background: #f8f9fa; border-bottom: 1px solid #e9ecef; padding: 8px 0; font-size: 12px; text-align: right; }
.util-menu a { /*font-weight: bold;*/ color: #666; margin: 0 5px; }
.util-menu a.active, .util-menu a:hover { /*font-weight: bold;*/ color: #0056b3; margin: 0 5px; }
.main-header { background: #fff; border-bottom: 2px solid #0056b3; padding: 8px 0; position: relative; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo h1 { color: #0056b3; font-size: 28px; letter-spacing: -1px; }
.nav-menu ul { display: flex; }
.nav-menu ul li { margin-left: 35px; }
.nav-menu ul li a { font-size: 18px; font-weight: bold; color: #333; transition: color 0.3s; }
.nav-menu ul li a:hover { color: #0056b3; }
.nav-toggle { display: none; }

/* Main Page */
.main-visual { width: 100%; height: 450px; position: relative; display: flex; align-items: center; justify-content: center; color: #fff; text-shadow: 2px 2px 4px rgba(0,0,0,0.7); }
.main-visual h2 { font-size: 42px; text-align: center; font-weight: bold; }
.main-visual p { font-size: 20px; margin-top: 10px; text-align: center; }

.main-content-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 40px auto; }
.card { border: 1px solid #ddd; background: #fff; padding: 15px; display: flex; flex-direction: column; transition: transform 0.3s; }
.card:hover { transform: translateY(-3px); }
.card-img { height: 150px; overflow: hidden; margin-bottom: 15px; /*border: 1px solid #C0C0C0;*/ }
.card-img img { width: 100%; height: 100%; object-fit: cover; border: 1px solid #C0C0C0; border-radius: 6px; -moz-border-radius: 6px; -khtml-border-radius: 6px; -webkit-border-radius: 6px; }
.card h3 { font-size: 16px; color: #0056b3; margin-bottom: 10px; border-bottom: 1px solid #eee; padding-bottom: 5px; }
.card p { font-size: 13px; color: #666; margin-bottom: 15px; height: 40px; overflow: hidden; }
.card-links a { display: block; font-size: 13px; color: #0056b3; margin-bottom: 4px; }
.card-links a:hover { text-decoration: underline; }

/* Groupware Form */
.login-form { display: flex; flex-direction: column; gap: 8px; }
.login-form input { width: 100%; padding: 5px; border: 1px solid #ccc; font-size: 12px; }
.login-btn { width: 100%; padding: 8px; background: #888; color: #fff; border: none; cursor: pointer; font-weight: bold; font-size: 13px; margin-top: 4px; }
.login-btn:hover { background: #666; }
.move-btn { padding: 8px; background: #888; color: #fff; border: none; cursor: pointer; font-size: 13px; margin-top: 4px; }
.move-btn:hover { background: #666; }

/* Sub Page Layout */
.sub-wrapper { display: flex; margin: 20px auto; gap: 40px; }
.sidebar { width: 220px; flex-shrink: 0; }
.sidebar h2 { font-size: 22px; color: #333; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #333; }
.side-menu li a { display: block; padding: 10px 15px; border-bottom: 1px solid #eee; font-size: 14px; color: #555; }
.side-menu li a.active, .side-menu li a:hover { background: #f4f4f4; color: #0056b3; font-weight: bold; border-left: 3px solid #0056b3; }

.side-box { border: 1px solid #ccc; padding: 15px; margin-top: 20px; font-size: 13px; }
.side-box h4 { font-size: 14px; margin-bottom: 10px; color: #333; border-bottom: 1px solid #ddd; padding-bottom: 5px; }
.side-box a { display: block; font-size: 13px; color: #0056b3; margin-bottom: 4px; }
.side-box a:hover { text-decoration: underline; }

.sub-content { flex-grow: 1; }
.breadcrumb { text-align: right; font-size: 12px; color: #777; margin-bottom: 20px; }
.page-title { font-size: 26px; color: #0056b3; margin-bottom: 8px; border-left: 4px solid #0056b3; padding-left: 10px; }
.page-subtitle { font-size: 16px; color: #555; margin-bottom: 15px; font-weight: normal; }

.sub-banner-img { width: 100%; height: 220px; overflow: hidden; margin-bottom: 15px; border: 1px solid #ddd; }
.sub-banner-img img { width: 100%; height: 100%; object-fit: cover; }
.main-text-box { /*background: #f8f9fa; border-left: 4px solid #555;*/ padding: 20px; margin-bottom: 30px; color: #fff; text-shadow: 2px 2px 4px rgba(0,0,0,0.7); }
.main-text-box h3 { /*color: #0056b3;*/ font-size: 18px; margin-bottom: 10px; }
.main-text-box p { font-size: 14px; /*color: #666;*/ }


/* 테이블 좌우 스크롤 */
.scrolltable-container {
  overflow-x: auto; /* 가로 스크롤 활성화 */
  max-width: 100%;
}

.scrolltable {
  /*border-collapse: collapse;*/
  border-collapse: separate;
  border-spacing: 0;
  border: 0;
  /*width: 860px;*/ /*width: 100%;*/
}

.scrolltable th, .scrolltable td {
  padding: 8px;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  /*background-color: #ffffff;*/ /* 고정된 열이 투명해지지 않도록 배경색 필수 지정 */
  /*text-align: center;*/
  white-space: nowrap;
}

.scrolltable th { 
  border-top: 1px solid #ddd;
}

.scrolltable th:first-child, .scrolltable td:first-child {
  border-left: 1px solid #ddd;
}

.scrolltable th {background-color: #CFCFCF;} /* 타이틀 행의 색상 */
.scrolltable tr:nth-child(odd) td {background-color: #f4f4f4;} /* 홀수 번째 행의 색상 */
.scrolltable tr:nth-child(even) td {background-color: #ffffff;} /* 짝수 번째 행의 색상 */

/* 좌우 고정할 열 지정 */
.sticky-col {
  position: sticky;
  position: -webkit-sticky;
  left: 0;
  background-color: #fff; /* 구분하기 위한 고정 열 배경색 */
  z-index: 2; /* 스크롤되는 콘텐츠 위로 올라오도록 설정 */
}


/* Card UI */
.grid-card { display: grid; }

.pride_card { overflow: hidden; transition: transform 0.3s; }
.pride_card:hover { transform: translateY(-3px); }
.pride_card img { object-fit: cover; box-shadow: rgb(0, 0, 0) 3px 3px 3px; }
.pride_card-content { padding: 10px; text-align: center;}

.cont_card { /*background: #fff;*/ border: 1px solid #C0C0C0; border-radius: 6px; overflow: hidden; /*box-shadow: 0 4px 6px rgba(0,0,0,0.05);*/ transition: transform 0.3s; }
.cont_card:hover { transform: translateY(-3px); }
.cont_card img { /*width: 100%; height: 100%;*/ object-fit: cover; }
.cont_card-content { padding: 20px; text-align: center; }

.cont_img { /*border: 1px solid #C0C0C0;*/ overflow: hidden; transition: transform 0.3s; }
.cont_img img { object-fit: cover; }
.cont_img-content { padding: 20px; text-align: center; }

/* Footer Styling */
footer { background: #f1f3f5; padding: 20px 0; border-top: 1px solid #dee2e6; margin-top: 30px; font-size: 13px; color: #555; }
.footer-flex { display: flex; gap: 15px; }
.footer-logo img { color: #888; /*font-size: 22px;*/ padding-top: 5px; }
.footer-info p { margin-bottom: 5px; }
.footer-info .copyright { margin-top: 10px; font-weight: bold; color: #333; }
.footer-info .disclaimer { font-size: 11px; color: #999; margin-top: 15px; text-align: justify; line-height: 1.5; }

/* Responsive Design (Mobile Support) */
@media (max-width: 992px) {
    .main-content-grid { grid-template-columns: repeat(2, 1fr); }
    .sub-wrapper { flex-direction: column; }
    .sidebar { width: 100%; }
    .footer-flex { flex-direction: column; gap: 15px; }
}

@media (max-width: 768px) {
    .header-flex { flex-direction: column; align-items: flex-start; }
    .nav-toggle { display: block; position: absolute; right: 20px; top: 22px; background: transparent; border: none; cursor: pointer; }
    .nav-toggle .hamburger { display: block; width: 25px; height: 3px; background: #333; position: relative; }
    .nav-toggle .hamburger::before, .nav-toggle .hamburger::after { content: ''; position: absolute; width: 25px; height: 3px; background: #333; left: 0; }
    .nav-toggle .hamburger::before { top: -8px; }
    .nav-toggle .hamburger::after { top: 8px; }
    
    .nav-menu { display: none; width: 100%; margin-top: 15px; }
    .nav-menu.show { display: block; }
    .nav-menu ul { flex-direction: column; width: 100%; }
    .nav-menu ul li { margin-left: 0; border-bottom: 1px solid #eee; }
    .nav-menu ul li a { display: block; padding: 12px 0; }
    
    .main-content-grid { grid-template-columns: 1fr; }
    .main-visual { height: 300px; }
    .main-visual h2 { font-size: 28px; }
    .main-visual p { font-size: 15px; }
}