@charset "utf-8";
/* ============setting============ */

body{
    font-family: "Darumadrop One", "Potta One", sans-serif;
  font-weight: 400;
  font-style: normal;
    text-align: center;
    background-color: #f2f2f2;
    font-size: 20px;
    line-height: 1.6em;
    color: #333333;
    /*text-size-adjust: 100%;*/
}

#wrapper{
    max-width: 100%;
}

a{
    text-decoration: none;
    color: #333333;
}

a:hover{
    color: #f2f2f2;
}

a::after{
    color: #333333;
}

/* ============header============ */

.top_img{
    background: url("../img/bg_sm.jpg") no-repeat top left;
    background-size: cover;
    padding: 50% 0 100%;
    box-sizing: border-box;
    position: relative;
}

.logo{
     position: absolute;
        top: 50%;
        left: 50%;
    transform: translate(-50%,-80%);
 /*   transform: translate(-0%,-30%);*/
   /* max-width: 90%;
    height: auto;*/
}

.logo img{
    max-width: 100%;
    height: auto;
}

.border{
    border-bottom: 3px solid #D9882D;
}

@media screen and (min-width:768px){
    
    .top_img{
    background: url("../img/bg_pc.jpg") no-repeat top center;
    background-size: 100vw;
        padding: 30% 0;
}
    
    .logo{
    transform: translate(-50%,-70%);
 /*   transform: translate(-0%,-30%);*/
   /* max-width: 90%;
    height: auto;*/
}
    
}

/* ================================================================ハンバーガーメニュー ========================================= */

/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:0;
    right: -120%;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background-color: #67b272;
    /*動き*/
	transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center;
}

#g-nav li a{
	color: #f2f2f2;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

#g-nav li a:hover{
    color: #f2f2f2;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:20px;
	right: 20px;
	cursor: pointer;
    width: 50px;
    height:50px;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #666;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top:31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

/* ================================================================ハンバーガーメニューここまで ========================================= */



/* ============main============ */

/*.about{
    margin: 0 0 80px;
    background: url("../img/about.png") no-repeat center center;
    background-size: 100%;
    padding: 100px 0;
}*/

.about{
    margin: 50px 0 0;
}

.about_p{
    font-size: 20px;
    line-height: 1.8em;
    /*transform: translate(0%,40%);*/
}

/*#main .about p{
    transform: translate(0%,40%);
 /*   font-size: 30px;
}*/

.contents_bg{
        padding: 50px 0;
    }

.contents{
    max-width: 920px;
    margin: 100px auto 50px;
 /*   display: flex;
    flex-wrap: wrap;*/
}

.contents img{
    max-width: 80%;
    height: auto;
}

.contents a{
    padding-bottom: 50px;
}

.contents a:hover{
	color: #F3D956;
}

.contents a img{
	position:relative;
	top:0;
}

.contents a img:hover{
	top:-10px;
	transition:0.3s;
}

.contents_link{
    margin-bottom: 50px;
}

@media screen and (min-width:768px){
    
    .contents_bg{
        padding: 100px 0;
        background-image: url("../img/bg_pc_left.png"), url("../img/bg_pc_right.png");
  background-repeat: no-repeat, no-repeat;
  background-position:
          top left,
          top right;
    }
    
     .contents{
    display: flex;
    flex-wrap: wrap;
      justify-content: space-around;
}
    
    .contents a{
    width: 45%;
}
    
}


#main{
    background: url("../img/wood.png") repeat-x bottom left;
    padding-bottom: 200px;
     /* font-size: 32px;*/
}

/* ============news============ */
.news{
    background: url("../img/news_bg.png") no-repeat top center;
    background-size: cover;
    padding:200px 0 300px;
    margin: 0 0 20px;
}

.news caption{
    font-size: 28px;
    margin-bottom: 50px;
}

.news table{
    width: 70%;
    margin: 50px auto;
    background-color: rgba(255,255,255,0.7);
    padding: 50px;
    font-size: 18px;
    border-radius: 20px;
    box-sizing: border-box;
}

.news th,
.news td{
    padding: 10px;
    
}

.news tr{
    /*max-width: 900px;*/
}

.news tr:not(:last-child){
    border-bottom: 2px dashed #ccc;
}

/* ================================================================indexここまで ========================================= */



/* ============あたらしいほん・おすすめのほん============ */
#new_ehon #wrapper,
#osusume_ehon #wrapper/*,
#event #wrapper*/{
    background: url("../img/bg_ehon.jpg")repeat-y top center;
    background-size: contain;
}

h1{
    padding: 100px 0;
    font-size: 72px;
}

.ehon{
    background: rgba(255,255,255,0.8);
    margin: 100px auto;
    max-width: 70%;
    padding: 40px;
    border-radius: 20px;
    box-sizing: border-box;
}

.ehon h2{
    margin-bottom: 30px;
    font-size: 28px;
}

.ehon h3{
    margin-bottom: 20px;
    font-size: 26px;
    border-bottom: 3px dotted#FFB62F;
    padding-bottom: 10px;
}

/*.ehon h3,*/
.ehon p{
    text-align: left;
}

.ehon p{
    font-size: 15px;
    line-height: 1.3em;
    margin: 30px 0 0;
}

.ehon img{
    border-radius: 20px;
    max-width: 100%;
    height: auto;
}

@media screen and (min-width:768px){
    
 .ehon p{
    font-size: 20px;
}
    
}


