/* ヘッダー全体のスタイル */
header {
    background-color: #000; /* 背景色：黒 */
    color: white; /* テキスト色：白 */
    padding: 0px 40px; /* 上下左右の余白 */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

/* ヘッダーコンテナ */
.header-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between; /* 左右に分割 */
    align-items: center; /* 垂直方向の中央揃え */
}

/* 左セクション（ロゴとタイトル） */
.left-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 70px;
    width: auto;
}

.main-page-link {
    text-decoration: none; /* 下線を削除 */
    color: white;       /* 親要素の色を継承 */
}


.left-section h1 {
    font-size: 28px; /* タイトルの文字サイズ */
    font-weight: bold;
    margin: 0;
}

/* 右セクション（メニュー） */
.right-section {
    display: flex;
    align-items: center;
}

.menu {
    list-style: none;
    display: flex; /* 横並び */
    gap: 30px; /* ボタン間の余白 */
    margin: 0;
    padding: 0;
}

.menu li {
    position: relative;
}

.menu li a {
    color: white; /* テキスト色 */
    text-decoration: none; /* 下線を消す */
    font-size: 20px; /* フォントサイズ */
    font-family: 'Arial', sans-serif; /* フォント */
    font-weight: 300; /* 細字フォント */
    transition: color 0.3s ease;
}

.menu li a:hover {
    color: #ccc; /* ホバー時の文字色 */
}

/* ドロップダウンメニュー */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000; /* 背景色：黒 */
    border: 1px solid #444; /* 枠線 */
    list-style: none;
    padding: 10px 0;
    margin: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* サブメニューの最小幅を設定 */
    z-index: 1000;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #333;
    color: #fff;
}

/* ドロップダウンをホバーで表示 */
.dropdown:hover .dropdown-menu {
    display: block;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column; /* 上段を縦並びに */
        align-items: center;
    }
    .menu > li > a, 
    .menu .dropdown-menu li a {
        font-size: 12px; /* 好きなサイズに調整 */
    }
      /* right-sectionの上に境界線を追加 */
    .right-section {
        border-top: 1px solid #ccc; /* 境界線の色やスタイルを調整 */
        margin-top: 10px; /* 必要に応じて間隔を追加 */
        padding-top: 10px; /* 境界線とコンテンツの間隔を追加 */
    }
    header{
        padding: 10px 0px;
    }
    .logo{
      height:40px;
      width:auto;
    }
}


/* TOP BODY BODY BODY BODY BODY BODY BODY BODY BODY BODY BODY BODY BODY BODY BODY BODY BODY BODY BODY BODY*/
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color-scheme: light;
}

.index-image{
  width:100%;
  height:auto;
}

