/*---------------------------nav*/

#wrap header {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.header-contents {
    width: 700px;
    margin: 0 0 0 auto;
}

.logobox {
    position: absolute;

}

#wrap .bosyu-bt {
    position: absolute;
    right: 20px;
    top: 10px;
    z-index: 999;
}

/*ーーーーーーーーーー
.header
ーーーーーーーーーーー*/
#head_wrap {
    position: relative;
    width: 100%;
    line-height: 1;
    z-index: 999;
    height: 140px;
    text-decoration: none;
}

#head_wrap a {
    text-decoration: none;
}

#head_wrap .inner {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

#head_wrap .inner:after {
    content: "";
    clear: both;
    display: block;
}

#head_wrap .logo {
    width: 80%;
    /*margin: 15px 0 0;*/
}

#head_wrap .logo img {
    /*width:190px;*/
    height: 135px;
}

#global-nav {
    position: absolute;
    right: 0;
    top: 45px;
}

#global-nav ul {
    list-style: none;
    font-size: 14px;
    margin-right: 10px;
    display: inline-flex;
}


#global-nav ul li {
    border-left: 2px solid;
    font-size: 1.3rem;
}

#global-nav ul li:last-child {
    border-right: none;
}


#global-nav ul li a {
    transition: all .6s ease 0s;
    box-sizing: border-box;
    font-weight: bold;
    color: #000000;
    padding: 0 10px;
    font-size: 18px;

}

/* Fixed */
#head_wrap.fixed {
    margin-top: 0;
    top: 0;
    /*position: fixed;*/
    height: 100px;
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
    z-index: 9999;
}

#head_wrap.fixed .logo {
    font-size: 36px;
    color: #333;
}

#head_wrap.fixed #global-nav ul li a {
    color: #333;
    padding: 0 20px;
}

/* 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;
}

#global-nav ul li.smart-kotira {
    display: none;
}

@media (max-width: 850px) {
    #head_wrap {
        top: 0;
        /*position: fixed;*/
        margin-top: 0;
        width: 100%;
        padding: 0;
        /* Fixed reset */
    }

    #head_wrap .inner {
        width: 100%;
        padding: 0;
    }

    #head_wrap .fixed {
        padding-top: 0;
        background: transparent;
    }

    #mobile-head {
        background: rgba(255, 255, 255, 0.9);
        width: 100%;
        height: 56px;
        z-index: 999;
        position: relative;
    }

    #head_wrap.fixed .logo,
    #head_wrap .logo {
        position: absolute;
        left: 13px;
        top: 13px;
        color: #333;
        font-size: 26px;
    }

    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -450px;
        background: rgba(255, 255, 255, 0.9);
        width: 100%;
        text-align: center;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }

    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 14px;
        margin-top: 20px;
        padding: 0;
    }

    #global-nav ul li {
        float: none;
        position: static;
    }

    #global-nav ul li.smart-kotira {
        display: block;
        background: #009b73;
        margin: 30px;
        border-radius: 10px;
        width: 80%;
        margin: 30px auto;
    }

    #global-nav ul li.smart-kotira a {
        color: white;
    }

    #head_wrap #global-nav ul li a,
    #head_wrap.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        padding: 10px 0;
    }

    #nav-toggle {
        display: none;
    }

    /* #nav-toggle 切り替えアニメーション */
    #nav-toggle span {
        display: none;
        position: absolute;
        height: 4px;
        width: 100%;
        background: #666;
        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: 11px;
    }

    #nav-toggle span:nth-child(3) {
        top: 22px;
    }

    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -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: 11px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }

    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(556px);
    }

    #global-nav ul {
        display: block;
        margin-right: 0;
    }

    #global-nav ul li {
        border-right: none;
        border-left: none;
    }

    #global-nav ul li {
        border-right: none;
    }

    #wrap .bosyu-bt {
        position: absolute;
        right: 20px;
        top: -100px;
        z-index: 999;
    }

    #head_wrap .logo {
        width: 190px;
    }

    .first_section .sec01, .first_section.sec01 {
        padding: 0 10px;
        margin: 130px 0 0;
    }

    .header-box {
        /*height: 60px*/
    }

    .top-osaka-bt {
        position: absolute;
        top: 70px;
        right: 10%;
    }
}

#wrap footer {
    background: #7bb928;
    padding: 30px 0 0;

}

#wrap footer .contents {
    display: flex;
}

#wrap .fo_title {
    font-weight: bold;
    font-size: 12px;
}

#footer_main table {
    width: 100%;
}

#footer_main th {
    color: #444;
    margin: 0;
    font-weight: normal;
    font-size: 12px;
    width: 25%;
    text-align: left;
    vertical-align: top;
}

#footer_main .fo_title {
    font-size: 12px;
    font-weight: 800;
    margin: 30px 0 20px
}

#footer_main td {

}

#footer_main .footer_logo {
    text-align: center;
    width: 190px;
}

#footer_main .footer_logo img {
    width: 100%;
}

#footer_main .footer_box {
    width: 50%;
    font-size: 1.2rem;
}

#footer_main .footer_box_se {
    width: 30%;
}

#footer_main .fo_inner-text p {
    font-size: 12px;
    line-height: 2.5;
}

#footer_main .bottom-bar {
    width: 100%;
    height: 30px;
    background: #7bb928;
    text-align: center;
    /*color: white;*/
    margin: 50px 0 0;
    line-height: 3;
    font-weight: 800;
    border-top: 1px solid #7bb928;
}


#head_wrap {
    background: white;
}

.header-box {
    /*padding: 30px 0 0;*/
}

.top-osaka-bt {

}

#mobile-head {
    display: flex;
}

.footer-on {
    display: flex;
    width: 100%;
    margin: 30px 0 0;
}

.right-logo-cover {
    display: flex;
    justify-content: center;
    width: 100%;
}

.footer_logo_se {
    width: 164px;
    margin: 13px 20px;
}

.lef-logo-cover {
    font-size: 16px;
    color: white;
}

@media (max-width: 640px) {
    .header-box {
        /*height: 100px;*/
    }

    .footer-on {
        display: block;
        width: 100%;
        margin: 0px 0 0;
    }

    .right-logo-cover {
        display: block;
        width: 100%;
    }

    .footer_logo_se {
        width: 164px;
        margin: 13px auto;
    }

    .lef-logo-cover {
        margin: 50px auto;
        text-align: center;
    }
}

/*---------------------------------------------nav*/