/* ============イベント============ */
.event_d{
    background-color: rgba(255,255,255,0.8);
    background-image: url("../img/flag_l_sm.png"), url("../img/flag_r_sm.png");
  background-repeat: no-repeat, no-repeat;
  background-position:
    top left,
    top right;
    /*background-size: 70%;*/
    margin: 100px auto;
    max-width: 80%;
    padding: 50px;
    border-radius: 20px;
    box-sizing: border-box;
}

.event_d h2{
    font-size: 36px;
    margin: 30px 0;
}

.event_d img{
    max-width: 90%;
    height: auto;
}

.event_p{
    font-size: 0.7em;
}

.event_d table{
    margin: 50px auto;
    font-size: 0.8em;
    line-height: 1.7em;
    /*border-bottom: 2px solid #F0A5A7;*/
}

.event_d td{
    padding-left: 50px;
}

@media screen and (min-width:768px){
    
   .event_d{
   
    background-image: url("../img/flag_l.png"), url("../img/flag_r.png");
  
}

    
}

/* ============施設案内============ */
#shisetsu h1{
    font-size: 55px;
}

.shisetsu_map img{
    max-width: 100%;
    height: auto;
    
}

.shisetsu_map{
    background: url("../img/flower.png") no-repeat bottom center;
    background-size: contain;
    padding: 100px 30px;
    /*font-size: 30px;*/
    line-height: 1.8em;
}

.annai{
    /*background: rgba(255,255,255,0.8);*/
    margin: 50px auto;
    max-width: 90%;
    padding: 50px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    line-height: 1.5em;
    box-sizing: border-box;
}

.annai img{
    border-radius: 20px;
    max-width: 38%;
    height: 100%;
    margin-right: 20px;
    vertical-align: middle;
  
}

.annai p{
    vertical-align: middle;
    margin: auto 0;
    max-width: 62%;
}

@media screen and (min-width:768px){
    
  .annai{

    font-size: 20px;
 
}
    
    .annai img{

    margin-right: 50px;
  
}


}

/* ============アクセス============ */
.access_map{
  position: relative;
  max-width: 100%;
    height: 0;
  padding-top: calc(400 / 600 * 100%); /* = height ÷ width × 100 */
}

.access_map iframe {
  position: absolute;
  top: 0;
  left: 50%;
  width: 90%;
  height: 70%;
    margin: 0 auto;
    transform: translate(-50%,0%);
}

.access_p{
    /*transform: translate(0%,-90%);*/
    /*font-size: 30px;*/
    line-height: 1.5em;
}

.access_p p:first-child{
    margin-bottom: 1em;
}


/* ============お問い合わせ============ */
#contact h1{
    padding: 100px 0 50px;
}


.Form {
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
    box-sizing: border-box;
}

@media screen and (max-width: 767px) {
  .Form {
    margin-top: 40px;
  }
}
.Form-Item {
  border-top: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
    max-width: 100%;
}
@media screen and (max-width: 767px) {
  .Form-Item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }
}
.Form-Item:nth-child(5) {
  border-bottom: 1px solid #ddd;
}
.Form-Item-Label {
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
  /*font-weight: bold;*/
  font-size: 18px;
}
@media screen and (max-width: 767px) {
  .Form-Item-Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
}
.Form-Item-Label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}
@media screen and (max-width: 767px) {
  .Form-Item-Label.isMsg {
    margin-top: 0;
  }
}
.Form-Item-Label-Required {
  border-radius: 6px;
  margin-right: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 60px;
    /*height: 50px;*/
  display: inline-block;
  text-align: center;
  background: #5bc8ac;
  color: #fff;
  font-size: 16px;
    line-height: 1.3em;
}
@media screen and (max-width: 767px) {
  .Form-Item-Label-Required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 48px;
    font-size: 10px;
  }
}
.Form-Item-Input {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}
@media screen and (max-width: 767px) {
  .Form-Item-Input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Item-Textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
    font-family: sans-serif;
}
@media screen and (max-width: 767px) {
  .Form-Item-Textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Btn {
  border-radius: 6px;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 280px;
  display: block;
  letter-spacing: 0.05em;
  background: #5bc8ac;
  color: #fff;
  /*font-weight: bold;*/
    font-family: "Darumadrop One", "Potta One", sans-serif;
  font-size: 20px;
}
@media screen and (max-width: 767px) {
  .Form-Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }
}


/* ============鳥アニメーション============ */
.img_anime {
  width: 100%;
  height: 75px;
  overflow: hidden;
}

.img_anime img {
  animation: animeimg 20s linear infinite;
  transform: translateX(1300%);
}

@keyframes animeimg {
100% {
  transform: translateX(-1300%);
 }
}


/* ============footer============ */
footer{
    background: #67b272;
    font-size: 18px;
    color: #f2f2f2;
    padding: 50px 0;
}

footer a{
    text-decoration: none;
    color: #f2f2f2;
}

footer a:hover{
    color: #333333;
}

footer a::after{
    color: #f2f2f2;
}


footer img{
    max-width: 50%;
    height: auto;
    margin-bottom: 30px;
}

/*.footer_logo{
    margin: 50px;
}*/


footer ul{
    width: 90%;
    margin: 0 auto;
}

footer ul.flex li{
    width: 30%;
}

.flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.sns.flex{
    justify-content: center;
}

.f_menu li:not(:nth-child(3n)){
    border-right: #f2f2f2 solid 3px;
}

.f_menu li{
    margin-top: 20px;
}

.icon-facebook2:before {
  content: "\ea91";
}



footer .address{
    /*font-size: 20px;*/
    line-height: 1.5em;
    margin-bottom: 30px;
}

.attention{
    color: #aa2630;
    font-size: 20px;
    margin: 50px 0;
}

footer p small{
    font-size: 14px;
    margin-top: 50px;
}

