@charset "utf-8";

@media (max-width:1700px) {
	/* footer */
	.scroll-top {position:fixed; right:30px; bottom:30px;}
}

@media (max-width:1600px) {
	:root {
		/* height */
		--header-height:80px;

		/* padding */
		--main-sec:80px 0;
	}

	.mgb70 {margin-bottom:50px !important;}
	.mgb110 {margin-bottom:80px !important;}

	/* header */
	.sitelogo img {height:40px;}

	#gnb {margin-right:-30px;}
	#gnb>ul>li {padding:0 30px;}

	/* main */
	.main-edu .puzzle {width:60%;}

	.main-senior {background-size:400px; background-position:top 60px right 0;}

	/* footer */
	.foot-logo2 {position:static; margin-top:30px;}

	/* layout */
	.sub-visual {height:400px;}
}

@media (max-width:1200px) {
	/* main */
	.main-edu .cnt p br {display:none;}

	/* content */
	.program .row {background-size:300px;}

	.biz-wrap .center {width:30%;}
	.biz-wrap .flex .row {margin:-40px -170px;}
	.biz-wrap .flex .row .col {padding:40px 170px;}
	.biz-wrap .flex .box {padding:25px; height:230px;}
	.biz-wrap a:after {right:25px; bottom:25px;}
}

@media (max-width:1100px) {
	/* content */
	.program .row {background-size:300px;}
}

/* Landscape tablet */
@media (max-width:1024px) {
	/* header */
	.sitelogo a {width:96px; height:51px;}

	#gnb {display:none;}

	.btn-m-menu {display:block;}
	.mobile-navigation {display:block;}

	/* main */
	.main-visual .slick-arrow {margin-top:-24px; width:34px; height:34px;}

	.m-tit {margin-bottom:25px;}

	.main-edu .contain {display:block;}
	.main-edu .cnt {margin-bottom:30px; width:100%;}
	.main-edu .cnt p {margin-bottom:30px;}
	.main-edu .puzzle {width:100%; margin-left:0; text-align:center;}

	.main-senior .links a .inner {padding:25px;}
	.main-senior .arrow {display:none;}

	/* footer */
	.foot-top {padding:15px 0;}
	.foot-wrap {padding:30px 0;}
	.foot-wrap .foot-logo {min-width:180px;}
	.foot-wrap .foot-logo img {width:140px;}
	.foot-wrap address span br {display:none;}

	.foot-logo2 img {height:34px;}

	/* layout */
	.sub-visual {height:260px;}
	.sub-visual .inner .logo img {height:70px;}
	
	.lnb ul li a {height:50px;}

	.sub-title {padding:50px 0 40px;}
	.sub-title .tit:after {width:40px;}

	.real-cont {padding-bottom:80px;}

	/* content */
	.doc-tit {margin-bottom:20px;}

	.ico-tit {padding-left:25px; margin-bottom:20px;}
	.ico-tit:before {width:15px; height:15px;}

	.greeting-bnr {height:260px; margin-bottom:30px;}
	.greeting h2 {margin-bottom:15px;}
	.greeting p {margin-bottom:15px;}

	.principle .flex .cnt .doc-txt br {display:none;}
	
	.history-bnr {height:200px; margin-bottom:60px;}
	.history-bnr .box {width:180px; padding:20px 15px; border-radius:20px 0 20px 0;}
	.history .group {padding-bottom:50px;}
	.history .group:nth-child(odd) .inner {padding-left:40px;}
	.history .group:nth-child(even) .inner {padding-right:40px;}

	.program .row {margin-bottom:30px;}
	.program .head {width:150px; padding:35px 15px;}
	.program .head .inner {display:block;}
	.program .head .inner .num {display:block;width:100%;}
	.program .cnt {padding:0 30px;}
	.program .cnt p br {display:none;}

	.curriculum-top img {width:200px;}
	.curriculum .box {height:180px;}
	.curriculum .box .num {margin:15px 0 10px;}

	.senior-group {margin-bottom:60px;}
	.senior-group .img {width:70%;}

	.process dl {padding:25px 30px;}
	.process dl dt {min-width:140px;}

	.process-head ul li {height:50px; min-width:auto;}

	.step ul {flex-wrap:wrap;}
	.step ul li {width:33.333%;}
	.step .box {height:170px; padding:20px;}
	.step .box .ico img {height:40px;}
	.step .box .num {margin:14px 0 10px;}

	.root_daum_roughmap .wrap_map {height:300px !important;}
	.directions .address-info .addr {font-size:20px;}
	.directions .contact-info dl {padding:20px 0;}
	.directions .contact-info dt {padding-left:20px; width:140px;}

	/* board */
	.input {padding:5px 14px; height:40px;}
	textarea.input {padding:12px 14px;}

	.board-search .search input.input {width:240px;}

	.board-list colgroup col {width:auto !important;}
	.board-list table thead th {font-size:15px;}
	.board-list table tbody td {font-size:15px;}

	.gallery-list ul li .tit {font-size:15px;}

	.news-list .thumb {width:200px;}
	.news-list .tit {font-size:17px;}
	.news-list .txt {font-size:14px;}
	.news-list .date {font-size:13px;}

	.event-list ul li .tit {font-size:15px;}

	.faq .tit {font-size:15px;}
	.faq .tit a {padding:9px 60px 9px 12px;}
	.faq .tit a:after {top:14px;}
	.faq .q {flex:0 0 32px; width:32px; height:32px; font-size:16px; line-height:32px;}
	.faq .cnt {padding:18px 25px 18px 60px;}

	.calendar-head h3 {font-size:28px; margin:0 30px;}
	.calendar-head .cal-btn {width:40px; height:40px;}
	.calendar table th {font-size:15px;}
	.calendar table td {height:110px; font-size:14px;}
	.calendar ul li:before {top:7px;}

	.board-white table {font-size:15px;}

	.board-form table {font-size:15px;}

	.files-upload-text .upfiles-alt {font-size:14px;}

	.board-view-tit {padding:14px 6px;}
	.board-view-tit h3 {font-size:18px;}
	.board-view-info {padding:13px 6px; font-size:13px;}
	.board-view-cnt {padding:15px 6px 40px;}

	.board-prev-next {font-size:14px;}

	.btn-pack.medium {height:40px; padding:0 16px; font-size:15px; line-height:38px;}
	.btn-pack.large {min-width:140px; height:50px; font-size:18px; line-height:48px;}

	.product-list ul li {width:25%;}
	.product-list ul li .tit {font-size:15px;}
	.product-image {width:350px;}
	.product-info .tit {font-size:25px;}

	.store-search {padding:22px 5%;}
	.store-search .map-area {width:280px;}
	.store-search .map-img .local {padding:0 10px; font-size:13px; line-height:22px;}

	.result-group .gall li {width:25%;}
} 

