@charset "UTF-8";

:root {
  --color_yellow: #f8e000;
  --color_black: #101010;
  --color_white: #fff;
  --font_en: "Helvetica Neue", Arial, "Yu Gothic", sans-serif;
}

/*main
  ---------------------*/
@media (min-width:1024px) {
  .-sp {
    display: none;
    content-visibility: hidden;
  }
}

@media (width < 1024px) {
  .-pc {
    display: none;
    content-visibility: hidden;
  }
}

h4 {
  line-height: 1.6;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

picture {
  display: block;
}

.contets_allwrap {
  width: 100%;
  background-color: var(--color_yellow);
  position: relative;
  overflow: hidden;
}

.contets_wrap {
  width: 100%;

  @media (min-width:1024px) {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
  }

  .contents_runway {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    height: 13%;
    width: 1.5%;
    /* background-color: #000; */
    transition: 0.75s all linear;
    width: 91.5%;
    background-position: center;
    background-repeat: repeat-y;
    background-size: contain;
    height: 0;

    /* left: -0.6%; */
    @media (min-width:1024px) {
      background-image: url(../images/runway_line.webp);
    }

    @media (width < 1024px) {
      background-image: url(../images/runway_line_sp.webp);
    }
  }

  .contents_runway.-contents_runway.-start {
    height: 100%;
  }

  .contents_runway.-contents_runway.-start::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 200px;
    aspect-ratio: 238 / 68;
    transform: translate(-50%, -50%);
    background-image: url(../images/contents_runway_light_first.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 0;
  }

  .contents_runway_light {
    height: 80dvh;
    left: 0;
    right: -0.6%;
    top: 0;
    margin: auto;
    position: fixed;
    opacity: 0;
    transition: opacity 1.5s linear;

    @media (min-width:1024px) {
      width: 13%;
    }

    @media (width < 1024px) {
      width: 32%;
    }

    &.-start {
      opacity: 1;
      overflow: hidden;
    }

    img {
      width: 100%;
      height: 100%;
    }
  }
}

/*kv_section
---------------------------------------------*/
@keyframes logo_wrap {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

section.kv_section {
  background-color: var(--color_black);
  position: relative;
  overflow: hidden;
  width: 100%;

  @media (min-width:1024px) {
    height: calc(100vh - 120px);
  }

  @media (width < 1024px) {
    height: calc(100vh - 65px);
  }

  .kv_photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;

    picture {
      position: absolute;
      inset: 0;
      opacity: 0;
      transform: scale(1.1);
      transition: opacity 1.2s ease, transform 0s linear 1.2s;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      &.-active {
        opacity: 1;
        transform: scale(1);
        transition: opacity 1.2s ease, transform 5s linear;
        z-index: 1;
      }
    }
  }

  h1.logo_wrap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin: auto;
    transform: translateY(-50%);
    box-sizing: border-box;
    z-index: 2;
    animation-name: logo_wrap;
    animation-duration: 2s;
    animation-delay: 1s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    will-change: transform;
    opacity: 0;

    @media (min-width:1024px) {
      width: 850px;
      height: 224px;
      padding-left: 53px;
    }

    @media (width < 1024px) {
      width: 76vw;
      height: 22vw;
    }

    img {
      filter: brightness(0) invert(1);
    }

    .logo_honda {
      @media (min-width:1024px) {
        width: 290px;
      }

      @media (width < 1024px) {
        width: 27vw;
      }
    }

    .segment {
      display: block;
      background-color: var(--color_white);

      @media (min-width:1024px) {
        width: 3px;
        height: 84px;
        margin: 0px 22px 21px;
      }

      @media (width < 1024px) {
        width: 1px;
        height: 8vw;
        margin: 0 3vw 2vw;
      }
    }

    .logo_onitsuka {
      @media (min-width:1024px) {
        width: 340px;
      }

      @media (width < 1024px) {
        width: 32vw;
      }
    }
  }
}

