@charset "utf-8";
html{
  height: 100%;
  scroll-behavior: smooth;
}
body{
    width:100%;
    height: auto;
    height: 100%;
    min-height:100%;
    font-size:18px;
    font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    line-height: 2;
}

img{
  -webkit-touch-callout:none;
  -webkit-user-select:none;
  -moz-touch-callout:none;
  -moz-user-select:none;
  /*touch-callout:none;*/
  user-select:none;
}

/* pagetop */
    #pagetop{
        height: 50px;
        width: 50px;
        position: fixed;
        right: 0;
        bottom: 30px;
        background: #353535;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease-in;
  }
  
  .pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: translateY(20%) rotate(-45deg);
}
  
  /* fadeinクラスがついた時だけ表示する */
  #pagetop.fadein {
    opacity: 1;
  }

header{position: relative;}


.top-visual{
  width:100%;
  height:720px;
  background: url(../images/bg_keyvisual.jpg) no-repeat center 20%;
  background-size: cover;
  position: relative;
  
}
.top-visual figure{
  width:1000px;
  margin: 0 auto;
  position: relative;
}

.top-visual figure img{
  display: inline-block;
  position:absolute;
  width:129px;
  height:525px;
  top:70px;
  right:40px;
}

.menu-item-btn{
  display: none;
}
.g-nav{
  background-color: #353535;
  
}
.g-nav ul{
  width:1000px;
  line-height: 70px;
  margin: 0 auto;
  display: flex;
  justify-content:space-around;
}
.g-nav ul li a{
  position:relative;
  display: inline-block;
  color:#fff;
}



.ins{
  width:1000px;
  margin:0 auto;
  padding: 50px 0;
}

.ins h2{
    font-family :  "游明朝体" ,  "游明朝" , YuMincho ,  "ヒラギノ明朝Pro" , "ヒラギノ明朝 Pro"  , "MS P明朝" , "MS P明朝" , serif;
    font-size:160%;
    text-align: center;
    margin-bottom:50px;
    font-weight: bold;
}

.ins h4{
  font-weight: bold;
  margin-bottom: 1em;
}

.sakuraBlock h3{
  background:url(../images/icon_sakura.png) no-repeat 0 center;
  padding-left: 1.75em;
  font-size:125%;
  font-weight: bold;
  margin-bottom: 1em;
}

#access h3{
  font-size:125%;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1em;
}

.ins p{
  margin-bottom: 1em;}

.block02{
  overflow: hidden;
}
.block02 img{
  display: block;
  width:460px;
  float:right;
  margin-left:40px;
  margin-bottom: 2em;
}

.sakuraBlock{
  width:1000px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
}


.sakuraBox01,.sakuraBox02{
  width:500px;
  padding-bottom: 40px;
  padding-top: 40px;
  border-bottom:1px dashed #353535;
}

.sakuraBox01 ul,.sakuraBox02 ul{
  margin-bottom: 1em;
}

.sakuraBox01{
  padding-right:39px;
  border-right: 1px dashed #353535;
  box-sizing: border-box;
}

.sakuraBox02{
  padding-left:40px;
  box-sizing: border-box;
}

.sakuraBlock .last{
  border-bottom:0;
}

.sakuraBlock .imageB{
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.btn_access{
  display: inline-block;
  background-color: #353535;
  color:#fff;
  padding: 0.2em 1em 0.2em 1em;
}

.btn_access::before{
  content:"";
  display: inline-block;
  background: url(../images/icon_map.png) no-repeat 0;
  background-size: 18px 18px;
  width:18px;
  height:18px;
  padding-right:0.5em;
}



#hatimangu{
 background: url(../images/bg_hatiman.jpg) no-repeat top left;
 background-size: cover; 
}


.mapBox{
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2em;
}


.googlemap iframe{
  border:1px solid #a4a4a4;
  width:460px;
  height:460px;
}

.linkBox{
  display: grid;
  grid-template-columns: 1fr 1fr;
}

header,g-nav{
  width:1200px;
  margin: 0 auto;
}

.inner{
  width:1000px;
  margin: 0 auto;
}



#gyouji,#access{
  background: url(../images/bg_gyouji.png);
}



footer{
  width:100%;
}


footer .copyright{
    display: block;
    line-height: 3em;
    background-color:#353535;
    color:#fff;
    font-size:88%;
    text-align:center;
}



/*スマホ*/

@media screen and (min-width:1001px) {.sp,.sp_br{display: none}}

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