/* portrait tablet */
@media (max-width:900px) {	
	.only-desktop {display:none;}
	.only-tablet {display:block;}

	/* main */
	.main-senior .links ul {flex-wrap:wrap;}
	.main-senior .links ul li {width:50%;}

	/* footer */

	/* content */
	.curriculum ul {flex-wrap:wrap;}
	.curriculum ul li {width:50%;}

	.biz-wrap .center {margin-bottom:30px; width:100%; position:static; transform:none; text-align:center;}
	.biz-wrap .flex .row {margin:-10px;}
	.biz-wrap .flex .row .col {padding:10px;}
	.biz-wrap .flex .box .tit {margin:10px 0;}

	/* board */	
	.gallery-list ul {margin:0 -10px;}
	.gallery-list ul li {width:33.33333333%; padding:0 10px;}

	.event-list ul li {width:50%;}

	.store-search {padding:30px; margin-bottom:30px;}
	.store-search .map-area {display:none;}
	.store-search .search-area h3 {text-align:center; margin-bottom:30px;}
} 

/* Landscape phone */
@media (max-width:640px) {
	:root {
		/* height */
		--header-height:55px;

		/* padding */
		--main-sec:60px 0;
	}

	.mgb70 {margin-bottom:40px !important;}
	.mgb110 {margin-bottom:60px !important;}

	.only-desktop-tablet {display:none;}
	.only-tablet {display:none;}
	.only-mobile {display:block;}

	.contain {padding-left:16px; padding-right:16px;}

	/* header */
	.sitelogo img {height:34px;}

	.btn-m-menu {width:22px; height:22px;}
	.btn-m-menu span:before {top:-8px;}
	.btn-m-menu span:after {bottom:-8px;}

	.mobile-navigation {width:230px;}
	.mobile-navigation .home {height:55px;}
	.mobile-navigation .home img {height:34px;}
	.mobile-navigation .close {top:18px; width:20px; height:20px;}
	.mobile-navigation .close:before, .mobile-navigation .close:after {top:9px; height:2px;}
	.mobile-navigation .nav-menu>ul>li>a {font-size:15px;}
	.mobile-navigation .nav-menu .submenu ul li a {font-size:14px;}

	/* main */
	.more {height:40px; padding:0 30px;}

	.main-visual .slick-arrow {margin-top:-20px; width:28px; height:28px;}
	.main-visual .caption {padding:0 20px;}

	.main-senior {background-size:200px; background-position:bottom 60px right 0;}
	.main-senior .links ul {margin:-5px;}
	.main-senior .links ul li {padding:5px;}
	.main-senior .links a {border-radius:0 20px 0 20px;}
	.main-senior .links a .inner {padding:15px 10px;}

	/* footer */
	.foot-top .contain {display:block;}
	.foot-nav {margin-bottom:15px;}
	.foot-nav ul {flex-wrap:wrap;}

	.foot-wrap {padding:25px 0;}
	.foot-wrap .flex {display:block;}
	.foot-wrap .foot-logo {margin-bottom:15px;}
    .foot-wrap .foot-logo img {width:127px;}
	.foot-wrap address span {margin:0 15px 0 0;}

	.scroll-top {right:16px; bottom:16px; width:40px; height:40px;}

	/* layout */
	.sub-visual {height:160px;}
	.sub-visual .inner .logo {margin-bottom:12px;}
	.sub-visual .inner .logo img {height:50px;}

	.sub-title .tit:after {width:30px; margin-top:10px;}

	.lnb ul li {padding:0; flex:1 0 auto; width:auto; white-space:nowrap;}
	.lnb ul li a {height:40px; font-size:14px;}

	#contArea {padding-left:16px; padding-right:16px;}

	.sub-title {padding:30px 0 22px;}
	
	.real-cont {min-height:200px; padding-bottom:60px;}

	/* content */
	.ico-tit {margin-bottom:15px;}

	.greeting-bnr {border-radius:20px; height:200px; padding:0 30px;}
	.greeting {margin-bottom:60px;}
	.greeting .highlight:before {display:none;}
	.greeting p br {display:none;}
	.greeting p strong {display:inline;}
	
	.principle {padding:60px 0;}
	.principle .flex {display:block;}
	.principle .flex .head {margin-bottom:15px;}
	.principle .flex .cnt {width:100%;}

	.history-bnr {height:150px; padding:20px;}

	.history .group {margin-bottom:40px;padding:0 !important; text-align:left !important;}
	.history .group:before {display:none;}
	.history .group:after {left:0; margin:0; width:20px; height:20px; top:-3px;}
	.history .group .inner {padding:0 !important;}
	.history .inner h3 {padding-left:30px;margin-bottom:20px;}

	.story ul {display:block;}
	.story ul li {width:100%; text-align:center;}
	
	.program .row {margin-bottom:15px; display:block; border-radius:20px;}
	.program .head {width:100%; padding:12px;}
	.program .head .inner .txt br {display:none;}
	.program .cnt {width:100%; padding:25px 25px 70px; padding:20px;}
	
	.curriculum ul {margin:-5px;}
	.curriculum ul li {padding:5px;}
	.curriculum .box {height:150px; word-break:break-all;}
	.curriculum .box .ico img {height:34px;}
	.curriculum .box .num {margin:10px 0 5px;}

	.senior-group {margin-bottom:40px;}
	.senior-group:nth-child(odd) .img {margin-right:40px;}
	.senior-group:nth-child(even) .img {margin-left:40px;}

	.process-head ul {flex-wrap:wrap; gap:5px}
	.process-head ul li {height: 40px;}

	.process dl {padding:15px 0;}
    .process dl dt {min-width:105px;}
	.process.ty2 dl dt {min-width:auto; width:120px; }
	.process.ty2 dl dd {flex:1 1 auto; min-width:0; width:1%;}
	.process.ty3 dl dt {min-width:40px;}

	.dot-list>li {padding-left:12px;}
	.dot-list>li:before {top:.5em;}

	.biz-wrap .flex .row .col {width:100%;}
	.biz-wrap .flex .box {height:180px;}

	.step ul {margin:-5px;}
	.step ul li {width:50%; padding:5px;}
    .step .box {height:160px;}
    .step .box .ico img {height:34px;}
	.step .box .num {margin:10px 0 5px;}

	.root_daum_roughmap .wrap_map {height:250px !important;}	
	.directions {margin-top:30px;}
	.directions .address-info .addr {font-size:18px;}
	.directions .address-info {margin-bottom:20px;}
	.directions .contact-info dl {padding:16px 0;}
	.directions .contact-info dt {padding-left:5px; width:110px;}
	.directions .contact-info dt svg {margin-right:10px;}

	/* board */
	.input {font-size:14px; padding:0 10px; height:38px;}
	select.input {padding-right:26px; background-position:right 8px center; background-size:12px auto;}
	textarea.input {padding:7px 10px;}

	.board-search {display:flex; flex-direction:column; margin-bottom:10px;}
	.board-search .total-page {order:3; float:none; font-size:13px;}
	.board-search .cate {float:none; order:1; margin-left:0; margin-bottom:5px;}
	.board-search .cate .input {display:block; width:100%;}
	.board-search .search {float:none; order:2; display:flex;}
	.board-search .search .input {flex:1 1 auto; min-width:0; width:1%;}

	.board-list {display:none;}
	.board-list-m {display:block;}

	.gallery-list {padding-top:15px;}
	.gallery-list ul {margin:0 -7px;}
	.gallery-list ul li {width:50%; padding:0 7px; margin-bottom:27px;}
	.gallery-list ul li .thumb {margin-bottom:10px;}
	.gallery-list ul li .tit {font-size:14px;}
	.gallery-list ul li .date {font-size:12px; margin-top:4px;}

	.news-list ul li {padding:17px 0;}
	.news-list .thumb {width:38%; margin-right:14px;}
	.news-list .tit {font-size:15px; max-height:2.8em; white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;}
	.news-list .txt {font-size:13px; margin-top:3px; max-height:3em; -webkit-line-clamp:2;}
	.news-list .date {display:none;}

	.event-list {padding-top:20px;}
	.event-list ul li {width:100%; margin-bottom:32px;}
	.event-list ul li .thumb {margin-bottom:10px;}
	.event-list ul li .tit {font-size:15px;}
	.event-list ul li .date {font-size:12px; margin-top:4px;}

	.faq .tit a {padding:7px 0 7px 5px;}
	.faq .tit a:after {display:none;}
	.faq .q {flex:0 0 26px; width:26px; height:26px; font-size:15px; line-height:26px; margin-right:10px;}
	.faq .cnt {padding:12px 12px 12px 15px;}

	.calendar-head {margin-bottom:15px;}
	.calendar-head h3 {font-size:20px; margin:0 17px;}
	.calendar-head .cal-btn {width:34px; height:34px; background-size:9px auto;}
	.calendar-head .cal-prev {background-image:url("/images/bbs/cal_prev_x2.png");}
	.calendar-head .cal-next {background-image:url("/images/bbs/cal_next_x2.png");}
	.calendar table th {padding:6px 4px; font-size:14px;}
	.calendar table td {height:60px; padding:5px 4px; font-size:12px;}
	.calendar ul li {padding-left:0; margin-bottom:6px;}
	.calendar ul li:before {display:none;}
	.calendar .cal-date {font-size:10px; margin-bottom:8px;}

	.board-white table {display:block; border-top:0; border-bottom:0; font-size:14px;}
	
	.board-white table tbody {display:block;}
	.board-white table tr {display:block; padding:12px 0;}
	.board-white table th {display:block; border:0; text-align:left; padding:0; margin-bottom:7px; font-size:16px; background:none;}
	.board-white table td {display:block; border:0; padding:0;}
	.board-white .editor {padding:0; margin-top:-12px;}
	.board-white .item {margin:3px 12px 3px 0;}
	.board-white #user_name {max-width:100% !important;}
	.board-white + .buttons {margin-top:30px;}

	.board-form table tbody {display:block;}
	.board-form table tr {display:block; padding:12px 0;}
	.board-form table th {display:block; border:0; text-align:left; padding:0; margin-bottom:7px; font-size:16px; background:none;}
	.board-form table td {display:block; border:0; padding:0;}
	.board-form + .buttons {margin-top:30px;}

	.form-agree {margin:30px 0 30px;}
	.form-agree h3 {font-size:16px;}
	.form-agree .scroll-box {font-size:12px; max-height:110px; overflow:auto;}
	.form-agree .check {margin-top:12px; font-size:14px;}

	.board-view-tit h3 {font-size:17px;}
	.board-view-info {font-size:12px;}

	.board-prev-next dl {padding:10px 6px;}
	.board-prev-next dt {width:70px}

	.buttons {margin:15px 0;}

	.btn-pack.small {height:26px; padding:0 8px; font-size:11px; line-height:24px;}
	.btn-pack.medium {height:38px; padding:0 14px; font-size:14px; line-height:36px;}
	.btn-pack.large {min-width:120px; height:42px; padding:0 18px; font-size:15px; line-height:40px;}
	.btn-pack.xlarge {min-width:120px; height:50px; padding:0 22px; font-size:16px; line-height:48px;}
	.btn-pack.comment {width:80px; height:32px; font-size:14px;}

	.paginate {margin-top:20px;}
	.paginate a,  
	.paginate strong{margin:0 1px;width:30px;height:30px;font-size:14px;line-height:30px;}  
	.paginate a.direction {margin:0; background-size:11px;}
	.paginate a.direction.first {background-image:url("/images/bbs/btn_first_x2.png");}
	.paginate a.direction.prev {background-image:url("/images/bbs/btn_prev_x2.png"); margin-right:14px;}
	.paginate a.direction.next {background-image:url("/images/bbs/btn_next_x2.png"); margin-left:14px;}
	.paginate a.direction.last {background-image:url("/images/bbs/btn_last_x2.png");}

	.comment-area {margin-top:37px;}
	.comment-total {font-size:14px; margin-bottom:12px;}
	.comment-write {position:relative; padding:10px;}
	.comment-write .byte {position:absolute; bottom:15px; left:12px; font-size:12px;}
	.comment-write .write {display:block;}
	.comment-write .write textarea {display:block; width:100%; height:65px; margin-right:0;}
	.comment-write .write .btn {text-align:right; margin-top:6px;}
	.comment-item {padding:17px 4px;}
	.comment-item.comment-reply {padding-left:25px; background-image:url("/images/bbs/icon_reply_x2.png"); background-position:3px 18px; background-size:auto 13px;}
	.comment-info {font-size:14px;}
	.comment-info .name {margin-right:5px;}
	.comment-info .date {font-size:11px;}
	.comment-ctr {font-size:12px;}
	.comment-ctr .bar {vertical-align:middle; margin:-.2em 4px 0;}
	.comment-txt {font-size:14px;}
	.comment-link {font-size:13px;}
	.comment-input {padding:10px;}
	.comment-input textarea {height:48px;}

	.board-password {padding:30px 20px;}

	.product-list ul {margin:0 -7px;}
	.product-list ul li {width:50%; padding:0 7px; margin-bottom:27px;}
	.product-list ul li .thumb {margin-bottom:10px;}
	.product-list ul li .tit {font-size:14px;}
	.product-summary {display:block;}
	.product-image {width:100%; margin-bottom:20px;}
	.product-info {width:100%;}
	.product-info .tit {font-size:22px; padding-bottom:14px; margin-bottom:14px;}
	.product-detail {padding-bottom:25px; margin-bottom:25px;}
	.product-detail .tit {font-size:17px; padding-bottom:10px; margin-bottom:14px;}

	.store-search {padding:0;}
	.store-search .search-area h3 {font-size:16px; padding:15px 25px; margin-bottom:20px; background:#f4f4f4;}
	.store-search .search-area dl {display:block; padding:0 15px; margin:20px 0;}
	.store-search .search-area dl dt {width:auto; margin-bottom:6px; font-size:15px;}
	.store-search .search-area dl dd {width:auto;}
	.store-search .search-area input.input {width:calc(100% - 74px); margin-right:4px;}
	.store-search .search-area select.input {width:calc(50% - 39px); margin-right:4px;}
	.store-search .search-area .btn-pack.medium {width:70px;}

	.result-top {font-size:18px;}
	.result-group .gall {margin:0 -7px;}
	.result-group .gall li {width:50%; padding:0 7px;}
	.result-group dl dt {font-size:15px;}
	.result-group dl dd {font-size:13px;}
	.result-group dl dd.date {font-size:12px;}
} 

/* Landscape phones and down */
@media (max-width:320px) {

} 