.attention-longtime{
    font-size : 10px;
}
.click-image-please{
    text-align:  center;
}
.clickhere{color:black;}
.flex-col { display: flex; flex-direction: column; }
.bg-black { background-color: white; }
.text-white { color: black; }
.border-b { border-bottom: 1px solid; }
.border-white { border-color: white; }
.p-4 { padding: 0 1rem; }
.mb-4 { margin-bottom: 1rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.text-3xl { font-size: 1.875rem; }
.font-bold { font-weight: bold; }
.w-full { width: 100%; }
.h-9 { height: 2.25rem; }
.text-sm { font-size: 15px; }
.text-black { color: black; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.bg-white { background-color: white; }
.bg-opacity-90 { background-color: rgba(255, 255, 255, 0.9); }
.overflow-y-auto { overflow-y: auto; }
.text-2xl { font-size: 1.5rem; }
.text-gray-500 { color: #6b7280; }
.hover\:text-gray-700:hover { color: #374151; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-4 { gap: 1rem; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.rounded-lg { border-radius: 0.5rem; }
.aspect-square { aspect-ratio: 1 / 1; }

.popup {
    display: flex; /* 子要素をフレックスボックスとして扱う */
    flex-direction: column; /* 縦方向に並べる */
    align-items: center; /* 子要素を水平中央揃え */
    justify-content: center; /* 子要素を垂直中央揃え */
    width: 90%; /* 画面幅の90%に調整 */
    background-color: #ffffff; /* 背景色を白に */
    margin: 0 auto; /* コンテナを中央揃え */
    text-align: center; /* テキストを中央揃え */
}

.popup-image {
    max-height: 250px; /* 高さを250pxに制限 */
    width: auto; /* 横幅を縦横比に基づいて調整 */
    object-fit: contain; /* 画像の縦横比を維持 */
    margin: 0 auto; /* 中央揃え */
    display: block; /* ブロック要素として扱う */
}

.tall-popup-style {
    max-width: 150px; /* 縦長画像の横幅制限 */
    max-height: 100%; /* 縦長画像の高さ制限 */
    height: auto; /* 縦横比を維持 */
    object-fit: contain; /* 縦横比を維持 */
    margin: 0 auto; /* 中央揃え */
    display: block; /* ブロック要素として扱う */
}


.popup-content {
    padding: 0px; /* 余白を調整 */
    line-height: 1.2; /* 行間を詰める */
    margin: 0; /* 上下の余白をなくす */
}

.popup-content h2 {
    font-size: 16px; /* 見出しのフォントサイズ */
    margin: 5px 0; /* 上下余白を詰める */
    line-height: 1.2; /* 行間を詰める */
}

.popup-content p {
    font-size: 13px; /* テキストサイズを少し小さめに */
    margin: 3px 0; /* 上下余白を詰める */
    line-height: 1.2; /* 行間を詰める */
}

  
@media (max-width: 768px) {
    .popup {
        width: 90%; /* 画面幅の90%に調整 */
        padding: 10px;
    }
    .popup-image {
        max-height: 150px; /* 画像の高さを制限 */
        width: auto; /* 幅を自動調整 */
        height: auto; /* 縦横比を維持 */
        max-width: 100%; /* 親要素の幅を超えないようにする */
        object-fit: contain; /* 縦横比を保ちながら収める */
        display: block; /* 中央揃えに必要 */
        margin: 0 auto; /* 画像を中央揃え */
    }
}
  
.object-cover { object-fit: cover; }
.text-base { font-size: 1rem; }
.text-xs { font-size: 0.75rem; }
.text-gray-600 { color: #4b5563; }
.bg-red-500 { background-color: #ef4444; }
.hover\:bg-red-600:hover { background-color: #dc2626; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.transition-all { transition-property: all; }
.duration-200 { transition-duration: 200ms; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.bg-gray-600 { background-color: #4b5563; }
.hover\:bg-gray-700:hover { background-color: #374151; }

/* Responsive styles */
@media (min-width: 940px) {
  .filter-box {
      grid-template-columns: 4fr 1fr; /* 地図:絞り込み = 3:1 */
  }
}

@media (min-width: 768px) {
    .md\:flex-row { flex-direction: row; }
    .md\:items-center { align-items: center; }
    .md\:justify-between { justify-content: space-between; }
    .md\:w-16 { width: 4rem; }
    .md\:h-16 { height: 4rem; }
    .md\:text-4xl { font-size: 2.25rem; }
    .md\:w-64 { width: 16rem; }
    .md\:mt-0 { margin-top: 0; }
    .md\:ml-auto { margin-left: auto; }
    .md\:w-3\/4 { width: 75%; }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:border-t-0 { border-top-width: 0; }
    .md\:border-l { border-left-width: 1px; }
}

@media (min-width:768px) and (max-width: 940px) {
  .md\:w-1\/4 { width: 35%; }
}

@media (min-width : 941px){
  .md\:w-1\/4 { width: 25% }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Custom styles */
#map { height: 813px; }

@media (max-width: 768px) {
  #map{ height: calc(70vh); }
}

.hidden {
  display: none !important; /* 完全に非表示 */
}


.filter-btn { 
    cursor: pointer; 
    transition: background-color 0.3s, color 0.3s;
}

/* Season button colors */
/* Default style for season buttons */
.season-btn {
    width: 100%; /* ボタンを幅いっぱいに */
    font-size: 18px; /* テキストサイズ */
    height: 60px; /* 高さを設定 */
    border-radius: 10px; /* 丸みを追加 */
    background-color: #d1d5db; /* デフォルト背景色 */
    color: black;
    cursor: pointer; 
    border: 1px solid #ccc; /* 枠線を追加 */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
  }
  

.month-btn {
    width: 100%; /* ボタンの幅を均等化 */
    font-size: 16px; /* テキストサイズ */
    padding: 10px; /* ボタン内の余白 */
    text-align: center; /* テキストを中央揃え */
    border-radius: 8px; /* 角丸を追加 */
    background-color: #d1d5db; /* デフォルト背景色 */
    color: black; /* デフォルト文字色 */
    border: 1px solid #ccc; /* 枠線 */
    cursor: pointer; /* クリック可能なポインタ */
    transition: background-color 0.2s ease; /* 背景色のスムーズな変更 */
}


.month-btn.selected {
    background-color: #D93A49; /* 選択時の背景色 */
    color: white;
}


/* Additional styles for better UI */
#toggle-list {
    font-size: 16px; /* フォントサイズを調整 */
    padding: 10px 20px; /* 内側の余白を調整 */
    background-color: #ef4444; /* ボタンの背景色 */
    color: white; /* ボタンの文字色 */
    border: none; /* 枠線を消去 */
    border-radius: 8px; /* 角丸を追加 */
    cursor: pointer; /* ポインタを表示 */
    transition: background-color 0.2s ease, transform 0.2s ease; /* ホバー時の変化 */
        margin-bottom: 20px; /* ボタンの下に余白を追加 */
  }

.filter-btn-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2列に配置 */
    gap: 15px; /* ボタン間の余白 */
    margin-bottom: 20px; /* 下部の余白 */
}

.filter-btn {
    text-align: center;
    font-size: 16px; /* 統一された文字サイズ */
    padding: 10px 0; /* 高さを均一に */
    border-radius: 8px; /* 角丸を追加 */
    background-color: #f3f4f6; /* デフォルト背景色 */
    border: 1px solid #d1d5db; /* 枠線色 */
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: #D93A49; /* アクティブ時の背景色 */
    color: white; /* アクティブ時の文字色 */
    border: 2px solid #b91c1c; /* アクティブ時の枠線 */
}


.filter-section {
    margin-bottom: 20px; /* 各セクション間のスペース */
}

.filter-btn-container {
    margin-bottom: 20px; /* フィルタータイプボタンとの間隔 */
}

#season-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2列のグリッド配置 */
    gap: 20px; /* ボタン間のスペースを均等に設定 */
  }

  #month-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列レイアウト */
    gap: 10px; /* ボタン間のスペース */
}

#genre-container {
    display: flex;
    align-items: center; /* 垂直方向の中央揃え */
    justify-content: space-between; /* 左右にスペースを均等に配置 */
    margin-bottom: 15px; /* 下部の余白を設定 */
}

#reset-genres {
    font-size: 14px; /* ボタンの文字サイズ */
    background-color: #f3f4f6; /* デフォルト背景色 */
    color: black; /* テキスト色 */
    padding: 5px 10px; /* ボタンの内側の余白 */
    border-radius: 8px; /* 他のボタンと同様の角丸 */
    border: 1px solid #d1d5db; /* 枠線 */
    cursor: pointer; /* カーソルをポインタに変更 */
}

#reset-genres:hover {
    background-color: #2563eb; /* ホバー時の背景色 */
    color: white; /* ホバー時の文字色 */
}


#genre-checkboxes label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#genre-checkboxes input[type="checkbox"] {
    margin-right: 0.5rem;
    transform: scale(1.5); /* サイズを拡大 */
    margin-right: 10px; /* テキストとの間隔を調整 */
}

#season-buttons, #month-buttons, #genre-checkboxes {
    gap: 3px; /* 各ボタンやチェックボックスの間隔を均一に */
}

#reset-genres {
    margin-left: auto; /* 右詰め配置 */
}

#reset-genres:focus {
    outline: none; /* 青い枠を削除 */
    box-shadow: none; /* フォーカス時のシャドウも削除 */
}

