body {
    font-family: 'Noto Sans KR', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

.invest-detail__page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 가로 가운데 정렬 */
    justify-content: flex-start;
    padding-top: 50px;
}

.invest-detail__container {
    width: 600px;
    background-color: #f9f9f9;
    padding: 70px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.invest-detail__inner-wrapper {
    width: 500px;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin: 0 auto;
    text-align: left;
}

.invest-detail__main-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.invest-detail__sub-title {
    font-size: 40px;
    color: #000;
    font-weight: 600;
    margin-bottom: 5px;
    text-align: center;
    line-height: 44px;
    letter-spacing: 1px;
}

.invest-detail__rate-display {
    font-size: 25px;
    font-weight: bold;
    color: #222;
    margin-top: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.invest-detail__rate-display span {
    font-size: 16px;
    /* 더 작게 설정한 경우 */
    vertical-align: baseline;
    /* or 'middle' 시도 가능 */
    position: relative;
    top: -3px;
    /* 살짝 올려 정렬 맞추기 */
}

.invest-detail__section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.invest-detail__description {
    font-size: 17px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 50px;
    text-align: center;
}

.invest-detail__profit-point {
    background-color: #2385ff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 20px;
    display: inline-block;
    font-weight: 600;
    color: #fff;
    margin-bottom: 25px;
}

.invest-detail__highlight-heading {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 25px;
}

.invest-detail__card-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.invest-detail__card-box {
    width: 500px;
    border: 1px solid #d6d6d6;
    border-radius: 20px;
    padding: 20px 30px;
    font-size: 25px;
    color: #000;
    font-weight: 500;
}

.invest-detail__card-box strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}

.invest-detail__card-box span {
    font-size: 18px;
    vertical-align: baseline;
    position: relative;
    top: -2px;
}







.invest-detail__safe-point-wrapper {
    margin-top: 60px;
    text-align: left;
}

.invest-detail__safe-badge {
    background-color: #2385ff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 20px;
    display: inline-block;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.invest-detail__safe-text {
    margin-bottom: 30px;
}

.invest-detail__safe-main {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 15px;
}

.invest-detail__safe-sub {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
}

.invest-detail__safe-sub strong {
    color: #111;
}

.invest-detail__safe-image-box {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
}

.invest-detail__safe-image-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}




.invest-detail__trust-point-wrapper {
    margin-top: 80px;
    text-align: left;
}

.invest-detail__trust-title {
    background-color: #2385ff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 20px;
    display: inline-block;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.invest-detail__trust-subtitle {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
}

.invest-detail__review-box {
    max-width: 350px;
    border: 1px solid #d6d6d6;
    border-radius: 20px;
    padding: 20px 24px;
    margin-bottom: 30px;
}

.invest-detail__review-box.left {
    margin-left: 0;
    margin-right: auto;
}

.invest-detail__review-box.right {
    margin-left: auto;
    margin-right: 0;
}

.invest-detail__review-text {
    font-size: 18px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 12px;

}

.invest-detail__review-info {
    font-size: 15px;
    color: #000;
    font-weight: bold;
    text-align: center;
}

.invest-detail__review-info span {
    display: inline-block;
    margin-left: 5px;
    color: #2385ff;
    font-weight: bold;
}








.invest-detail__container2 {
    margin-top: 50px;
}

/* 고정 버튼 wrapper */
.invest-detail__fixed-button-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px 0;
    display: flex;
    justify-content: center;
    z-index: 100;
}

/* 공통 버튼 스타일 */
.invest-detail__fixed-join-button,
.invest-detail__inline-join-button {
    display: inline-block;
    width: 350px;
    height: 70px;
    background-color: #2385ff;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    line-height: 70px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

/* 호버 효과 */
.invest-detail__fixed-join-button:hover,
.invest-detail__inline-join-button:hover {
    background-color: #4c9dff;
}

/* 내부 버튼 전용: 가운데 정렬용 */
.invest-detail__inline-join-button {
    margin: 0 auto;
    display: block;
}

/* 고정 버튼 전용: 그림자 효과 */
.invest-detail__fixed-join-button {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}










/* 반응형 시작 (모바일 뷰) */
@media (max-width: 768px) {
    .invest-detail__container {
        width: 100%;
        padding: 30px 16px;
        border-radius: 0;
        box-shadow: none;
    }

    .invest-detail__inner-wrapper {
        width: 100%;
        padding: 20px;
    }

    .invest-detail__main-title {
        font-size: 24px;
    }

    .invest-detail__sub-title {
        font-size: 28px;
        line-height: 1.1;
        letter-spacing: -1px;
    }

    .invest-detail__rate-display {
        font-size: 22px;
        line-height: 1.2;
    }

    .invest-detail__rate-display span {
        font-size: 14px;
        top: -2px;
    }

    .invest-detail__section-title {
        font-size: 20px;
    }

    .invest-detail__description {
        font-size: 15px;
    }

    .invest-detail__profit-point {
        font-size: 16px;
        padding: 6px 12px;
    }

    .invest-detail__safe-badge {
        font-size: 16px;
        padding: 6px 12px;
    }

    .invest-detail__trust-title {
        font-size: 16px;
        padding: 6px 12px;
    }

    .invest-detail__highlight-heading {
        font-size: 18px;
    }

    .invest-detail__card-box {
        width: 100%;
        font-size: 18px;
    }

    .invest-detail__card-box strong {
        font-size: 16px;
    }

    .invest-detail__card-box span {
        font-size: 14px;
    }

    /* 안전/신뢰 박스 텍스트 조정 */
    .invest-detail__safe-main,
    .invest-detail__trust-subtitle {
        font-size: 20px;
    }

    .invest-detail__safe-sub,
    .invest-detail__trust-point-wrapper p {
        font-size: 14px;
    }

    /* 후기 박스 너비 축소 */
    .invest-detail__review-box {
        max-width: 100%;
    }

    /* 버튼 대응 */
    .invest-detail__fixed-button-wrapper {
        padding: 12px 0;
    }

    .invest-detail__fixed-join-button,
    .invest-detail__inline-join-button {
        width: 90%;
        max-width: none;
        height: auto;
        padding: 16px;
        font-size: 16px;
        line-height: normal;
    }

    /* 이미지 박스 */
    .invest-detail__safe-image-box img {
        max-height: 200px;
        object-fit: cover;
    }
}