@charset "utf-8";
/* dasion - 상단바 스타일 (클래스명 ds- 체계) */

p {
  font-size: 18px;
  letter-spacing: -0.035em;
  line-height: 1.65;
  color: #666 !important;
}
h2 {
  letter-spacing: -0.035em !important;
}
@media screen and (max-width: 768px) {
  p {
    font-size: 16px !important;
  }
}

/* 메인 테마 색상 #78634f */
#ds-top-bar.ds-fixed {
  background-color: #fff;
  top: 0;
}
#ds-top-bar.ds-fixed #ds-mb-toggle span {
  background-color: #1a1a1a;
}
#ds-top-bar.ds-fixed #ds-sitemap-btn span {
  background-color: #1a1a1a;
}
#ds-top-bar.ds-fixed #ds-nav-main > ul > li > a {
  color: #1a1a1a;
  font-weight: 600;
}
#ds-top-bar.scrolled #ds-mb-toggle span {
  background-color: #fff;
}
.scrolled #ds-top-bar {
  border-bottom: 0;
  z-index: 4;
}

#ds-top-bar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background-color: #71675e;
}
#ds-top-bar.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #78634f;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
#ds-top-inner {
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.ds-brand {
  flex-shrink: 0;
}
.ds-brand a {
  display: flex;
  align-items: center;
  padding: 10px 0;
  text-decoration: none;
  position: relative;
  min-height: 45px;
  min-width: 180px;
}
.ds-brand a .ds-logo {
  max-height: 45px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s ease;
}
.ds-brand a .ds-logo-white {
  opacity: 1;
  position: relative;
}
.ds-brand a .ds-logo-color {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
#ds-top-bar.scrolled .ds-brand a .ds-logo-white {
  opacity: 0;
  position: absolute;
}
#ds-top-bar.scrolled .ds-brand a .ds-logo-color {
  opacity: 1;
  position: relative;
  transform: none;
}

.ds-top-actions {
  display: flex;
  align-items: center;
}

#ds-nav-main {
  margin-right: 20px;
}
#ds-nav-main > ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#ds-nav-main > ul > li {
  position: relative;
  margin-right: 50px;
}
#ds-nav-main > ul > li:last-child {
  margin-right: 0;
}
#ds-nav-main > ul > li > a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.8;
}
#ds-nav-main > ul > li > a:hover {
  opacity: 1;
  color: #fff;
}

#ds-nav-main > ul > li > ul {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #443221;
  padding: 25px 0;
  min-width: 220px;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  border-radius: 10px;
  transition:
    visibility 0s,
    opacity 0.3s linear;
  list-style: none;
  margin: 0;
  text-align: center;
}
#ds-nav-main > ul > li:hover > ul {
  visibility: visible;
  opacity: 1;
}
#ds-nav-main > ul > li:hover > ul > li {
  opacity: 1;
  transform: translateX(0);
}
#ds-nav-main > ul > li > ul > li {
  position: relative;
  padding: 5px 10px;
  opacity: 0;
  transform: translateX(-20px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
#ds-nav-main > ul > li > ul > li.show {
  animation: ds-slideIn 0.3s ease forwards;
}
#ds-nav-main > ul > li > ul > li > a {
  display: block;
  padding: 8px 20px;
  color: #fff;
  opacity: 0.8;
  text-decoration: none;
  font-size: 17px;
  transition: background-color 0.3s ease;
  text-align: center;
}
#ds-nav-main > ul > li > ul > li > a:hover {
  background-color: transparent;
  opacity: 1;
}
#ds-nav-main > ul > li > ul > li > a.ds-has-sub {
  padding-right: 30px;
  position: relative;
}
#ds-nav-main > ul > li > ul > li > a.ds-has-sub::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #ddd;
  font-weight: 600;
}
#ds-nav-main > ul > li > ul > li > a.ds-has-sub.ds-sub-open::after {
  content: "-";
}

#ds-nav-main > ul > li > ul > li > ul.ds-nav-l3 {
  display: none;
  position: static;
  background-color: #333;
  box-shadow: none;
  padding: 10px 0;
  line-height: 2.1;
}
#ds-nav-main > ul > li > ul > li > ul.ds-nav-l3 > li {
  opacity: 1;
  transform: none;
}
#ds-nav-main > ul > li > ul > li > ul.ds-nav-l3 > li.show {
  animation: none;
}
#ds-nav-main > ul > li > ul > li > ul.ds-nav-l3 > li > a {
  padding: 8px 30px;
  font-size: 16px;
  color: #fff;
  opacity: 0.8;
  transition: background-color 0.3s ease;
  text-align: center;
}
#ds-nav-main > ul > li > ul > li > ul.ds-nav-l3 > li > a:hover {
  background-color: transparent;
  color: #fff;
  opacity: 1;
}

