@charset "utf-8";

/*
 * responsive.css — max-width 브레이크포인트별 반응형
 * header  : 헤더·GNB·모바일 메뉴
 * main    : 메인(index) 섹션
 * footer  : 푸터
 * layout  : 공통 레이아웃·유틸·page-title
 * content : 서브 페이지 본문(doc.css)
 * board   : 게시판·레거시 BBS·쇼핑몰
 */

/* ========== max-width: 1439px ========== */
@media (max-width: 1439px) {
	:root {
		--logo-height-header : clamp(35px, calc(63 / var(--inner) * 100vw), 63px);
	}
	/* header */
	#gnb .submenu {min-width: 140px;}
	/* footer */
	.footer__logo img {height:var(--logo-height-footer); max-height: var(--logo-height);}
	/* --- content --- */
	.org-chart__lines {display:none;}
	.org-chart__branch--double {flex:1 1 calc(50% - 10px);max-width:calc(50% - 10px);}
	.org-chart__branch--single {flex:1 1 calc(33.333% - 14px);min-width:160px;}

}

/* ========== max-width: 1280px ========== */
@media (max-width: 1280px) {
	/* --- main --- */
	.about--bleed .about__grid {grid-template-columns:1fr;}
	.about__image {min-height:360px;}
	
	.value-cards {flex-direction:column;}
	.value-card {padding:0;}
	.value-card:not(:last-child) {border-right:none;border-bottom:1px solid rgba(255,255,255,.2); padding: var(--space-30) 0;}
	
	/* --- footer --- */
	.footer__main {padding-right:0;}
	.footer__info-line {flex-direction:column;}
	.footer-site .scroll-top {top:auto;bottom:48px;right:max(var(--container-gutter), calc((100% - min(100%, var(--container-outer))) / 2 + var(--container-gutter)));}
}

/* ========== max-width: 1024px ========== */
@media (max-width: 1024px) {
	.only-large-tablet {display: block;}
	/* --- header --- */
	#gnb {display:none;}
	.header-actions {display:none;}
	.btn-m-menu, .mobile-navigation {display:block;}
	/* --- main --- */
	/* --- content --- */
	.biz-intro-grid, .biz-sub-list ul {grid-template-columns:40% 1fr;}
	.biz-intro-actions .btn {width:100%;}
	.vision-value {min-height: auto;}
	.vision-value__icon {width: clamp(50px, calc(72 / var(--inner) * 100vw), 72px); height: auto; aspect-ratio: 1/1;}
	
	
	.location__map-wrap {height:360px;}
	.location__address {line-height:1.6em;}
	
	/* --- board --- */
	.board-table th, .board-table td {font-size: var(--font-size-16);}
	
	
	
	.board-table .col-author, .board-table .col-views {display:none;}
	.board-table th, .board-table td {height:60px;}
	.input {height:40px;}
	.board-search .search input.input {width:240px;}
	.board-list colgroup col {width:auto !important;}
	.news-list .thumb {width:200px;}
	.faq .tit a:after {top:14px;}
	.faq .q {flex:0 0 32px;width:32px;height:32px;line-height:2em;}
	.calendar-head .cal-btn {width:40px;height:40px;}
	.calendar table td {height:110px;}
	.calendar ul li:before {top:7px;}
	.btn-pack.medium {height:40px;line-height:2.533em;}
	.btn-pack.large {min-width:140px;height:50px;line-height:2.667em;}
	.product-list ul li {width:25%;}
	.product-image {width:350px;}
	.store-search .map-area {width:280px;}
	.store-search .map-img .local {line-height:1.692em;}
	.result-group .gall li {width:25%;}
	.goods-photo {width:45%;}
	.goods-info .btns .row {margin:0 -3px;}
	.goods-info .btns .col {padding:0 3px;}
	.goods-info .btns .btn {line-height:3.2em;}
	.goods-info .btns .btn img {height:48px;}
	.shop-guide .tit h4 {width:130px;}
	.shop-guide .qa dt {width:220px;}
}

/* ========== max-width: 900px ========== */
@media (max-width: 900px) {
	/* main */
	.value-cards {margin-top: 10px;}
	.products__grid {grid-template-columns:repeat(2, 1fr);}
	.resources__grid {grid-template-columns:1fr;}

	/* --- layout --- */
	.only-desktop {display:none;}
	.only-tablet {display:block;}
	/* content */
	.ceo-greeting__content br {display: none;}
	.vision-values {grid-template-columns:repeat(2, 1fr);}
	.history-timeline {padding-left:0;}
	.history-timeline__line {left:20px;transform:none;}
	.history-timeline__row--right .history-timeline__cluster, .history-timeline__row--left .history-timeline__cluster {margin-left:0;margin-right:0;justify-content:flex-start;flex-wrap:wrap;gap:var(--space-16) var(--space-24);}
	.history-timeline__row--left .history-timeline__events, .history-timeline__row--left .history-timeline__events li {align-items:flex-start;justify-content:flex-start;}
	.history-timeline__icon {order:-3;}
	.history-timeline__year {order: -2;}
	.history-timeline__month {order: -1;}
	.biz-intro-grid, .biz-sub-list ul {grid-template-columns:1fr;}
	/* --- board --- */
	.gallery-list ul li {width:33.33333333%;}
	.event-list ul li {width:50%;}
	.store-search .map-area {display:none;}
	.store-search .search-area h3 {text-align:center;}
}

