/* 공통 */
.sub_visual { width: 100%; height: 250px; background-color: #333; background-repeat: no-repeat;  background-size: cover; display: flex; align-items: center; text-align: left; color: #fff; padding-top: 20px; position: relative; }
.sub_visual.visual01 { background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(../img/sub/sub_visual01.jpg); }
.sub_visual.visual02 { background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(../img/sub/sub_visual02.jpg); }
.sub_visual.visual03 { background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(../img/sub/sub_visual03.jpg); }
.sub_visual.visual04 { background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(../img/sub/sub_visual04.jpg); }
.sub_visual .visual-title h1 { font-size: 65px; color: #fff; margin-bottom: 10px; }
.sub_visual .visual-title p { font-size: 17px; color: #fff; opacity: 0.8; line-height: 1.65; word-break: keep-all }
.sub-header {width: 100%; position: absolute; bottom: 10px; left: 0;}
.sub-header ul.sub-position { display: flex; flex-wrap: wrap; }
.sub-header ul.sub-position > li { display: flex; position: relative; align-items: center; padding: 0 30px 10px; cursor: pointer; width: calc(50% - 25px); max-width: 240px; font-size: 17px;}
.sub-header ul.sub-position > li.home { padding-left: 0; width: 50px; }
.sub-header ul.sub-position > li.home a { display: flex; }
.sub-header ul.sub-position > li.home::after, .sub-header ul.sub-position li.home::before { display: none; }
.sub-header ul.sub-position > li::after {content: ""; width: 13px; height: 8px; background: url(../img/sub/arrow.png) no-repeat; display: block; position: absolute; right: 20px;}
/* .sub-header ul.sub-position > li:last-child::after { background: none;} */
.sub-header ul.sub-position > li::before {content: ""; width: 1px; height: 15px; background-color: rgba(255,255,255,0.3);  position: absolute; left: 0;}
.sub-header ul.sub-position li ul.sub-dropdown { position: absolute; top: 100%; left: 0; padding: 20px 30px; width: 100%; z-index: 2; background-color: #000; display: none;}
.sub-header ul.sub-position li ul.sub-dropdown li { padding: 5px 0; }
.sub-header ul.sub-position li ul.sub-dropdown li a {color: #fff; font-size: 16px; display: block; line-height: 1.65; opacity: 0.8;}
.sub-header ul.sub-position li ul.sub-dropdown li a:hover { opacity: 1; } 

@media ( max-width: 768px) {
    .sub_visual .visual-title h1 { font-size: 35px}
}

/* Sub menu subtle polish */
.sub_visual {
    height: 270px;
}

.sub_visual .visual-title h1 {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: 0;
}

.sub-header {
    bottom: 18px;
}

.sub-header ul.sub-position {
    align-items: center;
}

.sub-header ul.sub-position > li {
    min-height: 42px;
    width: 210px;
    max-width: 210px;
    padding: 0 42px 0 24px;
    border-radius: 2px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.18);
}

.sub-header ul.sub-position > li.home {
    width: 46px;
    max-width: 46px;
    min-height: 42px;
    justify-content: center;
    padding: 0;
    background: rgba(0, 0, 0, 0.28);
}

.sub-header ul.sub-position > li.home img {
    width: 17px;
    height: 17px;
}

.sub-header ul.sub-position > li::before {
    height: 18px;
    background-color: rgba(255, 255, 255, 0.22);
}

.sub-header ul.sub-position > li::after {
    right: 18px;
    opacity: 0.85;
}

.sub-header ul.sub-position li ul.sub-dropdown {
    top: 100%;
    width: 100%;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    background: rgba(16, 24, 40, 0.96);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.sub-header ul.sub-position li:hover ul.sub-dropdown {
    display: block;
}

.sub-header ul.sub-position li ul.sub-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -8px;
    height: 8px;
}

.sub-header ul.sub-position li ul.sub-dropdown li {
    padding: 0;
}

.sub-header ul.sub-position li ul.sub-dropdown li a {
    padding: 9px 10px;
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
    opacity: 0.82;
}

.sub-header ul.sub-position li ul.sub-dropdown li a:hover {
    background: rgba(255, 255, 255, 0.08);
    opacity: 1;
}

@media (max-width: 768px) {
    .sub_visual {
        height: 230px;
    }

    .sub_visual .visual-title h1 {
        font-size: 32px;
    }

    .sub-header {
        bottom: 14px;
        padding: 0 14px;
    }

    .sub-header ul.sub-position {
        flex-wrap: nowrap;
        width: 100%;
    }

    .sub-header ul.sub-position > li {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        max-width: none;
        min-height: 40px;
        padding: 0 28px 0 12px;
        font-size: 13px;
    }

    .sub-header ul.sub-position > li.home {
        flex: 0 0 42px;
        width: 42px;
        max-width: 42px;
        min-height: 40px;
    }

    .sub-header ul.sub-position > li::after {
        right: 11px;
    }

    .sub-header ul.sub-position li ul.sub-dropdown {
        min-width: 150px;
    }
}