#reset-genres:active {
    background-color: #d1d5db; /* 元の背景色に戻す */
    color: black; /* 元の文字色に戻す */
    transform: none; /* クリック時の拡大を解除 */
}


#genre-checkboxes span {
    font-size: 14px; /* 若干大きくする */
    font-weight: 500; /* 少し強調 */
}

#list-button-container {
    display: flex;
    justify-content: center; /* 中央揃え */
    margin-top: 1rem; /* 上部に余白を追加 */
  }

  #toggle-list:hover {
    background-color: #dc2626; /* ホバー時の背景色 */
  }
  
  #toggle-list:active {
    transform: translateY(2px); /* 押した時のアクション */
  }

/*リストを閉じる*/

#close-list {
    position: fixed; /* 固定位置 */
    bottom: 20px; /* 画面下からの距離 */
    right: 20px; /* 画面右からの距離 */
    width: 70px; /* ボタンの幅 */
    height: 70px; /* ボタンの高さ */
    background-color: #ef4444; /* 背景色（赤） */
    color: white; /* 文字色 */
    border: none; /* 枠線を削除 */
    border-radius: 50%; /* 円形にする */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 軽い影 */
    cursor: pointer; /* カーソルをポインタに */
    font-size: 50px; /* テキストのサイズ */
    line-height: 50px; /* ボタン内のテキストを中央揃え */
    text-align: center; /* テキストを中央揃え */
    z-index: 1000; /* 他の要素より前面に表示 */
    transition: background-color 0.3s ease, transform 0.2s ease; /* ホバー時のアニメーション */
}


#close-list:hover {
    background-color: #dc2626; /* ホバー時の色 */
    transform: scale(1.1); /* ホバー時に拡大 */
}

#close-list:active {
    transform: scale(0.9); /* クリック時に縮小 */
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    #close-list {
        width: 50px;
        height: 50px;
    }
}


#spot-list {
    position: fixed; /* スクロールしても画面全体に固定 */
    top: 0; /* 上端から0 */
    left: 0; /* 左端から0 */
    width: 100%; /* 横幅を画面全体に設定 */
    height: 100%; /* 縦幅も画面全体に設定 */
    background-color: rgba(255, 255, 255, 0.9); /* 背景の透明度を維持 */
    overflow-y: auto; /* 縦スクロールを有効化 */
    z-index: 1000; /* 他の要素の上に配置 */
    padding: 16px; /* 内側の余白を適度に設定 */
    box-sizing: border-box; /* パディングを含めてサイズを計算 */
}

