.k-header { position: sticky; top: 0; z-index: var(--k-z-header); background: var(--k-c-white);
  margin-bottom: calc(var(--k-header-h) * -1); }
.k-header__inner { display: flex; align-items: center; width: 100%; max-width: var(--k-max); height: var(--k-header-h);
  margin: 0 auto; padding: 0 var(--k-gutter); }
.k-header__logo { display: inline-block; flex-shrink: 0; line-height: 1; }
.k-header__logo img { width: auto; max-width: none; height: 24px; vertical-align: middle; }

.k-gnb { position: relative; margin-left: auto; }
.k-gnb__toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 5px; }
.k-gnb__icon { display: block; width: 23px; height: 23px; overflow: visible; }
.k-gnb__line { stroke: var(--k-c-black); stroke-width: 2; stroke-linecap: round; transform-origin: center;
  transition: transform var(--k-spring), opacity var(--k-spring); }
.k-gnb.is-open .k-gnb__line--top { transform: translate(-5.5px, 5.5px) rotate(45deg); }
.k-gnb.is-open .k-gnb__line--middle { opacity: 0; }
.k-gnb.is-open .k-gnb__line--bottom { transform: translate(-5.5px, -5.5px) rotate(-45deg); }

.k-gnb__list { display: none; position: fixed; top: var(--k-header-h); left: 0; right: 0;
  height: calc(100vh - var(--k-header-h) - var(--k-mobile-lang-h));
  height: calc(100dvh - var(--k-header-h) - var(--k-mobile-lang-h));
  overflow: auto; overscroll-behavior: contain; background: var(--k-c-white); }
.k-gnb.is-open .k-gnb__list { display: block; padding-top: 24px; }

.k-gnb__trigger { display: inline-flex; align-items: center; justify-content: space-between; width: 100%; height: 64px;
  padding: 16px; font-size: var(--k-fs-nav); font-weight: 400; line-height: 32px; letter-spacing: normal;
  color: var(--k-c-black); text-align: left; white-space: nowrap; cursor: default; }
.k-gnb__trigger:lang(en) { font-weight: var(--k-fw-d-regular-en); }
.k-gnb__trigger::after { content: ""; flex: none; width: 30px; height: 30px;
  background: url(../assets/img/ui/chevron-down.svg) no-repeat 50% 50% / 30px 30px;
  transition: transform var(--k-spring); }
.k-gnb__item.is-open > .k-gnb__trigger::after { transform: rotate(180deg); }
.k-gnb__trigger:focus-visible { outline-offset: -2px; }

.k-mega { display: grid; grid-template-rows: 0fr; margin-left: 16px; visibility: hidden;
  transition: grid-template-rows var(--k-spring), visibility var(--k-dur-spring) var(--k-ease-spring); }
.k-gnb__item.is-open > .k-mega { grid-template-rows: 1fr; visibility: visible; }
.k-mega__wrap { min-height: 0; overflow: hidden; }
.k-mega :focus-visible { outline-offset: -2px; }

.k-mega__feature { display: block; margin-right: 16px; padding: 12px 16px; border-radius: var(--k-r-card);
  background: var(--k-c-white); color: var(--k-c-black); line-height: 20px;
  transition: background-color var(--k-spring); }
.k-mega__feature:hover, .k-mega__feature:focus-visible { background: var(--k-c-hover); }
.k-mega__title { display: block; font-size: 16px; line-height: 20px; }
.k-mega__title:lang(en) { font-weight: var(--k-fw-d-regular-en); }
.k-mega__text, .k-mega__media, .k-mega__group-name { display: none; }

.k-mega__group ul { padding: 0 16px 0 0; }
.k-mega__link { display: block; padding: 12px 16px; border-radius: var(--k-r-card); background: var(--k-c-white);
  color: var(--k-c-black); font-size: 16px; line-height: 20px; white-space: nowrap;
  transition: background-color var(--k-spring); }
.k-mega__link:lang(en) { font-weight: var(--k-fw-d-regular-en); }
.k-mega__link:hover, .k-mega__link:focus-visible { background: var(--k-c-hover); }
.k-mega__link[target="_blank"]::after { content: " \2197\FE0E"; font-weight: 300; }

.k-header__cta { display: none; flex-shrink: 0; }

.k-lang { position: relative; flex-shrink: 0; }
.k-lang__toggle { display: none; }
.k-lang__list { display: none; position: fixed; left: 0; right: 0; bottom: 0; height: var(--k-mobile-lang-h);
  padding: 30px 16px; background: var(--k-c-white); font-size: 16px; }
.k-header.is-drawer-open .k-lang__list { display: flex; }
.k-lang__list li { position: relative; }
.k-lang__list li + li { margin-left: 21px; }
.k-lang__list li + li::before { content: ""; position: absolute; top: 17px; left: -11px; width: 1px; height: 20px;
  background: var(--k-c-text-tertiary); }
.k-lang__link { display: block; height: 53px; padding: 16px; line-height: 21px; color: var(--k-c-text-secondary); }
.k-lang__link.is-current { font-weight: 600; color: var(--k-c-text-primary); }

