@charset "utf-8";


/* 뷰보드 내 탭메뉴 */
.tabs{overflow:hidden; position:relative; background:#494949;}
ul.tabs li{padding: 10px 0;float:left; cursor: pointer; color:#fff; border-left:1px solid #fff; width:220px; text-align:center;}
ul.tabs li:first-child{padding-left:21px !important; border-left:0;}
ul.tabs li:hover{background-color:#739b42;}
#tab_1, #tab_2{clear:both;}
ul.tabs li.current{background:#739b42;}
.tab_content{display: none;}
.tab_content.current{display: inherit;}
.tab_content strong{font-size:18px; line-height:120%;}
.date {text-align:center;}
.con-tbl th{line-height:130%}
/*뷰보드 공통 끝 ===================================================================*/



/*개인정보처리방침*/
.level1_1{font-size:25px; font-weight:600; margin-top:40px; margin-bottom:30px;}
.level1_1:first-child{margin-top:0px;}
.level1_2{font-size:16px;font-weight:600; margin-top:40px; margin-bottom:30px;}
.level1_2_1{font-weight:600; margin-top:40px; margin-bottom:10px;font-size:20px}
.level1_2_1:first-child{margin-top:0px;}
.level1_3{margin-top:10px; margin-bottom:5px;}
.level1_4{margin-bottom:5px; padding-left:22px; text-indent:-21px;}
.level1_4_1{text-indent:-22px; padding-left:22px;  margin-bottom:5px;}
.level1_4_2{text-indent:-19px; padding-left:38px;  margin-bottom:5px;}
.level1_5{text-indent:-1px; padding-left:24px;  margin-bottom:5px;}
.level1_5_1{text-indent:-1px; padding-left:17px;  margin-bottom:5px;}
.level1_6{text-indent:0px; padding-left:37px;margin-bottom:5px;}
.level1_7{text-indent:0px; padding-left:42px;margin-bottom:5px;}
.ctt_privacy  .bo_v_tit{font-size:26px;margin-bottom:40px !important;display:inline-block}

/*이용약관*/
.level2_1{font-size:25px; font-weight:600; margin-top:40px; margin-bottom:30px;}
.level2_1:first-child{margin-top:0px;}
.level2_2{font-size:16px;font-weight:600; margin-top:40px; margin-bottom:30px;}
.level2_2_1{margin-top:10px; margin-bottom:5px; text-indent:0px; padding-left:0px}
.level2_3{margin-top:10px; margin-bottom:5px;text-indent:-0px; padding-left:0px;}
.level2_3_1{margin-top:10px; margin-bottom:5px;text-indent:-20px; padding-left:20px;}
.level2_4{margin-bottom:5px; padding-left:38px; text-indent:-16px;}
.level2_4_1{text-indent:-21px; padding-left:22px;  margin-bottom:5px;}
.level2_4_2{text-indent:-19px; padding-left:38px;  margin-bottom:5px;}
.level2_5{text-indent:-21px; padding-left:58px;  margin-bottom:5px;}
.level2_6{padding-left:38px;  margin-bottom:5px;}
.ctt_provision .bo_v_tit{font-size:26px;margin-bottom:40px !important;display:inline-block}


/* 이용/처리방침 리스트 */
.level-ul1{}
.level-ul1 li{margin:10px 0; padding-left:15px; text-indent:-15px;}
.level-ul1 li:before{content:''; display:inline-block; vertical-align:5px; margin-right:10px; width:6px; height:2px; background:#739b42;}
.level-ul1 li .in_li-tit{display:inline-block; padding-left:15px; width:calc(100% - 15px);}
.level-ul1 li ul li strong{margin:10px 0 5px;}

.level-ul2{margin-top:10px; margin-left:-15px;}
.level-ul2 li{position:relative; margin:5px 0; padding-left:10px; text-indent:-10px;}
.level-ul2 li:first-child{margin-top:0;}
.level-ul2 li:last-child{margin-bottom:0;}
.level-ul2 li:before{content:''; display:inline-block; vertical-align:4px; margin-right:5px; width:3px; height:3px; background:#474747; border-radius:20px;}



/*이미지 정렬박스*/
div [class^="img-box"] .con-img img{width:100%;max-width:100%}

.img-box2 .con-img{float:left;width:calc(50% - 5px);margin-right:10px;display:inline-block;}
.img-box2 .con-img:nth-child(2n){margin-right:0px}

.img-box3 .con-img{float:left;width:calc(33.333333% - 7px);margin-right:10px;display:inline-block;}
.img-box3 .con-img:nth-child(3n){margin-right:0px}
.img-box3 .con-img:nth-child(n+4){margin-top:10px}

.img-box4 .con-img{float:left;display:inline-block;width:calc(25% - 8px);margin-right:10px}
.img-box4 .con-img:nth-child(4n){margin-right:0px}
.img-box4 .con-img:nth-child(n+5){margin-top:10px}


/*왼쪽박스, 오른쪽박스 기본값*/
.left-box, .right-box{float:Left;display:inline-block;box-sizing:border-box;margin:10px auto;}
.left-box{width:30%;padding:10px}
.right-box{width:70%;padding-left:30px}
.left-box img, .right-box img{max-width:100% !important}


/*제목있는 박스 3x3*/
.wd-body{width:100%;display:inline-block;}
.wd-body .wd-box{float:left;display:inline-block;width:calc(33.33333% - 7px);margin:5px;box-sizing:border-box;}
.wd-body > .wd-box:first-child, .wd-body > .wd-box:nth-child(3n+1) {margin-left:0px}
.wd-body .wd-box:nth-child(3n){margin-right:0px}
.wd-body .wd-title{font-weight:bold;font-size:14px;text-align:center;background:#3f51b5;color:#fff;padding:15px 0;letter-spacing:-1px;border-radius:20px 20px 0 0}
.wd-body .wd-con{padding:20px;min-height:150px;background:#f1f1f1; border-radius:0 0 20px 20px}


.mo-none{display:block !important;}
.m-block, .pv-none{display:none !important;}

.aw-box2 {display:flex; align-items:center; gap:20px}
.aw-box2 .abox{border:1px solid #ddd; border-radius:20px; padding:20px }


.aw-box3 {display:flex; align-items:center; }
.aw-box3 .abox{border:1px solid #ddd; border-radius:20px; padding:20px }

.aw-box6{display:flex;align-items: stretch; }
.aw-box6 .abox{display:flex;align-items: center; flex-direction: column; width:100%; border:1px solid #ddd; background:#fafafa; padding:20px;}
.aw-box6 .abox .con-txt{width:100%}
.aw-box6 .abox .con-tit{padding:10px}
.aw-box6 .arbox{width:100%; max-width:11px; margin:0 10px;    display: flex;    align-items: center;}

/*Responsive 370, 480, 768, 992, 1160*/
@media all and (max-width:768px){
	.aw-box5, .aw-box10{flex-direction: column;justify-content: center;}
	.aw-box5 .abox, .aw-box10 .abox {width:100%;margin:0 auto}
	.aw-box5 .arbox, .aw-box10 .arbox{margin:10px auto}
	.aw-box5 .arbox img, .aw-box10 .arbox img{-webkit-transform: rotate(90deg);-moz-transform: rotate(90deg);-o-transform: rotate(90deg);-ms-transform: rotate(90deg);transform: rotate(90deg);}
}


/*연혁*/
/*Responsive 370, 480, 768, 992, 1160*/
@media all and (max-width:480px){
	.year{margin-bottom:0px}
	.year:after{left:12px;top:40px}
	.con_wrap{padding-left:30px;margin:-3px 0 0 20px}
}


#wrapper .h1{line-height:160%;  margin-bottom:20px;position: relative;font-size:1.8rem;    margin-top: 0;}
#wrapper .h2{position:relative; margin-bottom:15px;font-size:1.5rem;    margin-top: 0;}
#wrapper .h3{position:relative; margin-bottom:10px;font-size:1.2rem;    margin-top: 0;}

/*웹접근성 이미지 설명 누락 표시*/
/*img[alt=""]{border: 5px solid #c00;}*/
/*img:not([alt]){border: 5px solid #c00;}*/

/*콘텐츠 스타일*/

:root {
    --primary-color: #2e7d32; /* 신뢰감을 주는 숲 색상 */
    --accent-color: #3a8afd; /* 나무의꿈 테마 블루 */
    --bg-light: #f9fbf9;
    --text-main: #333;
}


/*인사말*/
#bo_design .B01 {background: url('/theme/basic/img/pub/1dtree_body_bg.png') right bottom no-repeat; background-size: contain;}




.identity-section { }

.container { max-width: 1000px; margin: 0 auto; }
.text-center { text-align: center; }

/* 슬로건 & 미션 */
.slogan {
    display: block;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.mission-text {
    font-size: 1.15rem;
    line-height: 1.8;
}

/* 비전 카드 */
.vision-card {
    background: linear-gradient(135deg, var(--primary-color), #43a047);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 50px;
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.2);
}

.vision-card h3 { font-size: 1.5rem; margin-bottom: 15px; opacity: 0.9; }
.vision-card p { font-size: 1.4rem; font-weight: 500; word-break: keep-all; }

/* 핵심가치 그리드 */

/*핵심가치*/
.aw-box2 {display: grid; align-items:stretch; gap:20px; grid-template-columns: repeat(2, 1fr)}
.aw-box2 .aw-abox{border:1px solid #ddd; border-radius:20px; padding:20px }


/* 모바일 대응 */
@media screen and (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .mission-text { font-size: 1rem; }
    .vision-card p { font-size: 1.1rem; }
    .value-grid {
        grid-template-columns: 1fr; /* 모바일은 1열로 세로 정렬 */
    }
}






/*사업소개*/
.about-section {
    background-color: #fff;
    font-family: 'Pretendard', sans-serif;
}


.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* 이미지 스타일 */
.about-image { flex: 1; position: relative; }
.image-box {
    width: 100%;
    height: 400px;
    background-color: #e8f5e9; /* 이미지 없을 시 기본 배경색 */
    border-radius: 30px 0 30px 0; /* 독특한 곡선 스타일 */
    overflow: hidden;
    box-shadow: 20px 20px 0px var(--theme-color, #2e7d32); /* 포인트 컬러 그림자 */
}



/* 부모 컨테이너 */
.image-transition-wrap {
    position: relative;
    width: 100%;
    /* 이미지 중 하나를 기준으로 높이를 잡기 위해 설정 */
    display: inline-block;
}

/* 두 이미지 공통 스타일 */
.image-transition-wrap img {
    display: block;
    width: 100%;
    height: auto;
}

/* 컬러 이미지 설정 (위에 겹치기) */
.img-color {
    position: absolute;
    top: 0;
    left: 0;
    /* 서서히 변하는 애니메이션 실행 */
    animation: fadeColor 4s infinite ease-in-out;
}

/* 흑백 -> 컬러 애니메이션 정의 */
@keyframes fadeColor {
    0% {
        opacity: 0; /* 처음엔 흑백만 보임 */
    }
    45% {
        opacity: 0; /* 잠시 흑백 유지 */
    }
    55% {
        opacity: 1; /* 서서히 컬러로 변함 */
    }
    100% {
        opacity: 1; /* 컬러 유지 */
    }
}

.image-reveal-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0; /* 이미지 하단 미세 간격 제거 */
}

.image-reveal-wrap img {
    width: 100%;
    height: auto;
}

.img-color {
    position: absolute;
    top: 0;
    left: 0;
    /* 아래에서 위로 이미지를 잘라내는 애니메이션 */
    animation: revealUp 5s infinite ease-in-out;
}

@keyframes revealUp {
    0% {
        /* 처음엔 아래쪽에 숨겨져 있음 (Y축 100% 지점까지 자름) */
        clip-path: inset(100% 0 0 0);
    }
    10% {
        /* 잠시 흑백 유지 */
        clip-path: inset(100% 0 0 0);
    }
    50% {
        /* 중간 지점에서 완전히 다 보임 (inset 0) */
        clip-path: inset(0 0 0 0);
    }
    90% {
        /* 컬러 상태 유지 */
        clip-path: inset(0 0 0 0);
    }
    100% {
        /* 다시 사라짐 (선택 사항: 다시 흑백으로 돌아가게 함) */
        clip-path: inset(100% 0 0 0);
    }
}



.badge {
    position: absolute;
    top: -15px; left: 20px;
    background: var(--theme-color, #2e7d32);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    z-index: 2;
}

/* 텍스트 스타일 */
.about-text { flex: 1.2; }
.sub-title { color: var(--theme-color, #2e7d32); font-size: 1.1rem; margin-bottom: 10px; }
.main-title { font-size: 2.2rem; line-height: 1.4; margin-bottom: 25px; word-break: keep-all; }
.main-title span { color: var(--theme-color, #2e7d32); font-weight: 800; }

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    word-break: keep-all;
}

.feature-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; justify-content: center;}
.feature-tags span {
    background: #f0f4f0;
    color: #2e7d32;
    padding: 6px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 반응형 모바일 */
@media screen and (max-width: 991px) {
    .about-flex { flex-direction: column; gap: 40px; }
    .image-box { height: 300px; box-shadow: 10px 10px 0px var(--theme-color, #2e7d32); }
    .main-title { font-size: 1.8rem; }
    .description { font-size: 1rem; }
}




/*운영안내*/
.program-section {
    font-family: 'Pretendard', sans-serif;
}

.container { max-width: 1100px; margin: 0 auto; text-align: center; }

.section-main-title { font-size: 2.2rem; margin-bottom: 10px; color: #222; }
.section-sub-desc { font-size: 1.1rem; color: #666; margin-bottom: 50px; }

/* 그리드 레이아웃 */
.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PC 3열 */
    gap: 25px;
}

.program-card {
    background: #fff;
    border-radius: 0 20px 20px;
    padding: 35px 25px;
    text-align: left;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.card-header h3 { font-size: 1.4rem; margin: 10px 0 20px; color: #333; }
.category-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
}

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

.activity-list li {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.activity-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--point-color);
}

/* 카테고리별 테마 색상 */
.color-1 { --point-color: #4caf50; border-top: 5px solid #4caf50; }
.color-2 { --point-color: #ff9800; border-top: 5px solid #ff9800; }
.color-3 { --point-color: #e91e63; border-top: 5px solid #e91e63; }
.color-4 { --point-color: #2196f3; border-top: 5px solid #2196f3; }
.color-5 { --point-color: #9c27b0; border-top: 5px solid #9c27b0; }
.color-6 { --point-color: #009688; border-top: 5px solid #009688; }

.color-1 .category-tag { background: #e8f5e9; color: #4caf50; }
.color-2 .category-tag { background: #fff3e0; color: #ff9800; }
.color-3 .category-tag { background: #fce4ec; color: #e91e63; }
.color-4 .category-tag { background: #e3f2fd; color: #2196f3; }
.color-5 .category-tag { background: #f3e5f5; color: #9c27b0; }
.color-6 .category-tag { background: #e0f2f1; color: #009688; }

/* 반응형 설정 */
@media screen and (max-width: 991px) {
    .program-grid { grid-template-columns: repeat(2, 1fr); } /* 태블릿 2열 */
}

@media screen and (max-width: 600px) {
    .program-grid { grid-template-columns: 1fr; } /* 모바일 1열 */
    .section-main-title { font-size: 1.8rem; }
}






/*자원봉사*/
.volunteer-section {
    font-family: 'Pretendard', sans-serif;
}

.container { max-width: 1000px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 50px; font-size: 2rem; color: #1e293b; }

/* 단계 스타일 */
.step-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    gap: 10px;
}

.step-item {
    flex: 1;
    background: #fff;
    padding: 25px 15px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.step-num {
    display: inline-block;
    width: 35px; height: 35px;
    line-height: 35px;
    background: var(--theme-color, #2e7d32);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.step-item h4 { margin-bottom: 10px; color: #334155; }
.step-item p { font-size: 0.9rem; color: #64748b; line-height: 1.5; word-break: keep-all; }

/* 화살표 (PC에서만 노출) */
.step-arrow {
    width: 20px; height: 20px;
    border-top: 3px solid #cbd5e1;
    border-right: 3px solid #cbd5e1;
    transform: rotate(45deg);
}

/* 분야 그리드 스타일 */
.field-container {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.field-container h3 { text-align: center; margin-bottom: 30px; color: #1e293b; }

.field-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.field-card {
    background: #f1f5f9;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s;
}

.field-card:hover {
    background: var(--theme-color, #2e7d32);
    color: #fff;
}

/* 문의전화 */
.contact-box {
    margin-top: 40px;
    text-align: center;
    padding: 20px;
    border-top: 1px dashed #e2e8f0;
}

.contact-box p { font-size: 1.1rem; color: #334155; }
.contact-box strong { color: var(--theme-color, #2e7d32); font-size: 1.3rem; }

/* 반응형 모바일 */
@media screen and (max-width: 768px) {
    .step-wrapper { flex-direction: column; gap: 20px; }
    .step-arrow { transform: rotate(135deg); margin: 5px 0; }
    .field-grid { grid-template-columns: repeat(2, 1fr); }
    .field-container { padding: 30px 15px; }
}