#spot-list h2 {
    text-align: center; /* タイトルを中央揃え */
    margin-bottom: 20px; /* 下部に余白を追加 */
    font-size: 1.8rem; /* タイトルのサイズを大きく */
}

.card-image {
    width: 100%; /* 親要素の幅にフィット */
    aspect-ratio: 1 / 1; /* 正方形を維持 */
    object-fit: contain; /* 縦横比を維持して収める */
    background-color: #f8f9fa; /* 余白部分の背景色を設定 */
    display: block;
    margin: 0 auto; /* 中央揃え */
  }
  

/*検索バー*/

.search-bar {
    width: 100%; /* 幅を絞り込み欄に合わせる */
    padding: 10px 12px; /* 内側余白を調整 */
    font-size: 16px; /* フォントサイズを調整 */
    border: 1px solid #ccc; /* 枠線を追加 */
    border-radius: 8px; /* 角丸を追加 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 軽い影を追加 */
}

/* チェックボックスを縦並びに配置 */
.filter-section {
  display: flex;
  flex-direction: column; /* 縦並び */
  gap: 10px; /* 各要素間のスペース */
}

.filter-section label {
  display: flex;
  align-items: center; /* ラベルとチェックボックスを中央揃え */
}

/* リストの文字に適用するスタイル */

#spot-grid {
  display: grid;
  gap: 8px; /* 各アイテム間の余白 */
  width: 100%; /* 親要素幅に合わせる */
  margin: 0 auto; /* 水平方向の中央揃え */
  box-sizing: border-box; /* パディングを含めた幅計算 */
}

/* --- 今月見頃の撮影地セクション (seasonal-spots) --- */

/* セクション全体のパディングと背景色を調整 */
.seasonal-spots {
  padding: 40px 20px; /* 上下左右の余白 */
  background-color: #f9f9f9; /* ヘッダーやフッターとは異なる淡い背景色 */
  text-align: center; /* タイトルや全体の配置を中央に */
  /* margin-bottom: 20px; */ /* この行をコメントアウトまたは削除して、下部の余白をなくす */
}

/* セクションタイトル */
.seasonal-spots h2 {
  font-size: 2em; /* 大きめのフォントサイズ */
  margin-bottom: 30px; /* タイトルの下の余白 */
  color: #333; /* 濃いグレーの文字色 */
}

/* スポットカードのリストコンテナ */
.seasonal-spot-list {
  display: grid;
  /* 画面幅に応じて列数を自動調整 */
  /* 最小280px、最大1fr（利用可能なスペースを均等に分割） */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; /* カード間の均等な隙間 */
  max-width: 1200px; /* 最大幅を設定し、中央に配置 */
  margin: 0 auto;
}

/* 各スポットカードのスタイル */
.spot-card {
  background-color: #fff; /* 白い背景 */
  border-radius: 8px; /* 角丸 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 軽い影 */
  overflow: hidden; /* コンテンツがはみ出さないように */
  text-decoration: none; /* リンクの下線を削除 */
  color: inherit; /* 親要素の文字色を継承 */
  display: flex; /* コンテンツを縦方向に配置 */
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* ホバー時のアニメーション */
  aspect-ratio: 1 / 1; /* カード全体をスクエアにする */
}

.spot-card:hover {
  transform: translateY(-5px); /* ホバー時に少し上に移動 */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* ホバー時に影を濃く */
}

/* カード内の画像 */
.spot-card img {
  width: 100%; /* 親要素の幅に合わせる */
  height: 70%; /* 画像の高さはカードの70%に設定 */
  object-fit: contain; /* 画像がはみ出さないように調整し、余白を確保 */
  padding: 10px; /* 画像の周囲に余白を追加 */
  box-sizing: border-box; /* パディングを含めてサイズを計算 */
}

/* カード内のテキストコンテンツ部分 */
.spot-content {
  padding: 5px 15px 15px; /* 上のパディングを減らし、下を増やす */
  flex-grow: 1; /* コンテンツ部分が残りのスペースを埋める */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* タイトルと都市名を上下に配置 */
  text-align: center; /* テキストを中央揃えにする */
}

/* スポットのタイトル */
.spot-title {
  font-size: 1.3em; /* タイトルのフォントサイズ */
  font-weight: bold; /* 太字 */
  color: #333; /* 濃いグレーの文字色 */
  word-wrap: break-word; /* 長い単語を途中で改行 */
  overflow-wrap: break-word; /* より新しいプロパティ */
}

