@charset "UTF-8";
/*
	Theme Name: townnote
	Description: 
	Theme URI: 
	Author: townnote
	Author URI: http://townnote.com/
	Version: 1.1
	License: GNU General Public License
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Tags: white, right-sidebar, two-columns

*/
* { box-sizing: border-box}
* { -moz-box-sizing: border-box}

/****************************************

          General Setting

*****************************************/

html,body {
	margin: 0;
	padding: 0;
}


body {
    color: #333;
	font-size: 14px;
    font-family:
    	Verdana, Arial,
    	'ヒラギノ角ゴ Pro W3',
    	'Hiragino Kaku Gothic Pro',
    	Osaka,
    	'ＭＳ Ｐゴシック',
    	sans-serif;
    line-height: 160%;
}


/****************************************

          Typography

*****************************************/

h1, h2, h3, h4, h5, h6{
	font-weight: normal;
	margin:0; 
	padding:0;
}

#main h1 {
	font-size:24px;
	padding:20px 0;
	letter-spacing:2px;
	border-top:1px dotted #ccc;
}

.single #main h1,.page #main h1{
	font-size:26px;
	line-height:1.4;
	letter-spacing:0;
	padding:0;
	margin:0;
	font-weight:bold;
	border:0;
}
.single #main h1 a,.page #main h1 a{
	text-decoration:none;
}


blockquote{
	margin-bottom: 2em;
	margin-left: 20px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
}


/****************************************

          List

*****************************************/

ul,ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

ul ul{
	margin-left: 1em;
}


/****************************************

          Link

*****************************************/

a {
	color: #000;
}

a:hover {
	color: #aaa;
	text-decoration:none;
}

a img {
	border: none;
	}

#single-main p a{color:#36f}
#single-main p a:hover{color:#36f}
#main .post p.post-meta a{color:#36f; text-decoration:none}
footer a{color:#fff; text-decoration:none}


/****************************************

          Layout

*****************************************/

#container,
.wrapper {
	margin: 0 auto;
	width: 980px;
}

header{
	padding:15px 0 15px 0;
	font-size:10px;
	color:#777;
}
header img{
	vertical-align:middle;
	margin-right:20px;
}
header h1{
	line-height:1.2;
	display:inline;
}
header ul{
	width:380px;
	float:left;
	margin:15px 0 0 0;
}
header li{
	float:right;
	margin-left:30px;
}
header li img{
	margin:0;
}
header .alignlight{
	width:210px;
}
header .alignright{
	width: 370px;
	text-align:right;
	padding-top:15px;	
}



#main {
	float: left;
	width: 610px;
}

#sidebar {
	float: right;
	width: 336px;
}

#main,
#sidebar{
	margin-bottom: 59px;
	border-bottom: 1px solid transparent;
}

footer {
	clear: both;
	background: #555;
	color: #fff;
}

/****************************************

          button

*****************************************/

.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
	display: inline-block;
	margin-bottom: 0;
	padding: 4px 12px;
	padding: 8px 10px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	font-size: 12px;
	line-height: normal;
	cursor: pointer;
	/* Old browsers */
	background:#69C;
	border:1px solid #69c;
}

	.button:hover,
	button:hover,
	input[type="submit"]:hover,
	input[type="reset"]:hover,
	input[type="button"]:hover {
		background: #85ADD6;
		color: #fff;
		border:1px solid #85ADD6;

	}

	.button:active,
	button:active,
	input[type="submit"]:active,
	input[type="reset"]:active,
	input[type="button"]:active {
		position: relative;
		top:1px;
	}



/****************************************

          header

*****************************************/

*:first-child+html header > div{ /* IE7 */
	clear: both;
	zoom:1;
}
	
input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
textarea {
	padding:8px;
	max-width: 100%;
	width: 320px;
	outline: none;
	border: 1px solid #f0f0f0;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	background:#f0f0f0;
	color: #777;
	font-size:110%;
	outline:none;
}

#searchsubmit{
		position: absolute;
		top: 0;
		right: 0;
		width: 30px;
		height: 100%;
		border: none;
		background: url(images/search.png) no-repeat 50% 50%;
}
input[type="text"]:focus,input[type="email"]:focus,textarea:focus{
	background:#FFEAEF;
	border: 1px solid #FFEAEF;
}


