/*
Theme Name: しゅみのもり topics
*/

/* wp共通 */
body{
  margin: 0;
  padding:0;
}
p{
  margin: 0;
}
main{
  color: #62410B;
    background: #F8F2E3;
      padding-top:80px;
}
section[class^="sec_"] {
    padding-bottom: 0px;
}

#mv{

  height: 360px;
  position: relative;
  background: url(/topics/wp-content/themes/shumimori_topics/images/img_mv.webp);
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main_h_01{
  display: block;
  width: fit-content;
  margin: auto;
  color: #fff;
  font-size: 30px;
  text-shadow: 1px 2px 16px #000000ee;
}
.cont_sec{
  max-width: 960px;
  margin: auto;
  padding:40px 0;
}
.bottom_sec{
  max-width: 960px;
  margin: auto;
  padding:40px 0 10px;
  background: #fff;
}
.btn_home{
  background: #8FC31F;
  color: #fff;
  text-align: center;
  display: block;
  margin: auto;
  margin-bottom:30px;
  padding:10px 20px;
  border-radius: 50px;
  max-width: 300px;
  text-decoration: none;
  font-size: 20px;
  height: auto;
}
#breadcrumbs{
  width: 95%;
  margin: auto;
}
#breadcrumbs ul{
  /* overflow-x: scroll; */
  display:flex;
  align-items: center;
  justify-content: flex-start;
      padding-inline-start: 0px;
}
#breadcrumbs li{
  list-style: none;
  font-size:10px;
  white-space: nowrap;
  padding-right:20px;
}
#breadcrumbs a{
  position: relative;
  text-decoration: none;
  color: #62410B;
}
#breadcrumbs a::after{
  vertical-align: middle;
  width: 5px;
  height: 5px;
  border: 1px solid;
  border-color: #62410B #62410B transparent transparent;
  transform: rotate(45deg);
  position: absolute;
  content:"";
  top:2px;
  bottom:0;
  right:-10px;
  margin: auto;
}
#breadcrumbs li:last-child a{
  pointer-events:none;
}
#breadcrumbs li:last-child a::after{
  display:none;
}

@media screen and (max-width: 768px){
  main{
  }
  .sec_inner{
    padding:0 20px;
  }
  #mv{
    height: 200px;
    position: relative;
    background: url(/topics/wp-content/themes/shumimori_topics/images/img_mv_sp.webp);
    background-size: cover;
  }
  #breadcrumbs{
    overflow: scroll;
     -ms-overflow-style: none;
      scrollbar-width: none;
  }
  #breadcrumbs::-webkit-scrollbar{
    display: none;
    height: 0;
  }
}
/* wp共通 end*/

/*記事一覧 */
.arc_inner{
  max-width: 600px;
  margin: auto;

}
.arc_info_list{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap:10px;
  margin-bottom:20px;
  text-decoration: none;
  color:#62410B;
  & h2{
    font-size: 16px;
    color:#62410B;;
  }
  & img{
    max-width: 100%;
  }
}
.arc_info_date{
  font-size: 24px;
  margin-bottom:10px;
}
.pagenate{
  margin:25px 10px;
  font-size: 16px;
  color:#000;

}
.pagenate .page-numbers{
  display: flex;
  align-items: center;
  list-style: none;
  justify-content: center;
}
.pagenate a{
  padding: 10px;
  text-decoration: none;
  color:#000;
}
.page-numbers li{
  margin:0 3px;
}
.page-numbers.current{
  padding: 5px 12px;
  border-radius: 30px;
  border: solid 1px;
}
@media screen and (max-width: 768px){
  .arc_info_list{
    grid-template-columns: 100px 1fr;
  }
}
/*記事一覧end */


/*記事ページ*/
.post_inner{
  word-break: break-all;
}
.post_date{
  margin-bottom:40px;
  font-size: 24px;
}
.post_ba{
  display: flex;
  justify-content: space-between;
  margin-top:40px;
  margin-bottom:40px;
}
.post_ba a span{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  border-radius: 75px;
  width: fit-content;
  height: auto;
  padding:5px 25px;
  text-align: center;
  border:solid 1px #62410B;
  font-size: 16px;
  font-weight: 700;
  color: #62410B;
  position: relative;
}
.post_ba a span::before{
  position: absolute;
  content:"";
  top:2px;
  bottom:0;
  margin: auto;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.post_ba a .prev{
  padding-left:30px;
}
.post_ba a .prev:before{
  left:10px;
  border-right: 8px solid #62410B;
}
.post_ba a:has(.next){
  margin-right: 0;
  margin-left: auto;
  display: block;
}
.post_ba a .next{
  padding-right:30px;
}
.post_ba a .next:before{
  right:10px;
  border-left: 8px solid #62410B;
}
@media screen and (max-width: 768px){
  .btn_back_arc {
      width:80%;
  }
}
/*記事ページ　end*/
