/* アニメーション */
@keyframes floaty {
  0% {
      transform: translateY(0) rotate(0deg);
  }
  50% {
      transform: translateY(20px) rotate(5deg);
  }
  100% {
      transform: translateY(0) rotate(0deg);
  }
}
.animation_floaty {
  position: absolute;
  animation: floaty 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes floaty_center {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(20px);
  }
  100% {
    transform: translateY(0);
  }
}
.animation_floaty_c {
  position: absolute;
  animation: floaty_center 3s ease-in-out infinite;
  z-index: 1;
}

.outside{
  position: relative;
  max-width: 1536px;
  width: 100%;
  margin: 0 auto;
}

.tako_left01,
.tako_left02,
.tako_left03,
.tako_left04,
.item_cloud01,
.item_cloud02{
  display: block;
  height: auto;
}
.item_tako{
  max-width: 400px;
  width: 55%;
}
.item_cloud01{
  max-width: 300px;
  width: 30%;
}
.item_cloud02{
  max-width: 240px;
  width: 27%;
}
.tako_left{
  top: 30px;
  left: 0;
}
.tako_right{
  top: 0;
  right: 0;
}
.tako_hist_l{
  top: -60px;
  left: -5%;
}
.tako_hist_r{
  top: -80px;
  right: -5%;
}

.cloud_left{
  top: -80px;
  left: 23%;
}
.cloud_left02{
  top: 80px;
  left: 15%;
}
.cloud_left03{
  top: -80px;
  left: 5%;
}
.cloud_right{
  top: 60px;
  right: 27%;
}
.cloud_right02{
  top: 80px;
  right: 15%;
}
.cloud_right03{
  top: -40px;
  right: 5%;
}
.cloud_big_left{
  top: 80px;
  left: 1%;
}
.cloud_big_left02{
  top: 0;
  left: -5%;
}
.cloud_big_right{
  top: 0;
  right: 1%;
}
.cloud_big_right02{
  top: 30px;
  right: -5%;
}

@media (max-width: 768px) {
  .cloud_left,
  .cloud_left02{
    top: -60px;
    left: 12%;
  }
  .cloud_left03{
    top: -60px;
    left: 0;
  }
  .cloud_big_left02{
    left: -8%;
  }
  .cloud_right,
  .cloud_right02{
    top: -40px;
    right: 12%;
  }
  .tako_left{
    top: 30px;
    left: -30px;
  }
  .tako_right {
    top: 10px;
    right: -10%;
  }
}

