@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&display=swap');

/* ====================================================== */
/* 1. 모든 페이지 공통 스타일 (Global Styles) */
/* ====================================================== */

/* --- 기본 스타일 초기화 --- */
body, h1, h2, h3, p, ul, li, div, header, nav, main, footer, section {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: #333;
    line-height: 1.7;
    background-color: #fff; /* 모든 페이지 배경 흰색으로 통일 */
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 헤더 --- */
header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
header .logo img {
    height: 35px;
    vertical-align: middle;
}
nav {
    height: 100%;
}
nav > ul {
    display: flex;
    justify-content: center;
    height: 100%;
}
nav > ul > li {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 20px;
}
nav > ul > li > a {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    padding: 0 20px;
    line-height: 80px;
    transition: color 0.3s;
}
.dropdown_menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    padding-top: 10px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out 0.1s, visibility 0.3s ease-out 0.1s;
}
.dropdown_menu li a {
    display: block;
    padding: 10px;
    font-size: 0.95em;
    text-align: center;
    color: #666;
    transition: color 0.2s, background-color 0.2s;
}
.gnb_bg {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #eee;
    z-index: 999;
    overflow: hidden;
    transition: height 0.4s ease-in-out;
}
header:hover .gnb_bg {
    height: 200px;
}
header:hover .dropdown_menu {
    opacity: 1;
    visibility: visible;
}
nav > ul > li:hover > a {
    color: #046f62;
}
.dropdown_menu li a:hover {
    color: #046f62;
}

/* --- Footer --- */
footer {
    background-color: #333;
    color: #aaa;
    font-size: 0.9em;
    margin-top: 0;
}
.footer-top {
    border-bottom: 1px solid #444;
}
.footer-top .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-top ul {
    display: flex;
    align-items: center;
    height: 50px;
}
.footer-top li a {
    display: block;
    padding: 0 20px;
    color: #ccc;
    font-weight: 500;
    transition: color 0.3s;
}
.footer-top li:first-child a {
    padding-left: 0;
}
.footer-top li a:hover {
    color: #fff;
}
.footer-bottom {
    padding: 30px 0;
}
.footer-bottom .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}
.footer-info .company-name {
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
}
.footer-info p {
    margin: 0;
    margin-bottom: 4px;
    line-height: 1.6;
}
.footer-info .details {
    display: flex;
    margin-top: 4px;
}
.footer-info .details p {
    margin-bottom: 0;
}
.footer-info .details p:last-child {
    margin-left: 25px;
    padding-left: 25px;
    border-left: 1px solid #555;
}
.copyright {
    margin-top: 20px;
    padding-top: 0;
    border-top: none;
    text-align: left;
    color: #777;
    font-size: 0.9em;
    font-weight: bold;
}

/* ====================================================== */
/* 2. index.html 전용 스타일 (Main Page Styles) */
/* ====================================================== */

/* --- 메인 슬라이더 --- */
.main-hero-slider {
    width: 100%;
    height: 100vh;
}
.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-size: cover;
    background-position: center;
}
.hero-slide-1 { background-image: url('img/friendship.jpg'); }
.hero-slide-2 { background-image: url('img/notebook.jpg'); }
.hero-slide-3 { background-image: url('img/metting.jpg'); }

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}
.main-hero-title {
    font-size: 3.5em;
    font-weight: 700;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}
.main-hero-subtitle {
    font-size: 1.4em;
    margin-top: 15px;
    max-width: 1000px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    line-height: 1.6;
}
@keyframes slideUpFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
#fullpage .hero-content {
    animation-name: slideUpFadeIn;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}
.swiper-button-prev,
.swiper-button-next {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 65px;
    height: 65px;
    transition: background-color 0.3s;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: rgba(255, 255, 255, 0.3);
}
.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 40px;
    color: #ffffff;
}
.swiper-button-prev { left: 15%; }
.swiper-button-next { right: 15%; }

@media (max-width: 1400px) {
    .swiper-button-prev { left: 50px; }
    .swiper-button-next { right: 50px; }
}
.swiper-pagination {
    bottom: 30px;
}
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0;
    opacity: 1;
    transition: all 0.3s;
}
.swiper-pagination-bullet-active {
    width: 100px;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
}
.swiper-pagination-bullet-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    animation-name: pagination-progress;
    animation-duration: 5s;
    animation-timing-function: linear;
}
@keyframes pagination-progress {
    from { width: 0%; }
    to { width: 100%; }
}