@media (min-width: 860px) {
  .k-gnb { margin: 0 auto; }
  .k-gnb__toggle { display: none; }
  .k-gnb__list, .k-gnb.is-open .k-gnb__list { display: flex; position: static; height: auto; padding-top: 0;
    overflow: visible; background: none; }
  .k-gnb__trigger { width: auto; padding: 16px 10px; text-align: center; }
  .k-gnb__trigger::after { display: none; }

  .k-mega { position: absolute; top: var(--k-header-h); left: 50%; display: block; width: var(--k-mega-c-w);
    margin-left: 0; padding: 24px 64px; transform: translateX(-50%); background: var(--k-c-white);
    border-radius: 0 0 24px 24px; box-shadow: var(--k-sh-mega); visibility: hidden; opacity: 0;
    transition: visibility var(--k-dur-mega-out) var(--k-ease-spring), opacity var(--k-dur-mega-out) var(--k-ease-spring); }
  .k-mega--a { width: var(--k-mega-a-w); }
  .k-mega--b { width: var(--k-mega-b-w); }
  .k-mega--c { width: var(--k-mega-c-w); }
  .k-gnb__item.is-open > .k-mega { visibility: visible; opacity: 1; transition-duration: var(--k-dur-spring); }
  .k-mega__wrap { display: flex; overflow: visible; }

  .k-mega__feature { position: relative; flex: 0 0 320px; width: 320px; margin-right: 0; padding: 0; }
  .k-mega__feature:hover, .k-mega__feature:focus-visible { background: var(--k-c-white); }

  .k-mega__feature:focus-visible { outline: none; }
  .k-mega__feature:focus-visible::after { content: ""; position: absolute; inset: -6px -6px 10px; pointer-events: none;
    border: var(--k-focus-w) solid var(--k-focus-c);
    border-radius: var(--k-r-card) var(--k-r-card) calc(var(--k-r-card) + 6px) calc(var(--k-r-card) + 6px); }
  .k-mega__feature + .k-mega__feature { margin-left: 24px; }
  .k-mega__title { margin-bottom: 8px; }
  .k-mega__title::after { content: "\2192"; content: "\2192" / ""; margin-left: 8px; font-weight: 300;
    transition: margin-left var(--k-spring); }
  .k-mega__feature:hover .k-mega__title::after,
  .k-mega__feature:focus-visible .k-mega__title::after { margin-left: 20px; }
  .k-mega__text { display: block; font-size: 14px; font-weight: 300; line-height: 20px; color: var(--k-c-text-tertiary);
    text-wrap: pretty; }
  .k-mega__media { display: block; width: 320px; height: 200px; margin: 16px 0; overflow: hidden;
    border-radius: var(--k-r-card); }
  .k-mega__media--tone-6 { background-color: #9a5238; }
  .k-mega__media--tone-7 { background-color: #3e3124; }
  .k-mega__media--tone-8 { background-color: #17343d; }
  .k-mega__media > img { display: block; width: 100%; max-width: none; height: 100%; object-fit: cover;
    transition: transform var(--k-spring); }
  .k-mega__feature:hover .k-mega__media > img { transform: scale(1.1); }

  .k-mega__art { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
    background: var(--k-prow-bg-a); transition: transform var(--k-spring); }
  .k-mega__art--connect { background: var(--k-prow-bg-b); }
  .k-mega__art img { display: block; width: 82%; max-width: none; height: auto; border-radius: 6px; }
  .k-mega__feature:hover .k-mega__art { transform: scale(1.1); }

  .k-mega__group { flex: 0 0 150px; margin-left: 60px; }
  .k-mega--a .k-mega__group { flex-basis: 140px; }
  .k-mega--a .k-mega__group--second { flex-basis: 148px; margin-left: 30px; }
  .k-mega__group-name { display: block; margin: 0 0 8px; padding: 0 16px; font-size: 16px; line-height: 1.6;
    color: var(--k-c-text-tertiary); white-space: nowrap; }
  .k-mega__group-name:lang(en) { font-weight: var(--k-fw-d-regular-en); }
  .k-mega__group ul { padding-right: 0; }

  .k-header__cta { display: block; }

  .k-lang__toggle { position: relative; display: inline-block; margin-left: 17px; padding: 16px 8px 16px 16px;
    font-size: 16px; line-height: normal; letter-spacing: normal; color: var(--k-c-black); cursor: pointer; }
  .k-lang__toggle::before { content: ""; position: absolute; top: 50%; left: -1px; width: 1px; height: 20px;
    background: var(--k-c-text-tertiary); transform: translateY(-50%); }
  .k-lang__list, .k-header.is-drawer-open .k-lang__list { display: none; }
  .k-lang.is-open .k-lang__list { display: flex; flex-direction: column; align-items: flex-start; position: absolute;
    top: 57px; right: 0; left: auto; bottom: auto; width: 116px; height: auto; padding: 8px 0; overflow: hidden;
    background: var(--k-c-white); border: 1px solid var(--k-c-line); border-radius: var(--k-r-popover);
    box-shadow: var(--k-sh-popover); }
  .k-lang__list li { width: 100%; }
  .k-lang__list li + li { margin-left: 0; }
  .k-lang__list li + li::before { display: none; }
  .k-lang__link { height: auto; padding: 5px 0; line-height: 20px; text-align: center; color: var(--k-c-black); }
  .k-lang__link:hover { background: var(--k-c-hover); }
  .k-lang__link.is-current { display: none; }
  .k-lang__list :focus-visible { outline-offset: -2px; }
}

@media (min-width: 1000px) {
  .k-gnb__trigger { padding: 16px; }
  .k-header__cta { margin-left: 20px; padding: 5px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .k-gnb__line, .k-gnb__trigger::after, .k-mega, .k-mega__title::after, .k-mega__media > img, .k-mega__art,
  .k-mega__link, .k-mega__feature { transition-duration: 0.01ms !important; }
  .k-mega__feature:hover .k-mega__media > img, .k-mega__feature:hover .k-mega__art { transform: none; }
}
