
/* sub_A_02 설립목적 features-2 — WOW fadeIn이 뷰포트 진입 전 opacity:0 으로 빈 박스처럼 보이는 현상 방지 */
#mission .wow.fadeIn {
    opacity: 1;
    transform: none;
    animation: none;
}

/* 설립목적 카드: PC에서는 의도한 위치에서 줄바꿈하고 카드 높이를 유지 */
#mission .features-2-item {
    width: 100%;
    min-height: 210px;
    box-sizing: border-box;
}

/* 인사말 강조 문구: PC에서만 행 길이와 본문 크기 조정 */
@media (min-width: 768px) {
    .testimonials-6-text.greeting-text {
        font-size: 24px;
        line-height: 1.5;
    }
}

@media (max-width: 767px) {
    /* 모바일에서는 강제 줄바꿈을 해제해 화면 너비에 맞춰 자연스럽게 표시 */
    #mission .pc-only-break {
        display: none;
    }

    /* 인사말은 모바일에서 자연스럽게 줄바꿈 */
    .greeting-pc-break {
        display: none;
    }

    /* 모바일 업무분야 본문과 각주의 줄 간격 확보 */
    #mission .work-all {
        line-height: 1.5;
    }
}

/*2020's 외 4개 메뉴 year's 탭 디자인 20250114 협회안내 >  협회연혁 sub_A_02.php*/
.tpl-bottom-tabs{
    display: inline-block;
    font-size: 18px;
    letter-spacing: -0.05em;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    /* letter-spacing: 1px;     */
    border: none;
}
.tpl-bottom-tabs > li{
    display: inline-block;
    padding: 0 20px;
    background: none !important;
}
.tpl-bottom-tabs-wide > li{
    display: inline-block;
    padding: 0 96px;
    background: none !important;
}
.tpl-bottom-tabs > li > a,
.tpl-bottom-tabs > li > a:focus{
    padding: 5px 20px 5px;
    text-decoration: none;
    color: var(--color-dark-1);
    background: none;
    border-bottom: 2px solid transparent;
}
.tpl-bottom-tabs > li > a:hover{
    background: none;
    border-color: var(--color-gray-light-5) !important;
    color: var(--color-dark-1);
}
.tpl-bottom-tabs li a.active,
.tpl-bottom-tabs li a.active:hover{
    border-bottom: 2px solid var(--color-dark-3) !important;
    background: none !important;
    color: var(--color-dark-1) !important;
    cursor: default;
}

/* 협회연혁: 줄바꿈된 본문도 글머리표 뒤 시작선에 맞춤 */
#ideas .timeline-content p {
    position: relative;
    padding-left: 0.75em;
}

#ideas .timeline-content p::before {
    content: "·";
    position: absolute;
    left: 0;
}

/* 협회연혁: 월별 행사 내용을 점선으로 구분 */
#ideas .timeline-content {
    flex: 1 1 auto;
    min-width: 0;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--color-gray-light-4);
}

#ideas .timeline-item {
    margin-bottom: 12px;
}

/* 점선용 하단 여백을 제외한 행사 내용의 세로 중앙에 월 배지 배치 */
#ideas .timeline-date {
    top: calc(50% - 6px);
}

