#section1{
    margin-top: 45px;
}

.section-container{
    width: 100%; 
    text-align: center; 
}

.section-container img{
    width: 73%; 
    text-align: center; 
}



.section__bottom{
    width: 100%;
    margin-top: 35px;
}

.section__bottom ul{
    list-style: none;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: center;
}

.section__bottom ul li {
    display: flex;
    width: 300px;
    height: 300px;
    align-items: center;
    justify-content: center;
    margin: 20px;
    border-radius: 20px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease-in-out;
    cursor: none;
}

/* 마우스 오버 효과 (background-image가 있을 때만 적용) */
.section__bottom ul li.has-bg:hover {
    box-shadow: 
        inset 4px 4px 10px rgba(255, 255, 255, 0.6),  
        inset -4px -4px 10px rgba(0, 0, 0, 0.2),  
        5px 5px 15px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
    filter: brightness(1.2);
    cursor: pointer;
}

.section__bottom .en__thum li:nth-child(1){
    background-image: url(/img/피부과_영문.png);
}

.section__bottom .en__thum li:nth-child(2){
    background-image: url(/img/성형_영문.png);
}

.section__bottom .en__thum li:nth-child(3){
    background-image: url(/img/건강검진_영문.png);
}

.section__bottom .en__thum li:nth-child(4){
    background-image: url(/img/안과_산부인과_영문.png);
}

.section__bottom .en__thum li:nth-child(5){
    background-image: url(/img/척추_영문.png);
}

.section__bottom .en__thum li:nth-child(6){
    background-image: url(/img/치과_영문.png);
}

/*메인 이미지 순서대로*/
.section__bottom li:nth-child(1){
    background-image: url(/img/01.png);
}

.section__bottom li:nth-child(2){
    background-image: url(/img/02.png);
}

.section__bottom li:nth-child(3){
    background-image: url(/img/03.png);
}

.section__bottom li:nth-child(4){
    background-image: url(/img/04.png);
}

.section__bottom li:nth-child(5){
    background-image: url(/img/05.png);
}

.section__bottom li:nth-child(6){
    background-image: url(/img/06.png);
}

.section__bottom li {
    border: 1px solid #e4e4e4;
}



.section__bottom li a{
    display: block;
    width: 100%;
    height: 100%;
    text-decoration-line: none;
    color: #000000;
}

.subjects__bottom{
    display: none;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 21px;
}

.subjects__bottom span{
    color: #ffffff;
    font-weight: bold;
}


.section__top p{
    margin-top: 10px;
}


.subjects__bottom__EN{
    /* display: flex; */
    display: none;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 16px;
    font-weight: bold;
}

.subjects__bottom__EN span{
    color: #ffffff;
}

.subjects__bottom__EN .divider2{

}



@media (max-width:1025px){
    .section-container img{
        width: 100%;  
    }
    
}

@media (max-width:768px){
    #section1{
        margin-top: 10px;
        margin-bottom: -50px;
    }

    .section__bottom{
        margin-top: 0;
    }
}


@media (max-width:700px){
    .section__bottom ul li{
        width: 250px;
        height: 250px;
    }
}

@media (max-width:580px){
    .section__bottom ul li{
        width: 200px;
        height: 200px;
        margin: 10px;
        
    }
    .subjects__bottom{

        font-size: 15px;
    }

    .subjects__bottom__EN{

        font-size: 9px;
    }

    .section__top p{
        padding: 0 20px 0 20px;
    }
    
}

@media (max-width:480px){
    .section__bottom ul li{
        width: 180px;
        height: 180px;
    }

    .subjects__bottom{

        font-size: 13px;
    }

    .subjects__bottom__EN{

        font-size: 8px;
    }
    
}

@media (max-width:440px){
    .section__bottom ul li{
        width: 155px;
        height: 155px;
    }

    .subjects__bottom{

        font-size: 10px;
    }

    .subjects__bottom__EN{

        font-size: 6px;
    }
    
}