/*
Theme Name: タケルとマコトの成長日記
Author: Shigeki
Author URI: http://takeru-makoto.skr.jp
Description: 日記用レイアウト（グリッド+サイドバー）
*/

@charset "utf-8";
html {
	position: relative;
	min-height: 100%;
}
.body {
	width: 100%;
	max-width: 1250px;
	padding-left: 1%;
	padding-right: 1%;
}
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
.clearfix {
    min-height: 1px;
}
/* ページャー */
.pager{
	line-height: 2em;
	margin-bottom: 10px;
	text-align: center;
	clear: both;
}
a.page-numbers,
.pager .current{
	color: #999;
	text-decoration: none;
	background-color: #fff;
	border-radius:2px;
	padding:5px 8px;
	margin:0 2px;
}
.pager .current{
	background-color: #ffa07a;
	color: #fff;
}
.pager a:hover{
	color: #ffffff;
	background-color: #ffa07a;
}
#footer{
	position: absolute;
	bottom: 0;
	width: 100%;
	min-height: 40px;
	background-color: #ffa07a;
	text-align: center;
}
.content p{
	padding: 1%;
}
.content-header p{
	font-size: 0.8em;
	color: #999;
	padding: 0em 0.5em 0em 0.5em;
}
.content-header a{
	text-decoration: none;
	color: #87CEEB;
}
.content-header a:hover{
	text-decoration: none;
	color: #6ca4bc;
}
.content h2 a,.content h2 a:hover{
	text-decoration: none;
	color: #666;
	padding: 0.5em 0.1em 0.5em 0.1em;
}
p{
	line-height: 1.3em;
}
.content{
	font-size: 0.9em;
	background-color: #FFF;
	float: left;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	padding: 0;
	width: 100%;
	display: block;
	color: #666;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}
.post-content,.post-pgnav{
	background-color: #FFF;
	float: left;
	margin: 0.5em auto;
	padding: 0.5em 0.2em;
	width: 98.5%;
	display: block;
	color: #666;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}
.content p{
	padding: 2%;
}
.postimage{
	width: 98.5%;
	text-align:center;
	margin: 1em auto;
	max-height: 800px;
	display: flex;
	justify-content: center;
}
.post-content img{
	text-align: center;
	width: auto;
	max-width: 100%;
	height: auto;
	object-fit: scale-down;
	padding: 0px;
/*	-webkit-filter: saturate(110%) brightness(120%);
	filter: saturate(110%) brightness(120%);*/
}
.content a,.post-content a{
	text-decoration: none;
	color: #87CEEB;
}
.content a,.post-content a:hover{
	text-decoration: none;
	color: #6ca4bc;
}
.post-content h2 a,a:hover{
	text-decoration: none;
	color: #666;
}
.content img{
	padding: 0;
	width: 100%;
	height: auto;
	border-radius: 10px 10px 0 0;
	-webkit-border-radius: 10px 10px 0 0;
	-moz-border-radius: 10px 10px 0 0;
	-webkit-filter: saturate(110%) brightness(110%);
	filter: saturate(110%) brightness(110%);
}
.post-pgnav a{
	text-decoration: none;
	color: #87CEEB;
}
.post-pgnav a:hover{
	text-decoration: none;
	color: #6ca4bc;
}
.allft{
	float: left;
	color: #87CEEB;
}
.alrgt{
	float: right;
	color: #87CEEB;
}
#header {
	margin-left: 0;
	width: 100%;
	background-color: rgba(255,255,255,0.8);/*#FFF;*/
}
#ftrwgt {
	background-color: rgba(255,255,255,0.8);/*#FFF;*/
	display: flex;
	justify-content: space-around;
	flex-wrap:wrap;
	align-items: center;
}
.ftrwgt{
	text-align: center;
	font-size: 0.9em;
/*	background-color: #FFF;*/
	float: left;
	padding: 10px;
	min-height: 160px; 
	width: 23%;
	display: block;
	color: #666;
/*	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	box-shadow: 5px 5px 5px rgba(0,0,0,0.4);
	-moz-box-shadow: 5px 5px 5px rgba(0,0,0,0.4);
	-webkit-box-shadow: 5px 5px 5px rgba(0,0,0,0.4);
	-o-box-shadow: 5px 5px 5px rgba(0,0,0,0.4);
	-ms-box-shadow: 5px 5px 5px rgba(0,0,0,0.4);*/
}
.ftrwgt a{
	text-decoration: none;
	color: #ffa07a;
}
.ftrwgt a:hover{
	text-decoration: none;
	color: #ff3d00;
}
#wp-calendar{
	margin: auto;
}
#searchform{
	float: left;
	padding: 2%;
}
/* デスクトップレイアウト : 801 px ～最大 1250 px。モバイルレイアウトとタブレットレイアウトからスタイルを継承。 */
@media only screen and (min-width: 801px) {
.body {
	width: 90%;
	max-width: 1680px;
	padding-left: 1%;
	padding-right: 1%;
	margin: auto;
}
#post-container {
	max-width: 1440px;
	margin: 0 auto;
}
#header_menu{
	clear: both;
	float: left;
	width: 100%;
	display: block;
	background-color: #eee;
	margin-bottom: 1.5em;
}
#header_menu ul{
	list-style-type: none;
	font-size: 0.9em;
	margin: auto;
	padding: 0;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: stretch;
	align-items: stretch;
}
#header_menu li{
	float: left;
}
#header_menu a{
	color: #999;
	font-weight: bold;
	text-decoration: none;
	padding: 3px 0.7em;
	display: block;
}
#header_menu a:hover{
	color: #fff;
	background-color: #87CEEB;
	text-decoration: none;
	padding: 3px 0.7em;
	display: block;
}
#header_menu .current-menu-item a{
	color: #fff;
	background-color: #ffa07a;
	text-decoration: none;
	padding: 3px 0.7em;
	display: block;
}
#container {
	display: flex;
	justify-content: space-around;
	flex-wrap:wrap;
	align-items: center;
}
.post-content,.post-pgnav{
	margin: 0.5em 0 0.5em 2.5%;
	padding: 0.5em 2em;
	width: 65%;
}
.content {
	margin: 10px;
	width: 280px;
	min-height: 400px;
	box-shadow: 5px 5px 5px rgba(0,0,0,0.4);
	-moz-box-shadow: 5px 5px 5px rgba(0,0,0,0.4);
	-webkit-box-shadow: 5px 5px 5px rgba(0,0,0,0.4);
	-o-box-shadow: 5px 5px 5px rgba(0,0,0,0.4);
	-ms-box-shadow: 5px 5px 5px rgba(0,0,0,0.4);
}
#sidebar ul{
	list-style-type: none;
}
#sidebar a{
	text-decoration: none;
	color: #87CEEB;
}
#sidebar a:hover{
	text-decoration: none;
	color: #6ca4bc;
}
#sidebar{
	text-align: center;
	float: right;
	width: 19.5%;
	display: block;
	align-items: center;
	color: #666;
	background-color: #FFF;
	padding: 1%;
	margin: 0.5em 2.5% 0.5em 0;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}
form {
	max-width: 300px;
}
}