body > nav .top-bar{
  background-color: #333;
  color: #666666;
}

#corp_name{
    width: 300px;
    padding-bottom: 10px;
}

#setting{
    position: relative;
}

.top-bar-section ul li a{
  font-size: 20px;
  padding: 0px;
}

#setting_menu{
    position: absolute;
    top: 40px;
    width: 250px;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    visibility: hidden;
    border: solid;
    border-width: 1px;
    border-color: #F5F5F5;
}

#setting_menu li{
    width: 100%;
}

#setting_menu li a{
    color: #333;
    background-color: #FFF;
    font-size: 15px;
}

#setting:hover #setting_menu {
    top: 50px;
    visibility: visible;
    opacity: 1;
    background-color: #FFFFFF;
}

#user_name{
    padding-top:10px;
    text-align: center;
    width: 200px;
    font-size:20px;
    color:#FFF;
}

body,
#wrapper {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 600px;
  min-width: 800px;
}

html {
    height: 100%;
}

body {
    height: 100%;
    margin: 0;
}

#wrapper {
    height: 100%;
}

.footer{
    width: 100%;
    background: #333;
    postion:absolute;
    bottom:0;
    height: 5%;
}

.copyright{
    padding-top: 1%;
    color: #fff;
    font-size: 12px;
    text-align: center;
}


footer {
  margin-top: auto;
}

/* レスポンシブデザイン */
/* ヘッダの表示を固定 */
@media screen and (max-width: 640px) { 
    .top-bar{
        overflow: visible;
    }

    .top-bar-section ul li{
        float: left;
    }

    .top-bar.expanded{
        background: #333;
    }

    .right{
        float: none !important;
    }

    /* 画像のスペースを削除する */
    #company_logo{
        padding-left: 0px;
    }

    .right {
        /*line-height: 2.8125rem !important;*/
    }

    #user_name{
        margin-left: 140px;
    }

    .top-bar-section ul li a{
        line-height: 2.8125rem !important;
        padding: 0 0.9375rem;
    }
}

/* ヘッダが2段表示になったときに画像を中央に表示 */
@media screen and (max-width: 939px) { 
    #company_logo{
        padding-top: 20px;
    }
}
