body,
div,
dl,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
p,
blockquote,
th {
    margin: 0;
    padding: 0;
}

img {
    border: 0px;
}

body {
    font-family: 'WelcomeFont', sans-serif;
    font-weight: 400;
}

ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: #363636;
}

a:active,
a:link,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.hidden {
    display: none;
}

#wrap {
    width: 100%;
    position: relative;
}

section[class="page"] {
    height: 100%;
    background-position: center;
    background-size: cover;
}

section[class="container"] {
    height: 100%;
    max-width: 1350px;
    width: 100%;
    min-width: 250px;
    min-height: 450px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    /* flex-wrap: wrap; */
}

.moveButton {
	display: flex;
    align-items: center;
	justify-content: center;
    position: relative;
    background-color: #fff;
    border-radius: 30px;
    padding: 10px 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: width 0.3s ease;
    width: fit-content;
    box-sizing: border-box;
	margin-top: 20px;
	font-size: 24px;
    color: #424242;
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 700;
	height: 48px;
	width: 272px;
}

.moveButton2 {
	display: flex;
    align-items: center;
	justify-content: center;
    position: relative;
    background-color: #fff;
    border-radius: 30px;
    padding: 10px 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: width 0.3s ease;
	width: 272px;
    box-sizing: border-box;
	margin-top: 20px;
	font-size: 24px;
    color: #424242;
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 700;
	height: 48px;
}

section[class="content"] {
    flex: 1;
}

section[class="container"]>.container-body {
    display: flex;
    flex: 1;
}

section[class="container"]>.container-foot {
    width: 100%;
    height: 10%;
    max-height: 125px;
    padding-bottom: 25px;
}

.fixed-end {
    position: relative;
}

#fixed-closed_info {
    width: 100%;
    position: fixed;
    z-index: 100;
    height: 10%;
    max-height: 100px;
    bottom: 25px;
}

#absolute-closed_info {
    display: none;
    width: 100%;
    z-index: 100;
    height: 100%;
    max-height: 100px;
    margin-bottom: 25px;
}

.container-closed_info {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);

}

aside {
    opacity: 0;
    pointer-events: auto;
}

/* ***************************************** */
/* ***************************************** */
/* ---------------하단 휴관일 안내--------------------*/
/* ***************************************** */
/* ***************************************** */
.content-closed_info {
    height: 100%;
    display: flex;
    max-width: 1350px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #fff;
}

.closed_info-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.closed_info-month {
    font-size: 24px;
    color: #07fff6;
}

.closed_info-text {
    font-size: 18px;
}

.closed_info-type {
    color: #07fff6;
}

.closed_info-right> :not([hidden])~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(3.75rem var(--tw-space-x-reverse));
    margin-left: calc(3.75rem * calc(1 - var(--tw-space-x-reverse)));
}

/* ***************************************** */
/* ***************************************** */
/* ---------------1페이지--------------------*/
/* ***************************************** */
/* ***************************************** */

#page-first {
    /* background: url(../css/index/main_1.jpg) no-repeat;
    background-size: 100% 100%; */
    position: relative;
	height: 100vh;
}

#page-first .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    /* 배경 크기 조정 */
    background-position: center;
    /* 배경 위치 */
    background-repeat: no-repeat;
    opacity: 0;
    /* 초기 상태에서 보이지 않음 */
    transition: opacity 1s ease-in-out;
    /* 부드러운 전환 효과 */
    z-index: 1;
    /* 콘텐츠보다 뒤에 배치 */
}

#page-first .background-image.active {
    opacity: 1;
    /* 활성화된 이미지는 보이게 설정 */
    z-index: 1;
}

#container-first {
    max-width: none;
}

#fixed-closed_info2{display: none;}

#container-first .container-head {
    z-index: 100;
}

#container-first .container-body {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    z-index: 99;
}

.content-first-text-container {
    width: 100%;
    max-width: 675px;
    padding-top: 150px;
    word-break: keep-all;
}

.content-first-text-container .first-text-name {
    color: #fff;
    font-size: 30px;
    text-shadow: 0px 0px 2px rgba(38, 40, 78, 1);
    font-weight: 700;
}

