/* --- 1. 基本設定 --- */
body {
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 16px;
  color: #333;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* --- 2. ヘッダー構成 --- */
.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px;
  min-height: 80px;
}

/* ロゴのレスポンシブ設定 */
h1 img {
  max-width: 250px; /* スマホデフォルト */
  height: auto;
}

@media (min-width: 768px) {
  h1 img {
    max-width: 500px; /* PCサイズ */
  }
}

.header-left-group {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 100;
}

.hamburger {
  width: 30px;
  height: 22px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: 0.3s;
}

.hamburger.hidden {
  opacity: 0;
  visibility: hidden;
}

/* ロゴ横のタイトル検索エンジンには読み取れるが、画面からは見えなくする専用の設定 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- 3. ナビゲーションメニュー --- */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  overflow-y: auto;
}

.navigation.active {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 768px) {
  .navigation {
    position: absolute;
    top: 70px;
    left: 15px;
    width: auto;
    height: auto;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border: 1px solid #eee;
    transform: translateY(-10px);
  }
  .navigation.active {
    transform: translateY(0);
  }
  .menu-close-wrapper {
    display: none;
  }
}

.navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.menu-close-wrapper {
  border-bottom: 1px solid #eee;
  padding: 20px;
  text-align: right;
}

.menu-close-button {
  cursor: pointer;
  font-size: 16px;
  color: #888;
  font-weight: bold;
}

/* --- 3. ナビゲーションメニュー（修正版） --- */

/* メニュー内のリンク設定 */
.navigation ul li a {
  text-decoration: none;
  color: #333;
  display: block;
  padding: 18px 25px;
  border-bottom: 1px solid #f9f9f9;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s; /* ①色変化を滑らかに */
}

/* ①ホバー時に薄水色にする */
.navigation ul li a:hover {
  background-color: #f0faff; /* 薄い水色 */
  color: #0077b6;            /* 文字色も少し濃い青に */
}

/* ②×ボタンの装飾 */
.menu-close-wrapper {
  padding: 15px 20px;
  text-align: right; /* 右上に配置 */
}

.menu-close-button {
  cursor: pointer;
  font-size: 32px;    /* 大きく見やすく */
  line-height: 1;
  color: #999;
  display: inline-block;
  padding: 5px 10px;
  transition: 0.3s;
}

/* ×ボタンもホバーで反応させる */
.menu-close-button:hover {
  color: #333;
  transform: rotate(90deg); /* 遊び心で少し回転 */
}

/* PC版での「閉じる」表示設定を解除 */
@media (min-width: 768px) {
  /* PC版でも×ボタンを表示したままにする場合は display: none を削除 */
  .menu-close-wrapper {
    display: block; 
  }
}

/* --- 4. 桜咲く地蔵 ストーリーセクション --- */
.story-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.story-row {
  display: flex;
  flex-direction: column; /* スマホ：縦並び */
  align-items: center;
  gap: 30px;
  margin-bottom: 80px;
}

.story-photo, .story-text {
  width: 100%;
}

.story-text {
  text-align: left;
  padding: 0 10px;
}

/* PC向けストーリー調整 */
@media (min-width: 768px) {
  .story-row {
    flex-direction: row; /* PC：横並び */
    justify-content: space-between;
    align-items: flex-start
