@charset "utf-8";
/* CSS Document */
html{
    background-color: #000;

}
.container {
  position: relative;
}
#opening_bg {
  top: 0;
  right: 0;
  width: 100%; /*vwはスクロールバー分　ずれる！★*/
  height: 100vh;
  object-fit: cover;
  z-index: 1;
}

.line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  width: 0.5px;
  height: 30px;
  background-color: #000;
  z-index: 10;
}



.vertical_message { /*縦書き上下中央*/
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  writing-mode: vertical-rl;
  text-align: left;
  line-height: 3.0rem;
  z-index: 10;
}

.fixed {
  position: -webkit-sticky; /*Safari*/
  position: sticky;
  padding: 10vh 0;
  top: 0;
  margin-bottom: 100px;
}
#fade_01{
  color:#000;
}
.fixed:nth-child(1) {
  padding: 0;
}
.vertical { /*縦書き上下中央*/
  writing-mode: vertical-rl;
  text-align: left;
  line-height: 4.0rem;
  margin: 0 auto;
}
.fixed:nth-child(2) {
  background: linear-gradient(#d9a7c7, #fffcdc);
  border-radius: 10%;
  padding-left: 100px;
  padding-right: 100px;
  margin: 30px auto;
}
#fade_02{
  transition: 1s;
  opacity: 0;
  transform: translateY(10px);
}
#fade_02.up {
  opacity: 1;
  transform: translateY(-15px);
}
.fixed:nth-child(3) {
  background: linear-gradient(#e1eec3, #f05053);
  border-radius: 50% 50% 50% 70%/50% 50% 70% 60%;
  margin: 60px auto;
  width: 340px
}
.fixed:nth-child(4) {
  background: linear-gradient(#636fa4, #e8cbc0);
}
.fixed:nth-child(5) {
  background: linear-gradient(#114357, #f29492);
  color: #fff;
  margin-bottom: 0;
}