@charset "utf-8";
/* CSS Document */
/* スライドする要素 */
.content img {
    width: 385px;
    height: 280px;
  }
  .content:nth-child(1) {
    background-color: tomato;
  }
  .content:nth-child(2) {
    background-color: orange;
  }
  .content:nth-child(3) {
    background-color: blue;
  }
  .content:nth-child(4) {
    background-color: green;
  }
  /* スライドレールの枠 */
  .wrapslideshow {
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 280px;
  }
  /* content4つをまとめたスライドブロック */
  .slideshow {
    display: flex;
    -webkit-animation: loop-slide 50s infinite linear 1s both;
    animation: loop-slide 50s infinite linear 1s both;
  }
  @-webkit-keyframes loop-slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  @keyframes loop-slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
	



/*================================================
 *  スマートフォン向けデザイン
 ================================================*/
@media screen and (max-width:767px) {
/* スライドする要素 */
.content img {
    width: 385px;
    height: 280px;
  }
  .content:nth-child(1) {
    background-color: tomato;
  }
  .content:nth-child(2) {
    background-color: orange;
  }
  .content:nth-child(3) {
    background-color: blue;
  }
  .content:nth-child(4) {
    background-color: green;
  }
  /* スライドレールの枠 */
  .wrapslideshow {
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 280px;
  }
  /* content4つをまとめたスライドブロック */
  .slideshow {
    display: flex;
    -webkit-animation: loop-slide 50s infinite linear 1s both;
    animation: loop-slide 50s infinite linear 1s both;
  }
  @-webkit-keyframes loop-slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  @keyframes loop-slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
	
}