/* Google Fontsを読み込む */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&family=Oswald:wght@400;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ============================================
    VARIABLES & RESET
============================================= */
:root {
    --accent: #D500F9; /* 新宿らしいネオンパープルに変更 */
    --bg-dark: #0a0a0a; 
    --bg-card: #141414;
    --white: #ffffff;
    --gray-text: #cccccc; /* グレーを明るくして可読性を向上 */
    --border-soft: rgba(255, 255, 255, 0.1);
    --header-height: 60px; /* 1段に集約し高さを削減 */
}

* { box-sizing: border-box; }
body {
    margin: 0; background-color: var(--bg-dark);
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    color: var(--white); line-height: 1.6;
}

/* 全画面セクション */
.full-height-section { height: 100vh; }
a { text-decoration: none; color: inherit; }

/* アクセシビリティ: キーボード操作時のフォーカスリング */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* 言語切り替え表示制御 */
body.lang-ja [lang="en"] { display: none; }
body.lang-ja [lang="ja"] { display: inline-block; }
body.lang-en [lang="ja"] { display: none; }
body.lang-en [lang="en"] { display: inline-block; }

/* ============================================
    HERO ANIMATION (Top Area)
============================================= */
#hero-animation {
    position: relative;
    width: 100%;
    height: 100vh;
    margin-top: 0; /* ヘッダーはstickyなので不要 */
    overflow: hidden;
    background: #000;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ヒーローエリアのテキスト */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    /* 背景の透過ボックス設定 */
    background: rgba(255, 255, 255, 0.1); /* 薄い白背景 */
    backdrop-filter: blur(8px);           /* すりガラス効果 */
    padding: 40px 60px;
    border: 1px solid rgba(255, 255, 255, 0.2); /* 薄いボーダー */
    border-radius: 4px;
    max-width: 90%;
    width: auto;
    display: inline-block; /* コンテンツサイズに合わせる */
}
.hero-main-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff; /* 通常の白文字に戻す */
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* 軽いドロップシャドウのみ */
    -webkit-text-stroke: 0;
    line-height: 1.1;
    animation: tracking-in-expand 1.2s cubic-bezier(0.215, 0.610, 0.355, 1.000) both; /* 出現アニメーション */
}
.hero-sub-title {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    color: #fff;
    margin-top: 10px;
    letter-spacing: 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    animation: fade-in-up 1s ease-out 0.5s both; /* 少し遅れて出現 */
}

@keyframes tracking-in-expand {
  0% { letter-spacing: -0.5em; opacity: 0; }
  40% { opacity: 0.6; }
  100% { opacity: 1; }
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* フェードを滑らかに */
    transform: scale(1.1); /* Ken Burnsの初期スケール */
    animation: kenburns 20s ease-in-out infinite alternate;
    animation-play-state: paused; /* 初期状態は停止 */
    z-index: 1; /* 背景画像は一番下 */
}
.hero-slide.active {
    opacity: 1;
    animation-play-state: running; /* アクティブになったら再生 */
}
.hero-overlay { /* ビネット効果 */
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
    pointer-events: none;
    z-index: 2; /* 画像より上、文字より下 */
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-direction: column; /* ボタンを縦に並べる */
    gap: 20px;
    margin-top: 30px;
}

.hero-action-link {
    color: var(--accent);
    border: 1px solid var(--accent);
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 24px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700; /* 太字に変更 */
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* アイコンとテキストの間隔 */
}
.hero-action-link:hover {
    background: var(--accent);
    color: #fff;
}

@keyframes kenburns {
    0% { transform: scale(1.1) translate(2%, -2%); }
    100% { transform: scale(1) translate(0, 0); }
}

/* ============================================
    HEADER & NAVIGATION (上部固定)
============================================= */
.nabe-header-group {
    position: sticky; top: 0; width: 100%; z-index: 2000;
    background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-soft);
}

/* ヘッダーを1段に集約 */
.nabe-header-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: var(--header-height); /* 高さを明示して sticky 位置と合わせる */
}

.nabe-logo-link {
    display: flex; align-items: center; height: 100%; gap: 12px; /* 少し間隔を広げる */
}
.nabe-logo-link img {
    max-height: 32px;
    width: auto;
}
.site-title-in-link {
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 400; /* h1 と太さを合わせる */
    letter-spacing: 1.5px;
    color: var(--white);
}

