.fuwafuwa {
  animation: fuwafuwa 3s ease-in-out infinite alternate;
  background: url(../img/yamanashi-map.svg) no-repeat center center / 60px auto;
  display: inline-block;
  transition: 1.5s ease-in-out;
  width: 400px;
  height: 400px;
  margin-top: 15px;
}
 
@keyframes fuwafuwa {
  0% {
    transform:translate(0, 0) rotate(-7deg);
  }
  50% {
    transform:translate(0, -7px) rotate(0deg);
  }
  100% {
    transform:translate(0, 0) rotate(7deg);
  }
}








/* 矢印が回転 */
.fit-bt {
    position: relative;
    text-decoration: none;
    display: inline-block;
    background: #fff;
    color: #76B028;
    padding: 5px 50px 5px 30px;
    border: 2px solid #76B028;
    border-radius: 30px;
    text-align: center;
    outline: none;
    transition: ease .2s;
}

.btnarrow3::after {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    background-image: url(../img/btn-ar.png);
    background-size: contain;
    vertical-align: middle;
    position: absolute;
    top: 20%;
    right: 8px;
    transform: rotate(0deg);
    transition: all .3s;
}
/* ボタン共通設定 */
.fit-bt:hover{
  background:#4B8300;
  color: #fff;
}
/*hoverした際のアニメーション*/
.btnarrow3:hover::after{
  animation: arrowrotate .3s;
}

@keyframes arrowrotate {
100% {
    transform: rotate(360deg);
  }
}
.navbar-nav .btn-bl {
      padding: 5px 30px 5px 15px;
}
.navbar-nav {
  align-items: center;
}



/*メールフォーム*/
.mw_wp_form {
  width: 100%;
  color: #333;
}
input {
    border: 1px solid #ccc;
    margin: 0;
    padding: 20px;
}

.mw_wp_form table.mailform-tbl {
width: 80%;
    margin: 0 auto;
}

.mw_wp_form table tr {
  width: 100%;
  border-bottom: 1px dotted #ccc;
  padding: 30px 0;
  font-weight: normal;
}

.mw_wp_form table tr:first-child {
  border-top: 1px dotted #ccc;
}

.mw_wp_form table th {
  padding: 20px 0;
  text-align: left;
  vertical-align: top;
  font-weight: normal;
  width: 30%;
  float: left;
}

.mw_wp_form table th .attention {
  font-size: 80%;
  margin-left: 10px;
  color: red;
  padding: 3px;
}

.mw_wp_form table td {
  padding: 20px 0;
  width: 70%;
  float: left;
}
.mw_wp_form table td.att{
    width: 100%;
    font-size: 14px;
    line-height: 1.7;
}

.mw_wp_form table td.w50 input, .mw_wp_form table td.w50 select {
  width: 50%;
  box-sizing: border-box;
}

.mw_wp_form table td.w80 input, .mw_wp_form table td.w80 select {
  width: 80%;
  box-sizing: border-box;
}

.mw_wp_form table td.w80 textarea {
  width: 80%;
  box-sizing: border-box;
}

.mw_wp_form #submit-button {
  text-align: center;
}

.mw_wp_form #submit-button input {
    margin: 30px;
    display: inline-block;
    padding: 10px 50px;
    border: 1px solid #76b028;
    background: #76b028;
    color: #fff;
    box-sizing: border-box;
    height: 60px;
    -webkit-appearance: none;
    border-radius: 5px;
    font-size: 100%;
}

.mw_wp_form #submit-button input[name="submitBack"] {
  margin: 1em;
  display: inline-block;
  padding: 10px 30px;
  border: 1px solid #999;
  background: #999;
  color: white;
  box-sizing: border-box;
  height: 40px;
  -webkit-appearance: none;
  border-radius: 5px;
  font-size: 90%;
}

.mw_wp_form .form_step {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px 0 40px 0;
  list-style: none;
}

