@charset "UTF-8";
html,body{
  height: 1024 !important;
  overflow-y: hidden !important;
}
.wrap {
	animation: fadein 1s forwards;
}

@keyframes fadein {
	0% {opacity: 0}
	100% {opacity: 1}
}

#fixed{
    position: fixed;
}
.page .status-publish{
    width: 100%;
}
.mapplic-dynamic-sidebar .mapplic-element{
	max-width: 100% !important;
}
.mapplic-thumbnail-placeholder{
    background:#000 !important
}
#block-3,#block-4,#block-5,#block-6,#block-2{
    display: none;
}
.mapplic-edit-map{
    display: none;
}

.mapplic-element{
    height: 657px !important;
    margin: 0 !important;
}

/* mapplic */
.entry-content{
    background-color: #EEF0D5;
}
.entry-header{
    height: 3.5rem;
    letter-spacing:0.2em;
}
.entry-subttl{
    text-align: left;
    width: 198px;
    position: absolute;
    z-index: 6;
    bottom: 20px;
    left: 20px;
    background-color: #fff;
    padding: 10px 3px 4px 10px;
    border-radius: 10px;
    opacity: 0.9;
    font-weight: bold;
    border: #213A06 4px solid;
	line-height: 26px;
}
.entry-subttl span{
    font-size: 24px;
    color: #ff4500;
    font-weight: bold;
}
.entry-title{
    margin-left: 20px;
    width: 18rem;
    background-color: rgb(0, 64, 10);
    text-align: center;
    border-radius: 30px 30px;
    padding-top: 4px;
    margin-top: 15px;
    color: #fff;
}

.page-title{
  position: absolute;
  top: 118px;
  z-index: 6;
  left: 50px;
  background-color: rgb(0, 64, 10);
  padding: 0.5rem;
  color: #fff;
  border-radius: 5px;
  font-weight: bold;
  letter-spacing: 1.4px;
  font-size: 17px;
}
.home-link{
    position: absolute;
    width: 43rem;
    top: -1rem;
    display: flex;
    left: 21.15rem;
    justify-content: space-around;
    align-items: flex-end;
    z-index: 6;
}

.home-link a{
    text-decoration: none;
}
.home-link-2{
  position: absolute;
  width: 43rem;
  top: 1rem;
  display: flex;
  left: 21.15rem;
  justify-content: space-around;
  align-items: flex-end;
  z-index: 6;
}

.home-link-2 a{
  text-decoration: none;
}
.header-list-flex{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-list-flex p{
    letter-spacing: 0.6px;
    color: rgb(0, 64, 10);
    margin-bottom: 0px !important;
    text-align: center;
    line-height: 20px;
    font-size: 14px !important;
}

.current{
    border-bottom: solid 3px #005629;
    margin-bottom: -3px;
}

.home-icon{
    background-color: #626262;
    position: relative;
    padding: 18px 3px;
    top: 17px;
    left: 6px;
}

.home-icon p{
    color: #fff;
}

#cow{
    width: 43px;
    margin-bottom: 4px;
}

#bio{
    width: 40px !important;
    margin-bottom: 3px;
}
#car{
    width: 42px;
    margin-bottom: 3px;
}
#beef{
    width: 40px !important;
    margin-bottom: 4px;
}

#agriculture-home{
    width: 38px;
}

.tapp-content{
    position: relative;
    display: flex;
    justify-content: flex-end;
}
.tapp{
    position: absolute;
    top: -86px;
    margin-right: 30px;
    background-color: #fff;
    border: 3px solid #116907;
    padding: 3px;
    border-radius: 4px;
}

.shihoro-all{
    position: relative;
    z-index: 6;
}
.shihoro-all a{
    position: absolute;
    bottom: 600px;
    left: 20px;
    letter-spacing: 0.2em;
    text-decoration: none;
    color: #1e3c04 !important;
    font-weight: bold;
    background-color: #94bc90;
    padding: 4px 23px;
    border-radius: 8px;
    border: solid 4px #1e3c04;
}
.copy{
    position: absolute;
    z-index: 6;
    bottom: 0px;
    left: 20px;
	font-size: 10pt;
}
.mapplic-map .mapplic-zoomable{
    width: 496px;
}
.mapplic-list-container{
    right: 13px !important;
}

.mapplic-dir-item h4{
  font-weight: bold;
}

.post, .page{
    margin: 0 !important;
}

/* 施設の詳細情報 */
#post-9{
    position: fixed;
}
.insti-main{
    position: relative;
}

.insti-bg img{
  width: 90%;
  position: absolute;
  top: -52px;
  left: 55px;
}

.insti-content{
    position: absolute;
    top: 60px;
    left: 16px;
    background: antiquewhite;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    padding: 0rem 1.3rem;
    padding-top: 16px;
    width: 15rem;
}
.insti-bg{
    height: 668px;
    top: 145px;
    background-color: #EEF0D5;
    margin-top:25px;
}

.inst-content h1{
    text-align: center;
    font-size: 4rem;
}

