@charset "utf-8";
/* layout.css는 전체적인 레이아웃 스타일을 정의합니다. */

#skipToContent a {z-index:100000;position:absolute;overflow:hidden;top:0;left:0;width:1px;height:1px;font-size:0;line-height:0;}
#skipToContent a:focus,
#skipToContent a:active {width:200px;height:50px;background:#21272e;color:#fff;font-size:14px;font-weight:bold;text-align:center;text-decoration:none;line-height:50px}

.only-desktop-tablet {display:block;}
.only-desktop {display:block;}
.only-tablet {display:none;}
.only-mobile {display:none;}

.contain {max-width:1260px; padding-left:30px; padding-right:30px; margin:0 auto;}

/* header */
#header {position:sticky; top:0; width:100%; background:#fff; z-index:100;}
#header .contain {position:relative; z-index:10; max-width:1460px;}

.h-top .contain {display:flex; align-items:center; justify-content:center; position:relative; height:120px;}
.h-top .search {display:flex;  overflow:hidden; border:1px solid #ddd; border-radius:23px;}
.h-top .search-wrap {position:absolute; right:30px;}
.h-top input {border:0; padding:6px 30px; width:280px;}
.h-top button {display:block; width:50px; background:#60bb46 url('../images/bbs/icon-search.png') no-repeat center center; background-size:22px; border:0;}

#gnb {text-align:center; flex:1 1 auto; border-top:1px solid #ddd; border-bottom:1px solid #ddd;}
#gnb>.contain>ul {display:flex; justify-content:flex-end; border-left:1px solid #ddd;}
#gnb>.contain>ul>li {position:relative; z-index: 50; flex:1; border-right:1px solid #ddd;}
#gnb>.contain>ul>li>a {position:relative; display:flex; align-items:center; flex-direction:column; justify-content:center; height:60px; color:#242424; font-size:20px; font-weight:600; letter-spacing:-.03em; line-height:1.3em;}
#gnb .submenu {display:none; position:absolute; left:0; width:100%; background:rgba(255,149,86,.8); text-align:center;}
#gnb .submenu>ul {padding:21px 5px;}
#gnb .submenu>ul>li>a {display:block; padding:6px 0; color:#fff; font-size:16px; line-height:2em;}
#gnb .submenu>ul>li>a:hover {text-decoration:underline; text-underline-offset:4px;}

/* for mobile */
.btn-m-menu {display:none; position:relative; width:26px; height:26px;}
.btn-m-menu span {position:absolute; left:0; right:0; top:50%; height:2px; margin-top:-1px; background:#242424;}
.btn-m-menu span:before,
.btn-m-menu span:after {content:" "; position:absolute; left:0; right:0; height:2px; background:#242424;}
.btn-m-menu span:before {top:-9px;}
.btn-m-menu span:after {bottom:-9px;}

.mobile-navigation {display:none; position:fixed; top:0; right:0; width:300px; height:100%; overflow:auto; transition:.2s linear; -ms-transform:translateX(100%); transform:translateX(100%); background:#fff; z-index:102;}
.mobile-navigation .home {display:flex; align-items:center; height:80px; padding:0 20px; color:#242424; font-size:19px; font-weight:700; line-height:1.5em;}
.mobile-navigation .nav-menu>ul {border-top:1px solid #ddd;}
.mobile-navigation .nav-menu>ul>li {border-bottom:1px solid #ddd;}
.mobile-navigation .nav-menu>ul>li>a {position:relative; padding:10px 48px 10px 20px; display:block; color:#242424; font-size:19px; font-weight:700; line-height:1.5em;}
.mobile-navigation .nav-menu>ul>li>a:after {content:""; position:absolute; top:50%; right:20px; transform:translateY(-75%) rotate(45deg); width:11px; height:11px; border-right:2px solid #505050; border-bottom:2px solid #505050;}
.mobile-navigation .nav-menu>ul>li.active>a {color:#fff; background:#60bb46}
.mobile-navigation .nav-menu>ul>li.active>a:after {transform:translateY(-35%) rotate(-135deg); border-color:#fff;}
.mobile-navigation .nav-menu .submenu {display:none; background:#f8f8f8; color:#454545; font-size:16px; font-weight:400; line-height:1.5em;}
.mobile-navigation .nav-menu .submenu ul li {border-top:1px solid #e5e5e5;}
.mobile-navigation .nav-menu .submenu ul li a {display:block; padding:12px 20px;}
.mobile-navigation .nav-menu .submenu ul li a:hover {color:#60bb46;}
.mobile-navigation .close {position:absolute; top:25px; right:15px; width:26px; height:26px; text-indent:-9999em; overflow:hidden;}
.mobile-navigation .close:before,
.mobile-navigation .close:after {content:" "; position:absolute; top:12px; left:0; width:100%; height:3px; background:#242424; border-radius:3px;}
.mobile-navigation .close:before {transform:rotate(45deg);}
.mobile-navigation .close:after {transform:rotate(-45deg);}
.mobile-overlay {display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:#000; opacity:0.6; z-index:101;}

html.menu-opened {overflow:hidden;}
html.menu-opened .mobile-navigation {-ms-transform:translateX(0); transform:translateX(0);}
html.menu-opened .mobile-overlay {display:block;}

/* main */
#main .contain {max-width:1460px;}

.main-visual {position:relative;overflow:hidden; padding-bottom:80px;}
.main-visual .contain {display:flex; position:relative;}
.main-visual .photo {flex:1;}
.main-visual .items {width:75.14286%; position:unset !important;}
.main-visual .item {position:relative; width:100%; padding-bottom:46.578%; overflow:hidden;}
/* .main-visual .item a {display: block;position: absolute; width: 100%; padding-bottom: 41.66667%;} */
.main-visual .item img, .main-visual .item video {position:absolute; width:100%; height:100%; max-width:100%; max-height:100%; left:0; top:50%; transform:translateY(-50%); object-fit:cover;}
.main-visual .video-item img {left: auto; right: 0;}
.main-visual .slick-arrow {position:absolute; z-index: 10; opacity:.7; width:27px; height:49px; top:50%; margin-top:-25px; overflow:hidden; text-indent:-9999em; border:0;}
.main-visual .slick-arrow:hover {opacity:1;}
.main-visual .slick-prev {left:60px; background:url('../images/main/mv-prev.png') no-repeat center center; background-size:contain;}
.main-visual .slick-next {right:60px; background:url('../images/main/mv-next.png') no-repeat center center; background-size:contain;}

.main-section {padding:100px 0;}
.items .title {font-weight:500; font-size:18px; color:#242424; text-align:center; padding:0 10px; overflow:hidden; white-space:normal; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; word-break:keep-all;}

.promise-list.main-section {padding-top: 0;}
.promise-list h2 {display: flex; align-items: center; gap: 10px;}
.promise-list ol {padding-left: 15px; font-size: 15px;}
.promise-list li:not(:last-child) {margin-bottom: 8px;}
.promise-list li {text-indent: -13px;}

#main .new-books .contain {max-width:1710px}
.new-books .items {position:relative; margin:0 -11px; padding:0 140px;}
.new-books .item {padding:0 12px;}
.new-books .cover {position:relative; width:100%; padding-bottom:144.235%; overflow:hidden; margin-bottom:20px;}
.new-books .cover img {position:absolute; width:100%; height:auto; max-width:100%; min-height:100%; left:0; top:50%; transform:translateY(-50%); object-fit:contain;}

.new-books .slick-arrow {position:absolute; top:50%; margin-top:-35px; width:70px; height:70px; overflow:hidden; text-indent:-9999em; border:0; z-index:10;}
.new-books .slick-prev {left:11px; background:url('../images/main/nb-prev.png') no-repeat center center; background-size:contain;}
.new-books .slick-prev:hover {background:url('../images/main/nb-prev-on.png') no-repeat center center; background-size:contain;}
.new-books .slick-next {right:11px; background:url('../images/main/nb-next.png') no-repeat center center; background-size:contain;}
.new-books .slick-next:hover {background:url('../images/main/nb-next-on.png') no-repeat center center; background-size:contain;}

.main-flex .contain {display:flex; gap:50px;}
.main-flex .contain > div {flex:1; overflow:hidden;}
.main-flex h2 {padding-bottom:20px;}

.main-slick {position:relative;}
.main-slick .items {position:unset; margin:0 -15px;}
.main-slick .item {padding:0 15px;}
.main-slick .slick-arrow {position:absolute; top:0; width:34px; height:34px; overflow:hidden; text-indent:-9999em; border:0; z-index:10;}
.main-slick .slick-prev {right:44px; background:url('../images/main/ms-prev.png') no-repeat center center; background-size:contain;}
.main-slick .slick-prev:hover {background:url('../images/main/ms-prev-on.png') no-repeat center center; background-size:contain;}
.main-slick .slick-next {right:0; background:url('../images/main/ms-next.png') no-repeat center center; background-size:contain;}
.main-slick .slick-next:hover {background:url('../images/main/ms-next-on.png') no-repeat center center; background-size:contain;}
.main-slick .thumb {position:relative; width:100%; padding-bottom:61.92%; overflow:hidden; margin-bottom:20px; border-radius:20px;}
.main-slick .thumb img {position:absolute; width:100%; height:auto; max-width:100%; min-height:100%; left:0; top:50%; transform:translateY(-50%); object-fit:cover;}
.main-news .thumb {border-radius:20px 20px 0 0; padding-bottom:55.73%;}
.main-news .txt {padding:15px 20px; position:relative; border-top:0;}
.main-news .txt:before {position:absolute; content:'';top:0; left:0; bottom:0; right:1px; border:1px solid #ddd; border-radius:0 0 20px 20px;}
.main-news .txt .title {text-align:left; padding:0; font-weight:600; line-height:1.66667em; -webkit-line-clamp:2; margin-bottom:10px;}
.main-news .txt p {font-size:14px; line-height:1.5714em;overflow:hidden; white-space:normal; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; word-break:keep-all;}
.main-news .thumb {margin-bottom:0;}

.link-photo {padding-top:47px;}
.link-photo a {display:block; height:100%; padding-left:65px; background:url('../images/main/bg-list.jpg') no-repeat center right; background-size:cover; overflow:hidden; border-radius:20px;}
.link-photo .inner {display:flex; flex-direction:column; justify-content:center; height:100%; gap:75px; color :#fff;}
.link-photo .btn-link {display:flex; justify-content:center; align-items:center; width:140px; height:40px; border:1px solid rgba(255,255,255,.3); transition:.2s;}
.link-photo:hover .btn-link {background:#60bb46; border-color:#60bb46;}
.main-flex .link-photo h2 {padding-bottom: 0;}

.flex-tit h2 {padding-bottom: 0;}
.main-notice .flex-tit {padding-right:20px; border-bottom:1px solid #ddd; margin-bottom:20px; padding-bottom: 20px;}
.flex-tit {display:flex; justify-content:space-between;}
.m-notice-link {display:block; width:20px; background:url('../images/main/btn-plus.png') no-repeat center center; background-size:contain;}
.main-notice .item {display:flex; justify-content:space-between; gap:50px; padding-left:30px; padding-right:25px;}
.main-notice .item:not(:last-child) {margin-bottom:20px;}
.main-notice .item a {position:relative; padding-left:25px; overflow:hidden; white-space:normal; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; word-break:keep-all; color :#242424;}
.main-notice .item a:before {position:absolute; content:''; top:50%; left:0; margin-top:-2px; width:5px; height:5px; border-radius:100%; background:#f36f21;}
.main-notice .item:hover a {text-decoration:underline;}
.main-notice .date {color:#686868; min-width: max-content;}

.main-partners {padding:30px 0; overflow:hidden;}
.main-partners .wrap {margin: 0 -15px;position:relative; padding:16px 0;}
.main-partners .rolling {position:relative; overflow:hidden;}
.main-partners ul {width:9999px;}
.main-partners li {float:left; line-height:0; padding: 0 15px;}
.main-partners .img {position: relative; border-radius: 10px; overflow: hidden;}
.main-partners .img:before {position: absolute; content: ''; top: 0; right: 0; bottom: 0; left: 0; border: 1px solid #ddd; border-radius: 10px;}

/* .main-promotion .slick-track,
.main-promotion .slick-slide {width: 100% !important;} */

/* sub */
.sub-title {padding-top:80px; padding-bottom:75px; max-width:1260px; margin:0 auto; text-align:center;}
#contArea.wide .sub-title {padding-left:30px; padding-right:30px;}
.sub-title h1 {font-size:40px; line-height:1em; color:#242424;}

#contArea {max-width:1260px; padding-left:30px; padding-right:30px; margin:0 auto;}
#contArea.wide {max-width:100%; padding:0;}

.subtab {margin-bottom:70px; overflow:hidden;}
.subtab ul {display:flex; width:max-content; margin:0 auto;}
.subtab ul li {flex:1 0 auto; width:auto; min-width:150px; padding:0 7px;}
.subtab ul li a {display:flex; align-items:center; justify-content:center; width:100%; height:46px; border:1px solid #ddd; border-radius:23px;}
.subtab ul li.active a {background:#60bb46; color:#fff; }

.real-cont {padding-bottom:123px;}
.icon img {vertical-align:middle; margin-top:-.02em;}

.fw500 {font-weight:500 !important;}
.fw600 {font-weight:600 !important;}
.fw700 {font-weight:700 !important;}

.c1 {color:#242424 !important;}
.c2 {color:#f36f21 !important;}
.c3 {color:#60bb46 !important;}

.bg1 {background:#f4f4f4 !important;}
.bg2 {background:#fceee5 !important;}

.fz18 {font-size:18px !important;}
.fz20 {font-size:20px !important;}
.fz22 {font-size:22px !important;}
.fz23 {font-size:23px !important;}
.fz25 {font-size:25px !important;}
.fz27 {font-size:27px !important;}
.fz35 {font-size:35px !important;}
.fz40 {font-size:40px !important; line-height:1em;}

/* footer */
#footer {font-size:15px; border-top:1px solid #ddd;}
#footer .contain {display:flex; justify-content:space-between; max-width:1460px;}
.f-top {padding:20px 0; border-bottom:1px solid #ddd;}
.f-tel {position:relative; padding-right:38px; margin-right:38px;}
.f-tel:before {position:absolute; content:''; right:-1px; top:50%;  width:1px; height:15px; margin-top:-7px; background:#ddd;}
.f-flex {display:flex; align-items:center;}
.mail-box {border:1px solid #ddd; padding:5px 20px; border-radius:10px;}
.f-flex .icon {margin-right:18px;}

.f-cnt {padding:35px 0; border-bottom:1px solid #ddd;}
.f-right {display:flex; flex-direction:column; justify-content:space-between;}
address span {font-style:normal; margin-right:24px;}
.f-sns {display:flex; justify-content:flex-end; gap:7px;}
.f-link {display:flex; gap:40px;}
.f-link .icon {margin-right:10px;}

.copyright {color:#686868; font-size:14px; opacity:55%; padding:12px 0;}

.scroll-top {display:flex; justify-content:center; align-items:center; z-index:80; position:fixed; right:30px; bottom:30px; width:54px; height:54px; background:url('../images/common/scroll-top.png') no-repeat center center; background-size:contain; overflow:hidden; text-indent:-9999em;}
