@charset "UTF-8";

:root {
    --c39519-blue: #0a5ed7;
    --c39519-teal: #008c93;
    --c39519-text: #20242a;
    --c39519-muted: #777d85;
    --c39519-line: #dfe3e8;
    --c39519-sky: #d8efff;
    --c39519-width: 1400px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.c39519-page { margin: 0; overflow-x: hidden; color: var(--c39519-text); background: #fff; font-family: "Noto Sans KR", "Malgun Gothic", Arial, sans-serif; line-height: 1.45; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.c39519-blind { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.c39519-skip { position: fixed; left: 16px; top: -70px; z-index: 1000; padding: 12px 18px; color: #fff; background: #111; text-decoration: none; border-radius: 4px; }
.c39519-skip:focus { top: 16px; }
.c39519-main-width { width: min(calc(100% - 40px), var(--c39519-width)); margin: 0 auto; }

.c39519-header { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid var(--c39519-line); }
.c39519-header-top { position: relative; display: flex; align-items: center; justify-content: space-between; width: min(calc(100% - 40px), var(--c39519-width)); height: 105px; margin: 0 auto; }
.c39519-logo { display: block; width: 315px; height: 96px; margin: 0; overflow: hidden; }
.c39519-logo a { display: block; width: 100%; height: 100%; }
.c39519-logo img { width: 100%; height: 100%; object-fit: contain; }
.c39519-utility { display: flex; align-items: center; gap: 18px; font-size: 13px; }
.c39519-utility a, .c39519-utility button { padding: 6px 0; color: #333; background: none; border: 0; text-decoration: none; white-space: nowrap; }
.c39519-user-welcome { color: #44505a; white-space: nowrap; }
.c39519-user-welcome strong { margin-right: 2px; color: #68a51c; }
.c39519-utility .c39519-language { padding: 6px 16px; color: #fff; background: var(--c39519-teal); border-radius: 18px; font-size: 11px; font-weight: 700; }
.c39519-language-modal { display: none; position: fixed; z-index: 3000; inset: 0; padding: 32px; align-items: center; justify-content: center; background: rgba(0,0,0,.42); }
.c39519-language-modal.active { display: flex; }
.c39519-language-panel { position: relative; width: 1050px; max-width: 100%; min-height: 520px; padding: 42px 72px 72px; border-radius: 34px; background: linear-gradient(120deg,#d9f1eb 0%,#ddecfb 100%); box-shadow: 0 22px 54px rgba(0,0,0,.22); box-sizing: border-box; text-align: center; }
.c39519-language-logo { width: auto; max-width: 250px; height: 44px; margin-bottom: 72px; object-fit: contain; }
.c39519-language-close { position: absolute; top: 34px; right: 34px; width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer; }
.c39519-language-close::before, .c39519-language-close::after { content: ""; position: absolute; top: 5px; left: 17px; width: 1px; height: 28px; background: #111; }
.c39519-language-close::before { transform: rotate(45deg); }
.c39519-language-close::after { transform: rotate(-45deg); }
.c39519-language-title { margin: 0 0 70px; color: #050505; font-size: 38px; font-weight: 900; letter-spacing: 0; }
.c39519-language-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; max-width: 560px; margin: 0 auto; }
.c39519-language-option { display: flex; min-height: 72px; padding: 0 18px; align-items: center; justify-content: center; border-radius: 18px; background: #fff; color: #050505; font-size: 22px; font-weight: 800; text-decoration: none; box-shadow: 0 10px 22px rgba(44,92,118,.08); box-sizing: border-box; }
.c39519-language-option:hover, .c39519-language-option:focus { color: #050505; text-decoration: none; box-shadow: 0 12px 26px rgba(44,92,118,.18); }
body.c39519-language-locked { overflow: hidden; }
.c39519-pending-link[aria-disabled="true"] { cursor: default; }
.c39519-navigation { border-top: 1px solid #eef0f3; }
.c39519-menu-list { display: grid; grid-template-columns: repeat(5, 1fr); width: min(calc(100% - 40px), var(--c39519-width)); margin: 0 auto; padding: 0; list-style: none; }
.c39519-menu-item { position: relative; }
.c39519-menu-item > button { width: 100%; height: 70px; padding: 0 12px; border: 0; background: #fff; font-size: 21px; font-weight: 700; cursor: pointer; }
.c39519-menu-item > button:hover, .c39519-menu-item > button:focus-visible, .c39519-menu-item.is-open > button { color: var(--c39519-blue); }
.c39519-menu-item > ul { position: absolute; top: 70px; left: 0; display: none; width: 100%; min-height: 210px; margin: 0; padding: 18px 14px; background: rgba(255,255,255,.98); border: 1px solid var(--c39519-line); border-top: 3px solid var(--c39519-blue); box-shadow: 0 14px 25px rgba(0,0,0,.1); list-style: none; }
.c39519-menu-item.is-open > ul { display: block; }
.c39519-menu-item > ul button, .c39519-menu-item > ul a { display: block; width: 100%; padding: 8px 4px; color: #5d6268; background: none; border: 0; text-align: center; text-decoration: none; box-sizing: border-box; }
.c39519-menu-item > ul button:hover, .c39519-menu-item > ul button:focus, .c39519-menu-item > ul a:hover, .c39519-menu-item > ul a:focus { color: var(--c39519-blue); font-weight: 700; text-decoration: none; }
.c39519-menu-item > ul button:focus-visible, .c39519-menu-item > ul a:focus-visible { outline: 2px solid var(--c39519-blue); outline-offset: 2px; }
.c39519-mobile-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: #fff; border: 1px solid var(--c39519-line); border-radius: 6px; }
.c39519-mobile-toggle span { display: block; height: 2px; margin: 5px 0; background: #222; }

.c39519-hero { position: relative; height: 405px; overflow: hidden; background: #eee; }
.c39519-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.015); transition: opacity .8s ease, transform 6s ease; }
.c39519-hero-image.is-active { z-index: 1; opacity: 1; transform: scale(1); }

.c39519-search { position: relative; z-index: 5; width: min(920px, calc(100% - 40px)); margin: 48px auto 44px; }
.c39519-search form { display: grid; grid-template-columns: auto 1fr 62px 116px; align-items: center; height: 68px; overflow: hidden; border: 2px solid var(--c39519-blue); border-radius: 35px; background: #fff; }
.c39519-search strong { padding: 0 28px; border-right: 1px solid #d9dde3; font-size: 18px; white-space: nowrap; }
.c39519-search input { width: 100%; min-width: 0; height: 100%; padding: 0 22px; border: 0; outline: 0; font-size: 17px; }
.c39519-search input:focus { box-shadow: none; }
.c39519-search-submit { position: relative; height: 100%; border: 0; background: #fff; cursor: pointer; }
.c39519-search-submit span { position: absolute; left: 20px; top: 20px; width: 22px; height: 22px; border: 4px solid #111; border-radius: 50%; }
.c39519-search-submit span::after { content: ""; position: absolute; right: -8px; bottom: -6px; width: 10px; height: 4px; background: #111; transform: rotate(48deg); border-radius: 2px; }
.c39519-search-detail { align-self: stretch; display: flex; align-items: center; padding: 0 18px; color: #fff; background: var(--c39519-blue); border: 0; font-weight: 700; text-decoration: none; }

.c39519-quick { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; margin-bottom: 82px; }
.c39519-quick-item { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 165px; padding: 18px 8px; color: inherit; background: #fff; border: 1px solid #d7dbe0; border-radius: 9px; text-decoration: none; }
.c39519-quick-item img { width: 80px; height: 80px; object-fit: contain; margin-bottom: 12px; transition: transform .25s ease; }
.c39519-quick-item:hover img, .c39519-quick-item:focus-visible img { transform: scale(1.2); }
.c39519-quick-item span { font-size: 17px; font-weight: 600; white-space: nowrap; }

.c39519-books { margin-bottom: 90px; }
.c39519-section-heading { display: flex; align-items: center; justify-content: space-between; min-height: 54px; margin-bottom: 20px; }
.c39519-section-heading h2 { margin: 0; font-size: 30px; }
.c39519-tabs { display: flex; align-items: center; gap: 14px; }
.c39519-tabs button { padding: 0; color: #858991; background: none; border: 0; font-size: 28px; font-weight: 500; cursor: pointer; }
.c39519-tabs button + button::before { content: ""; display: inline-block; width: 1px; height: 24px; margin-right: 14px; vertical-align: -2px; background: #cfd3d8; }
.c39519-tabs button.is-active { color: #121518; font-weight: 800; }
.c39519-more { display: grid; place-items: center; width: 42px; height: 42px; padding: 6px; background: transparent; border: 0; text-decoration: none; box-sizing: border-box; }
.c39519-more img { width: 30px; height: 30px; object-fit: contain; }
.c39519-book-panel { position: relative; display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center; gap: 10px; }
.c39519-book-panel:not(.is-active) { display: none; }
.c39519-book-window { overflow: hidden; }
.c39519-book-track { display: flex; gap: 22px; transition: transform .35s ease; }
.c39519-book-card { position: relative; flex: 0 0 calc((100% - 88px) / 5); min-width: 0; text-align: center; }
.c39519-card-detail-form button { position: absolute; z-index: 2; inset: 0; width: 100%; padding: 0; background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
.c39519-card-detail-form button:focus-visible { outline: 3px solid var(--c39519-blue); outline-offset: 3px; }
.c39519-cover { display: flex; align-items: flex-end; justify-content: center; height: 370px; margin-bottom: 18px; overflow: hidden; }
.c39519-cover img { display: block; width: 100%; max-width: 100%; height: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 7px 8px rgba(0,0,0,.2)); transition: transform .25s ease; }
.c39519-book-card:hover .c39519-cover img, .c39519-book-card:focus-within .c39519-cover img { transform: scale(1.2); }
.c39519-book-card h3 { overflow: hidden; margin: 0 0 5px; font-size: 19px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.c39519-book-card p { overflow: hidden; margin: 0; color: #60656b; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.c39519-book-card .c39519-recommend-reason { overflow: visible; margin-top: 10px; color: #34393f; font-size: 14px; line-height: 1.55; text-align: left; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
.c39519-book-arrow, .c39519-partner-arrow { width: 40px; height: 40px; border: 1px solid #d4d9df; border-radius: 50%; background: #fff; color: #737980; font-size: 27px; cursor: pointer; }
.c39519-book-arrow { display: grid; place-items: center; padding: 0; line-height: 1; }
.c39519-book-arrow > span { display: block; line-height: 1; transform: translateY(-4px); }
.c39519-book-arrow:disabled, .c39519-partner-arrow:disabled { opacity: .32; cursor: default; }
.c39519-empty { flex: 1 0 100%; padding: 55px 20px; color: #767b82; text-align: center; }

.c39519-notice-area { padding: 68px 0 80px; background: var(--c39519-sky); }
.c39519-notice-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 56px; align-items: end; }
.c39519-notices ul { margin: 0; padding: 28px 34px; background: #fff; border-radius: 20px; box-shadow: 0 8px 18px rgba(65,127,171,.12); list-style: none; }
.c39519-notices li { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; align-items: center; min-height: 48px; border-bottom: 1px solid #edf0f2; }
.c39519-notices li:last-child { border-bottom: 0; }
.c39519-notices li form { min-width: 0; }
.c39519-notices li button { overflow: hidden; width: 100%; padding: 6px 0; background: none; border: 0; text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.c39519-notices time { color: #6f757c; }
.c39519-popup { position: relative; z-index: 1; min-height: 370px; overflow: visible; border-radius: 22px; background: rgba(255,255,255,.5); }
.c39519-event-slide { display: none; position: relative; z-index: 1; width: 100%; height: 370px; border-radius: 22px; background: #fff; object-fit: contain; transform-origin: center center; transition: transform .22s ease, box-shadow .22s ease; }
.c39519-event-slide.is-current { display: block; }
.c39519-event-slide[hidden] { display: none !important; }
.c39519-event-empty { display: grid; min-height: 370px; margin: 0; padding: 28px; place-items: center; color: #596b78; text-align: center; }
.c39519-event-dots { display: flex; position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; justify-content: center; gap: 8px; pointer-events: none; }
.c39519-event-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.82); box-shadow: 0 0 0 1px rgba(0,0,0,.2); cursor: pointer; pointer-events: auto; }
.c39519-event-dots button.is-current { width: 22px; border-radius: 8px; background: #1767d7; }
.c39519-partners { padding: 28px 0; border-bottom: 1px solid #dedede; background: #fff; }
.c39519-partner-layout, .c39519-partner-inner { display: grid; width: min(calc(100% - 40px), var(--c39519-width)); margin: 0 auto; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 18px; align-items: center; }
.c39519-partner-window { overflow: hidden; }
.c39519-partner-track { display: flex; gap: 28px; align-items: center; transition: transform .35s ease; }
.c39519-partner-item, .c39519-partner-track > a { flex: 0 0 calc((100% - 112px) / 5); display: grid; place-items: center; min-width: 0; }
.c39519-partner-item img, .c39519-partner-track > a img { width: 200px; max-width: 100%; height: 70px; object-fit: contain; }
.c39519-partner-button { width: 40px; height: 40px; padding: 0; border: 1px solid #d4d9df; border-radius: 50%; background: #fff; cursor: pointer; }
.c39519-partner-button img { width: 100%; height: 100%; object-fit: contain; }
.c39519-partner-button:disabled { opacity: .32; cursor: default; }

.c39519-footer { padding: 40px 0 54px; background: #eee; }
.c39519-footer-inner { display: grid; width: min(calc(100% - 40px), var(--c39519-width)); margin: 0 auto; grid-template-columns: 260px minmax(0,1fr); gap: 34px; align-items: center; }
.c39519-footer-logo-frame { width: 260px; }
.c39519-footer-logo { width: 250px; height: 105px; object-fit: contain; }
.c39519-footer-copy, .c39519-footer-text { color: #74787d; font-size: 13px; }
.c39519-footer-copy div, .c39519-footer-text nav { margin-bottom: 18px; color: #444; }
.c39519-footer-copy button, .c39519-footer-copy a, .c39519-footer-text a { padding: 0; color: inherit; background: none; border: 0; text-decoration: none; }
.c39519-footer-copy span, .c39519-footer-text span { margin: 0 12px; color: #b1b4b8; }
.c39519-footer-copy p, .c39519-footer-text p { margin: 5px 0; }
.c39519-librarian { min-width: 220px; padding: 15px 22px; color: #1264af; background: #fff; border: 1px solid #1264af; border-radius: 28px; box-shadow: 0 3px 8px rgba(0,0,0,.15); font-weight: 700; }
.c39519-librarian span { margin-right: 9px; }
body.c39519-page #chatbot-button { display: flex; position: fixed; right: 34px; bottom: 34px; z-index: 1000; min-width: 180px; height: 58px; padding: 0 24px; align-items: center; justify-content: center; gap: 8px; border: 1px solid #78a8d4; border-radius: 30px; color: #286d9f; background: #fff; box-shadow: 0 5px 16px rgba(0,0,0,.2); font-weight: 800; text-decoration: none; }
body.c39519-page #chatbot-button img { width: 20px; height: 20px; }

button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #ffb900; outline-offset: 3px; }
.c39519-search form:focus-within { box-shadow: 0 0 0 3px rgba(10,94,215,.2); }
.c39519-search input:focus,
.c39519-search input:focus-visible { outline: 0; outline-offset: 0; box-shadow: none; }

@media (max-width: 1100px) {
    .c39519-header-top { height: 92px; }
    .c39519-logo { width: 275px; height: 86px; }
    .c39519-menu-item > button { font-size: 18px; }
    .c39519-hero { height: 335px; }
    .c39519-quick { grid-template-columns: repeat(4, 1fr); }
    .c39519-book-card { flex-basis: calc((100% - 44px) / 3); }
    .c39519-cover { height: 330px; }
    .c39519-partner-item, .c39519-partner-track > a { flex-basis: calc((100% - 56px) / 3); }
    .c39519-footer-inner { grid-template-columns: 220px minmax(0,1fr); }
    .c39519-footer-logo-frame { width: 220px; }
    .c39519-footer-logo { width: 210px; }
    .c39519-librarian { grid-column: 1 / -1; justify-self: center; }
}

@media (max-width: 760px) {
    .c39519-language-modal { padding: 18px; }
    .c39519-language-panel { min-height: auto; max-height: calc(100vh - 36px); padding: 34px 28px 46px; overflow-y: auto; border-radius: 26px; }
    .c39519-language-logo { height: 38px; margin-bottom: 42px; }
    .c39519-language-title { margin-bottom: 36px; font-size: 30px; }
    .c39519-language-list { grid-template-columns: 1fr; gap: 14px; }
    .c39519-language-option { min-height: 58px; font-size: 18px; }
    .c39519-main-width, .c39519-header-top, .c39519-menu-list { width: min(calc(100% - 28px), var(--c39519-width)); }
    .c39519-header-top { height: 78px; }
    .c39519-logo { width: 210px; height: 70px; }
    .c39519-utility { display: none; }
    .c39519-mobile-toggle { display: block; }
    .c39519-navigation { display: none; max-height: calc(100vh - 78px); overflow: auto; border-top: 1px solid var(--c39519-line); }
    .c39519-navigation.is-open { display: block; }
    .c39519-menu-list { display: block; padding: 8px 0 18px; }
    .c39519-menu-item > button { height: 52px; text-align: left; }
    .c39519-menu-item > ul { position: static; width: 100%; min-height: 0; padding: 8px 15px 12px; box-shadow: none; border: 0; border-top: 1px solid var(--c39519-line); }
    .c39519-menu-item > ul button, .c39519-menu-item > ul a { text-align: left; }
    .c39519-hero { height: 230px; }
    .c39519-search { width: 100%; margin: 28px auto 32px; }
    .c39519-search form { grid-template-columns: 1fr 52px; height: 58px; border-radius: 8px; }
    .c39519-search strong, .c39519-search-detail { display: none; }
    .c39519-search input { padding-left: 18px; }
    .c39519-search-submit span { left: 14px; top: 17px; }
    .c39519-quick { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 52px; }
    .c39519-quick-item { min-height: 135px; }
    .c39519-quick-item img { width: 66px; height: 66px; }
    .c39519-books .c39519-section-heading { align-items: flex-start; gap: 10px; }
    .c39519-tabs { flex: 1 1 auto; min-width: 0; gap: 8px; }
    .c39519-tabs button { flex: 1 1 0; min-width: 0; font-size: 20px; line-height: 1.3; }
    .c39519-tabs button + button::before { margin-right: 8px; }
    .c39519-books .c39519-more { flex: 0 0 42px; }
    .c39519-book-panel { grid-template-columns: 34px minmax(0,1fr) 34px; gap: 5px; }
    .c39519-book-arrow { width: 32px; height: 32px; font-size: 21px; }
    .c39519-book-arrow > span { transform: translateY(-2.5px); }
    .c39519-book-track { gap: 14px; }
    .c39519-book-card { flex-basis: calc((100% - 14px) / 2); }
    .c39519-cover { height: 255px; }
    .c39519-book-card h3 { font-size: 16px; }
    .c39519-notice-area { padding: 48px 0; }
    .c39519-notice-grid { grid-template-columns: 1fr; gap: 32px; }
    .c39519-notices ul { padding: 20px; border-radius: 14px; }
    .c39519-notices li { gap: 12px; }
    .c39519-popup, .c39519-event-slide, .c39519-event-empty { min-height: 0; height: 300px; }
    .c39519-partner-layout, .c39519-partner-inner { width: min(calc(100% - 28px), var(--c39519-width)); grid-template-columns: 34px minmax(0,1fr) 34px; gap: 6px; }
    .c39519-partner-arrow, .c39519-partner-button { width: 32px; height: 32px; font-size: 21px; }
    .c39519-partner-track { gap: 14px; }
    .c39519-partner-item, .c39519-partner-track > a { flex-basis: calc((100% - 14px) / 2); }
    .c39519-footer-inner { grid-template-columns: 1fr; gap: 14px; text-align: center; }
    .c39519-footer-logo-frame { width: auto; }
    .c39519-footer-logo { justify-self: center; }
    .c39519-librarian { grid-column: auto; }
    body.c39519-page #chatbot-button { right: 16px; bottom: 16px; min-width: 150px; height: 50px; padding: 0 18px; }
}

@media (max-width: 400px) {
    .c39519-logo { width: 185px; }
    .c39519-hero { height: 205px; }
    .c39519-book-card { flex-basis: 100%; }
    .c39519-cover { height: 300px; }
    .c39519-partner-item { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .c39519-hero-image, .c39519-book-track, .c39519-partner-track, .c39519-quick-item img, .c39519-cover img, .c39519-event-slide { transition: none; }
}
