/* layout.css — 헤더 / GNB / 빠른메뉴 / 푸터 */

/* ===================================
   사이트 헤더
=================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  position: fixed;
  background: #fff;
  box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.08);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: 85rem;
  width: 95%;
  margin: 0 auto;
  height: 5rem;
}

.site-header__logo {
  flex-shrink: 0;
  line-height: 1;
}

.site-header__logo a {
  display: inline-block;
  line-height: 1;
}

.site-header__logo img {
  height: 3.5rem;
  width: auto;
  vertical-align: middle;
  display: block;
}

/* ===================================
   GNB 네비게이션
=================================== */
.site-gnb {
  display: flex;
  justify-content: center;
  height: 5rem;
  overflow: visible;
}

.dep1-wrap {
  display: flex;
  align-items: center;
  height: 5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dep1-con {
  position: relative;
  height: 5rem;
  display: flex;
  align-items: center;
  border-bottom: 0.125rem solid transparent;
  transition: border-color 0.2s;
}

.dep1-con:hover {
  border-bottom-color: #b8935a;
}

.dep1-con:hover > .dep1 {
  color: #b8935a;
}

.dep1-con:hover > .dep2-wrap {
  display: block;
}

.dep1 {
  display: block;
  padding: 0 1.125rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  line-height: 5rem;
  transition: color 0.2s;
}

.site-header.scrolled .dep1 {
  color: #222;
}

/* dep2 드롭다운 */
.dep2-wrap {
  display: none;
  position: absolute;
  top: 5rem;
  left: 0;
  min-width: 10rem;
  z-index: 200;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 0.0625rem solid #e0e2e5;
  border-top: 0.1875rem solid #b8935a;
  box-shadow: 0 0.25rem 0.875rem rgba(0, 0, 0, 0.1);
}

.dep2-con {
  border-bottom: 0.0625rem solid #f5f5f5;
}

.dep2-con:last-child {
  border-bottom: 0;
}

.dep2 {
  display: block;
  padding: 0 1rem;
  line-height: 2.75rem;
  font-size: 0.875rem;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.dep2:hover {
  color: #b8935a;
  background: #fdf9f5;
}

/* dep3 */
.dep3-wrap {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0.75rem;
  border-top: 0.0625rem solid #f0f0f0;
}

.dep3-con {
  border-bottom: 0.0625rem solid #f5f5f5;
}

.dep3-con:last-child {
  border-bottom: 0;
}

.dep3 {
  display: block;
  padding: 0 0.875rem;
  line-height: 2.5rem;
  font-size: 1.25rem;
  color: #555;
  text-decoration: none;
}

.dep3:hover {
  color: #b8935a;
}

/* ===================================
   로그인/회원가입
=================================== */
.site-header__utils {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  list-style: none;
  margin: 0;
  padding: 0.5625rem 1.125rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.75);
  border-radius: 1.25rem;
  transition: border-color 0.3s ease;
}

.site-header__utils li {
  display: flex;
  align-items: center;
  line-height: 1;
}

.site-header__utils li + li::before {
  content: '';
  display: block;
  width: 0.0625rem;
  height: 0.75rem;
  background: rgba(255, 255, 255, 0.5);
  margin: 0 0.625rem;
  transition: background 0.3s ease;
}

.site-header__utils a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.site-header.scrolled .site-header__utils {
  border-color: #333;
}

.site-header.scrolled .site-header__utils li + li::before {
  background: #ccc;
}

.site-header.scrolled .site-header__utils a {
  color: #333;
}

.site-header__utils a:hover {
  color: #b8935a;
}

.site-header__utils .util-admin a {
  color: #b8935a;
  font-weight: bold;
}

/* ===================================
   우측 빠른메뉴
=================================== */
.quick-wrap {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 89;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quick-list {
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 6.1875rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url('/assets/img/common/quick_bg.png');
  /*background-size: 100% 100%;*/
  filter: drop-shadow(0 0.625rem 1.25rem rgba(0, 0, 0, 0.12));
}

.quick-list li:not(.quick-top) {
  width: 5.625rem;
  margin: 0.5rem 0 0.5rem 0;
  border-bottom: 0.0625rem solid #f0f0f0;
}

.quick-list li:nth-child(4) {
  border-bottom: 0;
}

.quick-list li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 5.625rem;
  height: 5.625rem;
  color: #333;
  text-decoration: none;
  transition: background 0.2s;
  box-sizing: border-box;
}

.quick-list li a:hover {
  /*background: #f9f9f9;*/
}

.quick-list li a img {
  width: 2.8125rem;
  height: 2.75rem;
  height: auto;
  margin-bottom: 0.375rem;
  display: block;
}

.quick-list li a span {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.03125rem;
}

.quick-list .quick-top {
  width: 4.6875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9375rem 0 1.125rem;
  margin-bottom: 0;
}

#top_btn {
  display: block;
  right: 2.5rem !important;
  bottom: 4.125rem !important;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
  line-height: 0;
}

#top_btn:hover {
  background: none;
  border-color: transparent;
}

