@charset "UTF-8";
/* CSS Document */
/*ページ読み込まれるまでメニュー非表示
.header nav{
    display: none;
}*/


@media screen and (max-width:990px) {
.container .header nav .inner .gnav .subnav a {
	font-size: 0.85em;
	line-height: 1.2em;
}
.container .header nav .inner .gnav .subnav .kai li a{
	font-size: 1em;
	line-height: 1.2em;
}
}

/* アイコンイラスト*/
.icon{
	display: inline-block;
	margin: 0px;
	padding: 0px;
	float: none;
}
/* facebookとX*/
.FandX{
	text-align: right;
	float: right;
	width: auto;
	margin: 10px 0px 0px 5px;
	display: flex; /* 横並び */
	z-index: 2;
	position: relative;
}
.FandX a img{
	padding: 0px;
	margin: 0px;
}
.FandX,
.FandX a img{
	display: none;
}


/* メニュー表示部分 */
#main {
	box-sizing: border-box;
	overflow: hidden;
	float: left;
	width: auto;
/* 	margin-bottom: -32768px;
	padding-bottom: 32768px; */
}
.main_menu{
  position: relative;
  margin: 0;
  font-weight: bold;
  cursor: pointer;
}
.inner {
	position: relative;/*相対位置への配置*/
	width: 100%;
	height: auto;
	background-color: #00498A;
	margin: 0px auto;
	padding: 10px 0px 5px 0px;
}
nav {
	width:100%;
	zoom:1;
}
nav:after {
   content:'';
   display:block;
   clear:both;
}
ul {
	list-style-type: none;
	padding-left: 0;
}

.lock {
	overflow:hidden;
	height:100%;
}	
nav {	
	z-index: 3;
}
nav ul {
	text-align: center;/*メニュー中央に*/
	display: block;/*メニュー中央に*/
}
nav li {
	position: relative;
	list-style: none;
	display: inline-block;/*メニュー中央に*/
}
/*メニューバー全体の装飾*/
ul.gnav {
	font-size: 1.0em;
	line-height: 1.2em;
	margin: 0px;
	padding:0px;
}	
nav .inner .gnav .subnav,
nav .inner .gnav .subnav2{
	height: 60px;
	width: auto;
	text-align: center;
	background-color: #00498A;
}
/* 最後(大会レポート)のみ枠線を消す */
nav .inner .gnav .subnav:last-child{
    border-right:none;
}
li.subnav a,
li.subnav2 a{
	border-left: 1px solid #FFF;
	padding: 0px 5px 0px 8px;
	margin: 0px;
}
/*メインメニュー（上位）項目の装飾 */

ul.gnav li {
   width: auto;           /* 上位メニュー項目の横幅 */
   display: inline-block; /* 横並びに配置する */
   list-style-type: none;
   position: relative;    /* サブメニュー表示の基準位置にする */
}
ul.gnav a {
	color: #FFF;
	text-align: center;        /* 文字列中央寄せ */
	text-decoration: none; 
	font-weight: bolder; 
	display: block;            /* 項目内全域をリンク可能にする */
}

ul.gnav a:hover {
   color: #F00;
}

/*サブメニュー（下位）全体の装飾 */

ul.gnav ul {
   margin: 0px;        /* サブメニュー外の余白 */
   padding: 0px;       /* サブメニュー内の余白 */
   display: none;      /* 標準では非表示 */
   position: absolute; /* 絶対配置 */
}

/*サブメニュー（下位）項目の装飾 */

nav li ul {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 3;
	top: 60px;     /*サブメニュー表示位置*/
	left: 5px;    /*サブメニュー表示位置*/
	
}
ul.gnav ul li {
	width: 300px;   /* サブメニュー横幅 */
}
ul.gnav ul li a {
	font-size: 1em;
	line-height: 1.2em;
	text-align: left;
	font-weight: bolder;
	color: #FFF;
	background-color: #00498A;  /*サブメニュー背景色*/
	padding: 15px;
	border-top-width: 1px;  /*サブメニューライン色*/
	border-top-style: solid;
	border-top-color: #033;
	border-left: none;
	box-shadow: 0px 3px 4px gray;
}
.gnav ul li a:hover{
	color: #F00;
	background-color: #FFF;
	font-weight: normal;
}
ul.gnav ul li:last-child a {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #00498A;/*下位メニュー1番下ライン*/
}

/*孫メニュー全体の装飾 */
ul.gnav ul ul {
   margin: 0px; 
   padding: 0px; 
   display: none;      /* 標準では非表示 */
   position: absolute; /* 絶対配置にする */
   top: -1px;          /* 1pxだけ上方向にずらす(※上に1pxの枠線を引いている場合) */
   left: 100%;         /* 基準位置からの距離を親ボックスの幅100％にする */
   border-left: 1px solid #00498A; /* 左側に引く枠線*/
}
}