/*お問い合わせフォーム*/
#single-main .wpcf7-response-output{
	margin:20px 30px;
	padding:10px;
	font-size:14px;
	line-height:1.4;
}
#single-main .wpcf7-validation-errors{
	border:2px solid #F00;
}
#single-main .wpcf7-mail-sent-ok{
	border:2px solid #69C;
}
.post-3616 .wpcf7-form{
	text-align:center;
}
.post-3616 #single-main .wpcf7-form p{
	width:500px;
	margin:20px auto 0 auto;
}
.post-3616 .wpcf7-form p label{
	text-align:left;
	display:block;
}
.post-3616 input[type="text"],
.post-3616 input[type="email"],
.post-3616 textarea{
	width:100%;
}
.post-3616 input[type="submit"]{
	margin-left:16px;
	padding:10px 30px;
}





/****************************************

          Navigation

*****************************************/

header .menu{
	position: relative;
	bottom: -1px;
	clear: both;
	margin-bottom: 0;
}
	header div.menu > ul,
	header ul.menu{
		border-left: 1px solid #ddd;
	}
	
	header div.menu > ul > li,
	header ul.menu > li{
		float: left;
	}

	header .menu li{
		position: relative;
		border-top: 1px solid #ddd;
		border-right: 1px solid #ddd;
		border-bottom: 1px solid #ddd;
	}
		header .menu li a{
			display: block;
			padding: .5em 1em;
			border-bottom: none;
		}
		header div.menu > ul > li.current_page_item,
		header ul.menu > li.current_page_item{
			border-bottom: 1px solid #fff;
		}

		header ul.sub-menu,
		header ul.children{
			position: absolute;
			left:-1px;
			display: none;
			margin-left: 0;
			width: auto;
			width: 150px;
			border: 1px solid #ddd;
			background: #eee;
		}
			header .sub-menu li,
			header .children li{
				position: relative;
				border: none;
			}

			header ul.sub-menu ul,
			header ul.children ul {
				top:-1px;
				left:150px;
			}
				header .menu li:hover > ul{
					display: block;
				}


/****************************************

          Breadcrumb

*****************************************/

#breadcrumb{
	height:20px;
	font-size:11px;
	color:#999;
	line-height:1.2;
}
#breadcrumb a{text-decoration:none; color:#999;}
#breadcrumb li{
	float: left;
	margin-right: .5em;
}


/****************************************

          Main

*****************************************/

#main .post,
#main .page{
	overflow: hidden;
	border-bottom: 1px solid transparent;
}


#main .post,
#main .page{
	border-top:1px solid #e9e9e9;
	padding:18px 0;
}
.single #main .post{
	padding:30px 0 0 0;
}
#main .page{border-bottom:1px dotted #ccc}


.sticky{
	/* 先頭固定ポストのスタイル */
}


.comment-num{ white-space: nowrap; }

.more-link{
	float: right;
}

.navigation{
	overflow: hidden;
	margin-bottom: 40px;
	border-top: 1px dotted #ccc;
	border-bottom: 1px dotted #ccc;
	background: url(images/gray.gif) repeat-y 50% 0;
}
	.navigation > div{
		width: 50%;
	}

	.navigation .alignright{
		text-align: right;
	}

	.navigation a{
		display: block;
		padding: 1em;
		border: none;
	}
		.navigation a:hover{
			background: #ffeff7;
			color: #000;
		}
			.navigation .alignright a:hover{
				border-left: 1px dotted #ccc;
			}


	.post-author{text-align:right}

.page-link{
	margin: 3em 0;
}
.comment-page-link{
	margin: 0 0 3em;
}

	.page-link span,
	.comment-page-link span,
	.comment-page-link a{
		display: inline-block;
		margin-right: 3px;
		padding: 5px 8px;
		border: 1px solid #ddd;
		background: #ddd;
	}
		.page-link a span,
		.comment-page-link a{
			background: #fff;
		}
	
	.page-link a{
		border-bottom: none;
		color: #000;
	}
	
	.page-link a span:hover,
	.comment-page-link a:hover{
		background: #ffeff7;
		color: #000;
	}
	
	