/* 협회연혁 decade 탭(sub_A_02) — 모바일·태블릿 여백·정렬 */
@media (max-width: 991px) {
    .tpl-bottom-tabs-wide > li {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 767px) {
    .tpl-bottom-tabs-wide > li,
    .tpl-bottom-tabs > li {
        padding-left: 6px;
        padding-right: 6px;
    }

    .works-filter.tpl-bottom-tabs-wide a,
    .works-filter.tpl-bottom-tabs a {
        margin-left: 0;
    }

    .works-filter.tpl-bottom-tabs-wide {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .works-filter.tpl-bottom-tabs-wide > .nav-item {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .text-start:has(.tpl-bottom-tabs-wide) {
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .tpl-bottom-tabs-wide > li,
    .tpl-bottom-tabs > li {
        padding-left: 4px;
        padding-right: 4px;
    }

    .tpl-bottom-tabs-wide > li > a,
    .tpl-bottom-tabs > li > a {
        padding-left: 10px;
        padding-right: 10px;
    }

    .works-filter.tpl-bottom-tabs-wide {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 4px;
    }

    .works-filter.tpl-bottom-tabs-wide .filter {
        width: auto !important;
        margin: 0 !important;
        padding: 6px 10px !important;
        font-size: 14px !important;
    }
}

/* *협회안내 >역대회장* sub_A_03.php */
.editor_wrap {
    padding: 0;
    word-break: keep-all;
}

.box_colum_wrap .box_colum {
    margin-top: 120px;
}

.box_colum_wrap .box_colum:first-child {
    margin-top: 0;
}

.box_colum .colum_list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #ccc;
    padding: 0;
    margin: 0;
}

.box_colum .colum_list:first-child {
    border-top: 0;
}

/* 역대회장 css 리스트 아이템 공통 스타일 */
.colum_list li {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 60px 40px 70px;
    border-bottom: 1px solid #ddd;
    list-style: none;
    box-sizing: border-box;
}

/* 5컬럼 레이아웃 */
.colum_list.col05 li {
    width: 20%;
}

/* 이미지 스타일 */
.colum_list li .colum_list_img {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    margin-top: auto;
    padding-top:  5px;
    text-align: right;
}

.colum_list li .colum_list_img img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
}

/* 텍스트 스타일 */
.colum_list li .num {
    font-size: 18px;
    letter-spacing: -0.05em;
    font-weight: bold;
    color: #5385D7;
}

.colum_list li .tit {
    margin-top: 5px;
    font-size: 25px;
    word-break: keep-all;
    word-wrap: break-word;
}

.colum_list li .tit em {
    font-weight: bold;
    font-style: normal;
}

.colum_list li .date {
    margin-top: 5px;
    font-size: 18px;
    color: #999;
    word-break: keep-all;
}

/* 구분선 스타일 */
.colum_list li:after {
    content: "";
    position: absolute;
    right: 0;
    top: 60px;
    bottom: 70px;
    width: 1px;
    background: #eee;
}

/* 마지막 줄 테두리 제거 */
.colum_list li:nth-last-child(-n+5) {
    border-bottom: 0;
}
/* 5번째 배수 요소의 오른쪽 테두리 제거 */
.colum_list li:nth-child(5n):after {
    display: none;
}

/* 미디어 쿼리 */
@media screen and (max-width: 1200px) {
    .colum_list.col05 li {
        width: 25%;
    }
    .colum_list li:nth-child(4n):after {
        display: none;
    }
}

@media screen and (max-width: 992px) {
    .colum_list.col05 li {
        width: 33.333%;
    }
    .colum_list li:nth-child(3n):after {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .colum_list.col05 li {
        width: 50%;
        padding: 30px 20px 35px;
    }
    .colum_list li:nth-child(2n):after {
        display: none;
    }

    .colum_list li .colum_list_img img {
        width: 120px;
        height: 120px;
    }

    .colum_list li .tit {
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    .colum_list.col05 li {
        width: 100%;
        padding: 30px 20px 35px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-bottom: 1px solid #ddd;
    }

    /* 모바일에서는 마지막 항목만 하단 테두리 제거 */
    .colum_list.col05 li:nth-last-child(-n+5) {
        border-bottom: 1px solid #ddd;
    }

    .colum_list.col05 li:last-child {
        border-bottom: 0;
    }

    .colum_list li:after {
        display: none;
    }

    .colum_list li .colum_list_img {
        margin-top: 5px;
        text-align: center;
    }

    .colum_list li .colum_list_img img {
        width: 200px;
        height: 200px;
    }

    .colum_list li .tit {
        font-size: 22px;
        margin-top: 8px;
    }

    .colum_list li .num {
        font-size: 18px;
    }

    .colum_list li .date {
        font-size: small;
        margin-top: 5px;
    }
}




/* 회원사 현황: 캡션+다운로드버튼 한 줄 (sub_A_04) */
.member-caption-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    margin-bottom: 10px;
}
.member-caption-row .member-caption-text {
    text-align: left;
    font-size: calc(1em - 2px);
}
.member-caption-row .member-caption-text .caption-strong {
    font-size: 1rem;
}
.member-caption-row .caption-strong {
    font-weight: 500;
}

/* 엑셀 다운로드 버튼: 배경 엑셀 그린, 한 줄 표시 (sub_A_04) */
.btn-excel-green {
    background-color:rgb(14, 151, 76) !important;
    border-color: #1D6F42 !important;
    color: #fff !important;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.btn-excel-green:hover {
    background-color: #166b3a !important;
    border-color: #166b3a !important;
    color: #fff !important;
}
.btn-excel-green > span {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.btn-excel-green .mi-download {
     font-size: 1.2em; /* 아이콘 크기 조절: 1em(기본), 1.2em(더 크게) 등 */
 }

/* 회원사 현황 캡션+엑셀버튼 모바일 (sub_A_04) */
@media (max-width: 768px) {
    .member-caption-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        flex-wrap: wrap;
    }
    .member-caption-row .text-gray {
        width: 100%;
    }
    .member-caption-row .btn-excel-green {
        display: flex;
        width: 100%;
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .member-caption-row {
        gap: 10px;
        margin-bottom: 8px;
    }
    .member-caption-row .member-caption-text {
        font-size: calc(1em - 3px);
    }
    .member-caption-row .member-caption-text .caption-strong {
        font-size: 0.95rem;
    }
    .member-caption-row .btn-excel-green {
        font-size: 14px;
        padding: 8px 12px;
    }
}

/*A협회안내 조직 및 기구  > 회원사 현황 */
.member-wrap {
    max-width: 100%;
    margin: 0 auto 30px;
    font-size: medium;
}

.member-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.member-header,
.member-item {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.member-header {
    background: #f5f5f5;
    border-bottom-color: #ddd;
    font-weight: bold;
}

.member-header > div,
.member-item > div {
    padding: 0 10px;
    text-align: center;
    flex: 1;
}

.local-org-item > div.align-left {
    text-align: left;
}

.local-ln-item > div.align-left {
    text-align: left;
}

@media (max-width: 768px) {
    .local-org-header {
        display: none;
    }

    .local-org-item {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        padding: 15px;
        margin-bottom: 10px;
        border: 1px solid #eee;
        border-radius: 5px;
    }

    /* base.css의 .local-org-item > div:nth-child(n) { width: N% } 보다 특이도를 맞춰 덮어씀 (모바일에서 한 글자씩 세로로 끊기는 현상 방지) */
    .local-org-item > div:nth-child(1),
    .local-org-item > div:nth-child(2),
    .local-org-item > div:nth-child(3),
    .local-org-item > div:nth-child(4),
    .local-org-item > div:nth-child(5) {
        width: 100% !important;
        max-width: 100%;
        flex: 0 0 auto;
        min-width: 0;
        box-sizing: border-box;
        padding: 5px 0;
        text-align: left;
        border-bottom: 1px solid #f5f5f5;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .local-org-item > div:last-child {
        border-bottom: none;
    }

    .local-org-item > div:before {
        content: attr(data-label);
        display: inline-block;
        width: 80px;
        font-weight: bold;
        color: #666;
    }

    .local-org-item > div:nth-child(1):before { content: "지회명: "; }
    .local-org-item > div:nth-child(2):before { content: "지회장명: "; }
    .local-org-item > div:nth-child(3):before { content: "소속: "; }
    .local-org-item > div:nth-child(4):before { content: "주소: "; }
    .local-org-item > div:nth-child(5):before { content: "전화: "; }
}

@media (max-width: 480px) {
    .local-org-header > div,
    .local-org-item > div {
        padding: 0 6px;
        font-size: 13px;
    }
}

/* 회원사 현황 모바일 반응형 스타일 */
@media (max-width: 768px) {
    .member-header {
        display: none;
    }

    .member-item {
        flex-direction: column;
        padding: 15px;
        margin-bottom: 10px;
        border: 1px solid #eee;
        border-radius: 5px;
    }

    .member-item > div {
        width: 100%;
        padding: 5px 0;
        text-align: left;
        border-bottom: 1px solid #f5f5f5;
    }

    .member-item > div:last-child {
        border-bottom: none;
    }

    .member-item > div:before {
        content: attr(data-label);
        display: inline-block;
        width: 80px;
        font-weight: bold;
        color: #666;
    }

    .member-item > div:nth-child(1):before { content: "구분: "; }
    .member-item > div:nth-child(2):before { content: "합계: "; }
    .member-item > div:nth-child(3):before { content: "법인합계: "; }
    .member-item > div:nth-child(4):before { content: "본사(법인): "; }
    .member-item > div:nth-child(5):before { content: "지사(법인): "; }
    .member-item > div:nth-child(6):before { content: "사무소: "; }
}

@media (max-width: 480px) {
    .member-item > div {
        padding: 4px 0;
        font-size: 13px;
    }

    .member-item > div:before {
        width: 70px;
    }
}


	/* A협회안내_임원현황 프로필  sub_A_05*/
.profile_box {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin: 5px 0 40px;
}
div.office_in{text-align: right;color:rgb(255, 81, 0);font-weight:bold;font-size:13px;}
div.profile_box span.office_in{
    color:rgb(255, 81, 0);
    font-weight:bold;
    font-size:13px;
}
.profile_box .profile_photo {
    width: 130px;
    height: 160px;
    margin: 10px auto 8px;
    border: 1px solid #ddd;
    border-radius: 20px;
}

.profile_box span,
.profile_box p {
    text-align: center;
    font-weight: bold;
}

.profile_box span {
    display: block;
    color:#5385D7;
    font-size: 13px;
}

.profile_box p {
    color: #000;
    font-size: 15px;
}

/* 반응형 */
@media (max-width: 1400px) {
    .profile_box {
        grid-template-columns: repeat(5, 1fr);
    }

    .profile_box span {
        display: block;
        color:#5385D7;
        font-size: 13px;
    }
}

@media (max-width: 1200px) {
    .profile_box {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .profile_box {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .profile_box {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile_box .profile_photo {
        min-width: 120px;
        min-height: 150px;
    }
}

@media (max-width: 480px) {
    .profile_box {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* *협회안내 > 찾아오시는 길 sub_A_06*/
.dept-contact-list {max-width:100%; margin:0 auto; font-size:16px;letter-spacing: -0.07em;}
.dept-row {display:flex; border-bottom:1px solid #ddd; padding:8px 0;text-align: center;}
.dept-row:nth-child(2n+1) {background-color: #f5f5f5;}
    .dept-header {
        background-color: #cacaca;
        font-weight: 600;
        border-bottom: 2px solid #a2a3a3;
        border-top: 2px solid #a2a3a3;}
    .dept-name {flex:40%;}
    .dept-tel {flex:30%;}
    .dept-fax {flex:30%;}

    @media (max-width:640px) {
      .dept-row {display:block; margin-bottom:10px; padding:8px; border:1px solid #eee; border-radius:4px;}
      .dept-header {display:none;}
      .dept-tel:before {content:"전화: "; font-weight:bold;}
      .dept-fax:before {content:"팩스: "; font-weight:bold;}
      .dept-name {font-weight:bold; margin-bottom:5px;}
      /* 모바일: base.css .alt-features-item.border-left(padding-left 30px) 미적용 */
      .alt-features-item.border-left {
        padding-left: 0;
        border-left: 0;
      }

      .root_daum_roughmap {
        padding-left: 0;
      }
    }

    .root_daum_roughmap {
        width: 100% !important;
        max-width: 640px;
        margin: 0 auto;
    }

    @media (min-width: 641px) {
      .root_daum_roughmap {
        padding-left: 40px;
      }
    }

    .root_daum_roughmap .map_canvas {
        width: 100% !important;
    }
