@charset "UTF-8";

/* ============================================================
   비급여 항목안내 페이지
   로고: theme/img/nopay_logo.png
   ============================================================ */

#nopay-page {
    width: 100%;
    background: #f5f7fb;
    padding: 70px 20px 90px;
    box-sizing: border-box;
    font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
    color: #111;
}

#nopay-page * {
    box-sizing: border-box;
}

.nopay-paper {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 42px 42px 72px;
    background: #fff;
    border: 18px solid #18365d;
    box-shadow: 0 18px 45px rgba(24, 54, 93, 0.12);
}

.nopay-header {
    text-align: center;
    padding: 6px 0 46px;
}

.nopay-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 76px;
    margin-bottom: 26px;
}

.nopay-logo {
    display: block;
    max-width: 430px;
    width: 42%;
    height: auto;
}

.nopay-header h1 {
    margin: 0;
    font-size: 58px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0.13em;
    color: #050505;
}

.nopay-header h1::first-letter {
    color: #153866;
}

.nopay-header p {
    margin: 24px 0 0;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0.02em;
    color: #222;
}

.nopay-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.nopay-col {
    min-width: 0;
}

.nopay-section {
    margin: 0 0 42px;
}

.nopay-section:last-child {
    margin-bottom: 0;
}

.nopay-section-title {
    margin: 0;
    padding: 11px 16px 10px;
    border-top: 3px solid #111;
    border-bottom: 2px solid #111;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.08em;
    color: #111;
}

.nopay-table {
    width: 100%;
}

.nopay-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 46px;
    border-bottom: 1px solid #555;
}

.nopay-name,
.nopay-price {
    padding: 9px 16px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #111;
}

.nopay-name {
    word-break: keep-all;
}

.nopay-price {
    text-align: right;
    white-space: nowrap;
    padding-left: 10px;
}

@media screen and (max-width: 1024px) {
    #nopay-page {
        padding: 50px 18px 80px;
    }

    .nopay-paper {
        padding: 36px 32px 58px;
        border-width: 14px;
    }

    .nopay-header h1 {
        font-size: 46px;
    }

    .nopay-header p {
        font-size: 22px;
    }

    .nopay-section-title {
        font-size: 24px;
    }

    .nopay-name,
    .nopay-price {
        font-size: 20px;
    }
}

@media screen and (max-width: 768px) {
    #nopay-page {
        padding: 28px 12px 70px;
        background: #fff;
    }

    .nopay-paper {
        padding: 26px 18px 44px;
        border-width: 8px;
        box-shadow: none;
    }

    .nopay-header {
        padding: 0 0 30px;
    }

    .nopay-logo-wrap {
        min-height: 44px;
        margin-bottom: 18px;
    }

    .nopay-logo {
        width: 74%;
        max-width: 300px;
    }

    .nopay-header h1 {
        font-size: clamp(32px, 8.4vw, 44px);
        letter-spacing: 0.08em;
    }

    .nopay-header p {
        margin-top: 14px;
        font-size: clamp(15px, 4vw, 18px);
        line-height: 1.45;
        word-break: keep-all;
    }

    .nopay-grid {
        display: block;
    }

    .nopay-section {
        margin-bottom: 30px;
    }

    .nopay-section-title {
        padding: 10px 6px 9px;
        font-size: 21px;
        letter-spacing: 0.04em;
        border-top-width: 2px;
        border-bottom-width: 2px;
    }

    .nopay-row {
        min-height: 42px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .nopay-name,
    .nopay-price {
        padding: 9px 6px;
        font-size: 16px;
        line-height: 1.35;
        letter-spacing: -0.03em;
    }

    .nopay-price {
        padding-left: 8px;
    }
}

@media screen and (max-width: 430px) {
    .nopay-paper {
        padding-left: 14px;
        padding-right: 14px;
    }

    .nopay-name,
    .nopay-price {
        font-size: 15px;
    }

    .nopay-section-title {
        font-size: 20px;
    }
}
