/* 診療科：Navigation */

div.list-box {
    display: flex;
    justify-content: center;
}

#departbox {
    border: solid #FFB6C1 2px;
    padding: 1em;
    margin: 0 0 1em 0;
    width: 95%;
}

#departbox ul {
    display: flex;
    flex-wrap: wrap;
}

#departbox ul li {
    font-size: 18px;
    width: 9em;
}

#departbox ul li a,
#departbox ul li a:visited {
    color: #51565b;
}

#departbox ul li i {
    color: #FFB6C1;
    margin-right: 10px;
}

/* 部門：Navigation */
#departbox-section {
    border: solid #FFB6C1 2px;
    padding: 1em;
    margin: 0 0 1em 0;
    width: 95%;
}

#departbox-section ul {
    display: flex;
    flex-wrap: wrap;
}

#departbox-section ul li {
    font-size: 16px;
    width: 12.5em;
}

#departbox-section ul li a,
#departbox-section ul li a:visited {
    color: #51565b;
}

#departbox-section ul li i {
    color: #FFB6C1;
    margin-right: 10px;
}

ul#kijilistdotline li {
    width: 96%;
    padding: 0.3em 2%;
    border-bottom: dotted #999 1px;
    margin-bottom: 0.5em;
}

ul#kijilistdotline li a,
ul#kijilistdotline li a:visited {
    color: #333;
}

.ishipanel {
    border: solid #A9DDF5 2px;
    margin: 0 0 14px;
    padding: 14px;
}

.ishitext {
    margin: 14px;
    padding-left: 14px;
    border-left: solid #A9DDF5 2px;
    font-size: 15px;
    line-height: 1.6;
}

.tt_ishi {
    font-size: 18px;
    letter-spacing: 0.2em;
    font-family: "ヒラギノ丸ゴ Pro W4", "Hiragino maru Gothic Pro", "HG丸ゴシックM-PRO", "Verdana", "Osaka", sans-serif;
}

.open_title {
    border: solid lightpink 2px;
    padding: 14px;
    margin-bottom: 7px;
}

.open_title i {
    margin-right: 7px;
    color: lightpink;
}

.open_title_font {
    font-size: 16px;
}

.cate_body_p {
    margin: 10px;
}

.cate_body_h3 {
    margin: 20px 10px 10px 10px;
}

.cate_body_ol {
    margin: 10px 30px 20px 30px;
}

.image-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-block {
    display: inline-block;
    text-align: center;
    margin: 0 10px;
}

.image-block img {
    display: block;
    margin: 0 auto;
}

.btn-box {
    display: flex;
    margin: auto;
    justify-content: right;
    align-items: right;
}

.btn-box button {
    margin: 0 0.5em;
    width: 11rem;
}

.btn-box a {
    color: inherit;
    text-decoration: none;
}

.box01_upper_space {
    padding-top: 1em;
}

.cate_body_box01_h3 {
    margin: 1em 0em 0.5em 0.5em;
}

.cate_body_box01_h3.h3_underline {
    border-bottom: solid #239E67 0.5px;
    padding-bottom: 0.5em;
    font-size: 1.1em;
}

.cate_body_box01_h4 {
    margin: 1em 0em 0.5em 0em;
}

.cate_body_box01_h4.h4_underline {
    border-bottom: solid #30d88c 0.5px;
    padding-bottom: 0.5em;
    font-size: 1em;
}

ul.cate_body_box01_li {
    margin-left: 3em;
    list-style-type: disc;
}

.cate_body_box01_p {
    margin: 0em 2em;
}

.cate_body_box01 p {
    text-align: justify;
}

.ishitext_th {
    font-weight: normal;
    width: 6em;
}

#font_strong_red {
    color: #ff0000;
    font-weight: bold;
}

#font_red {
    color: #ff0000;
}

.font_strong_green {
    color: rgb(0, 128, 0);
    font-weight: bold;
    font-size: 1.2;
}

.sup {
    vertical-align: super;
    font-size: smaller;
}

.counter-parentheses {
    list-style: none;
}

.counter-parentheses li {
    position: relative;
    font-weight: bold;
    margin: 0.5em 0;
}

.counter-number {
    list-style: decimal;
}

.counter-number li {
    position: relative;
    padding-left: 0.5em;
}

.cate_body_box01 {
    margin: 1em;
}