/* --- Full-Page 섹션 --- */
#fullpage .section {
    text-align: center;
}
#fullpage .feature-item {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}
#fullpage .feature-item.reverse {
    flex-direction: row-reverse;
}
#fullpage .feature-image,
#fullpage .feature-text {
    width: 50%;
}
#intro-section .feature-image { background-image: url('img/refresh.jpg'); }
#business-section .feature-image { background-image: url('img/data-security.jpg'); }
#support-section .feature-image { background-image: url('img/Customer-Service.jpg'); }

#fullpage .feature-image {
    background-size: cover;
    background-position: center;
    padding: 30px;
    background-clip: content-box;
	padding-top: 110px;
}
#fullpage .feature-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 5%;
    box-sizing: border-box;
    text-align: left;
}
#fullpage .feature-item.reverse .feature-text {
    align-items: flex-end;
    text-align: right;
}
#fullpage .feature-text .pre-title {
    font-size: 1em;
    font-weight: 600;
    color: #046f62;
    margin-bottom: 8px;
}
#fullpage .feature-text .title-line {
    width: 30px;
    height: 2px;
    background-color: #046f62;
    margin-bottom: 20px;
}
#fullpage .feature-text h2 {
    font-size: 2.2em;
    color: #333;
    margin-bottom: 20px;
    margin-top: 0;
}
#fullpage .feature-text p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 450px;
}
#fullpage .more-view {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ffffff;
    color: #046f62;
    border: 1px solid #046f62;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}
#fullpage .more-view:hover {
    background-color: #046f62;
    color: #ffffff;
}
#fullpage .more-view i.arrow {
    margin-left: 8px;
    border: solid #046f62;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-45deg);
    transition: border-color 0.3s;
    vertical-align: middle;
}
#fullpage .more-view:hover i.arrow {
    border-color: #ffffff;
}

/* Full-Page 네비게이션 */
#fp-nav ul li .fp-tooltip {
    color: #046f62;
    font-weight: bold;
    font-size: 13px;
    opacity: 0.7;
}
#fp-nav ul li:hover .fp-tooltip,
#fp-nav ul li .fp-tooltip.active {
    opacity: 1;
}
#fp-nav.fp-right {
    right: 40px;
}

/* ====================================================== */
/* 3. 서브페이지 전용 스타일 (Subpage Styles) */
/* ====================================================== */

/* --- 상단 배너 --- */
.sub-hero {
    height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
    color: white;
}
.sub-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}
.sub-hero .hero-content {
    position: relative;
    z-index: 1;
    padding-top: 220px;
}
.sub-hero .hero-title {
    font-size: 3.5em;
    font-weight: 600;
    color: white;
    position: relative;
    padding-bottom: 20px;
    line-height: 1;
    text-shadow: 0 0 5px rgba(0,0,0,0.2);
    margin: 0;
}
.sub-hero .hero-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: white;
}
.sub-hero .hero-subtitle {
    font-size: 1.2em;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.9);
}

/* --- 경로 메뉴 --- */
#snb { 
    border-bottom:1px solid #e4e4e4;
}
#snb .wrap {
    width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
#snb .wrap:after { 
    content:""; display:block; clear:both 
}
#snb .depth1 { 
    margin:0 0 0 1px;
}
#snb .depth1 > li { 
    width:calc(100%/3 + .9px); 
    margin:0 0 0 -1px; 
    float:left; 
    border:1px solid #e4e4e4; 
    border-top:0; 
    border-bottom:0; 
    height:60px; 
    line-height:60px; 
    font-weight:500; 
    font-size:1.1em;
    padding:0 20px; 
    position:relative; 
    color:#888;
    background:#f6f6f6;
}
#snb .depth1 .oon { 
    background:#fff;
	color: #222;
}
#snb .depth1 > li > a { 
    display:block; 
    color:#888;
}
#snb .depth1 > li .arrow { 
    position:absolute; right:20px; top:0; font-size:14px; 
}
#snb .depth1 > li:nth-child(3) {
    color:#222; 
    background:#fff; 
    cursor:pointer;
}
#snb .depth1 > li .arrow.on {
    font-size:1.3em;
}
#snb .depth1 ul { 
    position:absolute; 
    width:calc(100% + 2px); 
    background:#fff; 
    border:1px solid #ddd; 
    left:-1px; 
    top:59px;
    z-index:20; 
    display:none;
}
#snb .depth1 ul li a {
    display: block;
    height: 50px;
    line-height: 50px;
    font-size: 0.9em;
    color: #888;
    padding-left: 20px;
    font-weight: 600;
    border-top: 1px solid #e0e0e0;
}
#snb .depth1 ul li:first-child a { 
    border-top:0;
}
#snb .depth1 ul li.on a,
#snb .depth1 ul li a:hover {
    background: #f6f6f6;
    color: #222;
}

