@charset "utf-8";

/* ↓↓↓ common ↓↓↓ */
:root {
  --text-sans: 'Noto Sans JP', sans-serif;
  --text-poppins: 'Poppins', sans-serif;
  --grad01: linear-gradient(90deg, #FF0048 0%, #9E60CC 50%, #00E3FF 100%);
  --grad02: linear-gradient(135deg, #FF0048 0%, #9E60CC 50%, #00E3FF 100%);
  --grad03: linear-gradient(180deg, #FF0048 0%, #9E60CC 50%, #00E3FF 100%);
  --grad04: linear-gradient(135deg, #FF0048 0%, #FF0048 40%, #9E60CC 65%, #00E3FF 100%);
  --grad05: linear-gradient(45deg, #FF0048 0%, #FF0048 40%, #9E60CC 65%, #00E3FF 100%);
  --color-navy: #052275;
}

body {
  font-size: 1.6rem;
  font-family: var(--text-sans);
}

.-noscroll {
  overflow: hidden;
}

.-pc {
  display: block;
}

.-sp {
  display: none;
}

@media (max-width: 768px) {
  .-pc {
    display: none;
  }

  .-sp {
    display: block;
  }
}

.-wb {
  display: inline-block;
}

main {
  position: relative;
  z-index: 1;
}

/* ↑↑↑ common ↑↑↑ */

/* ↓↓↓ header ↓↓↓ */
header {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  top: 0;
  left: 0;
  width: 100%;
  height: min(80px, 6.25vw);
  background-color: #fff;
  padding-inline: min(24px, 1.875vw);
  z-index: 15;

  @media (max-width: 768px) {
    height: 64px;
    padding-inline: 10px 15px;
  }

  .logo {
    display: block;
    width: min(290px, 22.65625vw);
    position: relative;
    z-index: 1;

    @media (max-width: 768px) {
      width: 208px;
    }

    picture {
      display: block;
      width: 100%;
    }
  }

  .navi {
    display: flex;
    gap: min(20px, 1.5625vw);
    height: 100%;

    @media (max-width: 768px) {
      gap: 11px;
    }

    @media (max-width: 768px) {
      .list_wrap {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100vw;
        height: calc(100dvh - 64px);
        background-color: #fff;
        display: none;
        gap: 0;
        padding: 40px 26px;
        overflow-y: scroll;
      }
    }

    .list {
      display: flex;
      align-items: center;
      gap: min(20px, 1.5625vw);
      height: 100%;

      @media (max-width: 768px) {
        flex-direction: column;
        align-items: unset;
        gap: 0;
        height: fit-content;
      }

      .item {
        position: relative;
        height: 100%;

        @media (max-width: 768px) {
          margin-top: 40px;
          order: 1;
          height: fit-content;

          &.news {
            order: 2;
          }

          &.internship {
            order: 3;
            margin-top: 16px;
          }
        }

        .page_ttl {
          display: flex;
          align-items: center;
          position: relative;
          height: 100%;
          font-size: min(1.3rem, 1.015625vw);
          font-weight: 500;
          letter-spacing: 0.04em;
          cursor: pointer;
          z-index: 1;
          @media (max-width: 768px) {
            display: none;
          }

          &:after {
            content: '';
            position: absolute;
            translate: -50% 0;
            bottom: 0;
            left: 50%;
            width: min(53px, 4.140625vw);
            aspect-ratio: 53 / 6;
            background-image: var(--grad01);
            ;
            opacity: 0;
            transition: opacity 300ms ease;
          }

          @media (min-width: 769px) {
            &:hover {
              &::after {
                opacity: 1;
              }
            }
          }
        }

        .megamenu_bg {
          position: absolute;
          transform: translate(-50%, min(50px, 3.90625vw));
          left: 50%;
          top: 0;
          width: max-content;
          padding: min(40px, 3.125vw);
          background-color: #fff;
          border-radius: 0 0 20px 20px;
          opacity: 0;
          visibility: hidden;

          @media (max-width: 768px) {
            position: relative;
            transform: translate(0, 0);
            width: 100%;
            left: unset;
            top: unset;
            padding: 0;
            border-radius: 0;
            opacity: 1;
            visibility: visible;
          }

          &::before,
          &::after {
            content: '';
            position: absolute;
            top: 0;
            left: max(-19px, -1.484375vw);
            width: min(20px, 1.5625vw);
            height: min(20px, 1.5625vw);
            background: url(../img/common/corner-deco.svg) no-repeat;
            background-size: cover;

            @media (max-width: 768px) {
              display: none;
            }
          }

          &::after {
            scale: -1 1;
            left: unset;
            right: max(-19px, -1.484375vw);
          }

          @media (max-width: 768px) {}

          .megamenu_list {
            @media (max-width: 768px) {
              display: none;
            }
            .megamenu_item {
              font-size: min(1.3rem, 1.015625vw);
              font-weight: 500;
              letter-spacing: 0.04em;
              transition: opacity 300ms ease;

              @media (max-width: 768px) {
                font-size: 1.3rem;
                margin-top: 15px;
              }

              + .megamenu_item {
                margin-top: min(20px, 1.5625vw);

                @media (max-width: 768px) {
                  margin-top: 20px;
                }
              }

              @media (min-width: 768px) {
                &:hover {
                  opacity: 0.5;
                }
              }
            }
          }
        }

        .megamenu_ttl {
          position: relative;
          padding-bottom: 17px;
          cursor: pointer;

          &::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background-color: #052275;
          }

          .en {
            font-size: 1.2rem;
            font-family: var(--text-poppins);
            font-weight: 500;
            color: #052275;
          }

          .ttl {
            font-size: 1.6rem;
            font-weight: 700;
            color: #052275;
          }

          .deco {
            position: absolute;
            top: 0;
            right: 0;
            width: 40px;
            aspect-ratio: 1 / 1;
            background-image: var(--grad02);
            border-radius: 50%;

            &::after,
            &::before {
              content: '';
              position: absolute;
              translate: -50% -50%;
              top: 50%;
              left: 50%;
              width: 16px;
              height: 2px;
              background: url(../img/common/megamenu-ttl-deco.svg) no-repeat;
              background-size: cover;
            }

            &::before {
              rotate: 90deg;
              transition: rotate 300ms ease;
            }
          }

          &.-active {
            .deco {
              &::before {
                rotate: 0deg;
              }
            }
          }
        }
      }
    }

    .entry {
      position: relative;
      cursor: pointer;
      margin-top: min(15px, 1.171875vw);
      height: fit-content;
      z-index: 1;

      @media (max-width: 768px) {
        margin-top: 8px;
      }

      .entry_ttl {
        position: relative;
        width: min(120px, 9.375vw);
        aspect-ratio: 120 / 48;
        font-size: min(1.6rem, 1.25vw);
        font-family: var(--text-poppins);
        font-weight: 700;
        letter-spacing: 0.04em;
        color: #fff;
        padding: min(14px, 1.09375vw) min(38px, 2.96875vw) min(11px, 0.859375vw) min(28px, 2.1875vw);
        z-index: 1;
        background-color: #052275;
        border-radius: 30px;

        @media (max-width: 768px) {
          width: 80px;
          aspect-ratio: 80 / 48;
          font-size: 1.6rem;
          padding: 8px 13px 17px;
        }

        &::after,
        &::before {
          content: '';
          position: absolute;
          translate: 0 -50%;
          top: 50%;
          right: min(13px, 1.015625vw);
          width: min(12px, 0.9375vw);
          height: min(2px, 0.15625vw);
          background: url(../img/common/entry-btn-deco.svg) no-repeat;
          background-size: cover;

          @media (max-width: 768px) {
            translate: -50% 0;
            bottom: 10px;
            top: unset;
            right: unset;
            left: 50%;
            width: 12px;
            height: 2px;
          }
        }

        &::after {
          rotate: 90deg;
          transition: rotate 300ms ease;
        }
      }

      &.-active {
        .entry_ttl {
          &::after {
            rotate: 0deg;
          }
        }
      }

      .entry_list {
        position: absolute;
        top: min(27px, 2.109375vw);
        left: 0;
        width: 100%;
        padding: min(27px, 2.109375vw) min(9px, 0.703125vw) min(18px, 1.40625vw);
        border-radius: 0 0 24px 24px;
        border: 1px solid #052275;
        background-color: #fff;
        display: none;

        @media (max-width: 768px) {
          top: 28px;
          left: 0;
          padding: 37px 7px 15px;
          border-radius: 0 0 10px 10px;
        }
      }

      .entry_item {
        font-size: min(1.5rem, 1.171875vw);
        font-weight: 700;
        text-align: center;
        color: #052275;
        letter-spacing: 0.04em;
        transition: opacity 300ms ease;
        @media (min-width: 769px) {
          &:hover {
            opacity: 0.5;
          }
        }

        @media (max-width: 768px) {
          font-size: 1.4rem;
          line-height: 1.4;
        }

        + .entry_item {
          position: relative;
          margin-top: min(8px, 0.625vw);
          padding-top: min(8px, 0.625vw);

          @media (max-width: 768px) {
            margin-top: 16px;
            padding-top: 16px;
          }

          &::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background-color: #052275;
          }
        }
      }
    }

    .menu_btn {
      position: relative;
      width: 34px;
      cursor: pointer;

      span {
        position: absolute;
        left: 0;
        width: 34px;
        height: 2px;
        background: url(../img/common/menu-btn-line.svg) no-repeat;
        background-size: cover;

        &:nth-of-type(1) {
          top: 23px;
          transition: top 300ms ease, rotate 300ms ease;
        }

        &:nth-of-type(2) {
          top: 50%;
          transition: opacity 300ms ease;
        }

        &:nth-of-type(3) {
          top: 42px;
          transition: top 300ms ease, rotate 300ms ease;
        }
      }

      &.-active {
        span {
          &:nth-of-type(1) {
            top: 50%;
            rotate: 27deg;
          }

          &:nth-of-type(2) {
            opacity: 0;
          }

          &:nth-of-type(3) {
            top: 50%;
            rotate: -27deg;
          }
        }
      }
    }
  }
}

/* ↑↑↑ header ↑↑↑ */

/* ↓↓↓ page-top ↓↓↓ */
@keyframes circleMove {
  0% {
    translate: -50% 0;
    opacity: 1;
  }

  60% {
    translate: -50% min(104px, 8.125vw);
    opacity: 1;
  }

  90% {
    translate: -50% min(104px, 8.125vw);
    opacity: 0;
  }

  91% {
    translate: -50% 0;
    opacity: 0;
  }

  100% {
    translate: -50% 0;
    opacity: 1;
  }
}

@media (max-width: 768px) {
  @keyframes circleMove {
    0% {
      translate: -50% 0;
      opacity: 1;
    }

    60% {
      translate: -50% 60px; 
      opacity: 1;
    }

    90% {
      translate: -50% 60px; 
      opacity: 0;
    }

    91% {
      translate: -50% 0;
      opacity: 0;
    }

    100% {
      translate: -50% 0;
      opacity: 1;
    }
  }
}

@keyframes circleMove_under {
  0% {
    translate: -50% 0;
    opacity: 1;
  }

  60% {
    translate: -50% min(108px, 8.4375vw);
    opacity: 1;
  }

  90% {
    translate: -50% min(108px, 8.4375vw);
    opacity: 0;
  }

  91% {
    translate: -50% 0;
    opacity: 0;
  }

  100% {
    translate: -50% 0;
    opacity: 1;
  }
}

.page-top {
  position: fixed;
  bottom: 0;
  right: min(24px, 1.875vw);
  z-index: 16;
  width: min(30px, 2.34375vw);
  aspect-ratio: 30 / 120;
  overflow: hidden;
  @media (max-width: 768px) {
    right: 0.234375vw;
    width: 30px;
    aspect-ratio: 30 / 72;
  }

  .line {
    position: absolute;
    translate: -50% 0;
    top: 0;
    left: 50%;
    width: min(2px, 0.15625vw);
    height: 100%;
    background: url(../img/common/top-btn-line.svg) no-repeat;
    background-size: cover;
    @media (max-width: 768px) {
      width: 2px;
      height: 100%;
      background-size: 100%;
    }
  }

  .circle {
    position: absolute;
    translate: -50% 0;
    left: 50%;
    top: 0;
    width: min(16px, 1.25vw);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    animation: circleMove 2.5s ease infinite;
    @media (max-width: 768px) {
      width: 12px;
    }

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: var(--grad02);
    }

    &::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #052275;
      opacity: 0;
      transition: opacity 300ms ease;
    }
  }

  @media (min-width: 769px) {
    &:hover {
      .circle {
        animation-play-state: paused;

        &::after {
          opacity: 1;
        }
      }
    }
  }
}

.page-top.under {
  right: min(5px, 0.390625vw);
  @media (max-width: 768px) {
    display: none;
  }

  .circle {
    width: min(12px, 0.9375vw);
    animation: circleMove_under 2.5s ease infinite;
  }
  @media (min-width: 769px) {
    &:hover {
      .circle {
        animation-play-state: paused;

        &::after {
          opacity: 1;
        }
      }
    }
  }
}

/* ↑↑↑ page-top ↑↑↑ */

/* ↓↓↓ footer ↓↓↓ */
footer {
  width: 100%;
  height: min(540px, 42.1875vw);
  background-color: #F0F0F0;
  border: 1px solid #fff;
  margin-bottom: min(40px, 3.125vw);

  &.top {
    margin-bottom: min(80px, 6.25vw);
    @media (max-width: 768px) {
      margin-bottom: 80px;
    }
  }

  @media (max-width: 768px) {
    width: 100%;
    height: min(355px, 94.66666666666667vw);
  }

  .inner {
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: min(80px, 6.25vw) min(160px, 12.5vw) min(64px, 5vw);

    @media (max-width: 768px) {
      width: 100%;
      padding: min(40px, 10.666666666666668vw) min(36px, 9.6vw);
    }

    .logo-wrap {
      display: flex;
      align-items: flex-end;
      gap: min(16px, 1.25vw);

      @media (max-width: 768px) {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: min(8px, 2.1333333333333333vw);
      }

      .logo {
        width: min(352px, 27.5vw);

        @media (max-width: 768px) {
          width: min(302px, 80.53333333333333vw);
        }

        picture {
          display: block;
          width: 100%;
        }
      }

      .cap {
        font-size: min(1.4rem, 1.09375vw);
        font-family: var(--text-poppins);
        font-weight: 700;
        letter-spacing: 0.04em;
        color: #052275;
        line-height: 1;

        @media (max-width: 768px) {
          font-size: min(1.4rem, 3.733333333333334vw);
        }
      }
    }

    .menu_wrap {
      display: flex;
      gap: min(32px, 2.5cqw);
      margin-top: min(64px, 5vw);

      @media (max-width: 768px) {
        display: none;
      }

      .list {
        width: min(160px, 12.5vw);

        &.other {
          width: min(192px, 15vw);
        }

        .item {
          width: 100%;

          + .item {
            margin-top: min(40px, 3.125cqw);
          }

          .menu_ttl {
            display: block;
            width: 100%;
            transition: opacity 300ms ease;

            .en {
              font-size: min(1.2rem, 0.9375vw);
              font-family: var(--text-poppins);
              letter-spacing: 0.048em;
              color: #052275;
            }

            .ttl {
              font-size: min(1.6rem, 1.25vw);
              font-weight: 700;
              letter-spacing: 0.04em;
              color: #052275;
            }
          }

          .menu_list {
            margin-top: min(32px, 2.5vw);

            .menu_item {
              display: block;
              font-size: min(1.3rem, 1.015625cqw);
              font-weight: 500;
              letter-spacing: 0.04em;
              transition: opacity 300ms ease;

              + .menu_item {
                margin-top: min(20px, 1.5625cqw);
              }
            }
          }
        }

        @media (min-width: 769px) {
          a.menu_ttl {
            &:hover {
              opacity: 0.5;
            }
          }

          a.menu_item {
            &:hover {
              opacity: 0.5;
            }
          }
        }
      }
    }

    .link_wrap {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: min(64px, 5vw);

      @media (max-width: 768px) {
        flex-direction: column;
        justify-content: center;
        gap: min(24px, 6.4vw);
        margin-top: min(48px, 12.8vw);
      }

      .sns_link {
        display: block;
        width: min(192px, 15vw);
        transition: opacity 300ms ease;

        @media (min-width: 769px) {
          &:hover {
            opacity: 0.5;
          }
        }

        @media (max-width: 768px) {
          width: min(155px, 41.333333333333336vw);
        }

        picture {
          display: block;
          width: 100%;
        }
      }

      .cp_link {
        position: relative;
        width: min(254px, 19.84375vw);
        aspect-ratio: 254 / 64;
        border: 1px solid #052275;
        color: #052275;
        background-color: #fff;
        padding: min(19px, 1.484375vw) min(31px, 2.421875vw);
        font-size: min(1.6rem, 1.25vw);
        font-weight: 700;
        letter-spacing: 0.04em;
        border-radius: 32px;
        transition: background-color 300ms ease, color 300ms ease;

        @media (min-width: 769px) {
          &:hover {
            background-color: #052275;
            color: #fff;
          }
        }

        @media (max-width: 768px) {
          font-size: min(1.3rem, 3.4666666666666663vw);
          width: min(170px, 45.33333333333333vw);
          aspect-ratio: 170 / 48;
          padding: min(14px, 3.733333333333334vw) min(16px, 4.266666666666667vw) min(15px, 4vw);
        }

        &::after {
          content: '';
          position: absolute;
          translate: 0 -50%;
          top: 50%;
          right: min(32px, 2.5vw);
          width: min(17px, 1.328125vw);
          height: min(13px, 1.015625vw);
          background: url(../img/common/ex-link.svg) no-repeat;
          background-size: cover;

          @media (max-width: 768px) {
            right: min(12px, 3.2vw);
            width: min(13px, 3.4666666666666663vw);
            height: min(11px, 2.933333333333333vw);
            background: url(../img/common/ex-link_sp.svg) no-repeat;
            background-size: cover;
          }
        }
      }
    }

    .copyright {
      width: fit-content;
      font-size: min(1.2rem, 3.2vw);
      font-family: var(--text-poppins);
      font-weight: 600;
      color: #052275;
      letter-spacing: 0.04em;
      margin: min(48px, 12.8vw) auto 0;
    }
  }
}

/* ↑↑↑ footer ↑↑↑ */

/* ↓↓↓ under-frame-wrap ↓↓↓ */
.under-frame-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  pointer-events: none;
  z-index: 10;

  .left-frame {
    position: absolute;
    top: min(80px, 6.25vw);
    left: 0;
    width: min(40px, 3.125vw);
    height: calc(100dvh - min(120px, 9.375vw));
    background-color: #fff;

    @media (max-width: 768px) {
      width: 2.666666666666667vw;
      top: 64px;
      height: calc(100dvh - 64px - 2.666666666666667vw);
    }

    &::before,
    &::after {
      content: '';
      position: absolute;
      top: 0;
      right: max(-19px, -1.484375vw);
      width: min(20px, 1.5625vw);
      height: min(20px, 1.5625vw);
      background: url(../img/common/corner-deco.svg) no-repeat;
      background-size: cover;
      scale: -1 1;
    }

    &::after {
      top: unset;
      scale: -1 -1;
      bottom: 0;
    }
  }

  .right-frame {
    position: absolute;
    top: min(80px, 6.25vw);
    right: 0;
    width: min(40px, 3.125vw);
    height: calc(100dvh - min(120px, 9.375vw));
    background-color: #fff;

    @media (max-width: 768px) {
      top: 64px;
      width: 2.666666666666667vw;
      height: calc(100dvh - 64px - 2.666666666666667vw);
    }

    &::before,
    &::after {
      content: '';
      position: absolute;
      top: 0;
      left: max(-19px, -1.484375vw);
      width: min(20px, 1.5625vw);
      height: min(20px, 1.5625vw);
      background: url(../img/common/corner-deco.svg) no-repeat;
      background-size: cover;
      scale: 1 1;
    }

    &::after {
      top: unset;
      scale: 1 -1;
      bottom: 0;
    }
  }

  .bottom-frame {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: min(40px, 3.125vw);
    background-color: #fff;

    @media (max-width: 768px) {
      height: 2.666666666666667vw;
    }
  }

  .copyright {
    position: absolute;
    translate: 0 max(-90px, -7.03125vw);
    top: 50%;
    right: min(8px, 0.625vw);
    font-size: min(1.4rem, 1.09375vw);
    font-family: var(--text-poppins);
    font-weight: 600;
    color: #052275;
    letter-spacing: 0.04em;
    writing-mode: sideways-rl;

    @media (max-width: 768px) {
      display: none;
    }
  }
}

