@charset "utf-8";
/* CSS Document */
.drawer_menu_wrapper {
    position: fixed;
    width: 100%;
    z-index: 1000;
}
.drawer_menu * {
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
    font: inherit;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-align: left;
    text-decoration: none;
    list-style: none;
}
.drawer_menu {
    background-color: #FFF;
    width: 100%;
    height: 60px;    
    z-index: 1000;
    border-bottom: 1px #B0B0B0 solid;
    box-sizing: border-box;
}
.drawer_menu a {
    color: inherit;
    text-decoration: none;
}

.drawer_menu a:visited {
    color: inherit;
}

.drawer_menu .drawer_bg {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 999;
    display: none;
    top: 0;
    left: 0;
}

.drawer_menu .drawer_button {
    display: block;
    background: #4674d9;
    border: none;
    padding: 6px 10px;
    width: 54px;
    height: 60px;
    box-sizing: border-box;
    letter-spacing: 0;
    letter-spacing: 0.05em;
    cursor: pointer;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
    text-align: center;
    outline: none;
}
.drawer_menu .drawer_button {
    color: #FFFFFF;
}

.drawer_menu .drawer_button.active .drawer_bar {width: 32px;}
.drawer_menu .drawer_button.active .drawer_bar1 {transform: rotate(30deg);}
.drawer_menu .drawer_button.active .drawer_bar2 {opacity: 0;}
.drawer_menu .drawer_button.active .drawer_bar3 {transform: rotate(-30deg);}

.drawer_menu .drawer_button.active .drawer_menu_text {display: none;}

.drawer_menu .drawer_button.active .drawer_close {display: block;}

.drawer_menu .drawer_bar {
    display: block;
    height: 2px;
    margin: 6px 2px;
    transition: all 0.2s;
    transform-origin: 0 0;
}

.drawer_menu .drawer_text {
    text-align: center;
    font-size: 10px;
}

.drawer_menu .drawer_close {
    letter-spacing: 0;
    display: none;
}

.drawer_menu .drawer_menu_text {
    display: block;
}

.drawer_menu .drawer_nav_wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 60px;
    left: 0;
    z-index: 1000;
    background-color: #f3f8ff;
    opacity: 0;
    transition: opacity .6s linear, visibility .6s ease;
    pointer-events: none;
    box-sizing: border-box;
}
.drawer_menu .drawer_nav_wrapper.open {
    opacity: 1;
    pointer-events: auto;
}

.drawer_menu .drawer_button .drawer_bar {
    background-color: #FFFFFF;
}

.sitename-sp {
    display: flex;
    align-items: center;
    margin: 0 70px 0 10px;
}
.logo-sp {
    width: 70%;
    margin-right: 10px;
}
.logo-sp img {
    width: auto;
    height: 44px;
    margin-top: 8px
}
.access-sp {
    width: 40px;
    margin-left: auto;
    text-align: center;
    line-height: 1;
}
.access-sp img {
    width: 23px;
    height: auto;
    margin: 0 auto;
    padding: 0;
}
.access-sp span{
    font-size: 10px;
    font-weight: bold;
    display: block;
    margin-top: 2px;
}
.sp-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; 
    list-style-type: none;
    margin: 20px 0 0 0;
    padding: 0 5%;
}
.sp-menu li {
    width: 48%; 
    background-color: #000;
    color: #FFF;
    border-radius: 8px;
    margin-bottom: 10px;
}
.sp-menu li a{
    color: #FFF;
    font-size: 13px;
    text-decoration: none;
}
.sp-menu li span{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 5px;
}
.sp-menu li img{
    width: 30%;
    height: auto;
    margin: 0 auto;
}

.sp-menu li.spmenu-about {
    background-color: #889af2;
}
.sp-menu li.spmenu-outpatient {
    background-color: #e28999;
}
.sp-menu li.spmenu-inpatient {
    background-color: #ef9d59;
}
.sp-menu li.spmenu-section {
    background-color: #DCB500;
}
.sp-menu li.spmenu-department {
    background-color: #9cd353;
}
.sp-menu li.spmenu-profession {
    background-color: #4DB4D8;
}

.sp-sub-menu {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    margin: 0;
    padding: 0 5%;
    box-sizing: border-box;
}
.sp-sub-menu li{
    width: 50%;
    border-bottom: 1px solid #c8c9ca;
    box-sizing: border-box;
    padding: 5px;
}
.sp-sub-menu li a{
    color: #444444;
    font-size: 12px;
    text-decoration: none;
}
.sp-sub-menu li a::before{
    content: "▶";
    margin-right: 0.3em;
}
.sp-sub-menu li:first-child {
    border-top: 1px solid #c8c9ca;
}
.sp-sub-menu li:nth-child(2) {
    border-top: 1px solid #c8c9ca;
}
.sp-sub-menu li:nth-child(2n) {
    border-left: 1px solid #c8c9ca;
}
.sp-sub-menu li.full{
    width: 100%;
    border-left: none;
}

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