  footer{
    text-align: center;
    margin: 0px; 
  }
 body{
  background-image:url(jpg/haikeihoshi.jpg)
 }
  
  h2{
    margin: 0px;
  }
  h5{
    margin: 0px;
  }
  h1{
    margin: 0px;
  }
  
  .phonenumber{
   text-align: right;
   margin-right: 20px;
   font-size: 25px;


  }
  .phonenumber h2{
    margin-bottom: 0px;
   margin-top: 0px;
   line-height: 30px;
  }
  .phonenumber h3{
    margin-bottom: 0px;
    margin-top: 0px;
    
  }
  .phonenumber h6{
    font-size: 15px;
    margin-top: 0px;
    margin-bottom: 0px;
    line-height: 25px;
    
  }
  .phonenumber a{
    font-size: 18px;
    margin-top: 0px;
    margin-bottom: 0px;
    color: crimson;
    text-align: center;

  }
  
  #nav{
    list-style: none;
    overflow: hidden;
    margin: 0px;
    padding: 0px;
    margin-bottom: 0px;
    margin-left: auto;
    margin-right: auto;
    
  }
  #nav li{
    width: 150px;
    text-align: center;
    background-color: rgb(80, 107, 241);
    float:right;
    height: 30px;
    line-height: 30px;
    margin-right: 2px;
    font-size: 13px;
  }
  #nav li a{
    text-decoration: none;
    color: #fff;
    font-weight: bold;
   padding:0px;
  }
  .syukuhaku span{
    display: inline-block;
    width: 3em;
    text-align:center;
    }
  
   #syu{
     text-align: center;
   } 
   
   #syu li{
     text-align:left;
     display: block;
     /* padding-left: 300px; */
     /* line-height: 45px; */
   }
  
   .kiyaku{
     text-align: center;
   }
   .kiyaku h1{
     font-size: 50px;
   }
   .aisatsu{
     text-align: center;
     font-family: Verdana, Geneva, Tahoma, sans-serif;
   }
   .map ul{
    
    list-style: none;
   float: left;
    
   }
   
   .google{
     text-align: center;
     
   }
   
  
   .goriyo {
     text-align: center;
     margin-bottom: -50px;
   }
   .goriyo2 {
    text-align: center;
  }
   .goriyo li{
     text-align: left;
   }
   .goriyo2 li{
    text-align: left;
   }

   table{
    width: 100%;
    border-collapse: collapse;
  }
  
  table tr{
    border-bottom: solid 2px rgb(0, 0, 0);
  }
  
  table tr:last-child{
    border-bottom: none;
  }
  
  table th{
    position: relative;
    text-align: center;
    width: 40%;
    background-color: rgb(80, 107, 241);
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 5px 0;
  }
  
  table th:after{
    display: block;
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    top:calc(50% - 10px);
    right:-10px;
    border-left: 10px solid rgb(80, 107, 241);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }
  
  table td{
    text-align: left;
    width: 70%;
    text-align: center;
    background-color: #ffffff;
    color: black;
    padding: 10px 0;
  }
  
  .shisetu h2{
    text-align: center;
  }
  .shisetusyasin{
    display:table-cell;
    text-align: center;
    margin: 10px;
   
  }
  .shisetusyasin2 {
    display:table-cell;
    text-align: center;
    margin: 10px;
   
  }

 .midashi{
  margin-top: 20px; 
  margin-bottom: 50px;
 }

 .orei{
  font-size: 20px;
  text-align: center;
  margin-bottom: 20px;
 }
  .oyasumi p{
    font-size: 15px;
    margin-top: 0px;
    margin-bottom: 0px;
    text-align: center; 
  }

  .o-na- p{
    font-size: 18px;
    margin-top: 0px;
    margin-bottom: 0px;
    text-align: right;
    /* margin-right: 150px; */

  }
  .hr1{
    border: none;
    border-top: 20px double rgb(230, 119, 174);
  }

  .container{
    height: 700px;
    width: 964px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
  }
  .image {
    position: absolute;
    
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
   
 
    background-size: contain;
    background-position: center center;
    background-repeat:  no-repeat;
    
    animation: image-switch-animation 20s infinite;
  }

  .src1 {
    background-image: url(jpg/KiraRi看板.jpg);
    
  }
  .src2 {
    background-image: url(jpg/Welcome.jpeg);
    
  }
  .src3 {
    background-image: url(jpg/sagyou.JPG);
    
  }
  .src4 {
    background-image: url(jpg/Welcome5.jpeg);
    
  }
  
  .image:nth-of-type(1) {
    animation-delay: 0s;
  }
  .image:nth-of-type(2) {
    animation-delay: 5s;
  }
  .image:nth-of-type(3) {
    animation-delay: 10s;
  }
  .image:nth-of-type(4) {
    animation-delay: 15s;
  }
  
  @keyframes image-switch-animation {
    0%{ opacity: 0;}
    5%{ opacity: 1;}
    25%{ opacity: 1;}
    30%{ opacity: 0;}
    100%{ opacity: 0;}
  }
