@charset "UTF-8";

input,
textarea {
  width: 100%;
}

.mobile {
  input,
  textarea,
  select {
    font-size: 16px;
  }
}

#home {
  height: calc(100vh - 10rem);
  position: relative;
  @media only screen and (max-width: 743px) {
    height: calc(100vh - 6.4rem);
  }
}

.fade_area_ja {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.5, 0, 0, 1);
  background-image: url(/images/hero.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  .switchBg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    img {
      display: none;
      opacity: 0;
      visibility: hidden;
    }
  }
  @media only screen and (max-width: 743px) {
    .switchBg {
      transform: translateX(0);
    }
  }
}

.read_txt {
  width: 100%;
  position: absolute;
  left: 0;
  top: 9rem;
  color: #fff;
  padding: 0;
  text-align: center;
  h1 {
    font-size: 4.8rem;
    line-height: 1.6;
    letter-spacing: 0.05em;
    text-shadow: 1px 2px 3px #808080;
    span {
      /* display: block; */
      &:last-of-type {
        margin-left: 2rem;
      }
    }
    br {
      display: none;
    }
  }
  .txt {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 2;
    text-shadow: 1px 1px 2px #808080;
    p {
      color: #fff;
      letter-spacing: 0.2em;
    }
  }
  .hvp {
    display: none;
  }
  @media (max-width: 743px) {
    width: auto;
    top: auto;
    right: auto;
    bottom: 7.5rem;
    left: 1rem;
    text-align: left;
    h1 {
      font-size: 2.8rem;
      line-height: 1.2;
      span {
        display: block;
        &:last-of-type {
          margin-left: 0;
        }
      }
      br {
        display: none;
      }
    }
    .txt {
      font-size: 1.4rem;
      p {
        letter-spacing: 0.1em;
      }
    }
  }
}

#whiteBg {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0);
  transition: background-color 0.3s ease;
  &.is-active {
    background-color: rgba(255, 255, 255, 0.7);
  }
}

.complete {
  width: 75rem;
  padding: 3rem;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #656565;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--maincolor);
    line-height: 1;
    text-align: center;
    margin-bottom: 3.5rem;
  }
  p {
    font-size: 1.8rem;
    &:not(:last-of-type) {
      margin-bottom: 3rem;
    }
  }
  .send {
    width: 27.5rem;
    margin: 5rem auto 0;
    text-align: center;
    button {
      width: 100%;
      background: linear-gradient(
        to right,
        rgba(32, 162, 229, 1) 0%,
        rgba(50, 199, 180, 1) 100%
      );
      padding: 1rem 0;
      cursor: pointer;
      position: relative;
      p {
        font-size: 1.8rem;
        font-weight: 700;
        font-family: var(--roboto);
        color: #fff;
        span {
          width: 2.9rem;
          bottom: 0;
          overflow: hidden;
          position: absolute;
          right: 0;
          top: 0;
          &::after {
            content: "";
            background: #fff;
            bottom: 0;
            display: block;
            height: 1px;
            margin: auto;
            position: absolute;
            right: 0;
            top: 0;
            width: 100%;
          }
        }
      }
      &:hover {
        p {
          span {
            &::after {
              animation: hoverBorder 0.6s forwards;
            }
          }
        }
      }
      &:disabled {
        pointer-events: none;
        opacity: 0.5;
      }
    }
  }
  @media only screen and (max-width: 743px) {
    width: 35rem;
    padding: 2rem;
    h2 {
      font-size: 1.9rem;
      margin-bottom: 2.5rem;
    }
    p {
      font-size: 1.2rem;
      &:not(:last-of-type) {
        margin-bottom: 2.5rem;
      }
    }
  }
}

form.cookieClick {
  pointer-events: none;
}

