/*
Theme Name: Slow Life
Description:Slow Life Template
Theme URI: http://hisayama-kinosato.jp/
Author: http://hisayama-kinosato.jp/
Author URI: http://hisayama-kinosato.jp/
Version: 1.0.0
*/

*{
  margin:0;
  padding:0;
  border:none;
  outline:0;
  margin:0;
  line-height:1;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
  -o-box-sizing:border-box;
  -ms-box-sizing:border-box;
  vertical-align:top;
  font-weight:normal;
}

html{
  font-size:14px;
  height:100%;
}

body{
  font-family: "游ゴシック", "YuGothic", "ヒラギノ角ゴ Pro W6",sans-serif;
  color:#434C5B;
  height:100%;
  -webkit-text-size-adjust:100%;
}

a,a:visited,a:hover{
  color:#396A2E;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  tap-highlight-color: rgba(0, 0, 0, 0);
}

a.news-link,a.news-link:visited{
  color:#5F4836;
}

a.news-link:hover{
  color:#6CB23F;
}

li{
  list-style-type:none;
}

h1,h2{
  letter-spacing:2px;
  font-size:2.4rem;
  line-height:1.2;
  font-weight:bold;
  text-align: center;
  width:900px;
  margin-top:5rem;
  margin-bottom:2rem;
  margin-right:auto;
  margin-left:auto;
}

h3{
  font-size:1.1rem;
  font-weight:bold;
  text-align: center;
}

.flex-box{
  display: -webkit-flex;
  display:flex;
  flex-flow:row;
  -webkit-flex-flow:row;
  justify-content:start;
  -webkit-justify-content:start;
  -webkit-flex-wrap: wrap;
  flex-wrap:wrap;
}

.flex-content{
  align-self:center;
  -webkit-align-self:center;
  padding:1rem 2rem;
}

.justify-start{
  justify-content:start;
  -webkit-justify-content:start;
}

.justify-center{
  justify-content:center;
  -webkit-justify-content:center;
}

.align-top{
  align-self:auto;
  -webkit-align-self:auto;
}

.count2{
  width:50%;
}
.count2-6{
  width:60%;
}
.count2-4{
  width:40%;
}

.count3{
  width:33%;
}

.center{
  text-align:center;
}
/*.bg-green{
  background-color:#F2F9F3;
}*/
.bg-green{
  background-color:#dcdddd;
}

/* header */

header>div,header>h1{
  text-align: center;
}

#logo{
  width:250px;
}

#menu-btn{
  width:35px;
  position:fixed;
  top:3rem;
  left:3rem;
  cursor:pointer;
}

.desc{
  line-height:1.8;
}

.desc_cs{
  line-height:1.8;
  font-size:1.0rem;
  text-align: center;
}

.desc_c{
  line-height:1.8;
  font-size:1.2rem;
  text-align: center;
}

/* MENU */

#menu-open{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color: rgba(0,0,0,0.01);
  -webkit-tap-highlight-color:rgba(0,0,0,0);
  display:none;
}

.menu-container{
  width:250px;
  height:100%;
  text-align:left;
  position:fixed;
  top:0;
  left:-260px;
  background-color:white;
  box-shadow: 2px 0px 20px rgba(0,0,0,0.1);
  overflow:auto;
  transition:all 0.6s;
}

.open{
  -webkit-transform: translateX(100%);
  transform:translateX(100%);
}

.close{
  -webkit-transform:translateX(-100%);
  transform:translateX(-100%);
}

.menu-container>ul{
  display:block;
  width:100%;
  overflow:scroll;
}

.menu-container>ul>li{
  border-bottom:2px solid #5F4836;
}

.menu-container>ul>li:first-child{
  border-top:2px solid #5F4836;
}

.menu-container>ul>li>a{
  display:block;
  letter-spacing:2px;
  padding:1.5rem 2rem;
}

.menu-container>ul>li>a,.menu-container>ul>li>a:visited{
  color:#5F4836;
  transition:.5s;
}
.menu-container>ul>li>a:hover{
  background-color:#5F4836;
  color:white;
}

.menu-container p{
  text-align:center;
  padding:0 3rem;
}

