@charset "utf-8";
/* CSS Document */
.topinner{margin: 0 auto 0;width:100%;overflow:hidden;background:#b2030e;}
.topinner_page{  position: fixed; top: 0; left:50%;transform: translateX(-50%); z-index: 100;  margin:0 auto;width:100%;background: rgba(255,255,255,1);border-bottom:2px solid #7E3C92;}
.headinner{width:1000px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;}
.menu_logo{margin:30px 0 30px;width:255px;}
.menu_logo img{width:100%;}


#nav{margin-bottom:50px;}


.gnav{
    display: flex;
justify-content:space-between;
    margin: 0 auto;
    width:1000px;
position: relative;
z-index:100;

background:#b2030e;
}





.gnav li {
  position: relative;
  display: inline-block;
  text-decoration: none;
text-align:center;
border-left:1px solid #fff;

width:20%;
}

.gnav li:last-child{border-left:1px solid #fff;border-right:1px solid #fff;}

.gnav li a {display:flex;align-items:center;justify-content:center;
    color: #fff;
font-size:20px;
    line-height:1;
    text-align: center;
padding:4px 5px 6px;
}

.gnav li a::after {
  position: absolute;
 bottom: -10px;
  content: '';
  width: 80%;
  height: 8px;
    left:10%;
  background: #000;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}

.gnav li a:hover::after{ transform: scale(1, 1);}


.mainmenu_on{background:#fff;width:80%;margin:0 auto;}
a.mainmenu_on {color:#b2030e !important;}

/*999px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width:999px){
.tel{display:none;}
#nav{display:none;}
.topinner{display:none;}
}

/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 644px){

}	