@charset "utf-8";

@media (max-width: 1460px) {
	#gnb > ul > li {margin-left:80px;}
	.main-cases  {padding-right:0;}
	.main-cases .content {position:relative; margin-left:0; left:auto;}
}

@media (max-width: 1260px) {
	#gnb > ul > li {margin-left:55px;}

	.quick {width:85px;}
	.quick h3 {font-size:14px; line-height:40px;}
	.quick ul li a {padding:15px 0 12px; font-size:13px;}

	.main-business {padding:120px 60px;}
	.main-business .slider ul li .cnt {margin:-40px 20px 0; padding:24px 24px 30px;}
	.main-business .slider ul li .cnt .tit {margin-bottom:12px;}
	.main-business .slider ul li .cnt .txt {font-size:15px;}
	.main-business .slider ul li .cnt .more {font-size:14px; margin-top:15px;}
	.main-business .slide-btn.prev {left:-70px;}
	.main-business .slide-btn.next {right:-70px;}
}

@media (max-width: 1080px) {
	#gnb > ul > li {margin-left:45px;}
}

/* Landscape tablet */
@media (max-width: 1024px) {
	body, input, textarea, select, button, table {font-size:15px;}	

	/* header */
	#header .contain {height:75px;}
	#gnb {display:none;}
	.btn-m-menu {display:block;}
	.mobile-navigation {display:block;}

	/* main */
	.main-visual .video {height:0; padding-bottom:56.25%;}
	.main-visual .caption {font-size:38px;}

	.main-business {padding:70px 40px;}
	.main-business .head {margin-bottom:48px;}
	.main-business .head h2 {font-size:28px;}
	.main-business .head h2:after {margin:10px auto 15px; width:40px; height:2px;}
	.main-business .head p {font-size:16px;}
	.main-business .slider ul li .cnt {margin:-30px 17px 0; padding:18px;}
	.main-business .slider ul li .cnt .tit {margin-bottom:10px; font-size:18px;}
	.main-business .slider ul li .cnt .txt {font-size:13px;}
	.main-business .slider ul li .cnt .more {font-size:12px;}
	.main-business .slide-btn {width:40px; height:40px; background-size:10px auto;}
	.main-business .slide-btn.prev {left:-55px;}
	.main-business .slide-btn.next {right:-55px;}

	.main-cases {padding:70px 0 70px 30px;}
	.main-cases .bg .left {background-size:80% auto;}
	.main-cases h2 {font-size:24px; margin-bottom:25px;}
	.main-cases .slider ul li {width:36%;}
	.main-cases .slider ul li a {padding:25px;}
	.main-cases .slider ul li .cate {padding:0 15px; font-size:13px; line-height:24px; margin-bottom:10px;}
	.main-cases .slider ul li .tit {font-size:18px; margin-bottom:4px;}
	.main-cases .slider ul li .txt {font-size:14px; height:5.25em; -webkit-line-clamp:3;}
	.main-cases .slider ul li .date {margin-top:25px; font-size:13px;}
	.main-cases .arrows {margin-top:30px;}
	.main-cases .slide-btn {width:35px; height:35px; background-size:10px auto;}

	.main-about {padding:70px 0;}
	.main-about .wrap {padding:50px 45px 50px 40%;}
	.main-about .wrap .img {left:7%; width:24%;}
	.main-about .wrap .cnt h2 {font-size:24px;}
	.main-about .wrap .cnt .txt {font-size:17px;}
	.main-about .wrap .cnt .name {font-size:17px;}

	.main-inquiry {padding:70px 0;}
	.main-inquiry .left {width:38%;}
	.main-inquiry .left h2 {font-size:24px; margin:17px 0 10px;}
	.main-inquiry .left p {font-size:15px;}
	.main-inquiry .right {width:62%; padding:30px;}
	.main-inquiry .right table {font-size:15px;}
	.main-inquiry .right table th {padding:10px 10px 10px 20px;}

	.main-location {padding:70px 0;}
	.main-location .box {padding:70px 25px; font-size:14px;}
	.main-location .root_daum_roughmap .wrap_map {height:450px !important;}
	

	/* quick */
	.quick {display:none}

	/* footer */
	
	/* layout */
	.sub-visual {height:370px;}
	.sub-visual .inner {padding:75px 0 50px;}

	.lnb-wrap {margin-top:-50px;}
	.lnb ul li a {height:50px; font-size:17px;}

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

	/* content */
	.business {margin-top:40px; background-size:180px auto;}
	.business .img {width:35%; margin-right:40px; margin-top:-40px;}
	.business .cnt {padding:35px 0;}
	
		

	/* 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;}

	.cases-list ul {margin:-10px;}
	.cases-list ul li {padding:10px;}
	.cases-list ul li a {padding:22px 25px;}
	.cases-list ul li .cate {font-size:15px; margin-bottom:15px;}
	.cases-list ul li .tit {font-size:18px; margin-bottom:4px;}
	.cases-list ul li .txt {font-size:14px;}
	.cases-list ul li .date {margin-top:20px; font-size:13px;}
	.cases-list ul li a:hover {background-image:none;}

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

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

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

	/* header */

	/* main */
	.main-visual .video {padding-bottom:75%;}
	.main-visual .caption {font-size:34px;}

	.main-about .wrap .img {left:4%; width:32%;}

	.main-inquiry {padding:70px 0;}
	.main-inquiry .left {width:38%;}
	.main-inquiry .left h2 {font-size:24px; margin:17px 0 10px;}
	.main-inquiry .left p {font-size:15px;}
	.main-inquiry .right {width:62%; padding:30px;}
	.main-inquiry .right table {font-size:15px;}
	.main-inquiry .right table th {padding:10px 10px 10px 20px;}

	.main-location .box {width:260px;}
	.main-location .root_daum_roughmap {width:calc(100% + 200px) !important; margin-right:-200px;}	

	/* content */
	.greetings .img {width:38%; margin-right:30px;}

	.lawyer .img {width:32%; margin-right:30px;}

	.location-info dt {width:100px}
	.location-info dd {padding-left:15px;}

	.business .contain {flex-direction:column; margin-top:80px;}
	.business .img {width:50%; margin:-80px auto 0;}
	.business .img img {box-shadow:12px 12px 10px rgba(0,0,0,.2);}
	.business .cnt {width:100%; padding:0; text-align:center; padding:40px 0;}
	.business .cnt p {margin-left:auto; margin-right:auto;}

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

/* 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;}

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

	/* header */
	#header .contain {height:54px;}
	.sitelogo img {height:28px;}
	
	.btn-m-menu {right:15px;}

	.mobile-navigation .home {padding:14px 20px;}
	.mobile-navigation .close {top:15px;}

	/* main */
	.main-visual .video {padding-bottom:80%;}
	.main-visual .video video {top:0; left:0; width:100%; height:100%; transform:none !important;}
	.main-visual .scroll-down {display:none;}
	.main-visual .caption {font-size:20px; top:35%;}

	.main-business {padding:40px 30px;}
	.main-business .head {margin-bottom:30px;}
	.main-business .head h2 {font-size:24px;}
	.main-business .head h2:after {margin:10px auto 15px; width:30px;}
	.main-business .head p {font-size:13px;}
	.main-business .slider ul li .cnt {margin:-45px 25px 0;}
	.main-business .slide-btn {width:32px; height:32px; background-size:8px auto;}
	.main-business .slide-btn.prev {left:-38px;}
	.main-business .slide-btn.next {right:-38px;}

	.main-cases {padding:40px 0 40px 15px;}
	.main-cases .bg .left {width:45%}
	.main-cases .bg .right {width:55%;}
	.main-cases h2 {font-size:18px; margin-bottom:20px;}
	.main-cases .slider ul li {width:210px;}
	.main-cases .slider ul li a {padding:20px;}
	.main-cases .slider ul li .cate {padding:0 12px; font-size:12px; line-height:20px;}
	.main-cases .slider ul li .tit {font-size:16px; margin-bottom:4px;}
	.main-cases .slider ul li .txt {font-size:12px; line-height:1.5em; height:4.5em;}
	.main-cases .slider ul li .date {margin-top:15px; font-size:12px;}
	.main-cases .arrows {margin-top:20px;}
	.main-cases .slide-btn {width:30px; height:30px; background-size:8px auto;}

	.main-about {padding:40px 0; overflow:hidden;}
	.main-about .wrap {padding:40px 10px 30px 37%;}
	.main-about .wrap .img {left:-57px; width:52%;}
	.main-about .wrap .cnt h2 {font-size:20px; margin-bottom:12px;}
	.main-about .wrap .cnt .txt {font-size:13px;}
	.main-about .wrap .cnt .txt br {display:none;}
	.main-about .wrap .cnt .name {font-size:14px; margin:15px 0 20px;}
	.main-about .wrap .cnt .more {color:#fff; padding:0 20px; background:#a58668; font-size:14px; line-height:30px; border-radius:20px;}

	.main-inquiry {padding:40px 0;}
	.main-inquiry .wrap {display:block;}
	.main-inquiry .left {width:100%; display:block; padding:20px 0;}
	.main-inquiry .left img {width:26px;}
	.main-inquiry .left h2 {font-size:20px; margin:10px 0 8px;}
	.main-inquiry .left p {font-size:12px; line-height:1.6em; width:80%; margin:0 auto;}
	.main-inquiry .left p br {display:none;}
	.main-inquiry .right {width:100%; padding:20px 20px 30px;}
	.main-inquiry .right table {font-size:14px;}
	.main-inquiry .right table colgroup col:nth-child(1) {width:85px !important;}
	.main-inquiry .right table th {padding:8px;}
	.main-inquiry .right table td {padding:8px 0 8px 8px;}
	.main-inquiry .right .check {margin:10px 0 20px;}
	.main-inquiry .right .submit {width:120px; height:40px; font-size:16px;}

	.main-location {padding:40px 0;}
	.main-location .wrap {display:flex; flex-direction:column;}
	.main-location .box {position:static; width:100%; padding:25px 20px; order:2;}
	.main-location .root_daum_roughmap {width:100% !important; margin-right:0 !important;}
	.main-location .root_daum_roughmap .wrap_map {height:250px !important;}
	.main-location .box .img {margin-bottom:20px;}
	.main-location .box .img img {width:180px;}

	/* sub */
	.sub-visual {height:240px;}
	.sub-visual .inner {padding:55px 0 40px;}
	.sub-visual h2 {font-size:22px;}

	.lnb-wrap {margin-top:-40px;}
	.lnb ul li {flex:1 0 auto;}
	.lnb ul li a {height:40px; font-size:14px;}

	.sub-title {padding:30px 0;}
	.sub-title h2 {font-size:22px;}
	.sub-title h2:after {width:40px; height:2px; margin-top:10px;}

	.real-cont {padding-bottom:50px; min-height:230px;}

	/* quick */
	.quick {display:block; position:fixed; top:auto !important; margin:0 !important; bottom:0; right:0; width:100%;}
	.quick h3 {display:none;}
	.quick ul {display:flex;}
	.quick ul li {flex:1; border-bottom:0;}
	.quick ul li a {padding:11px 0 8px; font-size:11px;}
	.quick ul li a img {width:24px;}
	/* .scroll-top {display:block; width:25%; height:58px; font-size:11px; padding:20px 0; margin:0; background:#fff; color:#454545; border-radius:0;}
	.scroll-top:before {border-bottom-color:#454545;} */	

	/* footer */
	#footer {font-size:13px; padding:20px 0 90px;}
	.foot-links ul {flex-wrap:wrap; margin:-3px -10px;}
	.foot-links ul li {margin:0; padding:3px 10px;}
	.foot-links ul li a {font-size:14px; padding-left:18px; background-size:12px;}

	/* content */
	.doc-tit {padding-left:25px; margin-bottom:10px; font-size:18px; background-size:15px auto; background-position:0 4px;}

	.doc-cnt.indent {margin-left:25px;}

	.greetings {padding:40px 0;}
	.greetings .contain {display:block;}
	.greetings .img {width:80%; max-width:300px; margin:0 auto 30px;}
	.greetings .cnt {width:100%; padding-top:0; text-align:center;}
	.greetings .cnt .mo-break {display:none;}
	.greetings .cnt h3 {font-size:24px;}
	.greetings .cnt .sign {font-size:16px;}

	.lawyer{display:block;}
	.lawyer .img {width:60%; max-width:200px; margin:0 auto 30px;}
	.lawyer .cnt {width:100%;}

	.location-map .root_daum_roughmap .wrap_map {height:250px !important;}
	.location-info dt {width:50px;}
	.location-info dd {padding-left:10px;}

	.business {background-size:80px auto;}
	.business .img {width:80%;}

	/* 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;}
	.board-search .search form {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;}

	.cases-list {margin-bottom:30px;}
	.cases-list ul {margin:-7px;}
	.cases-list ul li {width:50%; padding:7px;}
	.cases-list ul li a {padding:15px 15px;}
	.cases-list ul li .cate {font-size:13px; margin-bottom:10px;}
	.cases-list ul li .tit {font-size:15px; line-height:1.4em; height:2.8em; white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;}
	.cases-list ul li .txt {font-size:13px; line-height:1.5em; height:4.5em;}
	.cases-list ul li .date {margin-top:17px; font-size:12px;}

	.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 {font-size:14px;}
	.board-form table th {padding:8px 12px;}
	.board-form table td {padding:8px;}
	.board-form table td textarea.input {height:120px !important;}
	.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:80px; 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;}

	.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) {

} 