@charset "UTF-8";

/* =============================================================================

Top CSS

・トップページ用CSS「.top-×××」

上記はここに記述する

============================================================================= */

/* .top-opening
----------------------------------------------------------------------------- */
.top-opening {
  display:flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height:100svh;
  z-index: 1000;
  pointer-events: none;
  .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: #fff; */
  }
  .headingwrap {
    position: relative;
    padding: 1rem;
    clip-path: inset(0 0 calc(100% - 3px) 0);
  }
  .bar {
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    background-color: #FFF;

    @media (width > 640px) {
      height: 3px;
    }
    @media (width <= 640px) {
      height: 1px;
    }
  }
  .heading {
    display:block;
    position: relative;
    width:34.4rem;
    height:auto;
    fill: #FFF;
    overflow: visible;
    @media (width <= 640px) {
      width:28.0rem;
    }
  }
}

/* .top-kv
----------------------------------------------------------------------------- */
.top-kv {
  display:flex;
  justify-content: center;
  align-items: center;
  height:100svh;
  position:relative;

  @media (width > 640px) {
  }
  @media (width <= 640px) {
  }
  .heading {
    display:block;
    width:60.5rem;
    height:auto;
    aspect-ratio: 605/147;
    @media (width <= 640px) {
      width:36.0rem;
    }
  }
  .bg {
    position:absolute;
    inset:0;
    z-index: -1;
  }
}


/* .top-intro
----------------------------------------------------------------------------- */
.top-intro {
  padding-block:28.0rem;
  font-size:15.0rem;
  letter-spacing: .02em;
  line-height:1;
  overflow: hidden;

  @media (width <= 640px) {
    padding-block:12.8rem 16.0rem;
    font-size:7.2rem;
    letter-spacing: .05em;
  }
  .txt {
    padding-right:.5em;
    white-space: pre;
    span {
      display: inline-block;
    }
  }
}


/* .top-our_vision
----------------------------------------------------------------------------- */
.top-our_vision {
  @media (width > 640px) {
    display:flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom:37.0rem;
  }
  @media (width <= 640px) {
    padding-bottom:12.0rem;
  }

  .our_vision-heading {
    display:grid;
    width:fit-content;
    @media (width > 640px) {
      position:sticky;
      top:12.0rem;
    }
    @media (width <= 640px) {
      gap:2.0rem;
      margin-bottom:8.0rem;
    }
    .en {
      -webkit-background-clip:text;
      background-image:var(--grad-A);
      background-size: 100% 100%;
      color:transparent;
      @media (width > 640px) {
        grid-row:1/2;
        grid-column:1/2;
      }
    }
    .ja {
      font-size:1.6rem;
      letter-spacing: .2em;
      line-height:1;
      @media (width > 640px) {
        grid-row:1/2;
        grid-column:1/2;
        margin-top:10.0rem;
        margin-inline:auto 1.0rem;
      }
      @media (width <= 640px) {
        font-size:1.2rem;
      }
    }
  }

  .text {
    @media (width > 640px) {
      margin-top:100dvh;
    }
    .heading {
      margin-bottom:4.8rem;
    }
    .desc {
      span {
        display: inline-block;
      }
    }
    .l-button-A {
      margin-top:7.2rem;
      @media (width <= 640px) {
        margin-top:6.4rem;
      }
    }
  }
}


/* .top-service
----------------------------------------------------------------------------- */
.top-service {
  @media (width > 640px) {
  }
  @media (width <= 640px) {
  }

  .service_heading {
    display:grid;
    gap:1.6rem;
    margin-bottom:10.0rem;
    text-align: center;
    @media (width > 640px) {
    }
    @media (width <= 640px) {
      gap:2.0rem;
    }
    .en {
      -webkit-background-clip:text;
      background-image:var(--grad-A);
      background-size: 100% 100%;
      color:transparent;
      @media (width > 640px) {
      }
    }
    .ja {
      font-size:1.6rem;
      letter-spacing: .2em;
      line-height:1;
      @media (width > 640px) {
      }
      @media (width <= 640px) {
        font-size:1.2rem;
      }
    }
  }
  .g-service_links {
    padding-bottom:20.0rem;
    @media (width <= 640px) {
      padding-bottom:12.0rem;
    }
  }

  .service_wrap {
  }
  .service {
    height:150lvh;
    position:relative;
    overflow: hidden;
    clip-path: inset(0 0 0 0);
  }
  .service_inner {
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    height:100lvh;
    @media (width > 640px) {
      display:flex;
      align-items: center;
    }

    .text {
      @media (width > 640px) {
        display:grid;
        grid-template-rows:auto auto;
        grid-template-columns: auto 48.0rem;
        grid-auto-flow: column;
        justify-content: space-between;
        align-items: flex-start;
      }
      @media (width <= 640px) {
        --my-dvh:calc(100vh - 100svh);
        padding-block:12.0rem calc(9.5rem + var(--my-dvh));
        height:100%;
        display:flex;
        flex-direction: column;
        align-items: flex-start;
      }
    }
    .heading {
      display:grid;
      gap:2.4rem;
      @media (width > 640px) {
        grid-row:1/-1;
      }
      @media (width <= 640px) {
        gap:1.2rem;
      }
      .ja {
        font-size:1.6rem;
        letter-spacing: .12em;
        line-height:1;
        @media (width > 640px) {
        }
        @media (width <= 640px) {
          font-size:1.1rem;
        }
      }
      .en {
        font-size:6.4rem;
        letter-spacing: .07em;
        line-height:1.1;
        @media (width > 640px) {
        }
        @media (width <= 640px) {
          font-size:3.2rem;
        }
      }
    }
    .desc {
      @media (width > 640px) {
      }
      @media (width <= 640px) {
        margin-top:auto;
      }
    }
    .l-button-A {
      margin-top:4.0rem;
      @media (width <= 640px) {
        margin-top:5.6rem;
      }
    }
    .bg {
      position:absolute;
      inset:0;
      z-index: -1;
      background-color: #000;
    }
  }
}