#top_btn img {
  width: 5.625rem;
  height: auto;
  display: block;
}

#top_btn .top-icon,
#top_btn .top-text {
  display: none;
}

#top_btn span {
  font-size: 0.6875rem;
  font-weight: 600;
}

/* ===================================
   사이트 푸터
=================================== */
.site-footer {
  background: #272727;
  position: relative;
  z-index: 10;
}

.site-footer__inner {
  max-width: 75rem;
  width: 95%;
  margin: 0 auto;
}

.site-footer__top {
  border-bottom: 0.0625rem solid #383838;
  padding: 3.125rem 0;
}

.site-footer__top .site-footer__inner {
  display: flex;
  gap: 3.125rem;
  align-items: flex-start;
}

.site-footer__map {
  width: 40rem;
  flex-shrink: 0;
}

.kakao-map {
  width: 100%;
  height: 25.4375rem;
  display: block;
  border-radius: 0.25rem;
}

.site-footer__info {
  flex: 1;
  color: #aaa;
}

.site-footer__logo {
  margin-bottom: 3.125rem;
}

.site-footer__logo img {
  height: 3.875rem;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.site-footer__tel {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  word-break: keep-all;
}

.site-footer__tel em {
  flex-shrink: 0;
  font-style: normal;
  font-size: 1.25rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0;
  padding-right: 2.5rem;
}

.site-footer__tel .tel-num {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.25rem; /* 0.8125rem / 1rem */
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.0625rem;
}

.site-footer__tel .tel-icon {
  height: 1.375rem;
  width: auto;
  display: block;
}

.site-footer__hours {
  border-collapse: collapse;
  margin-bottom: 1.375rem;
}

.site-footer__hours th {
  color: #fff;
  padding: 0.25rem 3.75rem 0.25rem 0;
  font-weight: 400;
  font-size: 1.25rem;
  white-space: nowrap;
  vertical-align: top;
}

.site-footer__hours td {
  display: flex;
  gap: 1.25rem;
  padding: 0.3125rem 0;
  font-size: 1.25rem;
  line-height: 1.6;
}

.site-footer__hours .hours-day {
  width: 5.625rem;
  flex-shrink: 0;
  color: #fff;
  text-align: justify;
  text-align-last: justify;
  padding-right: 1.25rem;
}

.site-footer__hours .hours-time {
  color: #fff;
  white-space: nowrap;
}

.site-footer__mapbtns {
  display: flex;
  gap: 0.5rem;
}

.site-footer__mapbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 14.625rem;
  height: 3.75rem;
  box-sizing: border-box;
  border: 0.0625rem solid #dddddd;
  border-radius: 3.125rem;
  background: transparent;
  text-decoration: none;
  transition: opacity 0.2s;
}

.site-footer__mapbtn:hover {
  opacity: 0.82;
}

.site-footer__mapbtn img {
  width: 2.125rem;
  height: 2.125rem;
  display: block;
  flex-shrink: 0;
}

.mapbtn-text {
  color: #ffffff;
  font-size: 1.125rem;
  font-style: normal;
  white-space: nowrap;
}

.mapbtn-name {
  font-style: normal;
}

.site-footer__mapbtn--naver .mapbtn-name {
  color: #03cf5d;
}

.site-footer__mapbtn--kakao .mapbtn-name {
  color: #017cff;
}

.site-footer__bottom .site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 1.5rem 0;
}

.site-footer__links {
  display: flex;
  list-style: none;
  margin: 0.625rem 0 1.875rem 0;
  padding: 0;
}

.site-footer__links li {
  border-right: 0.0625rem solid #444;
}

.site-footer__links li:last-child {
  border-right: 0;
}

.site-footer__links li a {
  display: block;
  padding: 0 0.875rem;
  color: #9e9e9e;
  font-size: 1rem;
  text-decoration: none;
}

.site-footer__links li a:hover {
  color: #e1e1e1;
}

.site-footer__links li a strong {
  color: #e1e1e1;
}

.site-footer__bottom .site-footer__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__bottom .site-footer__info li {
  font-size: 0.875rem;
  color: #9e9e9e;
  padding: 0 0.75rem;
  border-right: 0.0625rem solid #444;
  line-height: 1;
}

.site-footer__bottom .site-footer__info li:first-child {
  padding-left: 0.875rem;
}

.site-footer__bottom .site-footer__info li:last-child {
  border-right: 0;
}

.site-footer__copy {
  color: #9e9e9e;
  font-size: 0.875rem;
  margin: 0;
  padding-left: 0.875rem;
  word-break: keep-all;
}

/* ===================================
   모바일 햄버거 버튼
=================================== */
.mobile__btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  flex-shrink: 0;
}

.mobile__btn div {
  width: 1.5rem;
}

.mobile__btn div span {
  display: block;
  width: 100%;
  height: 0.125rem;
  background-color: #fff;
}

.site-header.scrolled .mobile__btn div span {
  background-color: #333;
}

.mobile__btn div span:nth-child(2) {
  margin: 0.375rem 0;
}

/* ===================================
   모바일 슬라이드 메뉴
=================================== */
.headerMobileNav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99998;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.4s;
}

