

/*
Theme Name: afp
Template: twentyseventeen
Theme URI: https://wordpress.org/themes/twentyseventeen/
*/

/* override */
img, video {
    height: auto;
    max-width:inherit;
  }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3, html[lang="ja"] h4, html[lang="ja"] h5, html[lang="ja"] h6 {
   font-weight:bold;
}

/*
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
    padding-top:inherit;
}
*/



.has-sidebar #secondary {
    float: none;
    padding-top: 0;
    width: 100%;
}
.has-sidebar:not(.error404) #primary {
    float: none;
    width: 100%;
}

.wrap {
    max-width: auto;
    padding-left: 0em;
    padding-right: 0em;
}

h2.widget-title{
	background-color:#efefef;
	font-size:1rem;
	padding:.5rem;
	}

.entry-content a,
.entry-summary a,
.comment-content a,
.widget a,
.site-footer .widget-area a,
.posts-navigation a,
.widget_authors a strong {
	-webkit-box-shadow:none;
	box-shadow:none;
	-webkit-transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out, -webkit-box-shadow 130ms ease-in-out;
}

.entry-title a,
.entry-meta a,
.page-links a,
.page-links a .page-number,
.entry-footer a,
.entry-footer .cat-links a,
.entry-footer .tags-links a,
.edit-link a,
.post-navigation a,
.logged-in-as a,
.comment-navigation a,
.comment-metadata a,
.comment-metadata a.comment-edit-link,
.comment-reply-link,
a .nav-title,
.pagination a,
.comments-pagination a,
.site-info a,
.widget .widget-title a,
.widget ul li a,
.site-footer .widget-area ul li a,
.site-footer .widget-area ul li a {
	-webkit-box-shadow:none;
	box-shadow:none;

	text-decoration: none;
	-webkit-transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out, -webkit-box-shadow 130ms ease-in-out;
}

.entry-content a:focus,
.entry-content a:hover,
.entry-summary a:focus,
.entry-summary a:hover,
.comment-content a:focus,
.comment-content a:hover,
.widget a:focus,
.widget a:hover,
.site-footer .widget-area a:focus,
.site-footer .widget-area a:hover,
.posts-navigation a:focus,
.posts-navigation a:hover,
.comment-metadata a:focus,
.comment-metadata a:hover,
.comment-metadata a.comment-edit-link:focus,
.comment-metadata a.comment-edit-link:hover,
.comment-reply-link:focus,
.comment-reply-link:hover,
.widget_authors a:focus strong,
.widget_authors a:hover strong,
.entry-title a:focus,
.entry-title a:hover,
.entry-meta a:focus,
.entry-meta a:hover,
.page-links a:focus .page-number,
.page-links a:hover .page-number,
.entry-footer a:focus,
.entry-footer a:hover,
.entry-footer .cat-links a:focus,
.entry-footer .cat-links a:hover,
.entry-footer .tags-links a:focus,
.entry-footer .tags-links a:hover,
.post-navigation a:focus,
.post-navigation a:hover,
.pagination a:not(.prev):not(.next):focus,
.pagination a:not(.prev):not(.next):hover,
.comments-pagination a:not(.prev):not(.next):focus,
.comments-pagination a:not(.prev):not(.next):hover,
.logged-in-as a:focus,
.logged-in-as a:hover,
a:focus .nav-title,
a:hover .nav-title,
.edit-link a:focus,
.edit-link a:hover,
.site-info a:focus,
.site-info a:hover,
.widget .widget-title a:focus,
.widget .widget-title a:hover,
.widget ul li a:focus,
.widget ul li a:hover {
	color: #000;
	-webkit-box-shadow:none;
	box-shadow:none;

}



.pagination,
.comments-pagination {
	border-top: none;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 800;
	padding:inherit;
	text-align: center;
}

.pagination:after,.pagination:before{
	content:unset;
}

.pagination .icon,
.comments-pagination .icon {
	/*width: auto;
	height:  auto;*/
}

/* Fixes linked images */
.entry-content a img,
.comment-content a img,
.widget a img {
	-webkit-box-shadow:none;
	box-shadow:none;

}

/* 最近の投稿 */
.post-list{}
.post-list .item:first-child{
	margin-top:0 !important;

	}
.post-list .item a{
	display:flex;
    border-bottom:1px solid #ccc;
    padding-bottom:1rem;
	}
.post-list .item .img{
	max-width:200px;
	width:30%;
	}
.post-list .item .info{
	flex:1;
	padding-left: 16px;

	}
.post-list .item .info .ttl{
	font-size: 1.2rem;
	font-weight:700;
	}
.post-list .item .info .txt{}

.post-list .item .info .ttl{
	font-size: 1rem;
	}
  .post-list .item .info .txt{
    margin-bottom:.5rem;
  	}
  .post-list .item .info .date{
  	font-size: .7rem;
    font-style:italic;
    color:#999;
    text-align:right;
  	}
  .post-thumbnail img{
    width:100%;
  }

  h1, h2, h3, h4, h5, h6 {
    padding: .5em 0 0;
}

h2.widget-title {
    background-color: #104079;
    color:#fff;

}

.entry-meta {
    background-color:#efefef;
    padding:.5rem;
    border-radius:10px;
}

.search-form .search-submit {
    bottom: 3px;
    padding: 0.5em 1em;
    position: absolute;
    right: 3px;
    top: inherit;
}


/*  */
