/* ================================
   全体
================================ */
body {
  font-family: "Noto Sans JP", sans-serif;
  background: #f5f5f5;
  margin: 0;
  padding: 0;
  color: #333;
}

.container {
  width: min(95%, 1100px);
  margin: 0 auto;
  padding: 30px 0;
}

/* 見出し */
h1 {
  font-size: 32px;
  font-weight: 700;
  color: #308000;
  margin-bottom: 10px;
}

.section-bar {
  height: 6px;
  background: #308000;
  border-radius: 3px;
  margin-bottom: 25px;
}

/* ================================
   TABLE → CSS Grid に変換
================================ */
.album-table {
  width: 100%;
  border-collapse: collapse;
}

.album-table tr {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.album-table td {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  padding: 0;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.album-table td:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.album-table img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  cursor: pointer;
}

/* キャプション */
.cap {
  padding: 10px;
  font-size: 13px;
  color: #444;
  line-height: 1.4;
}


/* ================================
   スマホ対応
================================ */
@media (max-width: 600px) {
  h1 {
    font-size: 26px;
    text-align: center;
  }

  .album-table img {
    height: 34vw;
  }
}

.back-home {
  text-align: right;
  margin-top: 30px;
}

.back-home a {
  color: #308000;
  font-weight: bold;
  text-decoration: none;
}

/* フラットなホームへ戻るボタン（左矢印） */
.back-home {
    text-align: center;
    margin: 50px 0;
}

.back-home-btn {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #308000;
    color: #308000;
    background: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.25s;
}

.back-home-btn .arrow {
    margin-right: 10px;
    transition: 0.25s;
}

.back-home-btn:hover {
    background: #f4fff4; /* ほんのり緑がかった白 */
    border-color: #256600;
    color: #256600;
}

.back-home-btn:hover .arrow {
    margin-right: 16px; /* ホバーで矢印がスッと動く */
}

/* 画像アイコン版の矢印 */
.arrow-img {
    height: 16px;            /* ← 少し小さくして文字とバランス良く */
    margin-right: 2px;       /* 文字との間隔 */
    vertical-align: middle;  /* ← 文字の中央に揃える最重要ポイント */
    position: relative;
    top: -1px;               /* ← 微調整でさらに完璧に中央へ */
    transition: 0.25s;
}

.back-home-btn:hover .arrow-img {
    margin-right: 14px;      /* ホバー時のスッと動く演出 */
}


/*写真２枚*/

.two-column-photos {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.two-column-photos figure {
    width: 48%;
    text-align: center;
}

.two-column-photos img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.two-column-photos figcaption {
    margin-top: 8px;
    font-size: 14px;
    color: #555;
}