/* ロゴバーとコントロールバーの個別スタイルをリセット */
.nabe-logo-bar, .nabe-control-bar {
    height: auto;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo-container {
    margin: 0;
}

/* グラデーションテキスト用 */
.gradient-text {
    background: linear-gradient(90deg, #00F3FF, #D500F9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    /* 背景画像に負けないように、テキストの周りに影を落とす */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
    -webkit-text-stroke: 0; /* グラデーション部分は縁取り線をなしにする */
}

/* ヘッダー内のトグルボタンはFABに役割を移譲するため非表示 */
.view-toggle-btns {
    display: none;
}
.toggle-btn {
    background: none; border: none; color: var(--white);
    padding: 6px 12px; font-size: 0.7rem; font-family: 'Oswald';
    border-radius: 5px; opacity: 0.5; cursor: pointer;
}
.toggle-btn.active { background: var(--accent); color: #fff; opacity: 1; text-shadow: 0 0 5px rgba(255,255,255,0.5); }

.lang-switcher { display: flex; gap: 10px; }
.lang-btn {
    background: none; border: none; color: var(--white);
    font-family: 'Oswald'; font-size: 0.8rem; opacity: 0.4; cursor: pointer;
}
.lang-btn.active { opacity: 1; border-bottom: 1px solid var(--accent); color: var(--accent); }

/* 詳細ページ用の戻るボタン */
.back-to-archive-btn {
    display: none; /* モバイルでは非表示。PCではpc.cssで上書き表示 */
    background: var(--accent);
    border: 1px solid transparent;
    color: var(--accent);
    padding: 6px 12px;
    font-size: 0.7rem;
    font-family: 'Oswald';
    border-radius: 5px;
    letter-spacing: 1.5px;
    cursor: pointer;
    background: rgba(213, 0, 249, 0.1); /* --accent の色を薄くして背景に */
    transition: background 0.3s, color 0.3s;
}
.back-to-archive-btn:hover {
    background: var(--accent);
    color: #000;
}

/* ============================================
    INDEX / LIST VIEW (Mobile)
============================================= */
.nabe-split-view { 
    margin-top: 0;
    /* 以前のflexレイアウトが原因で、他の修正との競合が発生していました。
       flexへの依存をなくし、子要素側で高さを制御するように変更します。 */
    /* スクロール時のターゲット位置をヘッダーの高さ分だけ下げる */
    scroll-margin-top: var(--header-height);
}


/* 表示切り替えロジック */
body.show-map-mode .nabe-list-wrapper { display: none; }
body:not(.show-map-mode) .nabe-map-wrapper { display: none; }

.nabe-map-wrapper { 
    /* flex: 1; */ /* 親がflexコンテナではないため削除 */
    overflow-y: auto; 
    /* モバイル表示時に高さを失っていたため、ヘッダーを除いた画面の高さを明示的に指定します */
    height: calc(100vh - var(--header-height));
}
.nabe-list-wrapper {
    /* スクロールターゲットになった際にヘッダーに隠れないようにマージンを設定 */
    scroll-margin-top: var(--header-height);
}
.nabe-grid-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }

.nabe-card { 
    background: var(--bg-card); 
    position: relative; 
    overflow: hidden; 
    border: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
/* カードのホバー時に下から光るエフェクト */
.nabe-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(213, 0, 249, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 2;
}
.nabe-card a { display: flex; flex-direction: column; height: 100%; }
.nabe-card img { 
    width: 100%; 
    aspect-ratio: 4/3; /* 横長の比率に変更 */
    object-fit: cover; 
    filter: grayscale(30%); 
    transition: 0.6s; 
}
.nabe-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(213, 0, 249, 0.3); /* ぼんやり光らせる */
    z-index: 10;
}

/* カード内のテキストエリア装飾 */
.nabe-card-info {
    position: relative; /* absoluteを解除して写真の下へ */
    width: 100%;
    padding: 15px;
    background: var(--bg-card);
    border-top: 1px solid transparent;
    flex-grow: 1; /* 高さを揃える */
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background 0.3s, border-color 0.3s;
}
.nabe-card:hover .nabe-card-info {
    background: #1a1a1a; /* 少し明るく */
    border-top-color: var(--accent);
}
.nabe-card:hover::before {
    opacity: 1;
}

.nabe-card-title {
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    font-size: 0.8rem; /* 少し大きく */
    margin: 0;
    letter-spacing: 1px;
    color: var(--white);
}
/* 地図ポップアップ（スマホ下部固定） */
.nabe-map-popup {
    position: fixed; bottom: calc(20px + env(safe-area-inset-bottom));
    left: 15px; right: 15px; background: #fff; color: #000;
    padding: 10px; border-radius: 8px; display: flex; align-items: center; gap: 15px;
    z-index: 9999; box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}
.popup-image-area { width: 60px; height: 60px; flex-shrink: 0; }
.popup-image-area img { width: 100%; height: 100%; object-fit: cover; }

/* 地図モード時の「リストに戻る」ボタン */
/* FABに役割を統合したため不要 */
.back-to-list-btn {
    display: none !important;
}


/* ============================================
    DETAIL PAGE (Mobile)
============================================= */
.nabe-detail-container {
    margin-top: var(--header-height); 
    display: block; /* gridを解除して自然な流れに */
    height: auto;   /* 固定せずコンテンツの高さに任せる */
    min-height: 100%;
    overflow: visible; /* 親でのスクロールを許可 */
}

/* メイン画像：幅を画面内に閉じ込める */
.nabe-main-visual { 
    width: 100%; 
    max-width: 100vw; 
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.nabe-main-visual img {
    width: 100%;      /* 100%に強制 */
    max-width: 100%;  /* 突き抜け防止 */
    height: auto;     
    display: block;
}

/* メインビジュアル下のキャプション（スマホ用） */
.main-visual-caption {
    padding: 10px 20px;
    font-size: 0.8rem;
    color: #e0e0e0; /* キャプションを明るく */
    background: var(--bg-dark);
    margin: 0;
    border-bottom: 1px solid var(--border-soft);
}

/* コンテンツエリア */
.nabe-detail-scroll-content { 
    width: 100%;
    padding-bottom: 60px; /* 下部に余裕を */
    
    /* スマホでの表示順序制御 */
    display: flex;
    flex-direction: column;
}

/* 順序指定: 地図 -> 詳細 -> ギャラリー -> 周辺 */
.nabe-map-section { order: 1; } /* 地図 */
.nabe-description-area { order: 2; } /* 詳細情報 */
/* ギャラリーのタイトルと本体を同じグループに */
.nabe-detail-scroll-content > .section-title { order: 3; }
.nabe-sub-gallery { order: 3; }
/* 周辺スポット */
.nabe-nearby-section { order: 4; }


/* セクション見出しの装飾 */
.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--gray-text);
    text-transform: uppercase;
    margin: 60px 20px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-soft);
}

