@charset "utf-8";

@media (max-width: 1800px) {
    /* header */
    #header .contain { padding-left: 30px; padding-right: 30px;}
    .btn-menu { right: 30px !important;}
    #gnb > ul > li { padding: 0 55px;}
    #gnb { left: 0;}

    /* main */
    #fp-nav { left: 30px;}
    #fp-nav ul li { margin-bottom: 20px !important; width: 8px !important; height: 8px !important;}
    #fp-nav ul li a.active span { width: 16px; height: 16px; margin: -4px 0 0 -4px;}
    .sec1 .contain { padding-left: 80px;}
    .sec2 .contain { padding-left: 80px;}
    .sec3 .contain { padding-left: 80px;}
} 
@media (max-width: 1400px) {
    /* header */
    #gnb > ul > li { padding: 0 40px;}
    #gnb > ul > li > a { font-size: 16px;}
    #gnb .submenu>ul>li>a {font-size: 14px;}
    .sitelogo a img { height: 42px;}
    .hd-cp { font-size: 14px; padding: 5px 15px;}
    #gnb .submenu { left: 65%;}

    /* footer */
    .ft-logo { font-size: 15px;}
    .ft-text span { font-size: 13px; padding-right: 15px;}
    .cpr span { font-size: 13px;}
    .cpr a { font-size: 12px;}
    .ft-right a { font-size: 13px;}
    .ft-right a::before { width: 12px; height: 12px; background-size: contain; left: -15px;}
    .ft-right a:last-child { margin-left: 30px;} 
    .kakao { right: 20px; top: auto; transform: translateY(0); bottom: 20px; width: 40px; height: 40px;}
    .kakao .txt { display: none;}
    .kakao img { width: 25px;}

    /* main */
    .main-scroll { bottom: 30px; height: 35px;}
    .main-subtit { font-size: 16px;}
    .main-tit { font-size: 44px; margin-top: 10px;}
    .main-txt { font-size: 20px; margin-top: 10px;}
    .main-link { font-size: 14px; padding: 6px 50px 6px 15px;  margin-top: 25px;}
    .main-link::after { right: 15px; top: 14px;}
}
@media (max-width: 1200px) {
    /* sub */
    .sub-title { padding: 50px 0;}
    .sub-title2 { padding: 50px 0;}
    .sub-title>h2 { font-size: 24px;}
    .sub-title>h2::after { width: 30px; height: 2px; margin: 15px auto 0;}
    .real-cont { padding-bottom: 60px;}
    .real-cont2 { padding-bottom: 0;}   

    /* 인사말 */
    .about { padding-bottom: 60px;}
    .about-bg { height: 80%;}
    .about-left { padding-right: 50px; width: 50%;}
    .about-right { width: 50%; }
    .about-right .imgbox { border-radius: 10px;}
    .about-left>b { font-size: 14px;}
    .about-tit { font-size: 20px; margin-top: 10px;}
    .about-tit br { display: none;}
    .about-text>p { font-size: 14px; margin-top: 25px;}
    .about-text>p br { display: none;}
    .about-text>b { font-size: 16px; margin-top: 35px;}
    .sub-sb { display: none;}

    /* 오시는 길 */
    .lct { margin-top: 25px;} 
    .lct b { font-size: 14px;}
    .lct .tit { font-size: 19px; }
    .lct-text { margin-top: 0;}
    .lct-text span { font-size: 14px; padding-right: 10px;}
    .lct-list { margin-top: 20px;}
    .lct-list li { padding: 20px;}
    .lct-title { font-size: 16px; gap: 10px; left: 15px; top: 16px;}
    .lct-title img { width: 15px;}
    .lct-txt { font-size: 14px; padding-left: 90px;}

    /* sub2 공통 */
    .sub2-txt1 { font-size: 18px; margin-bottom: 40px;}
    .sub2-txt1 br { display: none;}
    .sub2-txt1 sup { font-size: 10px;}
    .sub2-box>.tit { font-size: 18px; margin-bottom: 10px; padding-left: 26px;}
    .sub2-box>.tit::before { width: 16px; height: 16px; left: 0; top: 1px;}
    .sub2-box { margin-top: 40px; padding-left: 0;} 
    .sub2-box>.txt { font-size: 14px; line-height: 1.6em;}
    .sub2-list1 { margin-top: 20px; gap: 10px;}
    .sub2-list1 li { width: calc(100%/3 - 7px); padding: 15px 20px 90px; height: auto;}
    .sub2-list1 li .tit{ font-size: 16px;}
    .sub2-list1 li .txt { font-size: 14px; margin-top: 10px;}
    .sub2-list1 li .iconbox img { width: 40px;}
    .sub2-pc { gap: 25px;}
    .sub2-pc li { width: calc(100%/4 - 19px); font-size: 14px;}
    .sub2-pc li::after { width: 16px; height: 15px; right: -23px; top: 22px;}
    .sub2-rt::after { right: -21px !important;}
    .sub2-dg::after { top: -22px !important;}
    .sub2-pc2 li { width: calc(100%/3 - 17px);}
    .sub2-pc2 li::after { display: block !important;}
    .sub2-pc2 li:nth-child(3)::after { display: none !important; }
    .gift-list1 { gap: 10px; margin-top: 20px; }
    .gift-list1 li { border-radius: 5px;}
    .gift-list2 { gap: 10px; margin-top: 20px;}
    .gift-list2 li{ border-radius: 5px; width: calc(100%/3 - 7px);}
    .sub2-box2 { margin-top: 150px;}
    .sub2-box3  { margin-top: 100px;}
    .steam-pc { flex-wrap: wrap; justify-content: flex-start;} 
    .steam-pc li { order: unset !important;}
    .steam-pc li:nth-child(4)::after { display: none !important;}
    .eo-pc li { order:unset !important;}
    .eo-pc li::after { display: block !important; transform: rotate(0); right: -23px !important; top: 22px !important; margin: 0; left: auto;}
    .eo-pc li:nth-of-type(4n)::after { display: none !important;}
}
/* Landscape tablet */
@media (max-width: 1024px) {
	body, input, textarea, select, button, table {font-size:15px;}	

    /* header */
    #gnb {display: none;}
    #header { height: 80px !important;}
    .btn-m-menu {display: block; margin-top: -15px;}
    .list-icon { position: absolute;  width: 18px; height: 25px; right: 30px;}
    .mobile-navigation {display:block;}
    .btn-menu { display: none;}
    .hd-cp { margin-right: 40px;}

    /* footer */
    #footer { padding: 30px 0 25px;}
    #footer .contain { flex-wrap: wrap; text-align: center;}
    .ft-left { width: 100%; display: block; }
    .ft-right { width: 100%; padding-top: 10px;}

    /* 오시는 길 */
	.root_daum_roughmap .wrap_map {height:300px !important;}

	/* sub */
    .sub-visual h2 { font-size: 26px; }
    .sub-visual p { font-size: 14px; margin-top: 10px;}
	.sub-visual {height:250px; margin-top: 80px;}

    .lnb { padding-left: 30px; padding-right: 30px;}
    .lnb ul li { flex: none;}
    .lnb ul li a { font-size: 16px;}
    .lnb ul li::after { display: none;}

    /* 인사말 */
    .about .contain { flex-wrap: wrap; flex-direction: column-reverse;}
    .about-left { width: 100%; padding-right: 0; margin-top: 20px;}
    .about-right { width: 60%;}
    .about-bg { height: 60%;}

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

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

	.gallery-list ul li .tit {font-size:15px;}
    .gallery-list ul li { width: 33.333%; margin-bottom: 25px; padding: 0 7px;}
    .gallery-list ul { margin: 0 -7px;}

    .board-list colgroup col {width:auto !important;}
    .board-list table thead th {font-size:14px;}
	.board-list table tbody td {font-size:14px;}
    .board-link { padding: 2px 5px; border-radius: 3px;}
    .board-link img { width: 12px;}

    .board-list2 table thead th {font-size:14px;}
	.board-list2 table tbody td {font-size:14px;}

	.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;}

    .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;}

	.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;}
} 

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

    /* main */
    .main-subtit { font-size: 14px;}
    .main-tit { font-size: 26px; margin-top: 10px;}
    .main-txt { font-size: 17px; margin-top: 10px;}

    .lnb { padding-left: 0; padding-right: 0; margin-top: 0;}
    .lnb .contain { border-radius: 0px;}
    .lnb ul li.active{ border-radius: 0px;}
    .lnb ul li { width: auto;}
    .lnb ul li a { font-size: 13px; padding: 10px 10px; white-space: nowrap;}

    /* sub2공통 */
    .sub2-img { float: none; margin-left: 0; border-radius: 10px;}
    .sub2-list1 { flex-wrap: wrap;}
    .sub2-list1 li{ width: 100%;}
    .sub2-pc li{ width: 100%; order: unset !important;}
    .sub2-pc li::after { right: 0 !important; left: 0 !important; margin: auto !important; top: auto !important; transform: rotate(90deg); bottom: -21px; display: block !important;}
    .sub2-pc li:last-child::after { display: none !important;}
    .sub2-pc2 li:nth-child(3)::after { display: block !important; }
    .sub2-box2 { margin-top: 40px;}
    .sub2-box3  { margin-top: 40px;}
    .steam-pc li:nth-child(4)::after { display: block !important;}
    .sub3-list2 { flex-wrap: wrap ;}
    .sub3-list2 li { width: calc(100%/3 - 7px);}
    .eo-pc li:nth-of-type(4n)::after { display: block !important;}
    .eo-pc li:last-child::after { display: none !important;}
}