.cate_body_box01 ol {
    margin: 0.5em 2em;
    list-style-type: decimal;
}

.cate_body_box02 div {
    margin: 1em;
}

.cate_body_box02 p {
    margin: 1em;
}

.cate_body_box02 ul {
    margin: 1em;
    list-style-type: none;
}

.cate_body_box03 {
    margin: 1em 2em;
}

div.picture_box03 {
    margin: 1em;
}

.picture_box03 img {
    width: 300px;
    height: 200px;
}

.picture_box03 p {
    margin: 1em 0;
}

div.picture_box04 {
    margin: auto;
    text-align: center;
    display: float;
}

.picture_box04 img {
    width: 300px;
    height: 200px;
}

.picture_box04 p {
    margin: 1em 0;
}

.image-gallery {
    display: grid;
    justify-content: center;
    gap: 0.5em;
    margin: 1em auto;
    width: fit-content;
}

.image-grid-wide {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.image-grid-wide img {
    width: 300px;
    height: 225px;
    object-fit: cover;
    display: block;
}

.image-grid-tall {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.image-grid-tall img {
    height: 225px;
    width: auto;
    object-fit: cover;
    display: block;
}


.picture_box {
    display: flex;
    flex-wrap: wrap;
    /* 折り返しを許可 */
    justify-content: center;
    /* 中央寄せ */
    gap: 0.5em;
    margin: 1em auto;
    /* padding: 1em; */
}

.picture_box05_w img {
    height: 150px;
    width: auto;
    object-fit: cover;
    display: block;
}

.picture_box05_h img {
    height: 160px;
    width: auto;
    object-fit: cover;
    display: block;
}

.parent-picture_box06 {
    display: flex;
    justify-content: flex-end;
    margin: 0.5em;
}

div.picture_box06 {
    margin: 0.5em;
}

div.picture_box06 img {
    width: 300px;
    height: 200px;
}

div.picture_box07 {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: 1fr 1fr;
    gap: 0.5em;
    margin: 1em auto;
    width: fit-content;
    justify-content: center;
    align-items: stretch;
    height: 100%;
}

div.picture_box07 img {
    width: auto;
    height: 100%;
    display: block;
    object-fit: cover;
}

div.picture_box07 img:nth-child(1) {
    grid-row: 1 / span 2;
    grid-column: 1;
    align-self: stretch;
    justify-self: center;
}

div.picture_box07 img:nth-child(2) {
    grid-row: 1;
    grid-column: 2;
    align-self: stretch;
    justify-self: center;
}

div.picture_box07 img:nth-child(3) {
    grid-row: 2;
    grid-column: 2;
    align-self: stretch;
    justify-self: center;
}

div.picture_box08 {
    text-align: center;
    display: float;
    margin: 2em 1em;
}

.picture_box08 img {
    width: 550px;
    height: 200px;
}

div.picture_box09 {
    text-align: center;
    display: float;
    margin: 2em 1em;
}

.medical-safety-post_img01 {
    width: 550x;
    height: 200px;
}

.medical-safety-post_img02 {
    width: auto;
    height: auto;
}

.medical-safety-post_img03 {
    width: auto;
    height: 260px;
}

.medical-safety-post_img04 {
    width: 200px;
    height: 150px;
}

.picture_box10 {
    display: flex;
    justify-content: flex-end;
    margin: 2em 1em;
}

div.picture_box10 img {
    width: 250px;
    height: 250px;
}

.nav_box {
    margin: auto;
    display: flex;
}

.nav_box li {
    width: 100%;
    text-align: center;
}

#pic-left {
    margin: 1em 2em;
    text-align: right;
}

#object-right {
    margin: 1em 2em;
    text-align: right;
}

/* 薬剤部：新人育成プログラムテーブル */
.pharmacy-cnt {
    counter-reset: list-counter;
}

.pharmacy-cnt li {
    list-style: none;
    counter-increment: list-counter;
    position: relative;
    font-weight: bold;
    margin: 1em 0;
}

.pharmacy-cnt li::before {
    content: counter(list-counter) ". ";
    position: absolute;
    left: -1.5em;
}

.pharmacy-cnt p {
    font-weight: normal;
    margin: 0.5em 0;
}


.pharmacy-list li {
    list-style: none;
    position: relative;
    font-weight: bold;
    margin: 1em 0;
}

