@import url("./cursor.css");
@import url("./fonts.css");
@import url("defolt.css");

/* body {
 * *    font-family: 'Montserrat', 'Noto Sans JP','Noto Color Emoji', sans-serif;
 * *} */
.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 150px;
}

.title h1 {
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: 32px;
  font-weight: bold;
}

.title p {
  font-size: 14px;
  margin-top: 15px;
}

.shop-contents {
  width: 1080px;
  max-width: 90%;
  margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.shop-item {
  flex-grow: 1;
  max-width: 765px;
}

.shop-item h2 {
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: bold;
  line-height: 30px;
}

.shop-item h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background-color: var(--text-color);
  margin-top: 20px;
}

.item-list {
  margin-top: 25px;
  /* display: grid; */
  grid-template-columns: repeat(auto-fit, 220px);
  column-gap: 50px;
  row-gap: 40px;
}

.item-list .img-box {
  overflow: hidden;
}

.item-list img {
  transition-duration: 0.2s;
  width: 100%;
}

.item-list a {
  display: block;
  transition-duration: 0.2s;
}

.item-list img:hover {
  transform: scale(1.3);
}

.item-list dl {
  margin-top: 20px;
}

.item-list dt {
  font-weight: bold;
}

ul .now {
  color: #ff5283;
  font-weight: bold;
  /* color: #1571c2; */
}

ul li {
  padding-top: 5px;
}

.item-list dd {
  font-size: 13px;
  line-height: 20px;
  margin-top: 10px;
}

.shop-menu {
  /* font-family: 'Montserrat', 'Noto Sans JP', sans-serif; */
  flex-shrink: 0;
  margin-right: 60px;
}

.shop-menu ul a:hover {
  color: #ff5283;
  text-decoration: underline;
}

.shop-menu.hidden {
  display: none;
}

.shop-menu-inner {
  position: sticky;
  top: 110px;
  left: 0;
  right: 0;
}

.shop-menu-inner h2 {
  font-size: 18px;
  font-weight: bold;
}

.shop-menu-inner ul {
  list-style-type: disc;
  margin-top: 20px;
  margin-left: 20px;
}

.shop-menu-inner li {
  font-size: 14px;
  margin-top: 15px;
}

.item-area {
  margin-top: 20px;
  display: flex;
}

.item-area img {
  z-index: 10;
  width: 50%;
  max-width: 380px;
}

.about-item {
  margin-left: 30px;
}

.about-item .item-text {
  font-size: 14px;
  line-height: 26px;
}

.about-item .item-price {
  font-weight: bold;
  margin-top: 20px;
}

.about-item a,
.about-item .start,
.about-item .settings,
.about-item .gui {
  display: inline-block;
  text-align: center;
  margin-top: 35px;
  color: var(--text-color);
}

.open {
  background-color: #ededed;
  user-select: none;
  display: inline-block;
  min-width: 180px;
  line-height: 48px;
  border-radius: 24px;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: 14px;
  text-align: center;
  margin-top: 35px;
  border: none;
  outline: none;
  /*     cursor: pointer; */
}

/* .about-item a, .about-item .start, .about-item .settings {
  animation: hover 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.about-item a:hover, .about-item .start:hover, .about-item .settings:hover {
  animation: nothover 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.about-item .gui {
  animation: guinothover 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.about-item .gui:hover {
  animation: guihover 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
} */

@keyframes hover {
  0% {
    background-color: var(--sub-hover-color);
  }

  100% {
    background-color: var(--sub-color);
  }
}

@keyframes nothover {
  0% {
    background-color: var(--sub-color);
  }

  100% {
    background-color: var(--sub-hover-color);
  }
}

@keyframes guihover {
  0% {
    background-color: rgba(255, 82, 131, 0.6);
  }

  100% {
    background-color: rgba(255, 82, 131, 0.3);
  }
}

@keyframes guinothover {
  0% {
    background-color: rgba(255, 82, 131, 0.3);
  }

  100% {
    background-color: rgba(255, 82, 131, 0.6);
  }
}

.recommended {
  margin-top: 60px;
}

.footer {
  margin-top: 100px;
}

.hot,
.game,
.new {
  padding-left: 10px;
  font-size: 13px;
  font-weight: bold;
}

.hot {
  color: #ff0000;
}

.game,
.new {
  color: rgba(255, 0, 0, 0.7019607843);
}

.fire,
.new-image {
  width: 13px !important;
  height: 13px !important;
  vertical-align: bottom;
}

.game-icon,
.tool-icon,
.Keyboard-icon {
  fill: var(--sub-color);
  width: 14px;
  height: 14px;
  vertical-align: bottom;
  margin-right: 7px;
}

.skeleton {
  background-size: 600px;
  border-radius: 20px;
  height: 24px;
  width: 300px;
  margin-bottom: 12px;
}

.item-list:not(.loaded) {
  background-size: 765px;
  border-radius: 40px;
  margin-bottom: 12px;
}

.item-list:not(.loaded),
.skeleton {
  background-color: #e2e2e2;
  background-image: linear-gradient(
    90deg,
    #e3e3e3 0px,
    #f1f1f1 40px,
    #e3e3e3 80px
  );
  animation: shimmer 1.5s infinite;
  /* animation: shimmer2 0.4s infinite alternate; */

  color: transparent;
}

.imagehidden {
  display: none;
}

.loaded {
  background: none;
  background-image: none;
  animation: none;
  color: inherit;
}

@keyframes shimmer {
  0% {
    background-position: -800px 0;
  }

  100% {
    background-position: 800px 0;
  }
}

@keyframes shimmer2 {
  0% {
    background-color: #f1f1f1;
  }

  50% {
    background-color: #e4e4e4;
  }

  100% {
    background-color: #f1f1f1;
  }
}

@media (max-width: 800px) {
  .shop-contents {
    display: block;
    max-width: 100%;
    margin-top: 60px;
  }

  .shop-item {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  .item-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 35px;
    padding-bottom: 100px;
  }

  .shop-menu {
    background-color: #f8f8f8;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top: 60px;
    margin-right: 0;
  }

  .shop-menu-inner {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  .item-area {
    display: block;
  }

  .item-area img {
    width: 100%;
    max-width: 100%;
  }

  .about-item {
    margin-top: 20px;
    margin-left: 0;
  }

  .about-item a,
  .about-item .start,
  .about-item .settings,
  .about-item #backgroundreset,
  .about-item #varreset {
    width: 100%;
    color: #000000;
  }

  .about-item #speedup {
    width: 100%;
  }

  .about-item #nextpattern,
  .about-item #backpattern {
    width: 46.2%;
  }

  .about-item #nextpattern {
    margin-left: 15px;
  }

  .about-item #backpattern {
    margin-right: 15px;
  }

  .footer {
    margin-top: 0;
  }
}
