.detail-content {
    display: flex;
    padding: 100px 0;
    justify-content: space-between;
    position: relative;
    max-width: 1640px;
    margin: 0 auto;
}


.greet-right {
    width: 100%;
    max-width: 840px;
}

.greet-right h2 {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.6;
}

.greet-right p {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.8);
    word-break: keep-all;
}

.detail-content img {
    width: auto;
    height: auto;
    object-fit: contain;
}

.intro-greet {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    align-items: center;
}

.intro-greet p {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}
.intro-greet h4 {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.5;
}

.deco-bottom {
    position: absolute;
    bottom: -100px;
    right: 0;
    z-index: 1;
    height: 300px;
    overflow: hidden;
}

.deco-bottom img {
    width: auto;
    height: auto;
    object-fit: contain;
}

footer {
    position: relative;
    z-index: 10;
}

@media(max-width:1330px) {
    .greet-right h2 {word-break:keep-all;}
    .greet-right h2 br {display:none;}
}
@media(max-width:900px) {
    .detail-content {padding:20px;flex-wrap:wrap;}
    .detail-content img {width:100%;}
    .greet-right h2 {font-size:24px;}
    .greet-right p {font-size:16px;}
    .intro-greet h4 {font-size:20px;}
}