@charset "UTF-8";

/*拡大表示考察*/

#container {
  display: flex;
}

#container {
  display: flex;
  flex-wrap: wrap;
}

.gallerylist {
  display: flex;
  flex-wrap: wrap;
}


img {
  border: 1px solid #2f4f4f;
  flex-grow: 1;
}

img {
  border: 1px solid #2f4f4f;
  flex-grow: 1;
  object-fit: cover;
}


img {
  border: 1px solid #2f4f4f;
  flex-grow: 1;
  object-fit: cover;
  height: 100px;
}

img {
  flex-grow: 1;
  object-fit: cover;
  height: 100px;
  max-width: 220px;
  margin: 0.2rem;
  border-radius: 4px;
}


/*テスト部分2*/

 @media screen and (max-width: 1024px) {
  width: calc((100% - 60px)/4);
 }

 @media screen and (max-width: 767px) {
  width: calc((100% - 40px)/3);
 }
 
 @media screen and (max-width: 520px) {
  width: calc((100% - 20px)/2);
 }

/* モーダル（拡大画像）のスタイル noteより */
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

/* 拡大画像 */
.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  margin-top: 5%;
  border-radius: 6px;
}

/* 閉じるボタン 
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}
*/

