@media all and (max-width: 767px) {
    
    /* ----------------- Navigation  -------------- */
    .navbar {
        position: relative;
        top: 0;
        margin: 0 0 0 0;
    }
    #navbar{
        position: absolute;
        background: url(../images/m_menubar.jpg) no-repeat center center; 
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        width: 40%;
        border: 0px;
        padding: 0 0 0 0;
    }
    header div.navbar {
        top: 0px;
    }
    .nav > li {
        width: 100%; 
    }
    .nav > li > a {
        float: left;
        padding: 0 0 0 0;
    }
    .navbar-nav {
        background-color: transparent;
        margin: 30px 20px;
        padding: 0 0 0 0;
        height: calc(100vh - 123px);
    }
    .navbar-inverse {
        background-color: #ffffff;
    }
    .navbar-header {
        text-align: center;
        line-height: 63px;
    }
    #link-home, .navbar-brand {
        display: none;
    }
    .navbar-inverse .navbar-toggle .icon-bar {
        background-color: #D3D3D3;
    }
    .navbar-inverse .navbar-toggle {
        border-color: #ffffff;
    }
    .navbar-toggle {
        float: left;
        margin: 10px;
    }
    .navbar-toggle .collapsed {
        border-color: #ffffff;
        background-color: #ffffff;
    }
    .navbar-toggle .icon-bar {
        width: 25px;
        height: 5px;
    }
    .navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse {
        max-height: none;
    }
    #logo_mobile {
        display: inline-block;
        padding: 0 0 0 0;
        margin-left: -15%;
    }
    #logo_mobile img {
        height: 40px;
    }
    
    #link-history, #link-menu, #link-contact, #link-news, #link-media, #link-gallery {
        height: 30px;
    }
    #fancybox-buttons {
        display: block;
    }
    .fancybox-close {
        display: none;
    }
    .fancybox-opened {
        margin-top: 0px;
    }
    .fancybox-opened .fancybox-title {
        visibility: visible;
    }
    
    /* ----------------- index.html Slide -------------------------- */
    
    .main_slices, #panel_footer_2, #panel_footer_3 {
        width: 0;
        height: 0;
    }
    .m_main_slices {
        display: block;
    }
    .m_main_slices, .m_slides_container, .m_slides_container img{
/*        display: block;*/
        width: 100% !important;
/*        height: calc(100vh - 63px);*/
        height: calc(100vh - 63px) !important;
    }
    #m_message_home {
        position: absolute;
        z-index: 10;
        height: 20vh;
        width: 50%;
        left: 25%;
        top: 10%;
    }
    .content_container img {
        display: none;
    }
    body#body_home #footer_home {
        display: none;
    }
    body#body_home .sub_footer {
        display: block;
    }
    
   
    /* ----------------- menu.html, about.html, contact.html -------------------------- */ 
    body#body_menu::after, body#body_history::after, body#body_contact::after, body#body_news::after, body#body_media::after {
        content: "";
        background: url(../images/white_wave.png) 0 0 repeat;
        opacity: 0.5;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        position: absolute;
        z-index: -1; 
    }
    .m_copyright {
        padding: 0 6px 0 3px;
    }
    .slide_top_wrapper {
        display: none;
    }
    .m_sub_slide_top {
       width: 100%;
    }
    .m_sub_sns {
        height: 20px;
        padding: 0 3px 0 3px;
    }
    .m_sub_sns img {
    
    }
    .m_sns_container {
        display: block;
    }
    
    body#body_menu #menu_content_01, body#body_history #history_content_01, body#body_contact #contact_content_01, body#body_media #media_content_01 {
        margin-top: 20px;
    }
    body#body_menu .panel-group, body#body_history #history_content_02, body#body_contact #contact_content_02, body#body_media #media_panel {
        margin: 20px 0 50px 0;
    }
    body#body_history footer, body#body_menu footer, body#body_contact footer, body#body_news footer, body#body_media footer, body#body_gallery footer, body#body_home .sub_footer {
/*        height: 50px;line-height: 50px;*/
        font-size: 1.25vw;
        padding-top: 5px;
    }
    footer p {
        margin: 0 0 4px;
    }
    body#body_menu footer img, body#body_history footer img, body#body_contact footer img, body#body_media footer img, body#body_news footer img, body#body_gallery footer img, body#body_home .sub_footer img {
        width: 100%;
    }
    
    /* ----------------- menu.html -------------------------- */ 
    body#body_menu #thumb_menu {
        font-size: 2em;
    }
    body#body_menu #slide_top_menu {
        display: none;
    }
    body#body_menu #m_slide_top_menu {
        display: block;
    }
    
    
    /* ----------------- history.html -------------------------- */ 
    body#body_history #thumb_about {
        font-size: 2em;
    }
    body#body_history #slide_top_history {
        display: none;
    }
    body#body_history #m_slide_top_history {
        display: block;
    }

    /* ----------------- contact.html -------------------------- */ 
    body#body_contact #thumb_contact {
        font-size: 2em;
    }
    body#body_contact #mapPlaceholder {
        display: none;
    }
    body#body_contact #m_mapPlaceholder {
        display: block;
        height: 40vh;
    }
    body#body_contact .m_sns_container {
        top: 50px;
    }
    body#body_contact #contact_content_02 {
        width: 70%;
    }
    
    /* ----------------- media.html -------------------------- */ 
    
    body#body_media #slide_top_media {
        display: none;
    }
    body#body_media #m_slide_top_media {
        display: block;
    }
    body#body_media #media_content_01 {
        margin-top: 20px;
    }
    body#body_media .medias {
        padding: 10px;
    }
    
    /* ----------------- news.html -------------------------- */ 
    
    body#body_news #slide_top_news {
        display: none;
    }
    body#body_news #m_slide_top_news {
        display: block;
    }
    body#body_news #news_content_01 {
        margin-top: 20px;
    }
    body#body_news .news {
        padding: 10px;
    }
    
     /* ----------------- gallery.html Photos -------------------------- */ 
    body#body_gallery {
        background: none;
    }
    body#body_gallery main.container {
        background: url(../images/m_background_gallery.jpg) 0 0 no-repeat;
        -webkit-background-size: 100% 100%;
        -moz-background-size: 100% 100%;
        -o-background-size: 100% 100%;
        background-size: 100% 100%;
    } 
    #panel_top {
        display: none;
    }
    .img-responsive {
        height: 120px;
    }
    body#body_gallery header div.navbar {
        margin-top: 0;
    }
    #gallery_wrapper {
        height: 500px;
    }
    body#body_gallery #gallery_content_01 {
        margin-top: 66px;
    }
    #photos_wrapper {
        width: 100%;
        height: calc(100vh - 85px);
        margin-top: 10px; padding-top: 10px;
        overflow: scroll;
    }
    body#body_gallery main.container {
        padding: 0 0 0 0;
    }
    body#body_gallery .fancybox_hidden {
        width: 250px;
        height: 250px;
    }
    body#body_gallery .fancybox-outer {
        overflow: scroll;
    }
    
}

@media all and (min-width: 768px) and (max-width: 991px) {
    
    body#body_gallery .img-responsive {
        height: 200px;
    }

}

@media all and (min-width: 992px) and (max-width: 1199px) {
    
    body#body_gallery .img-responsive {
        height: 195px;
    }

}

@media all and (min-width: 1200px) {


}

@media all and (min-width: 1801px) {
/*
    .container {
        width: 1400px;
    }
*/
}