.pharmacy-list li::before {
    position: absolute;
    left: -1.5em;
}

.pharmacy-list p {
    font-weight: normal;
    margin: 0.5em 0;
}


.pharmacy-table {
    width: 100%;
    margin: 2em 0.5em;
    border-collapse: collapse;
    border-spacing: 0;
    border: solid 1px #778ca3;
}

.pharmacy-table thead th {
    padding: 10px;
    border: solid 1px #778ca3;
    background: #e9faf9;
}

.pharmacy-table tbody th {
    padding: 10px;
    width: 10em;
    text-align: left;
    vertical-align: middle;
}

.pharmacy-table tbody td {
    padding: 10px;
    border-bottom: solid 1px #778ca3;
    text-align: left;
}

.pharmacy-table tbody th:first-child {
    background: #e9faf9;
    border: solid 1px #778ca3;
}

table.medical-inquiry-table {
    width: 100%;
    margin: 1em;
    border-collapse: collapse;
    border-spacing: 0;
}

table.medical-inquiry-table tbody th {
    padding: 0.25em;
    width: 10em;
    text-align: left;
    vertical-align: middle;
    background: #e9faf9;
    border: solid 1px #778ca3;
}

table.medical-inquiry-table tbody td {
    padding: 0.25em;
    text-align: left;
    border: solid 1px #778ca3;
}

.font_center_text {
    text-align: center;
}

.font_size_large {
    font-size: 1.5em;
}

.font_size_smalllarge {
    font-size: 1.1em;
}

.font_size_slightlylarger {
    font-size: 1.8em;
}

.link-button {
    display: inline-block;
    margin-top: 1em;
    padding: 0 5px;
    background-color: #00ff00;
    /* color: white; */
    text-align: center;
    text-decoration: none;
    border-radius: 2px;
    font-size: 1.5em;
    cursor: pointer;
}

.link-button:hover {
    background-color: #45a049;
}

.contents_name_header {
    border-width: 0px 0px 0px 5px;
    border-style: solid;
    border-color: rgb(33, 133, 194);
    margin: 1em 0px;
    padding: 0.3em 1em;
    border-image: none;
    position: relative;
    box-shadow: 1px 1px 1px #ccc;
    -moz-box-shadow: 1px 1px 1px #CCC;
    -webkit-box-shadow: 1px 1px 1px #CCC;
    -pie-box-shadow: 1px 1px 1px #CCC;
}

.font_underline {
    border-bottom: solid 1px black;
}

.font_weight_bold {
    font-weight: bold;
}

.font_size_large .cate_body_box01 section {
    margin: 1em 1em;
}

table.rejimen-table {
    width: 100%;
    margin: 0.5em 0.5em;
    border-collapse: collapse;
    border-spacing: 0;
}

table.rejimen-table thead th {
    background: #e9faf9;
}

table.rejimen-table thead td {
    background: #e9faf9;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
}

table.rejimen-table tbody th {
    width: 70%;
    text-align: left;
    vertical-align: middle;
}

table.rejimen-table tbody td {
    width: 30%;
    text-align: center;
    vertical-align: middle;
}

.return-nav-position-btn {
    margin: 0.5em;
    text-align: right;
}

table.pharmacy-workshop-table {
    width: 100%;
    margin: 0.5em 0.5em;
    border-collapse: collapse;
    border-spacing: 0;
}

table.pharmacy-workshop-table thead {
    background: #e9faf9;
    text-align: left;
    vertical-align: middle;
    font-weight: bold;
}

table.pharmacy-workshop-table thead th {
    border-bottom: dotted 1px #778ca3;
}

table.pharmacy-workshop-table tbody {
    text-align: left;
    vertical-align: middle;
}

table.pharmacy-workshop-table tbody td {
    border-bottom: dotted 1px #778ca3;
}

.no-request-report-list {
    list-style: none;
}

.no-request-report-list li {
    list-style: disc;
    margin-left: 2em;

}

.yakuzai-email-link {
    color: inherit;
    text-decoration: none;
}

.yakuzai-email-link:hover {
    color: grey;
    text-decoration: underline;
}

/* 画像診断センター */

.dig-img-cnt {
    counter-reset: list-counter;
}

.dig-img-cnt li {
    list-style: none;
    counter-increment: list-counter;
    position: relative;
    font-weight: bold;
}

