.home h1 {
    margin: 0;
}

.inner {
/*    width: 1160px;
    margin: 0 auto;*/
}
.inner:after {
    content: "";
    clear: both;
    display: block;
}

#top-head_top,
#top-head {
    width: 100%;
    top: 0px;
    position: absolute;
    margin: 0 auto;
    padding: 0;
    line-height: 1;
    z-index: 998;
}
#top-head {
    margin-top: 100px;
    top: -222px;
}

#top-head_top .inner,
#top-head .inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Fixed */
#top-head #global-nav ul {
    list-style: none;
    /*position: absolute;*/
    top:0;
}
#top-head.fixed {
    position: fixed;
    /* opacity: 0.9; */
    box-shadow:0px 5px 5px -5px #555;
}

/*メニューボタン等共通設定*/
ul.menu_list.flex_main {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    /*height: 100px;*/
}
.site-menu ul.menu_list.flex_main li{
    margin-right: 2em;
    width: 100px;
    /* height: 90px; */
}
/* .site-menu ul.menu_list.flex_main li:last-child{
    margin-right: 0;
} */
/* .site-menu ul.menu_list.flex_main li a{
    height: 100%;
    display: block;
} */

/* Toggle Button */
#nav-toggle {
    display: none;
    position: absolute;
    right: 12px;
    top: 20px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    z-index: 101;
}
#nav-toggle div {
    position: relative;
}
#nav-toggle span {
    display: block;
    position: absolute;
    height: 5px;
    width: 100%;
    background: #fff;
    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: 16px;
}
#nav-toggle span:nth-child(3) {
    top: 32px;
}




.menu_list li {
/* height: 60px; */
}
footer .menu_list li {
height: auto;
}
.site-menu.container {
padding-left: 0;
padding-right:0;
}
#top-head,
.inner {
    width: 100%;
    padding: 0;
}
#top-head {
    top: 0;
    position: fixed;
    margin-top: 0;
}
#top-head .inner .flex {
    display: block;
    width:100%;
    top: 20px;
    height: 80px;
    background-color: #fff;
}
#top-head .logo img{
    width:auto;
    max-height:60px;
}
/* Fixed reset */
#top-head.fixed {
    /*padding-top: 20px;*/
    height: 80px;
    /*background: transparent;*/

}
#mobile-head {
    width: 98%;
    z-index: 998;
    position: relative;
    padding:1%;
}
#top-head.fixed .logo,
#top-head .logo {
    /*position: absolute;*/
    color: #333;
    font-size: 26px;
}
#global-nav {
    position: absolute;
    /* 開いてないときは画面外に配置 */
    top: 80px;
    left: 100%;
    width: 100%;
    z-index: 999;
    padding: 0 0 10px 0;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    width: 100%;
    display: block;
    padding: 0 20px;
}
#global-nav ul {
    display: block;
    list-style: none;
    position: static;
    right: 0;
    bottom: 0;
    width: 100%;
}
#top-head .inner .flex > li:nth-child(1){
    width:100%;
}
#top-head .inner .flex > li:nth-child(2){
    width:100%;
}
/* #global-nav ul li {
    position: static;
    width: 100%;
    text-align: center;
    height: 50px;
    line-height: 50px;
} */
#global-nav ul.menu_list li a:after {
    content:attr(data-label);
}
#global-nav ul.menu_list li img {
    display:none;
}
/* #top-head #global-nav ul li a,
#top-head.fixed #global-nav ul li a {
    width: 100%;
    display: block;
    padding: 0 20px;
} */
#global-nav .menu_list.flex_main,
#top-head #global-nav .menu_list.flex_main {

}
#global-nav ul.menu_list.flex_main > li ul.flex_sub_menu li.ts_only {
    display:block;
}
#nav-toggle {
    display: block;
}
ul.menu_list.flex_main li.inquiry {
    height: 50px;
    line-height: 50px;
    background-color: transparent;
    font-size: 100%;
}
ul.menu_list.flex_main li.inquiry a{
    color: #2989e2;
}
/* #nav-toggle 切り替えアニメーション */
.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 */
    left:10%;
    display: flex;
    background-color: #ffffff;
    width: 80%;
    margin-inline: auto;
    flex-direction: row-reverse;
    padding: 2em;
    box-shadow: 0px 0px 10px #555;
    border-radius: 10px;
}
.open #global-nav .menu_info {
    margin-top: 5rem;
}
.open #global-nav ul.flex_main {
    font-size: 1.5em;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
}
.open #global-nav ul.flex_main li{
    display: block;
    width: 80%;
    /* height: calc(100% / 10); */
    border-bottom: #555 solid 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:0 1rem;
}
.open #global-nav ul.flex_main li a{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
.open #global-nav ul.flex_main li:last-of-type{
    border: none;
}

