@charset "utf-8";

/* 共通 */
.m_navbar {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
}

.m_navbar>.container,
.m_navbar>.container-fluid {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
}

.toplogo {
    max-width: 90%;
    display: flex;
    justify-content: left;
    flex-direction: row;
    margin-left: 0px;
    flex-wrap: wrap;
}

.pc_logo_image {
    max-width: 100%;
    height: auto;
}

.topnavmenu {
    width: 620px;
    height: 100%;
    justify-content: right;
}

#main_contents {
    background: #d2ebea;
    width: 100%;
    position: relative;
    z-index: 10;
}

.main_block {
    display: block;
}

.headline {
    font-size: 26px;
    font-weight: bold;
    height: 100px;
    text-align: center;
    line-height: 100px;
}

.space50 {
    height: 50px;
}

.space70 {
    height: 70px;
}


@media (min-width:10px) and (max-width:600px) {

    .header {
        font-size: 18px;
        height: 90px;
        display: flex;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .inner-header {
        height: 90px;
        max-width: 1240px;
        margin: 0 auto;
        position: relative;
        background-color: #ffffff;
    }
    .space110sp {
        height: 90px;
    }
    .menu-btn {
        position: fixed;
        top: 15px;
        right: 10px;
        display: flex;
        height: 60px;
        width: 60px;
        justify-content: center;
        align-items: center;
        z-index: 90;
        background-color: #ffffff;
    }
}

@media (min-width:601px) {
    .header {
        height: 110px;
        display: flex;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .inner-header {
        height: 110px;
        max-width: 1240px;
        margin: 0 auto;
        position: relative;
        background-color: #ffffff;
    }
    .space110sp {
        height: 110px;
    }
    .menu-btn {
        position: fixed;
        top: 25px;
        right: 10px;
        display: flex;
        height: 60px;
        width: 60px;
        justify-content: center;
        align-items: center;
        z-index: 90;
        background-color: #ffffff;
    }
}

/* 1240以上 */

@media (min-width:1240px) {
    body {
        font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
        font-size: 18px;
        background: #d2ebea;
    }
    .navbar-expand-1240 {
        flex-wrap: nowrap;
        justify-content: flex-start
    }
    .navbar-expand-1240 .navbar-nav {
        flex-direction: row
    }
    .navbar-expand-1240 .navbar-nav .dropdown-menu {
        position: absolute
    }
    .navbar-expand-1240 .navbar-nav .nav-link {
        padding-right: .5rem;
        padding-left: .5rem
    }
    .navbar-expand-1240 .navbar-collapse {
        display: flex!important
    }
    .navbar-expand-1240 .navbar-toggler {
        display: none
    }
    .fixedtop {
        position: static;
    }
    .header {
        height: 110px;
        display: flex;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .inner-header {
        height: 100%;
        width: 1240px;
        margin: 0 auto;
        position: relative;
        background-color: #fff;
    }
    #navmenu {
        display: flex;
    }
    #navmenu ul {
        display: table;
        padding: 0;
        width: 620px;
        text-align: center;
        justify-content: space-evenly;
        table-layout: fixed;
    }
    #navmenu ul li {
        display: table-cell;
        padding-top: 18px;
        vertical-align: middle;
    }
    #navmenu ul li a {
        display: block;
        width: 100%;
        text-decoration: none;
        color: #555;
    }
    .box {
        position: relative;
        height: 110px;
        align-items: center;
    }
    .link-cell {
        display: table-cell;
    }
    .hamburger-menu {
        display: none;
    }
    .space110sp {
        height: 0px;
    }
    .maincontainer {
        background: #fff;
        width: 1240px;
        height: 100%;
        text-align: center;
        border-radius: 30px;
        margin: 0 auto 100px;
    }
    .main_greeting {
        position: relative;
        top: -50px;
        margin: 0 auto -50px;
        z-index: 30;
    }
    .logoaddress {
        display: flex;
        justify-content: center;
        flex-direction: row;
    }
    .logo{
        width: 520px;
    }
    #logoImage {
        display: flex;
        justify-content: center;
        max-width: 520px;
        padding: 35px 0px 0px 75px;
    }
    .address {
        padding-left: 50px;
        width: 520px;
        display: inline;
        text-align: left;
        line-height: 2;
    }
    #globalmenu {
        display: flex;
    }
    #globalmenu ul {
        display: table;
        margin: auto 100px auto;
        padding: 0;
        width: 100%;
        text-align: center;
        justify-content: space-evenly;
        table-layout: fixed;
    }
    #globalmenu ul li {
        min-width: 50px;
        display: table-cell;
    }
    #globalmenu ul li a {
        display: block;
        width: 100%;
        padding: 10px 0;
        text-decoration: none;
        color: #555;
    }
    .top:hover {
        background-color: #d2ebea;
    }
    .greeting:hover {
        background-color: #d3ddef;
    }
    .treat:hover {
        background-color: #fadbda;
    }
    .hospital:hover {
        background-color: #fffcdb;
    }
    .access:hover {
        background-color: #ecf3cf;
    }
    .link:hover {
        background-color: #dee2f2;
    }
    .borderright {
        border-right: 1px solid;
    }
    #footer {
        background: #a2d7d4;
        width: 100%;
        height: 100px;
        text-align: center;
        line-height: 100px;
        color: #fff;
        font-family: Arial;
        font-size: 18px;
        margin-top: 100px;
    }
    .sp-br{
        display: none;
    }
}


