/* 診療体制表(外来） */
.medical-table .medical-table-title {
    font-size: 20px;
    font-weight: 500;
    color: #5c5c5c;
    line-height: 1;
    margin-top: 40px;
}

#page-medical-table {
    width: 100%;
    overflow-x: scroll;
}

#page-medical-table .side-scroll {
    overflow-x: scroll;
}

#page-medical-table table {
    margin: 10px auto 10px;
    padding: 10px;
    width: 100%;
    min-width: 900px;
}

#page-medical-table table tbody {
    border: 1px solid #000;
}

#page-medical-table table tbody tr {
    border: 1px solid #000;
}

#page-medical-table table tbody tr:nth-child(1) {
    border-top: 1px solid #eee;
    /* background: #ffe076; */
}

#page-medical-table table tbody td {
    padding: 1em;
    font-size: 16px;
    text-align: center;
    /* border: 1px solid #ffe076; */
    width: calc(100% / 8);
    border: 1px solid #000;
}

#page-medical-table ul::before {
    content: "※";
    color: red;
}

.medical-table p {
    margin-top: 0;
}

/* 診療体制表(在宅） */
#page-telework-table {
    width: 100%;
    margin: 0 auto 40px;
    overflow-x: scroll;
}

#page-telework-table .side-scroll {
    overflow-x: scroll;
}

#page-telework-table table {
    margin: 10px auto 10px;
    padding: 10px;
    width: 100%;
    min-width: 900px;
}

#page-telework-table table tbody {
    border: 1px solid #000;
}

#page-telework-table table tbody tr {
    padding: 0 20px;
    border: 1px solid #000;
}

#page-telework-table table tbody tr:nth-child(1) {
    border-top: 1px solid #eee;
    /* background: #ffe076; */
}

#page-telework-table table tbody td {
    padding: 1em;
    font-size: 16px;
    text-align: center;
    /* border: 1px solid #ffe076; */
    width: calc(100% / 7);
    border: 1px solid #000;
}

#page-telework-table ul li::before {
    content: "※";
    color: red;
}

/* エコー検査年間実績 */
#page-echo-check {
    padding-right: 15px;
    width: 100%;
    float: left;
}

#page-echo-check .wp-block-table table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 20px auto 0;
}

#page-echo-check .wp-block-table table tbody tr:nth-child(1) {
    background: #ffe076;
}

#page-echo-check .wp-block-table table tbody tr:nth-last-child(1) {
    background: #ccc;
}

#page-echo-check .wp-block-table table tbody tr td {
    border-right: none;
    border-top: 1px solid #ffe076;
    text-align: left;
    padding: 0 0 0 6px;
    vertical-align: middle;
    height: 45px;
    color: #5c5c5c;
}

#page-echo-check .wp-block-table table tbody tr:nth-last-child(1) td {
    border-top: none;
}

/* 内視鏡年間実績 */
#page-endoscope-table {
    padding-right: 15px;
    width: 100%;
}

#page-endoscope-table .wp-block-table table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 20px auto 0;
}

#page-endoscope-table .wp-block-table table tbody tr:nth-child(1) {
    background: #ffe076;
}

#page-endoscope-table .wp-block-table table tbody tr td {
    border-right: none;
    border-top: 1px solid #ffe076;
    text-align: left;
    padding: 0 0 0 6px;
    vertical-align: middle;
    height: 45px;
    color: #5c5c5c;
}

#page-endoscope-table .wp-block-table table tbody tr td:nth-child(1) {
    width: 50%;
}

/* 訪問診療 */
#page-home-visitation {
    margin-bottom: 40px;
}

#page-home-visitation .wp-block-heading {
    font-size: 16px;
    color: #5c5c5c;
    font-weight: normal;
}

#page-home-visitation table {
    margin: 0;
    width: 100%;
}

#page-home-visitation table tr {
    border-top: 1px solid #eee;
    width: 100%;
    float: left;
}

#page-home-visitation table tr th {
    width: 15%;
    max-width: 165px;
    text-align: left;
    padding: 10px 0 6px;
    font-weight: normal;
    float: left;
}

#page-home-visitation table tr td:nth-child(1):before {
    content: "";
    position: absolute;
    width: 15px;
    height: 1px;
    background: #fcc800;
    display: block;
    top: -1px;
    left: 0;
}

#page-home-visitation table tr .wp-block-table-before::before {
    content: ""!important;
    position: absolute!important;
    width: 15px!important;
    height: 1px!important;
    background: #fcc800!important;
    display: block!important;
    top: 41px!important;
    left: 0!important;
}

#page-home-visitation table tr td {
    width: 15%;
    max-width: 165px;
    text-align: left;
    padding: 10px 0 6px;
    font-weight: normal;
    float: left;
}

#page-home-visitation table tr td:nth-child(1) {
    color: #fcc800;
}

#page-home-visitation table tr td:last-child {
    border-right: none;
    width: 20%;
    max-width: 200px;
}

/* レスポンシブ */
@media (max-width: 767px) {
    br {
        display: inline;
    }
    /* 診療体制表(外来） */
    #page-medical-table table tbody td {
        font-size: 13px;
    }

    #page-medical-table table tbody td {
        padding: 0;
    }

    /* 診療体制表(在宅） */
    #page-telework-table table tbody td {
        font-size: 13px;
    }

    #page-telework-table table tbody td {
        padding: 0;
    }

}

 /* 眼底カメラ検査年間実績（2023年） */
 #page-fundus-camera {
    width: 100%;
    float: left;
}

.fundus-camera {
    width: 100%;
    text-align: center;
    margin-top: 100px;
}

.fundus-camera .content-heading {
    font-size: 20px !important;
    font-weight: 500;
    color: #5c5c5c;
    line-height: 1;
}

.fundus-camera .content-heading::after {
    display: none;
}

#page-fundus-camera table tbody td:nth-child(1) {
    padding-right: 20px;
}
