@charset "utf-8";

body{
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 87.5%;
		font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Verdana", "ＭＳ Ｐゴシック", "sans-serif";
    color: #000000; 
    min-width: 960px;
}

img{
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
}

/*--------------------------------------------------------
  layout
--------------------------------------------------------*/

#container{
	background-image : url(../images/headerBg.gif);
	background-repeat: repeat-x;
	background-position: top left;
}


#header{
	height: 107px;
	overflow: hidden;
	width: 960px;
	margin-left: auto;
	margin-right: auto;
}

#inner{
	position: relative;
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	background-image : url(../images/innerBg.gif);
	background-repeat: repeat-y;
	background-position: top left;
	background-color: #fff;
	margin-top: -1px;
}
#wrapper{
}

#main{
    width: 670px;
    float: right;
    text-align: left;
    padding-bottom: 30px;
		padding-left: 30px;
		padding-right: 30px;
}

.home #main{
}
.c-page #main{
    padding-top: 130px;
	 margin-bottom: 40px;
}

#aside{
    width: 214px;
    text-align: left;
	padding-bottom: 20px;
	padding-left: 8px;
	/*float: left;*/
}
#footer{
    clear: both;
}


/*--------------------------------------------------------
  design
--------------------------------------------------------*/
/* mainvisual -- title */

.home #mainvisual{
	width: 730px;
	float: right;
}

.c-page #page-title{
	width: 730px;
	height: 111px;
	background-image : url(../images/titleBg.png);
	background-position: top right;
	background-repeat: no-repeat;
	position: absolute;
	top: 0;
	right: 0;
	overflow: hidden;
	display: flex;
	align-items: center;
}

/* navi */

#navi{
	width: 229px;
	/*float: left;*/
}


#navi ul{
    margin-top: -1px;
    margin-right: 0;
    margin-bottom: 14px;
    margin-left: 0;
    padding-top: 0;
    padding-right: 0;
    padding-left: 0px;
    padding-bottom: 0;
    list-style-type: none;
    text-align: left;
	}


#navi li{
	display: block;
	letter-spacing: 0.1em;
}

#navi li a{
	display: block;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 17.3px;
	padding-bottom: 17.3px;
	height: auto;
	overflow: hidden;
	line-height: 1.2;
	border-bottom: 1px solid #96e2cf;
	font-size: 1.154em;
	background-color: #17a783;
}
#navi li a.l2{
		line-height: 1.25em;
		padding-top: 11px;
		height: 44px;
}

#navi li a:hover{
		background-color: #099673;
}




@media screen and (max-width: 960px) {

	body{
		min-width: 100%;
	}

	/*--------------------------------------------------------
	  layout
	--------------------------------------------------------*/
	#inner{
		background-image: none;
		width: 100%;
	}
	#main{
		width: 94%;
		float: none;
		padding: 0;
		margin-left: auto;
		margin-right: auto;
	}
	.home #main{
		padding-top: 0;
		/*margin-top: -10px;*/
	}
	.c-page #main{
		margin-top: 15px;
		padding-top: 0;
	}
	#aside{
		width: 96%;
		float: none;
		padding-left: 0;
		padding-bottom: 50px;
		margin-left: auto;
		margin-right: auto;
	}
	.home #aside{
		padding-top: 0;
	}
	.c-page #aside{
		padding-top: 0;
		margin-top: 20px;
	}
	#navi{
	width: 100%;
	height: auto;
	overflow: hidden;
	position: relative;
	top: 0;
	left: 0;
	background-color: #333333;
	}
	.c-page #navi{
		top: 0;
	}

	/*--------------------------------------------------------
	  design
	--------------------------------------------------------*/
	/* mainvisual -- title */
	.home #mainvisual{
		width: 100%;
		/*height: 170px;*/
		overflow: hidden;
		position: relative;
		top: 0;
		left: 0;
		float: none;
	}
	.home #mainvisual #mainvisual-image {
		max-width: 100%;
		height: auto;
	}
	.c-page #page-title{
	width: 100%;
	background-size: contain;
	background-position: top right;
	position: relative;
	top: 0;
	left: 0;
	height: auto;
		padding-bottom: 15px;
	background-color: #1d82c9;
	}
	.c-page #page-title h2{
		line-height: 19px;
		padding: 14px 0px 0px 10px;
		font-size: 1.3em;
		font-weight: bold;
	}

	/* navi */
	#navi ul{
		display: none;
		height: auto;
		background-color: #fff;
		margin: 0;
		text-align: center;
	}
	#navi ul.toggled-on{
		display: block;
		padding-left: 0;
	}
	#navi li{
		display: block;
		background-image: none;
	}
	#navi li a,
	#navi li a.l2{
		display: block;
		padding-left: 10px;
		padding-right: 10px;
		padding-top: 10px;
		padding-bottom: 10px;
		height: auto;
		line-height: 1.4;
	}

	#navi li a:hover{
		background-image: none;
	}


}