/*intro
---------------------------------------------*/
section.intro {
  color: var(--color_black);
  position: relative;
  z-index: 1;
  background-color: var(--color_yellow);

  @media (min-width:1024px) {
    padding: 135px 0 239px;
  }

  @media (width < 1024px) {
    padding: 29vw 0 34vw;
  }

  .intro_upper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;

    @media (min-width:1024px) {
      padding: 0 0px 0 95px;
      min-height: 456px;
      /* background-color: rebeccapurple; */
    }

    @media (width < 1024px) {
      flex-direction: column;
      padding: 0 3.2vw;
    }
  }

  .intro_text_wrap {
    @media (min-width:1024px) {
      width: 54%;
    }
  }

  h2.intro_title {
    font-weight: bold;

    @media (min-width:1024px) {
      font-size: 42px;
      line-height: 1.5;
      margin: 0 0 42px 0;
    }

    @media (width < 1024px) {
      font-size: 7.9vw;
      line-height: 1.4;
      margin: 0 0 9vw;
      padding-right: 22vw;
    }

    span.text_right {
      display: block;

      @media (min-width:1024px) {
        margin-left: 66px;
        white-space: nowrap;
      }
    }
  }

  .intro_text {
    @media (min-width:1024px) {
      font-size: 19px;
      line-height: 2;
      font-weight: bold;
      margin-left: 5px;
    }

    @media (width < 1024px) {
      font-size: 4vw;
      line-height: 2;
      font-weight: bold;
    }

    .mb_h {
      margin-bottom: 1.2em;
    }
  }

  h3.logo_wrap {
    display: flex;
    align-items: center;
    align-self: flex-end;

    @media (min-width:1024px) {
      width: 45%;
      align-items: end;
    }

    @media (width < 1024px) {
      align-items: flex-end;
      margin-top: 15vw;
    }

    .logo_honda {
      width: 29%;
      margin-right: 7.2%;
    }

    .segment {
      display: block;
      background-color: var(--color_black);

      @media (min-width:1024px) {
        width: 2px;
        height: 88px;
        margin: 0 8.5% 0 0;
      }

      @media (width < 1024px) {
        width: 1px;
        margin: 0 7vw 0 0;
        height: 12vw;
      }
    }

    .logo_onitsuka {
      width: 34%;

      @media (min-width:1024px) {
        margin-bottom: 8px;
      }

      @media (width < 1024px) {
        margin-bottom: 1vw;
      }
    }
  }

  .share_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;

    @media (min-width:1024px) {
      top: 26px;
      right: 2.6%;
      width: 55px;
    }

    @media (width < 1024px) {
      top: -18vw;
      right: 4vw;
      width: 11.5vw;
    }

    .share_title {
      @media (min-width:1024px) {
        width: 13px;
        margin-bottom: 18px;
      }

      @media (width < 1024px) {
        width: 3vw;
        margin-bottom: 3vw;
      }
    }

    .btn_x,
    .btn_line {
      display: block;
      width: 100%;
    }

    .btn_x {
      @media (min-width:1024px) {
        margin-bottom: 10px;
      }

      @media (width < 1024px) {
        margin-bottom: 4vw;
      }
    }
  }
}

