/* day-tatemononaibu.css */

/* 見出し（他ページと統一） */
.explanation{
  background: var(--accent);
  color:#fff;
  padding: 10px;
  text-align: center;
  font-weight: 900;
  border-radius: var(--radius);
  margin: 0 0 12px;
}

.page-logo{
  display: flex;
  justify-content: center;
  margin: 6px 0 10px;
}
.page-logo img{
  max-width: 420px;   /* 適度に */
  width: 100%;
  height: auto;
}

.lead{
  margin: 0;
  line-height: 1.7;
  text-align: center;
}

/* 写真 */
.photo-head{
  margin: 0 0 12px;
  font-weight: 900;
  font-size: 18px;
  text-align: center;
}

/* 2×2 → 画面が狭いと1列 */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item{
  margin: 0;
  background: #f9f1ca;     /* 旧ページの雰囲気に寄せる */
  border: 1px solid #000;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-item img{
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
}

.gallery-item figcaption{
  text-align: center;
  font-weight: 800;
  padding: 10px;
}

/* モバイル */
@media (max-width: 980px){
  .gallery-grid{
    grid-template-columns: 1fr;
  }
  .gallery-item img{
    max-height: 420px;
  }
}
