

/******************** parts css ***********************/
/* 当院からの患者の皆様へ */
ol.rights-res-list {
    list-style: decimal;
}

ol.rights-res-list li {
    margin-left: 2em;
    margin-bottom: 0.5em;
}

ul.privacy-list-dots {
    list-style: disc;
}

ul.privacy-list-dots li {
    margin-left: 1em;
}

.philosophy-policies-center {
    text-align: center;
    display: block;
    margin: 2em auto;
}

.philosophy-policies-center img {
    width: 120px;
    height: auto;
}

.philosophy-policies-center p {
    text-align: center;
    display: block;
    margin: 2em 0;
}

.ruby_small {
    font-size: 80%;
    zoom: 0.8;
    text-align: center;
}

.font_strong {
    font-weight: bold;
}

.font_strong li p {
    font-weight: 100;
}

.font_strong li div {
    font-weight: 100;
}

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

.font_red {
    color: #ff0000;
}

.gairai_content_body {
    margin: 40px 20px;
}

.gairai_content_body hr {
    margin: -10px 0px 20px 0;
}

.gairai_content_body ol {
    padding: 0;
}

.gairai_content_body ol li {
    position: relative;
    list-style-type: none !important;
    /*ポチ消す*/
    padding: 0.5em 0.5em 0.5em 0.5em;
    margin: 10px;
    line-height: 1.5;
    background: #e9faf9;
    vertical-align: middle;
    font-weight: bold;
    border-radius: 2px 2px 2px 2px;
    /*左側の角丸く*/
}

.gairai_content_body span {
    margin-left: 30px;
    text-align: center;
    vertical-align: middle;
}

.gairai_content_body p {
    margin: 10px;
    line-height: 1.6em;
}

.gairai_content_body_div {
    vertical-align: middle;
    text-align: left;
}

.gairai_content_body_div span {
    display: inline-block;
}


/* テーブル */
table.shinryodaytime-table {
    margin: 10px;
    width: 98%;
    text-align: center;
    border-collapse: collapse;
    border-spacing: 0;
}

table.shinryodaytime-table th {
    padding: 10px;
    width: 15%;
    text-align: left;
    border: solid 1px #778ca3;
}

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

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

table.shinryodaytime-table tbody td:first-child {
    width: 15%;
}

.gairai_content_body_li li {
    margin-left: 30px;
    list-style-type: decimal;
}


.notice-line {
    margin-left: 20px;
    font-size: 1.5em;
    font-weight: bold;
    list-style-type: disc;
}

.notice-body {
    margin: 10px 20px;
}

.notice-body p {
    font-size: 1.5em;
    font-weight: bold;
}

.notice-body div {
    font-size: 1.1em;
}

/* テーブル */
table.article-body-table {
    margin: 10px;
    width: 98%;
    text-align: center;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 1.1em;
}

table.artile-body-table thead {
    border-bottom: solid 2px #555;
}

table.article-body-table th {
    padding: 10px;
    width: 35%;
    text-align: left;
    border: solid 1px #778ca3;
}

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

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

table.article-body-table tbody td:first-child {
    width: 20%;
}

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

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

.btn-box a {
    color: inherit;
    /* 親要素の色を継承 */
    text-decoration: none;
    /* 下線を消す場合 */
}

.cate_body_box01 {
    margin: 1em;
}

table.lupinus-table {
    width: 100%;
    margin: 20px 0;
    text-align: center;
    border-collapse: collapse;
    border-spacing: 0;
    font-family: Times New Roman;
    font-size: 1.15em;
}

table.lupinus-table th {
    padding: 10px;
    width: 25%;
    text-align: left;
    border: solid 1px #778ca3;
}

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

table.lupinus-table tbody th:first-child {
    background: #e9faf9;
}

table.lupinus-table tbody td:first-child {
    width: 15%;
}

.cat94_article_height {
    background-color: rgb(243, 243, 243);
}

.cate_body_box01_flex {
    display: flex;
    width: 100%;
    gap: 20px; /* 任意：間隔調整 */
}

.cate_body_box01_flex > div:first-child {
    width: 65%;
    box-sizing: border-box;
}

.cate_body_box01_flex > div:last-child {
    width: 35%;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end; /* 画像を右寄せ */
    padding-right: 10px; /* 右端に少し余白 */
}

.cate_body_box01_flex img {
    max-width: 100%;
    height: auto;
    display: block;
}


.cat94_pic_flex {
    display: flex;
    width: 90%;
    justify-content: space-between;
}

.cat94_pic_flex_left {
    width: 270px;
    height: 250px;
    padding: 2em;
}

.cat94_pic_flex_right {
    width: 270px;
    height: 250px;
    padding: 2em;
}

table.cat94-table {
    width: 100%;
    margin: 20px 0;
    text-align: center;
    border-collapse: collapse;
    border-spacing: 0;
}

table.cat94-table th {
    padding: 10px;
    width: 20%;
    text-align: left;
    border: solid 1px #778ca3;
}

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