/*section_runway
---------------------------------------------*/
section.section_runway {
  z-index: 1;
  position: relative;

  .runway_title_wrap {
    position: relative;

    @media (width < 1024px) {
      background-color: var(--color_yellow);
      padding-bottom: 10vw;
    }

    &::after {
      position: absolute;
      content: "";
      height: 38.6%;
      width: 120px;
      background-color: var(--color_yellow);
      top: 0;
      left: 0;
      right: 0;
      margin: auto;
      z-index: -1;
    }

    .runway_title {
      position: relative;
      transition: 1s ease-in-out;

      @media (min-width:1024px) {
        padding: 0px 0;
        width: 91.5%;
        margin: auto;
        position: relative;
        /* left: -0.4%; */
      }
    }
  }

  .runway_photo_bg {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    margin: auto;
    background-color: #000;

    .passing-bar::before {
      animation-duration: 2s !important;
    }

    .passing-txt {
      animation-duration: 1.0s !important;
    }

    &.on .runway_photo {
      transition: 1.5s all;
      transition-delay: 0.8s;
      opacity: 1;
    }

    .runway_photo {
      display: block;
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      opacity: 0;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
  }
}

/*section_brand-story
---------------------------------------------*/
section.section_brand-story {
  color: var(--color_black);
  position: relative;

  .title_area {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    line-height: 1;

    @media (min-width:1024px) {
      padding: 90px 0 70px;
      min-height: 650px;
    }

    @media (width < 1024px) {
      justify-content: flex-start;
      padding: 14vw 0vw;
      min-height: 99vw;
      box-sizing: border-box;
    }

    .brand_copy {
      font-weight: bold;
      text-align: right;

      @media (min-width:1024px) {
        font-size: 24px;
        line-height: 1.7;
        margin-right: 60px;
        position: absolute;
        left: 0;
        right: 310px;
        text-align: left;
        margin: auto;
        width: 317px;
        letter-spacing: 0.15em;
      }

      @media (width < 1024px) {
        font-size: 4.1vw;
        line-height: 1.7;
        text-align: center;
        /* width: 55vw; */
        padding-left: 3vw;
      }
    }

    .title {
      position: absolute;
      z-index: 1;

      @media (min-width:1024px) {
        width: 118px;
        left: 0;
        right: -180px;
        margin: auto;
      }

      @media (width < 1024px) {
        width: 15vw;
        top: 11vw;
        right: 32vw;
      }
    }
  }

  .brand_honda_wrap,
  .brand_onitsuka_wrap {
    background-color: #000;
    display: flex;
    position: relative;

    .bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    .story_text_wrap {
      position: relative;
      z-index: 1;
      color: var(--color_white);
      width: 100%;

      @media (min-width:1024px) {
        /* width: 42%; */
      }

      .logo {
        @media (min-width:1024px) {
          width: 220px;
          margin-bottom: 26px;
        }

        @media (width < 1024px) {
          width: 46vw;
          margin-bottom: 5vw;
        }
      }

      .title {
        font-weight: bold;

        @media (min-width:1024px) {
          font-size: 24px;
          margin-bottom: 20px;
        }

        @media (width < 1024px) {
          font-size: 6.5vw;
          margin-bottom: 6vw;
        }
      }

      .text {
        @media (min-width:1024px) {
          font-size: 15.4px;
          line-height: 1.9;
        }

        @media (width < 1024px) {
          font-size: 4.2vw;
          line-height: 1.9;
        }

        &.mb_h {
          margin-bottom: 1.1em;
        }
      }
    }
  }

  .brand_honda_wrap {
    @media (min-width:1024px) {
      min-height: 599px;
      padding-left: 88px;
      margin: 0 20px;
      padding-top: 66px;
      box-sizing: border-box;

      .story_text_wrap {
        @media (min-width:1024px) {
          /* width: 42%; */
        }

        .logo {
          @media (min-width:1024px) {
            width: 176px;
            margin-bottom: 56px;
          }
        }
      }
    }

    @media (width < 1024px) {
      min-height: 177vw;
      padding: 16vw 4vw 4vw;
      box-sizing: border-box;

      .story_text_wrap .logo {
        @media (width < 1024px) {
          width: 28vw;
          margin-bottom: 15vw;
        }
      }
    }
  }

  .brand_onitsuka_wrap {
    justify-content: flex-end;

    @media (width < 1024px) {
      min-height: 178vw;
      padding: 22vw 5vw 5vw;
      box-sizing: border-box;

      .story_text_wrap .logo {
        @media (width < 1024px) {
          width: 39vw;
          margin-bottom: 12vw;
        }
      }
    }

    @media (min-width:1024px) {
      min-height: 597px;
      padding-right: 96px;
      margin: 0 20px;
      padding-top: 110px;
      box-sizing: border-box;
      overflow: hidden;

      .story_text_wrap {
        @media (min-width:1024px) {
          width: 42%;
        }

        .logo {
          @media (min-width:1024px) {
            width: 236px;
            margin-bottom: 46px;
          }
        }
      }
    }
  }
}

/*section_story-detail
---------------------------------------------*/
section.section_story-detail {
  color: var(--color_black);

  .v_line {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    background-color: var(--color_black);
    z-index: 0;

    @media (min-width:1024px) {
      width: 3px;
      height: 100%;
    }
  }

  .badge {
    position: absolute;
    z-index: 1;

    @media (min-width:1024px) {
      width: 12.4%;
    }

    @media (width < 1024px) {
      position: static;
      width: 24vw;
      margin: 0 0 4vw;
    }
  }

  .technology_wrap,
  .philosophy_wrap,
  .history_wrap {
    position: relative;

    @media (width < 1024px) {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }
  }

  /* --- technology --- */
  .technology_wrap {
    @media (min-width:1024px) {
      padding: 247px 60px;
    }

    @media (width < 1024px) {
      padding: 32.8vw 0vw 0;
      box-sizing: border-box;
    }

    .title {
      @media (min-width:1024px) {
        width: 40%;
        margin-bottom: 30px;
        margin-left: 7.8%;
      }

      @media (width < 1024px) {
        width: 100vw;
        margin-bottom: 10vw;
      }
    }

    .text_wrap {
      @media (min-width:1024px) {
        width: 38%;
      }

      @media (width < 1024px) {
        padding: 0 8vw;
        width: 100%;
        box-sizing: border-box;
      }

      .heading {
        font-weight: bold;

        @media (min-width:1024px) {
          font-size: 23px;
          margin-bottom: 31px;
        }

        @media (width < 1024px) {
          font-size: 6.2vw;
          margin-bottom: 5vw;
        }
      }

      .text {
        font-weight: bold;

        @media (min-width:1024px) {
          font-size: 15.2px;
          line-height: 2.1;
        }

        @media (width < 1024px) {
          font-size: 4.1vw;
          line-height: 2.1;
        }

        .mb_h {
          margin-bottom: 1.1em;
        }
      }
    }

    .photo1,
    .photo2 {
      position: absolute;

      @media (min-width:1024px) {
        width: 28%;
      }

      @media (width < 1024px) {
        position: relative;
        width: 80%;
        margin-top: 6vw;
      }

      .passing-bar::before {
        @media (min-width:1024px) {
          animation-delay: 0.8s !important;
        }
      }

      .passing-txt {
        @media (min-width:1024px) {
          animation-delay: 1.3s !important;
        }
      }
    }

    .photo1 {
      @media (min-width:1024px) {
        left: 42.5%;
        top: 51%;
      }

      @media (width < 1024px) {}
    }

    .photo2 {
      @media (min-width:1024px) {
        right: 1%;
        top: 34.6%;
      }

      @media (width < 1024px) {
        margin: 0 0 0 auto;
      }
    }

    .separate_text {
      font-size: 4.2vw;
      line-height: 1.9;
      width: 80%;
      font-weight: bold;
      margin: 8.5vw 0vw 8.5vw auto;
      padding-right: 6vw;
      box-sizing: border-box;
    }

    .badge {
      @media (min-width:1024px) {
        left: 64.7%;
        top: 25%;
      }
    }
  }

  /* --- philosophy --- */
  .philosophy_wrap {
    display: flex;
    justify-content: flex-end;

    @media (min-width:1024px) {
      padding: 103px 60px;
      height: 833px;
      box-sizing: border-box;
    }

    @media (width < 1024px) {
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      padding: 22vw 0vw 0;
      box-sizing: border-box;
    }

    .title {
      text-align: right;

      @media (min-width:1024px) {
        position: absolute;
        width: 33.5%;
        right: 14%;
        top: 104px;
      }

      @media (width < 1024px) {
        text-align: left;
        width: 97vw;
        margin: auto;
        margin-bottom: 9vw;
      }
    }

    .text_wrap {
      @media (min-width:1024px) {
        width: 36.6%;
        margin-top: 177px;
      }

      @media (width < 1024px) {
        padding: 0 8vw;
        width: 100%;
        box-sizing: border-box;
      }

      .heading {
        font-weight: bold;

        @media (min-width:1024px) {
          font-size: 22.7px;
          margin-bottom: 30px;
        }

        @media (width < 1024px) {
          font-size: 6.2vw;
          margin-bottom: 4vw;
        }
      }

      .text {
        font-weight: bold;

        @media (min-width:1024px) {
          font-size: 15px;
          line-height: 2.2;
        }

        @media (width < 1024px) {
          font-size: 4.2vw;
          line-height: 1.9;
        }

        .mb_h {
          margin-bottom: 1.1em;
        }
      }
    }

    .photo1,
    .photo2 {
      position: absolute;

      @media (min-width:1024px) {
        width: 27.8%;
      }

      @media (width < 1024px) {
        position: relative;
        width: 80%;
        margin-top: 6vw;
      }

      .passing-bar::before {
        @media (min-width:1024px) {
          animation-delay: 0.8s !important;
        }
      }

      .passing-txt {
        @media (min-width:1024px) {
          animation-delay: 1.3s !important;
        }
      }
    }

    .photo1 {
      @media (min-width:1024px) {
        left: 1.6%;
        top: 20%;
      }

      @media (width < 1024px) {}
    }

    .photo2 {
      @media (min-width:1024px) {
        left: 30%;
        top: 39%;
      }

      @media (width < 1024px) {
        margin: 0 0 0 auto;
      }
    }

    .separate_text {
      font-size: 4.4vw;
      line-height: 1.9;
      width: 75%;
      font-weight: bold;
      margin: 8.5vw 0 8.5vw auto;
      padding-right: 5vw;
    }

    .badge {
      @media (min-width:1024px) {
        left: 23%;
        top: 9%;
      }
    }
  }

  /* --- history --- */
  .history_wrap {
    @media (min-width:1024px) {
      padding: 0px 60px;
      height: 700px;
    }

    @media (width < 1024px) {
      padding: 14vw 0vw 22vw;
      box-sizing: border-box;
    }

    .title {
      @media (min-width:1024px) {
        position: absolute;
        width: 25%;
        left: 22.9%;
        top: 7%;
      }

      @media (width < 1024px) {
        width: 100%;
        margin-bottom: 9vw;
      }
    }

    .text_wrap {
      @media (min-width:1024px) {
        width: 34%;
        top: 32%;
        left: 4.5%;
      }

      @media (width < 1024px) {
        padding: 0 8vw;
        width: 100%;
        box-sizing: border-box;
      }

      .heading {
        font-weight: bold;

        @media (min-width:1024px) {
          font-size: 23.7px;
          margin-bottom: 34px;
        }

        @media (width < 1024px) {
          font-size: 6.3vw;
          margin-bottom: 4vw;
        }
      }

      .text {
        font-weight: bold;

        @media (min-width:1024px) {
          font-size: 15.3px;
          line-height: 2em;
        }

        @media (width < 1024px) {
          font-size: 4.1vw;
          line-height: 2.05;
        }

        .mb_h {
          margin-bottom: 1.1em;
        }
      }

      position: absolute;

      @media (width < 1024px) {
        position: static;
        width: 100%;
      }
    }

    .photo1,
    .photo2 {
      position: absolute;

      @media (min-width:1024px) {
        width: 28%;
        transition-delay: 1.0s;
      }

      @media (width < 1024px) {
        position: relative;
        width: 80%;
        margin-top: 4vw;
      }

      .passing-bar::before {
        @media (min-width:1024px) {
          animation-delay: 0.8s !important;
        }
      }

      .passing-txt {
        @media (min-width:1024px) {
          animation-delay: 1.3s !important;
        }
      }
    }

    .photo1 {
      @media (min-width:1024px) {
        left: 42.4%;
        top: 38%;
      }

      @media (width < 1024px) {}
    }

    .photo2 {
      @media (min-width:1024px) {
        right: 1%;
        top: 15%;
      }

      @media (width < 1024px) {
        margin: 0 0 0 auto;
      }
    }

    .separate_text {
      font-size: 4.1vw;
      line-height: 2.05;
      width: 80%;
      font-weight: bold;
      margin: 8.5vw 0 8.5vw auto;
      padding-right: 3vw;
      box-sizing: border-box;
    }

    .badge {
      @media (min-width:1024px) {
        left: 65%;
        top: 2%;
      }
    }
  }
}

/*bike_photo_wrap
---------------------------------------------*/
.bike_photo_wrap {
  background-color: #000000;
  z-index: 1;
  position: relative;

  @media (min-width:1024px) {
    margin: 247px 20px 0;
  }

  @media (width < 1024px) {
    display: flex;
    align-items: center;
    margin-top: 32.8vw;
  }

  .bike_photo {
    overflow: hidden;

    @media (min-width:1024px) {
      max-width: 1310px;
      width: 100%;
      margin: 0 auto;
    }

    @media (width < 1024px) {}
  }
}

/*bike_photo_wrap（STORY DETAIL 内 2点）
---------------------------------------------
  Figma Frame 917（PC）/ Frame 918（SP）2026/09 最新版で追加。
  Technology の後・Philosophy の後にそれぞれ1点ずつ配置する。
  History 後の既存 .bike_photo_wrap には影響させないため、
  modifier class（-story）が付いたときだけ効く指定にしている。

  Figma 実測値
    PC : X20 / W1400 / H711.67
         （左右20px余白・直前セクションとの間隔160px）
    SP : X0  / W375  / H190.63
         （全幅・直前セクションとの間隔120px ＝ 32vw）
  画像素材は 1400 x 712（比率 1.9663）。
  img の width:100% / height:auto / display:block は
  style.css 冒頭のグローバル指定を使用する。 */
.bike_photo_wrap.-story {
  @media (min-width:1024px) {
    /* 上下は -story01 / -story02 で個別に指定する */
    margin: 0 20px;
  }

  @media (width < 1024px) {
    /* SP は全幅。上余白は①②共通（Technology / Philosophy の
       末尾の余白 8.48vw と合わせて Figma の 32vw ＝ 120px になる） */
    margin-top: 23.5vw;
  }

  .bike_photo {
    @media (min-width:1024px) {
      /* 既存の .bike_photo は max-width:1310px で中央寄せだが、
         今回の2点は Figma 上で帯いっぱい（1400px）に入っている */
      max-width: none;
    }
  }
}

/* ①（Technology の後）
   上下均等  上160px / 下160px（PC）、上下とも120px（SP）
   ブラウザ側の前後セクション内部余白
     PC : Technology 末尾 42.3px / Philosophy 先頭 75px
     SP : Technology 末尾 8.48vw / Philosophy 先頭 22vw
   → 差し引いた値を margin に与える。 */
.bike_photo_wrap.-story01 {
  @media (min-width:1024px) {
    margin-top: 118px;    /* 160 - 42.3 */
    margin-bottom: 85px;  /* 160 - 75   */
  }

  @media (width < 1024px) {
    margin-bottom: 10vw;  /* 32vw - 22vw */
  }
}

/* ②（Philosophy の後）
   上下均等  上160px / 下160px（PC）、上下とも120px（SP）
   ブラウザ側の前後セクション内部余白
     PC : Philosophy 末尾 101.8px / History 先頭 14px
     SP : Philosophy 末尾 8.51vw / History 先頭 14vw */
.bike_photo_wrap.-story02 {
  @media (min-width:1024px) {
    margin-top: 58px;     /* 160 - 101.8 */
    margin-bottom: 146px; /* 160 - 14    */
  }

  @media (width < 1024px) {
    margin-bottom: 18vw;  /* 32vw - 14vw */
  }
}

/*section_goal
---------------------------------------------*/
section.section_goal {
  .goal_map {
    /* background-color: var(--color_black); */
    padding-top: 120vh;
    position: relative;
    overflow: hidden;

    @media (min-width:1024px) {}

    @media (width < 1024px) {}

    .v_line {
      display: block;
      position: absolute;
      top: 0;
      left: 50%;
      background: linear-gradient(180deg, var(--color_yellow) 0%, var(--color_black) 70%);

      @media (min-width:1024px) {
        width: 4px;
        height: 60%;
      }

      @media (width < 1024px) {
        width: 1px;
        height: 60%;
      }
    }

    .goal_pict {
      position: relative;

      @media (min-width:1024px) {
        width: 92%;
        margin: 0 auto;
        background-color: var(--color_yellow);
      }

      @media (width < 1024px) {
        width: 110%;
        margin: 0 auto;
        position: relative;
        left: -5%;
      }

      picture img {
        filter: brightness(0);
      }

      .goal_pict_tint {
        position: absolute;
        inset: 0;
        -webkit-mask-image: url(../images/goal_pict.webp);
        mask-image: url(../images/goal_pict.webp);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-size: contain;
        mask-size: contain;

        &.-base {
          background-color: #000;
        }

        &.-top {
          background-color: #fff383;
          /* background-color: var(--color_yellow); */
        }
      }

      .goal_pict_reveal {
        position: absolute;
        inset: 0;
        -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 85%);
        mask-image: radial-gradient(circle, #000 40%, transparent 85%);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: 50% 0%;
        mask-position: 50% 0%;
        transition: mask-size 3s ease-out, -webkit-mask-size 3s ease-out;

        /* transition-timing-function: steps(60); */
        @media (min-width:1024px) {
          -webkit-mask-size: 0px 0px;
          mask-size: 0px 0px;
        }

        @media (width < 1024px) {
          -webkit-mask-size: 0px 0px;
          mask-size: 0px 0px;
        }
      }
    }

    &.-on .goal_pict .goal_pict_reveal {
      @media (min-width:1024px) {
        -webkit-mask-size: 4000px 2000px;
        mask-size: 4000px 2000px;
      }

      @media (width < 1024px) {
        -webkit-mask-size: 1000px 1000px;
        mask-size: 1000px 1000px;
      }
    }
  }

  .goal_bottom {
    background-color: var(--color_black);
    color: var(--color_white);
    /* display: flex; */
    position: relative;
    overflow: hidden;

    @media (min-width:1024px) {
      min-height: 470px;
      padding: 135px 0 0 200px;
    }

    @media (width < 1024px) {
      min-height: 184vw;
      padding: 19vw 3vw 0;
      box-sizing: border-box;
      /* display: flex; */
      /* align-items: flex-end; */
    }

    .bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    &::before {
      content: "";
      display: block;
      position: absolute;
      inset: 0;
      background-image: linear-gradient(90deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, .05) 100%);
      z-index: 1;

      @media (width < 1024px) {
        background-image: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .8) 75%);
      }
    }

    .goal_bike {
      position: absolute;
      z-index: 2;

      @media (min-width:1024px) {
        width: 48%;
        right: -2%;
        bottom: 0;
      }
    }

    .text_wrap {
      align-self: center;
      position: relative;
      z-index: 3;

      @media (min-width:1024px) {}
    }

    h3.title {
      font-weight: bold;
      line-height: 1.6;

      @media (min-width:1024px) {
        font-size: 23.6px;
        margin-bottom: 50px;
      }

      @media (width < 1024px) {
        font-size: 6.1vw;
        margin-bottom: 6vw;
      }
    }

    .text {
      @media (min-width:1024px) {
        font-size: 15.4px;
        line-height: 1.9;
        margin-bottom: 60px;

        .mb_h {
          margin-bottom: 1.2em;
        }
      }

      @media (width < 1024px) {
        font-size: 4.3vw;
        line-height: 2;
        margin-bottom: 8vw;

        .mb_h {
          margin-bottom: 1.2em;
        }
      }
    }

    .link_wrap {
      display: flex;

      @media (width < 1024px) {
        flex-direction: column;
      }

      .text_link {
        display: block;
        color: var(--color_white);
        font-weight: bold;
        position: relative;

        @media (min-width:1024px) {
          font-size: 18px;
          padding-left: 34px;
          margin-right: 47px;
        }

        @media (width < 1024px) {
          font-size: 4.9vw;
          padding-left: 8vw;
          line-height: 1.6;
          margin-bottom: 3vw;
        }

        &::before {
          content: "";
          display: block;
          position: absolute;
          top: 50%;
          left: 0;
          background-image: url(../images/icon_arrow.svg);
          background-repeat: no-repeat;
          background-size: contain;
          transform: translateY(-50%);

          @media (min-width:1024px) {
            width: 24px;
            height: 24px;
          }

          @media (width < 1024px) {
            width: 6vw;
            height: 6vw;
          }
        }

        &.external-link {
          span {
            align-items: center;
            display: inline-flex;

            &::after {
              content: "";
              display: inline-block;
              background-image: url(../images/icon_external.svg);
              background-repeat: no-repeat;
              background-size: contain;

              @media (min-width:1024px) {
                margin-left: 5px;
                width: 18px;
                height: 18px;
              }

              @media (width < 1024px) {
                margin-left: 2vw;
                width: 5vw;
                height: 5vw;
              }
            }
          }
        }
      }
    }
  }
}

