@charset "UTF-8";

.m-fv {
  display: block;
}

.scroll-indicator {
  position: relative;
  width: 2px;
  height: 98px;
  margin: 0 auto;
}

/* ドットレール */
.scroll-indicator::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 1px;
  background-image: repeating-linear-gradient(
    to bottom,
    #ffffff 0,
    #ffffff 1px,
    transparent 1px,
    transparent 4px
  );
}

/* アニメーションするバー */
.scroll-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 0;
  background: #ffffff;
  animation: scrollLine 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scrollLine {
  /* 出現：上で伸びる */
  0% {
    top: 0;
    height: 0;
  }
  30% {
    top: 0;
    height: 100%;
  }

  /* 落下：下へ移動 */
  60% {
    top: 0;
    height: 100%;
  }

  /* 消失：下で削れて消える */
  100% {
    top: 100%;
    height: 0;
  }
}

.p-top-scroll {
  position: absolute;
  right: 40px;
  bottom: 30px;
}

.p-top-scroll p {
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  position: absolute;
  bottom: 0;
  right: 15px;
  white-space: pre;
}

.p-fv-block {
    position: absolute;
    left: 40px;
    bottom: 40px;
    padding: 0 0 0 50px;
}

.p-copy {
    position: absolute;
    left: 0;
    bottom: 0;
    font-size: 1.8rem;
    letter-spacing: 0.02em;
    writing-mode: vertical-rl;
    white-space: pre;
}

.p-lead {
    padding: 0 0 20px 30px;
    line-height: 2;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

.p-en {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
}


.p-philosophy {
  background: #F4F8FD;
  padding: 100px 0 120px;
}

.p-philosophy-container {
    margin: 120px auto 0;
}

.p-philosophy-block {
  position: relative;
}

.p-philosophy-block .lin01 {
  position: absolute;
  width: 0;
  left: 190px;
  bottom: -160px;
  z-index: 1;
  overflow: hidden;
  transition: 1s;
}

.p-philosophy-block .lin01.is-show {
  width: 470px;
}

.p-philosophy-block .lin01 .line01-graph {
  width: 470px;
}

.p-philosophy-block .lin02 {
  position: absolute;
  width: 0;
  right: 120px;
  bottom: -130px;
  z-index: 1;
  overflow: hidden;
  transform: scaleX(-1);
  transition: 1s;
}

.p-philosophy-block .lin02.is-show {
  width: 641px;
}

.p-philosophy-block .lin02 .line02-graph {
  width: 641px;
  transform: scaleX(-1);
}

.p-philosophy-block .illust {
    max-width: 400px;
}

.p-philosophy-block .detail {
    max-width: 540px;
}

.p-philosophy-block + .p-philosophy-block {
  margin-top: 80px;
}

.p-philosophy-block .heading {
    color: #7092B1;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.p-philosophy-block .detail p {
    line-height: 2;
}

.fade-up {
  opacity: 0;
  transform: translateY(24px); /* 動き大きすぎない */
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-show {
  opacity: 1;
  transform: translateY(0);
}


@media screen and (min-width: 768px){

  .p-philosophy-container {
    padding: 0 30px;
    max-width: 1040px;
  }

  .p-philosophy-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .p-philosophy-block:nth-child(even) {
    flex-direction: row-reverse;
  }


}


@media screen and (max-width: 767px){

  .p-copy {
    font-size: 1.4rem;
    bottom: 30px;
  }

  .p-lead {
      font-size: 1rem;
      padding: 0 0 30px 50px;
  }

  .p-top-scroll {
    right: 30px;
    bottom: inherit;
    top: 50%;
    transform: translateY(-50%);
  }

  .p-top-scroll p {
      writing-mode: vertical-rl;
      font-size: 1rem;
      right: -24px;
      bottom: inherit;
      top: 50%;
      transform: translateY(-50%);
  }

  .p-en {
      font-size: 1rem;
  }

  .p-fv-block {
      left: 20px;
      bottom: 20px;
      padding: 0;
  }


  .p-philosophy {
    padding: 80px 0 120px;
  }


  .p-philosophy-block .detail {
    padding: 0 30px;
    margin-top: 40px;
  }

  .p-philosophy-block .illust {
    max-width: 350px;
    margin: 0 0 0 auto;
  }

  .p-philosophy-block:nth-child(even) .illust {
    margin: 0;
  }

  .p-philosophy-block .heading {
    font-size: 1.6rem;
  }

  .p-philosophy-block .detail p {
    font-size: 1.3rem;
  }

  .p-philosophy-block .lin01,
  .p-philosophy-block .lin02  {
    display: none;
  }

}