/* スポットの都市名 */
.spot-city {
  font-size: 0.8rem; /* 都市名のフォントサイズ */
  color: #666; /* やや薄いグレーの文字色 */
  word-wrap: break-word; /* 長い単語を途中で改行 */
  overflow-wrap: break-word; /* より新しいプロパティ */
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
  .seasonal-spots {
      padding: 20px 10px; /* モバイルでのパディングを調整 */
  }

  .seasonal-spots h2 {
      font-size: 1.8em; /* モバイルでのタイトルサイズ調整 */
  }

  .seasonal-spot-list {
      grid-template-columns: repeat(2, 1fr); /* 小さい画面では2列にする */
  }

  /* モバイルでのフォントサイズをさらに調整 */
  .spot-title {
      font-size: 1em; /* タイトルを少し小さく */
  }
  .spot-city {
      font-size: 0.8em; /* 都市名を少し小さく */
  }
}

@media (max-width: 480px) {
  .seasonal-spot-list {
      grid-template-columns: 1fr; /* さらに狭い画面では1列にする */
  }
  .spot-title {
      font-size: 1.1em; /* 1列になったら少し大きくしても良い */
  }
  .spot-city {
      font-size: 0.9em;
  }
}



.content h1{
    font-size:40px;
}

h1.page-title {
  font-size: clamp(1.5rem, 5vw, ); /* 画面幅に応じてフォントサイズを調整 */
  font-weight: bold;
  text-align: center;
  color: #333;
  margin-bottom: 20px;
  word-wrap: break-word; /* 単語が長すぎる場合は折り返す */
  word-break: break-word; /* 必要に応じて改行 */
  white-space: normal; /* 改行を許可 */
}



.main-image {
    width: 100%;
    height: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.index-visual {
  position: relative;
  text-align: center;
}

.map-button {
  position: absolute;
  bottom: 150px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 20px 36px;
  border-radius: 25px;
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
}

@media (max-width: 900px) {
  .map-button{
    bottom:30px;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 1.0rem;
  }
}

.map-button:hover {
  background-color: #ffcc00;
  color: #000;
}

.info-section {
  width: 100%; /* 必要に応じて最大幅を指定 */
  max-width: 100%;
  margin: 0 auto; /* 横中央揃え */
}

.info-section h2 {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 2px solid #007acc;
    padding-bottom: 5px;
}

.info-section h3 {
    font-size: 18px;
    font-weight: bold;
    color: #555;
}

.info-section p {
    margin: 5px 0 10px;
    color: #666;
    line-height: 1.8;
}

.sakurei-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 必ず2列に設定 */
  gap: 16px;
  width: 100%;
  margin: 0 auto;
}


.sakurei-image-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px; /* 角を丸くする */
}

@media (max-width: 768px) {
  .sakurei-image-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* 小さい画面でもグリッド維持 */
    display: grid; /* ブロック設定を上書き */
    gap: 12px; /* モバイル向けに間隔を調整 */
  }
}


/* 記事専用のmainスタイル */
.article-main {
  margin: 0 auto; /* 中央寄せ */
  padding: 1rem;
  max-width: 800px; /* 最大幅を指定 */
  box-sizing: border-box;
  overflow-x: hidden; /* 横スクロールを防止 */
}

/* 画像をmainの幅に収める */
.sakurei-image-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}


.article-main table {
  width: 100%; /* テーブルを画面幅に合わせる */
  border-collapse: collapse; /* ボーダーの重複を防ぐ */
}

.article-main table th, .article-main table td {
  word-break: break-word; /* テキストがはみ出ないようにする */
  padding: 8px;
  border: 1px solid #ddd;
  text-align: left;
}

/* 長いURLや単語の折り返し */
.article-main {
  word-wrap: break-word; /* 単語が画面幅を超えないよう折り返す */
  overflow-wrap: break-word;
}

/* レスポンシブ対応: 狭い画面の場合 */
@media (max-width: 768px) {
  .article-main {
      padding: 0.5rem;
  }

}

.article-map {
  width: 100%;  /* iframeの幅を100%に設定 */
  height: 400px;  /* 高さを指定。必要に応じて調整 */
  border: 0;
}

.sakurei-provider {
  text-align: right; /* 右詰 */
  font-size: 16px; /* フォントサイズを大きく */
  color: #333; /* フォントカラーを濃く */
}

.sakurei-provider a {
  color: #0056b3; /* リンクの色を濃く */
  text-decoration: none; /* 下線を消す */
}

.sakurei-provider a:hover {
  text-decoration: underline; /* ホバー時に下線を表示 */
}




/*フッターフッターフッターフッターフッターフッターフッターフッターフッターフッター*/
/* フッター全体 */
.footer {
    background-color: #333; /* 背景色 */
    color: #fff; /* テキストカラー */
    padding: 40px 20px; /* 全体の余白 */
    font-family: 'Arial', sans-serif;
}

/* 上段 */
.footer-top {
    display: flex;
    justify-content: space-between; /* 左右に分ける */
    align-items: center;
}