/* 説明文エリアの調整 */
.nabe-description-area {
    margin-bottom: 40px;
}

.nabe-description-group p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.8;
}

/* セクション見出しの装飾 */
.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--gray-text);
    text-transform: uppercase;
    margin: 60px 20px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-soft);
}

/* 説明文エリアの調整 */
.nabe-description-area {
    margin-bottom: 40px;
}

.nabe-description-group p {
    font-size: 0.9rem;
    color: #e0e0e0; /* 本文を明るくして読みやすく */
    line-height: 1.8;
}
/* 1. スポット名を一番上に (headerがcontentの中にある場合でも強制移動) */
.nabe-detail-header { 

    padding: 30px 20px 10px; 
}

.nabe-detail-title {
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.4;
    color: var(--white);
}


/* ギャラリー全体のコンテナ */
.nabe-sub-gallery {
    display: grid;
    grid-template-columns: 1fr; /* スマホは1列（横幅100%） */
    gap: 30px; /* 写真間の余白を広げる */
    padding: 20px 0; /* 左右パディングなしで画面いっぱいにするなら0 */
    width: 100%;
    box-sizing: border-box; /* paddingを含めた幅計算にする */
    overflow: hidden;       /* 念のためはみ出しをカット */
}

/* ギャラリー内の各画像 */
.nabe-sub-gallery img {
    width: 100% !important;  /* 親の半分（1fr）の幅に強制的に合わせる */
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;       /* 比率を保ちつつ枠を埋める */
}

.gallery-caption {
    margin: 8px 20px 0; /* 画像の下に余白と左右パディング */
    font-size: 0.8rem;
    color: #bbb; /* ギャラリーキャプションも少し明るく */
    line-height: 1.5;
}

/* エリア選択ボタン */
.area-selector-container {
    padding: 0 15px 15px;
    display: flex;
    gap: 10px;
    overflow-x: auto; /* 横スクロール可能に */
    -webkit-overflow-scrolling: touch; /* スムーズなスクロール */
    scrollbar-width: none; /* Firefoxのスクロールバー非表示 */
}
.area-selector-container::-webkit-scrollbar {
    display: none; /* Chrome, Safariのスクロールバー非表示 */
}

