/*
Theme Name: zenkokusouzoku
Author: N designing
Author URI: https://n-designing.net/

*/

@charset "utf-8";
/* CSS Document */

/*==============================
共通
==============================*/

.wp-pagenavi .current,
.wp-pagenavi .larger,
.wp-pagenavi .smaller{
	display: inline-block;
  text-align: center;
	font-size: 13px;
	width: 22px;
	height: 22px;
  border-radius: 20px;
  line-height: 23px;
  margin-right: 10px;
  background-color: rgba(20,58,16,.2);
  color: #000;
  font-weight: 600;
}

.wp-pagenavi .current{
	background-color: #e75298;
	color: #fff;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current{
	background-color: #e75298;
	color: #fff;
  opacity: 1;
}

.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink{
  font-size: 13px;
  display: inline-block;
}

.wp-pagenavi a.nextpostslink:hover,
.wp-pagenavi a.previouspostslink:hover{
  opacity: .5;
  color: #000;
  background-color: rgba(0,0,0,0);
}

.wp-pagenavi .previouspostslink{
  margin-right: 15px;
}

header{
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  padding: 0 20px;
  background-image: url("img/pageBack.jpg");
  background-size: cover;
  background-position: center center;
}

.titleBox{
  margin-bottom: 30px;
}

.titleBox h2{
  font-family: 'GFS Didot', serif;
  font-size: 50px;
  line-height: 50px;
  font-weight: bold;
  margin-bottom: 0px;
  color: #fa7f29;
}

.titleBox h3{
  font-size: 18px;
  color: #9c9c9c;
}

.btn{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 15px 30px;
  margin: 0 auto;
  background-color: #fa7f29;
  border-radius: 5px;
}

.btn p{
  color: #fff;
  font-weight: bold;
  margin-right: 10px;
}

@media screen and (max-width: 600px){   
  .titleBox h2{
    font-size: 40px;
    line-height: 40px;
  }
}

header > div{
  width: 100%;
  max-width: 1000px;
  text-align: center;
}

header > div > h1{
  font-weight: bold;
  color: #fff;
  font-size: 30px;
  line-height: 40px;
  letter-spacing: 8px;
  margin-bottom: 15px;
}

header > div > p{
  text-align: center;
  color: #fff;
  font-weight: bold;
    margin-bottom: 10px;
}

@media screen and (max-width: 800px) {
  header{
    height: 300px;
  }
}

@media screen and (max-width: 600px){  
  header{
    height: 300px;
  }

  header > div > h1{
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 4px;
    margin-bottom: 15px;
  }
  
  header > div > p{
    margin-bottom: 10px;
  }
}

/*==============================
メイン
==============================*/


#blogWrap{
  padding: 100px 15px;
  text-align: center;
}

#blogWrap h2{
  display: inline-block;
  font-size: 40px;
  padding: 10px 20px;
  border-bottom: 4px solid rgba(20,58,16,.5);
  color: #143a10;
  margin-bottom: 100px;
}

#blogWrap ul{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

#blogWrap ul li{
  width: 30%;
  margin-right: 5%;
  margin-bottom: 50px;
}

#blogWrap ul li:nth-of-type(3n){
  margin-right: 0;
}

#blogWrap ul li a{
  display: block;
  width: 100%;
  text-align: left;
}

#blogWrap ul li a > img{
  display: block;
  width: 100%;
  margin-bottom: 20px;
  align-self: flex-start;
}

#blogWrap ul li a > h3{
  font-size: 23px;
  line-height: 23px;
  margin-bottom: 0px;
}

#blogWrap ul li a > p{
  font-size: 15px;
  line-height: 22px;
  margin-bottom: 10px;
}

#blogWrap ul li a > div{
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#blogWrap ul li a > div h4{
  font-size: 15px;
  margin-right: 5px;
  padding-right: 7px;
  border-right: 1px solid #000;
}

#blogWrap ul li a > div h5{
  font-size: 15px;
}

#contents{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 30px;
  background-color: #f5f5f5;
  padding: 50px;
}

#main{
  text-align: left;
}
  
