.sub_visual {
    position: relative;
    height: 38vh;
    background: url(../images/mainvisual01.jpg)center center/cover;
}

.sub_visual::after {
    position: absolute;
    content: "";
    inset: 0 0 0 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}

.sub_content {
    position: relative;
    background: url(../images/submain_bg.jpg) center center/cover;

}

.sub_content::after {
    position: absolute;
    content: "";
    inset: 0 0 0 0;
    background: rgba(255, 255, 255, 0.7);
}



.sub_content .dec .title {
    margin-bottom: 12rem;

}

.sub_content .dec .title strong {
    font-weight: 700;
}

.sub_greetings {
    position: relative;
    background: var(--bsc);
    /* display: flex;
    gap: 6.4rem; */
    padding: 6.4rem 5.2rem;


}


.sub_greetings figure {
    position: absolute;
    right: 0;
    bottom: 0;
}

.sub_greetings img {
    width: 38rem;
}

.sub_greetings p {
    position: relative;
    word-break: keep-all;
    font-size: 3rem;
    text-align: left;
    line-height: 5.2rem;
    color: #444;

}

/* .sub_greetings p::after {
    position: absolute;
    content: "";
    bottom: 1rem;
    left: 2%;
    transform: translate(0, -50%);
    width: 8rem;
    height: 5px;
    background: var(--mc);
} */

.desc {
    padding: 8rem 5.2rem 0 5.2rem;
}

.desc p {
    text-align: left;
    font-size: 1.8rem;
    line-height: 3.2rem;
    margin-bottom: 3.2rem;
}

.name {
    padding: 5.6rem 0 0 0;
}

.name em {
    display: block;
    font-size: 2.2rem;
    text-align: end;
    margin-bottom: 2rem;
}

.name span {
    display: block;
    font-size: 2rem;
    text-align: end;
}

.name span b {
    font-family: 'Nanum Brush', sans-serif;
    color: #000;
    font-size: 4rem;
    margin: 0 1.6rem 0 2.4rem;
}

@media(max-width:768px) {

    .sub_content {
        background: none;
    }

    .sub_content .dec {
        padding: 0;
    }

    .desc {
        padding: 0;
    }

    .sub_content .dec .title {
        margin-bottom: 4rem;
    }

    .sub_content .dec .title strong {
        font-size: 2.4rem;
    }

    .sub_greetings {
        position: relative;
        background: var(--bsc);
        /* display: flex;
        gap: 6.4rem; */
        padding: 1.2rem;

        margin-bottom: 4.8rem;
    }


    .sub_greetings figure {
        position: absolute;
        right: 0;
        bottom: 0;
    }

    .sub_greetings img {
        width: 20rem;
    }


    .desc p {
        font-size: 16px;
        margin: 0 0 12px 0;
    }

    .sub_greetings p {
        position: relative;
        word-break: keep-all;
        font-size: 2rem;
        text-align: left;
        line-height: 3.2rem;
        font-family: 'kdg_Medium';
        color: #000;
        width: 36rem;
    }

    .name span {
        margin-bottom: 4rem;
    }

    .name em {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .name span {
        display: block;
        font-size: 2rem;
        text-align: end;
    }

    .name span b {
        font-family: 'Nanum Brush', sans-serif;
        color: #000;
        font-size: 4rem;
        margin: 0 1.6rem 0 2.4rem;
    }


}

@media(max-width:600px) {
    .sub_greetings p {
        width: 20rem;
    }

}

@media(max-width:430px) {
    .sub_greetings p {
        width: 12rem;
    }

}