.area-selector-btn {
    flex-shrink: 0; /* ボタンが縮まないように */
    background: #222;
    border: 1px solid var(--border-soft);
    color: #ccc;
    padding: 8px 15px;
    font-size: 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}
.area-selector-btn:hover {
    background: #333;
}
.area-selector-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* --- 新UI要素のスタイル --- */

/* セクションヘッダー */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    border-bottom: 1px solid var(--border-soft);
}
.section-header.sticky {
    position: sticky;
    top: var(--header-height); /* ヘッダーの高さ分下げる */
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    z-index: 100;
}

.section-title-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    letter-spacing: 1.5px;
    margin: 0;
    color: var(--gray-text);
}

/* 表示モード切替ボタン */
.view-mode-toggle {
    display: flex;
    gap: 5px;
    background: #1a1a1a;
    padding: 4px;
    border-radius: 8px;
}
.view-mode-btn {
    background: none;
    border: none;
    color: var(--white);
    padding: 6px 12px;
    font-size: 0.7rem;
    font-family: 'Oswald';
    border-radius: 5px;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s;
}
.view-mode-btn.active {
    background: var(--accent);
    color: #fff;
    opacity: 1;
}

/* エリア別グループ */
.area-group {
    margin-bottom: 40px;
}
.area-title {
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    font-size: 1.2rem;
    padding: 10px 15px;
    margin: 0;
    background: #111;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

/* 全写真表示のアイテム */
.photo-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}
/* 全写真アイテムにスポットカード同様のホバーエフェクトを適用 */
.photo-item {
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
    display: block; /* aタグの場合もあるため */
}
.photo-item img {
    transition: transform 0.6s;
}
.photo-item:hover img {
    transform: scale(1.05);
}
.photo-item::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(213, 0, 249, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 2;
}
.photo-item:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(213, 0, 249, 0.3);
    z-index: 10;
}
.photo-item:hover::before {
    opacity: 1;
}

/* Nearby Spots の修正（はみ出し防止を強化） */
.nabe-nearby-section {
    padding: 0 20px; /* ここで左右の余白を確保 */
    width: 100%;
    box-sizing: border-box;
}

.nearby-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50%ずつ */
    gap: 10px;
    width: 100%;
    margin: 0 auto;
}

.nearby-info {
    position: relative; /* absoluteを解除 */
    padding: 10px 15px;
    background: transparent; /* 背景を透明に */
    font-family: 'Oswald', sans-serif;
    font-size: 0.55rem;
    letter-spacing: 1.5px;
    color: var(--white);
    text-shadow: none;
}

.nearby-distance {
    display: block; /* 改行して表示 */
    color: var(--accent);
    font-weight: bold;
    margin-top: 2px;
}

.nearby-card {
    position: relative; /* テキスト配置の基準 */
    background: #000; /* 背景を黒に */
    border: 1px solid var(--border-soft);
    width: 100%; 
    min-width: 0;     /* これがないとGrid内で画像サイズが優先される */
    overflow: hidden; /* はみ出しをカット */
}

.nearby-card img {
    width: 100%;      /* カードの幅に強制的に合わせる */
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s;
}

.nearby-card:hover img {
    opacity: 0.5;
}
.nearby-card:hover .nearby-info {
    color: var(--accent);
}

.nearby-card .nearby-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    object-fit: cover;
    display: block;
}

.nabe-tech-specs {
    background: var(--bg-card);
    padding: 20px;
    border: 1px solid var(--border-soft);
    margin: 0 20px 40px; 
}

/* タグフィルター */
.tag-filter-wrapper {
    position: sticky;
    top: calc(var(--header-height) + 73px); /* ヘッダー + セクションヘッダー */
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    z-index: 99;
    border-bottom: 1px solid var(--border-soft);
}
.tag-filter-toggle-btn {
    width: 100%;
    padding: 10px 15px;
    background: transparent;
    color: var(--gray-text);
    border: none;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tag-filter-container {
    display: none; /* モバイル初期状態は非表示 */
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    border-top: 1px solid var(--border-soft);
}
.tag-filter-container.open {
    display: flex;
}
.tag-filter-item {
    background: #222;
    border: 1px solid var(--border-soft);
    color: #ccc;
    padding: 5px 12px;
    font-size: 0.7rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
}
.tag-filter-item:hover {
    background: #333;
    border-color: #555;
}
.tag-filter-item.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-soft);
    font-size: 0.75rem;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item .label {
    color: var(--gray-text);
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-size: 0.6rem;
}

