.top {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 5rem;
  padding: 40px 0 0;
  display: grid;
  grid-template-columns: 5.5fr 4.5fr;
  align-items: center;
  z-index: 10;
}

.top-left {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-right {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #000;
  overflow: hidden;
}

.top-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
}

.top-text {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 2;
}

@media screen and (min-width: 1px) and (max-width: 743px) {
  .top {
    padding: 0;
    margin: 0 0 2rem;
    grid-template-columns: 1fr 9fr;
    align-items: stretch;
  }

  .top-left {
    position: relative;
    width: 100%;
    display: flex;
    order: 2;
    justify-content: center;
    align-items: center;
  }

  .top-left>img {
    display: block;
    width: 100%;
  }

  .top-right {
    position: relative;
    min-height: 0;
    padding: 0;
    align-self: stretch;
    text-align: center;
    overflow: hidden;
  }

  .top-right img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: fill;
  }

  .top-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
  }

  .top-text {
    position: absolute;
    inset: 0.4rem 0;
    width: 100%;
    height: auto;
  }

  .top-text picture {
    display: block;
    width: 100%;
    height: 100%;
  }

}

@media screen and (min-width: 744px) and (max-width: 1024px) {
  .top {
    width: 100%;
    padding: 0;
  }

  .top-logo {
    width: 90%;
    margin: 0 auto;
  }

  .top-logo img {
    width: 100%;
  }

  .top-logo img {
    margin: 0 0 1rem;
  }

  .top-text {
    margin: 0.6em 0 0;
    font-size: 2.8vw;
  }

  .mask-fade-side {
    -webkit-mask-image:
      linear-gradient(to right,
        transparent 0%,
        #000 10%,
        #000 100%),
      linear-gradient(to bottom,
        #000 0%,
        #000 90%,
        transparent 100%);
    -webkit-mask-repeat: no-repeat, no-repeat;
    -webkit-mask-size: 100% 100%, 100% 100%;
    -webkit-mask-composite: source-in;

    mask-image:
      linear-gradient(to right,
        transparent 0%,
        #000 10%,
        #000 100%),
      linear-gradient(to bottom,
        #000 0%,
        #000 90%,
        transparent 100%);
    mask-repeat: no-repeat, no-repeat;
    mask-size: 100% 100%, 100% 100%;
  }

}

@media screen and (min-width: 1025px) {

  .mask-fade-side {
    -webkit-mask-image: linear-gradient(to bottom,
        transparent 0%,
        #000 5%,
        #000 95%,
        transparent 100%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;

    mask-image: linear-gradient(to bottom,
        transparent 0%,
        #000 5%,
        #000 95%,
        transparent 100%);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
  }

}