/* ========== max-width: 768px ========== */
@media (max-width: 768px) {
	/* --- main --- */
	.hero__dots {bottom:28px;}
	.hero__dot {width:10px;height:10px;}
	.hero__dot.is-active {width:30px;height:10px;}
	.products__header {flex-direction:column;align-items:flex-start;}
	/* --- footer --- */
	.footer__main {flex-direction: column;}
	.footer-site .scroll-top {bottom: auto; top: var(--space-48); width:56px;height:56px;}
	.footer__copyright span {display: block;}
	/* --- content --- */
	.ceo-greeting-banner__inner {padding: var(--space-80) var(--space-40);}
	.vision-philosophy__body br {display: none;}
	.vision-values {grid-template-columns:1fr;}
	.vision-philosophy__visual {border-radius:24px;}
	.history-timeline__events li {flex-wrap:wrap;}
	.history-timeline__events {width: 100%; padding-left: calc(41px + var(--space-24));}
	.org-chart__ceo {width:160px;height:160px;}
	.org-chart__divisions {gap: 20px;}
	.org-chart__division {flex: 1;}
	.location__map-wrap {height:280px;}
	.location__contact-row {flex-direction:column;align-items:flex-start;}
	.location__contact-label {width:auto;}
	.location__address {line-height:1.556em;}
	/* --- board --- */
	.board-toolbar {justify-content: space-between;}
	.board-toolbar__select {order: -1;}
	.board-toolbar__search {margin-left:0;width:100%;}
	.board-toolbar__search input {flex:1;width:auto;}
	.board-gallery-grid {grid-template-columns:1fr;}
	.board-pagination__list {flex-wrap:wrap;justify-content:center;}
	.board-pagination__list li:nth-child(n+6) {display:none;}
	.gallery-list.gallery-list--performance ul,
	.board-gallery-grid {grid-template-columns:repeat(2, minmax(0, 1fr));}
	.gallery-list--performance ul li .tit {font-size: var(--font-size-16);}
	.qna-form__row {flex-direction:column;align-items:stretch;gap:0;padding-right:0;}
	.qna-form__label {justify-content: flex-start; width:100%;min-height:auto;border-right:0; border-bottom: 0; padding-top: 20px;}
	.qna-form__row--content .qna-form__label {min-height:40px;}
	.qna-form__control--file, .qna-form__control--captcha {flex-wrap:wrap;}
	.qna-form__agree {flex-wrap:wrap;justify-content:center;}
	.faq-item button {font-size: 16px;}
}