/* 花がくるくる */
@keyframes rotateFlower {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* 5秒で1回転 */
.rotating-flower {
  position: fixed;
  animation: rotateFlower 5s linear infinite;
  z-index: 2;
}
.item_flower_s,
.item_flower_s_mv{
  width: 65px;
  height: auto;
}
.item_flower_m,
.item_flower_mv{
  width: 85px;
  height: auto;
}
.item_flower_l{
  width: 105px;
  height: auto;
}
.item_flower_xl,
.item_flower_xl_mv{
  width: 120px;
  height: auto;
}

.pos01{
  position: absolute;
  top: -60px;
  left: 15%;
}
.pos02{
  position: absolute;
  top: -40px;
  right: 5%;
}
.pos03{
  position: absolute;
  top: -10px;
  right: 30%;
}
.pos04{
  position: absolute;
  bottom: 20px;
  left: 30%;
}


/* LeftArea Flower */
.pos_l01{
  position: absolute;
  top: -100px;
  left: -1%;
}
.pos_l02{
  position: absolute;
  top: 70px;
  left: 12%;
}
.pos_l03{
  position: absolute;
  top: 220px;
  left: 0;
}
.pos_l04{
  position: absolute;
  bottom: 40px;
  left: 15%;
}
.pos_l01_2{
  position: absolute;
  top: -200px;
  left: -1%;
}
.pos_l02_2{
  position: absolute;
  top: -30px;
  left: 12%;
}
.pos_l03_2{
  position: absolute;
  top: 80px;
  left: 0;
}
.pos_l04_2{
  position: absolute;
  top: 280px;
  left: 7%;
}
.pos_l01_3{
  position: absolute;
  top: 420px;
  left: -1%;
}
.pos_l02_3{
  position: absolute;
  top: 600px;
  left: 10%;
}
.pos_l03_3{
  position: absolute;
  top: 740px;
  left: 0;
}
.pos_l04_3{
  position: absolute;
  top: 920px;
  left: 7%;
}
.pos_l01_4{
  position: absolute;
  bottom: 320px;
  left: -1%;
}
.pos_l02_4{
  position: absolute;
  bottom: 200px;
  left: 12%;
}
.pos_l03_4{
  position: absolute;
  bottom: 40px;
  left: 0;
}
.pos_l04_4{
  position: absolute;
  bottom: -80px;
  left: 10%;
}
.pos_l01_5{
  position: absolute;
  top: -40px;
  left: 8%;
}
.pos_l02_5{
  position: absolute;
  top: 80px;
  left: 0;
}
.pos_l03_5{
  position: absolute;
  top: 240px;
  left: 10%;
}
.pos_l04_5{
  position: absolute;
  top: 360px;
  left: 0;
}

/* RightArea Flower */
.pos_r01{
  position: absolute;
  top: -100px;
  right: 2%;
}
.pos_r02{
  position: absolute;
  top: 70px;
  right: 12%;
}
.pos_r03{
  position: absolute;
  top: 220px;
  right: 5%;
}
.pos_r04{
  position: absolute;
  bottom: 40px;
  right: 15%;
}
.pos_r01_2{
  position: absolute;
  top: -100px;
  right: 2%;
}
.pos_r02_2{
  position: absolute;
  top: 40px;
  right: 12%;
}
.pos_r03_2{
  position: absolute;
  top: 180px;
  right: 5%;
}
.pos_r04_2{
  position: absolute;
  top: 300px;
  right: 10%;
}

.pos_r01_3{
  position: absolute;
  top: 430px;
  right: 0;
}
.pos_r02_3{
  position: absolute;
  top: 580px;
  right: 6%;
}
.pos_r03_3{
  position: absolute;
  top: 760px;
  right: 0;
}
.pos_r04_3{
  position: absolute;
  top: 880px;
  right: 5%;
}
.pos_r01_4{
  position: absolute;
  bottom: 380px;
  right: -1%;
}
.pos_r02_4{
  position: absolute;
  bottom: 200px;
  right: 6%;
}
.pos_r03_4{
  position: absolute;
  bottom: 80px;
  right: 0;
}
.pos_r01_5{
  position: absolute;
  top: -100px;
  right: 8%;
}
.pos_r02_5{
  position: absolute;
  top: 40px;
  right: 2%;
}
.pos_r03_5{
  position: absolute;
  top: 180px;
  right: 5%;
}
.pos_r04_5{
  position: absolute;
  bottom: 30px;
  right: 30%;
}
.pos_r04_6{
  position: absolute;
  bottom: -30px;
  right: 5%;
}


.pos_r01_7{
  position: absolute;
  bottom: -80px;
  right: 7%;
}
.pos_r02_7{
  position: absolute;
  bottom: 80px;
  right: 25%;
}
.pos_r03_7{
  position: absolute;
  top: 40px;
  right: 12%;
}
.pos_r04_7{
  position: absolute;
  top: 260px;
  right: 7%;
}

.pos_l01_8{
  position: absolute;
  top: -60px;
  left: 30%;
}
.pos_r02_8{
  position: absolute;
  bottom: 80px;
  right: 25%;
}

#hist_foot .pos_l01_4{
  bottom: 110px;
  left: -1%;
}
#hist_foot .pos_l02_4{
  bottom: 80px;
  left: 15%;
}
#hist_foot .pos_l03_4{
  bottom: -20px;
  left: 3%;
}
#hist_foot .pos_r01_2 {
  top: -30px;
  right: 2%;
}
#hist_foot .pos_r02_2 {
  top: 80px;
  right: 12%;
}


@media (max-width: 768px) {
  /* .rotating-flower{display: none;} */
  .cloud_big_left{
    top: 5px;
    left: 0;
  }
  .cloud_big_right{
    top: 10px;
    right: 0;
  }
  #anniv .item_flower_s,
  #anniv .item_flower_m,
  #anniv .item_flower_l,
  #anniv .item_flower_xl{
    display: none;
  }
  .item_flower_s_mv,
  .item_flower_s{
    width: 40px;
    height: auto;
  }
  .item_flower_mv,
  .item_flower_m{
    width: 50px;
  }
  .item_flower_l,
  .item_flower_xl_mv{
    width: 70px;
  }
  .item_flower_xl{
    width: 90px;
  }
  .item_flower_mv.pos03{
    top: -50px;
    right: 30%;
  }
  .item_flower_mv.pos04{
    top: -20px;
    bottom: auto;
    left: 27%;
  }
  .item_flower_xl_mv.pos04{
    bottom: -30px;
    left: 15%;
  }
  .item_flower_s_mv.pos01{
    top: -50px;
    left: -10px;
  }
  .item_flower_s_mv.pos02{
    top: -30px;
    right: -10px;
  }
  .item_flower_mv.pos_r04{
    bottom: -15px;
    right: 20%;
  }
  .pos_r03_7{
    top: 180px;
    right: 5%;
  }
  .pos_r04_7{
    top: 60px;
    right: 12%;
  }

  #hist_foot .pos_l01_4 {
    bottom: 160px;
    left: -1%;
  }
  #hist_foot .pos_l02_4 {
    bottom: 90px;
    left: 7%;
  }
  #hist_foot .pos_l03_4 {
    bottom: -30px;
    left: 1%;
  }
  #foot_msg .pos_r02_8{
    bottom: -35px;
    right: 25%;
  }
  #hist_foot .pos_r02_2 {
    top: 140px;
    right: 12%;
  }

}

