@charset "utf-8";

@media (min-width:1024px) and (max-width:1600px) {
	:root {--inner:1920;}
}

@media (max-width:1600px) {
	
    /* main */
    .sec2-wrap .item {height:500px;}
    .sec3-wrap .ico {bottom:30px; right:30px;}
    .sec4-wrap .bg {height:300px;}

	/* footer */
    .quick ul li a {width:90px; height:100px;}
    .quick ul li a img {height:22px;}
    .quick .top {height:50px;}

    /* content */
    .history:before {display:none;}

    .fee-list .item {height:120px;}

}

/* Landscape tablet */
@media (max-width:1024px) {
	
	:root {
		--header-height :80px;
	}

	/* header */
	#header .contain {height:var(--header-height);}
	
	.gnb ul {display:none !important;}
    .mobile-navigation {width:250px;}
    .sitelogo a img {height:50px;}

	/* main */
	.visual-scroll {bottom:85px;}
	.main-visual .controls {bottom:100px;}

    .sec2-wrap .item {height:300px;}
    .sec2-wrap .item .ico img {height:30px;}
    .sec2-bigtxt {font-size:60px; bottom:-50px; right:0;}

    .sec4-wrap {display:block; margin:0;}
    .sec4-wrap .item {padding:0; width:100%; margin-bottom:30px; display:block;}
    .sec4-wrap .item:last-child {margin-bottom:0;}
    .sec4-wrap .bg {height:280px;}

    .sec5-wrap {flex-wrap:wrap;}
    .sec5-wrap .item {width:33.3333%; margin-bottom:50px;}

    .partner-list ul li img {height:90px;}

    /* footer */
    #footer {padding:40px 0 80px;}

	.quick {right:0; left:0; width:100%; bottom:0; top:auto; transform:none; border-radius:0; display:flex; box-shadow:1px 3px 10px rgba(0, 0, 0, .5);}
	.quick ul {display:flex; flex:1;}
	.quick ul li {flex:1; margin-bottom:0;}
	.quick ul li a {gap:7px; height:50px; font-size:12px; flex-direction:row; width:100%; border-radius:0; border-right:0;}
	.quick ul li a img {height:17px;}
	.quick ul li a br {display:none;}
    .quick .top {height:50px; width:50px;}
	
	.foot-link img {height:13px;}
	.foot-sns img {height:34px;}
	.foot-logo img {height:36px;}
	
	/* content */
	.greetings .img {width:40%;}
    
    .philosophy-wide {padding-top:400px;}

    .memberclass .contain {display:block;}
    .memberclass .img {margin-bottom:100px; box-shadow:none;}
    .memberclass br {display:none;}

    .memclass-list {margin:0 0 -20px;}
    .memclass-list .item {padding:0 0 20px; width:100%;}
    .memclass-list .tit {height:50px;}

    .matching-item .img {width:50%;}

    .upperclass-top .img {width:55%;}
    .upperclass-wrap .item:nth-child(even) .col-txt {margin-left:30px;}

    .privateparty .item {display:block;}
    .privateparty .txt {margin-top:50px;}

    .location {display:block;}
    .location .map {margin-top:30px; width:100%;}

    .branch-list {margin:0 0 -20px;}
    .branch-list .item {padding:0 0 20px; width:100%;}

    .marriage-rate .item {display:block;}
    .marriage-rate .img {margin-bottom:30px;}

    .service-detail .chkbar img {width:30px;}

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

    .simple-list .link-item {padding:24px 0;}
    .simple-list .link-item .num {max-width:80px; font-size:16px;}
    .simple-list .link-item .num .notice {width:48px; height:48px;}
    .simple-list .link-item .cnt .tit {font-size:18px;}
    .simple-list .link-item .cnt .info {margin-top:12px; font-size:13px;}
    .simple-list .link-item .arrow {max-width:80px; font-size:24px;}

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

	.card-list {gap:32px;}
	.card-list .link-item .info .tit {font-size:18px;}
	.card-list .link-item .info .txt {font-size:15px;}
	.card-list .link-item .info .date {font-size:13px;}

	.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) {
	
	/* board */	
	.gallery-list ul {margin:0 -10px;}
	.gallery-list ul li {width:33.33333333%; padding:0 10px;}

	.card-list {gap:32px 20px;}

	.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 {
		--header-height :60px;
        --contain-padding :15px;
	}

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

	/* header */	
	.mobile-navigation {width:220px;}
	.mobile-navigation .nav-menu>ul>li>a {font-size:15px;}
	.mobile-navigation .nav-menu .submenu>ul>li>a {font-size:14px;}

	.sitelogo a img {height:35px;}

	/* main */
    .main-visual, .main-visual .item {height:80vh;}
	.mv-inner.caption {padding:0 15px;}
	.main-visual .controls {bottom:30px;}

    .main-visual .slide-btn {width:20px; height:20px;}

    .sec2-wrap {display:block;}
    .sec2-wrap .item {width:100%; height:240px;}
    .sec2-bigtxt {font-size:32px; bottom:-30px;}

    .sec3-wrap {display:block;}
    .sec3-wrap .item {width:100%;}
    .sec3-wrap .item:nth-child(1) {border-radius:0;}
    .sec3-wrap .item:nth-child(2) {border-radius:0;}
    .sec3-wrap .ico {bottom:15px; right:15px;}
 
    .sec4-wrap .item {margin-bottom:10px;}
    .sec4-wrap .bg {height:180px;}

    .sec5-wrap .item {width:100%; margin-bottom:40px;}
    .sec5-wrap .item:hover {transform:translateY(-15px);}
    .sec5-wrap .bg {height:140px;}

    .sec6-wrap {max-width:100%; align-items:center; margin:0 auto; display:block;}
    .sec6-wrap .btn {margin:50px 30px 0;}

    .partner-list ul li img {height:60px;}

	/* footer */
    #footer {font-size:12px; padding:30px 0 90px;}
    #footer .contain {display:block;}

    .quick .top {height:64px; width:40px;}
    .quick .top img {height:8px;}
    .quick ul {flex-wrap:wrap;}
	.quick ul li {width:50%; flex:auto;}
	.quick ul li:nth-child(-n+4) {width:50%;}
	.quick ul li:nth-child(-n+4) a {border-bottom:0;}
	.quick ul li a {height:32px; font-size:11px;}

	.foot-logo img {height:32px;}
    .foot-sns {gap:10px; margin-top:0;}
	.foot-sns img {height:30px;}  
    .foot-info, .foot-right {font-size:12px;}
    .foot-copy a {display:block; line-height:1.3em;}
    .foot-copy .bar {display:none;}
    .foot-info {gap:5px 10px; margin:15px 0;}
    .foot-link {margin-top:20px; display:flex; gap:15px;}

	.foot-info dl:nth-child(2) {width:100%;}
	.foot-info .wide {flex-wrap:wrap; gap:5px 10px;}

	/* sub */
    .page-path {gap:10px; font-size:11px;}
    .page-path .home svg {width:100%; height:10px;}

    .page-path .dot {margin-top:-3px;}
    .page-path .dot svg {width:3px; height:3px;}

    .sub-visual .inner {margin-top:25px;}
    .sub-visual .txt1 {margin-top:15px;}
     
    .lnb ul li a {font-size:13px;}

	/* content */
    .history-top {border-radius:10px;}
    
    .history-item .flex {display:block;}
    .history-item .year {margin-bottom:20px;}
    .history-item .month {line-height:1.3em;}

    .history-item:nth-child(odd) .img {padding-right:0; text-align:center;}
    .history-item:nth-child(odd) .year {padding-right:0;}
    .history-item:nth-child(odd) .month {padding-right:20px;}
    .history-item:nth-child(even) .img {padding-left:0;}
    .history-item:nth-child(even) .content {text-align:left;}
    .history-item:nth-child(even) .year {padding-left:0;}
    .history-item:nth-child(even) .month {padding-left:0; padding-right:20px;}
    .history-item .desc {order:2;}
    .history-item .month:before,
    .history-item .month:after {display:none !important;}

    .greetings {display:block;} 
    .greetings .img {margin-bottom:50px; width:100%;}
    .greetings br {display:none;}
    .greetings .logo {top:0; width:50%;}

    .philosophy {display:block;}
    .philosophy.tit-desc .tit {margin-bottom:30px;}
    .philosophy-wrap {margin:0 0 -20px; display:block;}
    .philosophy-wrap .item {padding:0 0 20px; width:100%;}
    .philosophy-wrap br {display:none;}
    .philosophy-wide .bg {height:250px;}
    .philosophy-wide {padding-top:100px;}

    .fee-list .name {background-size:contain; width:120px;}
    .fee-list .item {height:80px;}

    .memberclass .img {margin-bottom:30px;}
    .memberclass .bg {display:none;}

    .service {display:block; margin:0 0 -20px;}
    .service .item {padding:0 0 20px; width:100%;}

    .matching-item {display:block;}
    .matching-item .img {margin-bottom:30px; width:100%;}
    .matching-item .tit:after {height:2px; right:0 !important; left:0 !important;} 

    .upperclass-top {display:block;}
    .upperclass-top .img {width:100%;}

    .upperclass-wrap .item {display:block;}
    .upperclass-wrap .col-img {width:100%; border-radius:0 !important;}
    .upperclass-wrap .col-txt {padding:20px 15px 0;}
    .upperclass-wrap .item:nth-child(even) .col-txt {margin-left:0 !important;}

    .page-bottom {padding:40px 25px;}
    .page-bottom .txt {font-size:15px;}

    .benefit {display:block; margin:0; text-align:center;}
    .benefit .item {padding:0; width:100%; margin-bottom:30px;}
    .benefit .item:last-child {margin-bottom:0;}

    .column-list .item {display:block;}
    .column-list .info {padding-left:0; margin-top:30px;}

    .privateparty .txt {margin-top:20px;}
    .privateparty .ico img {height:30px;}

    .participate {gap:5px;}

    .location dl dt {width:70px;}
    .location dl dt img {height:18px; margin:0;}
    .location dl dd {padding-left:15px;}

    .doc-btn a {min-width:130px; border-radius:8px;}

    .branch-list dl {display:block;}
    .branch-list dl dt img {height:15px; margin-right:4px;}

    .marriage-rate ul li {padding-left:19px;}
    .marriage-rate ul li:before {width:14px; height:14px; top:2px;}
        
    .service-detail .item {display:block; margin-bottom:60px;}
    .service-detail .item br {display:none;}
    .service-detail .item .img {margin-bottom:30px;}
    .service-detail .chkbar img {width:18px;}
    .eligibility-flex {margin:0; display:block;}
    .eligibility-flex .item {width:100%; padding:0; margin-bottom:20px;}
    .eligibility-flex .item:last-child {margin-bottom:0;}
    .eligibility-flex .desc br {display:none;}
    .eligibility-flex img {height:60px;}
    .eligibility-flex .line {height:2px;}

    .sec6-wrap .btn a:before {width:50px; height:50px; left:-25px;}

    .care-sec .list {grid-template-columns:repeat(1, 1fr);}
    .care-sec .icon svg {height:10px;}

	.gather-sec .list {display:flex; flex-direction:column;}
	.gather-sec .mark {right:30px; top:30px; font-size:70px; line-height:70px;}
	.gather-sec .line {width:43px;}
	.gather-sec .bar {flex:0 0 40px; width:40px; max-width:40px;}

    .counseling-wide:before {width: 65%; opacity: .9;}

    .upperclass-sec .cont-tit .img {width: 22px; height: 20px;}
    .upperclass-sec .list {display: flex; flex-direction: column;}
    .upperclass-sec .box {border-top-left-radius: 30px; border-bottom-right-radius: 30px;}

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

    .simple-list .link-item {padding:16px 0;}
    .simple-list .link-item .num {max-width:50px; font-size:14px;}
    .simple-list .link-item .num .notice {width:40px; height:40px; font-size:12px;}
    .simple-list .link-item .cnt .tit {font-size:15px;}
    .simple-list .link-item .cnt .info {gap:5px 16px; margin-top:8px; font-size:12px;}
    .simple-list .link-item .arrow {display:none;}

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

	.card-list {grid-template-columns:repeat(2, 1fr); gap:24px 16px; margin-bottom:32px;}
	.card-list .link-item {border-radius:10px;}
	.card-list .link-item .info {padding:12px;}
	.card-list .link-item .info .tit {font-size:15px;}
	.card-list .link-item .info .txt {margin-top:10px; font-size:13px;}
	.card-list .link-item .info .date {margin-top:10px; font-size:12px;}

	.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;}
	.paginate a.direction.prev {margin-right:14px;}
	.paginate a.direction.next {margin-left:14px;}

	.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:400px) {
	
} 
