/* wrap
----------------------------------------------------------------------------- */
body {text-align: center; }

#wrapper {
	margin: 5px auto;
	width: 1000px;
	text-align: left;
}

#main {
}

#contents {
}

#sidebar {
}

#footer {
	clear:both;
}

/* ■■ design ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

/* General
----------------------------------------------------------------------------- */
body{
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
	font-size:medium;
	margin: 0;
	padding: 0;
}

img{
	border:none;
	vertical-align:middle;
	max-width: 100%;
	height: auto;
}


/* ----- link ----- */
a:link {
	color: #003366;
	text-decoration: none;
}
a:visited {
	color: #003366;
	text-decoration: none;
}
a:active {
	color: #999999;
	text-decoration: underline;
}
a:hover {
	color: #FF33CC;
	text-decoration: underline;
}

/* ----- other ----- */
.clear { clear: both; }

h1, h2, h3 { font-weight: normal; margin: 0 0 10px 0; }

#contents blockquote {
	margin:5px 10px 15px;
	padding:15px;
	background-color:#EEEEEE;
	border:1px solid #DDDDDD;
}

#contents blockquote p{
	margin: 0;
}

ul, ol { margin: 0 0 10px 0; }

pre { }
code, tt { }

.navgation { }
   .next-posts { }
   .prev-posts { }

form { }
input[type=text] { }
textarea { }

strong { font-weight:bold; }

.clearfix:after {
  content: ".";  /* 新しい要素を作る */
  display: block;  /* ブロックレベル要素に */
  clear: both;
  height: 0;
  visibility: hidden;
}

.clearfix {
  min-height: 1px;
}

/* Header
----------------------------------------------------------------------------- */
#header{
	height: 80px;
	margin-bottom: 10px;
}


#header a,
#header a:link,
#header a:visited,
#header a:active
#header a:hover {
}

#site-logo {
	position:relative;
	top:30px;
	left:20px;
	width: 160px;
}

#gnav {
	float: right;
	padding-right: 20px;
}

#gnav ul {
	list-style-type: none;
}
#gnav ul li {
	float: left;
	width: 60px;
	text-align: center;
}
#gnav ul li a {
	display: block;
	text-decoration: none;
}
#gnav ul li a:hover {
	font-weight: bold;
	border-bottom:2px solid #FF33CC;
}
/* Content
----------------------------------------------------------------------------- */
#top-image {
	text-align: center;
}

#contents-link {
	margin: 0 auto;
	width:800px;
	display: table;
}
.contents-link-div {
	display: table-cell;
}

.contents-link-div a {
	width: 200px;
	height: 125px;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.contents-link-div a:hover {
	background-color: #EEEEEE;
	text-decoration: none;
}

/* Footer
----------------------------------------------------------------------------- */
#footer{
	text-align:center;
	color: #666666;
	padding: 20px;
}
/* -------------------------------------------------------------------------- */

@media screen and (max-width:640px){
	#wrapper {
		margin: 0 auto;
		width: 100%;
		text-align: left;
	}

	#header{
		height: auto;
		margin-bottom: 5px;
	}

	#site-logo {
		position:static;
	}

	#gnav {
		float: left;
	}

	#contents-link {
		margin: 0 auto;
		width: 100%;
		display: table;
	}

}