#swiperForm {
  position: absolute !important;
  top: 53%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  .swiper {
    width: 75rem;
    overflow: visible;
    .swiper-wrapper {
      display: flex;
      align-items: center;
      .swiper-slide {
        width: 75rem !important;
        height: auto !important;
        padding: 3rem;
        background-color: rgba(255, 255, 255, 0.9);
        border: 1px solid #656565;
        position: relative;
        h2 {
          font-size: 2.4rem;
          font-weight: 700;
          color: var(--maincolor);
          line-height: 1;
          margin-bottom: 1.5rem;
        }
        .box {
          &.b1 {
            .flex {
              justify-content: space-between;
              dl {
                dt {
                  font-size: 1.8rem;
                  font-weight: 700;
                  margin-bottom: 0.5rem;
                }
                dd {
                  justify-content: space-between;
                  &.dateTime {
                    div {
                      &.date {
                        width: 15rem;
                      }
                      &.time {
                        width: 12rem;
                        margin-left: 1rem;
                      }
                      background-color: #fff;
                      border: 1px solid #656565;
                      padding: 1rem;
                      select {
                        width: 100%;
                      }
                    }
                  }
                }
                &.select {
                  .flex {
                    align-items: center;
                    justify-content: flex-start;
                    div {
                      width: 6rem;
                      background-color: #fff;
                      border: 1px solid #656565;
                      padding: 1rem;
                    }
                    span {
                      font-weight: 700;
                      margin-left: 0.5rem;
                    }
                  }
                }
              }
            }
          }
          &.b2 {
            .car_type {
              #radioWrap {
                flex-wrap: wrap;
                justify-content: space-between;
                label {
                  display: block;
                  width: 48.4%;
                  margin-bottom: 3.2%;
                  overflow: hidden;
                  cursor: pointer;
                  .icon {
                    height: 19rem;
                    background-color: #fff;
                    background-size: 85%;
                    background-repeat: no-repeat;
                    background-position: center;
                    border: 1px solid var(--black);
                    border-bottom: none;
                    position: relative;
                    img {
                      width: 90%;
                      position: absolute;
                      top: 50%;
                      left: 50%;
                      transform: translate(-50%, -50%);
                    }
                  }
                  .txt {
                    display: flex;
                    flex-wrap: wrap;
                    align-content: space-between;
                    height: 13rem;
                    background-color: #999;
                    color: var(--white);
                    padding: 2rem;
                    transition: background-color 0.3s ease;
                    span {
                      font-size: 1.8rem;
                      font-weight: 700;
                      line-height: 1.4;
                      letter-spacing: -0.05em;
                    }
                    b {
                      display: block;
                      width: 100%;
                      font-size: 2rem;
                      font-family: var(--roboto);
                      line-height: 1;
                      text-align: center;
                    }
                  }
                  input {
                    display: none;
                    appearance: none;
                    &:checked {
                      & + .txt {
                        background-color: var(--maincolor);
                      }
                    }
                  }
                  &:nth-last-child(-n + 2) {
                    margin-bottom: 0;
                  }
                }
              }
            }
            &.is-height {
              .car_type {
                #radioWrap {
                  label {
                    .icon {
                      height: 13rem;
                      background-size: 60%;
                    }
                    .txt {
                      height: 10rem;
                      padding: 1rem;
                      span {
                        font-size: 1.4rem;
                      }
                    }
                  }
                }
              }
            }
          }
          &.b3 {
            .op {
              .flex {
                align-items: center;
                margin-bottom: 2rem;
                .icon {
                  width: 11rem;
                }
                span {
                  font-size: 1.8rem;
                  margin-left: 1rem;
                }
                .sel_wrap {
                  width: 9rem;
                  border: 1px solid #656565;
                  background-color: #fff;
                  margin-left: 2rem;
                  padding: 0.5rem;
                  select {
                    font-size: 1.8rem;
                  }
                }
              }
            }
          }
          &.b4 {
            #kekka {
              background-color: #f8f8f8;
              border-bottom: 1px dotted #656565;
              .k_wrap {
                padding: 2rem;
                p {
                  font-size: 1.5rem;
                }
                #yoyaku_no {
                  color: red;
                }
                #yoyaku_detail {
                  #kekka_date {
                    justify-content: flex-start;
                    p {
                      margin-right: 2rem;
                    }
                  }
                  #kekka_price {
                    b {
                      font-size: 1.9rem;
                    }
                  }
                }
              }
            }
            dl {
              width: 100%;
              margin-bottom: 1.5rem;
              dt {
                font-size: 1.8rem;
                font-weight: 700;
                margin-bottom: 0.5rem;
                white-space: nowrap;
              }
              dd {
                background-color: #fff;
                border: 1px solid #656565;
                padding: 1rem;
              }
            }
            .flex {
              justify-content: space-between;
              dl {
                width: 49%;
                margin-bottom: 0;
                select {
                  width: 100%;
                }
              }
            }
            .space_a {
              padding: 2rem 0 0;
              .dl {
                &:nth-of-type(1) {
                  width: 17.5rem;
                }
                &:nth-of-type(2) {
                  width: 25rem;
                }
                &:nth-of-type(3) {
                  width: 23.6rem;
                }
              }
            }
            .fwap {
              justify-content: space-between;
              padding: 2rem 0 0;
              .base {
                width: 100%;
                .space_b {
                  .dl {
                    width: 33.8rem;
                  }
                }
                .if {
                  font-size: 1.1rem;
                  line-height: 1.4;
                  margin-top: 1rem;
                }
              }
              .cl {
                width: 100%;
                flex-shrink: 0;
                textarea {
                  /* resize: none;
                  line-height: 1; */
                }
              }
              &.dashed {
                margin-bottom: 1rem;
                padding: 2rem 0;
                border-bottom: 1px dotted #656565;
              }
            }
            .privacyPolicy {
              margin-bottom: 2rem;
              h4 {
                font-size: 1.2rem;
                font-weight: 500;
                margin-bottom: 1rem;
              }
              p {
                font-size: 1.1rem;
                a {
                  text-decoration: underline;
                  &:hover {
                    text-decoration: none;
                  }
                }
                &.mb {
                  margin-bottom: 2rem;
                }
                &:nth-of-type(2) {
                  margin-bottom: 1rem !important;
                }
                &:nth-of-type(3) {
                  margin-bottom: 2rem !important;
                }
              }
              .check {
                text-align: center;
                label {
                  line-height: 135%;
                  position: relative;
                  cursor: not-allowed;
                  display: flex;
                  align-items: center;
                  opacity: 0.5;
                  input {
                    width: auto;
                    position: relative;
                    border: none;
                    transform: translateY(-2px);
                    appearance: auto;
                    &::before {
                      position: absolute;
                      z-index: 1;
                      top: 0.525rem;
                      left: 0.5875rem;
                      width: 0.75rem;
                      height: 0.375rem;
                      content: "";
                      -webkit-transition: -webkit-transform 0.4s
                        cubic-bezier(0.45, 1.8, 0.5, 0.75);
                      transition: transform 0.4s
                        cubic-bezier(0.45, 1.8, 0.5, 0.75);
                      -webkit-transform: rotate(-45deg) scale(0, 0);
                      transform: rotate(-45deg) scale(0, 0);
                      border: 2px solid var(--textcolor);
                      border-top-style: none;
                      border-right-style: none;
                    }
                    &::after {
                      position: absolute;
                      top: -0.125rem;
                      left: 0;
                      width: 1.8rem;
                      height: 1.8rem;
                      content: "";
                      cursor: pointer;
                      border: 2px solid #d2d2d2;
                      background: #fff;
                    }
                    &:checked {
                      &::before {
                        transform: rotate(-45deg) scale(1, 1);
                      }
                    }
                  }
                  span {
                    font-size: 1.1rem;
                    font-weight: 500;
                    margin-left: 2rem;
                    line-height: 1;
                  }
                }
              }
            }
            .txt {
              font-size: 1rem;
              margin-bottom: 1rem;
              .id-1 {
                &:first-of-type {
                  display: none;
                }
              }
            }
            .pinch_hitter {
              margin-bottom: 3rem;
              p {
                font-size: 1.2rem;
                font-family: var(--roboto);
                a {
                  text-decoration: underline;
                  &:hover {
                    text-decoration: none;
                  }
                }
              }
            }
            .bottomBtn {
              display: flex;
              justify-content: center;
              #goFirst {
                width: 23.5rem;
                margin-right: 1.2rem;
                background-color: #696969;
                cursor: pointer;
                p {
                  height: 100%;
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  font-size: 1.5rem;
                  font-weight: 500;
                  color: var(--white);
                  text-align: center;
                  span {
                    &:first-of-type {
                      font-size: 3rem;
                      transform: translate(-0.2rem, -0.4rem);
                      transition: transform 0.3s ease;
                    }
                  }
                }
                &:hover {
                  p {
                    span {
                      &:first-of-type {
                        transform: translate(-0.6rem, -0.4rem);
                      }
                    }
                  }
                }
              }
              .send {
                width: 27.5rem;
                text-align: center;
                button {
                  width: 100%;
                  background: linear-gradient(
                    to right,
                    rgba(32, 162, 229, 1) 0%,
                    rgba(50, 199, 180, 1) 100%
                  );
                  padding: 1rem 0;
                  cursor: pointer;
                  position: relative;
                  p {
                    font-size: 1.8rem;
                    font-weight: 700;
                    color: #fff;
                    span {
                      width: 2.9rem;
                      bottom: 0;
                      overflow: hidden;
                      position: absolute;
                      right: 0;
                      top: 0;
                      &::after {
                        content: "";
                        background: #fff;
                        bottom: 0;
                        display: block;
                        height: 1px;
                        margin: auto;
                        position: absolute;
                        right: 0;
                        top: 0;
                        width: 100%;
                      }
                    }
                  }
                  &:hover {
                    p {
                      span {
                        &::after {
                          animation: hoverBorder 0.6s forwards;
                        }
                      }
                    }
                  }
                  &:disabled {
                    pointer-events: none;
                    opacity: 0.5;
                  }
                }
              }
            }
            &.is-scroll {
              height: 54vh;
              overflow-y: scroll;
            }
          }
        }
        .seekBar {
          display: flex;
          justify-content: space-between;
          width: 100%;
          padding: 0 3rem;
          position: absolute;
          bottom: 0.8rem;
          left: 0;
          span {
            height: 2px;
            background-color: #e6e6e6;
            width: 23%;
            &.current {
              background-color: #656565;
            }
          }
        }
        .arrow {
          .prev {
            width: 10rem;
            height: 10rem;
            background-image: url(../images/prev.svg);
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center;
            cursor: pointer;
            position: absolute;
            top: 50%;
            left: -15%;
            transform: translateY(-50%);
            transition: opacity 0.3s ease;
            &:hover {
              opacity: 0.8;
            }
          }
          .next {
            width: 10rem;
            height: 10rem;
            background-image: url(../images/next.svg);
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center;
            cursor: pointer;
            position: absolute;
            top: 50%;
            right: -15%;
            transform: translateY(-50%);
            transition: opacity 0.3s ease;
            &:hover {
              opacity: 0.8;
            }
            &.is-disabled {
              opacity: 0;
              visibility: hidden;
            }
          }
        }
        .vertical {
          display: none;
          width: 8rem;
          background-color: rgba(255, 255, 255, 0.9);
          border-radius: 10px;
          box-shadow: 0 4px 5px rgba(0, 0, 0, 0.4);
          padding: 4rem 0 2.2rem;
          position: absolute;
          bottom: 20%;
          left: 50%;
          transform: translate(-50%, 0);
          .flex {
            align-items: center;
            justify-content: center;
            .ver1 {
              width: 4rem;
              animation: scroll-ver 1.2s infinite linear;
            }
            .ver2 {
              width: 1.25rem;
            }
          }
          p {
            font-size: 1rem;
            text-align: center;
            line-height: 1;
            margin-top: 1rem;
          }
        }
      }
    }
  }
  .swiper-pagination {
    display: none;
    bottom: -30% !important;
    .swiper-pagination-bullet {
      width: 7.5rem !important;
      height: 7.5rem !important;
      background-color: var(--maincolor) !important;
      opacity: 1 !important;
      position: relative;
      text-align: center;
      &.swiper-pagination-bullet-active {
        background-color: #fff !important;
      }
      &::before {
        content: "1";
        display: inline-flex;
        justify-content: center;
        align-items: center;
        vertical-align: baseline;
        width: 100%;
        height: 92.5%;
        font-size: 2.5rem;
        font-weight: 700;
        color: #fff;
      }
      &:nth-of-type(2)::before {
        content: "2";
      }
      &:nth-of-type(3)::before {
        content: "3";
      }
      &:nth-of-type(4)::before {
        content: "4";
      }
      &.swiper-pagination-bullet-active::before {
        color: #000;
      }
    }
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
    width: 10rem !important;
    height: 10rem !important;
    background-color: var(--maincolor);
    border-radius: 50%;
    top: 47.5%;
    &.swiper-button-disabled {
      display: none;
    }
    &::after {
      color: #fff;
    }
  }
  .swiper-button-prev {
    left: -15% !important;
  }
  .swiper-button-next {
    right: -15% !important;
  }
  @media (max-width: 743px) {
    top: 50%;
    .swiper {
      width: 35rem;
      .swiper-wrapper {
        align-items: flex-start;
        &.is-normal {
          align-items: normal;
        }
        .swiper-slide {
          width: 100% !important;
          padding: 2rem;
          h2 {
            font-size: 1.8rem;
            margin-bottom: 2rem;
          }
          .box {
            &.b1 {
              .flex {
                display: block;
                dl {
                  width: auto;
                  padding: 1.5rem 0;
                  border-bottom: 1px dotted #656565;
                  dt {
                    font-size: 1.3rem;
                    margin-bottom: 0.5rem;
                  }
                  dd {
                    display: flex;
                    &.dateTime {
                      div {
                        width: 48%;
                        &.time {
                          width: 15rem;
                        }
                      }
                    }
                  }
                  &.select {
                    width: auto;
                    display: flex;
                    align-items: center;
                    dt {
                      margin-bottom: 0;
                    }
                    .flex {
                      display: flex;
                      margin-left: 1rem;
                      div {
                        width: 5rem;
                        padding: 0.5rem;
                      }
                      span {
                        margin-left: 0.5rem;
                      }
                    }
                  }
                }
              }
            }
            &.b2 {
              height: 50vh;
              overflow-y: scroll;
              .car_type {
                #radioWrap {
                  label {
                    width: 48.4%;
                    margin-bottom: 3.2%;
                    .icon {
                      height: 7.8rem;
                    }
                    .txt {
                      height: 6rem;
                      padding: 0.7rem;
                      span {
                        display: block;
                        font-size: 1rem;
                        line-height: 1.2;
                        text-align: center;
                      }
                      b {
                        font-size: 1.3rem;
                      }
                    }
                  }
                }
              }
            }
            &.b3 {
              .op {
                .flex {
                  align-items: center;
                  margin-bottom: 2rem;
                  .icon {
                    width: 5.75rem;
                  }
                  span {
                    font-size: 1.2rem;
                    margin-left: 1rem;
                  }
                  .sel_wrap {
                    width: 5.2rem;
                    margin-left: 1rem;
                    padding: 0.5rem;
                    select {
                      font-size: 1.2rem;
                    }
                  }
                  &:not(:last-of-type) {
                    padding-bottom: 2rem;
                    border-bottom: 1px dotted #656565;
                  }
                }
              }
              .caution {
                font-size: 1.2rem;
              }
            }
            &.b4 {
              height: 40rem !important;
              overflow-y: scroll;
              #kekka {
                .k_wrap {
                  padding: 1.2rem;
                  p {
                    font-size: 1rem;
                  }
                  #yoyaku_no {
                    color: red;
                  }
                  #yoyaku_detail {
                    #kekka_date {
                      display: block;
                      p {
                        margin-right: 0;
                      }
                    }
                    #kekka_price_detail {
                      p {
                        b {
                          font-size: 1.4rem;
                        }
                      }
                    }
                    #kekka_price {
                      b {
                        font-size: 1.7rem;
                      }
                    }
                  }
                }
              }
              dl {
                margin-bottom: 1.5rem;
                dt {
                  font-size: 1.4rem;
                  margin-bottom: 0.5rem;
                }
                dd {
                  padding: 1rem;
                }
              }
              .space_a {
                display: block;
                padding: 1.2rem 0 0;
                .dl {
                  margin-bottom: 1.3rem;
                  &:nth-of-type(1) {
                    width: 100%;
                  }
                  &:nth-of-type(2) {
                    width: 100%;
                  }
                  &:nth-of-type(3) {
                    width: 100%;
                  }
                }
              }
              .fwap {
                display: block;
                padding: 0;
                margin-bottom: 0;
                .base {
                  width: 100%;
                  margin-bottom: 1.3rem;
                  .space_b {
                    .dl {
                      width: 15rem;
                    }
                  }
                  .if {
                    font-size: 1rem;
                    margin-top: 1rem;
                  }
                }
                .cl {
                  width: 100%;
                }
                &.dashed {
                  margin-bottom: 1.5rem;
                  padding: 0 0 1.5rem;
                }
              }
              .privacyPolicy {
                h4 {
                  font-size: 1.1rem;
                  margin-bottom: 1rem;
                }
                p {
                  font-size: 1.1rem;
                  &.mb {
                    margin-bottom: 2rem;
                  }
                }
                .check {
                  text-align: center;
                  label {
                    line-height: 135%;
                    opacity: 0.5;
                    input {
                      transform: translateY(-2px);
                    }
                    span {
                      font-size: 1.1rem;
                    }
                  }
                }
              }
              .pinch_hitter {
                margin-bottom: 2rem;
                p {
                  font-size: 1.1rem;
                }
              }
              .bottomBtn {
                display: flex;
                flex-direction: column-reverse;
                flex-wrap: wrap;
                #goFirst {
                  margin: 2rem auto;
                }
                .send {
                  margin: 0 auto;
                }
              }
            }
          }
          .seekBar {
            padding: 0 2rem;
            bottom: 0.8rem;
          }
          .arrow {
            .prev {
              width: 4.5rem;
              height: 4.5rem;
              top: auto;
              bottom: 2rem;
              left: 2rem;
              transform: translateY(0);
            }
            .next {
              width: 4.5rem;
              height: 4.5rem;
              top: auto;
              bottom: 2rem;
              right: 2rem;
              transform: translateY(0);
              &.is-disabled {
                opacity: 0;
                visibility: hidden;
              }
            }
            &.a4 {
              .prev {
                display: none;
              }
            }
          }
          .vertical {
            display: block;
            width: 8rem;
            padding: 3.4rem 0 2rem;
            .flex {
              .ver1 {
                width: 4rem;
              }
              .ver2 {
                width: 1.25rem;
              }
            }
            p {
              font-size: 1rem;
              margin-top: 1rem;
            }
          }
        }
      }
    }
    .swiper-pagination {
      bottom: -20% !important;
      .swiper-pagination-bullet {
        width: 5rem !important;
        height: 5rem !important;
        &::before {
          font-size: 1.4rem;
        }
      }
    }
    .swiper-button-next,
    .swiper-button-prev {
      width: 5rem !important;
      height: 5rem !important;
      top: auto;
      &::after {
        font-size: 2rem;
      }
    }
    .swiper-button-prev {
      left: 2rem !important;
    }
    .swiper-button-next {
      right: 2rem !important;
    }
  }
  @media (orientation: landscape) {
    &:is(.mobile #swiperForm) {
      .swiper {
        .swiper-wrapper {
          .swiper-slide {
            .box {
              &.b2 {
                height: 48vh;
                overflow-y: scroll;
              }
              &.b4 {
                height: 48vh;
                overflow-y: scroll;
              }
            }
          }
        }
      }
    }
  }
}

@keyframes scroll-ver {
  0% {
    transform: translateY(4rem);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50%,
  100% {
    transform: translateY(-4rem);
    opacity: 0;
  }
}

@keyframes hoverBorder {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  45% {
    -webkit-transform: translateX(100%);
    opacity: 1;
    transform: translateX(100%);
  }
  50% {
    -webkit-transform: translateX(100%);
    opacity: 0;
    transform: translateX(100%);
  }
  75% {
    -webkit-transform: translateX(-100%);
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    -webkit-transform: translateX(0);
    opacity: 1;
    transform: translateX(0);
  }
}
