/* CSS Document */
.inner {
    width: 100%;
     max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 0px;
    font-weight: bold;
    font-size:0.75em;
}



/*.inner:after {
    content: "";
    clear: both;
    display: block;
}*/

/* header */
#top_head {
    top: -100px;
    position: absolute;
    width: 100%;
   
    background: #fff;
    margin: 100px auto 0;
    padding: 0px 0 0;
    line-height: 1;
    z-index: 999;
}

#top_head a,
#top_head {
    /*color: #fff;*/
    text-decoration: none;
}

#top_head a:hover{
    opacity: 0.5;
}

#top_head .inner {
    position: relative;
    height:70px;
}

#top_head .logo {
    /*font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 36px;
    color: #545454;*/
    display: inline-block;
}

#global_nav ul {
    list-style: none;
    /*position: absolute;*/
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    margin-bottom: 0px;
    margin-top: 14px;
    padding-left: 0px;
}

#global_nav ul li {
    float: left;
    display: inline;
    font-size: 1.05em;
}

#global_nav ul li a {
    margin: 0 1em 0 0;
    color: #333;
    display: block;
    font-weight: 500;
}

#global_nav ul li:last-child a {
    margin-right: 0;
}

ul li .sns_button{
    width: auto;
    height:2em;
}

ul li .sns_button_a{
    display: inline-block;
}


/* Fixed */
#top_head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    height: 70px;
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
}

@media screen and (max-width: 1024px) {
/* Fixed */
#top_head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    height: 60px;
}
}


.fixed .inner{
    height:70px!important;
}

#top_head.fixed .logo {
    font-size: 24px;
    color: #333;
}

#top_head.fixed #global_nav ul li a {
    color: #333;
    font-weight:normal;
    font-size: 0.9em;
}

#top_head.fixed .mini_menu{
    font-weight:normal;
}

.fixed #global_nav ul li {
   /* font-size: 1em;*/
}

/* Toggle Button */
#nav_toggle {
    display: none;
    position: absolute;
    right: 12px;
    top: 14px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
}

#nav_toggle div {
    position: relative;
}

#nav_toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #3bb277;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}

#nav_toggle span:nth-child(1) {
    top: 0;
}

#nav_toggle span:nth-child(2) {
    top: 14px;
}

#nav_toggle span:nth-child(3) {
    top: 28px;
}

    .mini_menu{
        text-align: right;
        font-weight: 500;
        color: #333!important;
        font-size: 0.9em;
    }

.mini_menu a{
        color: #333!important;
    }

.green_bar{
    height:4px;
    background: #3bb277;
    width:100%;
}

.menu_margin{
    margin-top:80px;
}



@media screen and (max-width: 1024px) {
/*.menu_margin{
    margin-top:55px
}*/
    
    .green_bar{
        display: none!important;
    }
    
    .menu_margin{
    margin-top:120px;
}
    
 #top_head,
    .inner {
        width: 100%;
        height: 100px;
        padding: 0;
    }
    
    #top_head .inner,#nav_toggle{
        width:100%;
        margin: 0%;
        padding:0%;
        height:60px!important;
        border: none;
         border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    
    .logo{
        width: 100%;
        margin:0 auto;
    }
    
    .logo img {
    height: 100%;
    padding: 0;
    margin: 0 auto;
    display: block;
    }
    
    .open .logo img {
/*        display: none;*/
    }
    
    #nav_toggle {
    display: none;
    position: absolute;
    left: 16px;
    top: 14px;
    width: 40px;
    height: 40px!important;
    }
    
    .open #nav_toggle {
/*    background: #fff;*/
        display: block;
    }
    
     #nav_toggle div{
/*    display: none;*/
         display: flex;
         width: 40px;
/*        height: 40px;*/
         align-items: center;
         justify-content: center;
    }
    
    #nav_toggle div img{
        display: none;
    }
    
    .open #nav_toggle div img{
        display: block;
        width: 40px;
        height: 40px;
    }
    
    
   

    #top_head {
        top: 0;
        position: fixed;
        margin-top: 0;
        background: none;
    }

    /* Fixed reset */
    #top_head.fixed {
        padding-top: 0;
        background: transparent;
    }

    #mobile_head {
        background: #fff;
        width: auto;
        height: 40px;
        margin: 0 auto;
        
/*        z-index: 999;*/
        position: static;
    }

    #top_head.fixed .logo,
    #top_head .logo {
        /*position: absolute;
        left: 13px;
        top: 13px;
        color: #333;
        font-size: 26px;*/
        margin:0;
        height:100%
    }
    
    .logo img{
       height:100%;
        padding:0 10px;
    }

/*
    #nav_toggle {
    -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }
*/
    
    #global_nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: 60px;
        background: #3bb277;
        width: 100vw;
        height: calc(100vh - 60px);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        visibility: hidden;
        opacity: 0;
    flex-direction: column;
        flex-flow: column-reverse;
    }

    #global_nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 1.5em;
        display: flex;
        flex-direction: column;
        margin-top: 0px;
    }

    #global_nav ul li {
        float: none;
        position: static;
        width: 90vw;
    border-bottom: 1px #fff solid;
    }

    #top_head #global_nav ul li a,
    #top_head.fixed #global_nav ul li a {
       width: 100%;
    display: block;
    color: #fff;
    padding: 4vh 0 2vh;
    margin: 0;
    font-size: 0.7em;
    }

    #nav_toggle {
        display: block;
    }

    .mini_menu{
        margin-top:30px;
    }
    
    .mini_menu a {
    color: #fff!important;
}
    
    /* #nav_toggle 切り替えアニメーション */
    .open #nav_toggle span:nth-child(1) {
        top: 14px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }

    .open #nav_toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }

    .open #nav_toggle span:nth-child(3) {
        top: 14px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }

    /* #global_nav スライドアニメーション */
    .open #global_nav {
        /* #global_nav top + #mobile_head height */
        transition: .5s ease-in-out;
        animation-duration: 0.5s;
        animation-name: fade-in-menu;
        opacity: 1;
        visibility: visible;
        overflow: scroll;
    }


    @keyframes fade-in-menu {
        0% {
            display: none;
            opacity: 0;
        }

        1% {
            display: block;
            opacity: 0;
        }

        100% {
            display: block;
            opacity: 1;
        }
    }

}