/* Landscape phone */
@media (max-width: 640px) {
	body, input, textarea, select, button, table {font-size:14px;}
	.only-desktop-tablet {display:none;}
	.only-tablet {display:none;}
	.only-mobile {display:block;}

    /* header */
    #header { height: 60px !important;}
    #header .contain { padding-left: 15px; padding-right: 15px;}
    .sitelogo a img{ height: 33px;}
	.btn-m-menu {right: 15px; margin-top: -14px;}
	.mobile-navigation .home {height:60px;}
	.mobile-navigation .close {top:17px;}
    .hd-cp { font-size: 12px;}

	#contArea {padding-left: 15px; padding-right: 15px;}
	.contain {padding-left: 15px; padding-right: 15px;}
    .contain2 { padding-left: 15px; padding-right: 15px;}
	.real-cont {min-height: 200px; padding-bottom: 40px;}

    .sub-title{ padding: 40px 0;}
    .sub-title2{ padding: 40px 0;}
    .sub-title>h2 { font-size: 20px;}

    /* main공통 */
    .sec1 .contain { padding-left: 15px; text-align: center;}
    .sec2 .contain { padding-left: 15px; text-align: center;}
    .sec3 .contain { padding-left: 15px; text-align: center;}

    .root_daum_roughmap .wrap_map {height:220px !important;}

	/* footer */
    #footer .contain { padding-left: 15px; padding-right: 15px; text-align: center;}
    .ft-logo img { height: 32px;}
    .ft-right a { font-size: 13px;}
    .ft-right a::before { width: 12px; height: 12px; background-size: contain;}
    
	/* sub */
	.sub-visual {height: 200px; margin-top: 60px;}
	.sub-visual h2 {font-size: 20px; margin-top: 0;}


    .real-cont { padding-bottom: 40px;}
    .real-cont2 { padding-bottom: 0;}

    /* 인사말 */
    .about-right { width: 100%;} 
    .about-tit { font-size: 17px;}
    .about-text>p { margin-top: 20px;}

    /* 오시는 길 */
    .lct .tit { font-size: 17px; margin-bottom: 5px;}

    /* sub2공통 */
    .sub2-txt1 { font-size: 16px; margin-bottom: 25px;} 
    .sub2-box { margin-top: 30px;}
    .sub2-box>.tit { font-size: 16px;}
    .sub2-box>.tit::before { top: -1px;}
    .gift-list1 { flex-wrap: wrap;}
    .gift-list1 li { width: calc(100%/2 - 5px);}
    .gift-list2 { gap: 10px; margin-top: 20px; flex-wrap: wrap;}
    .gift-list2 li{ border-radius: 5px; width: calc(100%/2 - 5px);}

	/* board */
	.input {font-size:14px; padding:0 10px; height:38px;}
	select.input {padding-right:26px; background-image:url("/images/bbs/select_x2.png"); background-position:right 8px center; background-size:12px auto;}
	textarea.input {padding:7px 10px;}

	.radiobox input:checked + label:before {background-image:url("/images/bbs/radiobox_x2.png"); background-size:8px auto;}
	.checkbox input:checked + label:before {background-image:url("/images/bbs/checkbox_x2.png"); background-size:11px auto;}

	.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;}

	.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:14px; 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;}

	.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;}
    
	.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;} 

    .form-agree .scroll-box { padding: 15px;}

} 
