@charset "UTF-8";
/* CSS Document */
* {
  /*        outline: solid 1px #c00;*/
}
main {
  min-height: 100vh;
}
.bg-wrapper {
  position: sticky;
  top: 0;
  height: 0;
  z-index: -10;
  padding-block: 50px;
}
.page-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background: url("img/event-bg.jpg") center / cover no-repeat;
}
.event-logo {
    width: min(90%, 900px);
  object-fit: contain;
  margin: 0 auto 50px;
}
.first-text {
  width: min(970px, 80%);
  margin: auto;
  text-align: center;
}
h2 {
  margin-bottom: 30px;
}
.info {
  position: relative;
  width: 100%;
  margin: 60px auto;
  padding-top: 120px;
  padding-bottom: 30px;
  h2 {
    text-align: center;
  }
}
.fairu {
  width: 100%;
  height: 140px;
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: flex-end;
    filter: drop-shadow(0 -2px 5px var(--text-color));
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 85% top;
  }
}
.box-group {
  width: 100%;
  height: 550px;
  position: relative;
  /* アニメーション設定 */
  animation: fadeIn linear;
  animation-timeline: view(); /* スクロールと連動 */
  animation-range: entry -10% cover 50%;
}
.box {
  position: absolute;
  top: 0;
  width: 100%;
  height: 850px;
}
@keyframes fadeIn {
  from {
    transform: translateY(30rem);
  }
  to {
    transform: translateY(0);
  }
}
._1, ._2 {
  display: flex;
  align-items: center;
  gap: 0 30px;
}
._1 {
  padding-right: 16%;
  padding-left: 14%;
  background: #ffca4f;
}
._2 {
  padding-right: 14%;
  padding-left: 16%;
  background: #FFDD8E;
}
.info-img {
  text-align: center;
  flex: 3;
  img {
    width: 400px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 100%;
  }
}
.text {
  flex: 7;
  .big-text {
    margin-bottom: 1rem;
  }
}
.orenge {
  color: #a00;
  font-size: 14px;
}
._3 {
    padding: 120px 30% 0;
  text-align: center;
  background: #fcf2d9;
  height: 620px;
}
.flex {
  display: flex;
  justify-content: space-between;
}
.past-group {
  width: min(970px, 80%);
  margin: 100px auto;
  h2 {
    text-align: center;
  }
}
.slider {
  margin: 30px auto 0;
}
.side-scroll-item {
  text-align: center;
}
.side-scroll-item img {
  width: 400px;
  aspect-ratio: 1 / 1;
  margin: auto;
  background: #ccc;
}
.button {
  font-size: 20px;
  padding: 20px 30px;
  border-radius: 40px;
}
@media (width <=750px) {
  section {
    width: 100%;
  }
  .event-logo {
    height: 280px;
  }
  .box-group {
    height: 680px;
  }
  .box {
    position: absolute;
    top: 0;
    width: 100%;
    height: 970px;
    padding: 100px 10% 0;
  }
  ._1, ._2 {
    flex-direction: column;
    gap: 30px 0;
  }
  ._2 {
    flex-direction: column-reverse;
  }
  ._3 {
    height: 750px;
  }
  .flex {
    display: block;
  }
  .side-scroll-item img {
    width: 300px;
    aspect-ratio: 1 / 1;
    margin: auto;
    background: #ccc;
  }
}