.mw_wp_form .form_step>li {
  display: block;
  position: relative;
  padding: 0.5em;
  width: 22%;
  border: 1px solid currentColor;
  color: #76b028;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin: 0;
}

.mw_wp_form .form_step>li:nth-of-type(n + 2) {
  margin: 0px 0px 0px 4%;
}

.mw_wp_form .form_step>li:nth-of-type(n + 2):before {
  position: absolute;
  top: 50%;
  left: -1.5em;
  width: 0.5em;
  height: 0.5em;
  border-top: 2px solid #76b028;
  border-left: 2px solid #76b028;
  transform: translateY(-50%) rotate(135deg);
  content: "";
}

.mw_wp_form_input .form_step>li:nth-of-type(1), .mw_wp_form_preview .form_step>li:nth-of-type(2), .mw_wp_form_complete .form_step>li:nth-of-type(3) {
  background-color: #76b028;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .mw_wp_form .form_step>li {
    font-size: 10px;
    width: 100%;
  }
  .mw_wp_form table td {
    width: 100%;
    float: right;
  }
  .mw_wp_form table td.w50 input, .mw_wp_form table td.w50 select {
    width: 100%;
    box-sizing: border-box;
  }
  .mw_wp_form table td.w80 input, .mw_wp_form table td.w80 select {
    width: 100%;
    box-sizing: border-box;
  }
  .mw_wp_form table td.w80 textarea {
    max-width: 100%;
    box-sizing: border-box;
  }
  .mailform-tbl textarea {
    width: 100%;
    padding: 20px;
    border-top: 1px solid #222;
  }
}

/*========= スクロール途中でヘッダーが表示＆非表示するためのCSS ===============*/

#header{
    /*fixedで上部固定*/
  position: fixed;
  height: 70px;
  width:100%;
  font-size: 1.4rem;
    z-index: 999;/*最前面へ*/
  /*以下はレイアウトのためのCSS*/
  display: flex;
  justify-content: space-between;
  align-items: center;
  background:#fff;
  color:#333;
  text-align: center;
  padding: 20px;
}

/*　上に上がる動き　*/

#header.UpMove{
  animation: UpHead 0.5s forwards;
}

@keyframes UpHead{
  from {
    opacity: 1;
  transform: translateY(0);
  }
  to {
    opacity: 0;
  transform: translateY(-100px);
  }
}

/*　下に下がる動き　*/

#header.DownMove{
  animation: DownHead 0.5s forwards;
}
@keyframes DownHead{
  from {
    opacity: 0;
  transform: translateY(-100px);
  }
  to {
    opacity: 1;
  transform: translateY(0);
  }
}




/*========= ページトップのためのCSS ===============*/
/*リンクの形状*/
#page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #76b028;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.6rem;
    transition: all 0.3s;
}

#page-top a:hover{
  background: #777;
}

/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 10px;
  bottom:10px;
  z-index: 2;
    /*はじめは非表示*/
  opacity: 0;
  transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }
  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
    opacity: 1;
  transform: translateY(0);
  }
  to {
    opacity: 1;
  transform: translateY(100px);
  }
}


/* タブレット */
@media only screen and (min-width: 767px) and (max-width: 960px) {


/*==================================================
　5-2-4 MENUがCLOSEに
===================================*/

.openbtn{
  position: relative;
  background:#679E32;
  cursor: pointer;
    width: 50px;
    height:50px;
  border-radius: 5px;
}

/*ボタン内側*/
.openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 5px;
  background: #fff;
    width: 45%;
  }


.openbtn span:nth-of-type(1) {
  top:13px; 
}

.openbtn span:nth-of-type(2) {
  top:19px;
}

.openbtn span:nth-of-type(3) {
  top:25px;
}

.openbtn span:nth-of-type(3)::after {
  content:"Menu";/*3つ目の要素のafterにMenu表示を指定*/
  position: absolute;
  top:10px;
  left:3px;
  color: #fff;
  font-size: 0.6rem;
  text-transform: uppercase;
}

/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/

