.section_1 {
  position: relative;
  height: 100vh;
  display: flex;
    align-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 80%, rgba(255,255,255,0) 100%);
  z-index: 0;
}

.section_1__wrapper {
  display: flex;
  gap: 2rem;
  padding-bottom: 20rem;
  z-index: 9999999999;
}

.section_1__box1 {
    width: 50%;
}

.section_1__box1 h2{
  color: #fff;
  font-size: 4rem;
}

.section_1__box1 {
  color: #ADADAD;
}

.section_1__box2 {
  display: flex;
  gap: 4rem;
   width: 50%;
  flex-direction: column;
}

.section_1__box2__title {
  font-size: 8rem;
  color: #fff;
  line-height: 10rem;
}

.section_1__box2__text {
  color: #ADADAD;
}




{# CTA #}
.section_1__box2__cta {
  position: relative;
  transition: all 0.3s;
  z-index: 0;
}

.section_1__box2__ctaText {
  position: relative;
    color: #000;
  border-radius: 0.5rem;
  padding: 1.5rem 6rem;
  display: inline-block;
  z-index: 2;
  overflow: hidden;
    background: #fff;
  transition: all 0.5s ease-in-out;
}

.section_1__box2__ctaText:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 150%;
  height: 500%;
  content: "";
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: translateX(-98%) translateY(-35%) rotate(45deg);
  transform: translateX(-98%) translateY(-35%) rotate(45deg);
  background: #1A4472;
  z-index: -1000;
}

.section_1__box2__cta:hover .section_1__box2__ctaText {
  color: #fff;
  transition: all 0.5s ease-in-out;
}

.section_1__box2__cta:hover .section_1__box2__ctaText:before {
  -webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
  transform: translateX(-9%) translateY(-25%) rotate(45deg);
}


{# 背景 #}
.lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  margin: auto;
  width: 90vw;
  z-index: 1000;
}

.line {
  position: absolute;
  width: 1px;
  height: 100%;
  top: 0;
  left: 50%;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.line::after {
  content: '';
  display: block;
  position: absolute; /* ここを追加 */
  height: 15vh;
  width: 100%;
  top: -50%;
  left: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 75%, #ffffff 100%);
  animation: drop 5s 0s infinite;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}

.line:nth-child(1) {
  margin-left: -50%;
}

.line:nth-child(2) {
  margin-left: -40%;
}

.line:nth-child(3) {
  margin-left: -30%;
}

.line:nth-child(4) {
  margin-left: -20%;
}

.line:nth-child(5) {
  margin-left: -10%;
}

.line:nth-child(6) {
  margin-left: 0%;
}

.line:nth-child(7) {
  margin-left: 10%;
}

.line:nth-child(8) {
  margin-left: 20%;
}

.line:nth-child(9) {
  margin-left: 30%;
}

.line:nth-child(10) {
  margin-left: 40%;
}

.line:nth-child(11) {
  margin-left: 50%;
}


.line:nth-child(1)::after {
  animation-delay: 3s;
}

.line:nth-child(2)::after {
  animation-delay: 2.5s;
}

.line:nth-child(3)::after {
  animation-delay: 2s;
}

.line:nth-child(4)::after {
  animation-delay: 1.5s;
}

.line:nth-child(5)::after {
  animation-delay: 1s;
}

.line:nth-child(6)::after {
  animation-delay: 0.5s;
}

.line:nth-child(7)::after {
  animation-delay: 1s;
}

.line:nth-child(8)::after {
  animation-delay: 1.5s;
}

.line:nth-child(9)::after {
  animation-delay: 2s;
}

.line:nth-child(10)::after {
  animation-delay: 2.5s;
}

.line:nth-child(11)::after {
  animation-delay: 3s;
}

@keyframes drop {
  0% {
    top: -50%;
  }
  100% {
    top: 110%;
  }
}



{# カーテン表示 #}

.section_1__carten {
  position: relative;
  display: flex;
  align-items: center;
}

.section_1__carten__text {
  position: relative;
}

.text__bg {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 100;
  background-color: #fff;
  transform-origin: left;
  transform: scaleX(0);
}

.text__word {
  opacity: 0;
}

@media screen and (max-width :1024px){
  .section_1__wrapper {
    flex-direction: column;
}
  .section_1__box1 {
    width: 100%;
}
  
  .section_1__box2 {
    gap: 3rem;
    width: 100%;
    flex-direction: column;
    align-items: center;
}
}

@media screen and (max-width :480px){
  .section_1__box2__title {
    font-size: 6rem;
    line-height: 8rem;
}
}





















