@charset "utf-8";

#main {
    overflow: hidden;
}

.sp {
    display: none;
}

* {
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

#main_image {
    position: relative;
}

#main_image.pc {
    margin: 0 auto 20px;
}
#main_image.pc embed {
    display: block;
    height: 284px;
}
.main-image-link--left,
.main-image-link--right {
    display: block;
    position: absolute;
    width: 46%;
    height: 35%;
    bottom: 5%;
}
.main-image-link--left {
    left: 3%;
}

.main-image-link--right {
    right: 3%;
}

.opener {
    display: none;
    width: 36px;
    height: 40px;
    position: fixed;
    top: 28px;
    right: 16px;
    cursor: pointer;
    z-index: 20;
}

.opener span {
    position: absolute;
    width: 100%;
    height: 5px;
    background: #000;
    display: block;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.opener span:after,
.opener span:before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: #000;
}

.opener span:before { top: -10px; }

.opener span:after { top: 10px; }

.opener p {
    text-align: center;
    position: absolute;
    bottom: -10px;
    margin: auto;
    left: 0;
    right: 0;
    font-size: 15px;
}

.wrap {
    overflow: hidden;
    position: relative;
}

.header-top {
    background-color: #335CD7;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    padding: 2px 10px;
}

#header_navigation {
    position: relative;
    line-height: initial;
    float: right;
}
.header-top h2 {
    position: relative;
    top: 0;
    left: 0;
    height: 20px;
    line-height: 20px;
    color: #fff;
    font-weight: 400;
    float: left;
}
    #wrapper {
        background: none;
    }
@media screen and (max-width: 900px){
#main.shinryou h3, #main.dermatology h3 {
    -webkit-background-size: contain;
    background-size: contain;
}
    #mian_image {
        margin: 0 auto 20px;
    }
    #font_resize {
        top: 70px;

    }
    body {
        background: none;
    }
    * {
        box-sizing: border-box;
    }
    #main_image {
        margin: 0 auto 20px;
    }
    #main table {
        width: 100% !important;
    }
    #header_menu {
        position: fixed;
        width: 260px;
        height: 100%;
        border-left: 3px solid;
        right: -260px;
        top: 0;
        left: initial;
        bottom: initial;
        background: #fff;
        z-index: 10;
        padding: 60px 20px;
        box-sizing: border-box;
        transition: .3s ease;
    }
    #header_menu li {
        display: block;
        float: none;
    }
    .wrap {
        width: 92% !important;
        max-width: 600px;
        margin: auto;
    }
    #header {
        background: none;
        height: initial;
    }
    #header .tel {
        position: relative;
    }
    #header h2 {
        display: none;
    }
    #header_content {
        height: auto;
    }
    #header h1 {
        position: relative;
        top: initial;
        margin: 60px 0 20px;
    }
    #header_info {
        position: relative;
        bottom: initial;
        right: 0;
        font-size: 1.3em;
        text-align: right;
        line-height: 1.8;
        margin: 0 auto 20px;
    }
    #main,
    #sidebar {
        float: none;
        margin: 0 auto 20px;
        display: block;
    }

    #footer {
        padding-top: 28px;
    }

    #footer_menu {
        display: none;
    }
    #sidebar_menu {
    transition: .2s ease;
    margin-bottom: 0;
    position: fixed;
    top: 0;
    left: -206px;
    height: 100%;
    background: rgba(0,0,0,0.5);
    width: 206px;
    background-color: #fff;
    z-index: 10;
    padding: 10px 0;
    overflow: scroll;
    border-right: solid 3px #CDD9F7;
    z-index: 100;
    }
    #sidebar_menu.clicked {
        transform: translateX(0);
        z-index: 5;
        overflow: scroll;
    }
    #sidebar_menu li {
        margin: 0;
    }
    .opener {
        display: block;
    }

    #main.top h3.animal {
    background: none;
    border-left: 7px solid #307401;
    padding: 0 10px;
    height: auto;
    line-height: 1.8;
    }
    .page-id-300 table,
    .page-id-300 table tbody,
    .page-id-300 table tr,
    .page-id-300 table td,
    .page-id-300 table th {
        display: block;
        width: 100%;
    }

    #sidebar_menu ul li {
        background-size: contain;
    }
    #main.top .information {
        margin: 28px 0 24px 0;
        padding: 20px;
        width: 100%;
        height: auto;
        background: none;
        border: 2px solid #61B9AE;
    }
    #searchform {
    position: absolute;
    top: initial;
    right: 0;
    bottom: 15px;
}

    .pc {
        display: none;
    }
    .sp {
        display: block;
    }

}

@media screen and (max-width: 600px){
    #main.top .news,
    #main.top .diary {
        float: none !important;
        display: block;
        margin: 0 auto 20px;
    }

    #over {
        display: none;
    }
    #main.top .section {
        float: none !important;
        display: block;
        width: 100%;
        max-width: 294px;
        margin: 0 auto 10px !important;
    }
    table.price-list {
        width: 630px !important;
        overflow: scroll;
    }
    #main.top .news dl {
        padding: 0;
        margin: 0 auto 20px;
        background: none;
        min-height: initial;
    }
    #main.top .animal li {
        margin: 0;
        width: 50%;
        padding: 4px;
        box-sizing: border-box;
    }
    body {
        padding: 0 !important;
    }
    #header {
height: auto;
    margin: 0 auto 20px;
    }
    #header h1,
    #header .tel,
    #header .address {
        position: relative;
        top: 0;
    }
    #header h2 {
        display: none;
    }
    #header_content {
        padding-top: 40px;
    }

    .service .text .alignright {
        float: right;
        margin: 0 0 10px 10px;
    }
    .posts_column,
    .posts_news,
    .service li {
        float: none !important;
        display: block !important;
        margin: 0 auto 20px !important;
    }
    .alignright,
    .alignleft {
        display: block;
        float: none;
        margin: 0 auto 20px;
        text-align: center;
    }

    .alignright img,
    .alignleft img {
        display: block;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    #main.top .posts h3 {
        background-size: contain;
    }

    #main .posts dt {
        position: relative !important;
    }
    #main .posts dd {
        padding: 0 0 5px 0 !important;
    }

#searchform {
    position: relative;
    top: initial;
    right: 0;
    bottom: initial;
    text-align: right;
}
#font_resize {
        position: relative;
    top: initial;
    right: initial;
    text-align: right;
}
.header-top h2 {
    display: none;
}

#main.top .department li {
    float: none !important;
    margin: 0 auto 20px !important;
    padding: 0;
    width: 210px;
}

#main.top .information h3 {
    height: auto;
}
#footer_text {
    padding-top: 15px;
    padding-bottom: 15px;
    height: auto;
    color: #000;
    text-align: left;
    line-height: 1.2em;
}

    form table,
    form table thead,
    form table tbody,
    form table th,
    form table td,
    form table tr {
        width: 100%;
        display: block;
    }

.only-sp {
    display: inherit;
}

.only-pc {
    display: none;
}

.online-qr {
    display: block;
    text-align: center;
}

.online-qr .qr {
    margin-bottom: 10px;
}

}