/*メニューの装飾*/
.menu_list {
    font-size: 14px;
}
.menu_list li {
    position: relative;
    text-align:center;
}

/*ヘッダーメニューの設計*/
#page_head{
  height: 90px;
  background-color: rgba( 255, 255, 255, 0 );
  /*position: absolute;*/
  z-index: 999;
  width: 100%;
}
.site-menu{
  height:100%;
}
#top-head_top ,
#top-head.fixed,
#top-head {
  margin-top: 0;
  top: 0;
  height: 90px;
  background-color: rgba( 255, 255, 255, 1 );

}
#top-head_top,
#top-head {
    width: 100%;
    top: 0;
    position: absolute;
    margin: 0 auto;
    padding: 0;
    line-height: 1;
    z-index: 998;
}
#top-head_top h1 ,
#top-head h1{
  margin: 0;
  font-family: 'Kosugi Maru', sans-serif;
  color:#333;
}
.inner {
/*    width: 1160px;
    margin: 0 auto;*/
}
.inner:after {
    content: "";
    clear: both;
    display: block;
}
#pc_header .header_hidden,
#page_head .header_hidden{
    display: none;
}

#top-head {/*
    margin-top: 100px;
    top: -222px;
*/
}

#top-head_top .logo_area,
#top-head .logo_area{
    width:25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left:5%;
}
#top-head_top .menu_area,
#top-head #menu_list{
    width:75%;
}
#top-head_top .inner,
#top-head .inner {
    max-width: 960px;
    margin: 0 auto;
}

#top-head_top .inner .flex,
#top-head .inner .flex {
    display: flex;
    margin: auto;
    width: 100%;
    align-items: center;
}


#top-head_top #global-nav_top ul.flex_sub_menu ,
#top-head #global-nav ul.flex_sub_menu {
    width:100%;
}




/* 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: 10px;
    width: 100px;
    height: 90px;
    display: flex;
    flex-direction: column; /* 子要素をflexboxにより縦方向に揃える */
    justify-content: center; /* 子要素をflexboxにより中央に配置する */
    align-items: center;  /* 子要素をflexboxにより中央に配置する */
}
.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;
}
.site-menu li.sns ul{
    height:90px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   }
.site-menu li.sns{
    width: 45px;
}

/* Toggle Button */
#nav-toggle {
    display: none;
    position: absolute;
    right: 12px;
    top: 20px;
    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: #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;
}



/*モバイル用*/
@media screen and (max-width: 959px) {
   #top-head {
    height: 80px;
   }
   #top-head .logo_area {
    width: 100%;
    height: 100%;
    align-items: stretch;
    margin: 0;
    padding-left: 1%;
   }
  .menu_list li {
    height: 60px;
  }
  .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;
    }
  #top-head .logo img{
  	width:auto;
  	height:60px;
  }
    /* Fixed reset */
    #top-head.fixed {
        /*padding-top: 20px;*/
        height: 80px;
        /*background: transparent;*/

    }
    #mobile-head {
        width: 98%;
        height: 56px;
        z-index: 999;
        position: relative;
        padding:1%;
    }
    #top-head.fixed .logo,
    #top-head .logo {
        /*position: absolute;*/
        color: #333;
        font-size: 26px;
        /* width: 40%; */
    }
    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -500px;
        width: 100%;
        padding: 0 0 10px 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }
    #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;
        background: rgba(255,255,255,.95);
    }
    #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 {
        width:100%;
    /*    display: flex;
        flex-wrap: wrap;
    */
    }
/*
    #global-nav ul.menu_list.flex_main > li:nth-child(1) { order: 1; }
    #global-nav ul.menu_list.flex_main li ul.flex_sub_menu li.tel,
    #global-nav ul.menu_list.flex_main > li:nth-child(2) {
      display:none;
    }
*/
    #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 */
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(556px);
    }
    .site-menu li.sns ul{
        display: none;
       }
    #page_head {
        height: 80px;
    }
    /*SNSアイコン*/
    #page_head #top-head #global-nav ul.menu_list li.sns_icon{
        display: block;
        position: relative;
        width: 100%;
        margin: 0;
        height: 65px;
    }
    #page_head #top-head #global-nav ul.menu_list li.sns_icon ul{
        display: flex;
        width: 140px;
        justify-content: space-between;
        margin-left: auto;
        margin-left: auto;
        margin-bottom: 2rem;
    }
    #page_head #top-head #global-nav ul.menu_list li.sns_icon ul li{
        margin: 0;
        text-align: center;
        background-color: transparent ;
    }  
    #page_head #top-head #global-nav ul.menu_list li.sns_icon ul li a{
        padding: 0;
        height: 100%;
        width: 100%;
    }
    #page_head #top-head #global-nav ul.menu_list li.sns_icon ul li a img {
        display:flex;
        width: 40px;
        margin: auto;
    }

}

@media (max-width: 559px){
    #top-head_top, #top-head.fixed, #top-head,#mobile-head {
        height: 80px;
    }
    
}



/*
.inquiry{
    background-color: #0065d0;
}
*/

.site-menu ul.menu_list.flex_main li {
    position: relative;
    overflow: hidden;
    text-align: center;
  }
.btn__text {
    position: absolute;
    display: block;
    transition: all 0.3s;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
  }
 
/* ボタンのテキスト(デフォルトのテキスト) */
.btn__text:nth-child(1) {
    /* top: 50%; */
  }
  
  /* ボタンのテキスト(隠れているテキスト) */
.btn__text:nth-child(2) {
    /* top: 50%; */
    opacity: 0;
  }
  
  /* ボタンホバーアクション */
.site-menu .m_btn:hover .btn__text:nth-child(1) {
    /* top: 100%; */
    opacity: 0;
  }
  
.site-menu .m_btn:hover .btn__text:nth-child(2) {
    /* top: 50%; */
    opacity: 100%;
  }