/*
Theme Name: ALL-up Blog
Author: node
Author URI: http://www.noded.jp/
Version: 1.0
*/


body {
	font-family: Arial, "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	background: #eee;
}

h1, h2, h3, h4, h5, h6 {
	font-family: Arial, "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

p {
	font-size: 14px;
	line-height: 1.8;
	margin: 0 0 15px 0;
}

.row {
	max-width: 61.875rem;
}


a, a:visited, a:active {
	color: #000;
	transition: .2s;
}

a:hover {
	color: #333;
	text-decoration: underline;
}


/* header */

#header {
	min-width: 61.875rem;
	background: #fff;
	height: 163px;
	border-bottom: 2px solid #000;
}

#header #logo a {
	display: block;
	width: 410px;
	height: 34px;
}

#header #logo a:hover {
	opacity: 0.7;
}

#header #header-content {
	height: 120px;
	padding: 60px 0 0 0;
	background: url(images/header-bg.png) center top no-repeat;
}

#header #header-nav {
	padding: 0 0 0 60px;
}

#header #header-nav ul {
	line-height: 1;
}

#header #header-nav ul.menu li {
	display: inline-block;
	font-size: 13px;
	margin: 0 20px 0 0;
	padding: 0 0 0 10px;
	background: url(images/marker.png) left center no-repeat;
}

#header #header-nav ul.menu li:last-child {
	margin: 0;
}

#header #header-nav ul.menu li a {
	padding: 0;
}

#header #nav {
	height: 40px;
	margin: 0 0 2px 0;
	border-top: 1px solid #eee;
}

#header #nav ul {
	background: url(images/header-line.png) right center no-repeat;
	border-left: 1px solid #eee;
	border-right: 1px solid #eee;
}

#header #nav ul li {
	font-size: 14px;
	height: 40px;
	border-right: 1px solid #eee;
}

#header #nav .menu > li:first-child > a {
	padding: 0 10px;
}

#header #nav .menu > li > a {
	display: block;
	line-height: 40px;
	letter-spacing: 1px;
	width: 100%;
	height: 40px;
	margin: 0;
	padding: 0 30px;
}

#header #nav .menu > li > a:hover {
	text-decoration: none;
	background: #f5f5f5;
}


/* container */

#container {
	min-width: 61.875rem;
	padding: 40px 0;
}

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

#side {
	width: 220px;
	float: right;
}


/* article */

article {
	overflow: hidden;
	margin: 0 0 15px 0;
	padding: 40px 30px 0 30px;
	background: #fff;
	border: 1px solid #ddd;
}

article header {
	margin: 0 0 30px 0;
}

article header p {
	font-size: 12px;
	margin: 0;
	padding: 0 0 0 50px;
	background: url(images/icon.png) left center no-repeat;
}

article header p .category a {
	color: #db0716;
}

article header p .category a:hover {
	color: #000;
}

article header p .date {
	color: #999;
}

article h1 {
	color: #333;
	font-size: 24px;
	font-weight: bold;
	letter-spacing: 2px;
	line-height: 1.6;
	margin: 0 0 20px 0;
}

article p {
	margin: 0 0 30px 0;
}

article footer {
	margin: 0 -30px;
}

article footer a {
	display: block;
	color: #ccc;
	font-size: 11px;
	text-align: center;
	letter-spacing: 1px;
	line-height: 40px;
	height: 40px;
	border-top: 1px dotted #ddd;
	transition: .2s;
}

article footer a:hover {
	color: #ccc;
	text-decoration: none;
	background: #f5f5f5;
}

#main .wp-pagenavi {
	font-size: 12px;
	letter-spacing: 1px;
	margin: 30px 0;
}

#main .wp-pagenavi a,
#main .wp-pagenavi span {
	color: #999;
	margin: 0 2px;
	padding: 8px 8px;
	border: 1px solid #eee;
}

#main .wp-pagenavi a:hover {
	color: #db0716;
	background: #fff;
	border: 1px solid #ccc;
}


/* archive */

#archive-header {
	padding: 40px 30px 30px 30px;
	background: #fff;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-top: 2px solid #000;
}

#archive-header h1 {
	font-size: 20px;
	font-weight: bold;
	line-height: 1;
	margin: 0;
}

#archive-header h1 span {
	color: #999;
	font-size: 10px;
	font-weight: normal;
}

.archive article, .category article {
	margin: 0;
	border-bottom: 0;
}

.archive article:last-child, 
.category article:last-child {
	border-bottom: 1px solid #ddd;
}


/* single & page */

.page article h1 {
	padding: 0 0 0 50px;
	background: url(images/icon-title.png) left center no-repeat;
}

.single article,
.page article {
	padding: 40px 30px 60px 30px;
	border-top: 2px solid #000;
}

.single article h2,
.page article h2 {
	color: #999;
	font-size: 20px;
	letter-spacing: 1px;
	margin: 0 0 15px 0;
}

.single article h3,
.page article h3 {
	color: #999;
	font-size: 18px;
	letter-spacing: 1px;
	margin: 0 0 15px 0;
}

.single article h4,
.page article h4 {
	color: #999;
	font-size: 16px;
	letter-spacing: 1px;
	margin: 0 0 15px 0;
}

.single article ul,
.page article ul {
	list-style: none;
	margin: 0 0 30px 15px;
	padding: 0;
}

.single article ul li,
.page article ul li {
	font-size: 14px;
	margin: 0 0 5px 0;
	padding: 0 0 0 15px;
	background: url(images/marker.png) left center no-repeat;
}

.text-center {
	text-align: center;
}


/* side */

