@charset "UTF-8";
.sub_top_bg{
    padding: 340px 0;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}
/* 각 서브 폴더별 배경 이미지 */
.sub_top_bg.cataract{
    background-image: url("/img/sub_top/sub_top_1_bg.png");
}
.sub_top_bg.nearsighted{
    background-image: url("/img/sub_top/sub_top_2_bg.png");
}
.sub_top_bg.pediatric {
    background-image: url("/img/sub_top/sub_top_3_bg.png"); /* 소아안과 */
} 
.sub_top_bg.retina{
    background-image: url("/img/sub_top/sub_top_4_bg.png");  /* 망막질환 */
} 
.sub_top_bg.daesin_seongmo{
    background-image: url("/img/sub_top/sub_top_5_bg.png");
}
.sub_top_bg.dry{
    background-image: url("/img/sub_top/sub_top_6_bg.png");
}
.sub_top_bg.other_diseases{
    background-image: url("/img/sub_top/sub_top_7_bg.png");
}
.sub_top_bg.bbs{
    background-image: url("/img/sub_top/sub_top_bbs_bg.png");
}
.sub_top_bg.community{
    background-image: url("/img/sub_top/sub_top_8_bg.png");
}
.sub_top_bg.required{
    background-image: url("/img/sub_top/sub_top_9_bg.png");
}
/* 서브탑의 메뉴 전체 넓이 */
.sub_top_w{
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}
.sub_top_eng{
    letter-spacing: 5px;
    font-size: 18px;
    line-height: 20px;
    font-style: normal;
    font-weight: 400; 
    font-family: "Noto Serif", serif;
    color: #DDBF9C;
}
.title_box h2{
    color: #fff;
    font-family: "Pretendard";
    font-size: 40px;
    line-height: 50px;
    font-weight: 700;
    margin-top: 10px;
}
.title_box p{
    font-family: "Pretendard";
    font-size: 18px; 
    color: #fff;
    line-height: 25px;
    margin-top: 30px;
    font-weight: 200;
    letter-spacing: -1px;
}
.sub_top_menu{
    margin-top: 100px;
    display: flex;
    gap: 30px;
}
.sub_top_menu li{}
.sub_top_menu li.on{}
.sub_top_menu li a{
    display: block;
    font-family: "Pretendard";
    font-size: 18px;
    line-height: 20px;
    color: #fff;
    opacity: 0.4;
    text-align: center;
}
.sub_top_menu li.on a{
    opacity: 1;
}
.sub_top_menu li a::before{
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    background-color: #fff;
    opacity: 0;
    border-radius: 100%;
    margin: 0 auto 10px;
}
.sub_top_menu li.on a::before{
    opacity: 1;
}
@media screen and (max-width: 1350px) {
    .sub_top_w{
        width: 95%;
    }
}
@media screen and (max-width: 960px) {
    .sub_top_menu{
        display: none;
    }
}
@media screen and (max-width: 768px) {
    .sub_top_bg{
        padding: 150px 0 180px 0;
    }
    .sub_top_bg.cataract{
        background-image: url("/img/sub_top/sub_top_1_bg_m.png");
    }
    .sub_top_bg.nearsighted{
        background-image: url("/img/sub_top/sub_top_2_bg_m.png");
    }
    .sub_top_bg.pediatric{
        background-image: url("/img/sub_top/sub_top_3_bg_m.png");
    }
    .sub_top_bg.retina{
        background-image: url("/img/sub_top/sub_top_4_bg_m.png");
    }
    .sub_top_bg.daesin_seongmo{
        background-image: url("/img/sub_top/sub_top_5_bg_m.png");
    }
    .sub_top_bg.dry{
        background-image: url("/img/sub_top/sub_top_6_bg_m.png");
    }
    .sub_top_bg.other_diseases{
        background-image: url("/img/sub_top/sub_top_7_bg_m.png");
    }
    .sub_top_bg.community{
        background-image: url("/img/sub_top/sub_top_8_bg_m.png?ver=1");
    }
    .sub_top_bg.required{
        background-image: url("/img/sub_top/sub_top_9_bg_m.png");
    }
    .title_box{
        text-align: center;
    }
    .sub_top_eng{
        font-size: 16px;
        line-height: 25px;
    }
    .title_box h2{
        font-size: 30px;
        line-height: 40px;
        margin-top: 0;
    }
    .title_box p{
        font-size: 16px;
        line-height: 24px;
    }
}