.open #global-nav .menu_info {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.open #global-nav .menu_info a{
    text-align: center;
}

.open #global-nav .menu_info .instagram {
    width: 30px;
}

/*モバイル用*/
@media screen and (max-width: 959px) {
    .open #global-nav{
        flex-direction: column;
        height: auto;
    }
    #top-head .inner .flex,
    #top-head.fixed {
        height: 90px;
    }
    #top-head h1 {
        margin: 0;
    }
    #nav-toggle {
        top: 15px;
        width: 60px;
        height: 60px;
        background: #666;
        border-radius: 5px;
    }
    #nav-toggle > div {
        margin-top: 8px;
        height: 29px;
    }
    #nav-toggle span {
        height: 3px;
        left: 11%;
        width: 78%;
    }
    #nav-toggle span:nth-child(2) {
        top: 13px;
    }
    #nav-toggle span:nth-child(3) {
        top: 26px;
    }
    #nav-toggle .text {
        bottom:3px;
        text-align: center;
        color: #fff;
        text-transform:uppercase;
        font-size: .9em;
    }
    #global-nav {
        top: 30px;
        text-align: center;
    }
    .open #global-nav ul.flex_main {
        font-size: 1em;
    }
    #global-nav ul.flex_main li {
        height: 3em;
    }
    #global-nav .menu_info {
        display: none;
    }
    #global-nav ul.flex_main li{
        width: 50%;
        /* height: calc(100% / 10); */
        padding:0 1rem;
    }
}
footer ul.flex.wrap.container li.left ul.menu_list.flex_main.menu_list li {
  text-align: left;
  margin-bottom: 1em;
  display: flex;
  justify-content: space-between;
}
/*
.inquiry{
    background-color: #0065d0;
}
*/
#top-head .inner .flex > li:nth-child(3) {
    display: none;
}
/*パソコン用画像メニュー*/
@media screen and (min-width: 960px) {
    /*ヘッダーメニューの設計*/
    #nav-toggle{
        display: none;
    }
    #top-head {
        height: 160px;
    }

    #top-head_top .inner, #top-head .inner {
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #top-head .inner .flex {
        display: flex;
        width: 100%;
        top: 0;
        justify-content:space-between;
        align-items: flex-start ;
    }
    #top-head .inner .flex > li:nth-child(1) {
        width: 15%; 
    }
    #top-head .inner .flex > li:nth-child(2) {
        width: 78%; 
    }
    #top-head .inner .flex > li:nth-child(3) {
        display: block;
        width: 3%;
        height: 100%;
    }
    #global-nav {
        position: static;
        /* 開いてないときは画面外に配置 */
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        padding: 0 0 10px 0;
        /* -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        width: 100%;
        display: block;
        padding: 0 20px; */
    }
    #global-nav ul.menu_list.flex_main {
        display: flex;
        flex-wrap: wrap;
    }
    #global-nav section.menu_info {
        display: none;
    }
    .site-menu ul.menu_list.flex_main li {
        font-size: 82%;
        margin-right:0;
        height:2.5em;
        width: 20%;
        border-left: solid 1px #666;
        text-align: center;
    }
    .site-menu ul.menu_list.flex_main li:nth-of-type(n+1):nth-child(-n+5) {
        margin-bottom: 1em;
    }
    .site-menu ul.menu_list.flex_main li:nth-of-type(5n) {
        border-right: solid 1px #666;
    }
    .site-menu ul.menu_list.flex_main li a{
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .svg-inline--fa {
        display: none!important;
    }
     #top-head{
        position: static;
     }
    #top-head.fixed {
        padding-top: 0;
        height: 160px;
        background: transparent;
        position: static;
        box-shadow:none;
    }
    .front_topbase {
        position: static;
        top: 0;
    }
}

a {
    color:#333;
}