* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'bruno','Noto Sans KR', sans-serif;
  line-height: 1.6;
  background-color: #1e1e1e;
  color: #fff;
  padding-top: 60px;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}
header {
  color: #FFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.387); 
  position: fixed;
  top: 0;
  background-color: #151515;
  width: 100%;
  height: 60px;
  z-index: 1000;
  display: flex;
}
header .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/*nav bar 설정 여기에 추가*/
/* ---------------------- 메뉴 관련 CSS ---------------------- */
.nav-container {
  max-width: 1200px;
  top: 0;
  margin: 0 auto;
  width: 100%;
  z-index: 1000;
  padding: 0 20px;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

    .logo {
      display: flex;
      align-items: center;
    }

    .menu-toggle {
      background: none;
      border: none;
      cursor: pointer;
      display: none;
    }

    .nav-menu {
      display: flex;
      list-style: none;
      font-size: 0.7em;
      gap: 20px;
    }

    .nav-item {
      position: relative;
    }

    .nav-link {
      text-decoration: none;
      color: #fff;
      padding: 10px;
      display: block;
    }

    .dropdown {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background: white;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      list-style: none;
      padding: 0;
      z-index: 999;
      min-width: 120px;
    }

    .dropdown li a {
      display: block;
      padding: 10px;
      color: #333;
      text-decoration: none;
      white-space: nowrap;
    }

    .dropdown li a:hover {
      background-color: #f0f0f0;
    }
    .arrow-icon {
      display: inline-block;
      transition: transform 0.3s ease;
    }
    /* PC: hover시 드롭다운 */
    @media (min-width: 769px) {
      .nav-item.has-dropdown:hover .dropdown {
        display: block;
      }
    }
    @media (min-width: 769px) and (max-width: 1200px) {
    .nav-menu { 
      font-size: 0.7em;
    }
    }
    /* 모바일용 스타일 */
    @media (max-width: 768px) {
      .menu-toggle {
        display: block;
        margin-left: auto;
        color: #fff;
        font-size: 1.5em;
      }

      .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid #ccc;
        gap:0;
      }

      .nav-menu.show {
        display: flex;
      }

      .dropdown {
        position: static;
        box-shadow: none;
        border-top: 1px solid #eee;
      }
      .nav-item{
        background-color: #5e5e5e;

      }
      .nav-item ul li{
        background-color: #5e5e5e;
      }
      .nav-item.open .dropdown {
        display: block;
      }

      .nav-link {
        padding: 12px 16px;
      }

      .dropdown li a {
        padding-left: 24px;
      }
    }
/* ---------------------------------------------------------- */


/*nav bar 설정*/

.main-slider-container {
  width: 100vw;
  height: 80vh;
  position: relative;
}

.main-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-size, background-position, background-repeat는 가상 요소에서 설정 */
  /* 슬라이드 자체의 배경 이미지는 JavaScript에서 관리하거나 아예 제거 */
  background-image: none; /* 슬라이드 자체의 배경 이미지는 사용하지 않습니다 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
  overflow: hidden; /* 줌인된 배경 이미지가 슬라이드 영역을 벗어나지 않도록 */
}

.main-slide.active {
  opacity: 1;
  z-index: 2;
}

/* 줌인 애니메이션 키프레임 (동일) */
@keyframes zoomLeft {
  0% {
      transform: scale(1);
      background-position: center center;
  }
  100% {
      transform: scale(1.1);
      background-position: left center;
  }
}

@keyframes zoomRight {
  0% {
      transform: scale(1);
      background-position: center center;
  }
  100% {
      transform: scale(1.1);
      background-position: right center;
  }
}

@keyframes zoomCenter {
  0% {
      transform: scale(1);
      background-position: center center;
  }
  100% {
      transform: scale(1.1);
      background-position: center center;
  }
}

@keyframes zoomTop {
  0% {
      transform: scale(1);
      background-position: center center;
  }
  100% {
      transform: scale(1.1);
      background-position: center top;
  }
}