/* ========== max-width: 640px ========== */
@media (max-width: 640px) {
	/* --- layout --- */
	.only-desktop-tablet {display:none;}
	.only-tablet {display:none;}
	.only-mobile {display:block;}
	/* main */
	.core-value__grid {grid-template-columns:1fr;}
	.core-value__image {min-height: auto; aspect-ratio: 4/3;}
	/* content */
	.org-chart__branch--double {flex:1 1 100%;max-width:100%;}
	/* --- board --- */
	.input {height:38px;}
	select.input {padding-right:26px;background-position:right 8px center;background-size:12px auto;}
	.board-search {display:flex;flex-direction:column;}
	.board-search .total-page {order:3;float:none;}
	.board-search .cate {float:none;order:1;margin-left:0; margin-bottom: 10px;}
	.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-table {display:none;}
	.board-list-m {display:block;}
	.gallery-list ul li {width:50%;margin-bottom:27px;}
	.news-list .thumb {width:38%;}
	.news-list .tit {max-height:2.8em;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
	.news-list .txt {margin-top:3px;max-height:3em;-webkit-line-clamp:2;}
	.news-list .date {display:none;}
	.event-list ul li {width:100%;}
	.faq .tit a:after {display:none;}
	.faq .q {flex:0 0 26px;width:26px;height:26px;line-height:1.733em;}
	.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 td {height:60px;}
	.calendar ul li {padding-left:0;}
	.calendar ul li:before {display:none;}
	.board-white table {display:block;border-top:0;border-bottom:0;}
	.board-white table tbody {display:block;}
	.board-white table tr {display:block;}
	.board-white table th {display:block;border:0;text-align:left;padding:0;background:none;}
	.board-white table td {display:block;border:0;padding:0;}
	.board-white .editor {padding:0;}
	.board-white #user_name {max-width:100% !important;}
	.board-form table tbody {display:block;}
	.board-form table tr {display:block;}
	.board-form table th {display:block;border:0;text-align:left;padding:0;background:none;}
	.board-form table td {display:block;border:0;padding:0;}
	.form-agree .scroll-box {max-height:110px;overflow:auto;}
	.board-prev-next dt {width:70px;}
	.btn-pack.small {height:26px;line-height:2.182em;}
	.btn-pack.medium {height:38px;line-height:2.571em;}
	.btn-pack.large {min-width:120px;height:42px;line-height:2.667em;}
	.btn-pack.xlarge {min-width:120px;height:50px;line-height:3em;}
	.btn-pack.comment {width:80px;height:32px;}
	.paginate a, .paginate strong {margin:0 1px;width:30px;height:30px;line-height:2.143em;}
	.paginate a.direction {margin:0;}
	.comment-area {margin-top:37px;}
	.comment-write {position:relative;}
	.comment-write .byte {position:absolute;bottom:15px;left: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;}
	.comment-item.comment-reply {background-image:url("/images/bbs/icon_reply_x2.png");background-position:3px 18px;background-size:auto 13px;}
	.comment-ctr .bar {vertical-align:middle;}
	.comment-input textarea {height:48px;}
	.product-list ul li {width:50%;margin-bottom:27px;}
	.product-summary {display:block;}
	.product-image {width:100%;}
	.product-info {width:100%;}
	.store-search {padding:0;}
	.store-search .search-area h3 {background:#f4f4f4;}
	.store-search .search-area dl {display:block;}
	.store-search .search-area dl dt {width:auto;}
	.store-search .search-area dl dd {width:auto;}
	.store-search .search-area input.input {width:calc(100% - 74px);}
	.store-search .search-area select.input {width:calc(50% - 39px);}
	.store-search .search-area .btn-pack.medium {width:70px;}
	.result-group .gall li {width:50%;}
	.login-tab {border-bottom-width:2px;}
	.login-tab ul {padding:0 1px;}
	.login-tab ul li {border-width:2px;margin:0 -1px;}
	.login-tab ul li a {line-height:2.875em;}
	.login-content .group .input {height:48px;}
	.sns-login img {width:44px;}
	.agree-wrap .agree-tit .checkbox label:before {background-image:url("../images/member/checkbox_x2.png");background-size:11px auto;}
	.agree-wrap .agree-tit .checkbox input:checked + label:before {background-image:url("../images/member/checkbox_on_x2.png");}
	.agree-wrap .agree-box {max-height:130px;}
	.agree-wrap .agree-box .terms-wrap {line-height:1.4em;word-break:break-all;}
	.terms-wrap .policy-contact {display:block;}
	.terms-wrap .policy-contact dl {border-left:0;border-top:1px solid #e5e5e5;}
	.terms-wrap .policy-contact dl:first-child {border-top:0;}
	.join-form table tbody {display:block;}
	.join-form table tr {display:block;}
	.join-form table th {display:block;border:0;text-align:left;padding:0;background:none;}
	.join-form table td {display:block;border:0;padding:0;}
	.join-form .help-text {display:block;clear:both;margin-left:0;line-height:1.5em;}
	.join-form #user_id {float:left;width:calc(100% - 90px) !important;}
	.join-form #user_id + .btn-pack {width:90px;text-align:center;}
	.join-form #user_pw, .join-form #user_pw2, .join-form #user_name {width:100% !important;}
	.join-complete .icon {width:110px;height:110px;background-size:48px;}
	.find-tab {border-bottom-width:2px;}
	.find-tab ul {padding:0 1px;}
	.find-tab ul li {border-width:2px;margin:0 -1px;}
	.find-tab ul li a {line-height:2.875em;}
	.find-content .group .input {height:48px;}
	.member-leave .txt {margin-bottom:27px;}
	.member-leave .form .group .label-tt {width:80px;}
	.goods-cate-wrap .depth ul li:after {height:11px;}
	.goods-sort {position:relative;z-index:10;}
	.goods-sort .sort {flex:0 0 auto;width:auto;text-align:left;position:relative;}
	.goods-sort .sort .sort-name {display:flex;align-items:center;border:1px solid #ddd;border-radius:5px;font-weight:500;line-height:1.5em;}
	.goods-sort .sort .sort-name:after {content:"";display:inline-block;vertical-align:top;margin-top:-.2em;transform:rotate(45deg);width:6px;height:6px;border-right:1px solid #505050;border-bottom:1px solid #505050;}
	.goods-sort .sort ul {display:none;position:absolute;margin-top:2px;right:0;width:auto;background:#fff;border-radius:5px;border:1px solid #ddd;}
	.goods-sort .sort ul li {padding:0;}
	.goods-sort .sort ul li:after {display:none;}
	.goods-sort .sort ul li a {display:block;white-space:nowrap;}
	.goods-sort .sort.active ul {display:block;}
	.goods-list ul li {width:50%;}
	.goods-summary {display:block;}
	.goods-photo {width:100%;}
	.goods-info {width:100%;}
	.goods-info .table table tbody th {width:85px;}
	.goods-info .btns .btn {line-height:2.857em;}
	.goods-info .btns .btn img {height:40px;}
	.add-opt-select .select-input {height:40px;line-height:2.714em;}
	.add-opt-select .select-options {margin-top:0;bottom:39px;}
	.add-options {max-height:230px;overflow:auto;margin-top:0;}
	.cart-opt {position:fixed;bottom:0;left:0;width:100%;background:#fcfcfc;border-top:1px solid #d8d8d8;z-index:100;}
	.cart-opt .opt-toggle {position:absolute;top:-19px;left:0;width:100%;height:19px;overflow:hidden;text-indent:-9999em;background:url("../images/shop/btn_view_cart_dropdonw.png") 50% 50% no-repeat;background-size:auto 100%;}
	.cart-opt .inner {display:none;}
	.cart-opt .btns.mobile-btn {display:block;}
	.cart-opt .table th {display:none;}
	.cart-opt .table td {border:0 !important;padding:0 !important;}
	.cart-opt.active .opt-toggle {display:block;}
	.cart-opt.active .inner {display:block;}
	.cart-opt.active .btns.mobile-btn {display:none;}
	.relatied-goods {overflow:hidden;}
	.relatied-goods .goods-list {overflow:inherit;}
	.relatied-goods .goods-list ul li .tit {word-break:break-all;}
	.relatied-goods .slick-list {overflow:visible;}
	.goods-view-tab ul li {height:40px;}
	.shop-table ul li {flex-wrap:wrap;position:relative;}
	.shop-table .order-check {width:35px;order:1;}
	.shop-table .order-image {position:relative;width:45px;height:45px;overflow:hidden;order:2;}
	.shop-table .order-image img {position:absolute;top:50%;left:0;transform:translateY(-50%);-ms-transform:translateY(-50%);-webkit-transform:translateY(-50%);width:100%;height:auto !important;max-width:100%;min-height:100%;object-fit:cover;}
	.shop-table .order-title {flex:0 0 auto;width:calc(100% - 110px);order:3;}
	.shop-table .order-title .tit {margin-bottom:0;}
	.shop-table .order-title .opt {margin-top:3px;}
	.shop-table .order-delete {position:absolute;top:15px;right:5px;}
	.shop-table .order-price {order:4;width:auto;text-align:left;}
	.shop-table .order-quantity {order:5;width:auto;display:flex;}
	.shop-table .order-quantity .input {width:60px;height:26px;margin-bottom:0;}
	.shop-table .order-qnt {order:3;width:auto;text-align:left;}
	.shop-table .order-check + .order-image + .order-title + .order-quantity + .order-price {margin-left:95px;}
	.shop-table .order-check + .order-image + .order-title + .order-quantity {margin-left:95px;}
	.shop-table .order-btn {order:10;display:flex;align-items:center;text-align:left;width:calc(100% - 60px);}
	.shop-table .order-btn p {width:calc(25% - 4px) !important;}
	.shop-table .order-btn .btn-pack {width:calc(25% - 4px) !important;margin:0 2px !important;}
	.total-price h3 {display:none;}
	.total-price ul {width:100%;}
	.order-info-table colgroup col:nth-child(1) {width:100px !important;}
	.order-info-table tbody th {height:40px;line-height:1.5em;}
	.order-info-table tbody td {line-height:1.5em;}
	.order-info-table #orderName, .order-info-table #shipName, .order-info-table #bankType, .order-info-table #bankName, .order-info-table #bankDate {width:100% !important;}
	.order-info-table #orderPhone1, .order-info-table #orderPhone2, .order-info-table #orderPhone3, .order-info-table #orderMobile1, .order-info-table #orderMobile2, .order-info-table #orderMobile3, .order-info-table #shipPhone1, .order-info-table #shipPhone2, .order-info-table #shipPhone3, .order-info-table #shipMobile1, .order-info-table #shipMobile2, .order-info-table #shipMobile3 {width:calc(33.33333333% - 7px) !important;}
	.order-info {line-height:1.5em;}
	.order-complete .item {display:block;}
	.order-date .bar {display:block;width:100%;height:0;overflow:hidden;text-indent:-9999em;}
}
