/* 메인 컬러 변수 */
:root {
    --primary-color: #0D4FA3;
    --point-color: #C00000;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-section: #f5f7fa;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --title-42: 42px;
    --title-38: 38px;
    --title-48: 48px;
    --title-22: 22px;
    --title-18: 18px;
    --black-color03: #374050;
    --black-color04: #444;
    --black-color05: #929292;
    --point-color14: #305ABC;
}


/* 전체 레이아웃 */
ul li { margin: 0px; padding: 0px; list-style: none; }

/* 헤더 영역 스타일 */
.site-header {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Main Header - 3단 레이아웃 (로고 | 메뉴 | 검색) */
.header-main {
    background: white;
    padding: 20px 0;
    min-height: 80px;
}

.header-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    height: 100%;
}

/* 로고 영역 (왼쪽) */
.header-logo-wrapper {
    flex-shrink: 0;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo img {
    height: 50px;
    max-height: 50px;
    object-fit: contain;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-placeholder i {
    font-size: 2rem;
}

/* 메뉴 영역 (가운데) */
.header-nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* 검색 영역 (오른쪽) */
.header-search-wrapper {
    flex-shrink: 0;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 0;
}

.search-input {
    width: 250px;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 25px 0 0 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: var(--primary-color);
}

.search-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #0a3d7a;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

.search-btn i {
    font-size: 16px;
}

/* Main Menu */
.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    align-items: center;
}

.menu-item {
    position: relative;
}

.menu-link {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    transition: all 0.3s;
    white-space: nowrap;
    position: relative;
}

.menu-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: #00a651;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.menu-link:hover {
    color: #00a651;
}

.menu-link:hover::after {
    transform: scaleX(1);
}

/* 활성 메뉴 스타일 */
.menu-item.active .menu-link {
    color: #00a651;
    font-weight: 600;
}

.menu-item.active .menu-link::after {
    transform: scaleX(1);
}

/* 메가메뉴 배경 */
.mega-menu-backdrop {
    display: none;
    position: fixed;
    top: 98px;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mega-menu-backdrop.active {
    display: block;
}

.mega-menu-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    gap: 60px;
}

/* 메가메뉴 왼쪽 설명 */
.mega-menu-info {
    flex: 0 0 280px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.mega-menu-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: #00a651;
    margin-bottom: 15px;
}

.mega-menu-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* 메가메뉴 오른쪽 메뉴 리스트 */
.mega-menu-lists {
    flex: 1;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.mega-menu-column {
    flex: 1;
    min-width: 200px;
}

.mega-menu-column h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00a651;
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-column ul li {
    margin-bottom: 8px;
    float: left;
}

.mega-menu-column ul li a {
    display: block;
    padding: 8px 12px;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s;
    border-radius: 4px;
    font-weight: 800;
}

.mega-menu-column ul li a:hover {
    background: #f0f0f0;
    color: #00a651;
    padding-left: 16px;
}

/* Submenu (기존 드롭다운 - 숨김 처리) */
.submenu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    min-width: 200px;
    padding: 10px 0;
    list-style: none;
    margin: 0;
    z-index: 1000;
}

.submenu li {
    margin: 0;
}

.submenu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    font-weight: 800;
}

.submenu a:hover {
    background: var(--primary-color);
    color: white;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

/* 반응형 */
@media (max-width: 992px) {
    .header-main-content {
        gap: 20px;
    }
    
    .header-nav-center {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .search-input {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .header-main {
        padding: 15px 0;
    }
    
    .header-main-content {
        gap: 15px;
    }
    
    .header-search-wrapper {
        display: none;
    }
    
    .search-input {
        width: 150px;
        font-size: 13px;
        padding: 8px 15px;
    }
    
    .search-btn {
        padding: 8px 15px;
    }
    
    .header-logo img {
        height: 45px;
    }
    
    .logo-placeholder {
        font-size: 1rem;
    }
    
    .logo-placeholder i {
        font-size: 1.5rem;
    }
}

/* 섹션 공통 스타일 */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background: var(--bg-section);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--point-color);
}

/* 푸터 스타일 */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    color: white;
}

