@charset "UTF-8";
.subsection {display: flex; gap: 10%;}
.sticky{position: -webkit-sticky; position: sticky; top: 250px;}
.content {margin: 0 auto; padding:0px 5% 50px 5%; font-size: 18px;}
.content .content_title {font-size: 2.2rem; margin-bottom: 50px; font-weight: 700; text-align: center;}
.sub_content {padding:0px 0%;}

/* 1000px 이하에서 가로 스크롤 방지 */
@media screen and (max-width: 1000px) {
    .subsection {
        gap: 5%;
        flex-wrap: wrap;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .content {
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
}


/* 인사말 */
.greeting-section {
/*   margin: 60px auto; */
 /*  padding: 40px 0; */
  display: flex;
  justify-content: center;
}

.greeting-content {
  display: flex;
  align-items: flex-start;                             
  justify-content: center;
  gap: 100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .greeting-content {
    flex-direction: column;
    gap: 20px; /* 모바일에서는 간격 줄이기 */
  }
}

/* 왼쪽 이미지 */
.greeting-image {
  flex-shrink: 0;
  width: 40%;
}

.greeting-image img {
  width: 100%;
  height: auto;
  max-height: 750px;
  object-fit: cover;
  border-radius: 10px;
  max-width: 100%;
}

/* 반응형 (태블릿) */
@media (max-width: 1024px) {
  .greeting-image img {
    max-height: 350px;
  }
}

/* 모바일에서 자동 축소 */
@media (max-width: 768px) {
  .greeting-image img {
    width: 100%;
    height: auto;
    max-height: 300px;
    aspect-ratio: 5 / 7;
  }
}

/* 아주 작은 화면 */
@media (max-width: 480px) {
  .greeting-image img {
    max-height: 250px;
  }
}

/* 오른쪽 텍스트 */
.greeting-text {
  flex: 1;
  color: #000;
}

.greeting-text h2 {margin-bottom: 40px;}

.greeting-title {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin-bottom: 30px;
  line-height: 1.4;
}

.greeting-title .highlight {
  color: #004aad;
}

.greeting-description {
  font-size: 18px;
  line-height: 34px;
  position: relative;
}

.greeting-description p {
  margin-bottom: 24px;
}

.greeting-description img {
  position: absolute;
  bottom: -90px;
  right: 0;
  max-width: 320px;
  height: auto;
  opacity: 0.85;
}

/* -------------------------
   🔹 반응형 (태블릿)
--------------------------*/
@media (max-width: 1024px) {
  .greeting-content {
    gap: 40px;
  }

  .greeting-title {
    font-size: 28px;
  }

  .greeting-description {
    font-size: 17px;
    line-height: 30px;
  }

  .greeting-description img {
    width: 250px;
    bottom: -70px;
  }
}

/* -------------------------
   🔹 반응형 (모바일)
--------------------------*/
@media (max-width: 768px) {
  .greeting-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .greeting-image {
    width: 100%;
    max-width: 400px;
    order: 1;
  }

  .greeting-text {
    order: 2;
  }

  .greeting-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .greeting-description {
    font-size: 16px;
    line-height: 28px;
  }

  .greeting-description p {
    margin-bottom: 16px;
  }

  .greeting-description img {
    position: static;
    display: block;
    width: 180px;
    height: auto;
    margin: 25px auto 0;
  }
}

/* -------------------------
   🔹 반응형 (아주 작은 화면)
--------------------------*/
@media (max-width: 480px) {
  .greeting-title {
    font-size: 20px;
  }

  .greeting-description {
    font-size: 14px;
    line-height: 24px;
  }

  .greeting-description img {
    width: 140px;
  }
}

/* ===================== 연혁 ===================== */
.history-section {
  position: relative;
  padding: 60px 0 0px 60px;
}

/* 연혁 컨테이너 - 2열 레이아웃 */
.history-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* 왼쪽 연혁 내용 영역 */
.history-content {
  flex: 1;
  min-width: 0;
  position: relative;
}

/* 타임라인 절대배치 기준 컨테이너 */
.timeline-column { position: relative; }

/* 전체 타임라인 수직선 */
.timeline-line {
  position: absolute;
  left: 80px;
  top: 0;
  width: 1px;
  height: 100%;
  background-color: #C0C0C0;
}

/* timeline 준비 완료 시 표시 */
body.timeline-ready .timeline-line { opacity: 1; }


/* 연혁 아이템 - 각 연도별 블록 */
.history-item {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 80px;
  margin-left: 40px;
  margin-right: 40px;
  position: relative;
}

/* 왼쪽 연혁 내용 */
.history-item .left {
  flex: 1;
  min-width: 0;
  margin-left: 30px;
}

/* 오른쪽 이미지 영역 */
.history-item .right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-item .right img {
  width: 100%;
  max-width: 500px;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.history-item .right img:hover {
  transform: scale(1.02);
}

/* 오른쪽 이미지 영역 */
.history-image-area {
  flex: 0 0 300px;
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

.history-year-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.history-year-image:hover {
  transform: scale(1.02);
}

/* --- 연도 제목 영역 --- */
.history-year-block {
  position: relative;
  margin-bottom: 40px;
}

.year-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.year-header h2 {
  font-size: 38px;
  font-weight: 800;
  color: #000;
}

.year-circle {
  width: 25px;
  height: 25px;
  border: 2px solid #BDB89A;
  background-color: #FFFFFF;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  left: -1px;
}

/* --- 연혁 리스트 --- */
.history-list {
  margin-top: 40px;
  list-style: none;
}

.history-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

/* 왼쪽 점 + 가로 점선 */
.dot-wrap {
  position: relative;
  width: 115px; /* 점선+원 포함 */
  flex-shrink: 0;
}

/* 큰 원 */
.outer-dot {
  position: absolute;
  top: 6px;
  left: 1px;
  width: 19px;
  height: 19px;
  background-color: rgba(189, 184, 154, 0.5);
  border-radius: 50%;
  z-index: 2;
}

/* 작은 원 */
.inner-dot {
  position: absolute;
  top: 12px;
  left: 7px;
  width: 7px;
  height: 7px;
  background-color: #746757;
  border-radius: 50%;
  z-index: 3;
}

/* 가로 점선 */
.h-dashed {
  position: absolute;
  top: 15px;
  left: 19px;
  width: 80px;
  height: 1px;
  /* margin-left: 10px; */
  border-top: 1px dashed #C0C0C0;
  max-width: calc(100% - 30px);
}

/* 텍스트 영역 */
.text-box {
  flex: 1;
}

.text-box .date {
  font-weight: 800;
  font-size: 20px;
  margin-top: 3px;
}

.text-box .desc {
  color: #333;
  line-height: 1.6;
}

/* 반응형 */
@media (max-width: 1024px) {
  .history-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .timeline-line {
    left: 50px;
  }
  
  .history-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    margin-left: 20px;
  }
  
  .history-item .left {
    margin-left: 20px;
  }
  
  .history-item .right {
    flex: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .history-image-area {
    flex: none;
    position: static;
    max-height: none;
    overflow-y: visible;
  }
  
  .history-year-image {
    height: 150px;
  }
}

@media (max-width: 912px) {
  .timeline-line {
    left: 50px;
  }
}

@media (max-width: 820px) {
  .timeline-line {
    left: 50px;
  }
}

@media (max-width: 768px) {
  .timeline-line {
    left: 50px;
  }
}

@media (max-width: 750px) {
  .history-section {
    padding: 40px 0 80px 30px;
  }

  .history-container {
    gap: 20px;
  }
  
  .timeline-line {
    left: 35px;
  }
  
  .history-item {
    gap: 20px;
    margin-bottom: 60px;
    margin-left: 10px;
  }
  
  .history-item .left {
    margin-left: 15px;
  }
  
  .history-item .right {
    max-width: 100%;
  }
  
  .history-item .right img {
    height: 150px;
  }
  
  .year-circle {
    left: -1px;
  }
  
  .outer-dot {
    left: 1px;
  }
  
  .inner-dot {
    left: 7px;
  }

  .year-header h2 {
    font-size: 28px;
  }

  .dot-wrap {
    width: 60px;
  }

  .h-dashed {
    width: 40px;
    max-width: calc(100% - 20px);
  }

  .text-box .date {
    font-size: 16px;
  }

  .text-box .desc {
    font-size: 12px;
  }
  
  .history-year-image {
    height: 120px;
  }
}

/* 더 작은 화면을 위한 추가 반응형 */
@media (max-width: 480px) {
  .history-section {
    padding: 30px 0 60px 20px;
  }
  
  .timeline-line {
    left: 20px;
  }
  
  .history-item {
    gap: 15px;
    margin-bottom: 40px;
    margin-left: 0;
  }
  
  .history-item .left {
    margin-left: 10px;
  }
  
  .history-item .right img {
    height: 120px;
    z-index: 1;
  }
  
  .year-circle {
    left: -1px;
  }
  
  .outer-dot {
    left: 1px;
  }
  
  .inner-dot {
    left: 7px;
  }

  .dot-wrap {
    width: 50px;
  }

  .h-dashed {
    width: 30px;
    max-width: calc(100% - 15px);
  }

  .text-box .date {
    font-size: 14px;
  }

  .text-box .desc {
    font-size: 13px;
  }
}

/* =============================
   비전 / 슬로건 / 미션
============================= */
.vision-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 120px;
  margin-bottom: 20px;
  margin-top: 80px;
}

/* VISION */
.vision-box,
.slogan-box {
  text-align: center;
  width: 100%;
  max-width: 900px;
  height: 120px;
  position: relative;
}

.vision-label::after,
.slogan-label::after {
  content: "";
  position: absolute;
  top: -40px; /* 도형 위치 (텍스트 위쪽) */
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 60px;
  background: linear-gradient(to top, #ffffff 0%, #efefef 100%);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%); /* 삼각형 모양 */
  z-index: -1; /* 텍스트 뒤로 */
}

.vision-label,
.slogan-label {
  font-size: 13px;
  font-weight: 700;
  color: #3011DB;
  text-transform: uppercase;
}

.vision-title,
.slogan-title {
  font-size: 22px;
  font-weight: 700;
  margin-top: 6px;
}

.vision-text,
.slogan-text {
  background: #fff;
  border-radius: 60px;
  padding: 20px 60px;
  font-size: 22px;
  font-weight: 600;
  color: #111;
  margin-top: 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* MISSION */
.mission-box {
  width: 100%;
  text-align: center;
  background-color: #F9F9F9;
  width: 1200px;
  margin-bottom: 30px;
  border-radius: 20px;
  padding: 40px;
  box-sizing: border-box;
}

.mission-label {
  font-size: 13px;
  font-weight: 700;
  color: #3011DB;
}

.mission-title {
  font-size: 22px;
  font-weight: 700;
  margin-top: 6px;
  margin-bottom: 40px;
}

.mission-list {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.mission-item {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  padding: 30px 25px;
  text-align: left;
}

.mission-item .num {
  background: #3011DB;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin: 0 auto 15px auto;
  display: block;
}

.mission-item h3 {
/*   font-size: 20px; */
  font-weight: 500;
  margin-bottom: 20px;
  color: #111;
  text-align: center;
}

.mission-item ul {
  padding-left: 20px;
  margin-left: 20px;
}

.mission-item li {
  list-style: disc;
  font-size: 15px;
  color: #555;
  margin-bottom: 6px;
}

/* =============================
   반응형
============================= */
@media (max-width: 1024px) {
  .mission-box {
    width: 100%;
    max-width: 100%;
    padding: 30px;
    background-color: transparent;
  }
  
  .mission-list {
    flex-direction: row;
    align-items: stretch;
    gap: 15px;
    justify-content: center;
  }
  
  .mission-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }
  
  .mission-item .num {
    margin: 0 0 15px 0;
  }
  
  .mission-item h3 {
    text-align: left;
  }
  
  .mission-item ul {
    margin-left: 0;
  }
  
  .mission-item .num {
    font-size: 17px;
    width: 38px;
    height: 38px;
    line-height: 38px;
  }
  
  .mission-item h3 {
    font-size: 19px;
  }
  
/*   .mission-item li {
    font-size: 14px;
  } */
}

@media (max-width: 912px) {
  .mission-box {
    width: 100%;
    max-width: 100%;
    padding: 25px;
    background-color: transparent;
  }
  
  .mission-list {
    flex-direction: row;
    align-items: stretch;
    gap: 15px;
    justify-content: center;
  }
  
  .mission-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }
  
  .mission-item ul {
    margin-left: 0;
  }
  
  .mission-item .num {
    font-size: 16px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    margin: 0 0 15px 0;
  }
  
  .mission-item h3 {
    font-size: 18px;
    text-align: left;
  }
  
  .mission-item li {
    font-size: 13px;
  }
}

@media (max-width: 856px) {
  .mission-box {
    width: 100%;
    max-width: 100%;
    padding: 25px;
    background-color: transparent;
  }
  
  .mission-list {
    flex-direction: column;
    align-items: center;
  }
  
  .mission-item {
    width: 100%;
    max-width: 100%;
  }
  
  .mission-item ul {
    margin-left: 0;
  }
  
  .mission-item .num {
    font-size: 16px;
    width: 36px;
    height: 36px;
    line-height: 36px;
  }
  
  .mission-item h3 {
    font-size: 18px;
  }
  
  .mission-item li {
    font-size: 13px;
  }
}

@media (max-width: 853px) {
  .mission-box {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    background-color: transparent;
  }
  
  .mission-list {
    flex-direction: row;
    align-items: stretch;
    gap: 15px;
    justify-content: center;
  }
  
  .mission-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }
  
  .mission-item .num {
    margin: 0 0 15px 0;
  }
  
  .mission-item h3 {
    text-align: left;
  }
  
  .mission-item ul {
    margin-left: 0;
  }
  
  .mission-item .num {
    font-size: 15px;
    width: 34px;
    height: 34px;
    line-height: 34px;
  }
  
  .mission-item h3 {
    font-size: 17px;
  }
  
  .mission-item li {
    font-size: 12px;
  }
}

@media (max-width: 820px) {
  .mission-box {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    background-color: transparent;
  }
  
  .mission-list {
    flex-direction: row;
    align-items: stretch;
    gap: 15px;
    justify-content: center;
  }
  
  .mission-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }
  
  .mission-item .num {
    margin: 0 0 15px 0;
  }
  
  .mission-item h3 {
    text-align: left;
  }
  
  .mission-item ul {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .vision-text,
  .slogan-text {
    padding: 16px 20px;
    font-size: 18px;
  }

  .mission-box {
    width: 100%;
    height: auto;
    padding: 20px;
    background-color: transparent;
  }

  .mission-list {
    flex-direction: row;
    align-items: stretch;
    gap: 15px;
    justify-content: center;
  }

  .mission-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }
  
  .mission-item .num {
    margin: 0 0 15px 0;
  }
  
  .mission-item h3 {
    text-align: left;
  }
  
  .mission-item ul {
    margin-left: 0;
  }
  
  .mission-item .num {
    font-size: 14px;
    width: 32px;
    height: 32px;
    line-height: 32px;
  }
  
  .mission-item h3 {
    font-size: 16px;
  }
  
  .mission-item li {
    font-size: 11px;
  }
}

@media (max-width: 767px) {
  .mission-list {
    flex-direction: column;
    align-items: center;
  }
  
  .mission-item {
    width: 100%;
    max-width: 100%;
  }
  
  .mission-item .num {
    font-size: 13px;
    width: 30px;
    height: 30px;
    line-height: 30px;
  }
  
  .mission-item h3 {
    font-size: 20px;
  }
  
  .mission-item li {
    font-size: 14px;
  }
}

/* =============================
   CI 페이지
============================= */
.ci-container {
  margin: 0 auto;
  padding: 40px 20px;
}

#content .ci-container .color-title {
  all: unset;
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #333;
}

#content .ci-container .color-info h4 {
  all: unset;
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #333;
  margin-bottom: 10px;
}

