:root {
    --navy: #0A2540;
    --navy-2: #123A5C;
    --teal: #0E7490;
    --teal-light: #E0F2F7;
    --sand: #F6F4EF;
    --ink: #1F2A37;
    --gray: #6B7280;
    --line: #E3E6EA;
    --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Pretendard", -apple-system, "Malgun Gothic", sans-serif;
    color: var(--ink);
    line-height: 1.65;
    background: var(--white);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    max-width: 1140px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--navy); }
.logo-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px;
    background: var(--navy); color: var(--white);
    font-size: 14px; letter-spacing: 0.5px;
}

.gnb ul { list-style: none; display: flex; }
.gnb-item { position: relative; }
.gnb-item > a {
    display: block; padding: 24px 22px;
    font-weight: 700; font-size: 20px; color: var(--navy);
}
.gnb-item > a:hover { color: var(--teal); }
.snb {
    display: none; position: absolute; top: 100%; left: 0;
    min-width: 190px; background: var(--white);
    border: 1px solid var(--line); border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 24px rgba(10, 37, 64, 0.08);
    flex-direction: column; padding: 6px 0;
}
.gnb-item:hover .snb { display: flex; }
.snb a { display: block; padding: 11px 18px; font-size: 16.5px; color: var(--ink); }
.snb a:hover { background: var(--teal-light); color: var(--teal); }