#single-data{margin:20px 0 10px 0; font-size:85%; color:#777;}
	
#single-sns{overflow:hidden}
#single-sns li{float:left}
#single-sns li.tweetButton{margin-left:10px; width:100px}

#single-main{
	margin-top:-20px;
}
#single-main h2{
	font-size:145%;
	margin-top:40px;
	color:#333;
	font-weight:bold;
	padding:5px 10px;
	line-height:1.6;
	background-color:#F7CAD3;
}
#single-main h3{
	font-size:130%;
	margin-top:30px;
	color:#333;
	font-weight:bold;
	border-bottom:2px solid #F7CAD3;
	padding-bottom:10px;
}
#single-main img{
	margin-top:30px;
}
#single-main strong{color:#f39; font-size:110%;}
#single-main b{
	color:#333;
	font-size:110%;
	background-color:#ffffbc;
	line-height:1.8;
}
#single-main p{
	margin:20px 0;
	line-height:1.8;
}


/****************************************

          ads

*****************************************/

#single-ads{text-align:center; margin-bottom:20px}
#index-ads{text-align:center; margin-top:30px;}


/****************************************

          Related Posts

*****************************************/

div.related-posts{
	padding-bottom: 20px;
}
div.related-posts h3{
	font-size:24px;
	margin-bottom:20px;
}
div.related-posts li{
	padding:15px 0;
	border-top:1px solid #eee;
	border-bottom:1px solid #eee;
	margin-bottom:-1px;
}



/****************************************

          Comments Area

*****************************************/

#comment-area h3{
	font-size: 150%;
	font-family: 'Josefin Sans', sans-serif;
}

.required{ color: #fe56aa;}

.commets-list,
.trackback-list{
	overflow: hidden;
	margin-top: -20px;
	margin-bottom: 40px;
}
	.commets-list li,
	.trackback-list li{
		overflow: hidden;
		margin-top: -1px;
		padding: 20px 0 0;
		width: 100%;
		border-top: 1px solid #ddd;
		border-bottom: 1px solid transparent;
	}
		.commets-list .avatar{
			float: left;
			margin-right: 10px;
			margin-bottom: 10px;
		}

		.comment-meta,
		.reply,
		.comment-notes,
		.form-allowed-tags,
		span.small{
			font-size: 80%;
		}

		.comment-body p{
			clear: both;
		}
		.reply{
			text-align: right;
		}

#respond{
	margin-bottom: 40px;
}


/****************************************

          Custom Comments

*****************************************/

#custom-comments > li{
	margin-bottom: 40px;
}

#custom-comments .comment-author,
#custom-trackback .trackback-author{
	float: left;
	margin-bottom: 20px;
	width: 250px;
}
	#custom-comments .bypostauthor > div .comment-author{
		float: right;
	}

	#custom-comments .comment-author cite span {padding-left: .5em;}

	#custom-comments .comment-meta {
		margin-top: 0;
	}

#custom-comments .comment-body,
#custom-trackback .trackback-body{
	float: right;
	margin-bottom: 20px;
	width: 300px;
}
	#custom-comments .comment-body{
		background: url(images/quote.png) no-repeat 0 0;
	}

	#custom-comments .bypostauthor > div .comment-body{
		float: left;
	}
		#custom-comments .comment-body p{
			padding-left: 1.5em;
		}

#custom-comments ul.children{
	margin-left: 20px;
}


/****************************************

          index.php Main

*****************************************/

.content-box{
	float: right;
	width: 435px;
	position:relative;
}
.content-box h2,.content-box h4{
	font-size:18px;
	line-height:1.4;
	font-weight:bold;
}
.content-box .cat-flag{
	font-size:10px;
	width:90px;
	padding:3px 0;
	text-align:center;
	line-height:1.0;	
	background-color:#F36;
	color:#FFF;
	margin:0 0 8px 0;
}
.content-box h2 a,.content-box h4 a{
	text-decoration:none;
	color:#302f3d;	
}
.content-box h2 a:hover{
	color:#aaa;
}