.content-first-text-container .first-text-subject {
    color: #fff;
    font-size: 40px;
    text-shadow: 0px 0px 2px rgba(38, 40, 78, 1);
    font-weight: 700;
    padding-top: 25px;
    padding-bottom: 40px;
}

.content-first-text-container .first-text-content {
    color: #fff;
    font-size: 24px;
    line-height: 36px;
}

/* ***************************************** */
/* ***************************************** */
/* ---------------2페이지--------------------*/
/* ***************************************** */
/* ***************************************** */
#page-second {
    background: url(../css/index/main_2_1.jpg) no-repeat center bottom;
    /* 이미지 하단 정렬 */
    background-size: 100% 70%;
    /* 이미지 너비 100%, 높이 60% */
}

#content-second {
    display: flex;
    flex-direction: column;
    padding-bottom: 70px;
}

.second-head-empty {
    height: 50px;
}

.content-second-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    flex: 1;
}


.content-second-flex-left {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
}

.content-second-flex-right {
    display: flex;
    flex-direction: column;
}

.content-second-flex-left-notice {
    width: 100%;
}

.content-second-flex-left-notice-tab {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #000;
    padding: 10px 6px 10px 0;
}

.content-second-flex-left-notice-tab-left {
    display: flex;
    align-items: center;
}

.content-second-flex-left-notice-tab-left> :not([hidden])~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(1.25rem* var(--tw-space-x-reverse));
    margin-left: calc(1.25rem* calc(1 - var(--tw-space-x-reverse)));
}

.content-second-flex-left-notice-tab-left .notice-tab {
    font-size: 18px;
    cursor: pointer;
}

.content-second-flex-left-notice-tab-left .notice-tab.on {
    font-size: 22px;
    font-weight: 700;
}

.content-second-flex-left-notice-tab-right {
    display: flex;
    align-items: center;
    height: 100%;
}

.content-second-flex-left-notice-tab-right .notice-more {
    display: none;
}

.content-second-flex-left-notice-tab-right .notice-more.on {
    display: block;
    cursor: pointer;
}

.content-second-flex-left-notice-content .notice-content {
    display: none;
    padding: 20px 0;
}

.content-second-flex-left-notice-content .notice-content.on {
    display: block;
}

.content-second-flex-left-notice-content .notice-content> :not([hidden])~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-bottom: calc(0.85em* var(--tw-space-x-reverse));
    margin-top: calc(0.85rem* calc(1 - var(--tw-space-x-reverse)));
}

.content-second-flex-right-popup {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.content-second-flex-right-popup-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

.content-second-flex-right-popup-top-left #popup-title {
    font-size: 22px;
    font-weight: 700;
}

.content-second-flex-right-popup-bottom {
    display: flex;
}

.content-second-flex-right-popup-bottom #popup-content {
    box-shadow: 0px 1px 1px rgba(108, 108, 108, 1);
    background-color: #fff;
    flex: 1;
}

#popup-content a {
    display: none;
}

#popup-content img {
    width: 100%;
    aspect-ratio : 1 / 1;
}

.pagination.btn_pagination {
    display: flex;
    align-items: center;
}

.pagination.btn_pagination> :not([hidden])~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(0.625rem* var(--tw-space-x-reverse));
    margin-left: calc(0.625rem* calc(1 - var(--tw-space-x-reverse)));
}

.notice-link{
    display: flex;
	align-items:center;
    text-overflow: ellipsis;
    overflow: hidden;
    width: calc(100% - 18px);
    white-space: nowrap;
}


/* ***************************************** */
/* ***************************************** */
/* ---------------3페이지--------------------*/
/* ***************************************** */
/* ***************************************** */
#page-third {
    background: url(../css/index/main_3_1.jpg) no-repeat;
    /* 이미지 하단 정렬 */
    background-size: 100% 100%;
    /* 이미지 너비 100%, 높이 60% */
}


.third-head-empty {
    height: 70px;
}

#content-third {
    display: flex;
    flex-direction: column;
    padding-bottom: 70px;
}

.content-third-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-third-top-left {
    display: flex;
    align-items: center;
}

.content-third-top-left> :not([hidden])~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(2.5rem* var(--tw-space-x-reverse));
    margin-left: calc(2.5rem* calc(1 - var(--tw-space-x-reverse)));
}


