div .middle2 {
    margin: 30px;
    text-align: center;
}

.middle {
  /*真ん中の要素*/
  border-top: 1px solid #000000; 
  border-bottom: 1px solid #000000; 
  padding: 5px 30px 5px 30px;
  margin: 30px;
  text-align: center;
    font-size:  26px; 
}
.above {
  background: skyblue;
}
.under {
  background: silver;
}

.welcomebox{
  width:70%;
    padding: 12px;
    margin: auto;
   border : solid 0px;
    border-color: silver;
  font-size:1.2em;
text-align:center;
  
}

div .waku{
  padding: 20px;
  margin: 3px 20px 20px 3px;
  text-align: center;
  color:black;
  background-color: white;
}

.company-profile{
  padding: 6px;
  margin: 10px 30px 30px 20px;
  text-align: center;
  color:white;
  font-size:20px;
  background-color: black;
}

.cbblogo{
  font-size:18px;
  font-family: "arial black";
}

.hoverimage {
  margin: auto;
  padding: 20 0 0 0 ;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}

/*ホバーエフェクト*/
.hoverimage img {
  width: 120px;
  height: auto;
  transform: scale(1);
  transition: .15s ease-in-out;
}

.hoverimage:hover img {
  transform: scale(1.3);
}

figure.gazo-box {
float: left;
padding: 20px;
    margin: auto;
}

figure.gazo-box img{
  margin: auto;
  width: 250px;
  height: 180px;
  text-align: center
  object-fit: cover; /* この一行を追加するだけ！ */
}

#policy td, th {
  padding: 10px 0;
/*padding: 5px 0px 0px 5px;*/
}

.onlyslide {
    position   : relative;
    overflow   : hidden;
                      /* 画像のサイズに合わせて変更ください */
    width      : 600px;
    height     : 400px;
    margin     : auto;      /* サンプルは中央寄せの背景：白 */
    background : #fff;
  }
   
   /*=== 画像の設定 ======================================= */
  .onlyslide img {
    display    : block;
    position   : absolute;
                        /* 画像のサイズを表示エリアに合せる */
    width      : inherit;
    height     : inherit;
    opacity    : 0;
  animation  : slideAnime 30s ease infinite;
  }
   
   /*=== スライドのアニメーションを段差で開始する ========= */
.onlyslide img:nth-of-type(1) { animation-delay: 0s }
.onlyslide img:nth-of-type(2) { animation-delay: 7s }
.onlyslide img:nth-of-type(3) { animation-delay: 14s }
.onlyslide img:nth-of-type(4) { animation-delay: 21s }
.onlyslide img:nth-of-type(5) { animation-delay: 28s }
 
   /*=== スライドのアニメーション ========================= */
@keyframes slideAnime{
   0% { opacity: 0 }
   10% { opacity: 1 }
  20% { opacity: 1 }
  30% { opacity: 0 }
 100% { opacity: 0 }
}