/* 1239以下 */

@media (max-width:1239px) {
    body {
        font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
        font-size: 16px;
        background: #d2ebea;
    }
    .fixedtop {
        position: fixed;
        z-index: 100;
    }

    #navmenu {
        background-color: #a2d7d4;
        z-index: 50;
    }
    #navmenu ul {
        width: 40%;
        text-align: left;
    }
    #navmenu ul li {
        border-top-style: 1px solid white;
        border-bottom-style: 1px solid white;
        min-width: 50px;
    }
    #navmenu ul li a {
        width: 100%;
        padding: 10px 0;
        text-decoration: none;
        color: #555;
    }
    .hamburger-menu {
        vertical-align: center;
    }
    .menu-btn span {
        content: '';
        display: block;
        height: 4px;
        width: 30px;
        border-radius: 3px;
        background-color: #a2d7d4;
        position: absolute;
    }
    .menu-btn .bartop {
        top: 20px;
    }
    .menu-btn .barbottom {
        bottom: 20px;
    }
    #menu-btn-check {
        display: none;
    }
    .menu-content {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;
        z-index: 80;
        background-color: #a2d7d4;
        transition: all 0.5s;
    }
    .menu-content ul {
        padding: 70px 10px 0;
    }
    .menu-content ul li {
        border-bottom: solid 1px #ffffff;
        list-style: none;
    }
    .menu-content ul li a {
        display: block;
        width: 100%;
        font-size: 15px;
        box-sizing: border-box;
        color: #555;
        text-decoration: none;
        padding: 9px 15px 10px 0;
        position: relative;
    }
    #menu-btn-check:checked~.menu-btn {
        background-color: #a2d7d4;
    }
    #menu-btn-check:checked~.menu-content {
        left: 0;
    }
    #menu-btn-check:checked~.menu-btn .bartop {
        background-color: #ffffff;
        transform: translateY(8px) rotate(-45deg);
        z-index: 90;
    }
    #menu-btn-check:checked~.menu-btn .barmiddle {
        display: none;
    }
    #menu-btn-check:checked~.menu-btn .barbottom {
        background-color: #ffffff;
        transform: translateY(-8px) rotate(45deg);
        z-index: 90;
    }
    .maincontainer {
        background: #fff;
        height: 100%;
        text-align: center;
    }
    .main_greeting {
        position: relative;
        z-index: 30;
    }
    .logoaddress {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    .logo{
        margin: 0px auto;
    }
    #logoImage {
        margin: 50px 0px 50px 0px;
        padding: 0px 20px;
        display: flex;
        justify-content: center;
    }
    .address {
        text-align: center;
        line-height: 2;
    }
    #footer {
        background: #a2d7d4;
        width: 100%;
        height: 100px;
        text-align: center;
        line-height: 100px;
        color: #fff;
        font-family: Arial;
        font-size: 16px;
    }
    .nodisp {
        display: none;
    }
    .sp-br{
        display: block;
    }
    .text {
        display: inline-block;
    }
}