@charset "Shift_JIS";


body{
  background: #fffafa;
  margin: 0 auto;
   font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "Helvetica Neue", Helvetica, Arial, sans-serif;
   letter-spacing : 0.1em;
}
a {
color: #333;
text-decoration: none;
}

.wrapper {
  background: #fffafa;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 15px 0px 15px;

}
.img-wrap {
  width: 100%;
  height: auto;
  margin:0px;
  padding:0px;
}
.img-space {
  width: 100%;
  height: 0px;
  padding-top: 30%;
  background: url('https://hamasakanosato.com/image/photo/DSC_0415.JPG') no-repeat center;
  background-size: cover;
  position: relative;
}
.img-space2 {
  width: 100%;
  height: 0px;
  padding-top: 30%;
  background: url('https://hamasakanosato.com/image/photo/kusatsu03.JPG') no-repeat center;
  background-size: cover;
  position: relative;
}
.img-space3 {
  width: 100%;
  height: 0px;
  padding-top: 30%;
  background: url('https://hamasakanosato.com/image/photo/kusatsu01.JPG') no-repeat center;
  background-size: cover;
  position: relative;
}

.contents-top img {
  margin: 10px 0px;
}


/*"メニューボタン"*/
.menu-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: 0 0 50px;
  padding: 0px;
}
.menu-botun {

}
.menu-botun p{
  background-color: #666;
  color: #ffffff;
  margin: 0px 0px 0px 10px;
  padding: 10px 30px;
  text-align: center;
  border-radius:  3px;
  transition: all 0.3s ease 0s;
}
.menu-botun p:hover {
 background-color: #999;
 color: #fff;

}



/*"メインコンテンツ"*/
.flexbox-main {
     display: flex;
     flex-wrap: wrap;
     width: 100%;
     margin: 0 0 50px;
}
 .main-box {
     width: 25%;
     background: #fff;
     margin: 0;
 }
 .main-box:hover {
opacity: 0.8;
transition: all 0.3s ease 0s;
}
 .main-box img {
     width: 100%;
 }
 .m-box1 {
     width: 100%;
     height: 500px;
     background: #666;
     margin: 0;
 }
 .m-box1 img {
     width: 100%;
     height: 100%;
 }
.m-box-text{

}



/*"コンテンツボックス"*/

 .text-center {
     text-align: center;
 }
 .flexbox {
     display: flex;
     width: 100%;
    margin: 0 0 60px;
 }
 .box1 {
     width: 55%;
     margin: 0px;
     padding: 5px;
 }
 .box1 img {
     width: 100%;
     margin: 0px 0px 5px;
 }
.bnr{
width: 150px;
}
.bnr:hover{
opacity: 0.6;
transition: all 0.3s ease 0s;
}


.box1 p{
     line-height: 1.8em;
    
}


 .box2 {
     width: 45%;
     margin: 0px;
     padding: 5px;
 }
 .box2 img {
     width: 100%;
 }

.box2 p{
     line-height: 1.8em;
     margin: 2;
}

.box2 a {
  display: block;
  width: 200px;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  color: #333;
  background-color: #90ee90;
  border-radius: 3px;
  transition: all 0.3s ease 0s;
}

.box2 a:hover {
  opacity: 0.6;
}


 .box3 {
     width: 45%;
     margin: 0px;
     padding: 5px;
 }
 .box3 img {
     width: 100%;
 }

.box3 p{
     line-height: 1.8em;
     margin: 2;
}

.box3 a {
  display: block;
  width: 100%;
  padding: 10px;
  text-align: left;
  text-decoration: none;
  color: #333;
  background-color: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease 0s;
}

.box3 a:hover {
  opacity: 0.6;
}

.box-acs {
     width: 99%;
     margin: 0px auto 50px;
     padding: 0px 10px;
 }
.box-acs img {
     width: 100%;
 }

.access{

}

.box-acs1 {
     width: 600px;
     margin: 0px;
     padding: 5px;
}
 .box-acs2 {
     width: 600px;
     margin: 10px;
     padding: 10px;
 }
 .box-acs2 p {
     line-height: 1.8em;
     margin: 2;
}

.box-acs p{
  line-height: 1.8em;
  letter-spacing : 0.1em;
  margin: 0px;
}

.box-acs a {
  box-sizing: border-box;
  display: block;
  width: 95%;
  margin: 0px 10px 0px;
  padding: 5px 15px;
  text-align: left;
  text-decoration: none;
  color: #333;
  background-color: #90ee90;
  border :0px solid #ffe4e1;
  border-radius: 5px;
  transition: all 0.3s ease 0s;
}

.box-acs a:hover {
  background-color: #7fffd4;
  
}

.box-text {
  padding: 10px 20px;
}
.box-text p {
  line-height: 1.8em;
  letter-spacing : 0.1em;
  margin: 0px;
}


.osirase-box {
  background:rgba(255,255,0,0.5);
  max-width: 1200px;
  margin: 0px auto;
  padding: 30px;
  text-align:left;
  border-radius: 0.5em;
}
.osirase-box p{
  line-height: 1.8em;
  text-indent:1em;
}
.osirase-box a{
  color: #800080;
transition: all 0.3s ease 0s;
}
.osirase-box a:hover{
  color: #4b0082;
  background-color: #c0c0c0;
}


 @media screen and (max-width: 800px) {
     .flexbox {
         display: block;
     }
     .flexbox .box1 {
         width: 100%;
         margin: 0 auto;
     }
     .flexbox .box2 {
         width: 100%;
         margin: 0 auto;
     }
     .flexbox .box3 {
         width: 100%;
         margin: 0 auto;
     }

     .flexbox-main {
         display: block;
     }
     .flexbox-main .main-box {
         width: 100%;
         margin: 0 auto;
     }
     .flexbox-main .main-box2 {
         width: 100%;
         margin: 0 auto;
     }
 }


h2 {
  border-bottom: solid 3px #cce4ff;
  position: relative;
  font-size: 2em;
  color: #7172ac;
}

h2:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #5472cd;
  bottom: -3px;
  width: 20%;
}

h3 {
  letter-spacing : 0.1em;
  font-size: 1.2em;
  margin: 0px;
  border-bottom: solid 2px #333333;
  position: relative;
}
h3:after{
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 2px #cccccc;
  bottom: -2px;
  width: 80%;
}

h3:first-letter {
  font-size: 1.5em;
  color: #b22222;
}

h4 {
  letter-spacing : 0.1em;
  font-size: 1.2em;
  margin: 0px;
  color: #333333;
  border-bottom: solid 2px #333333;
  position: relative;
}
h4:after{
}

h5 {
  letter-spacing : 0.1em;
  font-size: 1.1em;
  padding: 6px 15px 4px;
  margin: 0px;
  font-weight: normal;
  color: #fff;
  background: linear-gradient(to right, #a9a9a9 0%, #a9a9a9 90%, #d3d3d3 90%, #d3d3d3 100%);
  border-bottom: solid 0px #333333;
  position: relative;
  border-radius: 5px;
}

p {
}

.googlemap{
  width: 100%;
  margin: 30px 0px;
}
.hover1 a {
  display: block;
  width: 200px;
  letter-spacing : 0.1em;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  color: #333;
  background-color: #90ee90;
  border-radius: 3px;
  transition: all 0.3s ease 0s;
}
.hover1 a:hover {
  opacity: 0.6;
}