@charset "utf-8";
/* CSS Document */
#NaviTegaru a {
    border-bottom: 4px solid #004492;
}
#Header p {
    font-size: 13px;
    font-weight: normal;
    margin: 0;
}

article+div
{
	width: 1180px;
	margin: 0px;	
}

#TitleWrapper{
	width: 	100%;
	background: url(../img/h1_bg.jpg) top center no-repeat #487fc2	;	
	overflow: hidden;
	padding-bottom: 12px;
}
#Title{
	width: 	1120px;
	margin: 0 auto;
	padding-top: 50px;	
}

#Title h1{
	font-size:40px;
	color: #fff;
	text-align: center;
	margin-bottom: 33px;
	padding:  0px;
	line-height: 40px;
}
#Tab ul{
	display: block;
	width: 865px;
	margin: 0 auto;	
}
#Tab li{
	float:left;
	margin-right:5px;
}

#Tab li:last-child{
	margin-right:0px;
}

#Tab li a{
	display: block;
	text-align: center;
	height: 44px;
	color: #004492;
	font-size: 15px;
	width: 285px;
	padding: 15px 30px;
	background: rgba(244, 244, 244, 0.7);
	border-radius: 3px 3px 0px 0px;	
	position: relative;
}

#Tab li a:hover{
	background: #b2cf3e;
	color: #fff;
	text-decoration: none;
}

#Tab li:hover a:after{
	position: absolute;
	bottom:-14px;
	left:140px;
	content: url(../img/tag_after.gif);
}


/*タブのページごとに切り替えるスタイル -*/
#Tab li a.active{
	color: #fff;
	background-color: #B2CF3E;
}

#Tab li a.active:after{
	position: absolute;
	bottom:-14px;
	left:140px;
	content: url(../img/tag_after.gif);
}

@media screen and (max-width: 767px) {
#Header p {
	display: none

}
#TitleWrapper{
    background: #4588de;
	padding: 0;
}

	
#Title{
    width: 100%;
    background: none;
    padding: 30px 0px 0px 0px;
}

#Title h1{
	font-size:25px;
	text-align: center;
	margin-bottom: 30px;
    padding: 0px;
	line-height: 1.2;

}
#Tab {
	width:100%;
    background: #fff;
	overflow: hidden;
	padding: 10px 10px 15px 10px;
}
#Tab ul{
	display: block;
	width: 100%;
	margin: 0 auto;	
}
#Tab li{
	float:left;
	width: 32%;
	margin-right:2%;
}

#Tab li:last-child{
	margin-right:0px;
}

#Tab li a{
	height: 56px;
	color: #004492;
	font-size: 15px;
	width: 100%;
	padding: 10px;
	border: 2px solid #B2CF3E;
	border-radius: 3px;
	position: relative;
}
#Tab li:first-child a{
	padding:5px 10px 10px 10px;
}
/*タブのページごとに切り替えるスタイル -*/
#Tab li a.active{
	background: #B2CF3E;
	color: #fff;
}

#Tab li a.active:after{
	position: absolute;
	bottom:-15px;
	left:50%;
	margin-left: -11px;	
}


	
#Tab li:hover a:after,#Tab li a:after{
	position: absolute;
	bottom:-15px;
	left:50% !important;
	margin-left: -11px;	
}
	
}
