@charset "utf-8";

/* slider */
.slider {overflow:hidden;}

/* main_vis */
.main_vis {position:relative; height:450px;}
.main_vis .bg {position:absolute; top:0; bottom:0; left:0; width:100%; z-index:-1;}
.main_vis .bg .slider, .main_vis .bg .swiper-wrapper, .main_vis .bg .item {height:100%;}
.main_vis .bg .item {background:linear-gradient(  rgba(20, 40, 70, 0.25), rgba(20, 40, 70, 0.25)), url('../images/main_vis.jpg'); background-repeat:no-repeat; background-position:50% 50%; background-size:cover; width:100%;}
.main_vis .cont {display:flex; align-items:center; max-width:calc(var(--maxWidth) + 40px); margin:0 auto; padding:0 20px; height:100%;}
.main_vis .text_box .inner {max-width:620px; padding-left:10px;}
.main_vis .text_box .title {font-size:2.625rem; line-height:1.3; color:#fff; margin-bottom:0.938rem; animation:1s .3s fadeText both;}
.main_vis .text_box .title small {display:block; color:#bba198; font-size:1.5rem; letter-spacing:normal;}
.main_vis .text_box .desc {font-size:1.125rem; color:rgba(255,255,255,0.6); max-width:480px; animation:1s .6s fadeText both;}

/* animation */
.main_vis .swiper-slide-active .title {-webkit-animation:1s .6s fadeText both; animation:1s .6s fadeText both;}
.main_vis .swiper-slide-active .desc {-webkit-animation:1s .9s fadeText both; animation:1s .9s fadeText both;}
.main_vis .swiper-slide-active .btn {-webkit-animation:1s .9s fadeText both; animation:1s .9s fadeText both;}

@keyframes fadeText {
    0% {
        transform:translateY(70px);
        opacity:0;
    }

    100% {
        transform:translateY(0);
        opacity:1;
    }
}

/* control_btn */
.control_btn {display:flex; justify-content:center; align-items:center; text-align:center;}
.control_btn .slide_button, .control_btn .btn_more {width:38px; height:38px; border-radius:50rem; padding:0 3px; display:flex; justify-content:center; align-items:center;}
.control_btn .slide_button::after, .control_btn .btn_more::after {font-family:var(--font-icon); color:#111; font-size:1rem;}
.control_btn .slide_button {background:#fff; border:1px solid #111;}
.control_btn .slide_button::after {content:'\e5e0'; width:1rem; height:1rem;}
.control_btn .slide_button + .slide_button {margin-left:5px;}
.control_btn .slide_button > span, .control_btn .btn_more > span {display:block; position:absolute; overflow:hidden; width:1px; height:1px; font-size:0; line-height:0; text-indent:100%;}
.control_btn .slide_next::after {transform: rotate(180deg);}
.control_btn .btn_more {background:#111; border:1px solid #111; margin-left:5px;}
.control_btn .btn_more::after {content:'\e145'; color:#fff; font-size:1.25rem; transition: all 0.2s ease-out;}
.control_btn .btn_more:hover::after {transform:rotate(90deg);}
.control_btn .swiper-button-disabled {opacity:0.5; cursor:auto;}
.control_btn .slide_play::before, .control_btn .slide_play::after {content:''; background:#fff; width:2px; height:12px;}
.control_btn .slide_play::before {margin-right:4px;}
.pause ~ .control_btn .slide_play::before {display:none;}
.pause ~ .control_btn .slide_play::after {background:none; width:0; height:0; border-top:7px solid transparent; border-bottom:7px solid transparent; border-left:8px solid #fff;}
.control_btn .pager {font-size:14px; color:#fff; line-height:2; font-family: "Pretendard", serif;}
.control_btn .pager .swiper-pagination-current {color:#f7941d;}
.control_btn .pager > span {display:inline-block; min-width:12px;}
/* .control_btn .swiper-button-lock {display:none;} */

/* banner_item */
.banner_item ul {display:flex; gap:20px;}
.banner_item ul > li {display:flex; flex-direction:column; flex:1; background:#fff; border:1px solid #e5e5e5; border-radius:12px; padding:30px; transition:transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); cursor:pointer;}
.banner_item ul > li:hover {border-color:#e5e5e5; box-shadow:0 15px 30px rgba(0,0,0,0.06); transform:translateY(-8px);}
.banner_item ul > li > a {display:flex; flex-direction:column; justify-content:space-between; height:100%;}
.banner_item ul > li h3 {font-size:22px; font-weight:700; color:#1a1a1a; margin-bottom:15px; display:flex; justify-content:space-between;}
.banner_item ul > li h3::after {content:''; background-position:100% 50%; background-repeat:no-repeat; background-size:contain; width:30px; height:32px;}
.banner_item ul > li h3 > span small {display:block; font-size:1rem; letter-spacing:normal; line-height:1.3;}
.banner_item ul > li:nth-child(1) h3::after {background-image:url(../images/link_bn_icon01.png);}
.banner_item ul > li:nth-child(2) h3::after {background-image:url(../images/link_bn_icon02.png);}
.banner_item ul > li:nth-child(3) h3::after {background-image:url(../images/link_bn_icon03.png);}
.banner_item ul > li p {font-size:16px; color:#666; flex-grow:1; margin-bottom:25px;}
.banner_item ul > li .link {font-weight:700; color:#8a3030; display:inline-flex; align-items:center; gap:5px;}
.banner_item ul > li:hover .link {text-decoration:underline; text-underline-offset:4px;}

/* book_list */
.book_latest h3 {margin-bottom:15px; text-align:center;}
.book_list {display:grid; grid-template-columns:repeat(4, 1fr); gap:20px;}
.book_list > li {background:#fff; border:1px solid #f0f0f0; border-radius:8px; overflow:hidden; transition:box-shadow 0.2s ease;}
.book_list > li:hover {box-shadow:0 10px 25px rgba(0,0,0,0.06);}
.book_list > li .imgs {background:#F4F5F7; padding:50px 30px; display:flex; justify-content:center; align-items:center; border-bottom:1px solid #E2E8F0;}
.book_list > li .imgs img {width:150px; height:auto; aspect-ratio:2 / 3; object-fit:cover; border-radius:2px 6px 6px 2px; box-shadow:-2px 0 5px rgba(255,255,255,0.2) inset, 15px 15px 25px rgba(0, 0, 0, 0.15), 5px 5px 10px rgba(0, 0, 0, 0.1);}
/* .book_list > li .imgs > span {position:relative;}
.book_list > li .imgs > span::after {content:''; background:url(../images/content/book_shadow.png) 0 0 repeat-y; width:28px; height:100%; position:absolute; left:0;} */
.book_list > li .info {background:#fff; padding:20px 15px; text-align:center;}
.book_list > li .name {font-weight:700; font-size:17px; color:#1a1a1a; line-height:1.2; margin-bottom:5px;}
.book_list > li .author {font-size:14px; color:#999;}


@media (hover: hover) {

}

@media all and (min-width:1025px) {
/* main_vis */
.main_vis .cont {padding:var(--header) 20px 0 20px;}
}

@media screen and (max-width:1200px) {

}

@media screen and (max-width:1024px) {
/* main_vis */
.main_vis {height:260px;}
.main_vis .text_box {max-width:420px; padding-left:0;}
.main_vis .text_box .title {font-size:2rem; margin-bottom:2.5%;}
.main_vis .text_box .title::after {margin:15px 0 0; display:none;}
.main_vis .text_box .title small {font-size:1.125rem;}
.main_vis .text_box .desc {font-size:1rem;}

/* control_btn */
.control_btn .slide_button, .control_btn .btn_more {width:32px; height:32px;}
}

@media screen and (max-width:768px) {
/* banner_item */
.banner_item ul {flex-wrap:wrap;}
.banner_item ul > li {flex:none; width:100%; padding:20px;}

/* book_list */
.book_list {grid-template-columns:repeat(2, 1fr);}
}

@media screen and (max-width:480px) {
/* main_vis */
.main_vis {height:230px;}
.main_vis .text_box {max-width:280px;}
.main_vis .text_box .title {font-size:1.375rem;}
.main_vis .text_box .title small {font-size:0.938rem;}
.main_vis .text_box .desc {font-size:0.875rem;}
}

@media screen and (max-width:360px) {
/* book_list */
.book_list {grid-template-columns:1fr;}
}

/* popup ------------------------------- */
/* main_layer_popup */
.main_layer_popup {position:absolute; background:#fff; box-shadow:0 2px 16px rgba(0,0,0,0.15); z-index:9;}
.main_layer_popup .popup_cnt {max-height:1000px; overflow:auto; padding:10px;}
.popup_func {background:#232323; color:#fff; font-weight:bold; display:flex; justify-content:space-between; align-items:center; padding:5px 10px;}
.popup_func .close {background:none; color:#fff; font-size:13px; font-weight:bold;}
.today_close.chkbox label {color:#fff; font-size:13px; padding-left:23px;}
.today_close.chkbox i {border-color:transparent; width:18px; height:18px;}
.today_close.chkbox input:checked+i {border-color:transparent;}

/* main_slide_popup */
.popup_slide {position:fixed; top:0; bottom:0; left:0; right:0; width:100%; height:100%; display:flex; justify-content:center; align-items:center; background:rgba(0,0,0,0.5); z-index:90;}
.popup_slide .wrap {width:90%; max-width:500px; box-shadow:0 2px 16px rgba(0,0,0,0.15); border-radius:1rem; position:absolute; z-index:10; overflow:hidden;}
.popup_slide .popup_cnt {background:#fff; position:relative;}
.popup_slide .popup_cnt .thumb_wrap::after {padding-bottom:90%;}
.popup_slide .pager {position:absolute; top:10px; left:auto; right:10px; bottom:auto; width:45px; background:rgba(0,0,0,0.45); border-radius:50rem; color:#fff; font-size:12px; padding:2px 0; text-align:center; z-index:1;}
.popup_slide .popup_func {background:#fff; border-top:1px solid #ccc; display:flex; padding:0;}
.popup_slide .popup_func button {flex:1; background:#fff; color:#333; font-size:0.875rem; font-weight:bold; padding:17px 5px;}
.popup_slide .popup_func button + button {border-left:1px solid #ccc;}
.popup_slide .slide_button {background:rgba(0,0,0,0.5); width:22px; height:36px; display:flex; justify-content:center; align-items:center; position:absolute; top:50%; margin-top:-18px; z-index:1;}
.popup_slide .slide_button::after {content:'\e5e0'; font-family: 'Material Icons Outlined'; color:#fff; font-size:18px;}
.popup_slide .slide_prev {left:0;}
.popup_slide .slide_next {right:0;}
.popup_slide .slide_next::after {transform: rotate(180deg);}
.popup_slide .swiper-button-disabled {opacity:0.3;}

/* main_popup_notice */
.popup_notice {box-shadow:0 2px 16px rgba(0,0,0,0.15); border-radius:12px; position:absolute; top:100px; left:0; width:100%; max-width:450px; overflow:hidden; z-index:9;}
.popup_notice h3 {background:#454545; border-bottom:1px solid #e5e5e5; color:#fff; padding:10px 10px;}
.popup_notice .popup_cnt {background:#fff; padding:20px; max-height:320px; overflow:auto;}
.popup_notice .list > li + li {border-top:1px solid #eee;}
.popup_notice .list a {display:flex; align-items:center; padding:7px;}
.popup_notice .list a .date {display:flex; justify-content:center; align-items:center; flex-direction:column; width:60px; height:50px; background:#ffc240; border-radius:5px; color:#fff; font-size:13px; font-weight:500; line-height:1.3; padding:3px; margin-right:10px; position:relative; text-align:center;}
.popup_notice .list a .date::before {content:''; background:#fff; width:9px; height:9px; position:absolute; bottom:0; right:0;}
.popup_notice .list a .date::after {content:''; display:block; position:absolute; right:4px; bottom:0; width:0; height:0; border-top:7px solid transparent; border-bottom:7px solid transparent; border-right:7px solid #d1a649; transform: rotate(45deg);}
.popup_notice .list a .date strong {font-size:15px;}
.popup_notice .list a .title {width:calc(100% - 70px);}
.popup_notice .list a .title strong {display:block; color:#2d2d2d; font-size:0.938rem; font-weight:600; max-width:100%; overflow: hidden; text-overflow: ellipsis; white-space:nowrap;}
.popup_notice .popup_func {background:#f7f7f7; border-top:1px solid #e5e5e5; color:#333;}
.popup_notice .today_close.chkbox i {background-color:#eee;}
.popup_notice .today_close.chkbox label, .popup_notice .popup_func .close {color:#333;}

@media screen and (min-width:1025px) {
/* main_layer_popup */
.popup_wrap {position:absolute; top:120px; left:20px;}
/* .popup_wrap.on::before {content:''; background:rgba(0,0,0,0.2); width:100%; height:100%; position:fixed; top:0; left:0;} */
.main_layer_popup {display:inline-block; position:relative; top:0 !important; left:0 !important; max-width:500px; margin:3px; vertical-align:top;}
}

@media screen and (max-width:1024px) {
/* main_layer_popup */
.main_layer_popup {max-width:500px; top:53px !important; left:10px !important; right:10px; margin:10px 0;}
}

