@charset "utf-8";

/*——————————————————————

2406リニューアル用css記述

——————————————————————*/


/*———————————
独自スタイル
———————————*/

/* flex */
.fx {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}

/*
特定の画面サイズで表示非表示
———————————*/

/* スマホのみ  */
.ds_sp {
    display: none;
}

@media screen and (max-width: 768px) {
    .ds_sp {
        display: block;
    }
}

/* PCのみ */
.ds_pc {}

@media screen and (max-width: 768px) {
    .ds_pc {
        display: none;
    }
}


/*
ページ内リンク
———————————*/
[id].anchor::before {
    display: block;
    padding-top: 120px;
    margin-top: -120px;
    content: "";
}

#link01,
#link02,
#link03,
#link04,
#link05,
#link06,
#link07,
#link08,
#link09 {
    margin-top: -160px;
    padding-top: 160px;
}

@media screen and (max-width:425px) {

    #link01,
    #link02,
    #link03,
    #link04,
    #link05,
    #link06,
    #link07,
    #link08,
    #link09 {
        margin-top: -15vw;
        padding-top: 15vw;
    }
}

/* ページ内リンク*/
.c-index-boxN {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    max-width: 1024px;
    margin: 50px auto 20px;
}

.c-index-boxN li {
    width: calc(94% / 3);
    margin-bottom: 2%;
    margin-right: 1%;
    margin-left: 1%;
}

.c-index-boxN li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    border: 1px solid #6bb42a;
    background: #6bb42a;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    line-height: 1.3;
}

.c-index-boxN li a:hover {
    background: #fff;
    color: #6bb42a;
}

@media screen and (max-width:768px) {
    .c-index-boxN li {
        width: 48%;
    }

    .c-index-boxN li a {
        height: 60px;
        font-size: 15px;
    }

}

/*
テキスト周り
———————————*/

.st_center {
    text-align: center;
}

.st_h3 {
    font-size: 20px;
    font-weight: normal;
}

.el-maintxt {
    font-size: 16px;
}

@media screen and (max-width:768px) {
    .st_h3 {
        font-size: 3.8vw;
    }

    .el-maintxt {
        font-size: 3.5vw;
    }
}

/*
リンク
———————————*/

.st_borderlink_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    flex-wrap: wrap;
}

.st_borderlink {
    width: 45%;
    max-width: 320px;
    text-align: center;
    padding: 10px;
    display: inline-block;
    margin: 20px auto;
    border: 1px solid #6bb42a;
}
.st_borderlink.col-1{
    max-width: 500px;
    width: 100%;
}
.st_borderlink:hover {
    background-color: #6bb42a;
    color: #fff;
    text-decoration: none;
    opacity: 1;
}

