/*
Theme Name: My Child Theme Museum Korea
Theme URI: https://sainthonore-pisanti.com/museum-korea
Template: museum-korea
Description: Museum Koreaの子テーマ
Version: 1.0
Author: Hyangik
*/

.swiper {
    width: 100%;
    height: 500px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 3カラム美術館ボックス */
.museum-boxes {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 40px 0;
  padding: 0 20px;
}

.museum-boxes .box {
  flex: 1;
  text-align: center;
}

.museum-boxes img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.museum-boxes h3 {
  margin-top: 10px;
  font-size: 1.1em;
}

/* ニュースセクション */
.news-section {
  padding: 40px 20px;
  background: #f9f9f9;
}

.news-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.news-item {
  background: white;
 
  border: 1px solid #ddd;
  border-radius: 8px;
}

.news-item h3 {
  margin-top: 0;
}




.gallery {
  padding: 40px 20px;
}

.gallery h3 {
  text-align: center;
	margin-top:.5rem;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.grid-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.span-2 {
  grid-column: span 2;
}

.center-link {
  text-align: center;
  margin: 30px 0;
}

.archive-link {
  display: inline-block;
  font-weight: bold;
  color: #333;
  padding: 10px 20px;
  border: 2px solid #333;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.archive-link:hover {
  background: #333;
  color: #fff;
}


.site-footer {
  text-align: center;        /* 文字を中央に揃える */
  padding: 2rem 0;           /* 上下に余白 */
  background-color: #f4f4f4; /* 任意の背景色 */
}

.footer-text {
  margin: 0;
  font-size: 14px;
  color: #666;
}


@media screen and (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: span 1;
  }
}