.menu-container img{
  width:100%;
}

/* top */

.banner>img{
  width:100%;
}

#recent-news.section{
  margin-top:0;
  padding-top:4rem;
}

#recent-news>h2{
  margin-bottom:4rem;
}

/*#document-request{
  border:5px solid #5F4836;
  border-radius:10px;
  padding-bottom:3rem;
}*/
#document-request{
  border:5px solid #9a9b9b;
  border-radius:10px;
  padding-bottom:3rem;
}
#document-request .flex-content:first-child{
  width:520px;
  padding:0 3rem;
}

#document-request .flex-content:last-child{
  width:370px;
  padding:0 3rem;
  border-left:1px solid #5F4836;
  text-align: center;
}

#document-request h2{
  padding:3rem 0;
color:#9a9b9b;
}

#document-request .title{
  font-weight:bold;
  margin-bottom:2rem;
  line-height:1.5;
color:#9a9b9b;
}

#document-request .title_sp{
  font-weight:bold;
  margin-bottom:2rem;
  line-height:1.5;
color:#9a9b9b;
  text-align:center;
}

#document-request .caption{
  line-height:2;
color:#747474;
}

#document-request #request-btn{
  color:#e78d6a;
  font-size:1.5rem;
  font-weight:bold;
  letter-spacing:2px;
  text-align: center;
  border:2px solid #e78d6a;
  border-radius:10px;
  padding:1.5rem;
  margin-top:1.5rem;
}

#document-request #tel-btn{
  display:table;
  color:#e78d6a;
  font-size:1.2rem;
  font-weight:bold;
  border:2px solid #e78d6a;
  border-radius:80px;
  width:160px;
  height:160px;
  margin:0 auto;
  margin-top:1.5rem;
}

#document-request #tel-btn>p{
  display:table-cell;
  vertical-align: middle;
  text-align:center;
  line-height:1rem;
}

#document-request #tel-btn>p>span{
  display:block;
}

#document-request #tel-btn>p>span:first-child{
  font-size:0.8rem;
  margin-bottom:1rem;
}

#document-request #tel-btn>p>span:last-child{
  font-size:1.4rem;
}

a.more-news,a.more-news:visited,a.more-news:hover{
  display: inline-block;
  color:#5F4836;
  padding:1.3rem 4rem;
  border:2px solid #5F4836;
  border-radius:3px;
  text-align:center;
  margin-bottom:2rem;
}

a.more-news>.icon{
  display:inline-block;
  width:24px;
  height:24px;
  margin-right:0.5rem;
  border:2px solid #5F4836;
  border-radius:12px;
}

a.more-news>.text{
  display:inline-block;
  height:24px;
  line-height:24px;
  font-size:20px;
  letter-spacing:2px;
  font-weight:bold;
}

/* section */

.section{
  position:relative;
  width:900px;
  margin:0 auto;
  margin-top:4rem;
}

.section img{
  width:100%;
  height:auto;
}

.section .subject,
.section .date,
.section .message{
  margin-top:1rem;
  letter-spacing:2px;
  line-height:1.2;
}

.section .message{
  margin-bottom:3rem;
}

.section.w100{
  width:100%;
}

.section.w100>img{
  min-width:900px;
  width:100%;
}

.section.mt0{
  margin-top:0;
}

.section.slideshow{
  padding-bottom:2rem;
  padding-left:1rem;
  padding-right:1rem;
}


/* footer */

#footer{
  padding-top:2rem;
  padding-bottom:2rem;
  border-top:1px solid #5F4836;
  border-bottom:1px solid #5F4836;
}

#footer>#info>li>a,#footer>#info>li>a:visited,#footer>#info>li>a:hover{
  color:#396A2E;
}

#footer>#info>li{
  padding:0.3rem 0;
}

#footer>#info img{
  width:60%;
}

.footer{
  margin-top:0;
}

#copy{
  width:100%;
  text-align:center;
  padding:2rem 0px;
}

/* access */

#access-by-train.section,#access-by-car.section{
  background-color:#F2F9F3;
  font-weight:bold;
  padding:3rem;
  text-align: center;
}

