@media (width < 700px) {
    section {
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 0 5%;
    }

    #about-hsct {
        margin-top: 18px;
    }

    .breadcrumbs {
        flex-direction: column;
        align-items: start;
        padding-left: 0;
    }

    .breadcrumbs_list_item {
        min-height: 20px;
        align-items: end;
    }

    .breadcrumbs .home_icon {
        height: 14px;
        margin: 3px 5px auto 0;
    }

    .breadcrumbs_link {
        color: #2E6AAE;
        text-decoration: none;
        display: flex;
        align-items: center;
        font-size: 13px;
        box-sizing: border-box;
        min-height: 20px;
        margin-top: auto;
    }

    .breadcrumbs_link.root {
        border-bottom: 1px solid #2E6AAE;
    }

    .breadcrumbs_link.first {
        padding-bottom: 6px;
    }

    .breadcrumbs_link.disable {
        color: #273C4B;
    }

    .breadcrumbs li:not(:first-child)::before {
        margin: 0 5px auto 3px;
        border-width: 3px;
        width: 5px;
        height: 5px;
        transform: translateY(5px) rotate(-45deg);
    }

    h1.article_heading {
        font-size: 20px;
        height: auto;
        padding-bottom: 2px;
        box-sizing: border-box;
        padding-left: 38px;
        border-radius: 30px;
    }

    h1.article_heading::before {
        left: 10px;
        width: 16px;
        height: 16px;
        top: calc(50% - 8px);
    }

    h2.article_heading {
        font-size: 18px;
        padding-left: 12px;
        line-height: 1.5;
        margin: 18px 10px 0 10px;
    }

    h2.article_heading::before {
        width: 6px;
        height: 100%;
    }

    h3.article_heading {
        font-size: 16px;
        height: 32px;
        margin: 18px 10px 0 10px;
        text-indent: 18px;
    }

    h3.article_heading::before {
        width: 12px;
        height: 12px;
    }

    h4.article_heading {
        font-size: 16px;
        margin: 14px 10px 0 10px;
    }

    .article_container_with_image {
        display: flex;
        flex-direction: column-reverse;
    }

    .article_paragraph {
        padding: 16px 10px 0 10px;
        font-size: 14px;
        box-sizing: border-box;
        line-height: 22px;
    }

    h1.article_heading + p.article_paragraph {
        margin-top: 0;
    }

    p.notice {
        font-size: 12px;
        margin: 0 10px 0 10px;
        line-height: 18px;
    }

    .notice + p {
        margin-top: 34px;
    }

    /* image */

    .img-right {
        float: none;
        width: calc(100% - 20px);
        display: block;
        margin: 20px auto 0;
    }

    .img-left {
        float: none;
        width: calc(100% - 20px);
        display: block;
        margin: 20px auto 0;
            + .article_paragraph {
            padding-top: 20px;
            padding-bottom: 0;
        }
    }

    .image_1 {
        width: 100%;
        margin-top: 24px;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .hla-image {
        width: 100%;
        padding: 0 10px;
        margin: 3px 0 0 0;
        box-sizing: border-box;
    }

    /* table */

    .js-scrollable {
        margin: 0 -10px;
        padding: 0 10px;
    }

    .matrix_diagram_heading {
        font-size: 16px;
        color: #2E6AAE;
        padding: 14px 10px 0 10px;
        box-sizing: border-box;
    }

    table.matrix_diagram {
        margin-top: 24px;
        width: 855px;
        z-index: 1;
    }

    table.matrix_diagram th {
        line-height: 36px;
    }

    .matrix_diagram_table_heading,
    .matrix_diagram_table_list_item {
        font-size: 14px;
    }

    .matrix_diagram_table_heading {
        text-indent: 10px;
    }

    .matrix_diagram_table_list {
        margin-top: 10px;
    }

    .matrix_diagram_table_list_item {
        margin: 0 8px 12px 20px;
    }

    .matrix_diagram_table_list_item::before {
        width: 8px;
        height: 8px;
        top: 12px;
        left: -14px;
    }

    #reference {
        width: 100%;
        margin-top: 18px;
        margin-bottom: 80px;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .reference_container {
        padding: 24px 10px 45px 10px;
    }

    #reference h4.reference {
        font-size: 13px;
    }

    #reference h4.reference + p.reference {
        margin-top: 8px;
    }

    #reference p.reference {
        word-break: break-all;
        font-size: 13px;
        line-height: 24px;
    }

    #reference a.reference {
        display: block;
        word-break: break-all;
        font-size: 13px;
        line-height: 24px;
    }

    .background-image {
        width: 100%;
        overflow-x: clip;
    }

    .background-image .pc {
        display: none;
    }

    .background-image .sp {
        display: block;
        width: 106.67%;
        position: absolute;
        top: 0;
        transform: translateY(-100%);
        z-index: -1;
    }
    #patient_profile {
        .patient_profile {
            margin: 20px auto;
            padding: 25px 25px 35px;

            .profile_contents {
                flex-direction: column;
                gap: 30px;

                img {
                    width: 100%;
                    height: auto;
                }

                .text {
                    .profile {
                        font-size: 18px;
                    }

                    .name {
                        font-size: 16px;
                    }

                    .dashed-note {
                        background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #fff 50%, #fff 100%),
                                        linear-gradient(180deg, #CACED1 1px, transparent 1px);
                        background-size: 8px 100%, 100% 2.5em;
                        line-height: 2.5em;
                        padding-bottom: 1px;

                        p {
                            font-size: 14px;
                            font-weight: 400;
                            padding: 0 5px;
                        }
                    }
                }
            }
        }
    }

    #patient_box {
        margin-top: 50px;
        .patient_box {
            .profile_box_contents {
                padding: 25px 20px 35px;
                .title {
                    font-size: 20px !important;
                    margin-bottom: 25px;

                    &::after {
                        left: 0;
                        width: 75px;
                        background-color: #2E6AAE;
                    }
                }

                img {
                        width: 100%;
                        margin-bottom: 20px;
                    }

                p {
                    font-size: 14px;
                }
            }
        }
    }

    .onlyPC {
        display: none;
    }

    .onlySP {
        display: block;
    }
}