@keyframes zoomBottom {
  0% {
      transform: scale(1);
      background-position: center center;
  }
  100% {
      transform: scale(1.1);
      background-position: center bottom;
  }
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes toLeft {
  0% { opacity: 0; transform: translateX(40px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes toRight {
  0% { opacity: 0; transform: translateX(-40px); }
  100% { opacity: 1; transform: translateX(0); }
}

.animate-on-fadeup {
  opacity: 0;
}
.animate-on-fadeup.active {
  animation: fadeUp 0.8s ease-out forwards;
}

.animate-on-toleft {
  opacity: 0;
}
.animate-on-toleft.active {
  animation: toLeft 0.8s ease-out forwards;
}

.animate-on-toright {
  opacity: 0;
}
.animate-on-toright.active {
  animation: toRight 0.8s ease-out forwards;
}

/* 기타 공통 초기 상태 */
[class^="animate-on-"] {
  transition: all 0.8s ease-out;
}

/* 활성화된 슬라이드의 ::before 가상 요소에 애니메이션 적용 */
.main-slide.active.main-slide-left-zoom::before {
  animation: zoomLeft 5s forwards;
}

.main-slide.active.main-slide-right-zoom::before {
  animation: zoomRight 5s forwards;
}

.main-slide.active.main-slide-center-zoom::before {
  animation: zoomCenter 5s forwards;
}

.main-slide.active.main-slide-top-zoom::before {
  animation: zoomTop 5s forwards;
}

.main-slide.active.main-slide-bottom-zoom::before {
  animation: zoomBottom 5s forwards;
}

.main-slide.main-slide-left-zoom::before,
.main-slide.main-slide-right-zoom::before,
.main-slide.main-slide-center-zoom::before,
.main-slide.main-slide-top-zoom::before,
.main-slide.main-slide-bottom-zoom::before {
  transform: scale(1.1); /* 애니메이션이 끝난 후 상태를 유지 */
}
.main-slide-text-box{
  width:100%;
  height: 100%;
  display: flex;
  justify-content: center;
  background-color: rgba(2, 2, 2, 0.5);
  align-items: center;
}
.main-slide-text {
  max-width:1000px;
  width:100%;
  text-align: left;
}
.main-slide-text-title{
  font-size: 2em;
  font-weight: bold;
  padding:24px;
}
.main-slide-text-txt{
  font-size: 1.4em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding:24px;
}
.main-slide .main-slide-text-title,
.main-slide .main-slide-text-txt {
  opacity: 0;
  transform: translateY(40px);
}

.main-slide.active .main-slide-text-title,
.main-slide.active .main-slide-text-txt {
  animation: fadeUp 1s ease-out forwards;
}
.main-slide.active .main-slide-text-title {
animation-delay: 0.3s;
}

.main-slide.active .main-slide-text-txt {
animation-delay: 0.6s;
}

/* 모든 슬라이드의 ::before 가상 요소 기본 스타일 */
.main-slide::before { /* active 클래스가 없어도 기본 스타일은 존재해야 합니다 */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover; /* 이미지가 컨테이너를 덮도록 확대 */
  background-position: center center; /* 초기 위치 */
  background-repeat: no-repeat;
  z-index: -1; /* 콘텐츠 뒤에 오도록 */
  /* background-image는 JavaScript에서 설정됩니다. */
}

.section-default-title{
  margin:2em 0 0 0; font-size: 2em;line-height: 1.5em;
}
.section-default-title-sub{
  margin:2em 0;font-size: 1.2em;line-height: 1.5em;
}
.pd-lr-l2em-s0em{
  padding-left:2em;
  padding-right:2em;
}
.pd-b-l0em-s1em{
  padding-bottom:1em;
}
.disp-lshow-shidden{
  display: inline;
}
@media (max-width: 768px) {
  .section-default-title{
    margin:2em 0 0 0; font-size: 1.2em;line-height: 1.5em;
    font-weight: bold;
  }
  .section-default-title-sub{
    margin:2em 0;font-size: 1.0em;line-height: 1.5em;
  }
  .pd-lr-l2em-s0em{
    padding-left:0;
    padding-right:0;
  }
  .pd-b-l0em-s1em{
    padding-bottom:1em;
  }
  .disp-lshow-shidden{
    display: none;
  }
}










footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 20px;
}
footer p {
  font-size: 12px;
}
.pd-lr-0-5em{padding-left: 0.5em;padding-right: 0.5em;}
.pd-lr-1em{padding-left: 1em;padding-right: 1em;}
.pd-lr-1-5em{padding-left: 1.5em;padding-right: 1.5em;}
.pd-lr-2-em{padding-left: 2em;padding-right: 2em;}

.wd-10{width:10%;}
.wd-20{width:20%;}
.wd-25{width:25%;}
.wd-30{width:30%;}
.wd-40{width:40%;}
.wd-50{width:50%;}
.wd-60{width:60%;}
.wd-70{width:70%;}
.wd-75{width:75%;}
.wd-80{width:80%;}
.wd-90{width:90%;}
.wd-100{width:100%;}
.mx-h-2{display:-webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}
.mx-h-4{display:-webkit-box;-webkit-line-clamp: 4;-webkit-box-orient: vertical;overflow: hidden;}
.mx-h-6{display:-webkit-box;-webkit-line-clamp: 6;-webkit-box-orient: vertical;overflow: hidden;}
.mx-h-8{display:-webkit-box;-webkit-line-clamp: 8;-webkit-box-orient: vertical;overflow: hidden;}
.mx-h-10{display:-webkit-box;-webkit-line-clamp: 10;-webkit-box-orient: vertical;overflow: hidden;}
.dflex{
  display: flex;
}
.dflex-row-left{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}
.dflex-lrow-srow{
	display: flex;
	flex-direction: row;
	align-items: center;
}
.dflex-lcol-scol{
	display: flex;
	flex-direction: column;
	align-items: center;
}
.dflex-lcol-srow{
	display: flex;
	flex-direction: column;
	align-items: center;
}
.dflex-lrow-scol{
	display: flex;
	flex-direction: row;
	align-items: center;
}

.red-button {
  padding: 0 2em;
  background: #ff1100;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s ease;
  line-height: 2em;
}

.submit-button {
  padding: 4px;
  min-width: 100px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.save-a-button {
  padding: 4px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.back-a-button {
  padding: 4px;
  background: #969696;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cancel-a-button {
  padding: 4px;
  background: #ff1100;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.input-group {
  margin-bottom: 20px;
}
.input-group input[type="date"]{
  padding-top: 12px;
  padding-left:0.5em;
  padding-right:0.5em;
  padding-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.input-group textarea,
.input-group select,
.input-group input[type="number"],
.input-group input[type="text"],
.input-group input[type="password"],
.input-group input[type="email"] {
  width: 100%;
  padding-top: 12px;
  padding-left:0.5em;
  padding-right:0.5em;
  padding-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
}


@media (max-width: 768px) {
  
.wd-10,
.wd-20,
.wd-25,
.wd-30,
.wd-40,
.wd-50,
.wd-60,
.wd-70,
.wd-75,
.wd-80,
.wd-90,
.wd-100{width:100%;}
.dflex-lrow-scol{
  display: flex;
  flex-direction: column;
}
.dflex-lcol-srow{
  display: flex;
  flex-direction: row;
  align-items: center;
}
.red-button{
  width:100%;
  margin:1em 0;
}
}