.content-box p{
	margin:10px 0 0 0;
	color:#666;
	font-size:13px;
	line-height:1.4;
}
.content-box p.post-meta{
	color:#bbb;
	font-size:12px;
}
.content-box p.post-date{
	position:absolute;
	top:1px;
	right:0;
	font-size:11px;
	color:#bbb;
	margin:0;
}

.thumbnail-box{
	float: left;
	width: 160px;
}
.thumbnail-box img{
		width: 160px;
		height: 120px;
		vertical-align:text-bottom;
}
.thumbnail-box a:hover{
	opacity:0.7;
}




/****************************************

          Sidebar

*****************************************/

#sidebar-sns{background-color:#f0f0f0; padding:10px 0; margin-bottom:20px; text-align:center}
#sidebar-sns ul{overflow:hidden; margin:0 auto; width:260px}
#sidebar-sns li{float:left; width:45px; height:45px; margin:0 10px}
#sidebar-sns li a{display:block; width:45px; height:45px}
li.sidebar-sns-f a{background:transparent url('http://townnote.in/tokyo/wp-content/themes/townnote/images/sidebar-sns.png') no-repeat 0 0}
li.sidebar-sns-t a{background:transparent url('http://townnote.in/tokyo/wp-content/themes/townnote/images/sidebar-sns.png') no-repeat -45px 0}
li.sidebar-sns-r a{background:transparent url('http://townnote.in/tokyo/wp-content/themes/townnote/images/sidebar-sns.png') no-repeat -90px 0}
li.sidebar-sns-m {background:transparent url('http://townnote.in/tokyo/wp-content/themes/townnote/images/sidebar-sns.png') no-repeat -135px 0}

#description {
	text-align:center;
	background:transparent url('http://townnote.in/tokyo/wp-content/themes/townnote/images/description.gif') no-repeat;
	height:180px;
	margin:0 0 20px 0;
	padding:0 40px 0 30px;
}
#description a{color:#006699}
#description p{line-height:1.4; font-size:13px; padding-top:40px}
#description p strong{margin:10px 0 0 0; display:block}

form#searchform{position:relative}

#sidebar h2{
	margin-bottom: 10px;
	font-family: 'Josefin Sans', sans-serif;
}

#sidebar-recent-posts li,
#sidebar-popular-posts li,
#sidebar-author li{
	margin:15px 0;
}

.sidebar-thumbnail-box{
	float: left;
	width: 100px;
}

.sidebar-thumbnail-box img{width:100px; height:75px; vertical-align:text-bottom;}

.sidebar-recent-posts-title{
	float: right;
	width: 226px;
}
	#sidebar-recent-posts h3,
	#sidebar-recent-posts p,
	#sidebar-popular-posts h3,
	#sidebar-popular-posts p{
		margin: 0;
		line-height:1.4;
	}
	
.sidebar-author-photo{float:left; width:60px}
.sidebar-author-photo img{width:60px; height:60px; vertical-align:text-bottom}
.sidebar-author-name{float:right; width:230px}
	

.sidebar-date{color:#999; font-size:90%; margin-top:3px}

.tagcloud a{
	white-space: nowrap;
}

.widget{margin-top:30px}
.widget h2{border-bottom:1px solid #F36; padding-bottom:5px;}
.widget h3{font-size:100%; margin:0; line-height:1.4}
.widget p{margin:0; line-height:1.4}
#search-3{margin-bottom:10px}

#views-2 li{padding:10px 0; border-bottom:1px solid #ddd}
#views-2 ul{border-top:1px solid #ddd}

.want-l{
	width:136px;
	vertical-align:text-bottom;
	float:left;
	padding-top:10px;
}
.want-l img{
	width:128px;
}
.want-r{
	width:200px;
	float:right;
	padding-top:10px;
}

/****************************************

          Footer

*****************************************/
footer a{
	text-decoration:underline;
}

#copyright{
	padding: 20px 0;
	font-size: 80%;
}


/****************************************

          data＆tag

*****************************************/
#single-main .data-box{
	background:#EFF5FA url('./images/data.png') no-repeat 15px 15px;
	background-size:40px 14px;
	padding:35px 15px 12px 15px;
	font-size:85%;
	border-radius:6px;
	-webkit-border-radius:6px;
	-moz-border-radius:6px;
	margin-top:40px;
}
#single-main .data-box strong{
	font-size:115%;
	color:#000;
}
#single-main .data-box a{
	color:#36F;
}
#single-main .data-box a:hover{
	color:#aaa;
}
.footer-post-meta{
	margin-top: 40px;
	border-top:1px solid #444;
	border-bottom:1px solid #444;
	padding:10px 0;
}



