@charset "UTF-8";

/*共通用css*/

*{
	margin: 0;
	padding: 0;
	font-style: normal;
	line-height: 2em;
}

body{
	margin: 30px;
	font-family: 'Hiragino Kaku Gothic ProN' 'MS PGothic' 'HiraKakuProN-W3';
	color: #4f4f4f;
	text-shadow: 2px 2px 3px rgba(64,153,55,0.2);

}

/*ヘッダーのあれこれ*/

header img{
	width: 200px;
	height: 100px;
}

/*ナビゲーションのあれこれ*/
.nav_var{
	display: inline-block;
	width: 150px;
	height: 54px;
	text-align: center;
	text-decoration: none;
	line-height: 50px;
	outline: none;
	position: relative;
	z-index: 2;
	background-color: rgba(64,153,55,0.3);
	border: 2px solid rgba(64,153,55,0.3);
	color: #FFF;
}

.nav_var:hover{
	background-color: #FFF;
	border-color: rgba(64,153,55,0.4);
	color: rgb(64,153,55);
}

.nav_var::before,
.nav_var::after{
	position: absolute;
	z-index: -1;
	display: block;
	content: '';
	top: 0;
	width: 50%;
	height: 100%;
	background-color: rgba(64,153,55,0.4);
}

.nav_var::before{
	right: 0;
}

.nav_var::after{
	left: 0;
}

.nav_var:hover::before,
.nav_var:hover::after{
	width: 0;
	background-color: rgba(64,153,55,0.4);
}

.nav_var,
.nav_var::before,
.nav_var::after{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
}

nav{
	overflow: hidden;
	position: relative;
}

nav ul{
	float: left;
	left: 50%;
	position: relative;
	list-style: none;
}

nav li{
	float: left;
	left: -50%;
	position: relative;
}


/*メインのあれこれ*/

main{
	margin: 50px 150px;
}

p img{
	display: block;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

h1{
	color: rgb(64,153,55);
	text-shadow: 2px 2px 3px rgba(128,128,128,0.4);
	position: relative;
	font-size: x-large;
	font-weight: bold;
	margin: 1.5em 0 0.5em;
	padding: 0.5em 0.5em 0 1.5em;
	border-bottom: 2px solid rgba(64,153,55,0.4);
}

h1:before{
	content:'□';
	font-size: 100%;
	position: absolute;
	color: rgba(64,153,55,0.9);
	top: 0.3em;
	left: 0.3em;
	height: 12px;
	width: 12px;
}

h1:after{
	content:'□';
	font-size: 100%;
	position: absolute;
	color: rgba(64,153,55,0.4);
	top: 0.6em;
	left: 0;
	height: 12px;
	width: 12px;
}

main p{
	text-indent: 1em;
}

#page_top{
	display: block;
	position: fixed;
	z-index:9999;
	bottom: 10px;
	right: 10px;
	width: 40px;
	padding: 10px;
	background: rgba(64,153,55,0.2);
	color: #FFFFFF;
	text-align: center;
	text-decoration: none;
}

#page_top:hover{
	background: rgba(64,153,55,0.3);
}

strong{
	background: linear-gradient(transparent 40%, rgba(64,153,55,0.5) 60%);
}

/*サイドバーのあれこれ*/

aside{
	margin: auto -50px auto;
	position: fixed;
	top: 300px;
}

aside ul li a{
	text-decoration: none;
	background: rgba(64,153,55,0.4);
	font-weight: bold;
	display: block;
	margin-left: 0;
	width: 160px;
	padding: 5px 20px 5px 0;
	color: #FFFFFF;
	text-align: right;
	-webkit-border-top-right-radius: 30px;
	-webkit-border-bottom-right-radius: 30px;
	-moz-border-radius-topright: 30px;
	-moz-border-radius-bottomright: 30px;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}

aside ul li{
	margin-bottom: 10px;
	list-style: none;
}

aside ul li a:hover{
	margin-left: 20px;
}




/*フッターのあれこれ*/

footer{
	width: 100%;
	position: relative;
	bottom: 0;
	right: 0;
	font-size: small;
	text-align: right;
}

hr{
	margin: 0 auto;
	width: 90%;
	border: 0;
	height: 0;
	border-top: 1px solid rgba(0,0,0,0.3);
	border-bottom:1px solid rgba(255,255,255,0.5);
}

.footer_text{
	margin: 10px 40px;
}

/*フッターのリンク色*/

footer a:link{
	color:rgb(64,153,55);
}

footer a:visited{
	color:rgb(64,153,55);
	text-decoration: none;
}

footer a:active{
	color:rgb(64,153,55);
}

footer a:hover{
	color:rgb(64,153,55);
	text-decoration: underline;
}

/*メインのリンク色*/

main a:link{
	color: #4f4f4f;
	text-shadow: 2px 2px 3px rgba(64,153,55,0.2);
}

main a:visited{
	color: #4f4f4f;
	text-shadow: 2px 2px 3px rgba(64,153,55,0.2);
	text-decoration: none;
}

main a:active{
	color: #4f4f4f;
	text-shadow: 2px 2px 3px rgba(64,153,55,0.2);
}

main a:hover{
	color: #4f4f4f;
	text-shadow: 2px 2px 3px rgba(64,153,55,0.2);
	text-decoration: underline;
}



/*スマホ版*/
@media screen and ( max-width:479px )
{

aside{
	display: none;
}

main{
	margin: 30px 50px;
}

nav{
	width: 100%;
	height: 200px;
	margin: 0 auto;
	overflow: hidden;
}

nav ul{
	margin: 30px;
	position: relative;
	list-style: none;
}




}