.openbtn.active span:nth-of-type(1) {
    top: 14px;
    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: 26px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(3)::after {
  content:"Close";/*3つ目の要素のafterにClose表示を指定*/
    transform: translateY(0) rotate(-45deg);
  top:10px;
  left:8px;
}
/*========= ボタンのためのCSS ===============*/
.openbtn{
  position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
  top:10px;
  right: 10px;
  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: #fff;
    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%;
}
}
@media screen and (max-width: 590px) {
/*==================================================
　5-2-4 MENUがCLOSEに
===================================*/

.openbtn{
  position: relative;
  background:#679E32;
  cursor: pointer;
    width: 50px;
    height:50px;
  border-radius: 5px;
}

/*ボタン内側*/
.openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 5px;
  background: #fff;
    width: 45%;
  }


.openbtn span:nth-of-type(1) {
  top:13px; 
}

.openbtn span:nth-of-type(2) {
  top:19px;
}

.openbtn span:nth-of-type(3) {
  top:25px;
}

.openbtn span:nth-of-type(3)::after {
  content:"Menu";/*3つ目の要素のafterにMenu表示を指定*/
  position: absolute;
  top:10px;
  left:3px;
  color: #fff;
  font-size: 0.6rem;
  text-transform: uppercase;
}

/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/

.openbtn.active span:nth-of-type(1) {
    top: 14px;
    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: 26px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(3)::after {
  content:"Close";/*3つ目の要素のafterにClose表示を指定*/
    transform: translateY(0) rotate(-45deg);
  top:10px;
  left:8px;
}
/*========= ボタンのためのCSS ===============*/
.openbtn{
  position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
  top:10px;
  right: 10px;
  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: #fff;
    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%;
}
#header {
  padding: 0;
}
.navbar {
  padding: 0;
}
    .navbar-collapse {
        background-color: #fff;
        padding-top: 20px;
        padding-bottom: 20px;
    }
.navbar-toggler {
    padding: 0;
    font-size: 0;
    line-height: 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
}
.nav-justified li {
  border-bottom: 1px solid #ccc;
}
.navbar-nav li {
    margin-right: 0;
    position: relative;
    padding: 10px 20px;
}
.nav-link {
    display: block;
    padding: 0 0 3px 1rem;
}
.navbar-nav {
    align-items: unset;
    background-color: #efefef;
}
.nav-justified .nav-item {
  text-align: left;
}

.navbar-collapse > ul > li {
        display: block;
        width: 100%;
    }
.navbar-collapse .child_menu_button {
        display: block;
        position: absolute;
        text-align: center;
        width: 60px;
        height: 39px;
        right: 0px;
        top: 1px;
        z-index: 5;
        cursor: pointer;
    }
.navbar-collapse .child_menu_button .icon:before {
        content: '';
        background: url("../img/arrow.png");
        background-size: contain;
        text-align: center;
        display: block;
        width: 20px;
        height: 20px;
        line-height: 20px;
        position: absolute;
        left: 20px;
        top: 10px;
        -webkit-transition: transform 0.5s ease;
        -moz-transition: transform 0.5s ease;
        -ms-transition: transform 0.5s ease;
        -o-transition: transform 0.5s ease;
        transition: transform 0.5s ease;
    }
.navbar-brand {
  padding: 5px 10px;
}
.nav-justified .nav-item.kengaku {
  text-align: center;
}
}



/*==================================================
Works スライダーのためのcss
===================================*/
.works-slider {/*横幅94%で左右に余白を持たせて中央寄せ*/
    width:100%;
    margin:0 auto;
}

.works-slider img {
    width:40vw;/*スライダー内の画像を60vwにしてレスポンシブ化*/
    height:400px;
    object-fit: cover;
    border-radius: 20px;
}
.works-slider .slider-txt {
  width: 40vw;
} 
.works-slider .slick-slide {
  transform: scale(0.8);/*左右の画像のサイズを80%に*/
  transition: all .5s;/*拡大や透過のアニメーションを0.5秒で行う*/
  opacity: 0.5;/*透過50%*/
}