.spec-item .value {
    color: var(--accent);
    font-weight: 700;
}
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.tag-chip {
    font-size: 0.6rem;
    letter-spacing: 1px;
    opacity: 0.7;
    /* ホバーで少し光らせるなどの演出も相性が良いです */
    transition: opacity 0.3s;
}

.tag-chip:hover {
    opacity: 1;
    color: var(--accent);
}

/* ============================================
    FOOTER (Scroll End)
============================================= */
.nabe-site-footer {
    padding: 60px 20px calc(40px + env(safe-area-inset-bottom));
    background: #000; text-align: center; border-top: 1px solid var(--border-soft);
}
.back-to-top {
    font-family: 'Oswald'; font-size: 0.8rem; color: var(--accent);
    letter-spacing: 1.5px;
}

/* ============================================
    SITE NOTES (注意事項)
============================================= */
.site-notes-section {
    background: #000;
    padding: 40px 20px;
    border-top: 1px solid var(--border-soft);
}
.note-item {
    margin-bottom: 30px;
}
.note-item:last-child {
    margin-bottom: 0;
}
.note-item h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--white);
    margin: 0 0 8px 0;
}
.note-item p {
    font-size: 0.8rem;
    color: var(--gray-text);
    line-height: 1.7;
    margin: 0;
}
.site-notes-section .note-item:last-child {
    margin-bottom: 0;
}

.copyright-link {
    color: #00ffff; /* 例: 明るいシアン色 */
}

/* index.phpからのリンクバナー */
.nabephoto-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1; /* 背面に配置 */
    background-image: url('https://nabephoto.jp/img_org/260220_0071-2.jpg');
}

.nabephoto-banner-content-area .content {
    background: rgba(0, 0, 0, 0.5); /* 半透明の黒背景 */
    padding: 2rem;
    text-align: center;
}


/* バナー全体 */
.nabephoto-banner {
    min-height: 30vh;
    height: auto;
    margin-bottom: 20px;
    position: relative; /* index-banner-bg を配置するために必要 */
    display: flex;
    justify-content: center; /* 垂直方向中央 */
    align-items: center; /* 水平方向中央 */
    overflow: hidden;
}

.nabephoto-banner-content-area .content .banner-title {
    font-family: 'Syncopate', sans-serif;

    font-size: clamp(1.4rem, 5vw, 4rem);
    margin: 0 0 1rem 16px 0;


    line-height: 1.2;
    letter-spacing: 0.2rem;
    text-transform: uppercase;

    background: linear-gradient(to bottom, #ffffff 40%, #888888 100%);
    -webkit-background-clip: text;

    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Safariå¯¾ç­– */
    white-space: normal;
}

.nabephoto-banner-content-area .content .banner-subtitle {
        font-family: 'Syncopate', sans-serif;
    font-size: 1rem;
    display: inline-block;
    transform: scaleY(1.3);
    transform-origin: center;
    letter-spacing: 0.5rem;
    line-height: 2.5;
    margin-top: 25px;
    color: #00F3FF;;
    text-shadow: 0 0 12px rgba(0, 243, 255, 0.6);
    text-transform: uppercase;
    font-weight: 700;
}
.banner-description {
    font-size: clamp(0.8rem, 2vw, 1.1rem);
    letter-spacing: 2px;
    margin: 20px 0;
    color: var(--white);
    font-weight: 300;
    line-height: 1.6;
    max-width: 80%;

}


.google-map-embed {
    width: calc(100% - 40px);

    margin: 0 20px;

    height: 250px;
    background: #1a1a1a;
    border: 1px solid var(--border-soft);
}
/* マップ本体を親いっぱいに広げる */
#main-map {
    width: 100%;


    height: 100% !important;
    min-height: 400px; /* モバイルでの最小高さ */
}


/* --- Google InfoWindow 完全上書きスタイル --- */

