@charset "utf-8";
 /*=== 画像の表示エリア ================================= */
.slide {
  position   : relative;
  overflow   : hidden;
                    /* 画像のサイズに合わせて変更ください */
  width      : 100%;
  height     : 500px;
  margin     : auto;      /* サンプルは中央寄せの背景：白 */
  background : #fff;
  margin-top: 50px;
}


@media screen and (max-width: 800px) {
.slide {
 height     :300px;
    }
}
 
 /*=== 画像の設定 ======================================= */
.slide img {
  display    : block;
  position   : absolute;
                      /* 画像のサイズを表示エリアに合せる */
  width      : inherit;
  height     : inherit;
  opacity    : 0;
  animation  : slideAnime 28s ease infinite;
}
 
 /*=== スライドのアニメーションを段差で開始する ========= */
.slide img:nth-of-type(1) { animation-delay: 0s }
.slide img:nth-of-type(2) { animation-delay: 4s }
.slide img:nth-of-type(3) { animation-delay: 8s }
.slide img:nth-of-type(4) { animation-delay: 12s }
.slide img:nth-of-type(5) { animation-delay: 16s }
.slide img:nth-of-type(6) { animation-delay: 20s }
.slide img:nth-of-type(7) { animation-delay: 24s }
 
 /*=== スライドのアニメーション ========================= */
@keyframes slideAnime{
   0% { opacity: 0 }
   2% { opacity: 1 }
  14% { opacity: 1 }
  16% { opacity: 0 }
 100% { opacity: 0 }
}

/*****************************************************/

.cp_cssslider {width: 100%;padding-top: 75%; /* 画像の高さ */position: relative;margin: 2em auto;text-align: center;}
.cp_cssslider > img {position: absolute;left: 0;top: 0;transition: all 0.5s;/* border-radius: 3px; *//* box-shadow:0px 0px 5px 0px rgba(0,0,0,0.3); */}
.cp_cssslider input[name='cp_switch'] {
display: none;
}

.cp_cssslider label {margin: 0px 3px 0 3px;border: 2px solid #ffffff;display: inline-block;cursor: pointer;transition: all 0.5s ease;opacity: 0.6;border-radius: 3px;}
.cp_cssslider label:hover {
opacity: 0.9;
}
.cp_cssslider label img {display: block;width: 60px;border-radius: 2px;}
.cp_cssslider input[name='cp_switch']:checked + label {

border: 2px solid #FF7043;
opacity: 1;
}
.cp_cssslider input[name='cp_switch'] ~ img {
opacity: 0;
}
.cp_cssslider input[name='cp_switch']:checked + label + img {
opacity: 1;
}