#access-by-train.section>h3,#access-by-car.section>h3{
  margin-bottom:2rem;
}

#access-by-train.section p{
  display:inline-block;
  width:100px;
  height:100px;
  white-space:nowrap;
  text-align:center;
  font-weight:bold;
}

#access-by-train.section .station{
  background-color:white;
  border:1px solid #5F4836;
  border-radius:50px;
  line-height:100px;
}

#access-by-train.section .minutes>span{
  display: inline-block;
  width:100%;
  border-top:1px dotted #5F4836;
  padding-top:0.5rem;
  margin-top:50px;
}

#access-by-train.section .station>img{
  width:100%;
}

#access-by-car.section{
  margin-bottom:4rem;
}

#access-by-car.section p{
  text-align:left;
  line-height:1.3;
  font-weight:bold;
}

#spot-info.section{
  margin-top:0;
  padding:4rem 0;
}

#spot-info>h2{
  margin-bottom:4rem;
}


/* plan */

#plan.section{
  background-color: transparent;
}

#plan.section>div>p{
  margin-top:1rem;
}

/* summary */

#summary.section{
  background-color: transparent;
}

#summary.section table{
  border-collapse:collapse;
  width:100%;
}
#summary.section table>tbody>tr>th,#summary.section table>tbody>tr>td{
  text-align:left;
  border:2px solid #5F4836;
  padding:1rem;
}

#summary.section table>tbody>tr:nth-child(even){
  background-color:#F2EFED;
}

#summary.section table>tbody>tr:first-child{
  background-color:#5F4836;
}

#summary.section table>tbody>tr:first-child th{
  color:white;
}

#summary.section table>tbody>tr:first-child th:first-child{
  border-right:2px solid white;
}

/* life */

.life.section{
  text-align: center;
}

.life .title{
  font-weight:bold;
  font-size:1.5rem;
  margin:3rem 0;
  color:#E78D6A;
}

.life img{
  width:100%;
}

.life img:not(:first-child){
  margin-top:6rem;
}

/* concept */

.concept.section{
  text-align:center;
}

.concept.section>img{
  width:700px;
}

.message.desc{
  line-height: 1.8;
}

/* single news */

.section.single{
  margin-top:0;
  text-align:left;
}

.section.single img{
  width:100%;
  height:auto;
}

.section.single img.wp-post-image{
  width:100%;
  height:auto;
}

.section.single h2{
  text-align:left;
  font-size:2rem;
}

.section.single .date{
  text-align:left;
  margin-bottom:1rem;
}

.section.single .body{
  text-align:left;
  line-height:1.8;
  margin:2rem 0;
}

.section.single .body p{
  margin:1rem 0;
}

.section.single .body img{
  display:block;
  margin-bottom:1rem;
  max-width:100%;
}

.wp-caption{
max-width:100%;
}

.wp-caption>p{
  margin-top:1rem;
}

.wp-caption>img{
max-width:100%;
}


/* Pager */

.wp-pagenavi {
	clear:both;
	text-align:center;
  padding:2rem 0;
}
.wp-pagenavi a, .wp-pagenavi span {
  color:#5F4836;
	padding:0.6rem 0.8rem;
	margin:0.2rem;
	white-space: nowrap;
	-webkit-transition: 0.2s ease-in-out;
	-moz-transition: 0.2s ease-in-out;
	-o-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
	text-align: center;
	text-decoration: none;
	border:2px solid #5F4836;
  border-radius:3px;
}
.wp-pagenavi a:hover{
	color:white;
	background-color:#5F4836;
}
.wp-pagenavi span.current{
	color:white;
  background-color:#5F4836;
}

#pager .prev{
  float:left;
}

#pager .next{
  float:right;
}

#pager .clear{
  clear:both;
}

#pager>div>a{
  font-weight:bold;
  font-size:1.2rem;
  color:#5F4836;
}

/* added css */

.headimage{
margin-top:-90px;
z-index:-1;
}

#header{
  position:relative;
  text-align:center;
  margin-bottom:4rem;
}
.archi{
    position: relative;
    width: 900px;
    margin: 50px auto;
}
.archi img{
width:430px !important;
float:left;
margin-right:15px;
}