/* --- 본문 콘텐츠 --- */
.page-content-section { 
    padding: 80px 0; 
}
.content-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}
.content-title-bar {
    display: block;
    width: 2px;
    height: 30px;
    background-color: #046f62;
    margin: 0 auto 20px;
}
.content-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #333;
}
.content-wrapper {
    background-color: white;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}
.content-wrapper.bg-gray {
    background-color: #f9f9f9;
}
.content-wrapper h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    color: #333;
}
.content-wrapper .privacy h3, b {
    color: #046f62;
}
.content-wrapper p {
    padding-bottom: 30px;
	text-align: center;
}
.content-wrapper .privacy p{
	text-align: left;
	padding-bottom: 5px;
}

/* --- 페이지별 세부 스타일 --- */

/* 기업정보 페이지: 정보 리스트 */
.info-list {
    margin: 0;
    padding: 0;
    border-top: 2px solid #333;
}
.info-list li {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 15px 10px;
    font-size: 1.05em;
}
.info-list strong {
    flex: 0 0 150px;
    font-weight: 600;
    color: #333;
}
.info-list span {
    flex: 1;
    color: #666;
}
/* 기업정보 페이지: 타임라인 */
.timeline {
    position: relative;
    padding: 20px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #e0e0e0;
}
.timeline-item {
    margin-bottom: 40px;
    position: relative;
    padding-left: 60px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #046f62;
    border: 3px solid white;
    z-index: 1;
}
.timeline-date {
    font-size: 1.2em;
    font-weight: bold;
    color: #046f62;
    margin-bottom: 5px;
}

/* --- 주요 연혁 타임라인만 안쪽으로 이동 --- */
.page-content-section.bg-gray .timeline {
	margin-top: 50px;
	margin-bottom: 20px;
    margin-left: 60px; /* 왼쪽에 바깥 여백을 주어 타임라인 전체를 오른쪽으로 이동 */
}

/* 인사말/사업배경 페이지 */
.bus_box { 
    position: relative; 
    padding-bottom: 10em;
}
.bus_box:after {
    content:''; 
    position: absolute; 
    bottom: 0; 
    left:0; 
    width:100%; 
    height: 58%; 
    background:#f9f9f9; 
    z-index: -100;
}
.mission_cont .mis_tit { 
    font-size:1.7em; 
    color:#333; 
    text-align:center; 
    font-weight:300; 
    margin-bottom: 3em;
}
.mission_cont .mis_tit strong { 
    vertical-align:baseline; 
    font-weight:500;
}
.pro_tit_b { 
    position: relative; 
    padding: 90px 0 0 500px;
    max-width: 1100px;
    margin: 0 auto;
}
.pro_tit_b .box_img { 
    position: absolute; 
    top: 0; 
    left: 0; 
    z-index: -1; 
    width:790px; 
    height:440px; 
    background-repeat:no-repeat; 
    background-size:cover; 
    background-position:center;
}
.pro_tit_b .box_cont {
    background-color: #fff; 
    padding: 65px; 
    box-sizing:border-box; 
    text-align:left; 
    box-shadow: 0 0 15px rgb(0 0 0 / 10%);
}
.pro_tit_b .box_cont .in_tit { 
    display: block; 
    font-size: 2em; 
    font-weight: 500; 
}
.pro_tit_b .box_cont .in_tit:after { 
    opacity: .3; 
    content: ""; 
    display: block; 
    width: 40px; 
    height: 1px; 
    background-color: #000; 
    margin: 20px 0; 
}
.pro_tit_b .box_cont .in_txt { 
    color:#333; 
    font-size: 1.068em;
    line-height: 1.8;
}
.pro_tit_b .box_cont .in_txt .mt10 {
    margin-top:15px;
}
.pro_tit_b .box_cont .in_txt .st1 {
    margin-top:10px; 
    font-weight: 500;
}
@media (max-width: 1200px) {
    .pro_tit_b {
        padding: 30px;
    }
    .pro_tit_b .box_img {
        display: none;
    }
}

