@charset "utf-8";

.mv {
  min-height: 90vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: url(../img/mv_bg.png) no-repeat center;
  background-size: cover;
}
.mv::before{
  content: '';
  display: block;
  background: url(../img/mv_back.png) no-repeat center;
  background-size: 100% 100%;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}
.mv::after{
  content: '';
  display: block;
  background: url(../img/mv_front.png) no-repeat center;
  background-size: 100% 100%;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.mv_outer {
  position: absolute;
  transform: rotate(-20deg) translate(-10vw,100px);
  z-index: 1;
}
.mv_loop {
  display: flex;
  width: 120vw;
}
.mv_loop img {
  min-width: 4488px;
  max-width: none;
}
.mv_loop img:first-child {
  animation: loop 140s -70s linear infinite reverse;
}
.mv_loop img:last-child {
  animation: loop2 140s linear infinite reverse;
}
@keyframes loop {
  0% {
      transform: translateX(100%);
  }
  to {
      transform: translateX(-100%);
  }
}
@keyframes loop2 {
  0% {
      transform: translateX(0);
  }
  to {
      transform: translateX(-200%);
  }
}
.mv_copy{
  position: absolute;
  bottom: 60px;
  right: 40px;
  z-index: 3;
  h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    line-height: 1.2;
    .strong {
      font-size: 8rem;
      font-weight: bolder;
      font-style: italic;
      display: block;
      margin-bottom: 20px;
    }
  }
}
/* about */
.about {
  margin: 58px 0 68px;
}
.abo_inner {
  max-width: 1142px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px 37px;
}
.abo_left{
  max-width: 484px;
  .title {
    font-size: 4.4rem;
    font-weight: bold;
    font-style: italic;
    letter-spacing: 1.2px;
    line-height: 1;
    white-space: nowrap;
    color: #0959E2;
    padding-bottom: 44px;
    margin-bottom: 36px;
    border-bottom: 1px solid #0959E2;
  }
  .top_text {
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 1.66;
    letter-spacing: 0px;
    margin-bottom: 36px;
  }
  .text {
    text-align: justify;
    letter-spacing: 0px;
    line-height: 2;
    margin-bottom: 76px;
  }
  .btn {
    display: flex;
    width: 328px;
    min-height: 53px;
    margin-left: auto;
    padding-left: 20px;
    background: #0959E2;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #fff;
    position: relative;
    &::after {
      content: "";
      background: url(../common/img/allow_white.svg) no-repeat;
      width: 69px;
      height: 7px;
      position: absolute;
      top: 50%;
      right: 14px;
      transform: translateY(-50%);
    }
  }
}

/* company */
.company {
  background: #0D2C61;
  padding: 16px 0;
  width: 98%;
  margin: 0 auto 72px;
}
.com_inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px 77px;
}
.com_right {
  min-width: 553px;
  .title {
    font-size: 4.4rem;
    font-weight: bold;
    font-style: italic;
    letter-spacing: 1.2px;
    line-height: 1;
    white-space: nowrap;
    color: #fff;
    padding-bottom: 30px;
    margin-bottom: 42px;
    border-bottom: 1px solid #0959E2;
  }
  .text {
    color: #fff;
    letter-spacing: 0px;
    line-height: 2;
  }
  .btn {
    display: flex;
    width: 328px;
    min-height: 53px;
    margin: 44px auto 0;
    padding-left: 20px;
    background: #fff;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #0959E2;
    position: relative;
    &::after {
      content: "";
      background: url(../common/img/allow_blue.svg) no-repeat;
      width: 69px;
      height: 7px;
      position: absolute;
      top: 50%;
      right: 14px;
      transform: translateY(-50%);
    }
  }
}
/* work */
.work {
  margin-bottom: 240px;
}
.work_inner {
  max-width: 1024px;
  margin: 0 auto;
  .title {
    font-size: 4.4rem;
    font-weight: bold;
    font-style: italic;
    letter-spacing: 1.2px;
    line-height: 1;
    white-space: nowrap;
    color: #0959E2;
    padding-bottom: 44px;
    margin-bottom: 55px;
    border-bottom: 1px solid #0959E2;
  }
}
.work_flex_box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
}
.wfb_box {
  position: relative;
  .btn {
    display: flex;
    min-width: 328px;
    min-height: 53px;
    padding-left: 20px;
    background: #0959E2;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #fff;
    position: absolute;
    bottom: 0;
    right: 0;
    &::after {
      content: "";
      background: url(../common/img/allow_white.svg) no-repeat;
      width: 69px;
      height: 7px;
      position: absolute;
      top: 50%;
      right: 14px;
      transform: translateY(-50%);
    }
  }
}
/* menu_over */
.menu_over {
  height: 338px;
  background: url(../img/menu_over_bg.webp) no-repeat center;
  background-size: cover;
  margin-bottom: 68px;
  position: relative;
}
.mo_inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  bottom: 150px;
  display: flex;
  justify-content: center;
  gap: 40px 48px;
}
.mi_box {
  position: relative;
  z-index: 3;
  display: block;
  .text {
    font-size: 4.4rem;
    font-weight: bold;
    font-style: italic;
    letter-spacing: 1.2px;
    line-height: 1;
    white-space: nowrap;
    color: #0959E2;
    position: absolute;
    top: -20px;
    left: 20px;
  }
  .btn {
    display: flex;
    min-width: 328px;
    min-height: 53px;
    padding-left: 20px;
    background: #fff;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #0959E2;
    position: absolute;
    bottom: 22px;
    right: 30px;
    span {
      width: 100%;
      position: relative;
      &::after {
        content: "";
        background: url(../common/img/allow_blue.svg) no-repeat;
        width: 69px;
        height: 7px;
        position: absolute;
        top: 50%;
        right: 14px;
        transform: translateY(-50%);
      }
    }
  }
}
.mi_right {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 40px;
}
/* menu_under */
.menu_under {
  margin-bottom: 90px;
}
.mu_inner {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 10px 20px;
}
.mu_box {
  max-width: 502px;
  .text {
    font-size: 4.4rem;
    font-weight: bold;
    font-style: italic;
    letter-spacing: 1.2px;
    line-height: 1;
    color: #fff;
    background: #0D2C61;
    height: 42px;
    width: 100%;
    position: relative;
    span {
      position: absolute;
      top: -12px;
      right: 25%;
    }
    &::after {
      content: "";
      background: url(../common/img/allow_white.svg) no-repeat;
      width: 69px;
      height: 7px;
      position: absolute;
      top: 50%;
      right: 30px;
      transform: translateY(-50%);
    }
  }
  &:hover {
    opacity: .7;
  }
}
/*タブレット（縦）*/
@media screen and (orientation: portrait) and (min-width: 768px){
  .mv {
    min-height: 50vh;
  }
}