.footer-address {
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-address strong {
    color: #fff;
    font-weight: 600;
}

.footer-facilities {
    font-size: 0.9rem;
    line-height: 1.8;
}

.facility-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
}

.facility-contact {
    white-space: nowrap;
}

.footer-copyright {
    margin-top: 20px;
}

.copyright-text {
    font-size: 0.85rem;
    color: #999;
}

.footer-logo-area {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.footer-logo img {
    max-height: 80px;
    max-width: 200px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    object-fit: contain;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-banner img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
}

.footer-map {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 30px;
    text-align: center;
}

/* 패밀리 사이트 슬라이드 스타일 */
.partner-section {
    margin: 2rem 0;
}

.partner-slider-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.partner-slider {
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
}

.partner-slides {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.partner-slide {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s ease;
    flex: 0 0 auto;
}

.partner-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.partner-slide a {
    text-decoration: none;
    color: inherit;
}

.partner-logo-placeholder {
    background: white;
    border-radius: 8px;
    padding: 15px 25px;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.partner-logo-placeholder:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.partner-logo-placeholder span {
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
}

.partner-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.partner-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.partner-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.partner-btn i {
    font-size: 0.9rem;
}

/* 반응형 */
@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .partner-slider-container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-address,
    .footer-facilities {
        font-size: 0.85rem;
    }
    
    .facility-contacts {
        flex-direction: column;
        gap: 8px;
    }

    .footer-separator {
        display: none;
    }

    .footer-logo img {
        max-height: 60px;
    }
}

a:hover, a:link, a:visited {
    text-decoration: none;
    color: #292929;
}


/* 전체 wrapper */
.steps-wrapper {
    background: #f9fbff;
    border: 1px solid #e3e8f1;
    border-radius: 14px;
    padding: 30px 20px;
}

.steps-wrapper ul {
    display: flex;
    align-items: flex-start;   /* ← 여기로 변경 */
    justify-content: center;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 각 단계 li */
.steps-wrapper ul li {
    display: flex;           /* 추가 */
    flex-direction: column;  /* 세로로 쌓기 */
    justify-content: flex-start; /* 위쪽 정렬 */
    align-items: center; 
    width: 180px;
    position: relative;
}

.steps-wrapper ul li::after {
    content: "";
    position: absolute;
    background: url(/images/step-arrow.png);
    background-size: 40px 40px;
    width: 40px;
    height: 40px;
    top: 25%;
    right: -40px;
    margin: 0 0px;
}

.steps-wrapper ul.step4 li::after {
    right: -20px;
}

.steps-wrapper ul li:last-child::after {
    display: none;
}

/* 태블릿: 2개씩 */
@media (max-width: 1024px) {
    .steps-wrapper ul {
        width: 100%;
        display: inline-block;
    }

    .steps-wrapper ul li {
        float: left;
        width: 45% !important;
        max-width: 45% !important;
    }

    .steps-wrapper ul li:nth-child(3)::after {
        background: url(/images/step-arrow.png);
        background-size: 40px 40px;
    }
  
    /* 2개짜리 줄의 2번째마다 화살표 제거 */
    .steps-wrapper ul li:nth-child(2)::after,
    .steps-wrapper ul li:nth-child(4)::after,
    .steps-wrapper ul li:nth-child(6)::after {
        background: none;
    }
}

/* 모바일: 1개씩, 화살표 제거 */
@media (max-width: 768px) {
    .steps-wrapper ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .steps-wrapper ul li {
        width: 100%;
        max-width: 100%;
        height: 255px;
    }

    .steps-wrapper ul li::after {
        display: block;
      top: auto;
      bottom: 0px;             /* 너무 많이 내려가지 않게 조정 */
      left: 50%;
      right: auto;
      background: url(/images/step-arrow.png) no-repeat center !important;
      background-size: 40px 40px !important;
      transform: translateX(-50%) rotate(90deg);
  }

  /* 마지막 카드 화살표는 숨기기 */
  .steps-wrapper ul li:last-child::after {
      display: none;
  }  
}

.detail-section .steps-wrapper ul li:nth-child(3)::after {
    background:none;
}

.detail-section .steps-wrapper ul {
    justify-content: space-between;
    flex-wrap: wrap;
}

.detail-section .steps-wrapper ul li {
    width: 30%;
    max-width: 30%;
    position: relative; /* 필요시 유지 */
}

.detail-section .steps-wrapper ul.step4 li {
    width: 22%;
    max-width: 22%;
    position: relative; /* 필요시 유지 */
}


.detail-section .steps-wrapper ul {
    width: 80%;
    margin: 0px auto;
}

/* 태블릿: 2개씩 */
@media (max-width: 1024px) {
  .detail-section .steps-wrapper ul {
      width: 100%;
  }

  .detail-section .steps-wrapper ul li {
      width: 48%;
      max-width: 48%;
  }

   .detail-section .steps-wrapper ul li:nth-child(3)::after {
      background: url(/images/step-arrow.png);
      background-size: 40px 40px;
   }
 
  /* 2개짜리 줄의 2번째마다 화살표 제거 */
  .detail-section .steps-wrapper ul li:nth-child(2)::after,
  .detail-section .steps-wrapper ul li:nth-child(4)::after,
  .detail-section .steps-wrapper ul li:nth-child(6)::after {
      background: none;
  }
}

/* 모바일: 1개씩, 화살표 제거 */
@media (max-width: 768px) {
  .detail-section .steps-wrapper ul {
      flex-direction: column;
      align-items: center;
      gap: 20px;
  }

  .detail-section .steps-wrapper ul li {
      width: 100% !important;
      max-width: 100% !important;
      height: 255px;
  }

  .detail-section .steps-wrapper ul li::after {
      display: block;
      top: auto;
      bottom: 0px;             /* 너무 많이 내려가지 않게 조정 */
      left: 50%;
      right: auto;
      background: url(/images/step-arrow.png) no-repeat center !important;
      background-size: 40px 40px !important;
      transform: translateX(-50%) rotate(90deg);
  }

  /* 마지막 카드 화살표는 숨기기 */
  .detail-section .steps-wrapper ul li:last-child::after {
      display: none;
  }  
}

/* 숫자 동그라미 */
.step-num {
    background: #6989FF;
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 16px;
}

/* 박스 */
.step-box {
    background: white;
    border: 1px solid #dce3ee;
    border-radius: 12px;
    padding: 18px 20px 15px;
    width: 120px;
    text-align: center;

}

.step-title {
    font-size: 15px;
    font-weight: 700;
    color: #1d2f55;
    height: 60px;

    display: flex;            /* 추가 */
    align-items: center;      /* 세로 중앙 */
    justify-content: center;  /* 가로 중앙 */
    text-align: center;   
    margin-bottom: 0px !important;
}


/* 설명글 */
.step-desc {
    margin-top: 8px;
    font-size: 13px;
    color: #6989FF;
    text-align: center;
    font-weight: 700;

    height: 40px;          /* 필요에 맞게 조절 */
    display: flex;
    align-items: center;   /* 세로 중앙 */
    justify-content: center;
}

.steps-wrapper .step-desc {
  height: 60px;   
}

/* 화살표 */
.step-arrow {
    font-size: 22px;
    color: #7d8697;
    margin-bottom: 10px;
}

/* ---------------------- */
/*     반응형 모바일       */
/* ---------------------- */
@media (max-width: 768px) {

    .steps-wrapper ul {
        flex-direction: column;
        gap: 35px;
    }

    .steps-wrapper ul li {
        width: 100%;
    }

    /* 모바일에서는 화살표를 세로 방향으로 */
    .step-arrow {
        position: absolute;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%) rotate(90deg);
        font-size: 26px;
    }

    /* 화살표 마지막은 숨기기 */
    .steps-wrapper ul li:last-child .step-arrow {
        display: none;
    }
}

.divider {
    border: none;
    border-top: 1px solid #d9d9d9;
    margin: 30px 0;
}

ul.dep03 {
    margin-left: 10px;
    word-break: keep-all;
}

ul.dep03 > li {
    color: #000;
    display: block;
    font-weight: normal;
    font-size: 16px;
    position: relative;
    padding: 0 0 0 1.2rem;
    line-height: 1.6;
    margin: 0.3rem 0;
}


.page-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-title {
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 1rem;
}

.page-meta {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.page-body {
    line-height: 1.8;
    color: #333;
}

.page-body h1, .page-body h2, .page-body h3 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-body p {
    margin-bottom: 1rem;
}

.page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-footer {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* 페이지 헤더 스타일 */
.page-header {
    background: white;
    border-bottom: 2px solid #e6e9ef;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.page-header-title {
    font-size: 30px;
    font-weight: 600;
    color: #000;
    word-break: keep-all;
}

.page-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-header-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    flex-shrink: 0;
}

.page-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
}

.action-btn:hover {
    background: #2b5fb8;
    border-color: #2b5fb8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(43, 95, 184, 0.2);
}

.action-btn i {
    font-size: 16px;
}

.page-header-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.page-header-breadcrumb a:hover {
    color: #2b5fb8;
}

.page-header-breadcrumb .separator {
    color: #999;
}

.page-header-breadcrumb .current {
    color: #2b5fb8;
    font-weight: 600;
}

/* 반응형 - 모바일에서는 세로 배치 */
@media (max-width: 768px) {
    .page-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .page-header-title {
        font-size: 24px;
    }
    
    .page-header-breadcrumb {
        font-size: 13px;
    }
    
    .page-header-right {
        width: 100%;
        justify-content: space-between;
    }
}

/* 프린트 스타일 */
@media print {
    .page-sidebar,
    .page-header-breadcrumb,
    .page-header-actions,
    .navbar,
    .footer {
        display: none !important;
    }
    
    .page-header {
        border-bottom: 2px solid #000;
    }
    
    .page-header-title {
        color: #000;
    }
    
    .col-lg-9 {
        width: 100% !important;
        max-width: 100% !important;
    }
}

.sub_tit { margin-top: 20px;}

/* 정보 박스 */
.info-box {
    border: 1px solid #e3e8f1;
    padding: 30px;
    border-radius: 14px;
    margin-bottom: 30px;
}

.info-title {
    text-align: center;
    color: #004fa3;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.info-text {
    line-height: 1.6;
    font-size: 15px;
    text-align: center;
    font-weight: 500;
}

.info-list li {
    line-height: 1.6;
    margin-bottom: 8px;
    font-weight: 500;
}

.btn-reserve { color: #fff !important; }

/* 모바일 메뉴 스타일 */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.mobile-menu-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-content {
    padding: 0;
}

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

.mobile-menu-item {
    border-bottom: 1px solid #e9ecef;
}

.mobile-menu-link {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.mobile-menu-link:hover {
    background: #f8f9fa;
    color: #667eea;
}

.mobile-menu-item.active > .mobile-menu-link {
    background: #f8f9fa;
    color: #667eea;
}

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8f9fa;
    display: none;
}

.mobile-menu-item.active .mobile-submenu {
    display: block;
}

.mobile-submenu li {
    border-top: 1px solid #e9ecef;
}

.mobile-submenu a {
    display: block;
    padding: 12px 20px 12px 40px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.mobile-submenu a:hover {
    background: white;
    color: #667eea;
    padding-left: 45px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}            


.sub_tit_wrap {text-align: center;}
.sub_tit_wrap:not(:has(.icon)){margin-top:4.35vw;}
.sub_tit_wrap .icon {display: inline-block; width: 100px; height: 40px; margin-bottom: 16px;}
/* .sub_tit_wrap .icon img {width: 100%; height: 100%; object-fit: cover;} */
.sub_tit_wrap h3 {font-size: var(--title-38);}
    .sub_business .sub_tit_wrap h3 {color: var(--point-color05);}
    .sub_support .sub_tit_wrap h3 {color: var(--point-color04);}
    .sub_understand .sub_tit_wrap h3{color: var(--point-color15);}
    .sub_company .sub_tit_wrap h3{color: var(--point-color16);}
    .sub_alarm .sub_tit_wrap h3{color: var(--point-color42);}
.sub_tit_wrap h3 + p {margin-top: 18px;}
.sub_tit_wrap p {font-size: var(--title-18); color: var(--black-color05); line-height: 1.54; font-weight: 600;}

.dot_tit {
    position: relative;
    font-size: var(--title-18);
    color: var(--black-color03);
    text-align: center;
    padding-top: 20px;
}


.dot_tit:after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: 20px auto 0;
    border-radius: 100%;
    background: var(--primary-color);
}

@media screen and (max-width:1023px) {
    .sub_tit_wrap .icon {width: 80px; height: 80px; margin-bottom: 14px;}
    .sub_tit_wrap h3 + p {margin-top: 15px;}
}
@media screen and (max-width:860px) {
    .sub_tit_wrap .icon {width: 70px; height: 70px; margin-bottom: 12px;}
    .sub_tit_wrap h3 + p {margin-top: 12px;}
    .sub_tit_wrap h3 + p br {display: none;}
}
@media screen and (max-width:640px) {
    .sub_tit_wrap .icon {width: 60px; height: 60px; margin-bottom: 10px;}
    .sub_tit_wrap h3 + p {margin-top: 10px;}
}


/* 전체 박스 */
.doc-list-box {
    margin: 30px auto;
    background: #f7f8fb;
    border: 1px solid #e2e5ed;
    border-radius: 18px;
    padding: 25px 30px;
    max-width: 100%;
}

/* 리스트 스타일 */
.doc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doc-list li {
    background: #ffffff;
    display: inline-block;
    align-items: flex-start;
    width: 100%;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    border-radius: 12px;
    font-size: 15px;
    color: #444;
    border: 1px solid #eef1f5;
}

.doc-list li ul {
    width: 100%;
    display: inline-block;
    margin-top: 15px;
}

.doc-list li ul li { width: 100%; display: inline-block; }

/* 체크 아이콘 */
.check-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #4f85ff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: white;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* 하단 안내문 */
.doc-notice {
    text-align: left;
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}


/* 승화원 상세 모달 상단 이미지 - Slick 전용 스타일 */
.detail-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* PC: 4칸 */
    gap: 12px;
    width: 100%;
    margin: 20px 0 25px;
}

.detail-images .item img {
    width: 100%;
    height: 160px;        /* 카드 높이, 필요하면 140~200 사이로 조정 */
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

/* 태블릿: 2칸 */
@media (max-width: 1024px) {
    .detail-images {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* 모바일: 1칸 */
@media (max-width: 768px) {
    .detail-images {
        grid-template-columns: 1fr !important;
    }
}


@media (max-width: 768px) {
    .detail-section .detail-table {
        display: block;              /* 블록으로 만들어야 스크롤 가능 */
        width: 100%;
        overflow-x: auto;            /* 가로 스크롤 */
        -webkit-overflow-scrolling: touch; /* iOS 부드러운 스크롤 */
    }

    .detail-section .detail-table thead,
    .detail-section .detail-table tbody,
    .detail-section .detail-table tr,
    .detail-section .detail-table th,
    .detail-section .detail-table td {
        white-space: nowrap;         /* 줄바꿈 방지 → 옆으로 밀려나도록 */
    }
}


.bold { font-weight: 700 !important; }


@keyframes decobg {
    0% {
        top: 0;
    }

    100% {
        top: -210%;
    }
}

@keyframes vision_line {
    0% {
        max-width: 0;
    }

    100% {
        max-width: 840px;
    }
}

@keyframes vision_tit {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.lh_vision .vision_decobg {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 612px;
    background: linear-gradient(0deg, #FFF 0%, rgba(255, 255, 255, 0.00) 37.11%), url(/images/bg1.png) center no-repeat;
    background-size: cover;
}

.lh_vision .vision_decobg::before {
    content: "";
    position: absolute;
    left: 0;
    left: -100%;
    top: 0;
    width: 210%;
    height: 210%;
    background: #fff;
    animation: decobg 0.8s 
cubic-bezier(.68, .44, .85, .36) both;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 50%);
}

.lh_vision .vision_contxt {
    margin-top: -120px;
}

.lh_vision .vision_contxt .vision_titbox {
    position: relative;
    display: block;
    margin: 0px auto 50px auto;
    padding: 5px 30px;
    max-width: 840px;
    height: 135px;
    border: 5px solid #6989FF;
    border-top: 0;
    border-bottom: 0;
    text-align: center;
}

.lh_vision .vision_contxt .vision_titbox.aos-animate strong {
    animation: vision_tit 1s 1.1s 
ease both;
}

.lh_vision .vision_contxt .vision_titbox strong {
    position: relative;
    opacity: 0;
    display: block;
    color: #252525;
    font-size: 48px;
    line-height: 130px;
    /* letter-spacing: -0.04em; */
}

.lh_vision .vision_contxt .vision_titbox strong::before {
    content: '광주시민과 함께 하는 추모의 공간';
    position: absolute;
    left: 10;
    top: 0;
    /* 기준 텍스트와 동일한 폰트 메트릭 */
    font-size: 48px;
    line-height: 130px;
    /* letter-spacing: 1em; */

    /* 채우기는 투명, 테두리만 흰색 */
    -webkit-text-stroke-width: 6px;   /* 6px → 2px 정도로 줄이면 덜 번짐 */
    -webkit-text-stroke-color: #fff;

    z-index: -1;
}


.lh_vision .vision_contxt .vision_titbox .line i:nth-child(1)::before, .lh_vision .vision_contxt .vision_titbox .line i:nth-child(1)::after {
    top: 0;
}

.lh_vision .vision_contxt .vision_titbox .line i::before {
    content: "";
    position: absolute;
    left: -5px;
    width: 32px;
    height: 5px;
    background: #6989FF;
}

.lh_vision .vision_contxt .vision_titbox .line i::after {
    content: "";
    position: absolute;
    right: -5px;
    width: 32px;
    height: 5px;
    background: #6989FF;
}

.lh_vision .vision_contxt .vision_titbox .line i:nth-child(2)::before, .lh_vision .vision_contxt .vision_titbox .line i:nth-child(2)::after {
    bottom: 0;
}

@media (max-width: 550px) {
    .lh_vision .vision_contxt .vision_titbox strong,  .lh_vision .vision_contxt .vision_titbox strong::before{
        font-size: 20px;
    }

    .lh_vision .vision_contxt .vision_titbox .line {
        display: none;
    }

    .lh_vision .vision_contxt .vision_titbox { border: none; }
}


.card {
    border-radius: 24px;
    background: #f6f6f8;
    padding: 28px 40px;
}

.card + .card {
  margin-top: 32px;
}

/* 1. 상단 검색 영역 */
.search-card {
  background: #f3f3f5;
}
.search-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.radio-group {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-shrink: 0;
}
.radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  cursor: pointer;
}
.radio input {
  display: none;
}
.radio-custom {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c5c7d0;
  position: relative;
}
.radio input:checked + .radio-custom {
  border-color: #2760d6;
}
.radio input:checked + .radio-custom::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #2760d6;
}

.search-input-wrap {
  flex: 1;
}
.search-input-wrap input {
  width: 100%;
  border-radius: 999px;
  border: 1px solid #dadde5;
  padding: 14px 22px;
  font-size: 15px;
  outline: none;
}
.search-input-wrap input::placeholder {
  color: #c0c2c8;
}
.btn-primary {
  flex-shrink: 0;
  border-radius: 16px;
  border: none;
  background: #3b3f48;
  color: #fff;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* 2. 안내사항 영역 */
.notice-card {
  background: #f7f8fc;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.notice-title {
  font-weight: 700;
  font-size: 18px;
  color: #2361d2;
  flex-shrink: 0;
}
.notice-list {
  list-style: disc;
  color: #8e9097;
  font-size: 15px;
  padding-left: 18px;
  line-height: 1.9;
}

/* 3. 연락처 영역 */
.contact-card {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  position: relative;
  padding-left: 160px;
}
.contact-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.contact-avatar {
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f5f9ff, #dbe8ff);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 6px solid #eef3ff;
}
.contact-avatar span {
  font-size: 64px;
  color: #2560cf;
}
.contact-content {
  width: 100%;
}
.contact-title {
  font-size: 20px;
  font-weight: 700;
  color: #414550;
  margin-bottom: 16px;
}
.contact-items {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #5b5f65;
}
.icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2760d6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}