/* ↑↑↑ under-frame-wrap ↑↑↑ */

/* ↓↓↓ fv-under ↓↓↓ */
.fv-under {
  width: 100%;
  padding: 17.1875cqw 0 9.84375cqw;
  position: relative;

  @media (max-width: 768px) {
    padding: 144px 0 80px;
  }
}

.fv-ttl-group {
  margin: 0 auto;

  .sub-ttl {
    margin: 0 auto;
    padding-top: 1.953125cqw;
    font-family: var(--text-poppins);
    font-size: 1.09375cqw;
    letter-spacing: 0.24em;
    line-height: 1;
    text-align: center;
    position: relative;
    span {
      display: inline-block;
    }

    @media (max-width: 768px) {
      padding-top: 15px;
      font-size: 1.0rem;
    }

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      translate: -50% 0;
      width: 6.875000000000001cqw;
      height: 0.3125cqw;
      background-image: var(--grad01);
      background-repeat: no-repeat;
      background-size: 0 100%;
      transition: background-size 300ms ease;

      @media (max-width: 768px) {
        width: 76px;
        height: 3px;
      }
    }

    &.-active {
      &::before {
        background-size: 100% 100%;
      }
    }
  }

  .main-ttl {
    margin-top: 0.8em;
    font-size: 3.75cqw;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.1041667;
    text-align: center;

    @media (max-width: 768px) {
      margin-top: 1em;
      font-size: 2.4rem;
    }
  }
}

/* ↑↑↑ fv-under ↑↑↑ */

/* ↓↓↓ contents-wrap ↓↓↓ */
.contents-wrap {
  width: 100%;
  padding-inline: 4.6875cqw;
  position: relative;

  @media (max-width: 768px) {
    padding-inline: 28px;
  }
}

/* ↑↑↑ contents-wrap ↑↑↑ */

/* ↓↓↓ main-wrap ↓↓↓ */
.main-wrap {
  max-width: 1280px;
  margin: 0 auto;
  container-type: inline-size;
  @media (max-width: 768px) {
    max-width: 100%;
  }
}

/* ↑↑↑ main-wrap ↑↑↑ */

.js-typing_under span {
  opacity: 0;
  display: inline-block;
}

@media (min-width: 1281px) {}

@media (max-width: 1280px) {}

@media (max-width: 768px) {}

@media (max-width: 480px) {}

@media (max-width: 375px) {}