table.cat94-table tbody th:first-child {
    background: #e9faf9;
}

table.cat94-table tbody td:first-child {
    width: 15%;
}

.cat94_pic_guidemap {
    width: 100%;
    justify-content: center;
    border: 1px #c4c1c1 solid;
    margin-top: 1em;
}

.myna-notice {
    color: rgb(128, 0, 128);
}

.gairai_p_01 {
    padding-left: 10px;
}

.gairai_p_02 {
    padding: 0px 0px 10px 10px;
}

.gairai_p_03 {
    padding: 10px 0px;
}

.gairai_box_02 {
    margin: 20px 0;
}

.cate_body_box01 {
    margin: 1em;
}

.gairai_shinryo_img {
    width: 700px;
    height: auto;
}

.reception-guidance-notice {
    color: rgb(0, 0, 255);
    margin: 1.5em 0;
    font-weight: 600;
}

.overall-layout-pic {
    width: 100%;
    height: auto;
    display: block;
    text-align: center;
    margin: auto;
}

.guide-pic_grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: auto;
}

.guide-pic_grid-item {
    text-align: center;
}

.guide-pic_grid-item img {
    width: 300px;
    height: 200px;
    border-radius: 2px;
}

.guide-pic_grid-item p {
    margin: 5px;
    font-size: 1rem;
    color: #333;
}

.floor-guide-img {
    width: 100%;
    height: auto;
}

dl.special-outpatient-dl {
    display: flex;
    align-items: baseline;
    margin: 0.5em 0;
}

dl.special-outpatient-dl dt {
    font-weight: bold;
}

dl.special-outpatient-dl dd {
    margin-left: 1em;
    font-weight: bold;
}

table.store-table {
    width: 100%;
    margin: 10px 0;
    text-align: center;
    border-collapse: collapse;
    border-spacing: 0;
}

table.store-table th {
    padding: 10px;
    width: 25%;
    text-align: left;
    border: solid 1px #778ca3;
}

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

table.store-table th:first-child {
    background: #e9faf9;
}


.credit-card-img {
    height:auto;
    width: 150px;
}

.cate_body_box01_top-margin{
    margin-top: 4em;
}

h2#department-title.content_title {
    display: none;
}

.description-list {
    display: table;
    width: 100%;
}

.item {
    display: table-row;
}

.label,
.separator,
.content {
    display: table-cell;
    vertical-align: top;
    padding: 0 4px;
}

.label {
    white-space: nowrap;
    width: 20%;
    /* 必要に応じて調整 */
}

.separator {
    width: 10px;
}

.content {
    width: auto;
}

/* 既存のCSS（変更なし）*/
.cat94_article_height {
    background-color: rgb(243, 243, 243);
}

.cate_body_box01_flex {
    display: flex;
    width: 100%;
    gap: 20px;
}

.cate_body_box01_flex>div:first-child {
    width: 65%;
    box-sizing: border-box;
}

.cate_body_box01_flex>div:last-child {
    width: 35%;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
    padding-right: 10px;
}

.cate_body_box01_flex img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* フロー図全体のコンテナ */
.flowchart {
    --flow-border-color: #D99A6C;
    --flow-bg-color: #FEFBF6;
    width: 95%;
    max-width: 650px;
    margin: 2em 0 2em 2em;
}

/* 各ステップ（ボックスと矢印のセット） */
.flow-step {
    text-align: center;
}

/* テキストが入るボックス 【修正】 */
.flow-box {
    display: block;
    width: 100%;
    border: 1px solid var(--flow-border-color);
    background-color: var(--flow-bg-color);
    padding: 1em;
    /* 上下左右のpaddingを調整 */
    border-radius: 8px;
    /* line-height: 1.6; */
}

.flow-box>p {
    text-align: center;
}

/* 矢印 */
.flow-arrow {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 15px solid var(--flow-border-color);
    margin: 15px auto;
}

/* 最後のステップの矢印だけを非表示にする */
.flow-step:last-child .flow-arrow {
    display: none;
}

/* レスポンシブ対応の追加・修正 */

/* タブレット対応（769px - 1024px） */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .cate_body_box01_flex {
        gap: 15px;
    }

    .cate_body_box01_flex>div:first-child {
        width: 60%;
    }

    .cate_body_box01_flex>div:last-child {
        width: 40%;
        padding-right: 5px;
    }
}

/* スマートフォン・小タブレット対応（768px以下） */
@media screen and (max-width: 768px) {
    .cate_body_box01_flex {
        flex-direction: column;
        /* 縦並びに変更 */
        gap: 15px;
    }

    .cate_body_box01_flex>div:first-child {
        width: 100%;
        /* テキスト部分を全幅に */
        order: 1;
        /* テキストを先に表示 */
    }

    .cate_body_box01_flex>div:last-child {
        width: 100%;
        /* 画像部分を全幅に */
        order: 2;
        /* 画像を後に表示 */
        justify-content: center;
        /* 画像を中央寄せ */
        padding-right: 0;
        /* 右パディングを削除 */
        margin-top: 10px;
        /* 上部に少し余白 */
    }

    .cate_body_box01_flex img {
        max-width: 90%;
        /* 画像サイズを少し小さく */
        margin: 0 auto;
        /* 中央寄せ */
    }
}

