body{
    background-image: url(pic/haikei.jpg);
    margin: 0;
}
.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%;
}
.kaisya-gaiyou {
    width: 80%;
    border-collapse: collapse;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
}

.kaisya-gaiyou th,
.kaisya-gaiyou td{
    padding: 16px;
    font-family: serif;
    border-left: 1px solid #333;
    border-bottom: 1px solid #333;
}
.kaisya-gaiyou th{
    background-color: papayawhip;
}
.kaisya-gaiyou td{
    background-color: #fbf9f9;
}

.jigyou-list{
    list-style: none;
    padding: 0;
}
.jigyou-list li{
    margin: 5px 0;
}

.gaiyou{
    display: flex;
    justify-content: center;
}
.pic{
    padding-left: 10%;
    padding-right: 10%;
    display: flex;
}
.picleft{
    display: block;
    width: 60%;
    
}
.picright{
    display: block;
    margin-top: 8%;
    width: 40%;
    animation: bounce 2s ease-in-out forwards;
  animation-iteration-count: infinite;
}
.pic img{
    width: 100%;
    padding-bottom: 8%;
    border-radius: 50%;
}

/* ヘリふわふわするアニメーション */
@keyframes fuwafuwa {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
/* 大小するアニメーション */

@keyframes bounce {
  0% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
  50% {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
  }
}

/* このクラスをつけると回転を無限に繰り返します */
.anime-fuwafuwa {
  animation: 2s fuwafuwa infinite;
}


.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);
  }
}
/* ふわっと */
.fadeIn{
animation-name:fadeInAnime;
animation-duration:1.5s;
animation-fill-mode:forwards;
animation-delay: 0.7s;
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;
}





/*スマホ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;
    }
.table{
    font-size: 15px;
}
.footer{
    margin-top: 50px;
    display:block;
}
.footer a{
    font-size: 15px;    
    }
    .footer img{
        display: none;
    }
