/*
Theme Name: ao
Author: ao/ishii
Author URI: http://www.ao-aoao.com/
Description: WP template for "ao". 2014.sep.
Version: 2.0
*/

@charset "utf-8";
@import "css/common.css";
@import url(https://fonts.googleapis.com/css?family=Economica);

/* =======================================

	PC
	
 ======================================= */

/****************************************
	テンプレートモジュール
****************************************/
/* pc or device
--------------------------- */
.pc { display: block; }
.sp { display: none; }

/****************************************
	HTMLタグ
****************************************/
body {
	opacity: 0;
	position: relative;
	font-family: Times New Roman, '游ゴシック体', YuGothic, '游ゴシック', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
	font-size: 16px;
	line-height: 2.0;
	color: #666;
}
hr {
	margin: 0 0 20px 0;
	border: solid 1px #fff;
	border-top-color: #ccc;
	color: #fff;
}
hr.dotted {
	margin: 0 0 20px 0;
	border: dotted 1px #fff;
	border-top-color: #ccc;
	color: #fff;
}
ul.ul_list_disc {
	list-style-type: disc;
	margin: 0 0 30px 30px;
}
ul.ul_list_disc li {
	margin: 0 0 10px 0;
}
a:focus {
	overflow: hidden;
}
a:link,a:visited {
	color: #007bbb;
}
a:hover,a:active {
	color: #666;
}
h1 {
	margin: 0 0 10px 0;
	font-size: 24px;
	font-weight: normal;
}
h2 {
	font-size: 1.4dvmin;
	font-weight: normal;
	line-height: 1.4;
}


/****************************************
	全ページ共通レイアウト
****************************************/
/* #header
--------------------------- */
#header {
	padding: 50px 0;
	font-family: 'Economica';
	text-align: center;
}
#header h1 {
	line-height: 1;
}
#header h1 span:hover {
	cursor: pointer;
	color: #000;
}
#header h1 a {
	display: block;
	color: #666;
	text-decoration: none;
}
#header #site-discription {
}

/* #footer
--------------------------- */
#footer {
	width: 800px;
	margin: 0 auto;
	padding: 50px 0;
	font-size: 1.2dvmin;
	text-align: center;
}

/* #container
--------------------------- */
#container {
	margin: 0 auto;
	width: 100%;
}
#main {
	position: relative;
	width: 960px;
	min-height: 100%;
	margin: 0 auto;
}
#article {
	width: 800px;
	margin: 0 auto;
	letter-spacing: 0.1rem;
}

/* #page-title
--------------------------- */
#page_title {
	margin: 0 0 40px 0;
	padding: 0 0 40px 0;
	border-bottom: solid 1px #ccc;
}

/****************************************
	block-module
****************************************/
/* #page_navi
--------------------------- */
#page_navi {
	padding: 20px 0 0 0;
	border-top: dotted 1px #ccc;
	font-size: 0.8em;
	letter-spacing: 0em;
}

/* .pagetop
--------------------------- */
.pagetop {
	z-index: 9999;
	position: fixed;
	right: 15px;
	bottom: 15px;
	padding: 5px;
	background-color:rgba(255,255,255,0.50);
	text-align: right;
}
.pagetop a {
	display: block;
}
.pagetop a img {
	width: 60px;
	height: 60px;
}

/* #pager
--------------------------- */
#main_list + #pager {
	margin-top: 50px;
}
#pager {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	text-align: center;
}
#pager .page-numbers {
	padding: 5px;
	color: #666;
	text-decoration: none;
}
#pager .page-numbers.current {
	color: #999;
}

/* .btn-back
--------------------------- */
.btn-back {
	margin-top: 40px;
	text-align: center !important;
}
.btn-back a {
	display: inline-block;
	padding: 0.5rem;
	border: solid 1px #666;
	color: #666;
	font-size: 16px;
	text-decoration: none;
}

/****************************************
	各ページ：diary
****************************************/
/* customize
--------------------------- */
.diary-inner + .diary-inner {
	margin-top: 50px;
}
.diary_date {
	margin-bottom: 10px;
	font-size: 1.4dvmin;
}
.diary_body {
	margin-bottom: 10px;
	line-height: 1.6;
}
.diary_body_single {
	padding-bottom: 30px;
}
.diary_body p, .diary_body_single p {
	margin-bottom: 20px;
}
.diary_body figure {
	margin: 0 !important;
}
.diary_body img, .diary_body_single img {
	width: 100%;
	height: auto;
}

/****************************************
	各ページ：404
****************************************/
.err-404 h2 {
	margin-bottom: 40px;
	font-size: 40px;
	text-align: center;
}
.err-404#read {
	text-align: center;
}

/* =======================================

	device
	
 ======================================= */
@media screen and (max-width: 1023px) {
	/****************************************
		common
	****************************************/
	/* pc or device
	--------------------------- */
	.pc { display: none; }
	.sp { display: block; }
	
	/* reset
	--------------------------- */
	div,p,article,section,a,dl,dt,dd,ul,ol,li {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
	}
	body {
		line-height: 1.6;
	}
	
	/* #header
	--------------------------- */
	#header {
		padding: 40px 0 20px;
	}
	
	/* #footer
	--------------------------- */
	#footer {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		padding: 0 0 20px;
	}
	
	/* general
	--------------------------- */
	#main {
		width: 100%;
		padding-bottom: 80px;
		text-align: center;
	}
	#article {
		width: 100%;
		padding: 20px;
	}
	#read h3, #read div, #read p, #read ul, #read ol {
		text-align: left;
	}
	.err-404#read p {
		text-align: center;
	}
	
	/* .pagetop
	--------------------------- */
	.pagetop a img {
		width: 30px;
		height: 30px;
	}
	
	/****************************************
		各ページ：diary
	****************************************/
	.diary_inner + .diary_inner {
		margin-top: 40px;
	}
	.diary-inner h2 {
		margin-bottom: 20px;
	}
	.diary_date {
		margin-bottom: 0.5rem;
	}
}