.headerMobileNav.active {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s linear 0s;
}

.headerMobileNav .mobile--menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 999999;
  width: 100%;
  height: 100vh;
  padding: 3.75rem 1.5rem 5rem;
  background: #fff;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

.headerMobileNav.active .mobile--menu {
  transform: translateX(0);
}

.menu__hMenuClose {
  position: absolute;
  top: 1.125rem;
  right: 1.125rem;
  width: 1.875rem;
  height: 1.875rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu__hMenuClose span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 1.25rem;
  height: 0.125rem;
  background-color: #333;
}

.menu__hMenuClose span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu__hMenuClose span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile__logo {
  text-align: center;
  margin-bottom: 1.75rem;
}

.mobile__logo img {
  max-width: 10rem;
  height: auto;
}

/* 모바일 dep1 */
.mobile__nav .modep1-wrap {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile__nav .modep1-con {
  border-bottom: 0.0625rem solid #f0f0f0;
}

.mobile__nav .modep1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.875rem 0.25rem;
  background: none;
  border: none;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  text-align: left;
}

.mobile__nav .modep1 span {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1;
  color: #b8935a;
  transition: transform 0.25s;
}

.mobile__nav .modep1.open span {
  transform: rotate(45deg);
}

/* 모바일 dep2 */
.mobile__nav .modep2-wrap {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 0 0.5rem 0.75rem;
}

.mobile__nav .modep2-wrap.open {
  display: block;
}

.mobile__nav .mdep2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.25rem;
  font-size: 0.875rem;
  color: #444;
  text-decoration: none;
}

.mobile__nav .mdep2 span {
  font-size: 1rem;
  font-weight: 300;
  color: #aaa;
  transition: transform 0.25s;
}

.mobile__nav .mdep2.open span {
  transform: rotate(45deg);
}

/* 모바일 dep3 */
.mobile__nav .mdep3-wrap {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 0 0.375rem 0.75rem;
}

.mobile__nav .mdep3-wrap.open {
  display: block;
}

.mobile__nav .mdep3 {
  display: block;
  padding: 0.375rem 0.25rem;
  font-size: 1.25rem;
  color: #666;
  text-decoration: none;
}

/* ===================================
   모바일 반응형
=================================== */

@media screen and (max-width: 87.5rem) {
	.site-gnb {
		display: none;
	}

	.site-header__utils {
		display: none;
	}

	.mobile__btn {
		display: block;
    margin-left: auto;
	}

	/* 퀵메뉴 → 하단 전체너비 바
     z-index: 80 — header stacking context(100)보다 낮아야
     모바일 메뉴가 열릴 때 퀵바를 덮을 수 있음 */
  .quick-wrap {
		right: 0;
    left: 0;
    bottom: 0;
    top: auto;
    transform: none;
    width: 100%;
    flex-direction: row;
    z-index: 80;
	}

	.quick-list {
		flex-direction: row;
    width: 100%;
    border-radius: 0;
    border-top: 0.0625rem solid #eee;
    box-shadow: 0 -2px 0.625rem rgba(0, 0, 0, 0.08);
    filter: none;
	}

	.quick-list li:not(.quick-top) {
		flex: 1;
    width: auto;
    border-bottom: 0;
    border-right: 0.0625rem solid #f0f0f0;
	}

	.quick-list li:nth-child(4) {
		border-right: 0;
	}

	.quick-list li a {
		width: 100%;
    height: 3.75rem;
	}

	.quick-list .quick-top {
		flex: 1;
    width: auto;
    border-bottom: 0;
    margin-bottom: 0;
    padding: 0;
	}

	#top_btn {
		display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 3.75rem;
    border-radius: 0;
    background: linear-gradient(135deg, #d4b07b 0%, #b8935a 100%);
    top: auto;
    right: auto;
    position: static;
    line-height: normal;
    color: #fff;
	}

	#top_btn:hover {
		background: linear-gradient(135deg, #d4b07b 0%, #b8935a 100%);
	}

	#top_btn .top-img {
		display: none;
	}

	#top_btn .top-icon {
		display: block;
    
    margin-bottom: 0.1875rem;
    color: #fff;
	}

	#top_btn .top-text {
		display: block;
    
    font-weight: 600;
    color: #fff;
	}

	.quick-list {
		background-image: none;
    background: #fff;
    padding: 0;
    overflow: hidden;
	}

	.site-footer__top .site-footer__inner {
		flex-direction: column;
    gap: 1.875rem;
    align-items: center;
	}

	.site-footer__logo,
  .site-footer__tel,
  .site-footer__hours {
		margin-left: 0;
	}

	.site-footer__info {
		flex: none;
	}

	.site-footer__map {
		width: 100%;
	}

	.kakao-map {
		height: 16.25rem;
	}

	.site-footer__copy {
		margin-bottom: 5rem;
	}
}


/* ===================================
   모바일 (≤48rem)
=================================== */

@media screen and (max-width: 56.25rem) {
	.site-footer__mapbtns {
		justify-content: center;
	}
}

