@charset "utf-8";

/*--------------------------------------------------------------------------------*/
/* overlay Menu */
/*--------------------------------------------------------------------------------*/

#OverlayBox{
	display: none;
	width: 50%;
	max-width:50%;
	height:100%;
	position: absolute;
	overflow:auto;
	top: 0%;
	z-index: 1000;
	background: rgba(0,0,0,0.85);
    }
	
#OverlayBox .OverlayInnerBox{
	padding:70px 3% 20px;
	}
	
#OverlayBox p.Title{
         background: #ffffff;
		 width:94%;
		 padding:5px 3%;
    }
	
#OverlayBox a{
	display:block;
	color:#FFF;
	height:40px;
	line-height:40px;
	vertical-align:middle;
	padding:0 0 0 5px;
	border-bottom:1px solid #888888;
}

#OverlayBox a:hover{
    padding-left:5px;
    background-color: rgba(255,255,200,.8);
    color:#333;
}

#OverlayBox .CloseBox{
	position:fixed;
	top: 0%;
	left:0%;
	right:0%;
	z-index: 10000;

	padding-left: 10px;
	}

#OverlayBox p#CloseBtn{
	float:left;
	color: #ffffff;
	width:30%;
	font-size:1.7rem;
	text-align:center;
	border-radius: 5px;
	cursor: pointer;
	background-color: #004096;
	margin-top: 10px;
	margin-right: 5%;
	margin-bottom: 10px;
	margin-left: 0px;
	padding-top: 5px;
	padding-right: 0;
	padding-bottom: 5px;
	padding-left: 0;
}

 

/*--------------------------------------------------------------------------------*/
/* Facebook Menu */
/*--------------------------------------------------------------------------------*/

#LeftMenu{
	position:absolute;
	left:-180px;/* メニューの横幅 smart.jsの20、21行目の数値も合わせる */
	width:180px;/* メニューの横幅 smart.jsの20、21行目の数値も合わせる */
	background-color:#32394a;
	top:0px;
	bottom:0px;
	height:100%;
	z-index: 100;
}

#LeftMenu a{
	display:block;
	color:#FFF;
	height:44px;
	line-height:44px;
	vertical-align:middle;
	padding:0 10px;
	background: -moz-linear-gradient(bottom, #32394a, #394052);
	background: -webkit-gradient(linear, center bottom, center top, from(#32394a), to(#394052));
	border-top:1px solid #3e4555;
	border-bottom:1px solid #242a37;
	text-shadow: 0px 1px 0px #212631;  
}

/*--------------------------------------------------------------------------------*/
/* tab menu */
/*--------------------------------------------------------------------------------*/

.TabBox{width:94%; margin:0 auto;}

.tabNav li.First{border-radius:8px 0 0 0;border-left:1px solid #888888;}
.tabNav li.Last{border-radius:0 8px 0 0;}

.tabNav li {
    float:left;
	width:33.3%;
	border-top:1px solid #888888;
	border-right:1px solid #888888;
}
 
.tabNav li a{
    display:block;
	color:#333333;
	padding:10px 3%;
	border-radius:5px;
	-webkit-border-radius:8px 8px 0 0;
	background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dadada));
}

.tabNav li a.active{background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#003399)); color:#FFFFFF;}

.TabBox div.TabInnerBox{
    border:1px solid #888888;
	padding:15px 0px;
	width:99.8%;
}

/*--------------------------------------------------------------------------------*/
/* togmenu */
/*--------------------------------------------------------------------------------*/

.togmenu {display:none;}

.FBmenuBtn,
.menubtn{
    position:absolute;
    top:0px;
    right:0px;
    cursor:pointer;cursor:hand; 
    width:10%; 
    vertical-align:bottom;
}

.homebtn{
	position:absolute;
	top:0px;
	right:0px;
	cursor:pointer;
	cursor:hand;
	width:10%;
	vertical-align:bottom;
	margin-top: 10%;
}

#menu ul {
	margin: 0;
	padding: 0;
	background:#003399;
}
#menu li {
	list-style: none;
	border-top: 1px dotted #fff;
}
#menu li a {
	padding: 10px 3%;
	display:block;
	text-decoration:none;
	background:#003399;
	color: #fff;
}