.works-slider .slick-slide.slick-center{
  transform: scale(1);/*中央の画像のサイズだけ等倍に*/
  opacity: 1;/*透過なし*/
}





/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;/*絶対配置にする*/
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #666;/*矢印の色*/
    border-right: 2px solid #666;/*矢印の色*/
    height: 15px;
    width: 15px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left: -1.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right: -1.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
    text-align:center;
  margin:20px 0 0 0;
}

.slick-dots li {
    display:inline-block;
  margin:0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width:10px;/*ドットボタンのサイズ*/
    height:15px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#fff;/*ドットボタンの色*/
    border: 1px solid #76B028;
}

.slick-dots .slick-active button{
    background:#76b028;/*ドットボタンの現在地表示の色*/
}
.tag-slider .slick-slide,
.tag-slider02 .slick-slide {
    margin:0 10px;/*スライド左右の余白調整*/
}


@media screen and (max-width: 590px) {
  .works-slider img {
    width:60vw;/*スライダー内の画像を60vwにしてレスポンシブ化*/
    height:auto;
    height: 200px;
}
.works-slider .slider-txt {
  width: 60vw;
} 
.works-slider .slick-slide {
  transform: scale(0.7);
  }
.slick-next {
  right: -15px;
}
.slick-prev {
  left: -15px;
}
.works-comm {
  font-size: 1.4rem;
}
}



/*=== 9-1-2 丸が動いてスクロールを促す ====*/

/*スクロールダウン全体の場所*/
.scrolldown2{
    /*描画位置※位置は適宜調整してください*/
  position:absolute;
  bottom:10px;
  left:50%;
  z-index: 2;
}

/*Scrollテキストの描写*/
.scrolldown2 span{
    /*描画位置*/
  position: absolute;
  left:10px;
  bottom:10px;
    /*テキストの形状*/
  color: #76B028;
  font-size: 1rem;
  letter-spacing: 0.05em;
  /*縦書き設定*/
  -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

/* 丸の描写 */
.scrolldown2:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom:0;
    left:-4px;
    /*丸の形状*/
  width:10px;
  height:10px;
  border-radius: 50%;
  background:#76B028;
    /*丸の動き1.6秒かけて透過し、永遠にループ*/
  animation:
    circlemove 1.6s ease-in-out infinite,
    cirlemovehide 1.6s ease-out infinite;
}

/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove{
      0%{bottom:45px;}
     100%{bottom:-5px;}
 }

/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide{
      0%{opacity:0}
     50%{opacity:1;}
    80%{opacity:0.9;}
  100%{opacity:0;}
 }

/* 線の描写 */
.scrolldown2:after{
  content:"";
    /*描画位置*/
  position: absolute;
  bottom:0;
  left:0;
    /*線の形状*/
  width:2px;
  height: 50px;
  background:#76B028;
}



/*スクロールダウン全体の場所*/
.scrolldown1{
    /*描画位置※位置は適宜調整してください*/
  position:absolute;
  left:49%;
  bottom:10px;
    /*全体の高さ*/
  height:50px;
}

/*Scrollテキストの描写*/
.scrolldown1 span{
    /*描画位置*/
  position: absolute;
  left:-15px;
  top: -15px;
    /*テキストの形状*/
  color: #eee;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* 線の描写 */
.scrolldown1::after{
  content: "";
    /*描画位置*/
  position: absolute;
  top: 0;
    /*線の形状*/
  display: inline-block;
  vertical-align: middle;
  color: #fff;
  line-height: 1;
  width: 1.5em;
  height: 1.5em;
  border: 0.1em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(-25%) rotate(135deg);
    /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 1.4s ease-in-out infinite;
  opacity:0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
  0%{
    height:0;
    top:0;
    opacity: 0;
  }
  30%{
    height:1.5em;
    opacity: 1;
  }
  100%{
    height:1.5em;
    top:50px;
    opacity: 1;
  }
}