#contents { 
    margin: 80px 0 0 0;
}
.container_title { 
    font-size: 2.8em; 
    line-height: 1; 
    font-weight: 700; 
    margin: 0 0 55px 0; 
    text-align: center; 
    position: relative; 
    padding-top: 20px;
}
.container_title:before { 
    content: ""; 
    width: 46px; 
    height: 3px; 
    background: #222; 
    position: absolute; 
    top: 0; 
    left: 50%; 
    margin-left: -23px;
}

/* --- 이 아래 vou_wrap 관련 코드를 교체합니다 --- */
.container {
    margin-bottom: 80px;
}
.container .vou_info { 
    width: 100%; 
    margin: 0 auto; 
    box-sizing: border-box; 
    padding: 3em; /* 내부 여백을 살짝 줄입니다 */
    box-shadow: 0 5px 25px rgba(0,0,0,0.05); 
    background: #fff;
    border-radius: 8px;
}

/* 2번 요청: 로고 중앙 정렬 */
.container .vou_info .logo_t {
    text-align: center;
}

/* 1번 요청: 로고 이미지 크기 조절 */
.container .vou_info .logo_t img {
    height: 50px; 
    width: auto;
}

/* 3번, 4번 요청: 로고 아래 선 추가 및 간격 조절 */
.container .vou_info .v_line { 
    width: 50px; 
    height: 2px; 
    background: #ddd; 
    margin: 2em auto 3em; /* 위 여백, 좌우 자동(중앙), 아래 여백 */
}

/* --- 이 아래는 기존 코드와 동일합니다 --- */
.cp_info { 
    display: flex; 
    flex-wrap: wrap;
    justify-content: center;
}
.cp_info > li {
    flex: 0 0 16.66%; 
    text-align: center; 
    margin-bottom: 2em;
}
.cp_info > li .in {
    padding: 0 .5em;
}
.cp_info > li .in .icon_w {
    width: 5em; 
    height: 5em; 
    border: 2px dotted #ccc; 
    border-radius: 50%; 
    margin: 0 auto 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cp_info > li .in .icon_w .fas {
    font-size: 1.8em; 
    color: #046f62;
}
.cp_info > li .in .tt { 
    color: #999;
}
.cp_info > li .in .tw {
    font-size: 1em; 
    color: #444; 
    line-height: 1.2; 
    margin-top: 7px;
}
.sub_stt { 
    position: relative; 
    padding-left: 27px; 
    font-size: 1.5em; 
    color: #000; 
    margin-bottom: 1em;
    text-align: left;
}
.sub_stt:before { 
    content: ''; 
    display: block; 
    position: absolute; 
    top: 11px; 
    left: 0; 
    width: 16px; 
    height: 16px; 
    background-color: #046f62; /* 대표 색상으로 변경 */
}
/* --- 기업정보 페이지 레이아웃 정렬 수정 --- */
#contents .wrap {
    width: 1100px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* vou_wrap 안의 box1 요소가 container 너비를 초과하지 않도록 수정 */
.vou_wrap .box1 {
    width: 100%; 
}

/* org_box 안의 box1 요소가 container 너비를 초과하지 않도록 수정 */
.org_box .box1 {
    width: 100%;
}
/* 연혁 섹션에만 회색 배경 적용 */
.page-content-section.bg-gray {
    background-color: #f9f9f9;
}

/* 연혁/조직도 제목(.sub_stt)을 content-wrapper 밖으로 빼내기 위한 스타일 */
.sub_stt {
    position: relative;
    padding-left: 27px;
    font-size: 1.5em;
    color: #000;
    margin-bottom: 1em; /* 제목과 흰색 박스 사이 간격 */
    text-align: left;
}

.sub_stt:before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 16px;
    height: 16px;
    background-color: #046f62;
}