/* .top-next2030
----------------------------------------------------------------------------- */
.top-next2030 {
  padding-block:27.0rem 24.0rem;
  @media (width > 640px) {
    display:grid;
    grid-template-columns:1fr auto 1fr;
  }
  @media (width <= 640px) {
    padding-block:16.0rem 8.0rem;
    position:relative;
  }

  .next2030_heading {
    font-size:3.6rem;
    line-height:1.9;
    letter-spacing: .2em;
    @media (width > 640px) {
      margin-left:8.0rem;
    }
    @media (width <= 640px) {
      font-size:1.8rem;
      position:absolute;
      left:3.0rem;
    }
  }
  .copy {
    font-size: 15rem;
    -webkit-background-clip:text;
    background-image:var(--grad-A);
    background-size: 100% 100%;
    color:transparent;
    writing-mode: vertical-rl;
    text-orientation: initial;
    letter-spacing: .05em;
    @media (width <= 640px) {
      font-size: 10rem;
      margin-inline:auto;
      width:100%;
      display: flex;
      align-items: center;
      overflow: hidden;
      white-space: pre;
    }
  }
  .text {
    @media (width > 640px) {
      margin-top:auto;
      margin-left:auto;
    }
    @media (width <= 640px) {
      margin-inline:auto;
      width:fit-content;
    }
    .heading {
      margin-bottom:4.0rem;
      @media (width > 640px) {
        line-height:1.5;
        letter-spacing: .15em;
      }
      @media (width <= 640px) {
        margin-block:8.0rem 4.0rem;
      }
    }
  }
}


/* .top-recruit
----------------------------------------------------------------------------- */
.top-recruit {
  margin-bottom:32.0rem;
  padding-block:51.6rem 38.0rem;
  text-align: center;
  position:relative;
  z-index: 1;
  @media (width > 640px) {
    max-width:160.0rem;
    margin-inline:auto;
  }
  @media (width <= 640px) {
    margin-bottom: 10rem;
    padding-block: 11rem 24.4rem;
    overflow: hidden;
    width: 100%;
  }
  .heading {
    display:grid;
    gap:2.4rem;
    margin-bottom:8.0rem;
    text-align: center;
    @media (width <= 640px) {
      gap:.8rem;
      margin-bottom:3.6rem;
    }
    .en {
      -webkit-background-clip:text;
      background-image:var(--grad-B);
      background-size: 100% 100%;
      color:transparent;
      font-size:12.0rem;
      line-height:1.1;
      letter-spacing: .05em;
      @media (width > 640px) {
      }
      @media (width <= 640px) {
        font-size:7.2rem;
      }
    }
    .ja {
      font-size:1.6rem;
      letter-spacing: .12em;
      line-height:1;
      @media (width > 640px) {
      }
      @media (width <= 640px) {
        font-size:1.2rem;
      }
    }
  }
  .en_copy {
    -webkit-background-clip:text;
    background-image:var(--grad-B);
    background-size: 100% 100%;
    color: transparent;
    font-size:5.5rem;
    margin-bottom:3.2rem;
    width:fit-content;
    margin-inline:auto;
    @media (width <= 640px) {
      font-size:2.0rem;
      margin-bottom:2.0rem;
    }
  }
  .ja_copy {
    font-size:2.0rem;
    line-height:1;
    letter-spacing: .2em;
    @media (width <= 640px) {
      font-size:1.5rem;
    }
  }
  .l-button-A {
    margin-top:5.6rem;
    margin-inline:auto;
    @media (width <= 640px) {
      margin-top:4.0rem;
    }
  }
  .deco {
    position:absolute;
    z-index: -1;
    @media (width > 640px) {
      width: 28rem;
      height: 37rem;
    }
    @media (width <= 640px) {
      width: 10rem;
      height: 12rem;
    }
    .imgwrap {
      overflow: hidden;
      @media (width > 640px) {
        width: 28rem;
        height: 37rem;
      }
      @media (width <= 640px) {
        width: 10rem;
        height: 12rem;
      }
    }
    img {
      display: block;
      object-fit: cover;
      position: relative;
    }


    &._01 {
      @media (width > 640px) {
        margin-inline:auto;
        top:0;
        inset-inline:0 calc(11.7rem * -2);
      }
      @media (width <= 640px) {
        top:0;
        left:6.4rem;
      }
    }
    &._02 {
      right:0;
      @media (width > 640px) {
        top:41.6rem;
      }
      @media (width <= 640px) {
        top:7.5rem;
      }
    }
    &._03 {
      @media (width > 640px) {
        top:18.5rem;
        left:8.0;
      }
      @media (width <= 640px) {
        bottom:19rem;
        left:0;
      }
    }
    &._04 {
      @media (width > 640px) {
        margin-inline:auto;
        bottom:0;
        inset-inline:0 calc(37.8rem * -2);
      }
      @media (width <= 640px) {
        right:1.5rem;
        bottom:10.4rem;
      }
    }
    &._05 {
      @media (width > 640px) {
        margin-inline:auto;
        bottom:16.0rem;
        inset-inline:calc(50.0rem * -2) 0;
      }
      @media (width <= 640px) {
        left:12.4rem;
        bottom:5rem;
      }
    }
  }
}


/* .SelectorName
----------------------------------------------------------------------------- */
.SelectorName {
  @media (width > 640px) {
  }
  @media (width <= 640px) {
  }
}