@charset "utf-8";
/*--Reset--*/
html,body,h1,h2,p,ul,li{
margin: 0;
padding: 0;
line-height: 1.0;
font-family: "Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
}
img{
   vertical-align: bottom;
   border:none;
 }
ul{
list-style: none;
}
a{
   text-decoration: none;
}

body{
   background:#E6FFE9;
   min-width: 1000px;
}
.container{
   max-width:1000px;
   margin: 0 auto;
 }
p{
    line-height: 1.5;
}
/*---ヘッダー---*/
header{
   background: url(../img/baseimg.jpg)no-repeat top center;
   height: 60vh;
   background-size: cover;
   position: relative;
 }
h1{
   text-shadow:2px 2px 2px #DAA520;
   color:#FFFFF0;
   font-size:80px;
   margin-bottom: 60px;
   padding:40px  0 20px 0;
   text-align: center;
   font-family: "Rounded Mplus 1c";		
 }
header p{
   color:#fff ;
   font-size:26px;
   font-weight: bold;
   text-align: center;
   letter-spacing: 1px;
   width: 550px;
   margin: 0 auto;
   text-shadow: 1px 1px 1px #333;
   }
header .top{
    width: 400px;
    position: absolute;
    top:30px;
    right: 30px;
    font-size: 22px;
}
header p:nth-child(4){
    position: absolute;
    bottom: 20px;
    left:50px;
    font-size: 18px;
 }

/*-----nav-----*/
.nav{
   margin-bottom: 70px;
}
.nav ul,.fnav ul{
   overflow: hidden;
   width:700px;
   margin: 0 auto;
}
.nav li,.fnav li{
   width:140px;
   float: left;
   text-align: center;
 }
.nav li a,.fnav li a{
   display: block;
   height:40px;
   line-height: 40px;
   font-size: 20px;
   font-weight: bold;
   color:#008000;
   border-left:1px solid #008000;
   letter-spacing: 1px;
   transition: 1s;
 }
.nav li:last-child a{
   border-right:1px solid #008000; 
}
li a:hover{
   background:#EEE8AA; 
}

/*----ほのぼの地蔵販売-----*/

h2{
    font-size: 28px;
    margin:0 auto 50px;
    padding: 20px;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px  2px #f00;
    background: 	#008000;
 }
h3{
   margin:0 auto 20px;
   width: 260px;
   font-size: 30px;
   text-align: center;
   padding: 20px 0;
   color: #fff;
   background:#BDB76B;
   border: 2px solid #A0522D;
   box-shadow: 0 0 0 3px #FFD700 inset;
}
/*-----なかよし-----*/
.wrap{
    overflow: hidden;
    height:660px;
}
#navi{
	width:300px;
	float:left;
    margin-left: 20px;
}
#navi ul{
    height:540/*460*/px;
    overflow: hidden;
}
#navi ul li{
	width:150px;
    height: 140px;
	float:left;
    position: relative;
    overflow: hidden;margin-bottom: 10px;
	
}
#navi ul li img{
	border:3px solid 		#FFD700;
    margin-bottom: 3px;
    /*background: #000;*/
}

.capn{
    position: absolute;
    bottom: -100%;
    left: 0; 
    z-index: 2;
    width: 100%;
    height: 100%;
    background:rgba(0,0,0,0.3);
     transition: 2s;
    color: #fff;
 }
#navi li:hover .capn{
    bottom: 0;
    left: 0;
}

.main{
	width:650px;
	float:right;
    margin-right: 20px;
}
.main img{
	/*position:absolute;*/
	border:3px solid #FFD700;
  }
/*-----ほのぼの-----*/
.wrap2{
    overflow: hidden;
    height:670px;
    padding-bottom: 30px;
    margin-bottom: 60px;
 }
#navi2{
	width:450px;
    float:left;
    margin-left: 20px;
    padding-bottom: 10px;
}
#navi2 ul{
    height: 560px;
    overflow: hidden;
}
#navi2 ul li{
	width:136px;
    height: 180px;
	float:left;
    margin:0 5px 5px ;
    position: relative;
    overflow: hidden;
}
#navi2 ul li img{
	border:3px solid #FFD700;
    
}

.cap{
    position: absolute;
    bottom: -100%;
    left: 0; 
    z-index: 2;
    width: 100%;
    height: 100%;
    background:rgba(0,0,0,0.3);
     transition: 2s;
    color: #fff;
 }
#navi2 li:hover .cap{
    bottom: 0;
    left: 0;
}


.main2{
	width:500px;
	float:right;
    margin-right: 20px;
}
.main2 img{
	/*position:absolute;*/
	border:3px solid #FFD700;
  }
span{
    color: #f00;
    font-weight: bold;
    font-size: 22px;
}

/*---お問い合わせフォーム----*/
.info{
    clear: both;
    width:500px;
    margin: 50px auto;
 }

.info span{
    color:#f00;
    font-size: 26px;
}
.info a{
    display: block;
    color: #333;
    font-size: 20px;
    font-weight:bold; 
    background:#ffdbc9 ;
    border-radius: 20px;
    padding: 30px 0;
    text-align: center;
}
.info a:hover{
    background:#F0E68C;
}

/*-----外部リンク--------*/
.link{
    overflow: hidden;
    width: 1000px;
 }
section{
    float: left;
 }

.yhstore,.blog{
    width: 400px;
    margin: 50px 20px 50px 50px;
    padding: 10px;
    overflow: hidden;
}
.yhstore img,.blog img{
    float: left;
    border-radius: 50%;
}
.yhstore a,.blog a{
    display: block;
    font-size: 19px;
    width: 260px;
    color: #fff;
    font-weight: bold;
    margin:10px 0 10px 110px;
    padding: 15px 5px;
    line-height: 1.3;
    letter-spacing: 1px;
}
.yhstore a:hover,.blog a:hover{
    color: #f00;
    background: #FFF8DC;
    transition: 0.8s;
}
.yhstore{
    background: #FFD700;
    border: 5px solid #FFA500;
}
.blog{
    background: #4169E1;
    border:5px solid #FFA500;
}

/*----footer----*/
footer{
    overflow: hidden;
    background:#8FBC8F; 
    text-align: center; 
    color: 	#800000;
    padding: 20px 0 30px;
}
.adre{
     line-height: 1.5;
     padding: 10px 0;
 }
.adre p:first-child{
    font-size: 24px;
 }
.fnav{
    margin-bottom: 10px;
}
.fnav li a{
    color: #000;
    font-weight: normal;
    border-left:none;
    border-radius: 10px;
 }
.fnav li a:hover{ 
    background:#EEE8AA;
 }
/*-----トップへ戻るボタン-------*/
#page-top{
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
} 
#page-top a{
    background: #666;
    color: #fff;
    width: 100px;
    padding: 30px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
}
#page-top a:hover{
    background: #999;
}


/*-----メディアクエリ--------*/
@media screen and (max-width:1000px){
header{
	background-size:100%;
	height: auto;
	/*padding-bottom: 40px;*/
}
h1{
   font-size:60px;
   padding: 30px 0;	
   margin-bottom: 0;	
 }
header p{
   font-size: 18px;
   line-height: 1.3;
   text-align: center;
  }
header .top{
    top:30px;
    right: -20px;
    font-size: 16px;
}
header p:nth-child(4){
    /*position: absolute;*/
    bottom: 0;
    left:-80px;
    font-size: 18px;
 }
.container{
   width: 100%;
}
.nav{
   margin-bottom: 10px;
}
}
