@charset "UTF-8";

/* timeline */
.timeline {
  position: relative;
  margin: 3vh auto;
  padding: 0 1vw;
  width: 90vw;
}

@media screen and (min-width: 1025px) {
  .timeline {
    width: 70vw;
  }
}

.timeline:before {
  content: "";
  width: 0.5vw;
  height: 100%;
  background: #8CC63F;
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
}

.timeline .timeline-item {
  position: relative;
  display: flex;
  padding: 0;
}

.timeline .timeline-item:nth-of-type(2n) {
  justify-content: flex-end;
}

.timeline .timeline-item:before {
  content: "";
  width: 10px;
  height: 10px;
  background: #FBB03B;
  position: absolute;
  border-radius: 50%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

@media screen and (min-width: 600px) {
  .timeline .timeline-item:before {
    width: 15px;
    height: 15px;
  }
}

.timeline .timeline-item:last-child {
  padding-bottom: 0;
}

.timeline .timeline-inner {
  max-width: 450px;
}

@media screen and (min-width: 1025px) {
  .timeline .timeline-inner {
    max-width: 480px;
  }
}

.timeline .timeline-image {
  line-height: 1;
  margin: 0;
  padding: 0;
}

.timeline .timeline-image img {
  box-shadow: 0 0 15px rgba(30, 29, 29, 0.33);
  display: block;
  width: 35vw;
  margin: 2vh 0;
}

@media screen and (min-width: 1025px) {
  .timeline .timeline-image img {
    width: 25vw;
  }
}

.timeline .timeline-list {
  font-size: 4vw;
  color: #FFF;
}

@media screen and (min-width: 1025px) {
  .timeline .timeline-list {
    font-size: 2.5vw;
  }
}

.oyatsu {
  position: relative;
  left: -15vw;
}

@media screen and (min-width: 1025px) {
  .oyatsu {
    left: -10vw;
  }
}

/*==================================================
スライダーのためのcss
===================================*/
.life-slider {/*横幅94%で左右に余白を持たせて中央寄せ*/
  width:94%;
  margin:3vh auto;
}

@media screen and (min-width: 1025px) {
  .life-slider {/*横幅94%で左右に余白を持たせて中央寄せ*/
    margin:5vh auto;
  }
}

.life-slider img {
  width:60vw;/*スライダー内の画像を60vwにしてレスポンシブ化*/
  height:auto;
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .5);
}

@media screen and (min-width: 1025px) {
  .life-slider img {
    width:40vw;/*スライダー内の画像を60vwにしてレスポンシブ化*/
  }
}

.life-slider .slick-slide {
	transform: scale(0.8);/*左右の画像のサイズを80%に*/
	transition: all .5s;/*拡大や透過のアニメーションを0.5秒で行う*/
	opacity: 0.5;/*透過50%*/
}

.life-slider .slick-slide.slick-center{
	transform: scale(1);/*中央の画像のサイズだけ等倍に*/
	opacity: 1;/*透過なし*/
}

.event-text {
  width: 60vw;
  height: 15vh;
  background-color: white;
  display: flex;
  flex-direction: column;
  padding: 1vh 5vw;
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .5);
  margin-bottom: 2vh;
  z-index: 1;
}

@media screen and (min-width: 600px) {
  .event-text {
    height: 20vh;
  }
}

@media screen and (min-width: 1025px) {
  .event-text {
    width: 40vw;
    height: 25vh;
  }
}

.event-subtitle {
  font-size: 4.5vw;
  margin: 1vh 0;
  color: #8CC63F;
  text-align: center;
}

@media screen and (min-width: 1025px) {
  .event-subtitle {
    font-size: 3vw;
  }
}

.event-ex {
  font-size: 3vw;
  text-align: left;
  margin-bottom: 2vh;
}

@media screen and (min-width: 1025px) {
  .event-ex {
    font-size: 1.5vw;
  }
}


/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
  position: absolute;/*絶対配置にする*/
  top: 42%;
  cursor: pointer;/*マウスカーソルを指マークに*/
  outline: none;/*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #666;/*矢印の色*/
  border-right: 2px solid #666;/*矢印の色*/
  height: 15px;
  width: 15px;
  z-index: 1;
}

@media screen and (min-width: 1025px) {
  .slick-prev,
  .slick-next {
    top: 40%;
    height: 45px;
    width: 45px;
  }
}

.slick-prev {/*戻る矢印の位置と形状*/
  left: 2.5%;
  transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
  right: 2.5%;
  transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
  text-align:center;
	margin:20px 0 0 0;
}

.slick-dots li {
  display:inline-block;
	margin:0 5px;
}

@media screen and (min-width: 1025px) {
  .slick-dots li {
  	margin:0 15px;
  }
}

.slick-dots button {
  color: transparent;
  outline: none;
  width:8px;/*ドットボタンのサイズ*/
  height:8px;/*ドットボタンのサイズ*/
  display:block;
  border-radius:50%;
  background:#ccc;/*ドットボタンの色*/
}

@media screen and (min-width: 1025px) {
  .slick-dots button {
    width:15px;/*ドットボタンのサイズ*/
    height:15px;/*ドットボタンのサイズ*/
  }
}

.slick-dots .slick-active button{
  background:#333;/*ドットボタンの現在地表示の色*/
}
