/*
Theme Name: スリーモンキーズカフェ
*/
main section{
  min-height: 70vh;
}
.topics {

}
.topics >div{
  display: flex;
  flex-wrap: wrap;
  gap: 30px 30px;
  justify-content: flex-start;
  max-width: 470px;
  margin: auto;
  padding-bottom: 40px;
  width: 100%;
}
.topics_box{
  max-width: calc(50% - 15px);
  & img{
    aspect-ratio:1/1;
    object-fit: contain;
    display: block;
    margin-bottom:10px;
    background: #fff;
  }
}
.topi_ttl{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.page-numbers{
  margin-top:15px;
  display: flex;
  justify-content: center;
  gap: 10px;
  & a{
    padding:5px;
  }
  & span{
    padding:5px;
  }
}

/*最新情報一覧　end*/


/*記事ページ 共通 */
#post > div{
  padding:0 20px;
}
#post .h2{
  padding-top:80px;
  margin-bottom:80px;
  font-size: 32px;
  text-align: center;
  color:#fff;
  font-weight: bold;
}
.post_thumb img{
  width: 100%;
  max-width: 350px;
  display: block;
  margin: auto;
  margin-bottom:50px;
}
.post_date{
  font-size: 14px;
  margin-bottom:10px;
}
#post .post_ttl{
  font-size:24px;
  margin-bottom:40px;
}
.single_post_content img {
    max-width: 100%;
    height: auto;
}
.single_post_box{
  padding: 15px;
  background: rgb(255,255,255,0.8);
}
.single_post_title{
  color: #3B3B3B;
  font-size: 28px;
  margin-top:15px;
  padding-left:20px;
  padding-top:10px;
  padding-bottom:10px;
  position: relative;
}
.rel_link{
  padding:40px 0 40px;
  display: flex;
  justify-content: space-between;
}
.rel_link a{
  border: solid 1px #fff;
  border-radius: 20px;
  padding:5px 20px;
}

/* 記事ページ 共通　end */

/* 記事ページ  テンプレ*/

.template_sec {
  margin-bottom:50px;
  & h3{
    font-size: 20px;
    font-weight: bold;
    margin-bottom:15px;
    text-align: center;
  }
  & p{
    margin-bottom:0.8rem;
    line-height: 1.6;
  }
  & img{
    display: block;
    margin: auto;
    margin-bottom:15px;
  }
  & a.st1{
    text-align: center;
    display: block;
    margin-top:30px;
    width: 100%;
    max-width: 90%;
    padding: 8px 15px;
    height: auto;
    font-size: 16px;
  }
}
@media screen and (min-width: 1020px) {
   .content {
       /* width: 37vw; */
       min-width: 500px;
       max-width: 800px;
       margin: 0 auto;
   }
   .template_sec a.st1{
       width: 100%;
       max-width: 60%;
    }
}