/*main end
  ---------------------*/
/*anime*/
.runway_anime {
  background-color: var(--color_yellow);
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;

  @media (min-width:1024px) {
    width: 60px;
    height: calc(100vh - 500px)
  }

  @media (width < 1024px) {
    height: 16vw;
    width: 4vw;
  }

  &.on {
    height: 0;
    transition: all 1s;
  }
}

.-bg_change_area {
  transition: background-color 0.75s ease;

  &.-on {
    background-color: #000 !important;
  }
}

.-spinner {
  animation: rotate 40s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.-mask_light {
  position: relative;

  .mask_light_layer {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: url(../images/mask_light.webp);
    background-repeat: no-repeat;
    background-size: 150% 100%;
    background-position: -100% 0;
    -webkit-mask-image: var(--mask_src);
    mask-image: var(--mask_src);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;

    &.-vertical {
      background-image: url(../images/mask_light_vertical.webp);
      background-size: 100% 150%;
      background-position: 0 -100%;
    }
  }

  &.-on .mask_light_layer {
    animation: mask_light_sweep 1.2s ease forwards;

    &.-vertical {
      animation: mask_light_sweep_vertical 1.2s ease forwards;
    }
  }
}

@keyframes mask_light_sweep {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

@keyframes mask_light_sweep_vertical {
  0% {
    background-position: 0 200%;
  }

  100% {
    background-position: 0 -100%;
  }
}

.-fadeInUp {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.6s ease-in-out;

  &.on {
    opacity: 1;
    transform: translateY(0px);
  }
}

.-fadeInDown {
  opacity: 0;
  transform: translateY(-40px);
  transition: 0.6s ease-in-out;

  &.on {
    opacity: 1;
    transform: translateY(0px);
  }
}

.-fadeInLeft {
  opacity: 0;
  transform: translateX(40px);
  transition: 0.6s ease-in-out;

  &.on {
    opacity: 1;
    transform: translateY(0px);
  }
}

.-fadeInRight {
  opacity: 0;
  transform: translateX(-40px);
  transition: 0.6s ease-in-out;

  &.on {
    opacity: 1;
    transform: translateY(0px);
  }
}

.-fadeIn {
  opacity: 0;
  transition: 0.6s ease-in-out;

  &.on {
    opacity: 1;
  }
}

.-wideFrame {
  width: 0px;
  height: 100%;
  transition: 0.8s ease-out;

  @media (min-width:1024px) {
    height: 811px;
  }

  @media (width < 1024px) {
    height: 55vw;
  }

  &.on {
    width: 100%;
  }
}

.-photo_reveal {
  overflow: hidden;

  picture {
    opacity: 0;
  }

  .photo_reveal_mat {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0%;
    background-color: var(--color_black);
    z-index: 1;
  }

  &.on {
    picture {
      animation: photo_reveal_image 0.8s linear forwards;
    }

    .photo_reveal_mat {
      animation: photo_reveal_wipe 0.8s linear forwards;
    }
  }
}

@keyframes photo_reveal_image {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0;
  }

  50.01% {
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}

@keyframes photo_reveal_wipe {
  0% {
    left: 0;
    right: auto;
    width: 0%;
  }

  50% {
    left: 0;
    right: auto;
    width: 100%;
  }

  50.01% {
    left: auto;
    right: 0;
    width: 100%;
  }

  100% {
    left: auto;
    right: 0;
    width: 0%;
  }
}

.bg_change_threshold {
  position: relative;
  top: -200px
}

@keyframes passing-bar {
  0% {
    left: 0;
    width: 0;
  }

  50% {
    left: 0;
    width: 100%;
  }

  51% {
    left: 0;
    width: 100%;
  }

  100% {
    left: 100%;
    width: 0;
  }
}

@keyframes passing-txt {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes passing-light {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.passing {
  .passing-box {
    display: block;
    overflow: hidden;
  }

  .passing-bar {
    position: relative;
    display: inline-block;
    transform: translate3d(0, 0, 0);
  }

  .passing-bar::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    background-color: var(--color_black);
  }

  .passing-txt {
    margin: 0;
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }

  &.on .passing-bar::before {
    animation: passing-bar 1.1s cubic-bezier(0.77, 0, 0.175, 1) 1 normal forwards;
  }

  &.on .passing-txt {
    animation: passing-txt .1s ease .7s 1 normal forwards;
  }
}

.contets_wrap .contents_runway {
  height: 0;
  transition: none;
  background-size: 100% auto;
  transform-origin: 50% 0%;
  will-change: transform;
}

.contets_wrap .contents_runway.-contents_runway.-on {
  transition: background-image 4s linear;
}

.runway_title_wrap.-pc .runway_title {
  --runway-origin-x: 0.504376;
  --runway-origin-y: 0.384058;
  --runway-origin-gap: 0px;
  --y-left-x: 0.471461;
  --y-left-y: 0.004348;
  --y-right-x: 0.537291;
  --y-right-y: 0.004348;
  --y-merge-x: 0.504376;
  --y-merge-y: 0.217391;
  --y-stem-end-y: 0.384058;
  --title-ink-bottom: 0.384058;
  --grow-len-k: 1.4169;
  --grow-len-cap: 9999px;
}

.runway_title_wrap.-sp .runway_title {
  --runway-origin-x: 0.504376;
  --runway-origin-y: 0.980952;
  --runway-origin-gap: 12px;
  --y-left-x: 0.603027;
  --y-left-y: 0.004762;
  --y-right-x: 0.687960;
  --y-right-y: 0.004762;
  --y-merge-x: 0.645467;
  --y-merge-y: 0.175238;
  --y-stem-end-y: 0.465333;
  --title-ink-bottom: 0.990667;
  --grow-len-k: 3.2714;
  --grow-len-cap: 120px;
}

@media (min-width:1024px) {
  section.section_runway .runway_title_wrap.-pc {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (width < 1024px) {
  section.section_runway .runway_title_wrap.-sp {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.runway_title {
  --rt_fade: 0;
  --rt_shine: 2;
}

section.section_runway .runway_title_wrap .runway_title.-rt_armed {
  transition: none;
}

.runway_title.-rt_armed>picture,
.runway_title.-rt_armed>.runway_title_shine_layer {
  transform: translateY(var(--rt_shift, 0px));
}

.runway_title.-rt_armed picture {
  opacity: var(--rt_fade, 0);
}

.runway_title_shine_layer {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background-image: url(../images/mask_light_runway.webp);
  background-repeat: no-repeat;
  background-size: 300% 100%;
  background-position: calc(var(--rt_shine, 2) * 100%) 0;
  -webkit-mask-image: var(--mask_src);
  mask-image: var(--mask_src);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.runway_title.-rt_shine .runway_title_shine_layer {
  opacity: 1;
}

.rl_clip {
  position: absolute;
  inset: 0;
  pointer-events: none;
  clip-path: inset(var(--rl_clip_top, 0px) 0 0 0);
}

.rl_clip.-front {
  z-index: 88;
}

.rl_light {
  position: absolute;
  left: 0;
  top: 0;
  height: 60vh;
  width: 13vw;
  border-radius: 50vh;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s ease;
  will-change: transform, opacity;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 55%, #000 72%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 55%, #000 72%);
  transform-origin: 50% 92.75%;
}

.rl_light.-lit {
  opacity: 1;
}

.rl_light img {
  width: 100%;
  height: 100%;
}

.rl_ymask {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 88;
  -webkit-mask-repeat: no-repeat, no-repeat;
  mask-repeat: no-repeat, no-repeat;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.rl_ymask.-done {
  display: none;
}

section.intro {
  background-color: transparent;
}

section.section_runway .runway_title_wrap.-pc::after {
  display: none;
}

@media (width < 1024px) {

  section.section_runway .runway_title_wrap.-sp {
    background-color: transparent;
  }
}

section.section_goal .goal_map .goal_pict {
  background-color: transparent !important;
}

.contets_wrap .contents_runway.-contents_runway.-start::after {
  display: none;
}
