@charset "utf-8";

/*
Theme Name:Dan child
Theme URI:
Description:Dan Theme
Template:dan
Author:
Author URI:
*/

@import url('/css/animate.css');
@import url('/css/reset.css');
@import url('/css/common.css');


/* clear */
.clear::after,
.entry-content::after,
.entry-footer::after,
.entry-summary::after,
.comment-content::after,
.site-content::after,
.nav-links::after,
.pagination::after,
.comment-author::after,
.footer-widget::after,
.widget::after,
.comment-meta::after,
.wrap::after {
	content: "";
	clear: both;
	display: block;
}

/* shared */
.ttl_blog{
	background-image:url(/img/img_blog.jpg);
}
	.ttl_blog a{
		display:block;
		width:100%;
		height:100%;
	}
	.ttl_blog a span{
		text-shadow: 0 0 10px rgba(11,83,23,0.5);
	}
	
.ttl_kpbs{
	height:40vh;
	background-image:url(/img/img_kpbs.gif);
}
	.ttl_kpbs span{
		color:#000;
		text-shadow:none;
	}

.page-title{
	font-size: 1.2rem;
	color: #699a1d;
	text-align: center;
	padding: .5rem;
	background: #fff;
	border-radius: 8px;
	margin: 0 0 3rem;
	box-shadow: 0 0 15px rgba(0,0,0,.1);
}


.screen-reader-text{
	display:none;
}

#blog,
#kpbs{
	margin-bottom:8rem;
}

#blog a:link,
#blog a:visited,
#kpbs a:link,
#kpbs a:visited{
	color:#699a1d;
}
#blog a:hover,
#blog a:active,
#kpbs a:hover,
#kpbs a:active{
	color:rgb(255,130,133);
}


/* main structure */
.content-area{
	float:left;
	width:70%;
	margin:0 5% 0 0;
}
.widget-area{
	float:left;
	width:25%;
	padding:1rem;
	line-height:1.4;
	background:rgba(105,154,29,.07);
	border-radius:.5rem;
	margin:0 0 0 0;
}

@media screen and (max-width: 600px) {
	.content-area{
		float:none;
		width:100%;
		margin:0 auto 4rem;
	}
	.widget-area{
		float:none;
		width:100%;
	}
}



/* post */
.post{
	margin:0 0 4rem;
}

.posted-on time + time{
	display:none;
}

.entry a,
.entry a *{
	text-decoration:none !important;
}
.entry img{
	max-width:100%;
	height:auto;
}
.entry p{
	margin:0 0 1rem;
}

.entry-title{
	color:#699a1d;
	font-size:1.5rem;
	line-height:1.5;
	padding:0 0 2rem;
	margin:0 0 .5rem;
	background:url(/img/bd_tile.gif) repeat-x left bottom;
}
	#blog .entry-title{
		position: relative;
		padding: 45px 0 0 0;
		color: #699a1d;
		font-family: "A1明朝";
		font-weight: normal;
		font-size: 1.8rem;
		line-height: 1.2;
		margin: 0 0 1rem;
		z-index: 1;
	}
	#blog .entry-title:after {
		position: absolute;
		display: block;
		content: '';
		left: 0;
		top: 0;
		width: 119px;
		height: 38px;
		background: url(/img/m_nanohana_ani.gif) no-repeat;
		z-index: -1;
	}
@media screen and (max-width: 500px) {
	#blog .entry-title{
		font-size: 1.5rem;
	}
}

.entry-meta,
.entry-footer{
	font-size:.9rem;
	margin:0 0 2rem;
}
.entry-footer{
	margin:0 0 6rem !important;
}
.entry-meta > span,
.entry-footer > span{
	display:inline-block;
	margin:0 1rem 0 0;
}

.entry-content,
.entry-summary{
	margin:0 0 2rem;
}

.entry-content br + img,
.entry-content br + a,
.entry-content br + video{
	margin-top:1rem;
}
.entry-content img:not(.size-thumbnail),
.entry-summary img:not(.size-thumbnail){
	max-width:100%;
	height:auto;
}
.fas{
	display:inline-block;
	color:#699a1d;
	margin-right:.1rem;
}

.entry-content video,
.entry-summary video{
	width:100% !important;
	max-width:670px !important;
	height:auto;
}

.youtube {
	position: relative;
	max-width: 100%;
	padding-top: 56.25%;
}

.youtube iframe{
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
}

@media screen and (max-width: 910px) {
	.entry-content img:not(.size-thumbnail),
	.entry-summary img:not(.size-thumbnail){
		width:100%;
		height:auto;
	}
}
@media screen and (max-width: 600px) {
	.entry-content img.size-thumbnail{
		display:inline-block;
		width:44%;
		height:auto;
	}
}

#kpbs .entry-title{
	position:relative;
	width:100%;
	max-width:443px;
	margin:0 auto .5rem;
	z-index:1;
}
	#kpbs .entry-title a{
		display:block;
		width:100%;
		height:100%;
	}
	#kpbs .entry-title > span{
		display:block;
		position:absolute;
		left:24%;
		top:46%;
		width:50%;
		height:33%;
	}
	#kpbs .entry-title > span span,
	#kpbs .entry-title > a span span{
		display:block;
		position:relative;
		left:50%;
		top:50%;
		text-align:center;
		font-family: "A1明朝";
		font-size:1.5rem;
		line-height:1.4;
		transform:translate(-50%,-50%);
	}
	#kpbs .entry-title img{
		display:inline-block;
		z-index:-1;
	}
@media screen and (max-width: 500px) {
	#kpbs .entry-title > span{
		top:44%;
	}
	#kpbs .entry-title > span span,
	#kpbs .entry-title > a span span{
		font-size:1.3rem;
	}
}





/* Pagination */

.pagination,
.comments-pagination {
	margin: 0;
	text-align: center;
}

.page-numbers,
.page-numbers.current{
	display:inline-block;
	vertical-align: top;
	padding: 5px 10px;
	border-radius: 3px;
}
.page-numbers.current{
	font-weight:bold;
}
.page-numbers.dots{
	padding:5px 0;
}

a.page-numbers:hover,
a.page-numbers:focus {
	display:inline-block;
	padding: 5px 10px;
	background:mistyrose;
}

.prev.page-numbers {
	float: left;
}
.next.page-numbers {
	float: right;
}



/* navigation */
.nav-previous {
	float: left;
	width: 45%;
}

.nav-links{
	margin-bottom:2rem;
}
.nav-next {
	float: right;
	width: 45%;
	text-align: right;
	line-height:1.3;
}
.nav-previous .fas {
	margin-right: 5px;
}

.nav-next .fas {
	margin-left: 5px;
}

.nav-subtitle {
	display: block;
	margin-bottom: 5px;
	font-size: 12px;
}



/* widget */
.widget{
	margin:0 0 3rem;
}
.widget:last-child{
	margin:0 0 0;
}

.widget-title{
	color:#699a1d;
	padding:0 0 .2rem;
	margin:0 0 .7rem;
	border-bottom:1px solid rgba(105,154,29,.5);
}

.widget_recent_entries ul > li{
	font-size:.9rem;
	margin:0 0 .5rem;
}

.cat-item{
	margin:0 0 .3rem;
}
.children .cat-item{
	padding:0 0 0 1rem;
	margin:0 0 0;
}

span.post-date{
	display:block;
	font-size:.8rem;
}

.search-field{
	width:100%;
	padding:.2rem;
}
.search-submit{
	display:none;
}