.content-third-top-left-title {
    font-size: 32px;
    font-weight: 700;
}

.content-third-top-left-category .program-menu {
    display: flex;
    align-items: center;
    font-size: 16px;
    /* 기본 폰트 크기 */
    font-weight: bold;
}

.program-menu .program-tab {
    margin: 0 10px;
    /* 텍스트 간격 */
}

.program-menu .program-tab.silib {
    color: #0073e6;
    /* 파란색 */
}

.program-menu .program-tab.eullib {
    color: #28a745;
    /* 초록색 */
}

.program-menu .program-tab.cdlib {
    color: #ff7f00;
    /* 주황색 */
}

.program-menu .program-tab.elib {
    color: #ff66cc;
    /* 핑크색 */
}

.program-menu .separator {
    color: #999;
    /* 구분선 색상 */
    font-size: 14px;
    /* 구분선 크기 */
}

#program-more {
    display: flex;
    align-items: center;
    margin-top: 30px;
    font-size: 20px;
    font-weight: 700;
}

#program-more> :not([hidden])~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(0.825rem* var(--tw-space-x-reverse));
    margin-left: calc(0.825rem* calc(1 - var(--tw-space-x-reverse)));
}

#program-more img {
    width: 14px;
    margin-bottom: 4px;
}

.content-third-main {
    margin-top: 16px;
    flex: 1;
}

.content-third-program {
    height: 100%;
    display: none;
}

.content-third-program.on {
    display: block;
}

.content-third-program-grid {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.program-content-img {
    display: block;
}

.program-content-img img {
    width: 100%;
    height: 490px;
    /* 원하는 높이로 설정 */
    object-fit: cover;
    /* 이미지 크기에 맞게 조정 */
    object-position: left;
}

.program-content-text {
    padding-top: 20px;
}

.program-content-text-top {
    padding-bottom: 16px;
}
.program-content-text-top-type{
	display:flex;
	justify-content:space-between;
	align-items:center;
	padding-bottom:6px;
}
.program-content-text-top-type,
.program-content-text-top-subject {
    font-size: 20px;
    color: #262626;
}

.program-cotent-text-bottom-date {
    font-size: 14px;
    color: #262626;
}

/* ***************************************** */
/* ***************************************** */
/* ---------------4페이지--------------------*/
/* ***************************************** */
/* ***************************************** */
#page-fourth {
    background: url(../css/index/main_4_1.jpg) no-repeat;
    background-size: 100% 100%;
}

#container-fourth {
    max-width: none;
}

#container-fourth .container-body {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    box-sizing: border-box;
}

#content-fourth {
    display: flex;
    flex-direction: column;
    padding-bottom: 120px;
    gap: 10px;
}

.content-fourth-flex-container {
    display: flex;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    height: 100%;

}

.content-fourth-left-main,
.content-fourth-right-main {
    background-color: rgba(255, 255, 255, 0.2);
}

.content-fourth-left {
    display: flex;
    flex-direction: column;
    min-width: 0;
    box-sizing: border-box;
    flex: 1;
}

.content-fourth-left-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-fourth-left-main {
    display: flex;
    /* flex-direction: column; */
    flex: 1;
    overflow: hidden;
    /* 콘텐츠가 넘치지 않도록 설정 */
    position: relative;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
}

/* 슬라이드 메인 컨테이너 */
.content-fourth-left-main-grid {
    display: none;
    /* 기본적으로 flexbox 사용 */
    flex-wrap: nowrap;
    /* 한 줄에 콘텐츠 배치 */
    width: calc((270px * 3) + (55px * 2));
    /* 3개의 이미지 + 간격 */
    /* overflow: hidden;  */
    box-sizing: border-box;
    transition: transform 0.5s ease-in-out;
}

.content-fourth-left-main-grid.on {
    display: flex;
}

/* 슬라이드 컨텐츠 */
.book-content-container {
    flex: 270px;
    margin-right: 50px;
    /* 카드 간격 */
    box-sizing: border-box;
}

.book-content-container:last-child {
    margin-right: 0;
}

.book-content img {
    width: 270px;
    height: 406px;
    object-fit: cover;
}

