/* language menu */
/*
div#top_menu{
    width: 100%;
    margin-top: 10px;
    text-align: center;
}
*/

/* main menu */
/*
http://uxmilk.jp/60712
http://weboook.blog22.fc2.com/blog-entry-408.html
*/
/*
#nav {
    list-style: none;
    display: flex;
}

#nav li {
    // width: 120px;
    text-align: center;
    // background-color: #fff;
    height: 20px;
    // line-height: 20px;
    margin-right: 1px;
}

#nav li a {
    text-decoration: none;
    color: #00f;
    // font-weight: bold;
    padding: 5px;
}

// 要素の上にマウスが乗っている
#nav li a:hover{
    text-decoration: underline;
    background-color: #ddd;
}

// アクティブになっている(マウスを押している)
#nav li a:active{
    background-color: #888;
}

// sub menu
#nav li ul {
    list-style: none;
}

#nav li ul li{
    overflow: hidden;
    height: 0;
    transition: .2s;
}
#nav li:hover ul li{
    overflow: visible;
    height: 16px;
}
*/

div#header{
    grid-row:1;
    background: #F5F5F5;
    border-bottom: solid 2px #47A7A3;
}

div#title{
    margin-left: 10px;
    float: left;
}

div#title img{
    height: 60px;
}

/*
div#subtitle{
    color: #0077BB;
    font-size: 20px;
    float: left;
    margin-top: 20px;
}
*/
.subtitle{
    color: #0077BB;
    font-size: 20px;
}

.toHomeButton {
    border-radius: 15px;
    padding: 5px;
    color: #FFFFFF;
    background-color: #0077BB;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
}

.toHomeButton:focus {
    outline: 0;
}

/*
div#about{
    float: right;
    font-size: 15px;
    margin-top: 20px;
}

div#about span {
    margin-left: 3px;
    margin-right: 3px;
}
*/

.mcf-menu-item {
    text-decoration: none;
    color: #0077BB !important;;
    font-size: 18px;
}

div#headerButtonContainer .toHomeButton a {
    text-decoration: none;
    color: #ffffff;
}

@media screen and (min-width: 1025px) {
    div#headerButtonContainer {
        float: left;
        margin-top: 20px;
        margin-left: 20px;
    }
}

@media screen and (max-width: 1024px) {    
    div#headerButtonContainer {
        position: absolute;
        left: 10px;
        top: 80px;
    }

    div#title{
        float: none;
    }

    div#title img{
        height: 40px;
    }

    .subtitle{
        float: none;
        margin: 0 0 0 20px;
        font-size: 18px;
    }

    /*
    div#about{
        float: right;
        font-size: 15px;
        margin: 0;    
    }
    */
}

@media screen and (max-width: 350px) {
    div#headerButtonContainer {
        position: absolute;
        top: 80px;
        font-size: 9px;
    }
    .toHomeButton{
        font-size: 11px;
    }
}