.ci-section {
  margin-bottom: 100px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-icon {
  width: 18px;
  height: 18px;
}

.section-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.sub-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex: 1;
}

.sub-header {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: flex-start;
  height: 40px;
  min-height: 40px;
}

.sub-icon {
  width: 16px;
  height: 16px;
}

.sub-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #666;
  margin: 0;
  line-height: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

/* 2분할 레이아웃 */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  width: 100%;
  grid-template-rows: 1fr;
}

/* 왼쪽 컬럼 */
.left-column {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  flex: 1;
  padding: 20px;
  box-sizing: border-box;
  margin-top: 0;
}

/* 오른쪽 컬럼 */
.right-column {
  width: 100%;
  max-width: 100%;
  overflow: visible;
  display: flex;
  justify-content: flex-start;
  align-items: center;       /* 가로 가운데 */
  padding: 20px;
  box-sizing: border-box;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  flex: 1;
  text-align: center;        /* 텍스트도 중앙 정렬 필요 시 */
  margin-top: 0;
}

/* 반응형 2분할 레이아웃 */
@media (max-width: 1024px) {
  .two-column {
    gap: 30px;
/*     grid-template-columns: 1fr 1fr; */
  }
  
  .left-column {
    padding: 15px;
    flex: 1;
    justify-content: flex-start;
    align-items: flex-start;
  }
  
  .right-column {
    padding: 15px;
    max-width: 100%;
    overflow: visible;
    flex: 1;
  }
  
  .right-column .description h3 {
    font-size: 17px;
    max-width: 100%;
  }
  
  .right-column .description p {
    font-size: 15px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .two-column > *:nth-child(n+2) .sub-header {
    margin-bottom: 10px;
  }
  
  .left-column {
    padding: 10px;
     justify-content: flex-start;
    align-items: flex-start;
  }
  
  .right-column {
    padding: 10px;
    max-width: 100%;
    overflow: visible;
  }
  
  .left-column .logo-image {
    max-width: 90%;
    max-height: 90%;
  }
  
  .right-column .description h3 {
    font-size: 16px;
    max-width: 100%;
  }
  
  .right-column .description p {
    font-size: 14px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .left-column {
    padding: 5px;
  }
  
  .right-column {
    padding: 5px;
    max-width: 100%;
    overflow: visible;
  }
  
  .left-column .logo-image {
    max-width: 85%;
    max-height: 85%;
  }
  
  .right-column .description h3 {
    font-size: 15px;
    max-width: 100%;
  }
  
  .right-column .description p {
    font-size: 13px;
    max-width: 100%;
  }
}

/* 1분할 레이아웃 */
.one-column {
  display: flex;
  align-items: center;
  margin-left: 30px;
}

/* 심볼마크 섹션의 텍스트 줄바꿈 방지 */
.ci-section:first-of-type .description p {
  white-space: nowrap;
}

/* 반응형 텍스트 줄바꿈 */
@media (max-width: 768px) {
  .ci-section:first-of-type .description p {
    white-space: normal;
  }
  
  .one-column {
    margin-left: 0;
  }
}

/* 4분할 레이아웃 */
.four-column {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 0px 30px 0px 30px;
}

/* 반응형 4분할 레이아웃 */
@media (max-width: 1200px) {
  .four-column {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 0px 20px 0px 20px;
  }
}

@media (max-width: 768px) {
  .four-column {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 0px 15px 0px 15px;
  }
}

@media (max-width: 600px) {
  .four-column {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 0px 15px 0px 15px;
  }
}

@media (max-width: 320px) {
  .four-column {
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 0px 15px 0px 15px;
  }
}

/* 이미지 컨테이너 */
.image-container {
  width: 100%;
  max-width: 600px;
  height: 350px;
  border: 1px solid #EDEDED;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  background-color: #fff;
  box-sizing: border-box;
}

/* 반응형 이미지 컨테이너 */
@media (max-width: 1024px) {
  .image-container,
  .left-column .image-container,
  .right-column .image-container {
    width: 100%;
    max-width: 100%;
    height: 300px;
    min-height: 300px;
    max-height: 300px;
  }
}

@media (max-width: 768px) {
  /* image-container들을 가로 배열로 유지하면서 크기 줄이기 */
  .left-column .image-container,
  .right-column .image-container {
    width: calc(50% - 5px);
    max-width: calc(50% - 5px);
    min-width: 150px;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 5px;
    margin: 5px;
    align-items: flex-start;
    border: none !important;
    flex: 0 0 auto;
    display: inline-flex;
  }
  
  /* 일반 image-container */
  .image-container {
    width: fit-content;
    max-width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 5px;
    margin: 0 auto;
    align-items: flex-start;
    border: none;
  }
  
  /* left-column과 right-column의 image-container들이 가로로 배열되도록 */
  .left-column,
  .right-column {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
  }
  
  /* sub-header, description 등은 전체 너비 차지 */
  .left-column > .sub-header,
  .left-column > .description,
  .right-column > .sub-header,
  .right-column > .description,
  .left-column > .color-descriptions,
  .right-column > .color-descriptions {
    width: 100%;
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .image-container,
  .left-column .image-container,
  .right-column .image-container {
    width: fit-content;
    max-width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 5px;
    margin: 0 auto;
    align-items: flex-start;
    border: none;
  }
}

/* 로고 이미지 */
.logo-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* left-column 안의 로고 이미지 */
.left-column .logo-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* left-column과 right-column 안의 image-container 통일 */
.left-column .image-container,
.right-column .image-container {
  width: 100%;
  max-width: 100%;
  height: 350px;
  min-height: 350px;
  max-height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #EDEDED;
  background-color: #fff;
  box-sizing: border-box;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

/* left-column 안의 color-descriptions 왼쪽 정렬 */
.left-column .color-descriptions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
  justify-content: flex-start;
  align-items: flex-start;
}

/* image-container 안의 이미지 */
.left-column .image-container .logo-image,
.right-column .image-container .logo-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* right-column 안의 description */
.right-column .description {
  width: 100%;
  max-width: 100%;
  overflow: visible;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.right-column .description h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 15px 0;
  line-height: 1.4;
  width: 100%;
  max-width: 100%;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.right-column .description p {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  width: 100%;
  max-width: 100%;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  text-align: justify;
}

.right-column .description p:last-child {
  margin-bottom: 0;
}

/* right-column 안의 모든 텍스트 요소 */
.right-column * {
  max-width: 100%;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
}

.description p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

/* 반응형 텍스트 */
@media (max-width: 1024px) {
  .description p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .description p {
    font-size: 14px;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .description p {
    font-size: 13px;
    line-height: 1.4;
  }
}

/* 전용색상 섹션 */
.color-descriptions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 20px;
}

.color-group {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 5px;
}

.color-circles {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.color-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
}

.color-circle.green1 { background-color: #86B246; }
.color-circle.green2 { background-color: #56904C; }
.color-circle.blue1 { background-color: #3A6492; }
.color-circle.blue2 { background-color: #5684B1; }
.color-circle.pink1 { background-color: #A53C88; }
.color-circle.pink2 { background-color: #C285AE; }
.color-circle.brown1 { background-color: #746757; }
.color-circle.brown2 { background-color: #BDB89A; }

.color-text {
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.color-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

.color-desc {
  font-size: 15px;
  font-weight: 300;
  color: #666;
}

/* 다운로드 버튼 */
.download-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: flex-end;
}

.download-btn {
  width: 200px;
  height: 60px;
  border: 1px solid #D3D3D3;
  border-radius: 50px;
  background-color: transparent;
/*   font-size: 14px; */
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #333;
}

.download-btn:hover {
  background-color: #F5F5F5;
  border-color: #B0B0B0;
}

/* 색상 카드 */
.color-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
}

.color-swatch {
  width: 60px;
  height: 60px;
  border-radius: 50px;
  margin: 0 0 15px;
}

.color-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px 20px;
}

.color-info p {
  font-size: 14px;
  color: #000000;
  margin: 0 0 5px 0;
}

/* 색상 스와치 */
.phch-lightgreen { background-color: #86B246; }
.phch-green { background-color: #56904C; }
.phch-blue { background-color: #3A6492; }
.phch-lightblue { background-color: #5684B1; }
.phch-pink { background-color: #A53C88; }
.phch-lightpink { background-color: #C285AE; }
.phch-coffee { background-color: #746757; }
.phch-lightcoffee { background-color: #BDB89A; }
.phch-lightgray { background-color: #BEC5C2; }
.phch-darkgray { background-color: #6B6B6C; }
.phch-silver { background-color: #CBCED2; }
.phch-gold { background-color: #B3A56C; }

/* 반응형 */
@media (max-width: 1024px) {
  .four-column {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ci-container {
    padding: 20px 15px;
  }
  
  .ci-section {
    margin-bottom: 60px;
  }
  
  .section-header h2 {
    font-size: 24px;
  }
  
  .two-column {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .two-column > *:nth-child(n+2) .sub-header {
    margin-bottom: 10px;
  }
  
  .four-column {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .image-container {
    width: fit-content;
    max-width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 5px;
    margin: 0 auto;
    align-items: flex-start;
    border: none;
  }
  
  .color-descriptions {
    gap: 20px;
  }
  
  .color-item {
    gap: 12px;
  }
  
  .color-circle {
    width: 18px;
    height: 18px;
  }
  
  .color-item p {
    font-size: 13px;
  }
  
  .download-btn {
    width: 160px;
    height: 50px;
    font-size: 13px;
  }
  
  .download-buttons {
    gap: 8px;
    margin-top: 15px;
  }
}

@media (max-width: 600px) {
  .four-column {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 0px 15px 0px 15px;
  }
}

@media (max-width: 320px) {
  .four-column {
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 0px 15px 0px 15px;
  }
}

@media (max-width: 480px) {
  .ci-container {
    padding: 15px 10px;
  }
  
  .section-header {
    margin-bottom: 30px;
  }
  
  .section-header h2 {
    font-size: 20px;
  }
  
  .sub-header {
    height: 35px;
    min-height: 35px;
  }
  
  .sub-header h3 {
    font-size: 16px;
  }
  
  .color-card {
    padding: 15px;
  }
  
  .download-btn {
    width: 140px;
    height: 45px;
    font-size: 12px;
  }
  
  .download-buttons {
    gap: 6px;
    margin-top: 12px;
  }
  
  .color-swatch {
    width: 60px;
    height: 60px;
  }
  
  .color-info h4 {
    font-size: 14px;
  }
  
  .color-info p {
    font-size: 11px;
  }
}


/*조직도*/
.group_w_val {overflow-y: auto;}
.group_container {
  max-width: 1200px;
  padding: 80px 0 100px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Noto Sans KR', sans-serif;
  position: relative;
  z-index: 0 !important;
  isolation: isolate;
}

/* 조직도 내부 모든 요소의 z-index를 낮춰서 서브메뉴가 위에 표시되도록 */
.group_container * {
  position: relative;
  z-index: 0 !important;
}
.venture {display: flex; flex-direction: row-reverse; background: none; padding: 0px 0px 10px 0px;}
.venture .level-4-title { width: 200px; font-size: 13px;}
.venture .level-4-title h2.rectangle {background-color: #ffffff; color: #2c568a; /* border-radius: 30px; */ border: 1px solid #2c568a;}
.venture .level-4-title h2.rectangle:after {    content: "\f061";  font-family: "Font Awesome 6 Free";  font-weight: 900; padding-left: 10px;}

/* 공통 박스 스타일 */
.org-box {
  display: inline-block;
  width: 250px;
  height: 50px;
  margin: 5px;
  border-radius: 0;
  font-weight: 300;
  font-size: 18px;
  text-align: center;
  border: 1px solid;
  transition: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 클릭할 수 없는 박스들 */
.level-2 .org-box,
.level-3 .org-box,
.level-4 .org-border:last,
.org-facility:nth-child(2), /* 문화예술팩토리 */
.org-facility:nth-child(3), /* 중앙아트홀 */
.org-facility:nth-child(4), /* 공연예술연습공간 */
.org-facility:nth-child(5), /* 귀비고 */
.org-facility:nth-child(6), /* 수협냉동창고 */
.org-facility:nth-child(7)  /* 구룡포생활문화센터 */ {
  cursor: default;
}

/* 색상 구분 */
.org-chairman { 
  background: #3A6492; 
  color: #fff; 
  font-size: 18px;
  font-weight: 700;
  position: relative;
  z-index: 10;
  cursor: default;
}

.org-director { 
  background: #5684B1; 
  color: #fff; 
  border-color: #5684B1; 
  font-size: 18px;
  font-weight: 700;
  position: relative;
  z-index: 9;
  cursor: default;
}

.org-border { 
  background: #fff; 
  border: 0.5px solid #C4C4C4; 
  color: #000; 
  font-size: 18px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
}

.org-border:hover {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #000000;
}

.org-department { 
  background: #C4C4C4; 
  color: #fff; 
  border-color: #C4C4C4; 
  font-size: 16px;
  font-weight: 500;
}

/* org-box org-department가 org-line::before보다 위에 표시되도록 */
.org-box.org-department {
  position: relative;
  z-index: 5 !important;
}

.org-team { 
  background: #CBCED2; 
  color: #333; 
  border-color: #CBCED2; 
  font-size: 16px;
  font-weight: 400;
}

/* 경영기획팀, 시민문화팀, 축제운영팀, P-콘텐츠산업팀 200x50 */
.org-group:nth-child(1) .org-team,
.org-group:nth-child(2) .org-team {
  height: 50px;
}

/* 공간디자인팀, 시설운영팀 250x50 */
.org-group:nth-child(3) .org-team {
  width: 250px;
  height: 50px;
}

.org-facility { 
  background: #fff; 
  color: #746757; 
  border-color: #746757; 
  font-size: 15px;
  font-weight: 400;
  width: 180px;
  height: 50px;
}

/* 각 레벨별 정렬 */
.org-level {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  position: relative;
  margin: 30px 0;
  min-height: 60px;
}

/* 1단계: 이사장 */
.level-1 {
  margin: 0 0 40px 0;
  position: relative;
  z-index: 0; /* level-3보다 낮게 설정 */
}

.level-1::after {
  content: "";
  position: absolute;
  width: 0.5px;
  height: var(--line-height, 410px);
  background: #C4C4C4;
  z-index: -1; /* 대표이사와 사무국장 박스 뒤에 표시 */
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}

/* 2단계: 이사회/감사 (가로 배치) */
.level-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 200px;
  margin: 20px 0;
  position: relative;
  z-index: 1;
}

.level-2::after {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 0.5px;
  background: #C4C4C4;
  z-index: 0;
}

/* 이사회와 감사 박스 사이의 가로선 - level-2에 직접 적용 */
.level-2::before {
  content: "";
  position: absolute;
  left: var(--board-left, 50%);
  top: 50%;
  transform: translateY(-50%);
  width: var(--board-width, 500px);
  height: 0.5px;
  background: #C4C4C4;
  z-index: -1;
}

.level-2 .org-box:last-child::before {
  display: none;
}

/* 3단계: 대표이사/사무국장 (세로 배치) */
.level-3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
  position: relative;
  z-index: 100 !important; /* level-1::after보다 위에 표시 */
}

/* 대표이사와 사무국장 박스가 level-1::after보다 위에 표시되도록 */
.level-3 .org-box,
.level-3 .org-director,
.level-3 .org-border {
  position: relative;
  z-index: 100 !important;
}

/* 4단계: TF팀 (가로 배치) */
.level-4 {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 200px;
  margin: 20px 0;
  position: relative;
  z-index: 1;
  width: 80%;
}

.level-4::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  width: 0.5px;
  height: 20px;
  background: #C4C4C4;
  z-index: -1;
}

.level-4::after {
  content: "";
  position: absolute;
  left: var(--tf-left, 62.5%);
  top: 50%;
  transform: translateY(-50%);
  width: var(--tf-width, 150px);
  height: 0.5px;
  background: #C4C4C4;
  z-index: -1;
}

/* 6단계: 4개 분야를 잇는 가로선 */
.level-6::before {
  content: "";
  position: absolute;
  left: var(--fields-left, 50%);
  top: -25px;
  width: var(--fields-width, 800px);
  height: 0.5px;
  background: #C4C4C4;
  z-index: -1;
}

/* 6단계: 세부 팀 */
.level-6 {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  margin: 4rem 0;
  flex-wrap: wrap;
}

/* 각 분야별 컨테이너 - 분야, 선, 팀을 하나로 묶음 */
.org-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-width: 12rem;
  position: relative;
}

/* 분야 박스 */
.org-group .org-department {
  position: relative;
  z-index: 10;
  background-color: #6B6B6C;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.org-group .org-department:hover {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #000000;
}

/* 분야 박스에서 위로 올라가는 세로선 */
.org-group .org-department::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 0.5px;
  height: 30px;
  background: #C4C4C4;
  z-index: -10;
}

/* 팀 박스들 */
.org-group .org-box {
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: all 0.3s ease;
}

.org-group .org-box:hover {
  background-color: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #000000 !important;
}

/* 콘텐츠 분야 팀들을 가로로 배치 */
.org-group:nth-child(2) {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 연결선 */
.org-line-vertical {
  width: 1px;
  height: 40px;
  background: #C4C4C4;
  margin: 0 20px;
}

/* 시설 라인 왼쪽 세로선 */
.org-line {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  padding-left: 20px;
}

.org-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: -30px;
  bottom: 30px;
  width: 0.5px;
  background: #C4C4C4;
  z-index: 0;
}
.org-line .org-box{
  width: 180px;
}
.org-line .org-box::before{
  content: "";
  position: absolute;
  left: -25px;
  top: 23px;
  bottom: 30px;
  height: 0.5px;
  width: 24px;
  background: #C4C4C4;
  z-index: 0;
}  

/* 반응형 */
/* 592px~1155px: level-6를 2열 레이아웃으로 변경 (경영정책-공간운영 / 콘텐츠-계획공모형) */
@media (min-width: 592px) and (max-width: 1155px) {
  .level-6 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    justify-items: center;
    position: relative;
  }
  
  /* 경영·정책 분야 (1번째) */
  .level-6 .org-group:nth-child(1) {
    order: 1;
  }
  
  /* 콘텐츠 분야 (2번째) */
  .level-6 .org-group:nth-child(2) {
    order: 2;
  }
  
  /* 공간운영 분야 (3번째) - 경영정책 아래 */
  .level-6 .org-group:nth-child(3) {
    order: 3;
  }
  
  /* 계획공모형 사업TF팀 (4번째) - 콘텐츠 아래 */
  .level-6 .org-group:nth-child(4) {
    order: 4;
  }
  
  /* 기존 가로선 숨김 */
  .level-6::before {
    display: none;
  }
  
  /* org-group에 position: relative 추가 */
  .level-6 .org-group {
    position: relative;
  }
  
  /* 첫 번째 행 가로선: 경영정책분야와 콘텐츠분야 연결 */
  .level-6 .org-group:nth-child(1)::after {
    content: "";
    position: absolute;
    left: var(--row1-line-left, 50%);
    top: var(--row1-line-top, 25px);
    width: var(--row1-line-width, 200px);
    height: 0.5px;
    background: #C4C4C4;
    z-index: -1;
  }
  
  /* 두 번째 행 가로선: 공간운영분야와 계획공모형 사업TF팀 연결 */
  .level-6 .org-group:nth-child(3)::after {
    content: "";
    position: absolute;
    left: var(--row2-line-left, 50%);
    top: var(--row2-line-top, 25px);
    width: var(--row2-line-width, 200px);
    height: 0.5px;
    background: #C4C4C4;
    z-index: -1;
  }
}

/* 1155px~592px: level-1::after가 두 번째 행 가로선까지 오도록 조정 */
@media (min-width: 592px) and (max-width: 1155px) {
  .level-1::after {
    height: var(--line-height-row2, var(--line-height, 410px));
  }
}

/* 591px 이하: 조직도 컨텐츠들을 한줄로 배치 */
@media (max-width: 591px) {
  /* level-2, level-3, level-4를 세로 배치 및 중앙 정렬 */
  .level-2, .level-3, .level-4 {
    flex-direction: column !important;
    gap: 20px !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  /* level-6를 한줄로 배치 및 중앙 정렬 - 1155px 미디어 쿼리의 2열 레이아웃 무효화 */
  .level-6 {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    grid-template-columns: none !important; /* grid 레이아웃 무효화 */
    justify-content: center !important;
    align-items: center !important;
  }
  
  .level-6 .org-group {
    order: 0 !important; /* order 초기화 */
  }
  
  /* level-1도 중앙 정렬 */
  .level-1 {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  /* level-4 다음에 level-6가 오도록 */
  .level-4 {
    margin-bottom: 0;
  }
  
  .level-6 {
    margin-top: 20px;
  }
  
  /* level-1::after가 이사장부터 구룡포 피어라운지까지 한 줄로 연결되도록 */
  .level-1::after {
    height: var(--line-height-full, 1000px) !important; /* 전체 높이로 조정 */
  }
  
  /* org-line::before, org-line .org-box::before, org-group .org-department::before 숨김 */
  .org-line::before {
    display: none !important;
  }
  
  .org-line .org-box::before {
    display: none !important;
  }
  
  .org-group .org-department::before {
    display: none !important;
  }
  
  /* level-6의 ::before 가로선 숨김 */
  .level-6::before {
    display: none !important;
  }
  
  /* level-6의 2열 레이아웃 가로선도 숨김 */
  .level-6 .org-group:nth-child(1)::after,
  .level-6 .org-group:nth-child(3)::after {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .group_container {
    padding: 40px 20px;
  }
  
  .org-box {
    padding: 10px 15px;
    font-size: 16px;
    margin: 3px;
  }
  
  .org-chairman {
    font-size: 18px;
    padding: 15px 30px;
    z-index: 100 !important; /* 이사장 텍스트가 가로선 위에 표시되도록 */
  }
  
  .level-2, .level-3, .level-4 {
    gap: 50px;
  }
  
  .org-group {
    min-width: 150px;
  }
}

/* 768px~622px: level-2::before가 이사장 텍스트를 가리지 않도록 조정 */
@media (min-width: 622px) and (max-width: 768px) {
  .level-2::before {
    z-index: -10 !important; /* 가로선을 더 뒤로 보냄 */
  }
  
  .org-chairman {
    z-index: 100 !important; /* 이사장 텍스트가 가로선 위에 표시되도록 */
    position: relative;
  }
  
  .level-1 {
    z-index: 50 !important; /* level-1 컨테이너도 위에 표시되도록 */
  }
}

/* 480px 이하: level-6를 level-4 아래로 이동하고 선들을 한줄로 정렬 */
@media (max-width: 480px) {
  .level-2, .level-3, .level-4 {
    flex-direction: column;
    gap: 20px;
  }
    
  .level-6 {
    flex-direction: column;
    gap: 20px;
    order: 5; /* level-4 다음에 오도록 */
  }
  
  /* level-4 다음에 level-6가 오도록 */
  .level-4 {
    margin-bottom: 0;
  }
  
  .level-6 {
    margin-top: 20px;
  }
  
  /* level-1::after와 org-department::before가 한줄로 보이도록 */
  .level-1::after {
    height: calc(var(--line-height, 410px) - 100px); /* 높이 조정 */
  }
  
  .org-group .org-department::before {
    top: -20px; /* 위치 조정 */
    height: 20px;
  }
  
  /* level-6의 ::before 가로선 숨김 */
  .level-6::before {
    display: none;
  }
}


.level-1-1-wrapper:nth-child(3) {top: 15px;}
.level-1-1-wrapper:nth-child(4) {top: 30px;}
.level-1-1-wrapper:nth-child(5) {top: 30px;z-index: 1;}

.level-1-1-wrapper::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 33%;
  width: 33%;
  height: 1px;
  background:#bcbcbc;
}
.level-1-1-wrapper:nth-child(3)::before, .level-1-1-wrapper:nth-child(4)::before {display:none;}
.level-1-1-wrapper:nth-child(5)::before {width: 17%;}

.level-1-1-wrapper::after {
  display: none;
  content: "";
  position: absolute;
  left: -20px;
  bottom: -20px;
  width: calc(100% + 20px);
  height: 1px;
  background: #bcbcbc;
}
.level-1-1 {
  	width: 100%;
    margin: 0 0px 0px 0px;
    background: #4babdd;
    border: 1px solid #4babdd;
    font-size: 18px;
    border-radius: 50px;
    top: 0px;
    color: #fff;
}
.level-1-1-wrapper li p {
  background: #eeeeee;
  padding: 10px;
  border: 1px solid #cccccc;
  top: 17px;
  position: relative;
  font-size: 14px;
}
.level-1-1-wrapper li p::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  -webkit-transform: translate(-50%, -100%);
  transform: translate(-50%, -100%);
  width: 2px;
  height: 8px;
  background: #b2b2b2;
}
.level-1-1-wrapper:nth-child(2) .level-1-1 {background: #4babdd; border: 1px solid #4babdd; border-radius: 50px;color: #4babdd;background: #ffffff;}
.level-1-1-wrapper:nth-child(3) .level-1-1, .level-1-1-wrapper:nth-child(4) .level-1-1 {background: #4babdd; border: 1px solid #4babdd; border-radius: 50px;transition: 0.4s;}


.level-2-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  padding-top: 76px;
}

.level-2-wrapper::before {
  content: "";
  position: absolute;
  top: 57px;
  left: 6.8%;
  width: 86.35%;
  height: 1px;
  background: #bcbcbc;
}

.level-2-wrapper::after {
  display: none;
  content: "";
  position: absolute;
  left: -20px;
  bottom: -20px;
  width: calc(100% + 20px);
  height: 2px;
  background: #b2b2b2;
}

.level-2-wrapper li {
  position: relative;
  top: 0px;
  letter-spacing: -1.5px;
  text-align: center;
}

.level-2-wrapper li ol li {margin-top: -1px;}

.level-2::after {
  display: none;
  content: "";
  position: absolute;
  top: 50%;
  left: 0%;
  -webkit-transform: translate(-100%, -50%);
          transform: translate(-100%, -50%);
  width: 20px;
  height: 2px;
  background: #b2b2b2;
}

.level-3-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-column-gap: 10px;
  margin: 0 auto;
}

.level-3-wrapper::before {
  content: "";
    position: absolute;
    top: 8px;
    left: calc(25% - 6px);
    width: calc(50% + 12px);
    height: 2px;
    background: #b2b2b2;
    display: none;
}

.level-3-wrapper > li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translate(-50%, -100%);
          transform: translate(-50%, -100%);
  width: 1px;
  height: 18px;
  background: #bcbcbc;
}

/* .level-3:before {content: ""; position: absolute;top:-33px;left: 44%;width: 25px; height: 25px; background-size: 25px;} */

.level-4-wrapper {
  position: relative;
  width: 100%;
  margin-left: auto;
  top: 36px;
}

.level-4-wrapper::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 50%;
  width: 4px;
  height: calc(100% + 0px);
  background:#00a9a1;
  z-index: 0;
  display:none;
}

.level-4-wrapper li + li {
  margin-top: -1px; 
}

.level-4 a {color: #0e67a9;}
.level-4 span {color: #2c568a;}
.level-4::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0%;
  -webkit-transform: translate(-100%, -50%);
          transform: translate(-100%, -50%);
  width: 20px;
  height: 2px;
  background: #b2b2b2;
  display: none;
}
.bg_1 {background: #ffffff !important; color: #0e67a9 !important; border: 1px solid #0e67a9 !important;}
.bg_2 {background:#00a981 !important; color: #ffffff !important; border: 1px solid #00a981 !important;}

.group_title {margin: 10px auto;  width: max-content; margin-top: 40px;}
.group_title h3 { background: linear-gradient(to left, #074377 30%, #0080cc); border-radius: 50px; color: #ffffff;padding: 15px 40px; font-size: 20px;}
.group_title h3:after {content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-left: 20px; }
.tel_ic i, .tel_ic svg, .mail_ic i, .mail_ic svg  {font-size: 30px; color: #00a981; cursor: pointer;}
.tel_ic1 i, .tel_ic1 svg {font-size: 24px; color:#077763;vertical-align: middle; cursor: pointer;}
.pop_tel {border:1px solid #e7e7e7;padding:1.5rem 1.2rem;margin:1rem 0;position:relative; display: flex; flex-direction: column; gap: 0.75rem;}
.pop_tel .telbox  {background: #f8f8f8; padding: 20px;}
.pop_tel .telbox span {padding-right:10px; }

.group_search_box { background: #f9f9f9; position: relative; margin-bottom: 15px; padding: 13px 10px;    text-align: center;}
.group_search_box .s_btn { display:inline-block; vertical-align: middle; height:40px; width:40px; padding:0; background:transparent url(/resources/view/phcf/images/search_icon.png) no-repeat center center; background-size: 20px 20px; border:none; border-radius:0; cursor:pointer; font-size: 0; text-indent: -9999px; overflow: hidden; position: relative;}
.group_search_box .s_btn::before { content: "🔍"; font-size: 20px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: block;}


    .organization ul li{display: flex; justify-content: center; align-items: center; padding: 20px 5px; text-align: center;}
	.organization ul li:nth-child(1){width: 10%; }
	.organization ul li:nth-child(2){width: 10%; border-left: 1px solid #ccc;}
	.organization ul li:nth-child(3){width: 70%; border-left: 1px solid #ccc; text-align: center;}
	.organization ul li:nth-child(4){width: 10%; border-left: 1px solid #ccc;}
	.organization ul.organization_body li:nth-child(3){justify-content: flex-start; text-align: left; padding: 25px; line-height: 25px;}
	.level-1-1-wrapper:nth-child(5)::before {width: 33%;}
	.organization_haed{display: flex; justify-content: space-between; font-weight: 600; background: #f7f7f7; border-bottom: 1px solid #ccc; border-top: 2px solid #323232;}
	.organization_body{display: flex; justify-content: space-between; font-size: 14px;border-bottom: 1px solid #ccc;}
	li.level-3-top-title{position: absolute; border: 1px solid #0e67a9; background: #fff; text-align: center;}  
	li.level-3-top-title a{display: block; padding: 10px; color: #0e67a9; font-weight: 600;}   
	li.level-3-top-title:nth-child(1){width: 13.6%; margin-top: -1px;} 
	li.level-3-top-title:nth-child(3){width: 42.4%; margin-left: 14.4%; margin-top: -1px;} 
	li.level-3-top-title:nth-child(7){width: 28%; margin-left: 57.5%; margin-top: -1px;} 
	.level-2-wrapper > li > ol > li {margin-top: 62px;}
	.level-3-wrapper > li.no-team::before{height: 80px; }
	.sub_page h4{margin-top: -2px;}

    /* 반응형 */
@media screen and (max-width: 820px) {
  .level-1-1-wrapper {grid-column-gap: 10px;}
}

@media screen and (max-width: 768px) {
.group_w_val {overflow: hidden;}
.group_container {padding: 0 20px 20px 20px; min-width: 300px;}
.level-1::before { height: 148vh; top: 99%;}
  .level-1-1,
  .level-2,
  .level-3 {
    width: 100%;
    letter-spacing: -1px;
  }
  .level-1-1, .level-1-1 { font-size: 15px !important;}
  .level-1-1 {margin:5px 0px;top: 0px;}
  .level-1_txt {display: block;}
  .level-2, .level-3, .level-4 { font-size: 13px !important; height: auto; }
  .level-3:before {display: none;}
  .level-3-wrapper {width: 100%;grid-template-columns: repeat(1, 1fr);}
  
  .level-2-wrapper > li::before, .level-4-wrapper::before {
    display: none;
  }
  /* .level-2-wrapper::after {display: none !important;} */
  .level-1-1-wrapper,
  .level-2-wrapper
  {
    display: block;
  }
  .level-2-wrapper::after,
  .level-2::after,
  .level-3-wrapper::before {
    display: none;
}
  .level-1-1-wrapper,
  .level-2-wrapper { width: 100%; margin-left: 0%;padding-top: 0px;top: 0px !important;  }
  .level-1-1-wrapper li p {top: -8px;}

  .level-2-wrapper::before {
    left: -20px;
    width: 2px;
    height: calc(100% + 40px);
    display: none;
  }

  .level-2::before {
    top: 50% !important; /* 이사회와 감사 박스 사이의 가로선 위치 */
    height: 0.5px !important; /* 가로선 높이 */
    width: var(--board-width, 500px) !important; /* 가로선 너비 */
    left: var(--board-left, 50%) !important; /* 가로선 시작 위치 */
    transform: translateY(-50%) !important; /* 수직 중앙 정렬 */
    z-index: -99 !important;
  }  
  .level-1-1-wrapper li p::before {top: 72px; height: 95px;z-index: -99; left: 50.4%;}
  .level-3-wrapper > li::before { height: 41px;top: 41px; display: none;}
  .level-2-wrapper li {top: 0px;}
  .level-4::after {left: var(--tf-left, 50%);}
  .level-4 {top: 7px; width: 100%;}  
  .level-4-wrapper::before {top: -84px;height: calc(100% + 30px);z-index: -99;}
  .level-4-wrapper {top: -5px;margin-bottom: 10px;}
  
  .group_search_box .s_btn {width: 40px !important; height: 40px !important; padding: 0 !important; background:transparent url(/resources/view/phcf/images/search_icon.png) no-repeat center center !important; background-size: 20px 20px !important; border:none !important; border-radius:0 !important; font-size: 0 !important; text-indent: -9999px !important; overflow: hidden !important; position: relative !important;}
  .group_search_box .s_btn::before { content: "🔍" !important; font-size: 20px !important; position: absolute !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; display: block !important;}
  .group_search_box input[type=text] {width: calc(100% - 50px) !important;}  
  /* .organization_haed li:nth-child(4) {display:none;} */
  .organization_body { flex-wrap: wrap; background: #fcfcfc;}
  .organization_body li:nth-child(1), .organization_body li:nth-child(2) {width: 50% !important; border-left: 0px !important; border-right: 0px !important; padding: 10px 5px; }
  .organization_body li:nth-child(3), .organization_body li:nth-child(4) {width: 100% !important; padding: 10px 5px;}
  .organization ul li { font-size: 14px; padding: 10px 5px !important; border-left: 0px solid #ccc !important; border-right: 0px solid #ccc !important; width: 50% !important; justify-content: flex-start;}  
  
  li.level-3-top-title:nth-child(1),
  li.level-3-top-title:nth-child(3),
  li.level-3-top-title:nth-child(7){position: unset; width: 100%; margin-left:0; margin-top: 10px;} 
  .level-2-wrapper li ol li {margin-top: 0px;}
  .bg_1{border-top: 0px !important;}
}

@media screen and (max-width: 588px){
  .level-4::after {display: none;}
	}

@media screen and (max-width: 400px){
	.organization ul li{font-size: 12px}
	}

  /* 오시는길 페이지 */
  .location-container {
    margin: 0 auto;
    padding: 0px;
  }

	.location-tabs {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
		margin-bottom: 30px;
		justify-content: center;
		list-style: none;
		padding: 0;
	}

	.location-tab {
		padding: 12px 20px;
		cursor: pointer;
		border-radius: 30px;
		font-size: 18px;
		transition: all 0.3s ease;
		min-width: 120px;
		text-align: center;
		background: #f5f5f5;
	}

	.location-tab:hover {
		background: #d0d0d0;
		border-color: #666;
	}

	.location-tab.active {
		background: linear-gradient(to right, #5684B1, #3A6492);
		color: #fff;
		border-color: #3A6492;
		font-weight: 500;
	}

  .content-area {
    background: #fff;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
  }

  .location-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
  }

  .location-info img {
    width: 20px;
    height: 20px;
  }

  .location-info span {
    font-size: 18px;
    font-weight: 600;
    color: #333;
  }

	/* 지도 영역 반응형 처리 */
	.map-container {
		width: 100%;
		height: 400px;
		position: relative;
		overflow: hidden;
		margin-bottom: 0;
	}

	/* 다음 지도 컨트롤러 숨기기 */
	.root_daum_roughmap .wrap_controllers {
		display: none !important;
	}

	/* 다음 지도 크기 설정 */
	#map,
	.root_daum_roughmap {
		position: absolute;
		top: 0;
		left: 0;
		width: 100% !important;
		height: 100% !important;
		border-radius: 8px;
	}

	.contact-info {
		position: relative;
		z-index: 10;
		background-color: #fff;
		padding: 10px 20px;
		border-top: 0.5px solid #ddd;
	}

  .contact-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
  }

  .contact-item:last-child {
    margin-bottom: 0;
  }

  .contact-icon {
    width: 18px;
    margin-right: 15px;
    flex-shrink: 0;
  }

  .contact-text {
    color: #666;
    line-height: 1.5;
  }

	/* 화면 크기에 따라 비율 변경 */
	@media (max-width: 1200px) {
		.map-container {
			height: auto;
			aspect-ratio: 16 / 10;
		}
	}

	/* 반응형 디자인 */
	@media (max-width: 768px) {
		.map-container {
			height: auto;
			aspect-ratio: 16 / 12;
		}
		.location-container {
			padding: 10px;
			width: 100%;
			box-sizing: border-box;
		}

		.location-tabs {
			gap: 5px;
			margin-bottom: 20px;
		}

		.location-tab {
			padding: 10px 15px;
			font-size: 12px;
			min-width: 100px;
		}

    .location-header {
      padding: 15px;
    }

    .location-title {
      font-size: 18px;
    }

    .contact-info {
      padding: 15px;
      background: #fff;
    }

    .contact-item {
      margin-bottom: 10px;
      padding: 8px 0;
    }

    .contact-text {
      font-size: 13px;
    }

    .content-area {
      margin: 0;
    }
  }

	@media (max-width: 480px) {
		.map-container {
			height: auto;
			aspect-ratio: 16 / 14;
		}

		.location-container {
			padding: 5px;
			width: 100%;
			box-sizing: border-box;
		}

		.location-tabs {
			align-items: center;
		}

		.location-tab {
			width: 47%;
			max-width: 300px;
		}

    .contact-info {
      padding: 10px;
      background: #fff;
    }

    .contact-item {
      margin-bottom: 8px;
      padding: 6px 0;
    }

    .contact-text {
      font-size: 12px;
    }

    .content-area {
      margin: 0;
    }
  }



  /*재단소개 정보공개*/
  .InfoOpenWay{text-align: center; margin-bottom: 40px;}
  .InfoOpenWay ul li {font-size: 14px; line-height: 18px; vertical-align: top; display: inline-block; text-align: center; width: 24%;}
  .InfoOpenWay ul li img{display: block; margin: 20px auto;}
  .InfoOpenWay ul li span.InfoOpenWay_title{margin-bottom: 10px; display: block; font-size: 17px; font-weight:600;}
  
  /*사전정보공표*/
  .InfoDisclosure_tb .btn_radius {margin-left:10px;}
  .content_box_rap {width:33%; height: 340px; display: inline-block; overflow: hidden; margin-top: 40px; position: relative;}
  
  .content_box{width: 100%; min-height: 340px; position: absolute; top:0; overflow:hidden; display:inline-block !important;  top:0;  left:0; transition:0.5s;}
  .InfoDisclosure_back_img1{background:url("/resources/view/phcf/images/contents/InfoDisclosure_img1.png"); background-size: cover;}
  .InfoDisclosure_back_img2{background:url("/resources/view/phcf/images/contents/InfoDisclosure_img2.png"); background-size: cover;}
  .InfoDisclosure_back_img3{background:url("/resources/view/phcf/images/contents/InfoDisclosure_img3.png"); background-size: cover;}
  
  .content_box_rap:hover .content_box{width:100%; height:100%;
           -webkit-transform: scale(1.1s);
              -moz-transform: scale(1.1);
              -o-transform: scale(1.1);
              transform: scale(1.1);
  }
  .content_box_rap:hover .goBtn{ background: #226cd2;color: #fff;border: 0px solid #84b14c;}
  .content_box::before {content:""; display:none; height: 100%; width: 100%; position: absolute; top:0; left:0; background-color: rgba(0, 0, 0.1);}
  .text_1{font-size: 20px;font-weight: 600;text-align: center;margin:30px;}
  .textSpan {z-index: 1;position:absolute;top:62px;text-align: center; margin: 0 auto;width: 100%;;color: #fff;}
  .text_2{line-height: 20px;text-align: center;margin-top: 30px;}
  .goBtn{font-size: 12px; padding: 10px 20px; border-radius: 30px; display: inline-block; transition: 0.3s;background: white; border: 0px solid black;margin-top: 30px;}
  .goBtn_2 {margin-left: 44px;}
  
  .underline {width:50px;height:3px;background: #56aff7;display:block;    margin: 0 auto;}
  .sub_top_text { margin-bottom: 30px; text-align: justify;}

  html.color_change .InfoOpen .dark_box1 {background: #f5f5f5 !important;}

  @media (max-width: 1300px) {
    .tabcontent.current img.img_center {width: 100%;}

  }

  @media (max-width: 768px) {
    .InfoOpenWay ul {display: flex; flex-direction: column;}
    .InfoOpenWay ul li {width: 100%;}
    .sub_top_text {font-size: 16px;}
  }

  html.color_change .depth3_menu {filter: invert(1);}


/* ===================== 제휴가맹점 안내 ===================== */
.partner-section {
    margin-top: 40px;
}

.partner-section h2 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.partner-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 450px));
    gap: 25px;
    margin-bottom: 50px;
    justify-content: center;
}

.partner-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.partner-card-header {
    background: linear-gradient(135deg, #3e3127 0%, #000000 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.partner-card-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

.partner-card-body {
    padding: 25px;
    flex: 1;
}

.partner-image {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
}

.partner-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.partner-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.partner-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.partner-info-item i {
    color: #3e3127;
    font-size: 18px;
    margin-right: 12px;
    margin-top: 3px;
    min-width: 20px;
}

.partner-info-content {
    flex: 1;
}

.partner-info-label {
    font-weight: 600;
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.partner-info-value {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.partner-benefit {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    margin-top: 5px;
}

.partner-benefit .partner-info-value {
    color: #2d8659;
    font-weight: 500;
}

.partner-link-btn {
    display: block;
    margin: 0 25px 25px 25px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #3e3127 0%, #000000 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
    text-align: center;
    margin-top: auto;
}

.partner-link-btn:hover {
    background: linear-gradient(135deg, #000000 0%, #3e3127 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.partner-link-btn i {
    margin-left: 5px;
}

@media screen and (max-width: 768px) {
    .partner-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .partner-section h2 {
        font-size: 24px;
    }
}

/* =============================
   문화행사정보 등록방법
============================= */
.event-registration-wrapper {
  padding: 0px 10%;
  margin:50px auto;
}

.event-registration-wrapper .main-title-section {
  text-align: center;
  margin-bottom: 80px;
}

.event-registration-wrapper .main-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 0;
}

.registration-steps-container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.registration-step {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 20px 0px;
  background: transparent;
  border-top: 1px solid #bcbcbc;
}

.registration-step-number {
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  padding-top: 5px;
}

.step-content {
  flex: 1;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.step-content h3 {
  font-size: 23px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.5;
}

.step-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 8px;
}

.step-content p:last-child {
  margin-bottom: 0;
}

.step-content p img {padding: 30px;  border: 1px solid #eee;max-width: 100%;margin: 0px !important;}

.step-notice {
  margin-top: 12px;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.registration-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
  margin-bottom: 40px;
}

.btn-registration {
  display: inline-block;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  min-width: 200px;
}

.btn-registration.btn-primary {
  background: linear-gradient(135deg, #3A6492 0%, #5684B1 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(58, 100, 146, 0.3);
}

.btn-registration.btn-primary:hover {
  background: linear-gradient(135deg, #5684B1 0%, #3A6492 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(58, 100, 146, 0.4);
}

.btn-registration.btn-secondary {
  background: #fff;
  color: #3A6492;
  border: 2px solid #3A6492;
}

.btn-registration.btn-secondary:hover {
  background: #3A6492;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(58, 100, 146, 0.3);
}

/* 반응형 */
@media (max-width: 768px) {
  .event-registration-wrapper {
    padding: 0px 3%; margin: 0px auto;
  }
  
  .event-registration-wrapper .main-title-section {
    margin-bottom: 50px;
  }
  
  .event-registration-wrapper .main-title {
    font-size: 26px;
  }
  
  .registration-steps-container {
    gap: 40px;
  }
  
  .registration-step {
    gap: 25px;
  }
  
  .step-number {
    font-size: 20px;
  }
  
  .step-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .step-content p {
    font-size: 15px;
  }
  
  .registration-buttons {
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    gap: 15px;
  }
  
  .btn-registration {
    width: 100%;
    max-width: 300px;
    padding: 14px 30px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  
  .event-registration-wrapper .main-title-section {
    margin-bottom: 40px;
  }
  
  .event-registration-wrapper .main-title {
    font-size: 22px;
  }
  
  .registration-steps-container {
    gap: 35px;
  }
  
  .registration-step {
    gap: 20px;
    flex-direction: column;
  }
  
  .step-number {
    font-size: 18px;
    padding-top: 0;
  }
  
  .step-content h3 {
    font-size: 17px;
    margin-bottom: 8px;
  }
  
  .step-content p {
    font-size: 14px;
  }
  
  .step-notice {
    font-size: 13px;
    margin-top: 10px;
  }
  
  .btn-registration {
    font-size: 15px;
    padding: 12px 25px;
  }
}

/* sub-tabs 스타일 */
.sub-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 100px;
  border-bottom: 2px solid #ddd;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.sub-tabs.scrollable {
  justify-content: flex-start;
}

.sub-tabs::-webkit-scrollbar {
  height: 6px;
}

.sub-tabs::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.sub-tabs::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.sub-tabs::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.sub-tab {
  padding: 12px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #666;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.sub-tab:hover {
  color: #333;
}

.sub-tab.active {
  color: #333;
  border-bottom-color: #333;
}

/* 서브 탭 컨텐츠 */
.sub-tab-content {
  display: none;
}

.sub-tab-content.active {
  display: block !important;
}

@media (max-width: 768px) {
  textarea{font-size: 14px;}
  .sub-tabs {
      overflow-x: auto;
      gap: 0;
      -webkit-overflow-scrolling: touch;
      /*padding: 10px 0;     */
      justify-content: unset;
  }
  
  .sub-tab {
      padding: 10px 20px;
      font-size: 0.9rem;
      white-space: nowrap;
      flex-shrink: 0;
  }
  .safety-info-box p{font-size: 14px;}
}
/*대관소개*/

.facility-intro-container {
  padding: 0 5%;
  max-width: 100%;
  box-sizing: border-box;
}

.intro-header {
  text-align: center;
  margin-bottom: 50px;
}

.intro-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.intro-header p {
  font-size: 1.1rem;
  color: #7f8c8d;
  line-height: 1.8;
}

/* 메인 탭 메뉴 (시설별) */
.facility-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 50px;
  border-bottom: 2px solid #333;
  overflow-x: auto;
  max-width: 100%;
  box-sizing: border-box;
}

.facility-tab {
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #666;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  top: 2px;
}

.facility-tab:hover {
  color: #333;
}

.facility-tab.active {
  color: #333;
  border-bottom-color: #333;
}

/* 시설 섹션 */
.facility-section {
  display: none;
}

.facility-section.active {
  display: block;
}

.sub-tab {
  padding: 12px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #666;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.sub-tab:hover {
  color: #333;
}

.sub-tab.active {
  color: #333;
  border-bottom-color: #333;
}
/* 서브-서브 탭 컨텐츠 */
.inner-tab-content {
  display: none;
}

.inner-tab-content.active {
  display: block;
}

/* 공간안내 내부 탭 */
.space-info-tabs {
  padding: 8px;
  margin-bottom: 30px;
  background: #f5f5f5;
  border-radius: 12px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.space-info-tab {
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 500;
  color: #666;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  flex: 1;
  white-space: nowrap;
}

.space-info-tab:hover {
  color: #333;
  background: rgba(255, 255, 255, 0.6);
}

.space-info-tab.active {
  color: #fff;
  font-weight: 600;
  background: #000;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.space-info-tab.active:hover {
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.space-info-tab-content {
  display: none;
}

.space-info-tab-content.active {
  display: block;
}

/* 구역 버튼 스타일 */
.area-buttons-container{padding: 8px;
  margin-bottom: 30px;
  background: #f5f5f5;
  border-radius: 12px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);}
/* areaButtonsContainer 스타일 */
#areaButtonsContainer {
  display: flex !important;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  width: 100% !important;
}

/* areaButtonsContainer 내부의 빈 span 제거 */
#areaButtonsContainer > span:empty,
#areaButtonsContainer > span:not(:has(*)):not(:has(text)) {
  display: none !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.area-btn {
  min-width: 200px;
  padding: 10px 20px;
  font-size: 1.0rem;
  font-weight: 500;
  color: #666;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  white-space: nowrap;
  margin-right: 0 !important; /* JavaScript에서 설정한 marginRight 제거 */
}

/* 화면 크기별 area-btn min-width 조정 */
@media (max-width: 1280px) {
  .area-btn {
    min-width: 254px;
  }
}

@media (max-width: 1200px) {
  .area-btn {
    min-width: 180px;
  }
}

@media (max-width: 1024px) {
  .area-btn {
    min-width: 181px;
  }
}

@media (max-width: 912px) {
  .area-btn {
    min-width: 229px;
  }
}

@media (max-width: 900px) {
  .area-btn {
    min-width: 140px;
  }
}

@media (max-width: 820px) {
  .area-btn {
    min-width: 189px;
  }
}

@media (max-width: 540px) {
  .area-btn {
    min-width: 160px;
  }
}

@media (max-width: 430px) {
  .area-btn {
    min-width: 191px;
  }
}

@media (max-width: 414px) {
  .area-btn {
    min-width: 180px;
  }
}

@media (max-width: 412px) {
  .area-btn {
    min-width: 183px;
  }
}

@media (max-width: 390px) {
  .area-btn {
    min-width: 172px;
  }
}

@media (max-width: 360px) {
  .area-btn {
    min-width: 158px;
  }
}

@media (max-width: 344px) {
  .area-btn {
    min-width: 151px;
  }
}

.area-btn:hover {
  background: #f8f9fa;
  border-color: #333;
}

.area-btn.active {
  color: #fff;
  font-weight: 600;
  background: #000;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* 공간 소개 섹션 */
.space-intro {
  margin-bottom: 60px;
  display: flex;
  gap: 5%;
  align-items: flex-start;
  max-width: 100%;
  position: relative;
}

.space-title-section {
  flex: 0 0 250px;
  position: -webkit-sticky;
  position: sticky;
  top: 150px;
}
.space-intro h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
}
.space-title-tabs {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin-bottom: 30px;
}

.space-title-tab {
  padding: 25px 30px 25px 20px;
  font-size: 1.1rem;
  font-weight: 500;
  color: #666;
  background: none;
  border: none;
  border-bottom: 1px solid #cccc;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: right;
  position: relative;
}

.space-title-tab:hover {
  color: #000;
  transform: translateX(-4px);
}

.space-title-tab.active {
  font-weight: 600;
  border-color: #000;
  transform: translateX(-4px);
  color: #000;
}

.space-title-tab.active::before {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20%;
  background: #000;
}

@media (max-width: 1000px) {
  .space-title-tab.active::before {
    display: none;
  }
  
  .space-title-tabs {
    border-bottom: 1px solid #ccc;
    margin-bottom: 30px;
  }
  
  .space-title-tab {
    border-bottom: none;
  }
  /* member-sub-tabs 모바일 스타일 - 기본 그리드 (6개 탭용) */
  .member-sub-tabs:not(.tabs-3):not(.tabs-4),
  div.member-sub-tabs:not(.tabs-3):not(.tabs-4),
  .space-content-section .member-sub-tabs:not(.tabs-3):not(.tabs-4) {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 0 !important;
    margin-bottom: 30px !important;
    border: 2px solid #333 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    overflow: hidden !important;
    width: 100% !important;
    flex-direction: unset !important;
    flex-wrap: unset !important;
  }
  
  /* member-sub-tabs 기본 스타일 (클래스가 없을 때) - 완전히 숨김 */
  .member-sub-tabs:not([class*="tabs-"]),
  div.member-sub-tabs:not([class*="tabs-"]),
  .space-content-section .member-sub-tabs:not([class*="tabs-"]) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  
  /* 클래스가 추가된 후에만 표시 */
  .member-sub-tabs[class*="tabs-"],
  div.member-sub-tabs[class*="tabs-"],
  .space-content-section .member-sub-tabs[class*="tabs-"] {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* #members가 숨겨져 있을 때는 .member-sub-tabs도 숨김 */
  #members[style*="display: none"],
  #members:not(.active) {
    display: none !important;
  }
  
  #members[style*="display: none"] .member-sub-tabs,
  #members:not(.active) .member-sub-tabs {
    display: none !important;
  }
  
  /* 3개 탭: 1행 3열 */
  .member-sub-tabs.tabs-3,
  div.member-sub-tabs.tabs-3,
  .space-content-section .member-sub-tabs.tabs-3 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: 1fr !important;
    grid-auto-rows: 1fr !important;
    gap: 0 !important;
    margin-bottom: 30px !important;
    border: 2px solid #333 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    overflow: hidden !important;
    width: 100% !important;
  }
  
  /* 4개 탭: 2행 2열 */
  .member-sub-tabs.tabs-4,
  div.member-sub-tabs.tabs-4,
  .space-content-section .member-sub-tabs.tabs-4 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    grid-auto-rows: 1fr !important;
    gap: 0 !important;
    margin-bottom: 30px !important;
    border: 2px solid #333 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    overflow: hidden !important;
    width: 100% !important;
  }
  
  /* 6개 탭: 2행 3열 */
  .member-sub-tabs.tabs-6,
  div.member-sub-tabs.tabs-6,
  .space-content-section .member-sub-tabs.tabs-6 {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    grid-auto-rows: 1fr !important;
  }
  
  .member-sub-tab,
  button.member-sub-tab,
  .member-sub-tabs button,
  .member-sub-tabs .member-sub-tab {
    width: 100% !important;
    padding: 15px 8px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #666 !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    top: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    min-height: 50px !important;
  }
  
  /* 첫 번째 행의 탭들 - 상단 테두리 제거 (동적으로 처리) */
  .member-sub-tab:nth-child(1),
  .member-sub-tab:nth-child(2),
  .member-sub-tab:nth-child(3),
  .member-sub-tab:nth-child(4) {
    border-top: none !important;
  }
  
  /* 첫 번째 열의 탭들 - 왼쪽 테두리 제거 */
  .member-sub-tab:nth-child(1),
  .member-sub-tab:nth-child(3),
  .member-sub-tab:nth-child(5) {
    border-left: none !important;
  }
  
  /* 3개 탭: 첫 번째 열 왼쪽 테두리 제거 */
  .member-sub-tabs.tabs-3 .member-sub-tab:nth-child(1) {
    border-left: none !important;
  }
  
  /* 3개 탭: 마지막 열 오른쪽 테두리 제거 */
  .member-sub-tabs.tabs-3 .member-sub-tab:nth-child(3) {
    border-right: none !important;
  }
  
  /* 3개 탭: 하단 테두리 제거 */
  .member-sub-tabs.tabs-3 .member-sub-tab:nth-child(1),
  .member-sub-tabs.tabs-3 .member-sub-tab:nth-child(2),
  .member-sub-tabs.tabs-3 .member-sub-tab:nth-child(3) {
    border-bottom: none !important;
  }
  
  /* 4개 탭: 첫 번째 열 왼쪽 테두리 제거 */
  .member-sub-tabs.tabs-4 .member-sub-tab:nth-child(1),
  .member-sub-tabs.tabs-4 .member-sub-tab:nth-child(3) {
    border-left: none !important;
  }
  
  /* 4개 탭: 마지막 열 오른쪽 테두리 제거 */
  .member-sub-tabs.tabs-4 .member-sub-tab:nth-child(2),
  .member-sub-tabs.tabs-4 .member-sub-tab:nth-child(4) {
    border-right: none !important;
  }
  
  /* 4개 탭: 하단 테두리 제거 */
  .member-sub-tabs.tabs-4 .member-sub-tab:nth-child(3),
  .member-sub-tabs.tabs-4 .member-sub-tab:nth-child(4) {
    border-bottom: none !important;
  }
  
  /* 6개 탭: 첫 번째 열 왼쪽 테두리 제거 */
  .member-sub-tabs.tabs-6 .member-sub-tab:nth-child(1),
  .member-sub-tabs.tabs-6 .member-sub-tab:nth-child(4) {
    border-left: none !important;
  }
  
  /* 6개 탭: 마지막 열 오른쪽 테두리 제거 */
  .member-sub-tabs.tabs-6 .member-sub-tab:nth-child(3),
  .member-sub-tabs.tabs-6 .member-sub-tab:nth-child(6) {
    border-right: none !important;
  }
  
  /* 6개 탭: 하단 테두리 제거 */
  .member-sub-tabs.tabs-6 .member-sub-tab:nth-child(4),
  .member-sub-tabs.tabs-6 .member-sub-tab:nth-child(5),
  .member-sub-tabs.tabs-6 .member-sub-tab:nth-child(6) {
    border-bottom: none !important;
  }
  
  .member-sub-tab:hover {
    background: #f5f5f5 !important;
    color: #333 !important;
  }
  
  .member-sub-tab.active {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
  }
  
  /* 표 형태에서 선택된 탭 스타일 */
  .member-sub-tabs .member-sub-tab.active {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
  }
  
  .member-sub-tab.active::before {
    display: none !important;
  }
}

.space-content-section {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.space-intro .description {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.9;
  margin-bottom: 30px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* 공간 정보 리스트 스타일 */
.space-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.space-info-list li {
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.space-info-list li strong {
  font-weight: 600;
  color: #333;
}

/* 테이블 스타일 */
.location-info table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95rem;
}

.location-info table th {
  background: #f8f9fa;
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
  font-weight: 600;
  color: #333;
}

.location-info table td {
  padding: 12px;
  border: 1px solid #ddd;
  color: #555;
}

.location-info table tr:hover {
  background: #f8f9fa;
}

.location-info h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
  padding-bottom: 10px;
  border-bottom: 2px solid #333;
}

.location-info h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 30px 0 15px 0;
  color: #333;
}

/* 운영안내 컨텐츠 스타일 */
.cont {
  margin-bottom: 30px;
}

.cont h5 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin: 20px 0;
}

.con_box1 {
  font-size: 1.1rem;
  line-height: 2;
  color: #333;
  margin-bottom: 30px;
  padding: 25px 30px;
  background: #f8f9fa;
  border-radius: 4px;
  position: relative;
}

.margin-bottom {
  margin-bottom: 20px;
}

.board {
  margin-bottom: 80px;
}

.table_style1 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table_style1 thead th {
  background: #f8f9fa;
  padding: 15px;
  text-align: center;
  border: 1px solid #ddd;
  font-weight: 600;
  color: #333;
}

.table_style1 tbody td {
  padding: 15px;
  border: 1px solid #ddd;
  color: #555;
  vertical-align: top;
}

.table_style1 tbody td.left {
  text-align: left;
}

.table_style1 tbody tr:hover {
  background: #f8f9fa;
}

.contact-info-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

.contact-info-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.contact-info-list {
    margin: 0;
}

.contact-info-item {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.list_style1 {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list_style1 li {
  margin-bottom: 8px;
  padding-left: 0;
  line-height: 1.6;
  color: #555;
}

.list_style1 li:before {
  content: '';
  color: #333;
  font-weight: bold;
  margin-right: 8px;
}

/* 운영안내 및 공간안내 추가 스타일 */
.intro_w_f {
  margin-bottom: 20px;
}

.intro_w_f img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.download_Btn {
  margin: 30px 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.down_btn {
  display: inline-block;
  padding: 12px 24px;
  background: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #333;
}

.down_btn:hover {
  background: #000;
  border-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.down_btn_color2 {
  background: #fff;
  color: #333;
  border-color: #ddd;
}

.down_btn_color2:hover {
  background: #f8f9fa;
  border-color: #333;
}

.margin_bottom {
  margin-bottom: 20px;
}

.tab_cont {
  min-height: 600px;
}

/* con_box2 스타일 - 세로 나열 세련된 디자인 */
.con_box2 {
  list-style: none;
  padding: 0;
  margin: 50px 0;
}

.con_box2 li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #000;
  gap: 5%;
}

.con_box2 li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.con_box2 li img {
  width: 50%;
  height: 400px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.con_box2 li .box2_text_wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.con_box2 li .box2_title {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.con_box2 li .box2_content {
  color: #4a5568;
  line-height: 1.8;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

/* 다운로드 링크 */
.download-links {
  margin-bottom: 40px;
}

.download-links h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.download-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 100%;
  overflow-x: hidden;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.download-link:hover {
  background: #f8f9fa;
  border-color: #333;
}

.download-link i {
  font-size: 0.85rem;
}
.intro-top-text{
text-align: center;
font-size: 2rem;
margin-bottom: 50px;
border-top: 2px solid #000;
border-bottom: 2px solid #000;
padding: 40px;
font-weight: 600;}
/* 이미지 갤러리 슬라이더 */
.facility-gallery {
  position: relative;
  margin-bottom: 40px;
}

.gallery-slider {
  width: 100%;
  max-width: 100%;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-slider.slick-initialized {
  opacity: 1;
  visibility: visible;
}

.gallery-slide {
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: #f5f5f5;
  position: relative;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 슬라이더 하단 컨트롤 (이미지 하단에 별도 영역) */
.gallery-overlay-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0;
  padding: 20px 0;   
}

.gallery-title {
  color: #000;
  font-size: 1.3rem;
  font-weight: 400;
}

.gallery-controls {
  display: flex;
  align-items: center;
}

.gallery-counter {
  color: #666;
  font-size: 2rem;
  font-weight: 100;
  min-width: 50px;
  text-align: center;
  margin-right: 20px;
}
.gallery-counter strong{
  color: #000;font-weight: bold;
}

.gallery-control-btn {
  background: none;
  border: none;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
}

.gallery-control-btn:hover {
  border-color: #ccc;
}

.gallery-control-btn i {
  font-size: 14px;
  line-height: 1;
}

.gallery-control-btn.stop-btn i {
  font-size: 12px;
}

/* 슬릭 네비게이션 화살표 - 숨김 */
.gallery-slider .slick-prev,
.gallery-slider .slick-next {
  display: none !important;
}

/* 슬릭 도트 네비게이션 - 숨김 */
.gallery-slider .slick-dots {
  display: none !important;
  bottom: 80px;
}

.gallery-slider .slick-dots li button:before {
  color: white;
  font-size: 12px;
  opacity: 0.5;
}

.gallery-slider .slick-dots li.slick-active button:before {
  opacity: 1;
  color: white;
}

/* 위치 정보 */
.location-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 5px;
  margin-top: 30px;
}

.location-info p {
  margin: 0;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

.location-info p:first-child {
  font-weight: 600;
  margin-bottom: 10px;
}

.location-info p:last-child {
  color: #666;
  font-size: 0.9rem;
}

/* 로딩 상태 */
.loading {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

.no-data {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

@media (max-width: 1024px) {
  .gallery-slide {
      height: 500px;
  }
  
  .gallery-overlay-controls {
      padding: 15px 0;
  }
  
  .gallery-title {
      font-size: 1rem;
  }
  
  .gallery-counter {
      font-size: 0.85rem;
  }
  
  .gallery-control-btn {
      width: 32px;
      height: 32px;
  }
  .facility-gallery {
    margin-bottom: 0;
  }
}

@media (max-width: 1000px) {
  .intro-header h1 {
      font-size: 2rem;
  }
  
  .gallery-overlay-controls {
      padding: 12px 15px;
      flex-direction: column;
      gap: 10px;
      align-items: flex-start;
  }
  
  .gallery-controls {
      width: 100%;
  }
  
  .gallery-title {
      font-size: 0.95rem;
  }
  
  .gallery-counter {
      font-size: 1.5rem;
  }
  
  .gallery-control-btn {
      width: 30px;
      height: 30px;
  }
  
  .gallery-control-btn i {
      font-size: 12px;
  }
  
  .gallery-slide {
      height: 400px;
  }
  
  .facility-intro-container {
      padding: 0 3%;
      overflow-x: hidden;
  }
  
  .facility-tabs {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      max-width: 100%;
  }
  
  .facility-tab {
      padding: 12px 20px;
      font-size: 1rem;
  }
  
  .space-intro {
      flex-direction: column;
      gap: 20px;
      max-width: 100%;
  }
  
  .space-title-section {
      position: static;
      flex: none;
      width: 100%;
      max-width: 100%;
  }
  
  .space-title-tabs {
      flex-direction: row;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      padding: 0;
      margin-bottom: 20px;
  }
  
  .space-title-tab {
      padding: 15px 20px;
      font-size: 0.95rem;
      white-space: nowrap;
      flex-shrink: 0;
      border-bottom: 2px solid transparent;
  }
  
  .space-title-tab.active {
      border-bottom-color: #000;
  }
  
  .space-content-section {
      width: 100%;
      max-width: 100%;
      overflow-x: hidden;
  }
  .area-buttons-container .area-buttons {justify-content: flex-start !important;gap: 5px !important;}
  .area-buttons-container .area-btn {padding: 5px 10px;font-size: 13px; min-width: 120px;}
  
  /* 768px 이하에서 area-btn min-width 조정 */
  .area-btn {
    min-width: 120px;
  }

  
  .sub-tabs {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      /*padding: 10px 0;*/
  }
  
  .sub-tab {
      padding: 10px 20px;
      font-size: 0.9rem;
      white-space: nowrap;
      flex-shrink: 0;
  }
  
  .space-info-tabs {
    padding: 8px;
    margin-bottom: 30px;
    background: #f5f5f5;
    border-radius: 12px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  }
  
  .space-info-tab {
      padding: 12px 16px;
      font-size: 0.9rem;
      white-space: nowrap;
      flex-shrink: 0;
      min-width: auto;
  }
  
  .con_box2 li {
      flex-direction: column-reverse;
      gap: 20px;
  }
  
  .con_box2 li:nth-child(even) {
      flex-direction: column;
  }
  
  .con_box2 li img {
      width: 100%;
      height: 250px;
  }
  
  .con_box2 li .box2_title {
      font-size: 1.5rem;
  }
  
  .con_box2 li .box2_content {
      font-size: 1rem;
  }
  
  .con_box1 {
      padding: 20px;
      font-size: 1rem;
  }
  
  .board {
      overflow-x: auto !important;
      -webkit-overflow-scrolling: touch;
      margin: 0;
      padding: 0;
      width: 100%;
      max-width: 100%;
  }
  
  .table_style1 {
      font-size: 0.9rem !important;
      min-width: 100% !important;
      width: auto !important;
      display: table !important;
  }
  
  .table_style1 th,
  .table_style1 td {
      padding: 10px 8px !important;
      white-space: nowrap !important;
  }
  
  .table_style1 th {
      font-size: 0.85rem !important;
      background: #f5f5f5 !important;
  }
  
  .table_style1 td {
      font-size: 0.85rem !important;
  }
  
  .gallery-slide {
      height: 400px;
  }
  
  .gallery-slider {
      max-width: 100%;
      overflow: hidden;
  }
  
  .gallery-slider .slick-prev,
  .gallery-slider .slick-next {
      display: none !important;
  }
  
  .gallery-slider .slick-dots {
      display: none !important;
  }
  
  .gallery-controls {
      bottom: 60px;
      padding: 0;
  }
  
  .gallery-control-btn {
      width: 35px;
      height: 35px;
      font-size: 14px;
  }
  
  .gallery-control-btn i {
      font-size: 12px;
  }
  
  .gallery-control-btn.stop-btn i {
      font-size: 10px;
  }
  
  .download_Btn {
      flex-direction: column;
  }
  
  .down_btn {
      width: 100%;
      text-align: center;
  }
  
  .intro-top-text {
      font-size: 1.3rem;
      margin-bottom: 30px;
      padding: 40px 10px;
  }
}

@media (max-width: 480px) {
  .area-btn {
    min-width: 100px;
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  
  .area-buttons-container .area-btn {
    min-width: auto;
    padding: 10px 20px;
    font-size: 12px;
  }
  
  .gallery-slide {
      height: 300px;
  }
}



@media (max-width: 344px) {
  .gallery-counter {
      font-size: 1.2rem;
  }
  
  .gallery-title {
      font-size: 0.85rem;
  }
  
  .space-info-tab {
      padding: 10px 12px;
      font-size: 0.85rem;
  }
  
  .con_box2 li img {
      height: 200px;
  }
  
  .con_box2 li .box2_title {
      font-size: 1.3rem;
  }
  
  .con_box1 {
      padding: 15px;
      font-size: 0.95rem;
  }
  
  .intro-top-text {
      font-size: 0.9rem;
  }
  
  .table_style1 {
      font-size: 0.8rem !important;
      min-width: 500px !important;
  }
  
  .table_style1 th,
  .table_style1 td {
      padding: 8px 6px !important;
  }
  
  .table_style1 th {
      font-size: 0.75rem !important;
  }
  
  .table_style1 td {
      font-size: 0.5rem !important;
  }
}
/*대관안내내*/

.sub-tabs{margin-bottom:50px;}
.rental-tabs-container {
    margin: 40px auto;
    padding: 0 20px;
}

.sub-tab-content {
    padding: 30px 0;
}

.rental-section {
    margin-bottom: 40px;
}

.rental-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #000;
}

.rental-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #444;
    margin-top: 25px;
    margin-bottom: 15px;
}


/* 대관신청양식, 대관규정, 공연장안전교육 공통 스타일 */
.content-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    margin-top: 30px;
}

.content-steps::before {
    display: none;
}

.content-step {
    display: flex;
    align-items: center;
    gap: 1%;
    padding: 10px 0;
    position: relative;
}

.content-step:last-child {
    padding-bottom: 0;
}

.content-step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    color: #000;
    border: 3px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.content-step-body {
    flex: 1;
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.content-step:hover .content-step-body {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
    border-color: #000;
}

.content-step-body h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-step-body h5::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #000;
    border-radius: 2px;
}

.content-step-body p {
    margin: 0 0 15px 0;
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

.content-step-body ul {
    margin: 15px 0 10px 0;
    padding-left: 20px;
}

.content-step-body li {
    margin-bottom: 8px;
    color: #666;
    line-height: 1.7;
}

.content-step-body strong {
    color: #000;
    font-weight: 600;
}

/* 대관료 스타일 */
.rental-fee-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.rental-fee-table th,
.rental-fee-table td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.rental-fee-table th {
    background: #f8f9fa;
    font-weight: 600;
    text-align: center;
}

.rental-note {
    margin-top: 20px;
    padding: 20px;
    background: #fff9e6;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
}

.rental-note p {
    margin: 0 0 10px 0;
    font-weight: 600;
    color: #333;
}

.rental-note ul {
    margin: 0;
    padding-left: 20px;
}

.rental-note li {
    margin-bottom: 8px;
    color: #666;
    line-height: 1.6;
}

/* 대관신청양식 스타일 */
.form-download-buttons {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-download:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.form-items-list {
    margin-top: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
}

.form-items-list ul {
    margin: 15px 0 0 0;
    padding-left: 20px;
}

.form-items-list li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

/* 대관규정 스타일 */
.rental-rules-content {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.rental-rules-content h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #333;
}

.rental-rules-content h4:first-child {
    margin-top: 0;
}

.rental-rules-content ul {
    margin: 0 0 50px 0;
    padding-left: 20px;
}

.rental-rules-content li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.7;
}

/* 공연장안전교육 스타일 */
.safety-info-box {
    padding: 20px;
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    border-radius: 4px;
    margin-bottom: 25px;
}

.safety-info-box h4 {
    margin: 0 0 10px 0;
    color: #1976d2;
    margin-bottom: 0 !important;
    background: none !important;
    padding-left: 0 !important;
}

.safety-info-box p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.safety-content-section {
    margin-bottom: 25px;
}

.safety-content-section h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #333;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
}

.safety-content-section h4:first-child {
    margin-top: 0;
}

.safety-content-section ul {
    margin: 0 0 50px 0;
    padding-left: 20px;
}

.safety-content-section li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.7;
}

/* 아코디언 스타일 */
.accordion-container {
    margin-top: 30px;
}

.accordion-item {
    overflow: hidden;
    transition: all 0.3s ease;  
}


.accordion-header {
    padding: 30px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;  background: #fff; border-bottom: 1px solid #000;
}

.accordion-header:hover {
    background: #e9ecef;
}

.accordion-header.active {
    background: #000;
    color: #fff;
}

.accordion-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.accordion-header.active .accordion-title {
    color: #fff;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: #666;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-header.active .accordion-icon {
    color: #fff;
}

.accordion-icon::before {
    content: '+';
}

.accordion-header.active .accordion-icon::before {
    content: '−';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fff;
}

.accordion-content.active {
    max-height: 100%;
    border-bottom: 1px solid #ccc;
}

.accordion-body {
    padding: 25px 0;
}

@media (max-width: 768px) {
    .sub-tab-content {
        padding: 20px 0;
    }
    
    .process-steps {
        padding-left: 0;
    }
    
    .process-steps::before {
        left: 15px;
    }
    
    .process-step {
        padding: 25px 0;
    }
    
    .step-number {
        left: -35px;
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .step-content {
        padding: 20px;
        margin-left: 20px;
    }
    
    .step-content h5 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .step-content ul {
        font-size: 0.9rem;
    }
    
    .process-download-buttons {
        flex-direction: column;
    }
    
    .process-download-buttons .btn-download {
        width: 100%;
        justify-content: center;
    }
    
    .content-steps {
        padding-left: 0;
    }
    
    .content-steps::before {
        display: none;
    }
    .content-step-number {
        left: -35px;
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .content-step-body {
        padding: 20px;
        /*margin-left: 20px;*/
    }
    
    .content-step-body h5 {
        font-size: 1.1rem;
    }
    
    .content-step-body p {
        font-size: 0.9rem;
    }
    
    .content-step-body ul {
        font-size: 0.9rem;
    }
    
    .form-download-buttons {
        flex-direction: column;
    }
    
    .btn-download {
        width: 100%;
        justify-content: center;
    }
}

/* 서비스 약관 textarea */
.terms_textarea {
    width: 100%;
    height: 300px;
    padding: 15px;
    border: 1px solid #e4e4e4;
    background: #ffffff;
    line-height: 1.6;
    font-size: 14px;
    resize: vertical;
    overflow-y: auto;
}

/* 서비스 약관 content - 스크롤 가능한 박스 */
.terms_content {
    width: 100%;
    height: 400px;
    padding: 15px;
    border: 1px solid #e4e4e4;
    background: #ffffff;
    line-height: 1.6;
    font-size: 14px;
    overflow-y: auto;
    overflow-x: hidden;
}

.terms_content .terms_item {
    margin-bottom: 20px;
}

.terms_content .terms_item:last-child {
    margin-bottom: 0;
}

.terms_content h5 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.terms_content p {
    margin-bottom: 8px;
    color: #555;
    line-height: 1.8;
}  .sub-tab-content{display: none !important;}

/* 대관절차 스타일 - contents.css에 일반 스타일이 없어서 유지 */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  margin-top: 30px;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #000 0%, #ddd 50%, #ddd 100%);
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px 0;
  position: relative;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step:last-child::after {
  display: none;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #fff;
  color: #000;
  border: 3px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step-content {
  flex: 1;
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.process-step:hover .step-content {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateX(5px);
  border-color: #000;
}

.step-content h5 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #000;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-content h5::before {
  content: '';
  width: 4px;
  height: 20px;
  background: #000;
  border-radius: 2px;
}

/* 대관절차 페이지(space_index)에서만 .step-content h5::before 제거 */
.process-steps .step-content h5::before {
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  display: none !important;
  visibility: hidden !important;
}

.step-content p {
  color: #666;
  line-height: 1.8;
  font-size: 1rem;
}

.step-content ul {
  margin: 10px 0 15px 0;
}

.step-content li {
  margin-bottom: 8px;
  color: #666;
  line-height: 1.7;
}

.step-content strong {
  color: #000;
  font-weight: 600;
}

.process-download-buttons {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.process-download-buttons .btn-download {
  background: #000;
  color: #fff;
}

.process-download-buttons .btn-download:hover {
  background: #333;
}

@media (max-width: 768px) {
  .process-steps {
    padding-left: 0;
  }

  .process-steps::before {
    left: 15px;
  }

  .process-step {
    padding: 25px 0;
  }

  .step-registration-step-number {
    left: -35px;
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .step-content {
    padding: 20px;
    margin-left: 0px;
    width: 100%;
  }

  .step-content h5 {
    font-size: 1.1rem;
  }

  .step-content p {
    font-size: 0.9rem;
  }

  .step-content ul {
    font-size: 0.9rem;
  }

  .process-download-buttons {
    flex-direction: column;
  }

  .process-download-buttons .btn-download {
    width: 100%;
    justify-content: center;
  }
}
/* ===================== 연극하는 시민들 <마카다> 페이지 스타일 ===================== */
/* 컨테이너 - rental-section 스타일 적용 */
.makeda-container {
    padding: 0px;
    margin-bottom: 40px;
}

/* rental-section 스타일 적용 */
.makeda-container > * {
    margin-bottom: 40px;
}

.makeda-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #000;
}

.makeda-container h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #444;
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 0;
    border-bottom: none;
}

.makeda-container h4:first-of-type {
    margin-top: 0;
}

/* 이미지 섹션 */
.makeda-image-section {
    position: relative;
    margin-bottom: 60px;
}

.makeda-image-slider {
    position: relative;
    width: 100%;
}

.makeda-image-slider .slick-slide {
    outline: none;
}

.makeda-image-slider img {
    width: 100%;
    max-width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 슬라이더 화살표 스타일 */
.makeda-image-slider .slick-prev,
.makeda-image-slider .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.makeda-image-slider .slick-prev {
    left: 20px;
}

.makeda-image-slider .slick-next {
    right: 20px;
}

.makeda-image-slider .slick-prev:hover,
.makeda-image-slider .slick-next:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.makeda-image-slider .slick-prev:before,
.makeda-image-slider .slick-next:before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border-top: 3px solid #333;
    border-right: 3px solid #333;
}

.makeda-image-slider .slick-prev:before {
    transform: rotate(-135deg);
}

.makeda-image-slider .slick-next:before {
    transform: rotate(45deg);
}

/* 슬라이더 도트 네비게이션 */
.makeda-image-slider .slick-dots {
    bottom: 20px;
    z-index: 10;
}

.makeda-image-slider .slick-dots li {
    width: 12px;
    height: 12px;
    margin: 0 5px;
}

.makeda-image-slider .slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
}

.makeda-image-slider .slick-dots li button:before {
    content: '';
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    opacity: 1;
}

.makeda-image-slider .slick-dots li.slick-active button:before {
    background: #fff;
    opacity: 1;
}

/* 페이지 타이틀 */
.makeda-container .page-title {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.makeda-container .page-title h1 {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

.makeda-container .page-title p {
    font-size: 18px;
    color: #666;
}

/* con_box1 스타일 */
.makeda-container .con_box1 {
    font-size: 1.1rem;
    line-height: 2;
    color: #333;
    margin-bottom: 30px;
    padding: 25px 30px;
    background: #f8f9fa;
    border-radius: 4px;
    position: relative;
}

/* table_style1 스타일 */
.makeda-container .table_style1 {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.makeda-container .table_style1 thead th {
    background: #f8f9fa;
    padding: 15px;
    text-align: center;
    border: 1px solid #ddd;
    font-weight: 600;
    color: #333;
/*     background: url(/resources/view/phcf/images/h4_icon.png) no-repeat left 8px !important; */
}

.makeda-container .table_style1 tbody td {
    padding: 15px;
    border: 1px solid #ddd;
    color: #555;
    vertical-align: top;
}

.makeda-container .table_style1 tbody td.left {
    text-align: left;
}

.makeda-container .table_style1 tbody tr:hover {
    background: #f8f9fa;
}

/* list_style1 스타일 */
.makeda-container .list_style1 {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.makeda-container .list_style1 li {
    margin-bottom: 8px;
    padding-left: 0;
    line-height: 1.6;
    color: #555;
}

.makeda-container .list_style1 li:before {
    content: '• ';
    color: #333;
    font-weight: bold;
    margin-right: 8px;
}

/* margin_bottom 스타일 */
.makeda-container .margin_bottom {
    margin-bottom: 20px;
}
/* margin_bottom.table_scroll은 스크롤 없이 반응형으로 크기 조절 */
.makeda-container .margin_bottom.table_scroll {
    overflow-x: visible !important;
    white-space: normal !important;
    width: 100% !important;
}
.makeda-container .margin_bottom.table_scroll table.table_style1 {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: table !important;
    table-layout: auto !important;
}
.makeda-container .margin_bottom.table_scroll table.table_style1 th,
.makeda-container .margin_bottom.table_scroll table.table_style1 td {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* p 태그 스타일 */
.makeda-container p {
    font-size: 1.1rem;
    line-height: 2;
    color: #333;
    margin-bottom: 15px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .makeda-container {
        padding: 30px 3%;
    }
    
    .makeda-container .con_box1 {
        padding: 20px;
        font-size: 1rem;
    }
    
    .makeda-container .table_style1 {
        font-size: 0.9rem !important;
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        display: table !important;
        table-layout: auto !important;
    }
    
    .makeda-container .table_scroll,
    .makeda-container .margin_bottom.table_scroll {
        overflow-x: visible !important;
        white-space: normal !important;
        margin-bottom: 20px !important;
        width: 100% !important;
    }
    
    .makeda-container .table_scroll table.table_style1,
    .makeda-container .margin_bottom.table_scroll table.table_style1 {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        display: table !important;
        table-layout: auto !important;
    }
    
    .makeda-container .table_style1 {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .makeda-container .table_style1 th,
    .makeda-container .table_style1 td {
        padding: 10px 8px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .makeda-container .table_scroll table.table_style1 th,
    .makeda-container .table_scroll table.table_style1 td,
    .makeda-container .margin_bottom.table_scroll table.table_style1 th,
    .makeda-container .margin_bottom.table_scroll table.table_style1 td {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .makeda-container .table_style1 th {
        font-size: 0.85rem !important;
        background: #f5f5f5 !important;
    }
    
    .makeda-container .table_style1 td {
        font-size: 0.85rem !important;
    }
    
    .makeda-container h3 {
        font-size: 1.3rem;
    }
    
    .makeda-container h4 {
        font-size: 1.1rem;
    }

    .makeda-image-section {
        margin-bottom: 40px;
    }

    .makeda-image-slider img {
        height: 350px;
    }

    .makeda-image-slider .slick-prev,
    .makeda-image-slider .slick-next {
        width: 40px;
        height: 40px;
    }

    .makeda-image-slider .slick-prev {
        left: 10px;
    }

    .makeda-image-slider .slick-next {
        right: 10px;
    }

    .makeda-container .page-title {
        margin-bottom: 40px;
        padding-bottom: 20px;
    }

    .makeda-container .page-title h1 {
        font-size: 28px;
    }

    .makeda-container .page-title p {
        font-size: 16px;
    }

    .makeda-container h4 {
        font-size: 20px;
    }
    .space-title-section h2 { font-size: 1.5rem !important;    text-align: center;}
    
}

@media (max-width: 480px) {
    .makeda-image-slider img {
        height: 250px;
    }

    .makeda-image-slider .slick-prev,
    .makeda-image-slider .slick-next {
        width: 35px;
        height: 35px;
    }

    .makeda-image-slider .slick-prev:before,
    .makeda-image-slider .slick-next:before {
        width: 15px;
        height: 15px;
        border-width: 2px;
    }

    .makeda-container .page-title h1 {
        font-size: 24px;
    }

    .makeda-container h4 {
        font-size: 18px;
    }
}

/* ===================== ESG 윤리경영 페이지 스타일 ===================== */
.esg-section {
    margin-bottom: 60px;
}

.esg-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 50px;
    text-align: center;
}

.esg-declaration {
    background: #f8f9fa;
    border-left: 5px solid var(--color, #004aad);
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 8px;
}

.esg-declaration h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color, #004aad);
    margin-bottom: 30px;
}

.esg-declaration p {
    font-size: 18px;
    line-height: 34px;
    color: #000;
    margin-bottom: 24px;
}

.esg-declaration .declaration-date {
    text-align: right;
    color: #666;
    font-size: 16px;
    margin-top: 30px;
    line-height: 1.6;
}

.esg-activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.esg-activity-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.esg-activity-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.esg-activity-card.environment {
    border-top: 4px solid #28a745;
}

.esg-activity-card.social {
    border-top: 4px solid var(--color, #004aad);
}

.esg-activity-card.governance {
    border-top: 4px solid #ffc107;
}

.esg-activity-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.esg-activity-card.environment h4::before {
    content: "🌱";
    font-size: 1.8rem;
}

.esg-activity-card.social h4::before {
    content: "🤝";
    font-size: 1.8rem;
}

.esg-activity-card.governance h4::before {
    content: "⚖️";
    font-size: 1.8rem;
}

.esg-activity-card ul {
    list-style: none;
    padding: 0;
}

.esg-activity-card ul li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #000;
    line-height: 1.8;
    font-size: 18px;
}

.esg-activity-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color, #004aad);
    font-weight: bold;
    font-size: 20px;
}

.customer-charter {
    background: linear-gradient(135deg, var(--color, #004aad) 0%, #003080 100%);
    color: #ffffff;
    padding: 50px;
    border-radius: 8px;
    margin-top: 40px;
}

.customer-charter h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.customer-charter > p {
    font-size: 18px;
    line-height: 34px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.customer-charter .charter-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.charter-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.charter-item h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.charter-item p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.95;
}

.ethics-section {
    background: #f8f9fa;
    padding: 50px;
    border-radius: 8px;
    margin-top: 40px;
}

.ethics-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
}

.ethics-section > p {
    font-size: 18px;
    line-height: 34px;
    color: #000;
    margin-bottom: 30px;
}

.ethics-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.ethics-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.ethics-item h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color, #004aad);
    margin-bottom: 20px;
}

.ethics-item p {
    color: #000;
    line-height: 1.8;
    font-size: 18px;
}

.human-rights-section {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    padding: 50px;
    border-radius: 8px;
    margin-top: 40px;
}

.human-rights-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
}

.human-rights-content {
    color: #000;
    line-height: 34px;
    font-size: 18px;
}

.human-rights-content p {
    margin-bottom: 24px;
}

.human-rights-content ul {
    margin-bottom: 24px;
}

.human-rights-content ul li {
    margin-bottom: 12px;
}

/* ESG 페이지 반응형 */
@media (max-width: 768px) {
    .esg-section-title {
        font-size: 1.8rem;
    }
    
    .esg-declaration {
        padding: 30px 20px;
    }
    
    .esg-declaration h3 {
        font-size: 1.5rem;
    }
    
    .esg-declaration p {
        font-size: 16px;
        line-height: 28px;
    }
    
    .esg-activity-grid {
        grid-template-columns: 1fr;
    }
    
    .esg-activity-card {
        padding: 30px 20px;
    }
    
    .customer-charter {
        padding: 30px 20px;
    }
    
    .customer-charter .charter-items {
        grid-template-columns: 1fr;
    }
    
    .ethics-section {
        padding: 30px 20px;
    }
    
    .ethics-content {
        grid-template-columns: 1fr;
    }
    
    .human-rights-section {
        padding: 30px 20px;
    }
}