@keyframes ds-slideIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.ds-login-sitemap {
  display: flex;
  align-items: center;
}
.ds-login-sitemap .ds-sitemap-btn {
  color: #0a0a0a;
}
#ds-login-box {
  display: flex;
  align-items: center;
  margin-right: 15px;
}
#ds-login-box a {
  margin-left: 15px;
  text-decoration: none;
  color: #fff;
  padding: 14px 26px;
  background-color: #242424;
  border-radius: 50px;
  text-align: center;
}

#ds-sitemap-ctl {
  position: relative;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
}
.ds-sitemap-btn {
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
  color: #fff;
}
#ds-sitemap-btn span,
#ds-sitemap-close span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  margin: 6px 0;
  transition: all 0.3s ease-in-out;
}
#ds-sitemap-ctl #ds-sitemap-close span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000;
  margin: 6px 0;
  transition: all 0.3s ease-in-out;
}
#ds-sitemap-close {
  display: none;
}
#ds-sitemap-close span:first-child {
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
}
#ds-sitemap-close span:last-child {
  transform: rotate(-45deg);
  position: absolute;
  top: 50%;
}

#ds-top-bar.scrolled #ds-sitemap-btn span,
#ds-top-bar.scrolled #ds-sitemap-close span {
  background-color: #fff;
}

#ds-mb-toggle {
  display: none;
  position: fixed;
  top: 25px;
  right: 20px;
  z-index: 1003;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
}
#ds-mb-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
  transition: all 0.3s ease;
}
#ds-mb-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
#ds-mb-toggle.active span:nth-child(2) {
  opacity: 0;
}
#ds-mb-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}
#ds-nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 1002;
  overflow-y: auto;
  padding: 80px 0 40px;
}
#ds-nav-mobile.active {
  display: block !important;
}
#ds-nav-mobile ul {
  list-style-type: none;
  padding: 0 30px;
}
#ds-nav-mobile ul ul {
  display: none;
  padding: 10px 0 10px 15px;
}
#ds-nav-mobile ul ul li > a {
  padding: 15px 0;
  color: #fff;
  opacity: 0.8;
}
#ds-nav-mobile ul li {
  position: relative;
}
#ds-nav-mobile ul li > a {
  display: block;
  padding: 18px 0;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  position: relative;
}
#ds-nav-mobile > ul > li > a.ds-has-sub::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  transition: transform 0.3s ease;
}
#ds-nav-mobile > ul > li > ul > li > a.ds-has-sub::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  transition: transform 0.3s ease;
}
#ds-nav-mobile ul li > a.ds-has-sub.ds-sub-open::after {
  content: "-";
  transform: translateY(-50%) rotate(180deg);
}
#ds-nav-mobile > ul > li > ul > li > ul.ds-nav-l3 {
  display: none;
  position: static;
  background-color: #333;
  box-shadow: none;
  padding: 10px 0;
  line-height: 2.1;
}
#ds-nav-mobile > ul > li > ul > li > ul.ds-nav-l3 > li > a {
  padding: 8px 20px 8px 30px;
  font-size: 16px;
  color: #f2f2f2;
  opacity: 1;
}
#ds-nav-mobile > ul > li > ul > li > ul.ds-nav-l3 > li > a:hover {
  opacity: 0.8;
}

#ds-nav-mobile ul.ds-nav-l3-m {
  display: none;
  background-color: #373737;
  padding-left: 20px;
  margin: 0;
  list-style-type: none;
}
#ds-nav-mobile ul.ds-nav-l3-m a {
  display: block;
  padding: 13px 15px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

#ds-mb-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  color: #fff;
  font-size: 28px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1005;
  display: none;
  padding: 0;
}
#ds-mb-close:hover {
  color: #fff;
  opacity: 0.9;
}

