



/* 서브페이지 비주얼 영역 */
.sub-visual {
    position: relative;
    height: 300px;
    background-color: #333;
    overflow: hidden;
}

.sub-visual-bg {
    position: relative;
    height: 100%;
    background-image: url('images/sub/sub_title_bg01.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    z-index: 1;
}

.sub-visual-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.sub-visual-bg h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sub-visual-bg p {
    font-size: 18px;
    opacity: 0.8;
}

/* 서브 메뉴 */
.sub-menu {
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
}

.sub-menu ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.sub-menu ul li {
    position: relative;
}

.sub-menu ul li a {
    display: block;
    padding: 20px 30px;
    font-size: 16px;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
}

.sub-menu ul li.active a {
    color: #0056b3;
    font-weight: 700;
}

.sub-menu ul li.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: #0056b3;
}

.sub-menu ul li a:hover {
    color: #0056b3;
}

/* 서브페이지 공통 섹션 */
.about-section {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.about-section .section-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.about-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #0056b3;
}

/* 추가 */
.container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }

        .timeline-section {
            margin-bottom: 3rem;
        }

        .timeline-item {
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .timeline-title {
            color: #0099CC;
            font-weight: bold;
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        .timeline-content {
            color: #666;
            line-height: 1.8;
        }

        .timeline-divider {
            height: 1px;
            background: #ddd;
            margin: 1.5rem 0;
        }

        @media (max-width: 768px) {
            .container {
                padding: 1rem;
            }

            .timeline-item {
                padding: 1rem;
            }
        }


        /*추가*/

        .org-section {
            margin-bottom: 3rem;
        }

        .org-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .org-header img {
            max-width: 100%;
            height: auto;
        }

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

        .org-list {
            width: 100%;
            max-width: 680px;
            margin: 0 auto;
        }

        .org-section-title {
            text-align: left;
            margin: 2rem 0;
            padding-left: 1rem;
        }

        .org-section-title img {
            max-width: 100%;
            height: auto;
        }

        .back-to-top {
            display: flex;
            justify-content: flex-end;
            margin: 1rem 0;
        }

        .back-to-top img {
            width: 20px;
            height: 20px;
            transition: transform 0.2s;
        }

        .back-to-top img:hover {
            transform: translateY(-3px);
        }

/* 회장 인사말 섹션 */
.chairman-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.chairman-text {
    flex: 2;
}

.chairman-photo {
    flex: 1;
}

.chairman-photo img {
    width: 30%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.intro-text {
    font-size: 22px;
    font-weight: 600;
    color: #0056b3;
    margin-bottom: 20px;
    line-height: 1.4;
}

.greeting-content {
    margin-top: 30px;
}

.greeting-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

.chairman-sign {
    margin-top: 40px;
    text-align: right;
}

.chairman-sign p {
    font-size: 18px;
    color: #333;
}

.chairman-sign strong {
    font-size: 24px;
    font-weight: 700;
    margin-left: 10px;
}

/* 조직도 섹션 */
.organization-chart {
    text-align: center;
}

.organization-chart img {
    max-width: 100%;
}

/* 연합회 연혁 섹션 */
.history-content {
    margin-top: 40px;
}

.history-intro {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.history-intro h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.history-intro p {
    line-height: 1.7;
    color: #555;
}

.history-list h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.history-list ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.history-list li {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.history-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #ddd;
}

.history-list .num {
    font-size: 36px;
    font-weight: 700;
    color: #0056b3;
    opacity: 0.2;
    margin-bottom: 15px;
}

.history-list p {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
}


/* 설립취지 및 주요사업 섹션 */
.business-content {
    margin-top: 40px;
}

.business-intro {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.business-intro h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.business-intro p {
    line-height: 1.7;
    color: #555;
}

.business-list h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.business-list ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.business-list li {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.business-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #ddd;
}

.business-list .num {
    font-size: 36px;
    font-weight: 700;
    color: #0056b3;
    opacity: 0.2;
    margin-bottom: 15px;
}

.business-list p {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
}

/* 찾아오시는 길 섹션 */
.location-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.location-info ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.location-info li {
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
}

.location-info strong {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.location-info i {
    color: #0056b3;
    font-size: 20px;
}

.location-info p {
    color: #666;
    line-height: 1.6;
    margin-left: 30px;
}

/* 반응형 */
@media (max-width: 1200px) {
    .business-list ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .chairman-content {
        flex-direction: column-reverse;
    }
    
    .chairman-photo {
        margin: 0 auto 30px;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .sub-menu ul li a {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .about-section {
        padding: 50px 0;
    }
    
    .about-section .section-title {
        font-size: 28px;
    }
    
    .business-list ul {
        grid-template-columns: 1fr;
    }
    
    .location-info ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .sub-visual-bg h1 {
        font-size: 30px;
    }
    
    .sub-menu ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 10px 0;
    }
    
    .sub-menu ul li a {
        padding: 10px 15px;
        white-space: nowrap;
    }
} 