@charset "UTF-8";

/* =====================
  Animation
===================== */
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }

  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }

  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }

  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/* =====================
  mv
===================== */
.mv {
  max-inline-size: 1160px;
  min-block-size: 960px;
  padding-block: 45px 0;
  margin-inline: auto;

  @media (width <= 768px) {
    min-block-size: 100%;
    padding-block: 30.7vw 0;
  }

  /* ==== inner ==== */
  .inner {
    position: relative;
    min-block-size: inherit;

    @media (width <= 768px) {
      position: unset;
    }
  }

  /* ==== copy ==== */
  .copy {
    position: relative;
    z-index: 2;
    inline-size: fit-content;
    font-size: 80px;
    line-height: 0.76;
    translate: -62px 0;

    @media (width <= 768px) {
      padding-inline: calc((100 / 390) * 15.5 * 1vw);
      font-size: calc((100 / 390) * 44 * 1vw);
      text-align: center;
      white-space: nowrap;
      translate: 0;
    }

    span {
      margin-block: calc((1em - 1lh) / 2);
      line-height: 1;
    }
  }

  /* ==== catch ==== */
  .catch {
    position: relative;
    z-index: 2;
    display: block grid;
    gap: 9px;
    inline-size: fit-content;
    padding-inline-start: 20px;
    margin-block-start: 88px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.9;

    @media (width <= 768px) {
      gap: 2vw;
      inline-size: fit-content;
      padding-inline-start: calc((100 / 390) * 33 * 1vw);
      margin-block-start: calc((100 / 390) * 24 * 1vw);
      font-size: calc((100 / 390) * 19 * 1vw);
    }

    span {
      padding-inline-start: calc(var(--_indent) * 40px);

      @media (width <= 768px) {
        padding-inline-start: calc(var(--_indent) * calc((100 / 390) * 40 * 1vw));
      }
    }
  }

  /* ==== img ==== */
  .img {
    position: absolute;
    inset-block: -50px;
    inset-inline: 0;
    z-index: 1;
    display: grid;
    block-size: 100%;
    margin-inline: auto;
    pointer-events: none;
    translate: 19px 0;

    @media (width <= 768px) {
      position: relative;
      inset: unset;
      inset-block: unset;
      block-size: 100%;
      margin-block-start: 10.2vw;
      translate: unset;
    }

    picture {
      position: absolute;
      inset: 0;
      display: block flow;
      inline-size: fit-content;

      @media (width <= 768px) {
        inset: unset;
      }

      &[data-id='1'] {
        justify-self: center;

        @media (width <= 768px) {
          position: relative;
          inline-size: calc((100 / 390) * 294 * 1vw);
          block-size: calc((100 / 390) * 424 * 1vw);
        }
      }

      &[data-id='2'] {
        align-self: flex-end;

        @media (width <= 768px) {
          inline-size: calc((100 / 390) * 133 * 1vw);
          block-size: calc((100 / 390) * 189 * 1vw);
          translate: 4vw 17.5vw;
        }
      }

      &[data-id='3'] {
        place-self: center flex-end;
        translate: 0 -36px;

        @media (width <= 768px) {
          place-self: flex-start flex-end;
          inline-size: calc((100 / 390) * 120 * 1vw);
          block-size: calc((100 / 390) * 139 * 1vw);
          translate: -4vw -18.5vw;
        }
      }

      &[data-id='4'] {
        place-self: flex-end flex-end;
        translate: -79px -32px;

        @media (width <= 768px) {
          inline-size: calc((100 / 390) * 164 * 1vw);
          block-size: calc((100 / 390) * 101 * 1vw);
          translate: -4vw 9.1vw;
        }
      }
    }
  }

  /* ==== anchor ==== */
  .anchor {
    position: absolute;
    inset-block-end: 213px;
    inset-inline-end: 111px;
    z-index: 2;
    display: block flex;
    gap: 17px;
    align-items: center;
    justify-content: center;
    inline-size: 183px;
    block-size: 94px;
    font-size: 32px;
    line-height: 1;
    color: var(--color-text-primary, #47321d);
    background-image: url('../../img/recruit/top/mv/anchor.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: all 250ms ease 0s;

    @media (width <= 768px) {
      inset-block-end: -28.1vw;
      inset-inline-end: 8.4vw;
      z-index: 2;
      gap: 3vw;
      inline-size: calc((100 / 390) * 256 / 2 * 1vw);
      block-size: calc((100 / 390) * 150 / 2 * 1vw);
      font-size: calc((100 / 390) * 24 * 1vw);
      background-image: url('../../img/recruit/top/mv/anchor_sp.png');
    }

    &.on {
      @media (any-hover: hover) {
        &:hover {
          opacity: 0.7;
          translate: 0 -4px;
        }
      }
    }

    &::after {
      inline-size: 26px;
      aspect-ratio: 26 / 8;
      content: '';
      background-color: var(--pink);
      mask-image: var(--icon-arrow);
      mask-repeat: no-repeat;
      mask-position: center;
      mask-size: contain;
      translate: 0 4px;
      transition: all 250ms ease 0s;

      @media (width <= 768px) {
        inline-size: calc((100 / 390) * 20 * 1vw);
        translate: 0 0.35vw;
      }
    }
  }

  /* ==== scroll ==== */
  .scroll {
    position: absolute;
    inset-block-end: 44px;
    inset-inline-end: -100px;
    display: block grid;
    gap: 12px;
    pointer-events: none;

    @media (width <= 768px) {
      inset-block-end: -3.8vw;
      inset-inline-end: calc((100 / 390) * 16 * 1vw);
      gap: 2vw;
    }

    &::before,
    &::after {
      display: block flow;
      content: '';
    }

    &::before {
      inline-size: 17px;
      block-size: 41px;
      background-image: url('../../img/recruit/top/mv/scroll.svg');
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;

      @media (width <= 768px) {
        inline-size: calc((100 / 390) * 13.03 * 1vw);
        block-size: calc((100 / 390) * 32.73 * 1vw);
      }
    }

    &::after {
      display: block flow;
      inline-size: 1px;
      block-size: 40px;
      margin-inline: auto;
      content: '';
      background: currentcolor;
      border-radius: calc(infinity * 1px);
      animation: scroll 2s cubic-bezier(1, 0, 0, 1) infinite;

      @media (width <= 768px) {
        block-size: calc((100 / 390) * 40 * 1vw);
      }
    }
  }
}

/* =====================
  about
===================== */
.about {
  padding-block: 47px 80px;

  @media (width <= 768px) {
    padding-block: 19vw 14.3vw;
  }

  /* ==== u-inner ==== */
  .u-inner {
    display: block grid;
    gap: 22px;

    @media (width <= 768px) {
      gap: 7.9vw;
      padding-block: 14.2vw 0;
    }
  }

  /* ==== copy ==== */
  .copy {
    display: block flow;
    inline-size: fit-content;
    margin-block: calc((1em - 1lh) / 2);
    margin-inline: auto;
    font-size: 56px;
    line-height: 0.8;

    @media (width <= 768px) {
      inline-size: calc((100 / 390) * 214 * 1vw);
      font-size: calc((100 / 390) * 40 * 1vw);
      line-height: 1.35;
    }
  }

  /* ==== catch ==== */
  .catch {
    inline-size: fit-content;
    margin-inline: auto;
    font-size: 21px;
    font-weight: 600;

    @media (width <= 768px) {
      font-size: calc((100 / 390) * 18 * 1vw);
    }
  }

  /* ==== body ==== */
  .body {
    inline-size: fit-content;
    margin-block-start: 14px;
    margin-inline: auto;
    font-weight: 500;
    line-height: 2.2;
    text-align: center;

    @media (width <= 768px) {
      margin-block-start: -2.7vw;
      font-size: calc((100 / 390) * 15 * 1vw);
      text-align: left;
    }
  }

  /* ==== u-anchor ==== */
  .u-anchor {
    margin-block-start: 26px;
    margin-inline: auto;

    @media (width <= 768px) {
      margin-block-start: 2.4vw;
    }
  }

  /* ==== img ==== */
  .img {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    justify-content: center;
    max-inline-size: 1040px;
    margin-block-start: 51px;
    margin-inline: auto;

    @media (width <= 768px) {
      gap: calc((100 / 390) * 8 * 1vw);
      margin-block-start: 6.6vw;
    }
  }
}

/* =====================
  brand
===================== */
.brand {
  padding-block: 20px 30px;
  overflow: clip;
  border-top: 1px dashed var(--color-text-primary, #47321d);
  border-bottom: 1px dashed var(--color-text-primary, #47321d);

  @media (width <= 768px) {
    padding-block: 4.3vw 7.7vw;
  }

  /* ==== u-inner ==== */
  .u-inner {
    display: block grid;
    gap: 20px;

    @media (width <= 768px) {
      gap: 0;
    }
  }

  /* ==== title ==== */
  .title {
    margin-inline: auto;
    font-size: 38px;
    color: var(--color-text-primary);

    @media (width <= 768px) {
      font-size: calc((100 / 390) * 34 * 1vw);
    }
  }
}

/* =====================
  career
===================== */
.career {
  padding-block: 130px 118px;

  @media (width <= 768px) {
    padding-block: 22.7vw 11.7vw;
    padding-inline: calc((100 / 390) * 16 * 1vw);
  }

  /* ==== .u-inner ==== */
  .u-inner {
    display: block grid;
    grid-template-columns: 384px 656px;
    gap: 9px 80px;
    padding-block: 79px;
    padding-inline: 80px;
    color: white;
    background-color: var(--color-text-primary);
    background-image: url('../../img/recruit/top/career/bg.webp');
    background-size: cover;

    @media (width <= 768px) {
      display: block flex;
      flex-direction: column;
      gap: 6vw;
      padding-block: calc((100 / 390) * 40 * 1vw);
      padding-inline: calc((100 / 390) * 24 * 1vw);
      background-image: url('../../img/recruit/top/career/bg_sp.webp');
    }
  }

  /* ==== picture ==== */
  .picture {
    grid-row: 1 / 4;
    grid-column: 2 / 3;
  }

  /* ==== u-hgroup ==== */
  .u-hgroup {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    align-self: flex-start;
    margin-block-start: 8px;

    @media (width <= 768px) {
      margin-block-start: calc((100 / 390) * 8 * 1vw);
    }
  }

  /* ==== anchor ==== */
  .anchor {
    display: block grid;
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    place-content: center;
    inline-size: 81px;
    block-size: 56px;
    background: white;
    border-radius: 100%;
    transition: all 250ms ease 0s;

    @media (width <= 768px) {
      inline-size: calc((100 / 390) * 67 * 1vw);
      block-size: calc((100 / 390) * 47 * 1vw);
      margin-block-start: 1.25vw;
    }

    @media (any-hover: hover) {
      &:hover {
        opacity: 0.7;
        translate: 0 -2px;
      }
    }

    &::before {
      display: block flow;
      inline-size: 21px;
      aspect-ratio: 21 / 8;
      content: '';
      background-color: var(--color-text-primary);
      mask-image: var(--icon-arrow);
      mask-repeat: no-repeat;
      mask-position: center;
      mask-size: contain;
      transition: inherit;

      @media (width <= 768px) {
        inline-size: calc((100 / 390) * 19 * 1vw);
        aspect-ratio: 19 / 7;
      }
    }
  }

  /* ==== body ==== */
  .body {
    grid-row: 3 / 4;
    grid-column: 1 / 2;
    margin-block-start: 8px;
    line-height: 2.2;

    @media (width <= 768px) {
      margin-block-start: 0.3vw;
      font-size: calc((100 / 390) * 15 * 1vw);
    }
  }
}

/* =====================
  shop
===================== */
.shop {
  padding-block: 10px 132px;

  @media (width <= 768px) {
    padding-block: 13vw 23vw;
  }

  /* ==== .u-inner ==== */
  .u-inner {
    display: block grid;
    grid-template-columns: auto 928px;
    gap: 36px 97px;

    @media (width <= 768px) {
      display: block flex;
      flex-direction: column;
      gap: 9.5vw;
    }
  }

  /* ==== u-hgroup ==== */
  .u-hgroup {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    align-self: flex-start;
    margin-block-start: 11px;

    @media (width <= 768px) {
      margin-block-start: 0;
      margin-inline: auto;
      text-align: center;
    }
  }

  /* ==== body ==== */
  .body {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    align-self: flex-start;
    line-height: 2.2;

    @media (width <= 768px) {
      font-size: calc((100 / 390) * 15 * 1vw);
    }
  }

  /* ==== u-anchor ==== */
  .u-anchor {
    grid-row: 3 / 4;
    grid-column: 1 / 2;
    align-self: flex-start;
    margin-block-start: -5px;

    @media (width <= 768px) {
      margin-block-start: 1vw;
      margin-inline: auto;
    }
  }

  /* ==== u-shop ==== */
  .u-shop {
    grid-row: 1 / 4;
    grid-column: 2 / 3;
    align-self: flex-start;

    @media (width <= 768px) {
      margin-block-start: 0.6vw;
    }
  }

  /* ==== u-empty ==== */
  .u-empty {
    grid-row: 1 / 3;
    grid-column: 2 / 3;
    align-self: center;
    text-align: center;
  }
}

/* =====================
  interview
===================== */
.interview {
  padding-block: 92px 130px;
  overflow: clip;
  background-color: #fffcf5;

  @media (width <= 768px) {
    padding-block: 15.7vw 22.7vw;
  }

  /* prettier-ignore */
  background-image:
    linear-gradient(0deg, transparent calc(100% - 1px), #EEEBE5 calc(100% - 1px)),
    linear-gradient(90deg, transparent calc(100% - 1px), #EEEBE5 calc(100% - 1px));
  background-repeat: repeat;
  background-position: center center;
  background-size: 25px 25px;

  @media (width <= 768px) {
    background-size: calc((100 / 390) * 25 * 1vw) calc((100 / 390) * 25 * 1vw);
  }

  /* ==== u-inner ==== */
  .u-inner {
    display: block grid;
    grid-template-columns: 1fr auto;
    gap: 0 20px;

    @media (width <= 768px) {
      display: block flex;
      flex-direction: column;
      gap: 0;
    }
  }

  /* ==== hgroup ==== */
  hgroup {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
  }

  /* ==== slider ==== */
  .slider {
    position: relative;
    grid-row: 2 / 3;
    grid-column: 1 / 3;
    align-self: flex-start;
    padding-block: 79px 30px;
    padding-inline: 0;
    overflow: clip;

    @media (width <= 768px) {
      inline-size: 100%;
      padding-block: 18.1vw 6.6vw;
    }

    .swiper-wrapper {
      justify-self: center;
      margin-inline: auto;

      @media (width > 768px) {
        .swiper-slide:nth-child(even) {
          margin-block-start: 40px;
        }
      }
    }

    .u-interview {
      margin-inline: auto;
    }
  }

  /* ==== swiper-controller ==== */
  .swiper-controller {
    position: absolute;
    inset-block-start: 43.6%;
    inset-inline: 0;
    z-index: 2;
    display: block flex;
    justify-content: space-between;
    inline-size: 100%;
    block-size: 56px;
    pointer-events: none;

    @media (width <= 768px) {
      inset-block-start: 46.3%;
      inline-size: calc((100 / 390) * 358 * 1vw);
      block-size: calc((100 / 390) * 47 * 1vw);
    }

    button {
      display: block grid;
      place-content: center;
      inline-size: 81px;
      block-size: 56px;
      pointer-events: auto;
      background: white;
      border: 1px solid var(--color-text-primary, #47321d);
      border-radius: 100%;
      transition: all 250ms ease 0s;

      @media (width <= 768px) {
        inline-size: calc((100 / 390) * 67 * 1vw);
        block-size: calc((100 / 390) * 47 * 1vw);
      }

      &::before {
        inline-size: 21px;
        aspect-ratio: 21 / 8;
        content: '';
        background-color: currentcolor;
        mask-image: var(--icon-arrow);
        mask-repeat: no-repeat;
        mask-position: center;
        mask-size: contain;
        transition: inherit;

        @media (width <= 768px) {
          inline-size: calc((100 / 390) * 19 * 1vw);
          aspect-ratio: 19 / 7;
        }
      }

      &.prev::before {
        scale: -1 1;
      }

      @media (any-hover: hover) {
        &:hover {
          background: var(--color-text-primary, #47321d);

          &::before {
            background-color: white;
            translate: 2px 0;
          }

          &.prev::before {
            translate: -2px 0;
          }
        }
      }
    }
  }

  /* ==== body ==== */
  .body {
    grid-row: 3 / 4;
    grid-column: 1 / 2;
    align-self: flex-start;
    font-weight: 500;

    @media (width <= 768px) {
      font-size: calc((100 / 390) * 15 * 1vw);
    }
  }

  /* ==== u-anchor ==== */
  .u-anchor {
    grid-row: 3 / 4;
    grid-column: 2 / 3;
    align-self: center;

    @media (width <= 768px) {
      margin-block-start: 10.1vw;
    }
  }
}

/* =====================
  numbers
===================== */
.numbers {
  padding-block: 88px 130px;
  background: var(--bg, #f4f1eb);

  @media (width <= 768px) {
    padding-block: 16.5vw 22.1vw;
  }

  /* ==== u-inner ==== */
  .u-inner {
    display: block grid;
    gap: 53px;

    @media (width <= 768px) {
      display: block flex;
      flex-direction: column;
      gap: 11.5vw;
    }
  }

  /* ==== u-anchor ==== */
  .u-anchor {
    margin-block-start: -5px;
    margin-inline: auto;
  }
}

/* =====================
  movie
===================== */
.movie {
  padding-block: 88px 129px;
  background: #fdfaf3;

  @media (width <= 768px) {
    padding-block: 16.7vw 22.6vw;
  }

  /* ==== u-inner ==== */
  .u-inner {
    display: block grid;
    gap: 45px;

    @media (width <= 768px) {
      display: block flex;
      flex-direction: column;
      gap: 9.6vw;
    }
  }

  /* ==== body ==== */
  .body {
    text-align: center;

    @media (width <= 768px) {
      font-size: calc((100 / 390) * 15 * 1vw);
      text-align: left;
    }
  }

  /* ==== video ==== */
  .video {
    position: relative;
    align-self: flex-start;
    inline-size: 1040px;
    block-size: 585px;
    margin-block-start: 19px;
    margin-inline: auto;

    @media (width <= 768px) {
      inline-size: 100%;
      block-size: calc((100 / 390) * 201 * 1vw);
      margin-block-start: 0.3vw;
      overflow: clip;
    }

    iframe {
      display: block flow;
      inline-size: 100%;
      block-size: 100%;
    }

    &:has([data-dummy='true'])::before {
      position: absolute;
      inset: 0;
      z-index: 2;
      display: block flow;
      inline-size: 100%;
      block-size: 100%;
      content: '';
      background-image: url('../../img/recruit/movie/dummy.webp');
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;

      @media (width <= 768px) {
        scale: 1.1;
      }
    }

    &:has([data-dummy='true'])::after {
      position: absolute;
      inset: 0;
      inset-block-start: 50%;
      z-index: 3;
      display: block flow;
      inline-size: 80px;
      aspect-ratio: 512 / 341;
      margin-inline: auto;
      content: '';
      background-image: url('../../img/recruit/_common/youtube.svg');
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      translate: 0 -50%;

      @media (width <= 768px) {
        inline-size: calc((100 / 390) * 60 * 1vw);
      }
    }
  }

  /* ==== u-anchor ==== */
  .u-anchor {
    margin-block-start: 3px;
    margin-inline: auto;

    @media (width <= 768px) {
      margin-block-start: 0.8vw;
    }
  }
}

/* =====================
  parallax
===================== */
.mv {
  [data-animation='fade'] {
    opacity: 0;
    filter: blur(1rem);
    transition: all 1000ms var(--slideInBezier) var(--_delay, 0ms);

    &.on {
      opacity: 1;
      filter: blur(0);
    }
  }

  .img.on [data-animation='fade'] {
    opacity: 1;
    filter: blur(0);
  }
}

.about {
  .js-parallax[data-animation='fade'] {
    opacity: 0;
    filter: blur(1rem);
    transition: all 1500ms var(--slideInBezier) var(--_delay, 0ms);

    &.on {
      opacity: 1;
      filter: blur(0);
    }
  }
}

.js-parallax[data-animation='slideUp'] {
  --_transition: transform 1s var(--slideInBezier), opacity 0.4s var(--slideInBezier);

  opacity: 0;
  transform: translateY(1.5rem);
  transition: var(--_transition);
  transition-delay: var(--_delay, 200ms), var(--_delay, 200ms);
  will-change: transform, opacity;

  &.on {
    opacity: 1;
    transform: translateY(0);
  }
}
