
.out{
  position: relative;
  max-width: 600px;
  margin: auto;
}
.in img{
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: .5s;
  z-index: 0;
}
.out img{
  display: block;
  width: 100%;
  height: auto;
}
input{
  display: none;
}
.in{
  display: flex;
  justify-content: center;
}
label span{
  display: block;
  width: 15px;
  height: 15px;
  padding: 7px;
  margin: -40px 0 0;
  border-radius: 100%;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
label span::before{
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #4287f5;
  opacity: 0.5;
  border-radius: 100%;
}            
input:nth-of-type(1):checked ~ .in label:nth-of-type(1) span::before,
input:nth-of-type(2):checked ~ .in label:nth-of-type(2) span::before,
input:nth-of-type(3):checked ~ .in label:nth-of-type(3) span::before,
input:nth-of-type(4):checked ~ .in label:nth-of-type(4) span::before,
input:nth-of-type(5):checked ~ .in label:nth-of-type(5) span::before,
input:nth-of-type(6):checked ~ .in label:nth-of-type(6) span::before,
input:nth-of-type(7):checked ~ .in label:nth-of-type(7) span::before{
  background: #000;
  opacity: 1;
}
label span::before{
  animation: slidebutton 24.5s infinite;/* （ 1枚表示させたい時間 + 切り替え時間 ）× 画像の数 */
}

/* 
1枚表示させたい時間=a秒
切り替え時間=b秒
画像の数=c枚
画像の順＝n番目 
*/

@keyframes slidebutton{
  0%{opacity: 0.5;background: #4287f5;}
  2%{opacity: 1;background: #000;}/* 切り替え時間÷スライド1周時間×100=切り替え時間の割合 */k
  14.2%{opacity: 1;background: #000;}/* 100÷枚数=1つ目のスライド終了の割合 */
  16.2%{opacity: 0.5;background: #4287f5;}/* 切り替え時間の割合+1つ目のスライド終了の割合 */
}            
label:nth-of-type(2) span::before,label:nth-of-type(2) img{
  animation-delay: 3.5s;
}            
label:nth-of-type(3) span::before,label:nth-of-type(3) img{
  animation-delay: 7s;
}            
label:nth-of-type(4) span::before,label:nth-of-type(4) img{
  animation-delay: 10.5s;
}            
label:nth-of-type(5) span::before,label:nth-of-type(5) img{
  animation-delay: 14s;
}
label:nth-of-type(6) span::before,label:nth-of-type(6) img{
  animation-delay: 17.5s;
}
label:nth-of-type(7) span::before,label:nth-of-type(7) img{
  animation-delay: 21s;
}
input:nth-of-type(1):checked ~ .in label:nth-of-type(1) img,
input:nth-of-type(2):checked ~ .in label:nth-of-type(2) img,
input:nth-of-type(3):checked ~ .in label:nth-of-type(3) img,
input:nth-of-type(4):checked ~ .in label:nth-of-type(4) img,
input:nth-of-type(5):checked ~ .in label:nth-of-type(5) img,
input:nth-of-type(6):checked ~ .in label:nth-of-type(6) img,
input:nth-of-type(7):checked ~ .in label:nth-of-type(7) img{
  opacity: 1;
  z-index: 1;
}
.in img{
  animation: slide 24.5s infinite;/* (a+b)×c=x */
  opacity: 0;
}
@keyframes slide{
  0%{opacity: 0;}
  2%{opacity: 1;z-index: 1;}/* b÷x×100=y */
  14.2%{opacity: 1;}/* 100÷c=z */
  16.2%{opacity: 0;z-index: 0;}/* y+z */
}
input:checked ~ .in img,input:checked ~ .in span::before{
  animation: none;
}
.in:hover img,.in:hover span::before{
  animation-play-state:paused;/* マウスを載せると一時停止 */
}

.contents{
  padding-top: 110px;
  background-color: #ffffff;
  text-align: center;
  margin-bottom: 100px;
}

.contents-head{
  display: inline-block;
  margin-bottom: 50px;
  width: 80%;
}
.time{
  text-align: left;
}
.time p{
  margin: 0;
}
.title{
  font-size: 30px;
  border-bottom: 2px solid #999999;
  text-align: left;
}
.title p{
  margin: 0;
}
.comment{
  display: inline-block;
  text-align: left;
  margin-top: 50px;
  margin: 0 5px;
}
.center{
  text-align: center;
}




@media screen and (max-width: 767px) {
/* （ここにモバイル用スタイルを記述） */
li.changeItem.defaultList a {
  flex-direction: column;
}
li.changeItem.defaultList a img {
  width: 100%;
  margin: 0 0 15px;
}
li.changeItem.defaultList a .changeItemTxt {
  width: 100%;
}
}