/* 1. 外枠のカスタマイズ */
.gm-style-iw {
    padding: 0 !important;
    max-width: 240px !important; /* 幅を少しスリムに */
    border-radius: 4px !important;
    background: #fff !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

/* 内部のスクロールバーや余白を消す */
.gm-style-iw-d {
    overflow: hidden !important;
    max-height: none !important;
}

/* 2. 内部デザイン */
.nabe-modern-iw {
    width: 240px;
    background: #fff;
    font-family: 'Inter', sans-serif;
}

/* 画像エリア */
.iw-img-wrapper {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: #f0f0f0;
}

.iw-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* テキストエリア */
.iw-body {
    padding: 15px;
}

/* カテゴリタグ：グレーの文字で小さく */
.iw-tag {
    font-size: 9px;
    font-weight: 700;
    color: #888 !important; /* 文字色をグレーに固定 */
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}

/* スポット名：黒でハッキリ */
.iw-title {
    font-size: 15px;
    font-weight: 700;
    color: #000 !important; /* 文字色を黒に固定 */
    margin: 0 0 12px 0;
    line-height: 1.2;
}

/* 詳細リンク：少し細身の文字で */
.iw-footer {
    font-size: 10px;
    font-weight: 700;
    color: #222 !important;
    border-top: 1px solid #eee;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
}

/* 3. Google標準の「×」ボタンを少しオシャレに */
.gm-ui-hover-effect {
    top: 0 !important;
    right: 0 !important;
    width: 30px !important;
    height: 30px !important;
    background: rgba(255,255,255,0.8) !important;
}
/* 閉じるボタン（×）のデザイン調整 */
.gm-ui-hover-effect {
    top: 2px !important;
    right: 2px !important;
    background: rgba(255,255,255,0.8) !important;
    border-radius: 50%;
}

/* Google Maps内の「白文字指定されたラベル」を装飾 */
.gm-style div div div div[style*="color: rgb(160, 216, 239)"] {
    text-shadow: 
        -1.5px -1.5px 0 #000,  
         1.5px -1.5px 0 #000,
        -1.5px  1.5px 0 #000,
         1.5px  1.5px 0 #000,
         0px    2px   4px rgba(0,0,0,0.5); /* 文字の視認性を安定させる影 */
    
    font-family: 'Inter', 'Noto Sans JP', sans-serif !important;

    /* 2. 文字の間隔を少し広げて読みやすくする */
    letter-spacing: 0.5px;
    
    /* 3. フォントをサイトの Inter に合わせる */
    font-family: 'Inter', 'Noto Sans JP', sans-serif !important;
}


/* 1. 地図が含まれない「詳細ページ」などのコンテナにだけ最小高さを指定 */
.nabe-detail-container {
    /* ヘッダー(約60px)とフッター(約60px)を引いた高さを確保 */
    min-height: calc(100vh - 120px);
}

/* 2. フッター自体の設定 */
.nabe-footer {
    width: 100%;
 
    text-align: center;
    /* 地図モードと重なるのを防ぐため、基本は相対配置 */
    position: relative; 
    z-index: 10;

}

/* 3. 地図モード（分割表示）の時はフッターを隠すか、邪魔にならないようにする */
.nabe-split-view ~ .nabe-footer {
    /* もし地図モードでフッターが邪魔なら非表示にするのも手です */
    /* display: none; */
}

/* InfoWindow内のフォントも統一 */
.nabe-modern-iw {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

/* スムーズスクロール */
/* スクロールスナップは操作性を考慮して解除 */
html {
    scroll-behavior: smooth;
}

/* フローティングアクションボタン (FAB) */
.view-toggle-fab {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom));
    right: 20px;
    z-index: 1000;
    background: var(--accent);
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.2s ease-out;
}
.view-toggle-fab:hover {
    transform: scale(1.05);
}
.view-toggle-fab i {
    font-size: 22px;
}
/* アイコンの表示切り替え */
.view-toggle-fab .fa-list,
body.show-map-mode .view-toggle-fab .fa-map-marked-alt {
    display: none;
}
body.show-map-mode .view-toggle-fab .fa-list,
.view-toggle-fab .fa-map-marked-alt {
    display: block;
}

/* 詳細ページ用FAB (モバイルのみ) */
.detail-fab-container {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom));
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}
.detail-fab-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    text-decoration: none; /* aタグの場合の下線消し */
}

/* モバイル用 戻るボタン (左下) */
.back-list-fab-left {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom));
    left: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #333;
    color: #fff;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    text-decoration: none;
    z-index: 1000;
}

/* Swiper カスタマイズ */
.main-visual-swiper {
    width: 100%;
    height: 100%;
}
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 画像全体を表示 */
}

/* 矢印の色をアクセントカラーに */
.swiper-button-next, .swiper-button-prev {
    color: var(--accent);
    opacity: 0.7;
    transition: opacity 0.3s;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    opacity: 1;
}


.swiper-pagination-bullet-active {
    background: var(--accent);
}