/*
#sidebar-wrapper {
  position: fixed;
  z-index: 2;
  right: 0;
  width: 250px;
  height: 100%;
  transition: all .4s ease 0s;
  transform: translateX(250px);
  background: #1d809f;
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.sidebar-nav {
  padding: 1rem 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

.sidebar-nav .dropdown-menu {
  position: static !important;
  float: none;
  margin: 0;
  padding-left: 1rem;
  border: none;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  border-radius: 0.25rem;
}

.sidebar-nav .dropdown.show .dropdown-menu, .sidebar-nav .dropdown-menu.show {
  max-height: 500px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav .dropdown-item {
  padding: 0.75rem 1.5rem;
  color: #fff;
  transition: all 0.2s ease;
  border-radius: 0.25rem;
  margin: 0.25rem 0;
  font-weight: 500;
}

.sidebar-nav .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateX(4px);
}

.sidebar-nav .nav-item {
  padding: 0.75rem 1.5rem;
  color: #fff;
  transition: all 0.2s ease;
}

.sidebar-nav .nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
}
*/
/* common */

.text-keep-all {
  word-break: keep-all;
}

.text-custom-bg-dark {
  color: #fff !important;
  background-color: #282536 !important;
}

/* 메인 헤더 */

.header-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
}

.header-logo img {
  height: 40px;
}

.masthead {
  position: relative;
}


/* 서브 헤더 */

.masthead-sub {
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 100%), url('../../assets/img/bg-masthead.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  text-align: center;
  padding: 1rem 0;
}

.masthead-sub .page-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.masthead-sub .title-underline {
  width: 60px;
  height: 2px;
  background: white;
  margin: 0 auto 0.5rem;
  border: none;
}

.masthead-sub .page-subtitle {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 0;
}

/* 중앙 가로 메뉴 (웹/PC) */

.center-nav {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.center-nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 2rem;
  padding: 0.5rem 1.5rem;
}

.center-nav-item {
  margin: 0 1rem;
  position: relative;
}

.center-nav-item a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  padding: 0.5rem 0;
}

.center-nav-item a:hover {
  color: #cd8d14;
}

/* 드롭다운 메뉴 스타일 (필요시) */

.center-nav-item.dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  background: white;
  border-radius: 0.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 160px;
  z-index: 2;
}

.center-nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0.5rem 1rem;
}

.dropdown-menu li a {
  color: #333;
  display: block;
}

.dropdown-menu li a:hover {
  background: #f8f9fa;
}

/* env */

.section-title {
  font-weight: bold;
  font-size: 1.4rem;
  margin-top: 1.6rem;
}

.env-img1 {
  width: 90%;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.env-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: .5rem;
  margin-bottom: .5rem;
}

.highlight {
  color: #0d6efd;
  font-weight: bold;
}

.content-section {
  padding-top: 3.5rem !important;
  padding-bottom: 1.5rem !important;
}

.marquee-text {
  display: inline-block;
  white-space: nowrap;
  position: absolute;
  right: -100%;
  animation: marquee-left 10s linear infinite;
}

@keyframes marquee-left {
  0% {
    right: -100%;
  }
  100% {
    right: 100%;
  }
}

/* living office */

@media (max-width: 768px) {
  .mobi-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 250px;
    height: 450px;
  }
}

/* main */

.img-fixed-height {
  max-height: 700px;
  object-fit: contain;
}

.masthead-main {
  height: 100vh;
  min-height: 30rem;
  display: flex;
  align-items: center;
  background-position: center center;
  /*background-repeat: no-repeat;*/
  /*background-size: cover;*/
  /*background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);*/
}

.masthead-main {
  width: 100vw;
  aspect-ratio: 2.2/1;
  min-height: 1000px;
  max-width: 100%;
  background: url('../../assets/img/main-01.png') center center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.env-img {
  position: absolute;
  width: 400px;
  max-width: 80vw;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  opacity: 0;
  animation: fadeInUp 1s forwards;
}

.env-traffic {
  top: 8%;
  right: 5%;
  animation-delay: 0.2s;
}

.env-residence {
  top: 8%;
  left: 5%;
  animation-delay: 0.7s;
}

.env-edu {
  bottom: 8%;
  left: 10%;
  transform: translateX(-50%);
  animation-delay: 1.2s;
}

.flag-img {
  position: absolute;
  top: 62%;
  left: 55%;
  width: 40px;
  z-index: 3;
  transform: translate(-50%, -50%);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 모바일 대응 */
/* 모바일용 아래 이미지: 기본적으로 숨김 */
.env-img-mobile {
  display: none;
}

/* 모바일에서만 아래에 보이기 */
@media (max-width: 991.98px) {
  .masthead-main .env-img {
    display: none !important; /* 상단 이미지 숨김 */
  }
  .env-img-mobile {
    display: flex !important;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
    margin-bottom: 12px;
  }
  .env-img-mobile .env-img {
    position: static;
    width: 170px;
    max-width: 30vw;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    opacity: 1;
    animation: none;
  }
}

@media (max-width: 768px) {
  .masthead-main {
    height: 50vh;
    min-height: 0px !important;
  }
}

/* PC에서는 아래 이미지 숨김 */
@media (min-width: 992px) {
  .env-img-mobile {
    display: none !important;
  }
}

/*
@media (max-width: 768px) {
  .masthead-main {
    height: 80vh;
  }
}

@media (max-width: 991.98px) {
  .masthead-main {
    aspect-ratio: 1.2/1;
    min-height: 220px;
  }
}

@media (max-width: 991.98px) {
  .env-img {
    width: 200px;
  }
}

@media (max-width: 991.98px) {
  .env-residence {
    top: 37%;
    left: 5%;
  }
}

@media (max-width: 991.98px) {
  .env-traffic {
    top: 11%;
    left: 5%;
  }
}

@media (max-width: 991.98px) {
  .env-edu {
    left: 5%;
    TOP: 65%;
  }
}

@media (max-width: 991.98px) {
  .flag-img {
    width: 24px;
    top: 60%;
    left: 35%;
  }
}

@media (max-width: 575.98px) {
  .masthead-main {
    aspect-ratio: 1/1;
    min-height: 180px;
  }
}

@media (max-width: 575.98px) {
  .env-img {
    width: 170px;
  }
}

@media (max-width: 575.98px) {
  .flag-img {
    width: 18px;
  }
}
*/

