@charset "utf-8";

/**
 * Fee Page Specific Styles
 */

#fee-id {
    .ortho-notes {
        margin-bottom: clamp(1.25rem, -2.212rem + 9.62vw, 5rem);
    }

    #total-fee .attention {
        margin-bottom: clamp(1rem, 0.077rem + 2.56vw, 2rem);
    }

    .fees__heading,
    .fees__subheading,
    .skeletal-problems {
        padding-bottom: clamp(0.625rem, 0.279rem + 0.96vw, 1rem);
        margin-bottom: clamp(0.625rem, 0.279rem + 0.96vw, 1rem);
        color: var(--color-dark-black);
        border-bottom: 1px dashed var(--color-black);
        @media print, screen and (width >= 768px) {
        }
        @media print, screen and (width >= 992px) {
            display: flex;
            justify-content: space-between;
        }
        /* 992pxとそれ以上 */
    }

    .fees__heading {
        font-size: clamp(var(--fSize--18), 1.01rem + 0.32vw, var(--fSize--20));
    }
    .fees__subheading {
        font-size: clamp(var(--fSize--17), 1.005rem + 0.16vw, var(--fSize--18));
    }

    .fees__heading--content {
        padding-left: 1em;
        margin-bottom: 5px;
        text-indent: -1em;
        @media print, screen and (width >= 768px) {
            padding-left: 0;
            margin-bottom: 0;
            text-indent: 0;
        }
    }

    .fees__heading--cost,
    .fees__subheading--cost {
        text-align: right;
    }

    .fees__items {
        .fees__section:not(:last-child) {
            margin-bottom: 40px;
        }

        .fees__details {
            padding: clamp(1.25rem, 0.096rem + 3.21vw, 2.5rem);
            background: rgb(var(--color-black--rgb) / 5%);
            border: 1px dashed rgb(var(--color-black--rgb) / 15%);
            border-radius: 5px;
            .skeletal-problems {
                @media print, screen and (width >= 768px) {
                    align-items: baseline;
                }
                div:nth-child(2) {
                    font-size: clamp(
                        var(--fSize--17),
                        1.005rem + 0.16vw,
                        var(--fSize--18)
                    );
                    text-align: right;
                }
            }

            .special-cases.container__inner--indent {
                margin-left: 0;
                @media print, screen and (width >= 768px) {
                    margin-left: clamp(1.5rem, 4.17vw, 3.125rem);
                }
                /* 768pxとそれ以上 */
            }
            .special-cases {
                display: inline-block;
                padding: 15px 20px;
                background: var(--color-white);
                border-radius: 5px;
                dt {
                    padding-bottom: 10px;
                    margin-bottom: 10px;
                    font-weight: var(--font-family-base-bold);
                    border-bottom: 1px solid var(--color-black);
                }
            }
        }
    }
}