/* 写真2枚横並び部分のレスポンシブ対応 */
@media screen and (max-width: 768px) {
    .cat94_pic_flex {
        flex-direction: column;
        /* 縦並びに変更 */
        width: 100%;
        align-items: center;
        /* 中央寄せ */
        gap: 10px;
    }

    .cat94_pic_flex_left,
    .cat94_pic_flex_right {
        width: 90%;
        /* 幅を調整 */
        max-width: 300px;
        /* 最大幅を制限 */
        height: auto;
        /* 高さを自動調整 */
        padding: 1em;
        /* パディングを調整 */
    }
}

/* グリッドレイアウトのレスポンシブ対応 */
@media screen and (max-width: 768px) {
    .guide-pic_grid-container {
        grid-template-columns: 1fr;
        /* 1列に変更 */
        gap: 15px;
        max-width: 400px;
        /* 最大幅を狭く */
    }

    .guide-pic_grid-item img {
        width: 100%;
        /* 画像を全幅に */
        max-width: 280px;
        /* 最大幅を制限 */
        height: auto;
        /* 高さを自動調整 */
    }
}

/* テーブルのレスポンシブ対応 */
@media screen and (max-width: 768px) {

    table.cat94-table,
    table.article-body-table,
    table.shinryodaytime-table,
    table.lupinus-table,
    table.store-table {
        font-size: 0.9em;
        /* フォントサイズを少し小さく */
    }

    table.cat94-table th,
    table.article-body-table th,
    table.shinryodaytime-table th,
    table.lupinus-table th,
    table.store-table th {
        width: 30%;
        /* ヘッダー幅を調整 */
        padding: 8px;
        /* パディングを調整 */
    }

    table.cat94-table td,
    table.article-body-table td,
    table.shinryodaytime-table td,
    table.lupinus-table td,
    table.store-table td {
        padding: 8px;
        /* パディングを調整 */
    }
}

/* 小さなスマートフォン対応（480px以下） */
@media screen and (max-width: 480px) {
    .cate_body_box01_flex {
        gap: 10px;
    }

    .cate_body_box01_flex img {
        max-width: 95%;
        /* さらに画像を大きく */
    }

    .cat94_pic_flex_left,
    .cat94_pic_flex_right {
        width: 95%;
        padding: 0.5em;
    }

    .guide-pic_grid-container {
        max-width: 320px;
        gap: 10px;
    }

    .guide-pic_grid-item img {
        max-width: 250px;
    }

    /* テーブルをより小さく */
    table.cat94-table,
    table.article-body-table,
    table.shinryodaytime-table,
    table.lupinus-table,
    table.store-table {
        font-size: 0.8em;
    }

    table.cat94-table th,
    table.article-body-table th,
    table.shinryodaytime-table th,
    table.lupinus-table th,
    table.store-table th {
        width: 35%;
        padding: 6px;
        font-size: 0.9em;
    }

    table.cat94-table td,
    table.article-body-table td,
    table.shinryodaytime-table td,
    table.lupinus-table td,
    table.store-table td {
        padding: 6px;
    }

    /* クレジットカード画像の調整 */
    .credit-card-img {
        width: 120px;
    }
}

/* フロアガイド画像のレスポンシブ対応 */
@media screen and (max-width: 768px) {

    .floor-guide-img,
    .overall-layout-pic,
    .gairai_shinryo_img {
        width: 100%;
        height: auto;
        max-width: 500px;
        /* 最大幅を制限 */
        margin: 0 auto;
        /* 中央寄せ */
        display: block;
    }

    .cat94_pic_guidemap {
        width: 100%;
        max-width: 500px;
        margin: 1em auto;
        /* 中央寄せ */
        display: block;
    }
}

/* 説明リストのレスポンシブ対応 */
@media screen and (max-width: 768px) {
    .description-list {
        display: block;
        /* テーブル表示を解除 */
    }

    .item {
        display: block;
        /* 行表示を解除 */
        margin-bottom: 10px;
    }

    .label,
    .separator,
    .content {
        display: block;
        /* セル表示を解除 */
        width: 100%;
        padding: 2px 0;
    }

    .separator {
        display: none;
        /* セパレーターを非表示 */
    }

    .label {
        font-weight: bold;
        margin-bottom: 2px;
    }
}

/* ボタンボックスのレスポンシブ対応 */
@media screen and (max-width: 768px) {
    .btn-box {
        flex-direction: column;
        /* 縦並びに */
        gap: 10px;
    }

    .btn-box button {
        width: 100%;
        /* ボタンを全幅に */
        max-width: 200px;
        /* 最大幅を制限 */
        margin: 0;
    }
}