/* --- 조직도 이미지만 중앙 정렬 --- */
.org-chart {
    text-align: center;
}

/* --- 찾아오시는 길: 지도와 정보 테이블 간격 조정 --- */
#map {
    margin-bottom: 30px; /* 지도 아래에 30px 여백 추가 */
}
.info-table th, .info-table td {
    padding: 5px 25px; /* 좌우 여백을 15px에서 25px로 늘려 간격을 넓힙니다. */
    text-align: left;
}
.info-table th i {
    margin-right: 8px; /* 아이콘과 글씨 사이에 8px 여백 */
    width: 20px; /* 아이콘 너비를 고정하여 줄 맞춤 */
    text-align: center;
}

/* --- 고객지원 페이지 폼 스타일 통일 --- */
#contact-form input,
#contact-form textarea,
#contact-form button {
    font-family: 'Noto Sans KR', sans-serif; /* 사이트 전체 글꼴로 지정 */
}
#contact-form label {
    display: block;
    margin-bottom: 8px; /* 라벨과 입력창 사이의 간격 */
    font-weight: 600;   /* 라벨 글씨를 살짝 굵게 */
    color: #333;
	font-size: 0.8em;
}
#contact-form .required {
    color: #e8180c;      /* 별표(*) 색상을 빨간색으로 */
    font-weight: bold;  /* 별표(*)를 굵게 */
    margin-right: 4px;  /* 별표(*)와 라벨 텍스트 사이 간격 */
}

/* --- 공지사항 게시판 스타일 --- */
.board-list-wrapper {
    width: 100%;
}

.board-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #333;
    border-bottom: 1px solid #ddd;
}

.board-table th,
.board-table td {
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    font-size: 1.05em;
}

.board-table thead th {
    background-color: #f9f9f9;
    font-weight: 600;
    color: #333;
}

.board-table tbody td {
    color: #666;
    text-align: center;
}

.board-table .title {
    text-align: left;
}

.board-table .title a {
    transition: color 0.2s;
}

.board-table .title a:hover {
    color: #046f62;
    text-decoration: underline;
}

/* 각 열(column)의 너비 지정 */
.board-table .col-num { width: 8%; }
.board-table .col-title { width: auto; }
.board-table .col-writer { width: 12%; }
.board-table .col-date { width: 12%; }
.board-table .col-views { width: 8%; }

