/*
Theme Name: twentynineteen child
Template: twentynineteen
Version: 1.1.0
*/
.l-f-page {
    margin: -5px auto !important;
}
.entry .entry-header h2{
    font-size: 16px;
    line-height: 1.3;
}
.entry .entry-content  h2{
	font-size: 2em;
	border-bottom: 1px solid;
    line-height: 1.2;
}
.entry .entry-content p {
    line-height: 1.9;
}
.entry img{
	margin: 1em;
}
@media only screen and (min-width: 768px){
.post-navigation .nav-links {
    margin: auto;
    justify-content: flex-end;
}
}
@media screen and (max-width: 1499px){
.l-f-page a {
    padding: 30px 40px 12px 40px !important;
}
}
@media only screen and (max-width: 768px){
main#main {
    margin: auto;	
    margin-bottom: 30px;
}
}
/******アイキャッチ******/
.entry .itiran img {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
    margin: auto;
}
.entry .entry-header {
    margin: 0;
    height: 45px !important;
}
.entry .entry-title:before{
	display:none;
}
/******アイキャッチここまで******/
@media only screen and (min-width: 768px){
.entry .entry-content, .entry .entry-summary {
    padding: 0 ;
}
}

@media only screen and (max-width: 768px){
main#main {
    max-width: 96% !important;
    grid-template-columns: auto !important;
}
.entry{
	padding: 9px !important;
}
.entry .post-thumbnail {
    margin: 0 !important;
}
.entry .entry-header {
    margin: 0;
    height: auto !important;
    padding: 10px;
}
.entry .entry-header h2 {
    font-size: 14px;
}
.entry .entry-content h2 {
    font-size: 1.3em;
	font-weight: 500;
}
.entry .entry-content p {
    line-height: 1.9;
    font-size: 0.9em;
}
.entry img {
    margin: 1em auto;
    width: 90%;
	display: block;
  }	
}
.pagination{
    width:100%;
    text-align:center;
    margin-top:30px;
}
.pagination .nav-links{
    margin:0 auto;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}
@media screen and (min-width: 481px){
.hfeed .site-main{
    display: -webkit-flex;
    display:flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    width:80%;
    margin:auto;
    padding:20px 0;
    }
.hfeed article{
    width:42%;/*１つあたりのブロック横幅*/
    padding:20px 10px;
    border:1px solid #ababab;
    border-radius:5px;
    transition-duration:.4s;
    margin-top:20px;
    }
.hfeed article:hover{
    transform:translateY(-2px);
    box-shadow:1px 0px 2px 1px rgba(0,0,0,0.2);
    }
    .hfeed article .entry-title{
    margin-bottom:10px;
    }
.hfeed .entry:first-of-type{
    margin-top:20px;
    }
.hfeed article h2{
    font-size:18px;
    }
.hfeed article h2::before{
    content:none !important;
    }
.hfeed .page-header{
    width:80%;
    margin:auto;
    text-align:center;
    }
.hfeed .entry .entry-header,
.hfeed .entry .post-thumbnail,
.hfeed .entry .entry-footer,
.archive .page-header,
.search .page-header{
    margin:auto;
}
.hfeed .entry .post-thumbnail{
    position: relative;
    display:block;
    overflow:hidden;
    height:170px;
    margin-bottom:10px;
}       
.hfeed .entry .post-thumbnail a img{
 position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  height: 100%;
}
.hfeed .entry{
    padding:10px 10px;
}
}
@media screen and (min-width:768px){
.hfeed article{/*１つあたりのブロック横幅*/
    width:32%;
}
}
@media screen and (min-width:1168px){
.hfeed article{/*１つあたりのブロック横幅*/
    width:24%;
}
}
h1:not(.site-title):before, h2:before{
	display:none;
}
@media only screen and (min-width: 768px){
.entry .entry-content, .entry .entry-summary {
    max-width: 760px;
    margin: auto;
    padding: 10px;
}
.entry .entry-footer {
    max-width: 760px;
	margin: 1rem auto;
}
}
