/* Banner  */
.banner {
  width: 100%;
  gap: 8px;
  display: grid;
  grid-template-columns: calc(50vw - 4px) calc(50vw - 4px);
  grid-template-rows: repeat(2, calc(25vw - 6px));
  background-color: #edebe9;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner__img {
  position: relative;
}

.banner__img-1 {
  grid-row: 1 / -1;
}

.banner__img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.banner__img:hover::before {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1023px) {
  .banner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.4rem;
    padding-bottom: 4px;
  }

  .banner__img-1 {
    grid-row: unset;
    grid-column: 1 / -1;
  }

  .banner img {
    height: auto;
  }
}

@media screen and (min-width: 1024px) {
  .banner .pc-hidden {
    display: none;
  }
}
@media screen and (max-width: 1023px) {
  .banner .sp-hidden {
    display: none;
  }
}
