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

*/



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


/*==============================
ヘッダ
==============================*/

header{
  position: relative;
  width: 100%;
  height: 300px;
  background-image: url("img/headBack.jpg");
  background-size: cover;
  background-position: center center;
}

header > h2{
  position: relative;
  font-family: "Noto Sans JP";
  top: 140px;
  left: 100px;
  font-size: 40px;
  letter-spacing: 8px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 10px rgba(0,0,0,.9);
}

header > h2 span{
  font-family: 'Hannari';
  font-size: 26px;
  text-shadow: 0 0 5px rgba(0,0,0,.9);
  margin-left: 5px;
}

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

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

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

  header > h2{
    top: 100px;
    left: 50px;
  }
}

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

  header > h2{
    top: 70px;
    left: 20px;
  }
}

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

  header > h2{
    top: 50px;
    font-size: 32px;
    letter-spacing: 3px;
  }
  
  header > h2 span{
    font-size: 18px;
    letter-spacing: 0;
  }
}

/*==============================
下層共通
==============================*/

a{
  transition: .2s;
}

article{
  padding: 0 15px;
}

#headTitle{
  padding: 0;
}

#headTitle{
  position: relative;
  display: flex;
	justify-content: center;
	align-items: center;
  width: 100%;
  height: 400px;
  background: url(img/infoBack.jpg);
  background-size: cover;
}

#headTitle h2{
  color: #fff;
  text-shadow:0px 0px 20px #000,0px 0px 20px #000,0px 0px 20px #000;
  font-size: 50px;
}

#mainTitle{
  padding: 90px 0px 0;
}

.mainTitlebox{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.mainTitlebox h3{
  color: #687a36;
  font-size: 40px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 30px;
}

.mainTitlebox p{
  text-align: justify;
  text-justify: inter-ideograph;
  margin-bottom: 30px;
}
.flexBox{
  display: flex;
  flex-wrap: nowrap;
  justify-content:space-between;  
}

@media screen and (max-width: 800px){
  #headTitle{
    height: 300px;
  }
  
  #headTitle h2{
    font-size: 40px;
  }
  
  #mainTitle{
    padding-top: 40px;
  }
}

@media screen and (max-width: 800px){ 
  #headTitle{
    height: 230px;
  }   
  #headTitle h2{
    font-size: 30px;
  }
  .mainTitlebox h3{
    font-size: 30px;
  }
}

@media screen and (max-width: 414px){
  #headTitle{
    height: 150px;
  }  
  #headTitle h2{
    font-size: 24px;
  }
  #mainTitle{
    padding-top: 40px;
  }
  
  .mainTitlebox h3{
    font-size: 24px;
  }
}

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

#contents{
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
}

#main{
	width: 70%;
	flex-basis: 70%;
	margin-right: 4%;
	margin-bottom: 30px;
}

#side{
	width: 26%;
	flex-basis:26%;
}

.post{
  padding: 30px 20px;
  background-color: #fff;
}

.post > img:first-of-type{
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.post h4{
	font-size: 18px;
	color: #333;
  margin-bottom: 15px;
  font-weight: bold;
}

.post .title{
	font-size: 30px;
	color: #006549;
  font-weight: bold;
	line-height: 35px;
  margin-bottom: 10px;
}

.post p{
	text-align: justify;
	text-justify: inter-ideograph;
}

.post img{
	max-width: 100%;
	height: auto;
	align-self: flex-start;
}

.widget-container h3{
	border-left: 3px solid #687a36;
	font-size: 21px;
	padding: 5px 15px;
	margin-bottom: 10px;
}

.widget-container li{
	display: flex;
	flex-direction: column-reverse;
	padding: 15px 0;
	border-top: 1px dashed #687a36;
}

.widget-container li:last-of-type{
	border-bottom: 1px dashed #687a36;
	margin-bottom: 20px;
}

.widget-container li a::before{
  content: "・";
}

.widget-container li a{
	color: #000;
	font-size: 16px;
  letter-spacing: 0;
  color: #006549;
}

.wp-pagenavi {
	clear: both;
	text-align: center;
	margin-bottom: 60px;
}

.wp-pagenavi .current,
.wp-pagenavi .larger,
.wp-pagenavi .nextpostslink,
.wp-pagenavi .smaller,
.wp-pagenavi .previouspostslink{
	display: inline-block;
	border: 1px solid #006549;
	font-size: 21px;
	padding: 4px;
	width: 40px;
	height: 40px;
  line-height: 34px;
}

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

.wp-pagenavi .larger,
.wp-pagenavi .nextpostslink,
.wp-pagenavi .smaller,
.wp-pagenavi .previouspostslink{
	color: #006549;
	background-color: #fff;
	border: 1px solid #006549;
}


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

article{
  background-color: #eef9f6;
  padding: 50px 20px;
}

#main > ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#main > ul li{
  padding: 20px;
  width: 49%;
  margin-bottom: 20px;
  background-color: #fff;
}

#main > ul li img{
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 5px;
}

#main > ul li h3{
  font-size: 22px;
  font-weight: bold;
  color: #006549;
  letter-spacing: 0;
}

#main > ul li h4{
  font-weight: bold;
  margin-bottom: 10px;
}

#main > ul li p{
  text-align: justify;
}

li.widget-container{
  background-color: #fff;
  padding: 20px;
  margin-bottom: 20px;
}

#wp-calendar{
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

#wp-calendar thead th{
  border: 1px solid #006549;
  text-align: center;
  vertical-align: middle;
  padding: 5px;
  background-color: #eef9f6;
}

#wp-calendar tbody td{
  border: 1px solid #006549;
  text-align: center;
  vertical-align: middle;
  padding: 5px;  
}

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

@media screen and (max-width: 1400px) {
  #contents{
    max-width: 1000px;
  }
}

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

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

@media screen and (max-width: 1000px) {
  #main > ul li{
    width: 100%;
  }
}

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

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

	#main{
		width: 100%;
		flex-basis: 100%;
		margin-right: 0;
	}

	#side{
		width: 100%;
		flex-basis: 100%;
    max-width: 400px;
    margin: 0 auto;
	}

	.post .title{
		font-size: 21px;
		line-height: 25px;
	}
	
	.widget-container li span{
		margin-bottom: -5px;
	}

  .wp-pagenavi .current,
  .wp-pagenavi .larger,
  .wp-pagenavi .nextpostslink,
  .wp-pagenavi .smaller,
  .wp-pagenavi .previouspostslink{
    font-size: 16px;
    padding: 5px;
    width: 35px;
    height: 35px;
  }
	
}