#side .side-button a {
	display: block;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	line-height: 1;
	margin: 0 0 45px 0;
	padding: 15px;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
}

#side .side-button a:hover {
	text-decoration: none;
	background: #f5f5f5;
}

#side .side-button a img {
	width: 80px;
	margin: 0 0 5px 0;
}

#side nav h1 {
	color: #666;
	font-size: 14px;
	line-height: 1;
	margin: 0 0 15px 0;
	padding: 0 0 15px 0;
	border-bottom: 1px solid #ccc;
}

#side nav {
	margin: 0 0 45px 0;
}

#side nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#side nav ul li {
	font-size: 12px;
	line-height: 1.4;
	margin: 0 0 10px 0;
	padding: 0 0 0 15px;
	background: url(images/marker.png) left 5px no-repeat;
}

#side nav ul li .date {
	color: #666;
	font-size: 10px;
}

#side nav ul li ul {
	margin: 15px 0;
}

#side nav ul li ul li {
	margin: 0 0 5px 0;
}

#side .side-archives ul li:nth-child(n + 2) ul {
	display: none;
}


/* footer */

#footer {
	min-width: 61.875rem;
	height: 120px;
}

#footer #copyright {
	padding: 15px 0 0 0;
	border-top: 1px solid #ccc;
}

#footer #copyright small {
	color: #999;
	font-size: 10px;
	letter-spacing: 1px;
}


@media only screen and (max-width: 640px) {

	body {
		font-size: 14px;
	}

	ody, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, th, td {
		font-size: 14px;
	}
	
	.row {
		min-width: 320px;
	}

	.row .row {
		margin: 0 -15px;
	}

	.columns {
		padding: 0 15px;
	}
	
	p {
		margin: 0 0 15px 0;
	}
	
	section {
		margin: 0 0 30px 0;
	}
	
	
	/* Off Canvas */
	
	.off-canvas {
		padding: 40px 0 0 0;
		background: #222;
	}
	
	.off-canvas-wrapper {
		background: #222;
	}

	.off-canvas-content {
		background: #eee;
	}
	
	.off-canvas ul {
		margin: 0;
	}

	.off-canvas ul a {
		display: block;
		color: #fff;
		font-size: 12px;
		padding: 15px 15px;
		background: #222;
	}
	
	.off-canvas ul a:hover {
		text-decoration: none;
		background: #111;
	}
	
	.off-canvas ul .title {
		color: #fff;
		font-size: 10px;
		padding: 5px 15px;
		background: #333;
	}
	
	
	/* header */
	
	#header {
		height: 52px;
		width: 100%;
		min-width: 20rem;
		padding: 15px 0;
	}
	
	#header #logo a {
		width: 220px;
		height: auto;
		margin: 0;
	}
	
	#header #header-content {
		height: auto;
		margin: 0;
		padding: 0;
		background: transparent;
	}
	
	#header #header-nav {
		padding: 0;
	}
	
	#header #toggle-button {
        position: absolute;
        width: 48px;
        top: 8px;
        right: 15px;
        margin: 0;
        display: block;
        overflow: hidden;
		padding: 0;
        width: 48px;
        height: 34px;
        border: 1px solid #ddd;
		background-image: url(images/menu-button.png);
		background-position: center top;
		background-repeat: no-repeat;
		background-size: cover;
        border-radius: 5px;
    }
	
	
	/* container */
	
	#container {
		width: 100%;
		min-width: 20rem;
		padding: 15px 0 0 0;
	}
	
	#main {
		width: 100%;
		float: none;
		margin: 0 0 15px 0;
	}

	#side {
		width: 100%;
		float: none;
	}
	
	
	/* article */
	
	article {
		padding: 20px 20px 0 20px;
	}
	
	article header {
		margin: 0 0 15px 0;
	}
	
	article h1 {
		font-size: 20px;
		margin: 0 0 15px 0;
	}
	
	article footer {
		margin: 0 -20px;
	}
	
	
	#main .wp-pagenavi {
		text-align: center;
		letter-spacing: 0;
	}
	
	
	/* archive */
	
	#archive-header {
		padding: 20px;
	}
	
	
	/* single & page */
	
	.single article,
	.page article {
		padding: 20px;
	}
	
	
	/* side */
	
	#side .side-button a {
		margin: 0 0 15px 0;
	}
	
	#side nav {
		margin: 0 -15px;
	}
	
	#side nav h1 {
		border-top: 1px solid #ddd;
		border-bottom: 1px solid #ddd;
		margin: 0;
		padding: 10px 15px;
		background: #e8e8e8;
	}
	
	#side nav ul {
		margin: 0;
		background: #fff;
	}
	
	#side nav ul li {
		margin: 0;
		border-bottom: 1px solid #ddd;
		background-position: 15px 15px;
	}
	
	#side nav ul li:last-child {
		border: 0;
	}
	
	#side nav ul li .year,
	#side nav ul li a {
		display: block;
		padding: 10px 15px;
	}
	
	#side nav ul li ul {
		margin: -10px 0 0 0;
	}
	
	#side nav ul li ul li {
		margin: 0;
	}
	
	
	/* footer */
	
	#footer {
		width: 100%;
		min-width: 20rem;
		text-align: center;
		padding: 15px 0;
		height: auto;
		border-top: 1px solid #ccc;
	}
	
	#footer #copyright {
		padding: 0;
		border: 0;
	}
	
	#footer #copyright small {
		font-size: 9px;
		letter-spacing: 0;
	}

}



/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

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

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

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

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}


@media print {
	a[href*="/"]:after, a[href*="/"]:visited:after {content: normal;}
}