@charset 'UTF-8';

#muku > img {
    width: 200px;
}
#muku h2 {
    font-size: 2.9rem;
    margin-top: 2rem;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 900;
}
#muku .desc {
    font-size: 1.5rem;
    font-weight: normal;
    margin-top: 1.5em;
    margin-bottom: 3em;
}
#muku .desc p {
    margin: 1rem 0;
}
#muku .desc p:last-child {
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    column-gap: 3rem;
    flex-wrap: wrap;
}
@media screen and (max-width: 767px) {
    #muku > img {
        width: 150px;
    }
    #muku h2 {
        font-size: 2.4rem;
    }
    #muku .desc {
        margin-bottom: 1.5em;
    }
    #muku .desc p:last-child {
        font-size: 1.8rem;
    }
}
/* glist */
#glist section {
  padding: 1rem 0;
  border-top: 1px solid rgb(0, 0, 0);
}
#glist section h3 {
  padding: 0.45em 0;
  margin: 0;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.9;
}
@media screen and (min-width: 768px) {
  #glist section h3 {
    font-size: 1.8rem;
  }
}
#glist section p {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.9;
}
#glist section .price,
#glist section .size {
  font-weight: bold;
}
#glist section .desc {
  padding: 0.8rem 0;
}
#glist .photos {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#glist .photos .image {
  margin-bottom: calc((330 - 154 * 2) / 330 * 100%);
  flex-basis: calc(154 / 330 * 100%);
}
@media screen and (min-width: 768px) {
  #glist .photos .image {
    margin-bottom: calc((1200 - 372 * 3) / 2 / 1200 * 100%);
    flex-basis: calc(372 / 1200 * 100%);
  }
  #glist .photos .image:last-of-type:nth-of-type(3n-1) {
    margin-right: calc(372 / 1200 * 100% + (1200 - 372 * 3) / 2 / 1200 * 100%);
  }
}

/* pagination */
#pagination {
  padding: 2.2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 768px) {
  #pagination {
    padding: 3.6rem 0;
  }
}
#pagination a {
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 2;
  text-align: center;
  color: rgb(34, 34, 34);
}
@media screen and (min-width: 768px) {
  #pagination a {
    font-size: 1.8rem;
  }
}
#pagination a:not([href]),
#pagination a[href=""] {
  color: rgb(152, 152, 152);
}
