@charset "utf-8";
/* CSS Document */

@charset "utf-8";
// __home_mainvisual.scss

// Setting
@use '../../foundation/variable' as v;
// Mixin
@use '../../foundation/mixin' as m;

/* ==========================================================
! HOME: メインビジュアル
========================================================== */
$c_background: #e5e5e5;

.search-pagination{ text-align:center;width:100%;}
.pagination {
   text-align:center;width:100%;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px; }
.pagination > li {
    display: inline-block;    float: none;}
.pagination > li > a,
.pagination > li > span {
    position: relative;word-break: keep-all;
    float: left;
    padding: 6px 12px;
    line-height: 1.42857;
    text-decoration: none;
    color: #21479f;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px; }
.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px; }
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px; }
.pagination > li > a:hover, .pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eeeeee;
    border-color: #ddd; }
.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    background-color: #21479f;
    border-color: #21479f;
    cursor: default; }.factory1 ul li a{ display:block}


.p-mv {
  position: relative;
  background-color: $c_background;
  background-image: url(../img/home/mv_bg_stripe.png);
  margin: 0px;
  width: 100%;
  height: 165%;
  overflow: hidden;
  margin: 0;

  @include m.tab {
    height: 52.4%;
    margin: 0 0 -30px;
  }

  &:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.35s ease-in;
  }

  &.is-active {
    &:before {
      opacity: 1;
    }
  }

  &__inner {
    position: relative;
    text-align: center;
    width: 100%;
    max-width: 425px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    //overflow: hidden;
    opacity: 1;
    margin: 0 auto;

    @include m.tab {
      max-width: 1366px;
      padding: 0 5%;

      @include m.pc-large {
        padding: 0;
      }
    }
  }

  &__list {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: +1;
    transition: all 2s cubic-bezier(0.16, 1, 0.3, 1);

    &::before {
      content: '';
      display: block;
      position: absolute;
      top: 50%;
      left: 50%;
      width: 70%;
      height: 70%;
      border: 2px solid v.$c_white;
      border-radius: 50%;
      transform: translate(-50%, -58%) scale(0);
      transition: all 2s cubic-bezier(0.16, 1, 0.3, 1);
      z-index: -1;

      @include m.sp {
        width: 70%;
        height: 60%;
        border: 3px solid v.$c_white;
        transform: translate(-50%, -58%) scale(0);

        @include m.tab {
          width: 70%;
          height: 60%;
          border: 4px solid v.$c_white;
          transform: translate(-50%, -55%) scale(0);
        }
      }
    }

    &.is-active {
      &::before {
        transform: translate(-50%, -58%) scale(1);
      }
    }
  }

  &-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 98px;
    height: 98px;
    background-color: v.$c_white;
    border-radius: 50%;
    margin: auto;
    transform: translate(-50%, -50%) scale(0);
    transition: all 2s cubic-bezier(0.16, 1, 0.3, 1);

    @include m.tab {
      width: 92px;
      height: 92px;

      @include m.tab-large {
        width: 118px;
        height: 118px;

        @include m.pc-large {
          width: 160px;
          height: 160px;
        }
      }
    }

    &:nth-of-type(1) {
      .is-active & {
        transform: translate(-50%, -270%) scale(0.9);
        transition-delay: 0.1s;

        @include m.sp {
          transform: translate(-50%, -280%) scale(0.9);

          @include m.tab {
            transform: translate(-50%, -200%) scale(1);
          }
        }
      }
    }

    &:nth-of-type(2) {
      .is-active & {
        transform: translate(50%, -230%) scale(0.9);
        transition-delay: 0.2s;

        @include m.sp {
          transform: translate(60%, -250%) scale(0.9);

          @include m.tab {
            transform: translate(90%, -180%) scale(1);
          }
        }
      }
    }

    &:nth-of-type(3) {
      .is-active & {
        transform: translate(70%, -130%) scale(0.9);
        transition-delay: 0.3s;

        @include m.sp {
          transform: translate(100%, -140%) scale(0.9);

          @include m.tab {
            transform: translate(230%, -140%) scale(1);
          }
        }
      }
    }

    &:nth-of-type(4) {
      .is-active & {
        transform: translate(70%, -30%) scale(0.9);
        transition-delay: 0.4s;

        @include m.sp {
          transform: translate(100%, -30%) scale(0.9);

          @include m.tab {
            transform: translate(230%, 0%) scale(1);
          }
        }
      }
    }

    &:nth-of-type(5) {
      .is-active & {
        transform: translate(50%, 70%) scale(0.9);
        transition-delay: 0.5s;

        @include m.sp {
          transform: translate(60%, 80%) scale(0.9);

          @include m.tab {
            transform: translate(90%, 50%) scale(1);
          }
        }
      }
    }

    &:nth-of-type(6) {
      .is-active & {
        transform: translate(-50%, 100%) scale(0.9);
        transition-delay: 0.6s;

        @include m.sp {
          transform: translate(-50%, 110%) scale(0.9);

          @include m.tab {
            transform: translate(-50%, 70%) scale(1);
          }
        }
      }
    }

    &:nth-of-type(7) {
      .is-active & {
        transform: translate(-150%, 70%) scale(0.9);
        transition-delay: 0.7s;

        @include m.sp {
          transform: translate(-160%, 80%) scale(0.9);

          @include m.tab {
            transform: translate(-190%, 50%) scale(1);
          }
        }
      }
    }

    &:nth-of-type(8) {
      .is-active & {
        transform: translate(-170%, -30%) scale(0.9);
        transition-delay: 0.8s;

        @include m.sp {
          transform: translate(-200%, -30%) scale(0.9);

          @include m.tab {
            transform: translate(-330%, 0%) scale(1);
          }
        }
      }
    }

    &:nth-of-type(9) {
      .is-active & {
        transform: translate(-170%, -130%) scale(0.9);
        transition-delay: 0.9s;

        @include m.sp {
          transform: translate(-200%, -140%) scale(0.9);

          @include m.tab {
            transform: translate(-330%, -140%) scale(1);
          }
        }
      }
    }

    &:nth-of-type(10) {
      .is-active & {
        transform: translate(-150%, -230%) scale(0.9);
        transition-delay: 1s;

        @include m.sp {
          transform: translate(-160%, -250%) scale(0.9);

          @include m.tab {
            transform: translate(-190%, -180%) scale(1);
          }
        }
      }
    }

    &:hover {
      @include m.pc-large {
        opacity: 0.65;
      }
    }

    &__link {
      display: block;
      position: relative;
      text-decoration: none;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      padding: 8% 5px;
      transition: all 0.35s ease-in;

      @include m.sp {
        @include m.pc {
          padding: 10% 5px;

          @include m.pc-large {
          }
        }
      }

      &:hover {
        @include m.pc-large {
          opacity: 0.65;
        }
      }
    }

    &__department {
      color: v.$c_gray_medium1;
      // @include m.fz(6);
      @include m.fz(10);
      line-height: 1.2;
      border-bottom: 1px solid v.$c_gray_medium1;
      margin: auto;
      padding: 0 0 5px;
      transform: scale(0.8);

      @media only screen and (max-width: 959px), print {
        position: absolute;
        top: 50%;
        width: 90%;
        padding-bottom: 0;
        border-bottom: none;
        @include m.fz(14);
        text-align: center;
        word-break: keep-all;
        transform: translateY(-50%);
      }
      @include m.sp {
        // @include m.fz(9);

        @include m.pc {
          @include m.fz(10);

          @include m.pc-large {
            @include m.fz(12);
            width: 74%;
            transform: scale(1);
          }
        }
      }
    }

    &__logo {
      padding: 4% 0;

      @media only screen and (max-width: 959px), print {
        display: none;
      }
      @include m.sp {
        @include m.pc {
          padding: 8% 0;

          @include m.pc-large {
          }
        }
      }
    }

    &__image {
      max-width: 50px;
      max-height: 40px;
      margin: auto;

      @include m.sp {
        max-width: 60px;
        max-height: 45px;

        @include m.tab {
          max-width: 90px;
          max-height: 50px;

          @include m.pc-large {
            max-width: 136px;
            max-height: 58px;
          }
        }
      }
    }

    &__readmore {
      display: none;

      @include m.pc-large {
        display: inline-block;
        position: absolute;
        bottom: 10%;
        left: 50%;
        color: v.$c_gray_medium1;
        @include m.fz(10);
        width: 74%;
        padding: 0;
        transform: translateX(-50%);
      }

      &:after {
        content: '';
        display: inline-block;
        position: relative;
        top: 2px;
        width: 12px;
        height: 12px;
        background-image: url(../img/ico_arrow_circle_white_character.svg);
        background-position: 0;
        background-repeat: no-repeat;
        background-size: 12px auto;
        margin: 0 0 0 6px;
      }
    }
  }

  &__detail {
    display: block;
    position: absolute;
    bottom: 4%;
    left: 50%;
    color: v.$c_navy;
    @include m.fz(14);
    text-decoration: none;
    line-height: 1;
    width: 68%;
    height: auto;
    background-color: v.$c_white;
    border-radius: 100px;
    padding: 4% 2%;
    opacity: 0;
    transform: translateX(-50%);
    transition: all 0.35s ease-in;
    z-index: +1;

    @include m.sp {
      bottom: 8%;

      @include m.tab {
        display: none;
      }
    }

    &:before {
      content: '';
      display: block;
      position: absolute;
      right: 8%;
      top: 50%;
      width: 15px;
      height: 15px;
      background-image: url(../img/ico_arrow_circle_white_character.svg);
      background-position: 0;
      background-repeat: no-repeat;
      background-size: 15px auto;
      transform: translateY(-50%);
      transition: all 0.35s ease-in;
    }

    &.is-active {
      opacity: 1;

      &:before {
        opacity: 1;
      }
    }
  }
}

@media screen and (max-width: (m.$breakPoint3 - 1)) {
  .p-mv-lottie {
    &__pc {
      display: none;

      &--blank {
        display: none;
      }
    }
  }

  .p-mv-lottie__sp--blank {
    position: absolute;
    top: 0;
    left: 0;
  }
}

@media only screen and (min-width: m.$breakPoint3) {
  .p-mv-lottie {
    &__sp {
      display: none;

      &--blank {
        display: none;
      }
    }
  }

  .p-mv-lottie__pc--blank {
    position: absolute;
    top: 0;
    left: 0;
  }
}

/* 480px以上（大きめSP） */
@include m.sp-large {
}

/* 640px以上（ファブレット） */
@include m.phab {
}

/* 768px以上（タブレット） */
@include m.tab {
}

/* 960px以上（大きめタブレット 横位置とか） */
@include m.tab-large {
}

/* 1024px以上（基本のPC） */
@include m.pc {
}

/* 1280px以上（大きめPC） */
@include m.pc-large {
}
