@charset "utf-8";

.cf:before,.cf:after {content:"";display:table;}
.cf:after {clear:both;}
.cf {*zoom:1;}


*{
	font-size: 13px;
	font-family: "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo, sans-serif;
	margin: 0;
	padding: 0;
	word-wrap: break-word;
	word-break:break-all;
}
#wrapper > header{
	padding: 20px 0 15px;
	background-color: white;
	border-bottom: 1px solid #DDD;
	margin-bottom: 15px;
}
#wrapper > header > div{
	margin:0 auto;
}
#wrapper > header > div img{
	float: left;
	height: 40px;
	margin-right: 4px;
}
#wrapper > header > div > p{
	line-height: 0.8em;
}
#wrapper > header > div > p > a{
	font-size: 0.8em;
	line-height: 0.8em;
	color: black;
	text-decoration: none;
}
#wrapper > header > div > h1 > a{
	font-size: 1.9em;
	font-family: 'Helvetica Neue', sans-serif;
	letter-spacing: -1px;
	font-weight: bold;
	line-height: 1em;
	color: black;
	text-decoration: none;
}
#wrapper > header > div > h1 > a > span{
	font-size: 0.5em;
	font-weight: normal;
}

#wrapper > footer{
	margin: 0 0 0;
	background-color: #EEE;
	border-top: 1px solid #BBB;
}
#wrapper > footer > div{
	padding: 30px 0 30px;
	margin:0 auto;
	text-align: center;
}
#wrapper > footer > div > nav ul{
	list-style: none;
	margin-bottom: 25px;
}
#wrapper > footer > div > nav li{
	display: inline;
	margin: 0 12px;
}
#wrapper > footer > div > nav li a{
	font-size: 1.0em;
}
#wrapper > footer > div > p > * {
	font-size: 0.8em;
	margin-bottom: 1em;
}
#content > .container{
	margin:0 auto;
}

@media screen and (min-width:950px){
	#wrapper > header > div{
		width:950px;
	}
	#wrapper > footer > div{
		width:950px;
	}
	#content > .container{
		width:950px;
	}
}
@media screen and (max-width:470px){
	*{
		font-size: 12px;
	}
	#wrapper > header {
		padding: 15px 0 15px;
	}
	#wrapper > header > div{
		width:350px;
	}
	#wrapper > header > div img{
		height: 28px;
		margin-right: 3px;
	}
	#wrapper > header > div > p{
		line-height: 0.6em;
	}
	#wrapper > header > div > p > a{
		font-size: 0.6em;
		line-height: 0.6em;
	}
	#wrapper > header > div > h1 > a{
		font-size: 1.4em;
	}
	#wrapper > footer > div{
		width:350px;
	}
	#wrapper > footer > div > nav li{
		display: block;
		margin-bottom: 1em;
	}
	#content > .container{
		width:350px;
	}
}
@media screen and (max-width:350px){
	#wrapper > header > div{
		width:300px;
	}
	#wrapper > footer > div{
		width:300px;
	}
	#content > .container{
		width:300px;
	}
}