/****************************************

          WordPress Misc

*****************************************/

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.wp-caption {
	margin: 10px;
	padding-top: 4px;
	border: 1px solid #ddd;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background-color: #f3f3f3;
	text-align: center;
	-khtml-border-radius: 3px;
}

.wp-caption-text,
.gallery-caption{
	font-size: 80%;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption-dd {
	margin: 0;
	padding: 0 4px 5px;
	font-size: 11px;
	line-height: 17px;
}

img.centered {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

img.alignright {
    display: inline-block;
    margin: 0 0 1em 1.5em;
}

img.alignleft {
    display: inline-block;
    margin: 0 1.5em 1em 0;
}

.alignright {
    float: right;
}

.alignleft {
    float: left;
}


/****************************************

          Clearfix

*****************************************/

#container:after,
header .menu > ul:after,
header ul.menu:after,
.clearfix:after {
	display: block;
	visibility: hidden;
	clear: both;
	height: 0;
	content: " ";
	font-size: 0;
}

/* clearfix for ie7 */
#container,
header .menu > ul,
header ul.menu,
.clearfix {
	display: inline-block;
}

#container,
header .menu > ul,
header ul.menu,
.clearfix {
	display: block;
}


/****************************************

          Comment Popuplink

*****************************************/


#commentspopup{
	padding: 30px;
}


/****************************************

          pager

*****************************************/

.pager{
	text-align:center;
	padding-top:30px;
	border-top:1px solid #e4e4e4;
}
a.page-numbers,
.pager .current{
	background:rgba(0,0,0,0.02);
	border:solid 1px rgba(0,0,0,0.1);
	border-radius:5px;
	padding:5px 8px;
	margin:0 2px;
}
.pager .current{
	background:rgba(0,0,0,1);
	border:solid 1px rgba(0,0,0,1);
	color:rgba(255,255,255,1);
}
.pager a{text-decoration:none}
.pager a:hover{background-color:#000; color:#fff}

/****************************************

          記事分割

*****************************************/
.pagesprit {
    color: #000000;
    line-height:2em;
    text-align:center;
	font-weight:bold;
	margin-top:30px;
}

.page-numbers a {
    display:inline;
    border:1px solid #444;
    text-decoration:none;
	padding:5px;
	font-weight:normal;
}

.page-numbers a:hover {
    background:#eff5fa;
	color:#444;
}

.numbers {
    margin: 0 10px;
}
.page-numbers{
	margin-bottom:25px;
}



/****************************************

          contact form

*****************************************/

#button-submit{border:0; background-color:#C42904; color:#fff; text-shadow:none; letter-spacing:5px}
#your-message{width:400px}
div.wpcf7-validation-errors{border:2px solid #C42904}


/****************************************

          profile

*****************************************/
#about-otayori{
	text-align:center;
}
#about-otayori a{
	display:block;
	width:320px;
	padding:10px;
	text-align:center;
	margin:30px auto 0 auto;
	border:2px solid #444;
	text-decoration:none;
	background:transparent url('images/g-t-r.gif') no-repeat 95% center;
}
#about-otayori a:hover{
	color:#444;
	background-color:#f4f4f4;
}


#profile{
	margin-top:20px;
	border:1px solid #444;
}
#profile img{
	float:left;
	margin:20px 10px 10px 20px;
	width:120px;
	height:120px;
}
#profile strong{
	display:block;
	font-size:120%;
	margin:20px 20px 0 0;
}
#profile p{
	margin:10px 20px 20px 20px;
	font-size:90%;
}