/* 左側: ロゴとタイトル */
.footer-left {
    display: flex;
    align-items: center;
    padding-left:200px;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.footer-logo-image {
    width: 50px; /* ロゴの幅 */
    height: 50px; /* ロゴの高さ */
    margin-right: 10px; /* ロゴとタイトルの間隔 */
}

.footer-logo-text {
    font-size: 20px; /* タイトルの文字サイズ */
    font-weight: bold;
}

/* 右側: リンク群 */
.footer-right {
    display: flex;
    gap: 30px; /* リンク間の余白 */
    padding-right:300px;
}

.footer-link {
    text-decoration: none;
    text-align: center;
    color: #fff;
}

.footer-link-text {
    display: block;
    font-size: 16px; /* 英語部分のフォントサイズ */
    font-weight: bold;
}

.footer-link-subtext {
    display: block;
    font-size: 14px; /* 日本語部分のフォントサイズ */
    color: #aaa; /* 薄い文字色 */
}

.footer-bottom {
    padding: 20px 20px; /* 全体の余白を調整 */
    text-align: center;
    position: relative;
    background-color: #333; /* 背景色を濃いグレーに設定 */
    color: #fff; /* 全体の文字色を白に設定 */
  }
  
  .footer-divider {
    border: none;
    border-top: 1px solid #ccc; /* 区切り線を設定 */
    margin: 20px 0; /* 区切り線の上下余白を均等に */
  }
  
  .footer-content {
    display: flex; /* 横並びにする */
    justify-content: center; /* 中央揃え */
    align-items: center; /* 縦方向の中央揃え */
    gap: 40px; /* 要素間のスペースを調整 */
  }
  
  .footer-policy-link {
    color: #fff; /* リンクの色を白に設定 */
    text-decoration: none;
    font-size: 14px; /* リンクのフォントサイズを調整 */
    transition: color 0.3s; /* ホバー時のアニメーションを追加 */
  }
  
  .footer-policy-link:hover {
    color: #ccc; /* ホバー時のリンク色を薄いグレーに設定 */
  }
  
  .footer-copyright {
    font-size: 14px; /* フォントサイズを調整 */
    margin-top: 0; /* 余白を調整 */
    margin-bottom: 0; /* 下方向の余白も調整 */
  }
  
  

/* レスポンシブ対応 */

@media (max-width: 1100px) {
    .footer-top {
        flex-direction: column; /* 上段を縦並びに */
        align-items: center;
    }

    .footer-left{
        padding:0px;
    }

    .footer-right{
        padding:0px;
    }

    .footer-right {
        margin-top: 20px; /* モバイル時の上下間隔 */
    }
}

@media (max-width: 410px) {
    .footer-content {
      flex-direction: column; /* 縦並びに変更 */
      align-items: center; /* 水平方向の中央揃え */
      gap: 20px; /* 縦並び時の要素間スペースを調整 */
    }
  }



/*privacy*/
.privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    color: #333;
  }
  
  .privacy-policy h1 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 20px;
    color: #444;
  }
  
  .privacy-policy h2 {
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #555;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
  }
  
  .privacy-policy h3 {
    font-size: 1.2em;
    margin-top: 15px;
    color: #666;
  }
  
  .privacy-policy p {
    margin-bottom: 15px;
    text-align: justify;
  }
  
  .privacy-policy ul {
    margin: 10px 0 20px 20px;
    list-style-type: disc;
  }
  
  .privacy-policy ul li {
    margin-bottom: 5px;
  }
  
  .privacy-policy a {
    color: #007BFF;
    text-decoration: none;
  }
  
  .privacy-policy a:hover {
    text-decoration: underline;
  }
  
  .privacy-policy strong {
    color: #444;
  }
  
  .privacy-policy em {
    color: #888;
    font-style: italic;
  }
  


/*コンタクトぺ➖ジ*/  
  .contact-page {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    color: #333;
  }
  
  .contact-page h1 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 20px;
    color: #444;
  }
  
  .contact-page h2 {
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #555;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
  }
  
  .contact-page p {
    margin-bottom: 15px;
    text-align: justify;
  }
  
  .contact-page a {
    color: #007BFF;
    text-decoration: none;
  }
  
  .contact-page a:hover {
    text-decoration: underline;
  }
  
  /*About*/
/* メインビジュアル */
.about-page .main-visual {
  position: relative;
  text-align: center;
}

.about-page .main-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.index-visual{
  position:relative;
}

.index-title {
  position: absolute;
  top: 7%; /* 画面の上から少し下げる */
  left: 5%; /* 画面の左から少し離す */
  font-size: calc(40vw / 8); /* 横幅50%で文字列全体を調整 */
  font-family: "Sawarabi Mincho", serif; /* 明朝体を適用 */
  color: black; /* 黒文字 */
  margin: 0;
  white-space: nowrap; /* 折り返しを防止 */
  line-height: 1; /* 行間を詰める */
  max-width: 50vw; /* 横幅を画面の50%に固定 */
}

.index-explain{
  text-align:center;
  background-color: #e9e3be;
}

