@font-face{
	font-family: DirtyHeadline;
	src: url("../sample/DirtyHeadline.ttf");
}

a:active,a:hover{
	outline: 0;
}

@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }

body,html{
	height: 100%;
}

body{
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	text-size-adjust: 100%;
	color: #333333;
	background: #fff;
	font-family:'Lucida Grande','Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
	font-size: 14px;
	line-height: 1.4;
}

#nav,#nav *{
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

#nav,#nav ul{
	list-style: none;
	width: 100%;
	float: left;
}

#nav li{
	float: left;
	width: 100%;
}

@media screen and (min-width: 40em){
	#nav li{
	width: 25%;
	*width: 24.9%; /* IE7 Hack */
	_width: 19%; /* IE6 Hack */
}
}

#nav a{
	color: #fff;
	text-decoration: none;
	width: 100%;
	background: #f4421a;
	border-bottom: 1px solid white;
	padding: 0.7em 1em;
	float: left;
}

#nav .alt a{
	background: #555;
}

@media screen and (min-width: 40em){
#nav a {
	margin: 0;
	padding: 1em;
	float: left;
	text-align: center;
	border-bottom: 1px solid white;
	border-right: 1px solid white;
}
}

#nav ul ul a{
	background: #ca3716;
	padding-left: 2em;
}

@media screen and (min-width: 40em){
	#nav ul ul a {
	display: none;
}
}

#nav-toggle{
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	width: 70px;
	height: 55px;
	float: right;
	text-indent: -9999px;
	overflow: hidden;
	background: #f4421a url("../sample/hamburger.gif") no-repeat 50% 33%;
}

@media screen and (-webkit-min-device-pixel-ratio: 1.3), screen and (min--moz-device-pixel-ratio: 1.3), screen and (-o-min-device-pixel-ratio: 2 / 1), screen and (min-device-pixel-ratio: 1.3), screen and (min-resolution: 192dpi), screen and (min-resolution: 2dppx) {
	#nav-toggle {
	background-image: url("../sample/hamburger-retina.gif");
	-webkit-background-size: 100px 100px;
	-moz-background-size: 100px 100px;
	-o-background-size: 100px 100px;
	background-size: 100px 100px;
}
}


h1{
	font-family: DirtyHeadline;
	font-size: 30px;
}

#toPageTop{
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 60px;
	height: 60px;
	background: rgba(255,51,51,0.5);
	border-radius: 5px;
	background-image: url("../sample/totop.png");
	background-size: contain;
}

div.sns{
	width: 700px;
	margin: 0 auto;
}

.sns div{
	margin: 10px 15px 0 0;
}

div.button{
	float: left;
}

.clear{
	clear: both;
}

#header{
	width: 320px;
	height: 42px;
	background-image: url("../sample/header.png");
	background-size: contain;
}

#header a{
	display: block;
	width: 320px;
	height: 42px;
}

#profile,#sound,#web,#other,#photo,#tweet,#link{
	padding: 10px 0;
	width: 60%;
	margin: 0 auto;
}

#footer{
	width: 60%;
	margin: 0 auto;
	padding: 10px 0;
	text-align: center;
}

#profile p,#sound p,#web p,#other p,#photo p,#tweet p,#footer p,#link ul{
	margin-bottom: 12px;
	text-shadow: 1px 1px 2px rgba(102,102,102,0.5);
}

#web a,#tweet a,#link a{
	color: #333333;
	text-decoration: underline;
}

#web a:hover,#tweet a:hover,#link a:hover{
	color: rgb(255,51,51);
	text-decoration: none;
}

#profile img.kentaro{
	width: 200px;
	padding-left: 15px;
}

div.left{
	float: left;
}

div.right{
	float: left;
}

.sns-ico{
	width: 60px;
	margin: 0 0 10px 10px;
	display: block;
}

.right img:hover{
	box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
}

#wrap{
	width: 80%;
	margin: 0 auto;
}

#link ul{
	float: left;
	list-style-type: none;
	margin: 10px 0 0 50px;
}

li.head{
	font-weight: bold;
	margin-bottom: 10px;
}

.space{
	margin-top: 20px;
}

.blog{
	text-align: center;
}

#tweet2{
	width: 80%;
	margin: 5px auto 0;
}

.error{
	text-align: center;
	padding-top: 30%;
}

.error img{
	width: 80%;
}

/*スワイプ用*/

.gallery { list-style: none; padding: 0; margin: 0; }
.gallery:after { clear: both; content: "."; display: block; height: 0; visibility: hidden; }
.gallery li { float: left; width: 33.33333333%; }
.gallery li a { display: block; margin: 5px; border: 1px solid #3c3c3c; }
.gallery li img { display: block; width: 100%; height: auto; }