﻿html {
    height:100%;
    -webkit-text-size-adjust: 100%;
    -webkit-overflow-scrolling: touch;
}
body {

    font-family:"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","Meiryo UI","メイリオ",Meiryo,sans-serif!important;
    font-size:16px;
    line-height:1.42857;
    height:100%;
    color: rgba(0, 0, 0, .84)!important;

}

.header{
    background-color:#a57a2c!important;
    color:#fff;
    width:100%;
    margin-bottom: 0em;
}

.sidebar {
    margin-top:3.5rem;
    margin-botto1m:1rem;
    position:fixed;
    top:0;
    bottom:0;
    left:0;
    display:block;
    overflow-x:hidden;
    overflow-y:auto;
}


@media screen and (max-width:767px) {
    .sidebar {
/*
        bottom:auto;
*/
    margin-top:0;
    margin-bottom:0;

        transition: .3s ease-in-out;
        /*滑らかに表示*/
        -webkit-transform: translateX(-105%);
        transform: translateX(-105%);/*左に隠しておく*/
        z-index: 100;/*最前面に*/
        position: absolute;
        background-color: #ededed;        }
}
.menu {
        margin-top:3.5rem;
/*
        height:15.5rem;
*/
        top:0;
        right:0;
        position:fixed;
}

    .main{
        margin-top:3.5rem;
        margin-b1ottom:1rem;
        overflow-x:hidden;
        overflow-y:auto;
        top:0;
        bottom:0;
        right:0;
        display:block;
        position:fixed;
        background-color:#fffff4;
    }



.nav > li > a {
  padding: 0.05rem 0.25rem;
}


.list-group-item {
  padding-top: 8px!important;
  padding-bottom: 8px!important;
  color: #555555;
}


.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
  background-color: #EFEBE9;
  border-color: #EFEBE9;
}

.list-group-item.active > .badge,
.nav-pills > .active > a > .badge {
  color: red!important;
  background-color: #ffffff;
}

.list-group {
  margin-bottom: 5px!important;
  padding-left: 0;
}

/*チェックが入ったらもろもろ表示*/
#nav-input:checked ~ #nav-close {
    display: block;/*カバーを表示*/
    opacity: .5;
}

#nav-input:checked ~ .sidebar {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);/*中身を表示*/
}
/*閉じる用の薄黒カバー*/
#nav-close {
    display: none;/*はじめは隠しておく*/
    position: fixed;
    z-index: 99;
    top: 0;/*全体に広がるように*/
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: .3s ease-in-out;
}

.nav-unshown{
    display:none;
}


.label{
    display:inline;
}


.fuchi {
	font-weight: bold; text-shadow: 1px 1px 1px #263238, 1px -1px 1px #263238, -1px 1px 1px #263238, -1px -1px 1px #263238, 3px 3px 6px #888;
}


@media screen and (min-width:768px) {

    .flexbox_container{
        display:flex;
    }
    .flexbox_item{
        display:flex;
    }

    .flexbox_item_inner {
        display: flex;
        flex-direction:column;
        width:100%;
        height:180px;
        max-height:300px;overflow-y:scroll;
    }
    }


.sml {
  font-size: 80%;
  color: #fff;
}

.sml a {
  font-size: 100%;
  color: #fff;
}

/*印刷設定*/
@media print {
    .collapse {
        display: block;
    }
}

@media print {
    .main {
        position: relative;
        margin-top: -3.5em !important;
        background-color: #FFFFFF !important;
    }

    .mokuji {
        display: none;
    }
}