@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&family=Source+Sans+Pro&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Handlee&family=Indie+Flower&family=Yomogi&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Architects+Daughter&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Architects+Daughter&family=Itim&display=swap');


body {
  min-height: 100%;
  font-family: 'Yomogi', cursive;
  color: #4d3c45;  
  background: url("/img/canvas.jpg") no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
}
a{
  color: #50665d;
  text-decoration:none;
}

a:hover{
  color: #8bb3a2;
}

a:visited{
  color: #8bb3a2;
}
.shop-item {
  margin-bottom: 2rem;
}
/* 親のULをグリッドにする */
ul.shop-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, 200px); /* 200pxで自動折返し */
  gap: 16px; /* 画像の間隔 */
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center; /* 中央寄せしたい場合 */
}

/* LIの中身 */
ul.shop-thumbs li {
  width: 200px;
  overflow: hidden;
}

/* アイキャッチ画像 */
ul.shop-thumbs li img {
  width: 200px;
  height: auto;         /* 縦横比を保持 */
  display: block;
  object-fit: cover;    /* 必要ならトリミングして枠内に収める */
  border: 1px solid #ddd;
  border-radius: 4px;
}
ul.shop-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, 200px);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

ul.shop-thumbs li {
  width: 200px;
  height: auto;
  overflow: hidden; /* はみ出した部分を隠す */
  border: 1px solid #ddd;
  border-radius: 4px;
}

ul.shop-thumbs li img {
  width: 200px;
  height: auto;
  display: block;
  transition: transform 0.3s ease; /* アニメーション */
}

/* hoverした時 */
ul.shop-thumbs li:hover img {
  transform: scale(1.2); /* 120%に拡大 */
}
ul.shop-thumbs li.thumb {
  position: relative;
  width: 200px;
  height: auto;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 4px;
}

ul.shop-thumbs li.thumb img {
  width: 200px;
  height: auto;
  display: block;
}

/* SOLDバッジを右上に重ねる */
ul.shop-thumbs li.thumb.is-sold::after {
  content: "";
  position: absolute;
  top: 0%;
  left: 0%;
  width: 180px;   /* sold.png のサイズに合わせて調整 */
  height: 180px;
  background: url("/img/sold.png") no-repeat center / contain;
  pointer-events: none;
  z-index: 2;
}
.content img{
  width:200 px;

}

.shop{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.shop img{
  width: 400px;
}

.shop-gallery img{
  width: 200px;
}