@charset "utf-8";
/*ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ

 * Sub_visual *
    
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ*/
.sub_visual {text-align: center;}
.sub_visual .inner {border-bottom: 1px solid #e0e0e0; padding: 55px 0; box-sizing: border-box;}
.sub_visual h2 {font-weight: 500; font-size: var(--fz-45); line-height: 1.2em;}
.sub_visual span {display: block; font-weight: 500; font-size: var(--fz-15); text-transform: capitalize; margin-top: 5px;}

.sub_tab ul {border-bottom: 1px solid #e0e0e0; display: flex; justify-content: center;}
/*.sub_tab ul li {width: 14.285%; position: relative;}*/
.sub_tab ul li {width: 11.111%; position: relative;}
/* 20261113 추가 : 탭이 10개 이상(스킨부스터 센터 등)일 때 좌우로 넘치지 않도록 폭을 나눠 가짐. 9개 이하는 기존과 동일 */
.sub_tab ul li {flex: 0 1 auto; min-width: 0;}
/* 20261116 수정 : 칸보다 긴 탭 이름(일본어 등)이 옆 탭과 겹치지 않도록 처리.
   :has() 를 지원하지 않는 브라우저에서도 동작하도록 "li 가 10개 이상일 때" 조건을 nth-last-child 로 작성 */
.sub_tab ul li a {word-break: keep-all; overflow-wrap: break-word; overflow-wrap: anywhere;}
@media all and (min-width: 768px) {
    /* 한 줄에 다 안 들어가면 겹치지 않고 다음 줄로 내려감 (9개 이하는 합이 100% 이하라 영향 없음) */
    .sub_tab ul {flex-wrap: wrap;}
    /* 10개 이상이면 같은 폭 대신 글자 길이에 비례한 폭으로 배치 */
    .sub_tab ul li:nth-last-child(n+10):first-child,
    .sub_tab ul li:nth-last-child(n+10):first-child ~ li {flex: 1 0 auto; width: auto; min-width: 0; max-width: 100%;}
    .sub_tab ul li:nth-last-child(n+10):first-child a,
    .sub_tab ul li:nth-last-child(n+10):first-child ~ li a {padding-left: 6px; padding-right: 6px;}
}
@media all and (min-width: 768px) and (max-width: 1200px) {
    .sub_tab ul li:nth-last-child(n+10):first-child,
    .sub_tab ul li:nth-last-child(n+10):first-child ~ li {flex: 0 0 16.666%; width: 16.666%;}
    .sub_tab ul li:nth-last-child(n+10):first-child ~ li:nth-child(n+7) {border-top: 1px solid #e0e0e0;}
}
/* 외국어는 탭 이름이 길어 한 줄에 다 안 들어가는 구간(1201~1500px)도 6칸 2줄로 */
@media all and (min-width: 1201px) and (max-width: 1500px) {
    html:not([lang="ko"]) .sub_tab ul li:nth-last-child(n+10):first-child,
    html:not([lang="ko"]) .sub_tab ul li:nth-last-child(n+10):first-child ~ li {flex: 0 0 16.666%; width: 16.666%;}
    html:not([lang="ko"]) .sub_tab ul li:nth-last-child(n+10):first-child ~ li:nth-child(n+7) {border-top: 1px solid #e0e0e0;}
}
.sub_tab ul li::before {content: ''; position: absolute; width: 0; height: 2px; background-color: #000; bottom: 0; left: 50%; transform: translateX(-50%); transition: 0.25s;}
.sub_tab ul li:hover::before {width: 100%;}
.sub_tab ul li.on::before {width: 100%;}
.sub_tab ul li a {display: block; text-align: center; width: 100%; font-weight: 500; font-size: var(--fz-19); line-height: 1.25em; padding: 20px 10px; box-sizing: border-box;}

@media all and (max-width: 767px) {
    .sub_tab ul {flex-wrap: wrap;}
    .sub_tab ul li {width: 50%;}
    .sub_tab ul li.last {width: 100%;}
    .sub_tab ul li:nth-child(n+3) {border-top: 1px solid #e0e0e0;}
}