@charset "UTF-8";
/*=================================================
    컬러
=================================================*/
/*=================================================
    폰트
=================================================*/
/*=================================================
    미디어쿼리
=================================================*/
* {
  font-family: "Pretendard Variable", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.mob-nav {
  display: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.7019607843);
  backdrop-filter: blur(20px);
  z-index: 99999;
}

.inner {
  width: 100%;
  padding: 0 0 0 40px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 38px;
  box-sizing: border-box;
}

.logo {
  flex: 0 0 auto;
  padding-left: 0;
}
.logo img {
  width: 149px;
}

.gnb {
  display: flex;
  justify-content: flex-start;
  min-width: 0;
}

.menu {
  display: flex;
  align-items: center;
  gap: 38px;
  min-width: 0;
  flex-wrap: nowrap;
}

.item > a {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #746b64;
  text-align: center;
  transition: 0.3s;
}

.item.active > a,
.item > a:hover {
  color: #ebca6d;
}

.mega-wrap {
  width: 100%;
  background: #f7f7f7;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

header.is-open .mega-wrap {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media screen and (min-width: 768px) {
  /* 상단 .inner + .mega-wrap 아래만 딤 (--mega-dim-top 은 header.html 스크립트에서 갱신) */
  body:has(header.is-open)::before {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: var(--mega-dim-top, 88px);
    z-index: 99990;
    background: rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: auto;
  }
}
.mega-inner {
  box-sizing: border-box;
  width: 100%;
  padding: 28px 40px 77px;
  align-items: stretch;
  gap: 0;
}

.mega-panel {
  display: none;
}

.mega-panel.is-active {
  display: flex;
}

.sub {
  flex-shrink: 0;
  width: 260px;
  margin-left: 187px;
  padding-right: 28px;
  border-right: 1px solid #ddd;
}
.sub li + li {
  margin-top: 12px;
}
.sub a {
  font-size: 16px;
  font-weight: 600;
  color: #2c2721;
  line-height: 1.4;
}
.sub .has-depth > a {
  position: relative;
}
.sub .has-depth.active > a {
  color: #ebca6d;
}
.sub .depth-data {
  display: none;
}

.depth-col {
  width: 180px;
  padding: 0 28px;
  border-right: 1px solid #ddd;
  box-sizing: border-box;
  display: none;
}
.depth-col .depth-title {
  margin-bottom: 8px;
  font-size: 13px;
  color: #aaa;
}
.depth-col .depth-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.depth-col .depth-list a {
  font-size: 15px;
  color: #746b64;
}

.mega-inner.is-depth-open .depth-col {
  display: block;
}

.links {
  flex-shrink: 0;
  width: 180px;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}

.links-title {
  margin-bottom: 8px;
  font-size: 13px;
  color: #aaa;
}

.links a {
  font-size: 15px;
  color: #746b64;
}

.visual {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 16px;
  padding-left: 40px;
  padding-right: 229px;
  box-sizing: border-box;
}

.card {
  width: 180px;
  height: 220px;
  border-radius: 18px;
  background: #e9e9e9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card.small {
  width: 112px;
  height: 170px;
}

.card.large {
  width: 300px;
  height: 170px;
}

.util {
  flex: 0 0 auto;
  margin-left: 0;
  display: flex;
  position: relative;
  z-index: 2;
}

.lang-wrap {
  position: relative;
  flex: 0 0 auto;
}

.ai-btn,
.lang-btn {
  width: 81px;
  height: 81px;
  background-color: #ebca6d;
  border: 0.5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-sizing: border-box;
  color: #fff;
}

.ai-btn {
  font-family: "Philosopher", "Pretendard Variable", sans-serif;
  font-size: 25px;
  font-weight: 700;
  color: #fff;
}

.lang-btn__icon {
  width: 26px;
  height: 26px;
  display: block;
  pointer-events: none;
  flex-shrink: 0;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 81px;
  box-sizing: border-box;
  margin: 0;
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  background: rgba(20, 20, 20, 0.68);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.lang-wrap.is-lang-open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  line-height: 0;
}

.lang-flag img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.lang-flag__code {
  display: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #746b64;
  font-family: "Pretendard Variable", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
  line-height: 1;
}

.lang-flag:hover img,
.lang-flag:focus-visible img {
  box-shadow: 0 0 0 2px rgba(235, 202, 109, 0.6);
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  box-sizing: border-box;
  color: #452716;
}

.menu-ic {
  position: relative;
  display: block;
  width: 25px;
  height: 18px;
  flex-shrink: 0;
  pointer-events: none;
}

.menu-ic::before,
.menu-ic::after {
  content: "";
  position: absolute;
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-sizing: border-box;
  transition: transform 0.28s ease, top 0.28s ease, bottom 0.28s ease, width 0.28s ease, left 0.28s ease, right 0.28s ease, opacity 0.2s ease;
}

.menu-ic::before {
  top: 0;
  left: 0;
  width: 100%;
  transform-origin: center;
}

.menu-ic-mid {
  position: absolute;
  top: 8px;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  margin: 0;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: currentColor;
  line-height: 0;
  font-size: 0;
  transform-origin: center;
  transition: opacity 0.2s ease;
  pointer-events: none;
  box-sizing: border-box;
}

.menu-ic::after {
  bottom: 0;
  left: 0;
  width: 65%;
  transform-origin: center;
}

.menu-btn[aria-expanded=true] .menu-ic::before {
  top: 50%;
  bottom: auto;
  margin-top: -1px;
  transform: rotate(45deg);
}

.menu-btn[aria-expanded=true] .menu-ic-mid {
  opacity: 0;
}

.menu-btn[aria-expanded=true] .menu-ic::after {
  bottom: auto;
  top: 50%;
  right: auto;
  left: 0;
  width: 100%;
  margin-top: -1px;
  transform: rotate(-45deg);
}

header.is-lang-open .menu-btn .menu-ic::before {
  top: 50%;
  bottom: auto;
  margin-top: -1px;
  transform: rotate(45deg);
}

header.is-lang-open .menu-btn .menu-ic-mid {
  opacity: 0;
}

header.is-lang-open .menu-btn .menu-ic::after {
  bottom: auto;
  top: 50%;
  right: auto;
  left: 0;
  width: 100%;
  margin-top: -1px;
  transform: rotate(-45deg);
}

@media screen and (max-width: 1440px) {
  .inner {
    padding-left: 0px;
    column-gap: 0px;
  }
  .menu {
    gap: 18px;
  }
  .mega-inner {
    padding-left: 0px;
    padding-right: 0px;
  }
  .sub {
    margin-left: 149px;
  }
  .visual {
    padding-left: 0px;
  }
}
@media screen and (max-width: 767.98px) {
  header {
    background-color: #fff;
    backdrop-filter: none;
  }
  .inner {
    grid-template-columns: 1fr auto 1fr;
    padding: 0 15px;
    column-gap: 0;
    align-items: center;
    min-height: 50px;
  }
  .logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    margin: 0;
  }
  .logo img {
    width: min(149px, 42vw);
    max-width: 149px;
  }
  .gnb {
    display: none;
  }
  .mega-wrap {
    display: none;
  }
  .util {
    display: contents;
  }
  .ai-btn {
    display: none !important;
  }
  .lang-wrap {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
  }
  .lang-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: transparent;
    border: none;
    color: #452716;
  }
  .lang-dropdown {
    position: fixed;
    left: 0;
    right: 0;
    top: 50px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px 20px 28px;
    z-index: 99998;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px 10px;
    align-items: center;
    justify-items: start;
    background: #f9f6f2;
    backdrop-filter: none;
    border-radius: 0;
    transform: translateY(-8px);
  }
  .lang-wrap.is-lang-open .lang-dropdown {
    transform: translateY(0);
  }
  .lang-flag {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .lang-flag img {
    width: 33px;
    height: 33px;
  }
  .lang-flag__code {
    display: block;
  }
  .lang-flag:hover img,
  .lang-flag:focus-visible img {
    box-shadow: none;
  }
  .menu-btn {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    display: flex;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  body.mob-lang-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 99990;
    background: rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: auto;
  }
  body.mob-nav-open {
    overflow: hidden;
  }
  header.is-mob-nav-open .lang-dropdown {
    z-index: 100010;
  }
  /* [hidden]과 충돌 방지: 닫으면 레이어 제거 → 상단 햄버거 바(header .inner) 다시 보임 */
  .mob-nav[hidden] {
    display: none !important;
  }
  .mob-nav:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 100000;
    box-sizing: border-box;
  }
  .mob-nav-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100dvh;
    background: #fff;
    box-sizing: border-box;
  }
  .mob-nav-head {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    justify-items: center;
    min-height: 50px;
    padding: 0 8px;
    box-sizing: border-box;
    background: #452716;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .mob-nav-lang {
    justify-self: start;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ebca6d;
    cursor: pointer;
    box-sizing: border-box;
  }
  .mob-nav-lang-ic {
    display: block;
    flex-shrink: 0;
  }
  .mob-nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
  }
  .mob-nav-logo img {
    display: block;
    width: min(149px, 46vw);
    max-width: 149px;
    height: auto;
    filter: brightness(0) saturate(100%) invert(86%) sepia(19%) saturate(812%) hue-rotate(359deg) brightness(103%) contrast(89%);
  }
  .mob-nav-close {
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: #ebca6d;
    box-sizing: border-box;
  }
  .mob-nav-close-ic {
    position: relative;
    display: block;
    width: 22px;
    height: 22px;
    pointer-events: none;
  }
  .mob-nav-close-ic::before,
  .mob-nav-close-ic::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 2px;
    margin-top: -1px;
    margin-left: -11px;
    border-radius: 999px;
    background: currentColor;
  }
  .mob-nav-close-ic::before {
    transform: rotate(45deg);
  }
  .mob-nav-close-ic::after {
    transform: rotate(-45deg);
  }
  .mob-nav-body {
    flex: 1 1 auto;
    display: flex;
    min-height: 0;
    overflow: hidden;
  }
  .mob-nav-side {
    flex: 0 0 38%;
    max-width: 168px;
    min-width: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #f6f6f6;
    box-sizing: border-box;
  }
  .mob-nav-tabs {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .mob-nav-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 10px 12px;
    box-sizing: border-box;
    border: 0;
    background: transparent;
    font-family: "Pretendard Variable", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #2c2721;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.25;
  }
  .mob-nav-tab.is-active {
    background: #fff;
    color: #111;
  }
  .mob-nav-main {
    flex: 1 1 auto;
    min-width: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
  }
  .mob-nav-panel {
    padding: 0;
    box-sizing: border-box;
  }
  .mob-nav-ph {
    margin: 0;
    padding: 24px 18px;
    font-size: 14px;
    color: #746b64;
    line-height: 1.5;
  }
  .mob-cat {
    padding: 0;
  }
  .mob-cat-item {
    position: relative;
    border-bottom: 0;
  }
  .mob-cat-item::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 1px;
    background: #e8e4df;
  }
  .mob-cat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    min-height: 52px;
    padding: 14px 18px;
    border: 0;
    background: #fff;
    font-family: "Pretendard Variable", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #5e5752;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
  }
  .mob-cat-item.is-open .mob-cat-head {
    color: #2c2721;
  }
  .mob-cat-title {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
  }
  .mob-cat-item.is-open .mob-cat-title::before {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ebca6d;
  }
  .mob-cat-chev {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin-top: 2px;
    border-right: 2px solid #9b9188;
    border-bottom: 2px solid #9b9188;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
  }
  .mob-cat-item.is-open .mob-cat-chev {
    transform: rotate(-135deg);
    margin-top: 6px;
  }
  .mob-cat-body {
    padding: 0;
    background: #fff;
  }
  .mob-cat-body .sub {
    width: auto !important;
    margin: 0 !important;
    padding: 4px 18px 20px !important;
    border: 0 !important;
    list-style: none;
  }
  .mob-cat-body .sub li + li {
    margin-top: 10px;
  }
  .mob-cat-body .sub > li > a {
    font-size: 14px;
    font-weight: 500;
    color: #746b64;
    line-height: 1.45;
  }
  .mob-cat-body .sub .has-depth > a {
    font-weight: 700;
    color: #2c2721;
  }
  .mob-cat-body .depth-data {
    display: block !important;
    margin: 8px 0 0;
    padding: 0 0 0 10px;
    list-style: none;
  }
  .mob-cat-body .depth-data li {
    margin-top: 8px;
  }
  .mob-cat-body .depth-data a {
    position: relative;
    padding-left: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #746b64;
  }
  .mob-cat-body .depth-data a::before {
    content: "-";
    position: absolute;
    left: 0;
    color: #aaa;
  }
  .mob-cat-empty {
    margin: 0;
    padding: 16px 18px 24px;
    font-size: 14px;
    color: #9b9188;
  }
}