@media screen and (max-width: 767px) {
  /* mv */
  .mv {
    min-height: 75vh;
  }
  .mv_copy {
    right: auto;
    left: 10px;
    bottom: 20px;
    h1 {
      font-size: 1.8rem;
      line-height: 1.5;
      .strong {
        font-size: 4rem;
        line-height: 1.2;
        margin-bottom: 10px;
      }
    }
  }
  .mv_outer {
    transform: rotate(-20deg) translate(-10vw, 50px) scale(.7);
  }
  /* about */
  .about {
    padding: 0 5%;
    margin: 50px 0;
  }
  .abo_inner {
    flex-direction: column;
  }
  .abo_left {
    .title {
      font-size: 3.2rem;
      padding-bottom: 20px;
      margin-bottom: 20px;
    }
    .top_text {
      font-size: 2.2rem;
      margin-bottom: 18px;
    }
    .text {
      margin-bottom: 20px;
    }
    .btn {
      width: 100%;
      max-width: 320px;
    }
  }
  /* company */
  .company {
    padding: 40px 0;
    margin-bottom: 50px;
  }
  .com_inner {
    flex-direction: column-reverse;
    padding: 0 5%;
  }
  .com_right {
    min-width: auto;
    .title {
      font-size: 3.2rem;
      padding-bottom: 20px;
      margin-bottom: 20px;
    }
    .text {
      text-align: justify;
    }
    .btn {
      width: 100%;
      max-width: 300px;
      margin: 20px auto 0;
    }
  }
  /* work */
  .work {
    margin-bottom: 50px;
    padding: 0 5%;
  }
  .work_inner {
    .title {
      font-size: 3.2rem;
      padding-bottom: 20px;
      margin-bottom: 20px;
    }
    .text {
      text-align: justify;
    }
  }
  .work_flex_box {
    flex-direction: column;
    margin-top: 18px;
  }
  .wfb_box {
    .btn {
      min-width: auto;
      width: 100%;
    }
  }
  /* menu_over */
  .menu_over {
    height: auto;
    margin-bottom: 45px;
    padding: 50px 5% 40px;
  }
  .mo_inner {
    flex-direction: column;
    bottom: 0;
  }
  .mi_box {
    .text {
      font-size: 3.2rem;
      line-height: 1.2;
    }
    .btn {
      min-width: auto;
      max-width: 260px;
      width: 100%;
      min-height: 35px;
      padding-left: 12px;
      right: 50%;
      transform: translateX(50%);
      bottom: 10px;
      span {
        &::after {
          right: 10px;
        }
      }
    }
  }
  /* menu_under */
  .menu_under {
    padding: 0 5%;
    margin-bottom: 45px;
  }
  .mu_inner {
    flex-direction: column;
    overflow: hidden;
  }
  .mu_box  {
    .text {
      font-size: 3.2rem; 
      span {
        right: 50%;
        transform: translateX(50%);
      }
      &::after {
        right: 10px;
      }
    }
  }
}