.inst-content p{
    font-size: 16px;
}
.insti-title{
    margin-bottom: 6px !important;
    font-size: 20px !important;
}

.insti-address{
    margin-bottom: -0.1rem;
    font-size: 1.4rem;
}
.insti-back-page{
    position: relative;
}
.insti-back-page p{
    position: absolute;
    top: -750px;
    left: 867px;
    background-color: #626262;
    padding: 16px;
    border-radius: 5px;
    color: #fff;
    text-align: center;
}

.back-map{
  position: absolute;
  top: 655px;
  left: 34px;
  text-decoration: none;
  font-weight: bold;
  background-color: #94bc90;
  border: solid 4px #1e3c04;
  color: #1e3c04 !important;
  padding: 6px 7px 4px 41px;
  border-radius: 5px;
}

.back-map::before{
  content: '';
  height: 22px;
  position: absolute;
  background-image: url(../img/icon-back.png);
  width: 24px;
  transform: scaleX(-1);
  display: inline-block;
  left: 9px;
}

/* スライダー */
.slide{
    height: 100vh;
    width: 100vw;
    margin-top: -50px !important;
    flex: none;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
.slide img{
    display:block;
    float:left;
    width:100%;
    height:120%;
    transform:translateX(100%);
    position: absolute;
  }
.slide img:nth-of-type(1){
    transform:translateX(0);
    animation:slide 165s 0s infinite;
  }
.slide img:nth-of-type(2){
    animation:slide 165s 5s infinite;
  }
.slide img:nth-of-type(3){
    animation:slide 165s 10s infinite;
  }
.slide img:nth-of-type(4){
    animation:slide 165s 15s infinite;
  }
.slide img:nth-of-type(5){
    animation:slide 165s 20s infinite;
  }
.slide img:nth-of-type(6){
    animation:slide 165s 25s infinite;
  }
.slide img:nth-of-type(7){
    animation:slide 165s 30s infinite;
  }
.slide img:nth-of-type(8){
    animation:slide 165s 35s infinite;
  }
.slide img:nth-of-type(9){
    animation:slide 165s 40s infinite;
  }
.slide img:nth-of-type(10){
    animation:slide 165s 45s infinite;
  }
.slide img:nth-of-type(11){
    animation:slide 165s 50s infinite;
  }
.slide img:nth-of-type(12){
    animation:slide 165s 55s infinite;
  }
.slide img:nth-of-type(13){
    animation:slide 165s 60s infinite;
  }
.slide img:nth-of-type(14){
    animation:slide 165s 65s infinite;
  }
.slide img:nth-of-type(15){
    animation:slide 165s 70s infinite;}
.slide img:nth-of-type(16){
    animation:slide 165s 75s infinite;
  }
.slide img:nth-of-type(17){
    animation:slide 165s 80s infinite;
  }
.slide img:nth-of-type(18){
    animation:slide 165s 85s infinite;
  }
.slide img:nth-of-type(19){
    animation:slide 165s 90s infinite;
  }
.slide img:nth-of-type(20){
    animation:slide 165s 100s infinite;
  }
.slide img:nth-of-type(21){
    animation:slide 165s 105s infinite;
  }
.slide img:nth-of-type(22){
    animation:slide 165s 110s infinite;
  }
.slide img:nth-of-type(23){
    animation:slide 165s 115s infinite;
  }
.slide img:nth-of-type(24){
    animation:slide 165s 120s infinite;
  }
.slide img:nth-of-type(25){
    animation:slide 165s 125s infinite;
  }
.slide img:nth-of-type(26){
    animation:slide 165s 1165s infinite;
  }
.slide img:nth-of-type(27){
    animation:slide 165s 135s infinite;
  }
.slide img:nth-of-type(28){
    animation:slide 165s 140s infinite;
  }
.slide img:nth-of-type(29){
    animation:slide 165s 145s infinite;
  }
.slide img:nth-of-type(30){
    animation:slide 165s 150s infinite;
  }
.slide img:nth-of-type(31){
    animation:slide 165s 155s infinite;
  }
.slide img:nth-of-type(32){
    animation:slide 165s 160s infinite;
  }
.slide img:nth-of-type(33){
    animation:slide 170s 165s infinite;
  }
  
  @keyframes slide{
    0%{
      transform:translateX(100%);
      opacity:1;
    }
    3%{
      transform:translateX(0%);
      opacity:1;
    }
    20%{
      transform:translateX(0%);
      opacity:1;
    }
    23%{
      transform:translateX(-100%);
      opacity:0;
    }
    99.999%{
      transform:translateX(-100%);
      opacity:0;
    }
    100%{
      transform:translateX(100%);
      opacity:1;
    }
  }
  .slide_cont:first-child {
     animation-name: slide; /* キーフレーム使用 */
     animation-duration: 5s; /* アニメーション時間を5秒に設定 */
     animation-delay: 0s; /* アニメーション開始までの時間を0秒に設定 */
     animation-iteration-count: infinite; /* アニメーションをずっと続ける */
    }
    
    .metaslider .theme-default .nivoSlider{
      margin-top: -48px !important;
    }