/* history Flower */
.histmv_pos01{
  position: absolute;
  top: -90px;
  left: 8%;
}
.histmv_pos02{
  position: absolute;
  top: -10px;
  right: 25%;
}
.histmv_posLeft01{
  position: absolute;
  top: -30px;
  left: 5%;
}
.histmv_posLeft02{
  position: absolute;
  top: -30px;
  left: 34%;
}
.histmv_posLeft03{
  position: absolute;
  top: 60px;
  left: 20%;
}
.histmv_posLeft04{
  position: absolute;
  bottom: 20px;
  left: 10px;
}

.histmv_posright01{
  position: absolute;
  top: -30px;
  right: 0;
}
.histmv_posright02{
  position: absolute;
  top: 10px;
  right: 33%;
}
.histmv_posright03{
  position: absolute;
  bottom: 0;
  right: 20%;
}
.histmv_posright04{
  position: absolute;
  bottom: -60px;
  right: 6%;
}

.histmv_cloud01{
  top: 60px;
  left: 32%;
}
.histmv_cloud_br01{
  top: 100px;
  right: -5%;
}
.histmv_cloud_br02{
  top: 200px;
  right: 5%;
}
.histmv_cloud_br03{
  bottom: 20px;
  right: 7%;
}
.histmv_cloud_bl01{
  top: -100px;
  left: 3%;
}
.histmv_cloud_bl02{
  top: 0;
  left: 15%;
}
.histmv_cloud_tl01{
  top: -60px;
  left: 32%;
}
.histmv_cloud_tr02{
  top: 0;
  right: -5%;
}


/* RightArea Flower */
.hist_flower_r01_1{
  position: absolute;
  top: -40px;
  right: 37%;
}
.hist_flower_r01_2{
  position: absolute;
  top: -60px;
  right: 35%;
}
.hist_flower_r01_3{
  position: absolute;
  top: -100px;
  right: 3%;
}
.hist_flower_r01_4{
  position: absolute;
  top: -100px;
  right: 3%;
}

.hist_flower_l01_3{
  position: absolute;
  top: 250px;
  left: 12%;
}
.hist_flower_l01_4{
  position: absolute;
  bottom: 0;
  left: 7%;
}
.hist_flower_l02_1{
  position: absolute;
  top: -60px;
  left: 36%;
}

@media (max-width: 768px) {
  #mv .histmv_pos02{
    top: -120px;
    right: 4%;
  }
  #mv .pos04{
    bottom: 80px;
    left: 40%;
  }
}





/* アニメーション */
/* 右からフォードイン */
.scrollfade.fadeInFromRight,
.scrollfade02.fadeInFromRight {
  transform: translateX(100px);
}
/* 左からフェードイン */
.scrollfade.fadeInFromLeft,
.scrollfade02.fadeInFromLeft {
  transform: translateX(-100px);
}
/* 下からフェードイン */
.scrollfade.fadeInFromBottom,
.scrollfade02.fadeInFromBottom {
  transform: translateY(100px);
}
/* 上からフェードイン */
.scrollfade.fadeInFromTop,
.scrollfade02.fadeInFromTop {
  transform: translateY(-100px);
}
.scrollfade.fadeInFromRight.active,
.scrollfade.fadeInFromLeft.active,
.scrollfade02.fadeInFromRight.active,
.scrollfade02.fadeInFromLeft.active{
  transform: translateX(0);
}
.scrollfade.fadeInFromBottom.active,
.scrollfade.fadeInFromTop.active,
.scrollfade02.fadeInFromBottom.active,
.scrollfade02.fadeInFromTop.active{
  transform: translateY(0);
}

/* アニメーション開始時は拡大 */
.fadeInExpand{
  transform: scale(2.0);
}

.scrollfade {
  opacity : 0;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}
.scrollfade02 {
  opacity : 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}
.scrollfade03 {
  opacity : 0;
  transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}
.active {
  opacity : 1;
}
.fadeInExpand.active{
  transform: translate(0, 0) scale(1);
  opacity: 1;
}