@media screen and (max-width:768px) {
    .st_borderlink_wrap {
        flex-direction: column;
        padding: 40px 20px;
    }

    .st_borderlink,
    .st_borderlink.col-1{
        width: 60%;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/*———————————
ヘッダー
———————————*/
.globalnavi ul {
    width: 1200px;
}
@media screen and (min-width:768px) {
    .globalnavi ul{
        display: flex;
    }
    
}
.globalnavi li {
    width: calc(100% / 7);
}

@media screen and (max-width:768px) {
    .globalnavi ul {
        width: 100%;
    }

    .globalnavi li {
        width: 100%;
    }
}

@media screen and (min-width:425px) {

    .globalnavi .menu-child {
        padding-top: 1em;
        padding-bottom: 1em;
        font-size: 16px;
        background-color: rgba(107, 180, 42, 0.85);
        transition: all 1s;
    }

    header.header_fixed + .globalnavi li a {
        font-size: 15px;
    }
}


/*———————————
トップページ
———————————*/

.bl_linebn {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.bl_linebn a {
    width: 100%;
    max-width: 500px;
}

.bl_topbanner {
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 40px;
    padding-bottom: 40px;
}

.bl_topbanner a {
    width: 32%;
    margin-bottom: 20px;
}

.bl_topbanner a:nth-of-type(4) {
    width: 100%;
    max-width: 600px;
    margin-right: auto;
    margin-left: auto;
}

@media screen and (max-width:768px) {
    .bl_linebn {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .bl_linebn a {
        width: 100%;
    }

    .bl_linebn a:first-of-type {}

    .bl_topbanner {
        max-width: 500px;
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        padding: 20px 0;
    }

    .bl_topbanner a {
        width: 48%;
    }

    .bl_topbanner a:nth-of-type(3),
    .bl_topbanner a:nth-of-type(4) {
        width: 100%;
        max-width: initial;
        margin-right: auto;
        margin-left: auto;
    }
}

/* お知らせライン */
.news_ttl {
    font-size: 20px;
}

.un_news_linelink {
    padding-left: 10px;
}

/* 回遊リンク */

.bl_infoLink {
    justify-content: space-between;
    max-width: 500px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 100px;
}

.bl_infoLink a {
    width: 45%;
    background-color: #fff;
    color: #6bb42a;
    font-size: 20px;
    font-weight: bold;
    height: 100px;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #6bb42a;

}

.bl_infoLink a:hover {
    background-color: #6bb42a;
    color: #fff;
    opacity: 1;
    text-decoration: none;
    border: 1px solid #6bb42a;
}

/* トップページ */
.bl_infoLink.un_topLink {
    margin-bottom: 50px;
}

@media screen and (max-width:768px) {

    .bl_infoLink a {
        width: 48%;
        font-size: 16px;
        height: 60px;
    }

    .bl_infoLink.un_topLink {
        flex-wrap: wrap;
        margin-bottom: 30px;
    }

    .bl_infoLink.un_topLink a {
        width: 100%;
        max-width: 500px;
        margin-bottom: 20px;
    }
}

/*———————————
外来のご案内
———————————*/

.add_outTxt {
    text-align: center;
}

.add_outTxt h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.add_outTxt p {
    font-size: 16px;
    margin-bottom: 30px;
}

/* 外来表 */

.add_gairaiTable h3 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.add_gairaiTable p {
    font-size: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.add_gairaiTable p > span {
    font-size: 14px;
}

.add_gairaiTable th,
.add_gairaiTable td {
    width: 10%;
    text-align: center;
    padding: 8px;
}

.add_gairaiTable th {
    background-color: #6bb42a;
    color: #fff;
    border-right: 1px solid #fff;
}

.add_gairaiTable th:last-of-type {
    border-right: 1px solid #6bb42a;
}

.add_gairaiTable th.time-cell {
    width: 20%;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff
}

.add_gairaiTable td {
    border-bottom: 1px solid #6bb42a;
    border-right: 1px solid #6bb42a;
}

.add_gairaiTable td span {
    font-size: 13px;
    line-height: 1.2;
    display: block;
    padding: 3px 0 6px;
}

@media screen and (max-width:768px) {

    /* スクロール */
    .add_gairaiTable_wrap {
        overflow-x: scroll;
        width: 100%;
        max-width: 600px;

    }

    .add_gairaiTable table {
        width: 600px;
    }

}

/*———————————
各診療科
———————————*/
.un_department.pagetitle_area {
    padding: 160px 0;
    background-image: url(/assets/img/outpatient/pagetitle_bk.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/*———————————
検診センター
———————————*/

.un_docktable {
    width: 100%;
}

.un_docktable th,
.un_docktable td {
    padding: 5px;
}

.un_docktable th {
    width: calc(100% - 150px);
    background-color: #6bb42a;
    color: #fff;
    text-align: center;
    border-right: 1px solid #fff;
}

.un_docktable th:last-of-type {
    width: 150px;
    border-right: none;
}

.un_docktable td {
    border-right: 1px solid #6bb42a;
    border-bottom: 1px solid #6bb42a;
}

.un_docktable td:first-of-type {
    border-left: 1px solid #6bb42a;
}

.un_dockyoyakubox {
    border: 1px solid #6bb42a;
    padding: 20px;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
    width: 100%;
    max-width: 500px;

}

.un_dockyoyakubox span {
    font-size: 20px;
}

.un_dockyoyaku {
    font-size: 20px;
    padding: 10px 0;
    text-align: center;
}

@media screen and (max-width:768px) {
    .un_dockyoyakubox {
        margin-bottom: 40px;

    }

    .un_dockyoyakubox span {
        font-size: 120%;
    }

    .un_docktable_wrap {
        overflow-x: scroll
    }

    .un_docktable th,
    .un_docktable td {
        font-size: 3.3vw;
    }
}

/* ドック0203テキスト */

.un_dockdetail h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #6bb42a;
}

.un_dockdetail p {
    margin-bottom: 25px;
}

.un_dockcampaign {
    border: 1px solid #6bb42a;
    padding: 15px;
    text-align: center;
}

/*———————————
アクセス
———————————*/
.access_area {
    padding-top: 0;
    padding-bottom: 0;
}

.access_area .inner {
    margin-bottom: 60px;
}

.bl_access_method {
    margin-bottom: 40px;
}

/*———————————
入院について
———————————*/
.sec-menkai h3 {
    color: #6bb42a;
    font-weight: bold;
}

.sec-menkai ul {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/*
テーブル
———————————*/
.bl-table {
    font-size: 16px;
    box-sizing: border-box;
    border: 1px solid #6bb42a
}

.bl-table div {}

.bl-table .fx {
    justify-content: center;
    align-items: stretch;
}

.bl-table dt,
.bl-table dd {
    padding: 10px;
}

.bl-table dt {
    background-color: #6bb42a;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #fff;
}

.bl-table dd {
    border-bottom: 1px solid #6bb42a;
}

.bl-table div:last-of-type dt,
.bl-table div:last-of-type dd {
    border-bottom: none;
}

.bl-table span {
    font-size: 85%;
}

@media screen and (max-width:768px) {
    .bl-table {
        font-size: 3.5vw;
    }

}

/* 表スタイル */
.st-table_half dt,
.st-table_half dd {
    width: 50%;
}

.st-table_3070 dt {
    width: 30%;
}

.st-table_3070 dd {
    width: 70%;
}

/*
リスト
———————————*/
/* 普通のリスト */
.el-list {}

.el-list li {
    padding-left: 20px;
    text-indent: -22px;
    margin-bottom: 6px;
}

@media screen and (max-width:768px) {

    .el-list li {
        padding-left: 3.5vw;
        text-indent: calc(-3.5vw - 1.25vw);
    }
}

/* ドット付き */
.el-list_dot {
    list-style: none;
}

.el-list_dot li {
    position: relative;
    padding-left: 15px;
}

.el-list_dot li::before {
    content: "";
    position: absolute;
    background-color: #6bb42a;
    width: 8px;
    height: 8px;
    left: 0;
    top: 8px;
    border-radius: 10px;
    color: red;
}


/* line固定ボタン */
.fix__btn-line {
    position: fixed;
    bottom: 60px;
    right: 20px;
    z-index: 9999;
    background: #00bb03;
    color: #FFF;
    font-size: 14px;
    text-align: center;
    display: block;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    padding: 60px 10px 13px 10px;
    line-height: 1.5;
    background-image: url(/assets/img/common/line-btn-icon.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center top 25px;

}

.fix__btn-line:hover {
    text-decoration: none;
    color: #FFF;
}

@media screen and (max-width:768px) {
    .fix__btn-line {
        display: none;
    }
}

#fixed_nav ul li:last-child {
    border-left: 1px solid #c6c6c6;
}

/* 250322 */
.shikaku_link_wrap.un-nyuin_pdf {
    padding: 10px 40px;
}

.un-nyuin_pdf .shikaku_link {
    font-size: 20px;
    padding-right: 30px;
    padding-left: 30px;
}


/* 251017 */
/* 外来ページ外来表下注釈 */
.add_gairaiTable_notice {
    margin-top: 5px;
    display: grid;
    grid-template-columns: 1.5em 1fr;
    flex-direction: column;
    font-size: 1.5rem;
    gap: 0.5em;
}

/* インデント付与 */
.add_gairaiTable_notice-weeks {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5em;
    margin-bottom: 10px;
}