.hero {
    background:
        radial-gradient(1200px 500px at 80% -10%, rgba(14,116,144,0.35), transparent 60%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
    color: var(--white);
}
.hero-inner { max-width: 1140px; margin: 0 auto; padding: 96px 20px 110px; }
.hero-eyebrow {
    font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
    color: #9CC7D8; margin-bottom: 14px;
}
.hero h1 { font-size: 44px; line-height: 1.25; font-weight: 800; margin-bottom: 18px; }
.hero-sub { font-size: 16px; color: #C4D4E0; margin-bottom: 34px; }

.btn-primary, .btn-outline, .btn-danger {
    display: inline-block; padding: 11px 26px; border-radius: 8px;
    font-size: 15px; font-weight: 600; cursor: pointer; border: none;
    font-family: inherit;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: #0B5E75; }
.btn-outline { background: var(--white); color: var(--navy); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-danger { background: #FDF0EF; color: #B4372C; }
.btn-danger:hover { background: #F8DEDB; }

.section { padding: 72px 0; }
.section-alt { background: var(--sand); }
.section-inner { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section-title { font-size: 26px; color: var(--navy); margin-bottom: 26px; font-weight: 700; }

.card-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.card {
    background: var(--white); border: 1px solid var(--line);
    border-radius: 12px; padding: 26px 22px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover {
    transform: translateY(-3px);
    border-color: var(--teal);
    box-shadow: 0 12px 28px rgba(10, 37, 64, 0.08);
}
.card h3 { font-size: 17px; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 13.5px; color: var(--teal); font-weight: 600; }

.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; }
.notice-list { list-style: none; border-top: 2px solid var(--navy); }
.notice-list li {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 15px;
}
.notice-list a:hover { color: var(--teal); }
.notice-list .date { color: var(--gray); font-size: 13.5px; white-space: nowrap; }
.more { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--teal); font-weight: 600; }
.contact-box {
    background: var(--white); border: 1px solid var(--line); border-radius: 12px;
    padding: 30px;
}
.contact-box .tel { font-size: 30px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.contact-box p { color: var(--gray); font-size: 14.5px; margin-bottom: 18px; }

.page-header {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
    color: var(--white); padding: 44px 0;
}
.page-header h1 { font-size: 30px; font-weight: 700; }
.breadcrumb { margin-top: 8px; font-size: 13.5px; color: #A9BFCE; }

.layout-sidebar {
    display: grid; grid-template-columns: 220px 1fr;
    gap: 48px; padding-top: 48px; padding-bottom: 80px;
}
.sidebar h2 {
    font-size: 18px; color: var(--navy);
    padding-bottom: 12px; border-bottom: 2px solid var(--navy);
}
.sidebar ul { list-style: none; }
.sidebar li a {
    display: block; padding: 11px 4px;
    border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.sidebar li.active a { color: var(--teal); font-weight: 700; }
.sidebar li a:hover { color: var(--teal); }

.page-content h3 { font-size: 22px; color: var(--navy); margin-bottom: 18px; }
.page-content p { margin-bottom: 14px; font-size: 15.5px; }

.info-table { width: 100%; border-collapse: collapse; margin-top: 10px; border-top: 2px solid var(--navy); }
.info-table th, .info-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; text-align: left; }
.info-table th { width: 130px; background: var(--sand); color: var(--navy); }

.map-placeholder {
    margin-top: 18px; height: 340px; border-radius: 12px;
    background: var(--sand); border: 1px dashed var(--line);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray); font-size: 14px;
}

.board-wrap { padding-top: 48px; padding-bottom: 80px; }
.board-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); }
.board-table th, .board-table td { padding: 13px 10px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.board-table th { background: var(--sand); color: var(--navy); font-weight: 600; }
.board-table td { text-align: center; }
.board-table .col-title { text-align: left; }
.board-table .col-title a:hover { color: var(--teal); }
.col-no { width: 70px; } .col-author { width: 110px; }
.col-date { width: 110px; } .col-views { width: 70px; }
.empty { text-align: center; color: var(--gray); padding: 40px 0 !important; }

.board-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; gap: 10px; }
.pagination { display: flex; gap: 4px; }
.pagination a {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 34px; height: 34px; border-radius: 8px;
    font-size: 14px; border: 1px solid var(--line);
}
.pagination a.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.post-view header { border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); padding: 20px 6px; }
.post-view h2 { font-size: 22px; color: var(--navy); }
.post-meta { margin-top: 8px; color: var(--gray); font-size: 13.5px; }
.post-body { padding: 28px 6px 40px; border-bottom: 1px solid var(--line); font-size: 15.5px; }

.write-form label { display: block; margin-bottom: 18px; font-weight: 600; color: var(--navy); font-size: 14.5px; }
.write-form input, .write-form textarea {
    display: block; width: 100%; margin-top: 7px;
    padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px;
    font-family: inherit; font-size: 15px;
}
.write-form input:focus, .write-form textarea:focus {
    outline: none; border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(14,116,144,0.12);
}

.flash-wrap { max-width: 1140px; margin: 16px auto 0; padding: 0 20px; }
.flash { background: #FFF7E6; border: 1px solid #F1DFB2; color: #7A5B12; padding: 12px 16px; border-radius: 8px; font-size: 14px; }
.error-page { text-align: center; padding: 110px 20px; }
.error-page h1 { font-size: 72px; color: var(--navy); }
.error-page p { color: var(--gray); margin: 12px 0 28px; }

.site-footer { background: var(--navy); color: #A9BFCE; padding: 40px 0; font-size: 15px; line-height: 1.9; }
.footer-inner { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.footer-links { margin-bottom: 14px; }
.footer-links a { color: #C9D8E3; }
.footer-links a:hover { color: var(--white); }
.copyright { margin-top: 14px; color: #6E869A; }

@media (max-width: 860px) {
    .gnb { display: none; }
    .hero h1 { font-size: 30px; }
    .hero-inner { padding: 64px 20px 72px; }
    .two-col, .layout-sidebar { grid-template-columns: 1fr; gap: 28px; }
    .col-author, .col-views { display: none; }
    .allmenu-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}


.cert-section { font-size: 18px; color: var(--navy); margin: 30px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--navy); }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.cert-grid figure { margin: 0; text-align: center; }
.cert-grid img { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: var(--sand); }
.cert-grid figcaption { margin-top: 8px; font-size: 13.5px; color: var(--ink); font-weight: 600; line-height: 1.45; }

.allmenu-toggle { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--navy); padding: 8px 4px 8px 14px; }
.allmenu-toggle:hover { color: var(--teal); }
.allmenu { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(10, 37, 64, 0.45); }
.allmenu.open { display: block; }
.allmenu-panel { position: relative; max-width: 1140px; margin: 84px auto 0; background: var(--white); border-radius: 14px; padding: 44px 40px; box-shadow: 0 24px 60px rgba(10, 37, 64, 0.25); max-height: calc(100vh - 120px); overflow-y: auto; }
.allmenu-close { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--gray); padding: 6px; }
.allmenu-close:hover { color: var(--navy); }
.allmenu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 34px 26px; }
.allmenu-title { display: block; text-align: center; border: 1px solid var(--navy); color: var(--navy); font-weight: 700; font-size: 16px; padding: 14px 10px; margin-bottom: 14px; }
.allmenu-title:hover { background: var(--navy); color: var(--white); }
.allmenu-col ul { list-style: none; }
.allmenu-col li a { display: block; padding: 7px 4px; font-size: 14.5px; color: var(--ink); }
.allmenu-col li a::before { content: "· "; color: var(--gray); }
.allmenu-col li a:hover { color: var(--teal); }

.gnb .snb { display: none; }
.gnb .gnb-item:hover .snb { display: flex; }

.login-wrap { display: flex; justify-content: center; padding: 90px 20px 110px; }
.login-box { width: 100%; max-width: 380px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 36px 32px; }
.login-box h2 { font-size: 22px; color: var(--navy); margin-bottom: 24px; text-align: center; }
.login-box label { display: block; margin-bottom: 16px; font-weight: 600; color: var(--navy); font-size: 14px; }
.login-box input { display: block; width: 100%; margin-top: 6px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: 15px; }
.login-box input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,116,144,0.12); }
.btn-block { display: block; width: 100%; margin-top: 8px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.stat-card { display: flex; flex-direction: column; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.stat-card:hover { border-color: var(--teal); }
.stat-name { font-size: 14px; color: var(--gray); font-weight: 600; }
.stat-num { font-size: 28px; font-weight: 800; color: var(--navy); }
.btn-sm { padding: 6px 12px; font-size: 13px; }

.layout-single { padding-top: 48px; padding-bottom: 80px; max-width: 900px; }
.notice-box { background: var(--sand); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; font-weight: 600; color: var(--navy); }

.table-scroll { overflow-x: auto; }
.perf-table { width: 100%; min-width: 720px; border-collapse: collapse; border-top: 2px solid var(--navy); }
.perf-table th, .perf-table td { padding: 12px 12px; border-bottom: 1px solid var(--line); font-size: 14.5px; text-align: center; }
.perf-table th { background: var(--sand); color: var(--navy); font-weight: 600; }
.perf-table .perf-title { text-align: left; }
.perf-table .perf-period { white-space: nowrap; }

.hero-slider { position: relative; background: var(--navy); overflow: hidden; }
.hero-slider .slide { display: none; }
.hero-slider .slide.active { display: block; animation: slidefade .8s ease; }
.hero-slider img { display: block; width: 100%; max-height: 620px; object-fit: cover; }
@keyframes slidefade { from { opacity: 0; } to { opacity: 1; } }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 10px; }
.slider-dots .dot { width: 11px; height: 11px; border-radius: 50%; border: none; cursor: pointer; background: rgba(255,255,255,0.45); padding: 0; }
.slider-dots .dot.active { background: var(--white); }
@media (prefers-reduced-motion: reduce) { .hero-slider .slide.active { animation: none; } }

.logo img { display: block; height: 38px; width: auto; }

.footer-flex { display: flex; align-items: flex-start; gap: 28px; padding-left: 0; }
.footer-logo { margin-left: -20px; }
.footer-logo img { display: block; width: 32px; height: auto; margin-top: 6px; }
@media (max-width: 860px) { .footer-flex { flex-direction: column; gap: 16px; } .footer-logo { margin-left: 0; } }

.content-img { display: block; width: 100%; margin: 14px 0 30px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.content-img-sm { max-width: 560px; }

.biz-section { margin-bottom: 52px; }
.biz-title { font-size: 20px; color: var(--teal); font-weight: 700; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.biz-img { display: block; max-width: 100%; width: auto; margin: 18px 0 6px; }
.biz-img-sm { max-width: 480px; }

.biz-sub { font-size: 15px; color: var(--ink); font-weight: 500; }

.map-live { border: none !important; background: none !important; display: block !important; }

.site-footer strong { color: var(--white); font-weight: 700; }
.footer-accent { color: #E8E340 !important; font-weight: 700; }
.footer-accent:hover { color: #F5F27A !important; }

.history-table th { width: 160px; white-space: nowrap; }

.cert-zoom img { cursor: zoom-in; }
.lightbox { display: none; position: fixed; inset: 0; z-index: 300; background: rgba(10, 37, 64, 0.85); cursor: zoom-out; padding: 30px; }
.lightbox.open { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.img-missing img { display: none; }
.img-missing::before { content: "이미지 준비 중"; display: flex; align-items: center; justify-content: center; height: 180px; border: 1px dashed var(--line); border-radius: 8px; background: var(--sand); color: var(--gray); font-size: 13px; }

.greet-title { font-size: 21px; font-weight: 700; color: #D2492A; margin-bottom: 22px; }
.greet-keyword { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
a.greet-keyword:hover { color: #0B5E75; }
.greet-sign { text-align: right; font-weight: 700; color: var(--navy); margin-top: 34px; }

.perf-table tr.perf-highlight td { background: var(--navy); color: var(--white); font-weight: 600; }

.member-links { margin-top: 16px; text-align: center; font-size: 14px; color: var(--gray); }
.member-links a { color: var(--teal); font-weight: 600; }
.form-hint { font-size: 13px; color: var(--gray); margin: -8px 0 16px; line-height: 1.6; }
.form-hint-warn { color: #B4372C; }
.find-wrap { max-width: 900px; }
.find-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.find-grid .login-box { max-width: none; }
.find-result { margin-top: 14px; padding: 12px; background: var(--teal-light); border-radius: 8px; font-size: 14px; text-align: center; }
@media (max-width: 860px) { .find-grid { grid-template-columns: 1fr; } }

.agree-box { max-height: 340px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; background: var(--sand); font-size: 14px; }
.agree-box h3 { font-size: 17px; }
.agree-form { margin-top: 20px; }
.agree-check { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: 15px; margin-bottom: 20px; cursor: pointer; }
.agree-check input { width: 17px; height: 17px; }

.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form-grow { flex: 1; }
.form-inline { display: flex; align-items: center; gap: 8px; margin-top: 7px; flex-wrap: wrap; }
.form-inline input, .form-inline select { margin-top: 0 !important; flex: 1; }
.write-form select { display: block; width: 100%; margin-top: 7px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: 15px; background: var(--white); }
.form-inline .btn-sm { flex: none; white-space: nowrap; }
.form-check { display: flex !important; align-items: center; gap: 6px; font-weight: 500 !important; font-size: 14px; margin: 0 !important; white-space: nowrap; }
.dash { color: var(--gray); }
.spam-code { display: inline-block; background: var(--navy); color: var(--white); font-weight: 800; letter-spacing: 4px; padding: 10px 16px; border-radius: 8px; font-size: 17px; }

.policy-divider { border: none; border-top: 2px solid var(--navy); margin: 48px 0 36px; }
.policy-en { color: var(--gray); font-size: 13.5px; font-style: italic; }

.withdraw-notice { background: #FBF1EF; border: 1px solid #E8C4BC; border-radius: 10px; padding: 18px 20px; font-size: 14px; line-height: 1.8; margin-bottom: 22px; }
.withdraw-notice strong { color: #B4372C; }
.btn-danger { background: #B4372C; color: var(--white); border: none; padding: 12px 22px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit; }
.btn-danger:hover { background: #96291F; }
.withdraw-link { margin-top: 24px; font-size: 13.5px; color: var(--gray); text-align: center; }
.withdraw-link a { color: #B4372C; font-weight: 600; text-decoration: underline; }

.post-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.attach-wrap { position: relative; flex: none; }
.attach-toggle { background: var(--white); border: 1px solid var(--teal); color: var(--teal); padding: 8px 16px; border-radius: 8px; font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: inherit; }
.attach-toggle:hover { background: var(--teal-light); }
.attach-panel { display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 50; min-width: 320px; max-width: 90vw; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(10, 37, 64, 0.14); padding: 13px 16px; align-items: center; justify-content: space-between; gap: 14px; }
.attach-panel.open { display: flex; }
.attach-name { font-size: 14px; font-weight: 600; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attach-btn { flex: none; background: var(--teal); color: var(--white); padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; }
.attach-btn:hover { background: #0B5E75; color: var(--white); }
.write-form input[type="file"] { display: block; margin-top: 7px; font-size: 14px; }


.col-manage { width: 76px; text-align: center; white-space: nowrap; }
.col-manage form { display: inline; }
.col-manage .btn-danger { padding: 6px 12px; font-size: 13px; white-space: nowrap; }

.secret-check { margin-bottom: 4px !important; }
.secret-hint { font-size: 13.5px; color: var(--gray); margin-bottom: 14px; }
.secret-mark { font-size: 13px; }

.reply-box { margin-top: 28px; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 10px; padding: 18px 20px; background: var(--teal-light); }
.reply-head { font-weight: 700; color: var(--teal); margin-bottom: 10px; font-size: 15px; }
.reply-date { font-weight: 500; color: var(--gray); font-size: 13px; margin-left: 8px; }
.reply-body { font-size: 15px; line-height: 1.8; }
.reply-form { margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line); }
.reply-form textarea { display: block; width: 100%; margin-top: 7px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: 15px; resize: vertical; }
.reply-actions { margin-top: 12px; text-align: right; }
.badge-done { display: inline-block; background: var(--teal); color: var(--white); font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 20px; vertical-align: 2px; margin-left: 4px; }