body{
    background-image: url(pic/haikei.jpg);
    margin: 0;
        font-family: serif;
}
.header{
    display: flex;
    justify-content: space-between;
    position: fixed;
    width:100%;
    background-color:white;
    background-image: url(pic/head.jpg);
    background-size: cover;
    align-items: center;
    z-index: 200;
}
.header img{
  width:400px;
  height:80px;
}
.headnav{
    align-items: center;
    width: 40%;
    margin-right: 10px;
}

.headnav ul{
  display: flex;
  list-style-type: none;
  justify-content: space-between;
}
.headnav li{

  font-size: 18px;
}

.headnav a{
  text-decoration: none;
  color:black;
}

.headnav img{
    width: 60px;
    height: 90px;
}
.headnav img:hover,
.headnav img:focus{
    transform: scale(1.4);
    transition: transform .8s;
}
.burger{
    width:40px;
    height: 40px;
    background-image: url(pic/menu.png);
    background-repeat: no-repeat;
    border-radius: 4px;
    z-index: 2;
    margin-right: 20px;
    display:none;
    font-family: serif;
}
.burger:hover{
    background-color: #ddd;
}
.burger.is-active{
    background-image: url(pic/close.png);
}
/* メニュー */
.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background-color:gray;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.9;
  display:none;
}
.menu.is-active{
    display: flex;
}
.menu ul{
  display: block;
}
.menu li{
  font-size: 30px;
}
.menu li a{
      color:white;
}

.greeting{
    padding-top: 130px;
    text-align: center;
    font-family: serif;
}
.greeting img{
    width: 70%;
    border-radius:10%;
}

.title{
    text-align: center;
}
.box{
    padding-left: 10%;
    padding-right: 10%;
    display: flex;
    margin-bottom: 10%;
}
.boxleft{
    display: block;
    width: 60%;
    
}
.boxright{
    display: block;
    width: 30%;
    margin-left: 10%;
}
.box img{
    width: 100%;

    border-radius: 5%;
}

.march{
    color: #66CCCC;
}
.march img{
     border: 9px solid #66CCCC;
}

.april{
    color: #663300;
}
.april img{
     border: 9px solid #663300;
}

.may{
    color: #99CC33;
}
.may img{
     border: 9px solid #99CC33;
}

.june{
    color: #009900;
}
.june img{
     border: 9px solid #009900;
}

.sept{
    color: #CC9900;
}
.sept img{
     border: 9px solid #CC9900;
}

.octo{
    color: #FFCC33;
}
.octo img{
     border: 9px solid #FFCC33;
}

.rice{
    color: black;
}
.rice img{
     border: 9px solid black;
}



.coment{
    width: 80%;
    margin:0 auto;
    margin-top: 0;

}

.footer{
    margin-top: 100px;
    display:flex;
    justify-content: center;
    background-image: url(pic/footer.jpg);
    background-size: cover;
    color: white;
    font-family: serif;
}

.copy{
    background-color: black;
    font-family: serif;
    color: wheat;
    text-align: center;
}
.copy p{
    margin-top: 0px;
}
/*==================================================
ふわっ
===================================*/
/* 下から */

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:1.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}

.fadeUp2{
animation-name:fadeUpAnime2;
animation-duration:3s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime2{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}


.fadeLeft{
animation-name:fadeLeftAnime;
animation-duration:1.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeLeftAnime{
  from {
    opacity: 0;
  transform: translate(-100px,100px);
  }

  to {
    opacity: 1;
  transform: translate(0,0);
  }
}

.fadeRight{
animation-name:fadeRightAnime;
animation-duration:1.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeRightAnime{
  from {
    opacity: 0;
  transform: translate(100px,100px);
  }

  to {
    opacity: 1;
  transform: translate(0,0);
  }
}




/* ふわっと */
.fadeIn{
animation-name:fadeInAnime;
animation-duration:1.5s;
animation-fill-mode:forwards;
animation-delay: 0.5s;
opacity:0;
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
/* ふわっと ここまで*/





/*==================================================
アニメーション設定
===================================*/

/* アニメーションの回数を決めるCSS*/

.count2{  
  animation-iteration-count: 2;/*この数字を必要回数分に変更*/
}

.countinfinite{  
  animation-iteration-count: infinite;/*無限ループ*/
}

/* アニメーションスタートの遅延時間を決めるCSS*/

.delay-time05{  
  animation-delay: 0.5s;
}

.delay-time1{  
  animation-delay: 1s;
}

.delay-time15{  
  animation-delay: 1.5s;
}

.delay-time2{  
  animation-delay: 2s;
}

.delay-time25{  
  animation-delay: 2.5s;
}

/* アニメーション自体が変化する時間を決めるCSS*/

.change-time05{  
  animation-duration: 0.5s;
}

.change-time1{  
  animation-duration: 1s;
}

.change-time15{  
  animation-duration: 1.5s;
}

.change-time2{  
  animation-duration: 2s;
}

.change-time25{  
  animation-duration: 2.5s;
}

/*上へ戻るボタン--------------------------------------*/
.upbutton{
  position: fixed;
  right: 0;
  bottom: 0;
  font-size: 50px;
  color: #fff;
  background: rgba(0,0,0,0);
  padding: 10px;
  cursor: pointer;
  transition: .3s;
  /*デフォルトで非表示にする*/
  opacity: 0;
  visibility: hidden;
}
.upbutton img{
    width: 50px;
    height: 70px;
}

/*このクラスが付与されると表示する*/
.active{
  opacity: 1;
  visibility: visible;
}
/*上へ戻るボタン--------------------------------------*/



/*スマホOK設定--------------------------------------*/
@media(max-width: 660px){
    h3{
        font-size: 15px;
    }
.greeting{
 padding-top: 80px;
 text-align: center;
}
.header img{
  width:300px;
  height:60px;
}
.headnav {
  display: none;
}
.menu a{
  text-decoration: none;
}
.menu ul{
  list-style-type: none;
}
.burger{
  display: flex;
    }
.box{
    display: block;
    margin-bottom: 20%;
}
.boxleft{
    width: 100%;
    margin-left: -9px;
    }
.boxright{
    width: 100%;   
    margin-left: 0;
    }
.footer{
    margin-top: 50px;
    display:block;
}
.footer a{
    font-size: 15px;    
    }
    .footer img{
        display: none;
    }