.about-page .main-visual .main-title {
  position: absolute;
  top: 7%; /* 画面の上から少し下げる */
  left: 5%; /* 画面の左から少し離す */
  font-size: calc(40vw / 8); /* 横幅50%で文字列全体を調整 */
  font-family: "Sawarabi Mincho", serif; /* 明朝体を適用 */
  color: black; /* 黒文字 */
  margin: 0;
  white-space: nowrap; /* 折り返しを防止 */
  line-height: 1; /* 行間を詰める */
  max-width: 50vw; /* 横幅を画面の50%に固定 */
}


/* about-section のスタイル */
.about-section {
  position: relative;
  width: 100%; /* 親要素に収まる幅 */
  max-width: 100%; /* 横幅を制限 */
  text-align: center;
  overflow: hidden; /* 子要素が画像からはみ出た場合に隠す */
  background-color: #eaf0ac;
}

/* 背景画像 */
.about-section img {
  width: 100%; /* 親要素の幅に合わせる */
  height: auto; /* 縦横比を維持 */
  display: block;
}

/* 真ん中のセクションのスタイル */
.katari-section {
  position: relative;
  width: 100%;
  max-width: 800px; /* セクションの最大幅を設定 */
  margin: 50px auto; /* 上下に大きめの余白を設定し、中央揃え */
  text-align: center; /* テキストを中央揃え */
  line-height: 1.8; /* 行間を広げる */
  padding: 20px; /* 内側余白を追加 */
  border-radius: 8px; /* 角丸を追加 */
  box-sizing: border-box; /* パディングを含めた幅計算 */
}

/* セクション内のテキストのスタイル */
.katari-section p {
  font-size: 1rem; /* テキストのサイズ */
  color: #333; /* テキストの色を濃いグレーに設定 */
  margin: 0;
}


.about-overlay {
  position: absolute;
  top: 50%; /* 縦方向の中央 */
  left: 75%; /* 横方向の右1/4（画面の75%） */
  transform: translate(-50%, -50%); /* 中心を指定した位置に揃える */
  background-color: rgba(0, 0, 0, 0.8); /* 背景を透明度80%の黒に設定 */
  padding: 20px; /* 内側の余白を均等に設定 */
  border-radius: 8px; /* 角丸 */
  width: 40%; /* 横幅を画像の半分より少し小さく設定 */
  box-sizing: border-box; /* パディングを含めて幅を計算 */
  display: flex; /* コンテンツを柔軟に配置 */
  flex-direction: column; /* 縦に並べる */
  justify-content: center; /* 中央揃え */
  align-items: center; /* 中央揃え */
  gap: 10px; /* タイトルと本文の間隔 */
}

/* テキストのスタイル */
.about-overlay h2 {
  font-size: calc(1.2rem + 0.5vw); /* タイトルのフォントサイズを小さめに */
  margin: 0; /* 余白をリセット */
  color: yellow; /* タイトルの色 */
  white-space: nowrap; /* 改行を防止 */
}

.about-overlay p {
  font-size: calc(0.9rem + 0.3vw); /* 本文のフォントサイズを小さめに */
  line-height: 1.4; /* 行間を少し詰める */
  margin: 0; /* 余白をリセット */
  overflow-wrap: break-word; /* 長い単語の折り返しを許可 */
  white-space: normal; /* テキストの折り返しを許可 */
  color: white; /* 本文の色 */
}


/* テキストのスタイル */
.about-overlay h2 {
  font-size: calc(1.2rem + 0.5vw); /* タイトルのフォントサイズを小さめに */
  margin-bottom: 10px;
  color: yellow; /* タイトルの色 */
  white-space: nowrap; /* 改行を防止 */
}

.about-overlay p {
  font-size: calc(0.9rem + 0.3vw); /* 本文のフォントサイズを小さめに */
  line-height: 1.4; /* 行間を少し詰める */
  margin: 0;
  overflow-wrap: break-word; /* 長い単語の折り返しを許可 */
  white-space: normal; /* テキストの折り返しを許可 */
  color: white; /* 本文の色 */
}


/* 左からスライドインするアニメーション */
@keyframes slide-in-left {
  from {
    transform: translateX(-100%); /* 左端から開始 */
    opacity: 0; /* 最初は透明 */
  }
  to {
    transform: translateX(0); /* 元の位置に移動 */
    opacity: 1; /* 完全に表示 */
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .about-overlay {
    width: 40%; /* 小さい画面ではオーバーレイの幅を調整 */
    left: 75%; /* 小さい画面で位置を調整 */
  }

  .about-overlay h2 {
    font-size: 15px; /* 小さい画面でフォントを縮小 */
  }

  .about-overlay p {
    font-size: 10px; /* 小さい画面でフォントを縮小 */
  }

  .about-overlay {
    padding: 15px; /* 小さい画面で内側の余白を調整 */
  }
  .katari-section p{
    font-size: 12px;
  }
}

/* セクション全体のスタイル */
.features-section {
  text-align: center;
  padding: 0px 20px 20px 20px;
  background-color: #fff0cf; /* 背景色を設定 */
}

/* セクションタイトル */
.features-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ff5757;
}