.dig-img-cnt li::before {
    content: counter(list-counter) ". ";
    position: absolute;
    left: -1.5em;
    /* 調整が必要な場合はこの値を変更してください */
}

.dig-img-cnt p {
    font-weight: normal;
    margin: 0.5em 0;
}

table.dig-img-pic-tbl-1 {
    width: 100%;
    border-collapse: collapse;
}

table.dig-img-pic-tbl-1 tbody th {
    width: 33.33%;
    text-align: center;
    border: 1px solid #778ca3;
}

table.dig-img-pic-tbl-1 tbody td {
    width: 33.33%;
    text-align: center;
    border: 1px solid #778ca3;
}

img.machine-pic-1 {
    margin: auto;
    width: 100%;
    height: auto;
}

table.dig-img-pic-tbl-2 {
    width: 100%;
    border-collapse: collapse;
}

table.dig-img-pic-tbl-2 tbody th {
    width: 50%;
    text-align: center;
    border: solid 1px #778ca3;
}

table.dig-img-pic-tbl-2 tbody td {
    width: 50%;
    text-align: center;
    border: solid 1px #778ca3;
}

img.machine-pic-2 {
    margin: auto;
    width: 100%;
    height: auto;
}

table.dig-img-pic-tbl-3 {
    width: 100%;
    border-collapse: collapse;
}

table.dig-img-pic-tbl-3 tbody th {
    width: 50%;
    text-align: center;
    border: solid 1px #778ca3;
}

table.dig-img-pic-tbl-3 tbody td {
    width: 100%;
    text-align: center;
    border: solid 1px #778ca3;
}

img.machine-pic-3 {
    margin: auto;
    width: 100%;
    height: auto;
}

/* 臨床検査科 */

table.rsch-img-pic-tbl-1 {
    width: 96%;
    border-collapse: collapse;
    margin: 0.5em;
}

table.rsch-img-pic-tbl-1 tbody td {
    width: 24%;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #778ca3;
}

img.rsch-img-pic-tbl-1 {
    margin: auto;
    width: 120px;
    height: 93px;
}

/* 栄養管理室 */
table.nutritional-tbl-1 {
    width: 100%;
    border-collapse: collapse;
    margin: 0.5em;
}

table.nutritional-tbl-1 tbody th {
    width: 15%;
    vertical-align: middle;
    border: 1px solid #778ca3;
    background-color: #e9faf9;
    padding: 0.3em 1em;
}

table.nutritional-tbl-1 tbody td {
    width: 75%;
    border: 1px solid #778ca3;
    padding: 0.3em 1em;
}

table.nutritional-tbl-2 {
    width: 100%;
    border-collapse: collapse;
    margin: 0.5em;
}

table.nutritional-tbl-2 tbody th {
    width: 15%;
    vertical-align: middle;
    border: 1px solid #778ca3;
    background-color: #e9faf9;
    padding: auto;
}

table.nutritional-tbl-2 tbody td {
    width: 75%;
    border: 1px solid #778ca3;
    padding: auto;
}

.nutritional-pic-1 {
    margin-right: 20px;
    margin-bottom: 20px;
    float: left;
}

.medicaleng-pic-1 {
    margin-right: 20px;
    margin-bottom: 20px;
    float: right;
}

.medicaleng_li_1 {
    margin-left: 2em;
    list-style-type: disc;
}

.medicaleng_li_2 {
    margin-left: 1em;
    list-style-type: disc;
}

/* 医療情報管理部 */
div.medical-mgm_box01 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5em;
    margin: 1em;
}

div.medical-mgm_box01 div {
    display: block;
}

/* 臨床研究部 */
table.clinicalresearch-table {
    width: 80%;
    margin: 0.5em 0.5em;
    border-collapse: collapse;
    border-spacing: 0;
}

table.clinicalresearch-table thead {
    background: #e9faf9;
    text-align: left;
    vertical-align: middle;
    font-weight: bold;
}

table.clinicalresearch-table thead th {
    border-bottom: dotted 1px #778ca3;
}

table.clinicalresearch-table tbody {
    text-align: left;
    vertical-align: middle;
}

table.clinicalresearch-table tbody td {
    border-bottom: dotted 1px #778ca3;
}

/* 看護部 */
/* 看護体制 */


