section {
    width:100%;
    /* height: 100vh; */
    margin:0 auto;
}

@media (max-width: 1920px) {
    #sub_content {
        padding-top:0 !important;
    }
    /* .non-bg {
        height:70vh !important;
    } */
    .reason-content-box {
        /* margin-top:170px !important; */
    }
}

.sec-01-sec {
    padding-top:300px;
    padding-bottom:100px;
    background: url("/image/site/notice_bg.png") no-repeat center;
    background-size: contain;
    background-position: center top;
}
.notice-content-bg {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reason-content-title > p {
    /* margin-bottom:50px; */
}

.non-bg {
    height:50vh !important;
}
@media (max-width: 1920px) {
    #sub_content {
        padding-top:0 !important;
    }
    .non-bg {
        height:70vh !important;
    }
}

.notice-board {
    width:100%;
    max-width:1440px;
    margin:0 auto;
    padding:0 20px;
    margin-bottom:250px;
}
.notice-board-item {
    width:100%;
    height:100%;
    display:flex;
    align-items: center;
    justify-content: space-between;
    border-top:2px solid #000;
    border-bottom:2px solid #000;
    padding:10px 0;
    position: relative;
    margin-bottom:30px;
}

.notice-board-item::before,
.notice-board-item::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 90px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 2px solid #000;
    border-radius: 6px;
    z-index: 5;
}

.notice-board-item::before {
    left: -9px;
}

.notice-board-item::after {
    right: -9px;
}
.notice-board-item-text {
    width:100%;
    display:flex;
    align-items: center;
    justify-content: space-between;
    gap:10px;
    border-top:1px solid #C7C7C7;
    border-bottom:1px solid #C7C7C7;
    padding:15px 30px;
    position: relative;
    z-index: 2;
}
.notice > .notice-board-item-text {
    border: 1px solid #D5B0B0;
    background: #FFF3F3;
}
.notice-board-item.notice::before,
.notice-board-item.notice::after {
    background: #F7C7C7;
}

.notice-board-item-text > p {
    display:flex;
    align-items: center;
    gap:10px;
    font-size: 16px;
    font-weight: 400;
    line-height: 100%;
    color:#000;
    font-family: "Godo B";
}
.notice-board-date {
    display:flex;
    align-items: center;
    gap:10px;
}
.notice-board-date > p {
    font-size: 14px;
    font-weight: 400;
    line-height: 100%;
    color:#8C8C8C;
    font-family: "Godo";
}
.notice-board-writer {
    display:flex;
    align-items: center;
    gap:10px;
}
.notice-board-item {
    cursor: pointer;
    transition: opacity 0.3s;
}
.notice-board-item:hover {
    opacity: 0.7;
}

/* 공지사항 팝업 스타일 */
.notice-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow-y: auto;
    padding: 40px 20px;
}
.notice-popup-overlay.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
body.popup-open {
    overflow: hidden;
}
.notice-popup-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    background: #fff;
    border-radius: 8px;
    margin: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: popupFadeIn 0.3s ease-out;
}
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.notice-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    color: #000;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}
.notice-popup-close:hover {
    opacity: 0.7;
}
.notice-popup-header {
    width: 100%;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}
.notice-popup-item {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    padding: 10px 0;
    position: relative;
    margin-bottom: 0;
}
.notice-popup-item::before,
.notice-popup-item::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 90px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 2px solid #000;
    border-radius: 6px;
    z-index: 5;
}
.notice-popup-item::before {
    left: -9px;
}
.notice-popup-item::after {
    right: -9px;
}
.notice-popup-item-text {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #C7C7C7;
    border-bottom: 1px solid #C7C7C7;
    padding: 15px 20px;
    position: relative;
    z-index: 2;
}
.notice-popup-item.notice > .notice-popup-item-text {
    border: 1px solid #D5B0B0;
    background: #FFF3F3;
}
.notice-popup-item.notice::before,
.notice-popup-item.notice::after {
    background: #F7C7C7;
}
.notice-popup-item-text > p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 400;
    line-height: 100%;
    color: #000;
    font-family: "Godo B";
}
.notice-popup-date {
    display: flex;
    align-items: center;
    gap: 10px;
}
.notice-popup-date > p {
    font-size: 14px;
    font-weight: 400;
    line-height: 100%;
    color: #8C8C8C;
    font-family: "Godo";
}
.notice-popup-writer {
    display: flex;
    align-items: center;
    gap: 10px;
}
.notice-popup-body {
    padding: 40px;
    min-height: 200px;
}
.notice-popup-body #noticePopupContent {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    font-family: "Godo";
    white-space: pre-wrap;
    word-wrap: break-word;
}
@media (max-width: 1680px) {
    .reason-content-box {
        /* margin-top:250px; */
    }
}
@media (max-width: 768px) {
    .notice-content-bg.sec-01 {
        padding:30px 10px;
    }
    .notice-board-writer{
        display: none;
    }
    .notice-popup-writer > img {
        display: none;
    }
    .sec-01-sec {
        padding-top:50px;
        padding-bottom:50px;
        height:auto;
    }
    .reason-content-box {
        height:auto !important;
    }
    .non-bg {
        height: 40vh !important;
    }
    .notice-popup-overlay {
        padding: 20px 10px;
    }
    .notice-popup-content {
        max-width: 100%;
    }
    .notice-popup-body {
        padding: 20px;
    }
    .notice-popup-close {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .non-bg {
        height: 35vh !important;
    }
}