/* --- 공지사항 글쓰기 폼 스타일 --- */
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 10px;
}
.form-group input[type="text"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Noto Sans KR', sans-serif;
}
.form-group input[type="file"] {
    display: block;
    margin-top: 5px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    cursor: pointer;
}
.form-group input[readonly] {
    background-color: #f9f9f9;
    color: #888;
}
.form-buttons {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.form-buttons button,
.form-buttons a {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}
.form-buttons button[type="submit"] {
    background-color: #046f62;
    color: white;
    border: none;
}
.form-buttons a {
    background-color: #555;
    color: white;
    border: none;
}

/* --- 공지사항 글쓰기 버튼 스타일 --- */
.board-buttons {
    margin-top: 25px;
    text-align: right; /* 버튼을 오른쪽으로 정렬 */
}

.btn-write {
    display: inline-block;
    padding: 10px 25px;
    background-color: #333; /* 버튼 배경색 */
    color: #fff;           /* 글자색 */
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn-write:hover {
    background-color: #555; /* 마우스 올렸을 때 색상 */
}

/* --- 공지사항 상세 보기 스타일 --- */
.notice-view-wrapper {
    width: 100%;
    border-top: 2px solid #333;
    border-bottom: 1px solid #ddd;
}

.notice-view-header {
    padding: 25px 20px;
    border-bottom: 1px solid #eee;
}

.notice-view-title {
    font-size: 1.8em;
    font-weight: 600;
    color: #333;
}

.notice-view-info {
    display: flex;
    gap: 25px; /* 항목 사이 간격 */
    padding: 15px 20px;
    background-color: #f9f9f9;
    font-size: 0.95em;
    color: #666;
    border-bottom: 1px solid #eee;
}

.notice-view-info strong {
    color: #333;
    font-weight: 500;
}

.notice-view-content {
    padding: 40px 20px;
    min-height: 300px; /* 내용이 적더라도 최소 높이 확보 */
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
}

.view-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-list {
    display: inline-block;
    padding: 12px 40px;
    background-color: #555;
    color: #fff;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-list:hover {
    background-color: #333;
}

/* --- 공지사항 상세 보기 스타일 --- */
.notice-view-wrapper {
    width: 100%;
    border-top: 2px solid #333;
    border-bottom: 1px solid #ddd;
}

.notice-view-header {
    padding: 25px 20px;
    border-bottom: 1px solid #eee;
}

.notice-view-title {
    font-size: 1.8em;
    font-weight: 600;
    color: #333;
}

.notice-view-info {
    display: flex;
    gap: 25px; /* 항목 사이 간격 */
    padding: 15px 20px;
    background-color: #f9f9f9;
    font-size: 0.95em;
    color: #666;
    border-bottom: 1px solid #eee;
}

.notice-view-info strong {
    color: #333;
    font-weight: 500;
}

.notice-view-content {
    padding: 40px 20px;
    min-height: 300px; /* 내용이 적더라도 최소 높이 확보 */
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
}

.view-buttons {
    margin-top: 40px;
    text-align: center;
}

.btn-list {
    display: inline-block;
    padding: 12px 40px;
    background-color: #555;
    color: #fff;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-list:hover {
    background-color: #333;
}

/* --- 공지사항 관리 버튼 스타일 --- */
.board-table .col-manage { width: 15%; }

.manage-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.btn-edit, .btn-delete {
    padding: 0.8em 12px;
    font-size: 0.9em;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid #ccc;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
	justify-content: center;
	text-align: center;
}

.btn-edit {
    background-color: #fff;
    color: #337ab7;
    border-color: #337ab7;
}
.btn-edit:hover {
    background-color: #337ab7;
    color: #fff;
}

.btn-delete {
    background-color: #fff;
    color: #d9534f;
    border-color: #d9534f;
}
.btn-delete:hover {
    background-color: #d9534f;
    color: #fff;
}

/* 상세 보기 페이지의 버튼 정렬 */
.view-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
	margin-top: 40px;
    text-align: center;
}


.welcome-msg {
    color: #555;
    white-space: nowrap; /* 이름이 길어도 줄바꿈 방지 */
}

.btn-login, .btn-logout {
    padding: 6px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-login {
    background-color: #fff;
    color: #333;
}
.btn-login:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.btn-logout {
    background-color: #f8f8f8;
    color: #555;
}
.btn-logout:hover {
    background-color: #eee;
}
/* --- 기존 파일 목록 스타일 --- */
.existing-files-list {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 5px;
    background-color: #f9f9f9;
}


.existing-files-list .file-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.existing-files-list .file-item:last-child {
    margin-bottom: 0;
}
.existing-files-list .file-item label {
    font-size: 1em;
    font-weight: normal;
    margin-bottom: 0; /* label의 기본 margin 제거 */
}

.existing-files-list .file-item input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
}

/* --- 상세 보기 페이지 첨부파일 목록 --- */
.notice-view-files {
    border-top: 1px solid #eee;
    margin-top: 30px;
    padding: 30px 20px 10px 20px; /* 상하좌우 여백 조정 */
}
.notice-view-files strong {
    display: block;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #333;
}
.notice-view-files ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.notice-view-files li {
    margin-bottom: 10px;
}
.notice-view-files li a {
    color: #337ab7;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1.05em;
}
.notice-view-files li a:hover {
    color: #23527c;
    text-decoration: underline;
}
.notice-view-files li a .fas {
    margin-right: 8px;
    color: #777;
}
/* --- Summernote 에디터 스타일 동기화 (최종 수정) --- */

/* .content-wrapper p의 잘못된 스타일을 에디터 내부에서만 바로잡습니다. */
.note-editor .note-editable p {
    text-align: left;
    padding-bottom: 0;
}
.note-editor .note-editable b,
.note-editor .note-editable strong
.note-editor .note-editable h3 {
    color: initial;
}

.notice-view-content b,
.notice-view-content h3,
.notice-view-content strong {
    color: inherit;
}