#skip-nav a {
  position: fixed;
  left: -10000px;
  top: 0;
  background: var(--black-90);
  color: var(--white);
  padding: 5px 20px;
  border-radius: 5px;
  z-index: 10000;
}
#skip-nav a:focus {
  left: 0;
}


/* ############################### Header ############################### */
header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100px;
  z-index: 500;
  transition: 0.35s;
  padding: 0 20px;
}

header.search-active::before {
  content: '';
  position: fixed;
  left: 0;
  top: 100px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}
header.on,
[data-category="search"] header,
header.active,
.search-detail-header header {
  background: var(--white);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
header.on .header-inner,
[data-category="search"] header .header-inner,
header.active .header-inner,
.search-detail-header header .header-inner {
  color: var(--black-90);
}

/* 2024/10/24 수정 */
/* [data-category="search"] header .logo,
header.search-active .logo,
header.on .logo,
header.active .logo {
  ;
} */
/* [data-category="search"] header .logo img,
header.on .logo img,
header .logo img,
header.active .logo img,
.search-detail-header header .logo img,
header.search-active .logo img,
header.page-active .logo img {
  padding-top: 22px;
} */
[data-category="search"] header .logo img:first-of-type,
header.on .logo img:first-of-type,
header .logo img:last-of-type,
header.active .logo img:first-of-type,
.search-detail-header header .logo img:first-of-type,
header.search-active .logo img:first-of-type,
header.page-active .logo img:first-of-type {
  display: none;
}
[data-category="search"] header .logo img:last-of-type,
header.on .logo img:last-of-type,
header.active .logo img:last-of-type,
.search-detail-header header .logo img:last-of-type,
header.search-active .logo img:last-of-type,
header.page-active .logo img:last-of-type {
  display: block;
}
.header-inner {
  max-width: 1720px;
  display: flex;
  height: 100%;
  line-height: normal;
  color: var(--white);
  margin: auto;
}

.header-inner .logo {
  line-height: 115px;
}
.header-inner .logo img {
  display: block;
}

/* Side Menu */
header .side-menu {
  line-height: 120px;
  margin-left: auto;
}
header .search,
header .trigger {
  width: 40px;
  height: 40px;
}
header .search {
  background: url(/image/search.svg) no-repeat center center /cover;
  margin-right: 12px;
}
header .trigger {
  display: none;
  background: url(/image/btn-trigger.svg) no-repeat center center;
  background-size: 28px;
}
header .trigger.active {
  background: url(/image/menu-close.svg) no-repeat center center;
  background-size: 28px;
}
[data-category="search"] header .search,
header.on .search,
header.active .search,
header.active .trigger,
.search-detail-header header .search,
[data-category="search"] header .trigger,
header.on .trigger,
header.active .trigger,
.search-detail-header header .trigger {
  filter: invert(1);
}

/* Search Header */
header.search-active .depth1 {
  position: relative;
  z-index: 100;
}
header.search-active .menu-bg {
  z-index: 1;
}
header.search-active .family-site-items {
  z-index: 100;
}
header.search-active .header-inner,
header.page-active .header-inner {
  color: var(--black-90);
}
header.search-active .side-menu button,
header.page-active .side-menu button {
  filter: invert(54%) sepia(0%) saturate(0%) hue-rotate(164deg) brightness(88%) contrast(88%);
}
header.search-active .side-menu .search {
  background: url(/image/menu-close.svg) no-repeat center center /cover;
  margin-right: 0;
}
header.search-active {
  border-bottom: 1px solid var(--black-20);
  box-shadow: none;
  background: var(--white);
}
.search-header {
  margin: auto;
  width: calc(100% + 40px);
  height: 380px;
  border-radius: 0 0 30px 30px;
  background: var(--white);
  color: var(--black-90);
  position: relative;
  left: -20px;
  top: 1px;
  z-index: 100;
  display: none;
}
.search-header-box {
  width: 100%;
  max-width: 860px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.search-header-box input[type=search] {
  border: none;
  border-bottom: 2px solid var(--black-70);
  width: 100%;
  font-size: 2.2rem;
  color: var(--black-90);
  padding: 10px 5px;
  padding-right: 6%;
  background: transparent;
  font-weight: 500;
}
.search-header-box input[type=search]::placeholder {
  color: var(--black-40);
}
.search-header-box button {
  cursor: pointer;
}
.search-header-box .btn-search {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  filter: invert(19%) sepia(9%) saturate(0%) hue-rotate(203deg) brightness(86%) contrast(90%);
}

input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  background: url(/image/search-delete.svg) center center no-repeat;
  cursor: pointer;
  border-radius: 50%;
}

/* ############################### GNB Menu ############################### */
nav {
  margin: 0 auto;
}
nav a {
  word-break: keep-all;
}
nav .depth1 {
  display: flex;
  width: 100%;
}
nav .depth1 > li {
  flex: 1;
  min-width: 130px;
  position: relative;
  
}
nav .depth1 > li > a {
  width: 100%;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  position: relative;
  height: 100px;
  line-height: 100px;
}

/* 
nav .depth1 > li > a::before,
nav .depth1 > li.active a::before{
  content: '';
  width: 100%;
  height: 3px;
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--primary);
  display: none;
} 
 
header.on .depth1 > li > a.active::before,
header.on .depth1 > li > a:hover::before,
header.active .depth1 > li > a.active::before,
header.active .depth1 > li > a:hover::before {
  display: block;
} */

nav .depth1 > li:hover::before,
nav .depth1 > li.on::before{
  content: '';
  width: 100%;
  height: 3px;
  position: absolute;
  left: 0;
  top: 97px;
  background: var(--primary);
  display: block;
}

nav .depth2 {
  margin-top: 40px;
}
nav .depth2 > li {
  line-height: normal;
}
nav .depth2 > li > a {
  color: var(--black-90);
  width: 100%;
  text-align: center;
  padding: 12px 0;
}
nav .depth2 > li > a:hover {
  color: var(--primary);
  font-weight: 600;
}
.menu-bg {
  background: #fff;
  border-top: 1px solid var(--black-20);
  position: absolute;
  width: 100%;
  left: 0;
  top: 100%;
  height: 380px;
  z-index: -1;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 15px 10px rgba(0, 0, 0, 0.04);
}
nav .family-site-items {
  position: absolute;
  right: 0;
  margin-right: 5%;
  bottom: -280px;
  line-height: normal;
  gap: 0;
  flex-direction: column;
}
nav .family-site-items li:first-child {
  margin-bottom: 12px;
}
nav .family-site-item a {
  border: 1px solid var(--black-20);
  color: var(--black-70);
  line-height: 1.7em;
}
nav .family-site-item a b {
  font-weight: bold;
}
nav .depth2,
nav .family-site-items,
nav .menu-bg {
  display: none;
}
nav.active .depth2,
nav.active .family-site-items,
nav.active .menu-bg {
  display: block;
}








/* ############################### Footer ############################### */
footer {
  background: var(--151);
  color: var(--black-40);
}
.footer-inner {
  padding: 80px 0;
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-content > div {
  flex: 1;
}
.policy-terms a {
  margin-right: 10px;
}
.policy-terms a:hover {
  text-decoration: underline;
}
.company-info address {
  margin: 20px 0;
}
.company-info address p {
  margin-right: 15px;
  display: inline-block;
}
.company-info address span:first-child {
  margin-right: 25px;
}
.copyright span {
  color: var(--black-50);
  font-weight: 100;
}
.family-site-items {
  display: flex;
  justify-content: space-between;
  gap: 35px;
}
.family-site-item {
  max-width: 285px;
  min-width: 200px;
  width: 100%;
}
.family-site-item a {
  border-radius: 5px;
  padding: 22px 13px;
  position: relative;
  border: 1px solid var(--black-70);
  color: var(--black-40);
  width: inherit;
}
.family-site-item a::before {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  content: url(/image/icon-short-cut.svg);
}
.family-site-item:first-of-type a:hover {
  border: 1px solid var(--secondary);
  color: var(--secondary);
}
.family-site-item:last-of-type a:hover {
  border: 1px solid #2384F1;
  color: #2384F1;
}
.family-site-item:first-of-type a:hover::before {
  content: url(/image/icon-short-cut-green.svg);
}
.family-site-item:last-of-type a:hover::before {
  content: url(/image/icon-short-cut-blue.svg);
}
.family-site-item span {
  font-size: 0.875rem;
}
.family-site-item span b {
  display: block;
  font-weight: 300;
  font-size: 1.25rem;
}

/* Web ACC Mark */
.mark-wrap {
  margin-bottom: 13px;
  flex-grow: 1;
  width: 100%;
}
.mark-wrap img {
  width: 100%;
  max-width: 85px;
}








/* 모바일 & 태블릿 반응형 CSS */
@media (max-width: 1279px) {
  header {
    height: 60px;
    padding: 0;
  }
  header.search-active {
    position: fixed;
  }
  /* Side Menu */
  header .side-menu {
    display: flex;
    align-items: center;
    position: relative;
  }
  header .side-menu .search {
    position: absolute;
    right: 30px;
    z-index: 10;
  }
  header .search,
  header .trigger {
    width: 28px;
    height: 28px;
  }
  header .trigger {
    display: block;
    position: absolute;
    right: 0;
    z-index: 700;
  }
  header .menu-bg {
    display: none !important;
  }
  /* 2024/10/24 수정 */
  /* [data-category="search"] header .logo img,
  header.search-active .logo img,
  header.on .logo img,
  header.active .logo img,
  .search-detail-header header .logo img {
    padding-top: 22px;
  } */

  .header-inner {
    height: inherit;
    line-height: 85px;
  }
  .header-inner .logo {
    min-width: 110px;
    max-width: 170px;
    width: 100%;
    height: inherit;
    line-height: 60px;
  }
  .header-inner .logo img {
    width: 100%;
    padding-top: 0;
  }
  .side-menu button {
    width: 33px;
    height: 35px;
    padding: 0;
  }
  .side-menu img {
    width: 100%;
  }
  header.active .logo img:first-of-type {
    display: none;
  }
  header.active .logo img:last-of-type {
    display: block;
  }
  header .search {
    margin-right: 10px;
  }
  header .search.active + .trigger {
    display: none;
  }

  /* Search Header */
  .search-header {
    width: 100%;
    left: 0;
    height: 280px;
    position: relative;
    z-index: 200;
    overflow: hidden;
  }
  .search-header-box {
    width: 90%;
    transform: translate(-50%, -50%);
    padding-top: 0;
  }
  .search-header-box input[type=search] {
    font-size: 1.72rem;
    padding-right: 13%;
  }
  .search-header-box .btn-search-delete {
    right: -50px;
  }
  .search-header-box .btn-search {
    width: 3rem;
  }
  .search-header-box .btn-search img {
    width: 100%;
  }
  input[type=search]::-webkit-search-decoration,
  input[type=search]::-webkit-search-cancel-button,
  input[type=search]::-webkit-search-results-button,
  input[type=search]::-webkit-search-results-decoration {
    position: absolute;
    top: 26px;
    transform: translateY(-50%);
  }

  /* ############### GNB Menu ############### */
  nav {
    max-width: 100%;
    width: 100%;
    position: fixed;
    top: 60px;
    left: 0;
    padding: 40px 20px;
    background: var(--white);
    line-height: 1em;
    display: none;
  }
  nav a {
    color: var(--black-90);
  }

  nav.active {
    display: block;
  }
  
  nav .depth1 {
    flex-direction: column;
  }
  nav .depth1 > li {
    min-width: auto;
    border-bottom: 1px solid var(--black-20);
    padding: 24px 0;
  }
  nav .depth1 > li > a {
    font-size: 1.42rem;
    height: auto;
    line-height: 1em;
  }
  nav .depth1 > li > a,
  nav .depth2 > li > a {
    text-align: left;
  }

  nav .depth1 > li:hover::before,
  nav .depth1 > li.on::before {
    display: none;
  }

  /* header.on .depth1 > li > a.active::before,
  header.on .depth1 > li > a:hover::before,
  header.active .depth1 > li > a.active::before,
  header.active .depth1 > li > a:hover::before {
    display: none;
  } */

  nav .depth2 {
    margin-top: 15px;
  }
  
  nav .depth2 > li > a.active {
    color: var(--primary);
    font-weight: 600;
  }
  
  nav .depth1 li > a + .depth2 {
    display: none;
  }
  nav .depth1 li > a.active + .depth2 {
    display: block;
  }
  nav .family-site-items {
    position: static;
    margin-right: 0;
  }
  .depth1 > li > a em {
    background: url(/image/gnb-plus.png) no-repeat center center /cover;
    width: 20px;
    height: 20px;
    float: right;
    transform: translateY(3px);
  }
  .depth1 > li > a.active em {
    background: url(/image/gnb-minus.png) no-repeat center center /cover;
  }
  
  .family-site-item,
  .family-site-item a {
    max-width: 100%;
    min-width: 100%;
    width: 100%;
  }

  /* GNB 메뉴 펼침 시 스크롤 */
  .nav-inner {
    overflow-y: auto;
  }
  .nav-inner::-webkit-scrollbar {
    width: 4px;
    background: var(--black-20);
  }
  .nav-inner::-webkit-scrollbar-thumb {
    background-color: var(--black-40);
    border-radius: 300px;
    background-clip: padding-box;
  }
}

/* 모바일 반응형 */
@media (max-width: 767px) {
  .nav-inner.active {
    height: 82vh;
  }

  /* ############### Footer ############### */
  .footer-content {
    align-items: flex-start;
  }
  .company-info address p {
    font-size: 0.72rem;
  }
}
/* 태블릿 반응형 */
@media (min-width: 768px) and (max-width: 1279px) {
  nav .family-site-items {
    margin-top: 30px;
  }

  .sub-menu-inner a {
    padding: 0 15px;
  }


  /* ############### Footer ############### */
  .footer-content {
    flex-direction: column;
    align-content: flex-start;
    padding: 40px 0;
  }
  .company-info address {
    margin: 12px 0;
  }
  .company-info address p {
    font-size: 1rem;
  }
  .family-site-items {
    gap: 18px;
    margin-top: 30px;
    width: 100%;
    flex-direction: column;
  }
}