/* 우측 콘텐츠 */
.content-fourth-right {
    flex: 0 0 25%;
    /* 너비를 25%로 설정 */
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-width: 270px;
}

.content-fourth-right-main {
    display: flex;
    /* flex-direction: column; */
    flex: 1;
    overflow: hidden;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
}

.book-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}


.book-content p {
    display: block;
    width: 100%;
    /* 컨테이너의 너비에 맞춤 */
    overflow: hidden;
    /* 넘치는 텍스트를 숨김 */
    white-space: nowrap;
    /* 텍스트를 한 줄로 처리 */
    text-overflow: ellipsis;
    /* 넘치는 텍스트를 ...으로 표시 */
    font-size: 22px;
    /* 필요에 따라 조정 */
    line-height: 1.5;
    /* 줄 높이 설정 */
    color: #fff;
    /* 텍스트 색상 */
}

.book-content span {
    color: #fff;
    font-size: 16px;
}


.book-content span:empty::before {
    content: "\00a0";
    /* 비어 있더라도 공백 문자를 추가 */
}

.book-text {
    padding-top: 40px;
}

.content-fourth-top-left {
    display: flex;
    align-items: center;
}

.content-fourth-top-left-title,
.content-fourth-right-top-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    padding-bottom: 6px;
}

.content-fourth-top-left> :not([hidden])~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(2.5rem* var(--tw-space-x-reverse));
    margin-left: calc(2.5rem* calc(1 - var(--tw-space-x-reverse)));
}


.content-fourth-top-left-category .guide-menu {
    display: flex;
    align-items: center;
    font-size: 24px;
    color: #fff;
}

.content-fourth-top-left-category .guide-menu> :not([hidden])~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(3.125rem* var(--tw-space-x-reverse));
    margin-left: calc(3.125rem* calc(1 - var(--tw-space-x-reverse)));
}

.guide-tab.on {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 8px;
}

.content-fourth-top-right> :not([hidden])~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(1.875rem* var(--tw-space-x-reverse));
    margin-left: calc(1.875rem* calc(1 - var(--tw-space-x-reverse)));
}


.slider-button {
    width: 12px;
    height: 17px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    cursor: pointer;
    background-color: inherit;
}

.slider-button:disabled {
    cursor: not-allowed;
}

/* 좌측 버튼 상태 */
.prev-button {
    background-image: url('../css/index/arrow_1.png');
}

/* 우측 버튼 상태 */
.next-button {
    background-image: url('../css/index/arrow_2.png');
}

/* ---************************* */
/* ---************************* */
/* 검색버튼 */
/* ---************************* */
/* ---************************* */
.content-first-search-container {
    padding-top: 70px;
}

.search-container {
    display: flex;
    align-items: center;
    /* gap: 10px; */
    position: relative;
    background-color: #fff;
    border-radius: 30px;
    padding: 10px 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: width 0.3s ease;
    min-width: 220px;
    width: 272px;
    box-sizing: border-box;
    /* 닫힌 상태에서 fit-content */
}

.search-container.expanded {
    width: 650px;
    /* 열린 상태에서 width를 100%로 설정 */
}

form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    /* 폼이 컨테이너 너비를 따라감 */
}

.search-label {
    font-size: 24px;
    color: #424242;
    white-space: nowrap;
    flex-shrink: 0;
    /* 텍스트 크기 고정 */
    font-weight: 700;
}

.search-input-container {
    flex: 1;
    /* 입력 필드가 가변적으로 확장 */
    max-width: 0;
    /* 기본적으로 숨김 */
    overflow: hidden;
    transition: max-width 0.3s ease;
}

.search-input-container.expanded {
    max-width: unset;
}

.search-input {
    border: none;
    outline: none;
    font-size: 16px;
    width: 100%;
    /* 컨테이너 너비에 맞춤 */
    padding: 5px 10px;
    opacity: 0;
    /* 기본적으로 숨김 */
    transition: opacity 0.3s ease;
}

.search-input.visible {
    opacity: 1;
    /* 입력 필드 표시 */
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.search-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}


/* 추가 */
.guide-tab,
.program-tab {
    cursor: pointer;
}


.mnb_state {margin:0 0 3px 7px; color:#fff; background:#d60808; font-size:14px; padding:2px 4px; border-radius: 4px;}
