@charset "utf-8";

/* background-image는 PHP에서 인라인 스타일로 주입되므로 기본 반복 및 고정 옵션만 유지합니다 */
#inc03 {
    position: relative;
    width: 100%;
    height: 250px; /* [기존 400px -> 250px로 전체 높이 축소] */
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

#inc03 .bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: var(--primary);
}

#inc03 .bg.aos-animate {
    opacity: .85;
}

#inc03 .txt {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 50%;
    height: 100%;
    padding: 0 20px; /* [여백 조정] */
}

#inc03 .txt .flex {
    display: flex;
    flex-flow: column;
    align-items: flex-end;
}

#inc03 .txt p {
    margin-bottom: 12px; /* [기존 25px -> 12px 축소] */
    font-size: 22px;     /* [기존 30px -> 22px 축소] */
    font-weight: 500;
    line-height: 1.3;
    color: #fff;
}

#inc03 .txt p span {
    display: block;
    padding-left: 30px; /* [기존 60px -> 30px 축소] */
}

#inc03 .txt a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 65%;
    height: 38px;       /* [기존 45px -> 38px 축소] */
    padding-right: 8px;
    border-bottom: 2px solid #fff;
    font-size: 12px;    /* [기존 13px -> 12px 축소] */
    font-weight: 600;
    color: #fff;
    transition: all .2s;
}

#inc03 .txt a img {
    width: 24px;        /* [기존 32px -> 24px 축소] */
}

@media (hover: hover) {
    #inc03 .txt a:hover {
        padding-right: 0;
    }
}

@media (max-width: 1024px) {
    #inc03 {
        height: 220px;   /* [기존 320px -> 220px 축소] */
    }    
    #inc03 .txt p {
        margin-bottom: 10px;
        font-size: 20px;
    }
    #inc03 .txt p span {
        padding: 0;
    }
}

@media (max-width: 768px) {
    #inc03 {
        height: 180px;   /* 모바일 높이 대폭 축소 */
        background-attachment: unset;
        background-position: center;
        background-size: cover;
    }    
    #inc03 .txt {
        text-align: center;
    }
    #inc03 .txt .flex {
        align-items: center;
    }
    #inc03 .txt p {
        font-size: 16px;
        margin-bottom: 8px;
    }
    #inc03 .txt a {
        width: 130px;
        height: 32px;
        padding: 0 10px;
        border: 1px solid rgba(255, 255, 255, .2);
        font-size: 11px;
    }
    #inc03 .txt a img {
        width: 18px;
    }
    #inc03 .txt {
        width: 100%;
        height: 100%;
        bottom: 0;
        top: auto;
    }
    #inc03 .bg {
        bottom: 0;
        top: auto;
        width: 100%;
        height: 100%;
    }
}