/* フィーチャーコンテナ */
.features {
  display: flex; /* 横並びにする */
  justify-content: space-between; /* 均等に配置 */
  gap: 20px; /* 各コンテナの間隔 */
  flex-wrap: wrap; /* 画面が狭い場合に折り返し */
  max-width: 1200px; /* セクション全体の最大幅 */
  margin: 0 auto; /* 中央揃え */
}

/* 各フィーチャーのスタイル */
.feature {
  flex: 1; /* 各コンテナが同じ幅 */
  max-width: 30%; /* 横幅を制限 */
  background-color: #fff; /* 白背景 */
  border: 1px solid #ddd; /* 薄い枠線 */
  border-radius: 8px; /* 角丸 */
  text-align: center; /* テキスト中央揃え */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 軽い影 */
  padding: 20px;
  box-sizing: border-box;
  transition: transform 0.3s ease; /* ホバー時のアニメーション */
}

/* ホバー時のスタイル */
.feature:hover {
  transform: translateY(-5px); /* 少し浮き上がる */
}

.feature img {
  width: 100%; /* コンテナの幅に合わせる */
  max-width: 300px; /* 横幅を統一する */
  aspect-ratio: 1 / 1; /* 正方形にする */
  object-fit: cover; /* 中央を基準に画像をトリミング */
  border-radius: 4px; /* 角丸 */
  margin-bottom: 15px; /* 下に余白 */
}

/* テキストのスタイル */
.feature p {
  font-size: 1rem;
  color: #555;
}

.strength-section {
  padding: 1rem;
  background-color: #fff0cf; /* 背景色 */
  border-radius: 8px; /* 角丸 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 軽い影 */
}

.strength-item {
  margin-bottom: 1.5rem;
}

.strength-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333; /* タイトルの文字色 */
  margin-bottom: 0.5rem;
}

.strength-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #555; /* 本文の文字色 */
}


@media (max-width: px) {
  .features {
    flex-direction: column; /* 縦並びにする */
    align-items: center; /* 子要素を中央揃え */
  }

  .feature {
    max-width: 90%; /* 横幅を広げる */
    margin-bottom: 20px; /* 各要素の間に余白を追加 */
  }
}

.sakura-body{
    background-color: #f8f8f8; /* 優しいグレー系の背景 */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* メインコンテンツの枠を作成 */
.container {
  max-width: 800px;
  background-color: white; /* 中央のコンテンツ部分 */
  padding: 20px;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 画像と説明のエリア */
.spring-section {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.spring-image {
  width: 150px;
  height: auto;
  border: 2px solid pink;
  box-shadow: 0 4px 8px rgba(255, 182, 193, 0.5);
  border-radius: 8px;
}

.spring-description {
  flex: 1;
  font-size: 14px;
  color: #333;
}

/* 2023 & 2024 の画像を横並び */
.sakura-gallery {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.sakura-gallery img {
  width: 120px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* --- 同時に行けるスポットセクション (related-spots-section) --- */

.related-spots-section {
  padding: 40px 20px;
  background-color: #f0f8ff; /* 淡い青系の背景色 */
  text-align: center;
  margin-top: 40px; /* 記事コンテンツとの間に余白 */
  border-top: 1px solid #e0e0e0; /* 上部に区切り線 */
}

.related-spots-section h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #333;
}

.related-spot-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* 小さめのカードでより多く表示 */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.related-spot-title {
  font-size: 0.8em; /* タイトルのフォントサイズ */
  font-weight: bold; /* 太字 */
  color: #333; /* 濃いグレーの文字色 */
  word-wrap: break-word; /* 長い単語を途中で改行 */
  overflow-wrap: break-word; /* より新しいプロパティ */
}

/* スポットの都市名 */
.related-spot-city {
  font-size: 0.6em; /* 都市名のフォントサイズ */
  color: #666; /* やや薄いグレーの文字色 */
  word-wrap: break-word; /* 長い単語を途中で改行 */
  overflow-wrap: break-word; /* より新しいプロパティ */
}

/* 関連スポットのカードスタイルは、既存の .spot-card を再利用します */
/* もし見た目を差別化したい場合は、ここに .related-spot-card などのクラスを追加して定義してください */

/* 例: .related-spot-card { ... } */

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .related-spots-section {
      padding: 20px 10px;
  }

  .related-spots-section h2 {
      font-size: 1.8em;
  }

  .related-spot-list {
      grid-template-columns: repeat(2, 1fr); /* モバイルでは2列 */
  }
}

@media (max-width: 480px) {
  .related-spot-list {
      grid-template-columns: 1fr; /* 非常に狭い画面では1列 */
  }
}