#main p{
  font-size: 17px;
  line-height: 30px;
}

#main img{
  max-width: 100%;
}

#main > div{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

#main > div h4{
  font-size: 15px;
  margin-right: 5px;
  padding-right: 7px;
  border-right: 1px solid #143a10;
  color: #143a10;
}

#main > div h5{
  font-size: 15px;
  color: #143a10;
}

#main > h3{
  width: 100%;
  text-align: center;
  font-size: 35px;
  line-height: 40px;
  border-bottom: 2px solid #000;
  margin-bottom: 30px;
  padding-bottom: 10px;
  color: #143a10;
}

.blogsingleNavigation{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.blogsingleNavigation a{
  display: block;
  position: relative;
  color: #143a10;
  font-weight: 600;
}

.blogsingleNavigation a::before{
  content: "";
  display: block;
  position: absolute;
  right: 0px;
  bottom: 10px;
  width: 25px;
  height: 2px;
  background-color: #143a10;
}

.blogsingleNavigation a::after{
  content: "";
  display: block;
  position: absolute;
  right: -3px;
  bottom: 14px;
  width: 12px;
  height: 2px;
  transform: rotate(45deg);
  background-color: #143a10;
}

.blogsingleNavigation div:first-of-type a{
  padding-left: 50px;
}

.blogsingleNavigation div:first-of-type a::before{
  content: "";
  display: block;
  position: absolute;
  left: 0px;
  bottom: 10px;
  width: 25px;
  height: 2px;
  background-color: #143a10;
}

.blogsingleNavigation div:first-of-type a::after{
  content: "";
  display: block;
  position: absolute;
  left: -3px;
  bottom: 14px;
  width: 12px;
  height: 2px;
  transform: rotate(-45deg);
  background-color: #143a10;
}

.blogsingleNavigation div:last-of-type a{
  padding-right: 50px;
}

.foogallery .fg-loaded .fg-thumb{
  pointer-events: none;
  cursor: pointer;
}

.fg-default.fg-gutter-25 .fg-item {
  margin-right: 40px;
  margin-bottom: 40px;
}

@media screen and (max-width: 1000px) {
  #blogWrap ul{
    max-width: 700px;
  }
  #blogWrap ul li{
    width: 47.5%;
    margin-right: 5%;
  }
  
  #blogWrap ul li:nth-of-type(3n){
    margin-right: 5%;
  }
  
  #blogWrap ul li:nth-of-type(2n){
    margin-right: 0;
  }
}
@media screen and (max-width: 600px) {
  #blogWrap h2{
    font-size: 30px;
    margin-bottom: 50px;
  }
  
  #blogWrap ul{
    max-width: 300px;
  }
  #blogWrap ul li{
    width: 100%;
    margin-right: 0;
  }
  
  #blogWrap ul li:nth-of-type(3n){
    margin-right: 0;
  }
  
  #blogWrap ul li:nth-of-type(2n){
    margin-right: 0;
  }
  
  #blogWrap ul li a > h3{
    font-size: 20px;
  }
  
  #main > h3{
    font-size: 18px;
    line-height: 28px;
    text-align: left;
    margin-bottom: 15px;
  }
  
  #contents{
    padding: 30px 20px;
  }
  
  #main > div{
    margin-bottom: 15px;
  }
  
  #main p{
    font-size: 15px;
    line-height: 26px;
  }
}

/*==============================
レスポンシブ
==============================*/

@media screen and (max-width: 1400px) {
}

@media screen and (max-width: 1300px) {
}

@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 1000px) {
}

@media screen and (max-width: 800px) {
  .categoryWrap ul{
    flex-wrap: wrap;
  }
  .categoryWrap ul li{
    width: 100%;
  }
  .categoryWrap ul li a{
    width: 100%;
  }
  .categoryWrap ul li img{
    display: block;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 600px){
  .categoryWrap{
    width: calc(100% - 40px);
    padding: 0 20px 50px;
  }
}

@media screen and (max-width: 414px){
  .wp-pagenavi .current, .wp-pagenavi .larger, .wp-pagenavi .smaller{
    margin-right: 5px;
  }
}