        /* 上部固定広告エリア 
        .fixed-header-ad {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: var(--onsen-paper, #fff8dc);
            border-bottom: 2px solid var(--onsen-accent, #cd853f);
            padding: 5px;
            z-index: 1001;
            text-align: center;
            box-shadow: 0 2px 10px rgba(139, 69, 19, 0.2);
            display: block;
        }

        .ad-banner {
            width: 300px;
            height: 50px;
            background: linear-gradient(45deg, var(--onsen-accent, #cd853f), var(--onsen-warm, #daa520));
            margin: 0 auto;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--onsen-paper, #fff8dc);
            font-weight: bold;
            font-size: 0.9rem;
        }



/* ===== 上部固定広告エリア（サイズ固定版） ===== */

.fixed-header-ad {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--onsen-paper, #fff8dc);
    border-bottom: 2px solid var(--onsen-accent, #cd853f);
    padding: 5px;
    z-index: 1001;
    text-align: center;
    box-shadow: 0 2px 10px rgba(139, 69, 19, 0.2);
    display: block;
    
    /* スマホ: 320×50 + パディング = 60px */
    height: 60px;
}

/* PC: 970×90（または728×90）+ パディング = 100px */
@media (min-width: 769px) {
    .fixed-header-ad {
        height: 100px;
    }
}




/* PC版のみ40px下げる調整 */

/* 1. PC版の広告バナー高さを50→90に変更 */
@media (min-width: 769px) {
    .ad-banner {
        height: 90px; /* 50px → 90px（+40px） */
        width: 970px; /* または728px */
    }
}

/* 2. PC版のヘッダーを40px下げる */
@media (min-width: 769px) {
    .header {
        top: 140px; /* 100px → 140px（+40px） */
    }
}

/* 3. PC版のbody余白を40px増やす */
@media (min-width: 769px) {
    body {
        padding-top: 6px; /* 180px → 220px（+40px） */
    }
}








/* ===== 広告バナー本体 ===== */

.ad-banner {
    background: linear-gradient(45deg, var(--onsen-accent, #cd853f), var(--onsen-warm, #daa520));
    margin: 0 auto;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--onsen-paper, #fff8dc);
    font-weight: bold;
    
    /* スマホ: 320×50 */
    width: 320px;
    height: 50px;
    font-size: 0.9rem;
}

/* PC: 970×90（優先）または 728×90 */
@media (min-width: 769px) {
    .ad-banner {
        width: 970px;  /* 970×90を優先 */
        height: 90px;
        font-size: 1.1rem;
    }
    
    /* 728×90フォールバック（970×90広告がない場合） */
    .ad-banner.fallback-728 {
        width: 728px;
        height: 90px;
    }
}

/* 小さなPC画面では728×90に縮小 */
@media (min-width: 769px) and (max-width: 1024px) {
    .ad-banner {
        width: 728px;  /* 小画面PCは728×90 */
        height: 90px;
    }
}

/* ===== レイアウト調整 ===== */

/* ヘッダー位置調整 */
.header {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1000;
    
    /* スマホ: 広告60pxの下 */
    top: 60px;
}

@media (min-width: 769px) {
    .header {
        /* PC: 広告100pxの下 */
        top: 100px;
    }
}

/* メインコンテンツ余白調整 */
body {
    /* スマホ: 広告60px + ヘッダー70px */
    padding-top: 130px;
}

@media (min-width: 769px) {
    body {
        /* PC: 広告100px + ヘッダー80px */
        padding-top: 180px;
    }
}

/* ===== AdSense実装用 ===== */

/* スマホ用広告コンテナ */
.mobile-ad-unit {
    display: block;
    margin: 0 auto;
}

.pc-ad-unit {
    display: none;
}

/* PC用広告コンテナ */
@media (min-width: 769px) {
    .mobile-ad-unit {
        display: none;
    }
    
    .pc-ad-unit {
        display: block;
        margin: 0 auto;
    }
}

/* 970×90広告用 */
.pc-ad-970 {
    width: 970px;
    height: 90px;
    display: block;
    margin: 0 auto;
}

/* 728×90フォールバック用 */
.pc-ad-728 {
    width: 728px;
    height: 90px;
    display: block;
    margin: 0 auto;
}

        /* bodyに上部余白追加 */
        body {
            padding-top: 70px;
        }

        /* フローティング戻るボタン */
        .floating-back-btn {
            position: fixed;
            bottom: 225px;
            right: 18px;
            background: var(--onsen-primary,rgb(179, 120, 77));
            color: var(--onsen-paper, #fff8dc);
            /*border: 3px solid var(--onsen-warm, #daa520);*/
            padding: 15px;
            border-radius: 50%;
            font-size: 1.4rem;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 1002;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(220, 137, 77, 0.3);
            text-decoration: none;
        }

        .floating-back-btn:hover {
            background: var(--onsen-wood, #a0522d);
            transform: scale(1.1);
            box-shadow: 0 6px 25px rgba(139, 69, 19, 0.5);
            color: var(--onsen-paper, #fff8dc);
            text-decoration: none;
        }

        /* ヘッダーから戻るボタンを削除 */
        .back-button {
            display: none;
        }

        /* ヘッダーコンテンツの調整 */
        .user-status {
            justify-content: flex-end;
        }

/* 【変更】ヘッダーを広告の下に配置 */
.header {
    position: fixed;
    top: 60px;          /* 広告の下に配置 */
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--onsen-primary, #8b4513), var(--onsen-accent, #cd853f));
    z-index: 1000;      /* 広告より下のz-index */
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(139, 69, 19, 0.2);
}

/* 【変更】ヘッダーコンテンツをシンプル化 */
.header-content {
    display: flex;
    justify-content: center;  /* 中央寄せに変更 */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 【変更】バッジ表示を非表示 */
.user-status {
    display: none;      /* バッジ部分を完全非表示 */
}

/* 【変更】bodyの上部余白を拡大 */
body {
    padding-top: 130px;   /* 70px → 130px（広告+ヘッダー分） */
}

/* PCの表示を変更部分 */

/* PC用のヘッダー調整 */
@media (min-width: 768px) {
    /* ヘッダーの高さを自動調整 */
    .header {
        padding: 12px 0; /* パディングを増加 */
        min-height: 80px; /* 最小高さを設定 */
    }
    
    /* ホテルタイトルのスタイル調整 */
    .hotel-title {
        font-size: 1.6rem; /* フォントサイズを少し小さく */
        line-height: 1.4; /* 行間を調整 */
        max-width: 90%; /* 幅を制限して改行位置を調整 */
        word-break: break-word;
        hyphens: auto; /* 自動ハイフネーション */
    }
    
    /* bodyの上部余白をPC用に調整 重要*/
    body {
        padding-top: 200px; /* 広告70px + ヘッダー110px */
    }
    
    /* ヘッダーコンテンツの調整 */
    .header-content {
        min-height: 70px; /* コンテンツエリアの最小高さ */
        align-items: center;
        margin-top: 40px; /*高さ調整*/
    }
}

/* さらに大きなPC画面用 */
@media (min-width: 1200px) {
    .hotel-title {
        font-size: 1.8rem; /* 大画面では少し大きく */
        max-width: 80%; /* より広い幅を許可 */
    }
}

/* スマホでは現在のスタイルを維持 */
@media (max-width: 767px) {
    .header {
        padding: 15px 0; /* スマホでは現在のまま */
    }
    
    .hotel-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    body {
        padding-top: 150px; /* スマホ用の調整 重要ヘッダー下のコンテンツを下げる*/
    }
}

        /* PC用のフォントサイズ調整 */
  @media (min-width: 768px) {
       .hotel-title {
        font-size: 1.5rem; /* 小さくして1行に収める */
        font-weight: bold;
        white-space: nowrap; /* 改行禁止 */
        overflow: hidden;
        text-overflow: ellipsis; /* 長すぎる場合は... */
    }
  }

/*ダブっているかも慎重に*/

         /* 上部固定広告エリア 
        .fixed-header-ad {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: var(--onsen-paper, #fff8dc);
            border-bottom: 2px solid var(--onsen-accent, #cd853f);
            padding: 5px;
            z-index: 1001;
            text-align: center;
            box-shadow: 0 2px 10px rgba(139, 69, 19, 0.2);
            display: block;
        }*/


.ad-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 20px 0;
  padding: 15px;
  background: rgba(0,0,0,0.02);
  border-radius: 8px;
}

.ad-container.mobile-main {
  margin-top: 25px;
  background: transparent;
  display: flex; /* スマホで表示 */
}

@media (min-width: 769px) {
  .ad-container.mobile-main {
    display: none; /* PCでは非表示 */
  }
}

@media (max-width: 768px) {
  .ad-container {
    margin: 15px 0;
    padding: 10px;
  }
}


/**Youtubeのタイトルを小さくする */

.youtube-title-small {
    font-size: 14px;
    font-weight:bold;
    color: #5a3109;
    margin-top:30px;
    margin-bottom: 0.5rem;
    padding: 10px 10px 10px 20px;
    border:1px solid rgb(214, 138, 30);
    border-radius:10px;
    background:#fff;
}

/*Ad container これはユーチューブの広告？*/

.ad-container.mobile-youtube {
  margin: 30px 0 25px 0;  /* Youtube後は少し余白多め */
  background: rgba(0,0,0,0.02);
  border-radius: 8px;
  display: none; /* 基本は非表示 */
}

@media (max-width: 768px) {
  .ad-container.mobile-youtube {
    display: flex; /* スマホでのみ表示 */
    margin: 25px 0 20px 0;
  }
}