body{font-size: 16px;}

#pagetop{
  height: 40px;
  width: 40px;
  bottom: 40px;
}

.pagetop__arrow {
border-top: 2px solid #fff;
border-right: 2px solid #fff;
}



.sp-menubtn{
  color:#fff;
  line-height: 1.5em;
  padding: 1em;
  border-bottom: 1px solid #fff;
  text-align: center;
}

 
.g-nav {
  width: 100%;
  border-bottom: 1px solid #000;
  .menu-item {
    .menu-item-btn {
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #353535;
      color: #fff;
      cursor: pointer;
    }
    
    ul.menulist{
      display: none;
      li {
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #6c6c6c;
      }
    }
  }
}
 

.top-visual{
    height:500px;   
  }
  
  .top-visual figure{
    width:100%;
  }
  
.top-visual figure img{
    width:90px;
    height:auto;
    top:60px;
    right:40px;
  }
  
  
  .g-nav ul{
    width:100%;
    line-height: auto;
    display:block;
    justify-content:space-around;
  }

  .g-nav ul li {
    border-top: 1px solid #fff;
    text-indent: 1em;
  }

  .g-nav ul li a{
    position:relative;
    display: inline-block;
    color:#fff;
  }

  .ins{
    width:100%;
  }
  
  .section{
    padding: 0 2em;
  }

  .section img{
    display:block;
   margin:1em auto;
   max-width: 460px;
   width:100%
  }


  .block02{
    overflow: hidden;
  }
  .block02 img{
    display: block;
    width:460px;
    float:none;
    margin: 0 auto 2em;
  }

  #hatimangu img{width:100%}
  
  .sakuraBlock{
    width:100%;
    display:block;
  }
  
  
  .sakuraBox01,.sakuraBox02{
    width:100%;
  }

  .section .sakuraBlock .sakuraBox01{border-bottom:1px dashed #353535;}
  
  
  .sakuraBox01{
    padding-right:0;
    border-right:0;
  }
  
  .sakuraBox02{
    padding-left:0;
  }
  

  .sakuraBlock .imageB li img{
    max-width:210px;
  }
  
  
  .mapBox{
    text-align: center;
    /*display: grid;*/
    grid-template-columns: 1fr;
    /*margin-bottom: 2em;*/
  }
  .map{margin-bottom: 2em;}
  .googlemap iframe{
    width:100%;
    max-width:460px;
  }
  
  .linkBox{
    grid-template-columns: 1fr;
  }
  
  header,g-nav{
    width:1200px;
    margin: 0 auto;
  }
  

  
  
  
  #gyouji,#access{
    background: url(../images/bg_gyouji.png);
  }
  
  
  
  footer{
    width:100%;
  }
  
  
  footer .copyright{
      display: block;
      line-height: 3em;
      background-color:#353535;
      color:#fff;
      font-size:88%;
      text-align:center;
  }


/*メニューボタン*/
  .menu-btn {
      position: fixed;
      top: 10px;
      right:10px;
      display: flex;
      height: 50px;
      width: 50px;
      justify-content: center;
      align-items: center;
      z-index: 90;
      background-color:#353535;
      
  }
  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
      content: '';
      display: block;
      height: 3px;
      width: 25px;
      border-radius: 3px;
      background-color: #ffffff;
      position: absolute;
  }
  .menu-btn span:before {
      bottom: 8px;
  }
  .menu-btn span:after {
      top: 8px;
  }


  #menu-btn-check:checked ~ .menu-btn span {
      background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
  }
  #menu-btn-check:checked ~ .menu-btn span::before {
      bottom: 0;
      transform: rotate(45deg);
  }
  #menu-btn-check:checked ~ .menu-btn span::after {
      top: 0;
      transform: rotate(-45deg);
  }

 #menu-btn-check {
      display: none;
  }



.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 80;
    background-color: #353535;
    transition: all 0.5s;
}


#menu-btn-check:checked ~ .menu-content {
    left: 0;
}

.menu-content ul li{
  padding:1em;
  border-bottom: 1px solid #fff;
}
.menu-content a{
  color:#fff;
}



  footer .inner{
    overflow:hidden;
    height: auto;
  }

footer .innerWrap{padding: 30px 0}

  footer .inner .logo{
    float:none;
    margin:0 auto;
  }

  footer .inner .f-nav{
    float: none;
    width:100%;
    padding: 10px 30px;
  }

  footer .inner .f-nav ul{
  width:100%;
  }



}