@charset "utf-8";
/*
theme Name: japan-search.jp
Author: japan-search.jp
Description: original theme
version： 1.0.0
*/

.shop {
  padding-top: 80px;
  padding-bottom: 80px;
  background-image: url(../../images/top-remake/shop-bottom-bg.svg);
}
@media screen and (max-width: 768px) {
  .shop {
    padding-top: 60px;
    background-size: cover;
    background-position: center;
  }
}

#add-page .shop__images {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  font-size: 0;
}
@media screen and (max-width: 1024px) {
  .shop__images {
    padding: 0 30px;
  }
}
@media screen and (max-width: 768px) {
  .shop__images {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    padding: 0 20px;
  }
}

.shop__left,
.shop__right {
  position: relative;
  overflow: hidden;
  flex: none;
  width: calc((100% - 80px) / 3);
  aspect-ratio: 1 / 1.4;
  font-size: 22px;
}
@media screen and (max-width: 1024px) {
  .shop__left,
  .shop__right {
    width: calc((100% - 48px) / 3);
  }
}
@media screen and (max-width: 768px) {
  .shop__left,
  .shop__right {
    flex: none;
    width: min(260px, 100%);
    font-size: 18px;
  }
}

.shop__left:hover .shop__img,
.shop__right:hover .shop__img {
  transition: 1s;
  transform: scale(1.03);
}

.shop__left-text,
.shop__right-text {
  font-family: "Yeseva One", cursive;
  font-size: 22px;
  line-height: 1;
  position: absolute;
  right: 0;
  left: 0;
  display: table;
  margin: auto;
  padding: 10px 20px;
  color: white;
}
@media screen and (max-width: 768px) {
  .shop__left-text,
  .shop__right-text {
    font-size: 18px;
    padding: 10px 25px;
  }
}

.shop__left-text {
  top: 30px;
  background-color: var(--accent);
}

.shop__right {
  margin-top: 50px;
}
@media screen and (max-width: 768px) {
  .shop__right {
    margin-top: 0;
    margin-left: 0;
  }
}

.shop__right-text {
  bottom: 30px;
  background-color: #000;
}

.shop__img {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: auto;
  transition: 0.3s;
  object-fit: cover;
}