#ds-sitemap-panel {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.4);
}
#ds-sitemap-panel.ds-sitemap-open {
  display: block !important;
}
#ds-sitemap-panel .ds-panel-bg-wrap {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 28%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(68, 50, 33, 0.97) 0%,
    rgba(44, 32, 21, 0.95) 100%
  );
}
#ds-sitemap-panel .ds-panel-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../img/bg.jpg) left center no-repeat;
  background-size: cover;
  opacity: 0.35;
}

#ds-sitemap-panel .ds-sitemap-wrap {
  position: absolute;
  right: 0;
  top: 0;
  width: 72%;
  height: 100%;
  background-color: #fff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
}
.ds-sitemap-panel-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  font-size: 28px;
  line-height: 48px;
  text-align: center;
  color: #333;
  background: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  z-index: 10002;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition:
    opacity 0.2s,
    background 0.2s;
}
.ds-sitemap-panel-close:hover {
  background: #f5f5f5;
  color: #000;
}

.ds-sitemap-tree {
  position: relative;
  width: 100%;
  min-height: 100%;
  padding: 90px 10% 60px;
  box-sizing: border-box;
}
.ds-sitemap-tree > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ds-sitemap-tree > ul > li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.ds-sitemap-tree > ul > li:first-child {
  padding-top: 0;
}
.ds-sitemap-tree > ul > li > a.depth1_btn {
  display: block;
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: -0.03em;
  transition: color 0.2s;
}
.ds-sitemap-tree > ul > li > a.depth1_btn:hover {
  color: #443221;
}
.ds-sitemap-tree > ul > li ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ds-sitemap-tree > ul > li ul li {
  margin: 0;
}
.ds-sitemap-tree > ul > li ul a {
  font-size: 15px;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}
.ds-sitemap-tree > ul > li ul a:hover {
  color: #443221;
}

@media screen and (min-width: 1021px) {
  #ds-mb-toggle,
  #ds-mb-close {
    display: none !important;
  }
}

@media screen and (max-width: 1300px) {
  #ds-nav-main > ul > li {
    margin-right: 20px;
  }
  #ds-nav-main > ul > li > a {
    font-size: 14px;
  }
}

@media screen and (max-width: 1020px) {
  #ds-nav-main {
    display: none;
  }
  .ds-top-actions {
    display: none;
  }
  #ds-sitemap-ctl {
    display: none !important;
  }
  #ds-mb-toggle {
    display: block !important;
    position: fixed;
    top: 25px;
    right: 20px;
    z-index: 1003;
  }
  #ds-sitemap-panel .ds-sitemap-wrap {
    width: 100% !important;
  }
  #ds-sitemap-panel .ds-panel-bg-wrap {
    width: 0;
  }
  .ds-sitemap-tree > ul {
    padding: 0 10%;
  }
  .ds-sitemap-tree > ul > li > a {
    font-size: 20px;
  }
  .ds-sitemap-tree > ul > li ul a {
    font-size: 14px;
  }
  #ds-top-inner {
    padding: 0 20px;
  }
  .ds-brand a {
    width: 120px;
    height: 30px;
  }
}

@media print {
  #ds-top-bar,
  #ds-nav-mobile,
  #ds-sitemap-panel {
    display: none !important;
  }
  body {
    font-size: 12pt;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}
#ds-nav-main > ul > li > a:focus + ul {
  visibility: visible;
  opacity: 1;
}
#ds-nav-main > ul > li > ul.reset-animation > li {
  animation: none;
  opacity: 1;
  transform: translateY(0);
  transition: none;
}

#ds-nav-mobile::-webkit-scrollbar {
  width: 5px;
}
#ds-nav-mobile::-webkit-scrollbar-track {
  background: #f1f1f1;
}
#ds-nav-mobile::-webkit-scrollbar-thumb {
  background: #888;
}
#ds-nav-mobile::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#ds-top-bar.scrolled #ds-nav-main > ul > li > a {
  color: #fff;
}
#ds-top-bar.scrolled #ds-login-box a {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.3);
}
#ds-top-bar.scrolled #ds-sitemap-btn span,
#ds-top-bar.scrolled #ds-sitemap-close span {
  background-color: #fff;
}

#ds-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
#ds-loading::after {
  content: "";
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: ds-spin 1s linear infinite;
}
@keyframes ds-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.ds-sr-only {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

@media (forced-colors: active) {
  #ds-top-bar,
  #ds-nav-mobile,
  #ds-sitemap-panel {
    border: 1px solid currentColor;
  }
  .ds-sitemap-btn span,
  #ds-mb-toggle span {
    background-color: currentColor;
  }
}