/* 最後の要素が奇数番目の場合に適用 */
div.nursing_img_gap>div:last-child:nth-child(odd) {
    /* グリッドの1列目から最後の列までを専有 */
    grid-column: 1 / -1;

    /* 中の要素を中央に配置 */
    display: flex;
    justify-content: center;
}

figure.nursing-unit-img-1 {
    position: relative;
}

figure.nursing-unit-img-1 img {
    width: 100%;
    height: 250px;
}

figure.nursing-unit-img-1>figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.548);
    font-size: 1.2em;
    font-weight: bold;
    color: white;
}

figure.nursing-unit-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
    position: relative;
}

figure.nursing-unit-img-grid img {
    width: 100%;
    height: auto;
}

figure.nursing-unit-img-grid figcaption {
    position: absolute;
    grid-column: 1 / 3;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.548);
    font-size: 1.2em;
    font-weight: bold;
    color: white;
}

figure.nursing-unit-img-onephoto {
    position: relative;
}

figure.nursing-unit-img-onephoto img {
    width: 100%;
    height: auto;
    justify-content: center;
}

figure.nursing-unit-img-onephoto>figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.548);
    font-size: 1.2em;
    font-weight: bold;
    color: white;
}

figure.nursing-unit-img-2 {
    display: flex;
    vertical-align: middle;

}

figure.nursing-unit-img-2 img {
    width: 100%;
    height: auto;
}

/* 看護部の理念 */
.nursing_div_gap {
    display: grid;
    row-gap: 10px;
}

.nursing-policy-box {
    border: 3px solid pink;
    border-radius: 10px;
    padding: 1em;
    vertical-align: auto;
    text-align: justify
}

.nursing-list-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nursing-list-box ol li {
    padding-left: 0.5em;
    line-height: 2;
}

/* 看護部の委員会・会議 */
.top-button-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.supervisor-button {
    display: inline-block;
    padding: 8px 5px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 12px;
    transition: background-color 0.2s;
}

.committees-wrapper {
    display: flex;
    gap: 10px;
}

.committee-block {
    flex: 1;
    position: relative;
    margin-top: 20px;
}

.section-header {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(to bottom, #60c060, #4cae4c);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    z-index: 1;
}

.committee-list-container {
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    background-color: white;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    padding-top: 20px;
    padding-bottom: 10px;
}

.committee-list {
    list-style: none;
    margin: 0;
    padding: 0 10px 8px 10px;
    display: flex;
    overflow-x: auto;
    gap: 12px;
}

.committee-list li {
    writing-mode: vertical-rl;
    text-align: left;
    vertical-align: middle;
    height: auto;
    flex-shrink: 0;
    margin: 2em 0;
    padding: 0.5em 0 0.25em 0;
    font-size: 12px;
}

@media (max-width: 768px) {
    .committees-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .committee-list li {
        height: 250px;
    }
}


.description-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    /* 行間調整 */
    position: relative;
    padding-left: 20px;
    margin-left: 1em;
}

.item::before {
    content: "•";
    position: absolute;
    left: 8px;
    top: 0;
    color: currentColor;
    font-weight: bold;
    line-height: inherit;
}

.label {
    white-space: nowrap;
    min-width: 20%;
    flex-shrink: 0;
    padding-right: 4px;
}

.separator {
    flex-shrink: 0;
    padding: 0 4px;
}

.content {
    flex: 1;
    padding-left: 4px;
}

/* 組織横断的チーム */
#cross-function-box {
    border: solid #FFB6C1 2px;
    padding: 1em;
    margin: 0 0 1em 0;
    width: 95%;
}

#cross-function-box ul {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

#cross-function-box ul li {
    font-size: 16px;
    width: 50%;
}

#cross-function-box ul li a,
#cross-function-box ul li a:visited {
    color: #51565b;
}

#cross-function-box ul li i {
    color: #FFB6C1;
    margin-right: 10px;
}

/* NST */
table.nst-tbl-1 {
    width: 100%;
    border-collapse: collapse;
    margin: 0.5em;
}

table.nst-tbl-1 tbody th {
    vertical-align: middle;
    border: 1px solid #778ca3;
    background-color: #e9faf9;
    padding: 0.3em 1em;
}

table.nst-tbl-1 tbody th:first-child {
    width: 30%;
}



table.nst-tbl-1 tbody td {
    border: 1px solid #778ca3;
    padding: 0.3em 1em;
}