/* 서브 탑 비주얼 */
.sub-visual {
    margin-top: 10rem; /* 헤더 배경 흰색일 때 */
    position: relative;
}
.sub-visual .img {
    background: #000;
}
.sub-visual .img img {
    width: 100%;
    min-height: 40rem;
    opacity: 0.65;
    object-fit: cover;
}
.sub-visual .txt {
    position: absolute; 
    top:50%;
    left: 50%; 
    transform: translate(-50%,-50%);
    text-align: center;
    width: 100%;
    padding-inline: 5%;
    padding-bottom: 7rem; /* 서브탭 높이 적용해서 텍스트 중앙에 오도록 */
}

.sub-visual .txt .location {
    display: flex; 
    flex-flow: row wrap;
    justify-content: center; 
    align-items: center;
}
.sub-visual .txt .location li {
    font-size: max(13px,1.6rem);
    color: #fff;
    position: relative;
}
.sub-visual .txt .location li:not(:last-child) {
    padding-right: 3rem;
}
.sub-visual .txt .location li:not(:last-child)::before {
    content:""; 
    position: absolute; 
    top:50%;
    right:0;
    transform: translate(-50%, -50%);
    width: 1.5rem;
    height: 1.5rem;
    background: url(../img/common/arrow_icon1.png) no-repeat right center / contain;   
}
.sub-visual .txt h2 {
    font-size: 6.4rem;
    font-weight: 700;
    color: #fff;
    margin-top: 5rem;
}
.sub-visual .txt p {
    font-size: 2.2rem;
    color: #fff;
    margin-top: 3rem;
}


/* 서브 탭 공통 */
.sub-depth-wrap {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    margin-top: -7rem;
    position: relative;
    z-index: 9;
    background: rgba(0,0,0,0.5);
}
.sub-depth-wrap a{
    display: block;
    line-height: 7rem;
    text-align: center;
    font-size: max(16px,2rem);
    color: #fff;
}

/* pc 서브 탭 */
.sub-depth-wrap .sub-depth-1 {
    width: 100%;
    max-width: 1400px;
}
.sub-depth-wrap .sub-depth-1 ul {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
}
.sub-depth-wrap .sub-depth-1 ul li {
    flex:1 auto
}
.sub-depth-wrap .sub-depth-1 ul li.active {
    background: var(--point);
}
.sub-depth-wrap .sub-depth-1 ul li.active a {
    position: relative;
}
/* 모바일 서브 탭 */
.sub-depth-wrap .sub-depth-2 {
    width: 100%;
    display: none;
}

@media screen and (max-width:768px){
    .sub-depth-wrap {
        background: none;
    }
    .sub-depth-wrap a {
        text-align: left;
        padding: 0 5%;
    }
    .sub-depth-wrap .sub-depth-1 ul li.active a::before {
        content: "";
        position: absolute;
        top:50%; 
        right:5%;
        transform: translateY(-50%);
        width: 7rem;
        height: 7rem;
        background: url(../img/icon_select_arrow.png) no-repeat center right / contain;
    }
    .sub-depth-wrap .sub-depth-1 ul li.active a.bg-act::before {
        transform: translateY(-50%) scale(1,-1);
    }
    .sub-depth-wrap .sub-depth-1 ul li:not(.active) {
        display: none;
    }
    .sub-depth-wrap .sub-depth-2 {
        background: #fff;
    }
    .sub-depth-wrap .sub-depth-2 a {
        border-bottom: 1px solid #d1d1d1;
        color: #111;
    }
}

/* 서브페이지 공통 */
.content-wrap {
    padding: 10rem 0;
}

.content-wrap .location {
    display: flex; 
    flex-flow: row wrap;
    justify-content: flex-end; 
    align-items: center;
}
.content-wrap .location li,
.content-wrap .location li a {
    font-size: max(13px,1.6rem);
    position: relative;
    color: #111;
}
.content-wrap .location li:not(:last-child) {
    padding-right: 3rem;
}
.content-wrap .location li:not(:last-child)::before {
    content:""; 
    position: absolute; 
    top:50%;
    right:0;
    transform: translate(-50%, -50%);
    width: 1.5rem;
    height: 1.5rem;
    background: url(../img/common/arrow_icon2.png) no-repeat right center / contain;   
}

.content-wrap .content:not(:last-child) {
    padding-bottom: 8rem;
}
.content-wrap .content-tit h3 {
    font-size: 4.2rem;
    font-weight: 700;
}


/* CEO 인사말 */
.sub1-1 img {
    width: 100%;
}
.sub1-1 .txt h3 {
    font-size: 3.2rem;
    font-weight: 500;
    margin-bottom: 4rem;
}
.sub1-1 .txt p {
    font-size: max(16px,1.8rem);
    color: #666;
}