/* ============================================
   TDR混雑予想 - Disney トンマナ デザイン
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* ── CSS 変数 ──────────────────────────────── */
:root {
    --disney-blue:       #0075C2;
    --disney-blue-dark:  #005A9A;
    --disney-blue-light: #E3F2FD;
    --tdl-red:           #E4003A;
    --tdl-red-light:     #FFF0F5;
    --tds-teal:          #009B8F;
    --tds-teal-light:    #E6F7F6;
    --accent-yellow:     #FFD100;
    --text-primary:      #1A2C4E;
    --text-secondary:    #5A6A7E;
    --bg-body:           #F0F7FF;
    --bg-card:           #FFFFFF;
    --border:            #D0E8F8;
    --shadow-sm:         0 2px 8px rgba(0,117,194,0.08);
    --shadow-md:         0 4px 20px rgba(0,117,194,0.13);
    --shadow-lg:         0 8px 32px rgba(0,117,194,0.18);
    --radius-sm:         8px;
    --radius-md:         14px;
    --radius-lg:         20px;
}

/* ── リセット ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden; /* ページ横スクロール防止 */
}

body {
    font-family: 'Noto Sans JP', 'Nunito', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.65;
    color: var(--text-primary);
    background: var(--bg-body);
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden; /* ページ横スクロール防止 */
    max-width: 100%;
}

a { color: var(--disney-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--disney-blue-dark); }
img { max-width: 100%; height: auto; }
/* flexコンテナ(body)内のflex itemが横に広がらないよう制限 */
main { flex: 1; min-width: 0; }

/* ── コンテナ ───────────────────────────────── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    /* flex item(main)として使う場合のはみ出し防止 */
    width: 100%;
    box-sizing: border-box;
}

/* ============================================
   ヘッダー（TDRサイト風：白背景＋ブルーライン）
   ============================================ */
.site-header {
    background: #fff;
    border-bottom: 3px solid var(--disney-blue);
    box-shadow: 0 2px 12px rgba(0,117,194,0.12);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* ブルーのトップライン（TDRサイトの上部ライン） */
.site-header::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg,
        var(--disney-blue) 0%,
        var(--tdl-red) 40%,
        var(--accent-yellow) 70%,
        var(--tds-teal) 100%
    );
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 8px 0;
}

.header-brand { flex-shrink: 0; }

.site-header h1 {
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.2px;
}
.site-header h1 a {
    color: var(--disney-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
/* ミッキーシルエット風の装飾アイコン */
.site-header h1 a::before {
    content: '🏰';
    font-size: 1.3rem;
}
.site-header .subtitle {
    font-size: 0.68rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 1px;
    padding-left: 2px;
}

/* ── ナビゲーション ──────────────────────────── */
.site-nav {
    display: flex;
    gap: 2px;
    align-items: center;
}
.site-nav a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
}
.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--disney-blue);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.2s;
}
.site-nav a:hover { background: var(--disney-blue-light); color: var(--disney-blue); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a.active { background: var(--disney-blue-light); color: var(--disney-blue); font-weight: 900; }
.site-nav a.active::after { transform: scaleX(1); }

/* ── ハンバーガー ─────────────────────────────── */
.nav-toggle {
    display: none;
    background: none;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 7px;
    flex-direction: column;
    gap: 4px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--disney-blue); border-radius: 2px; transition: all 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ============================================
   パーク切り替え（TDL=レッド / TDS=ティール）
   ============================================ */
.park-nav {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.park-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 20px;
    min-width: 220px;
    border-radius: var(--radius-lg);
    font-weight: 800;
    font-size: 1rem;
    background: #fff;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    border: 2px solid var(--border);
    text-align: center;
}
.park-nav a:hover {
    border-color: var(--disney-blue);
    color: var(--disney-blue);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
/* TDL アクティブ（赤） */
.park-nav .active[href*="TDL"], .park-nav .active:first-child {
    background: var(--tdl-red);
    color: #fff;
    border-color: var(--tdl-red);
    box-shadow: 0 4px 16px rgba(228,0,58,0.35);
}
/* TDS アクティブ（ティール） */
.park-nav .active[href*="TDS"], .park-nav .active:last-child {
    background: var(--tds-teal);
    color: #fff;
    border-color: var(--tds-teal);
    box-shadow: 0 4px 16px rgba(0,155,143,0.35);
}
/* フォールバック（どちらでもない場合） */
.park-nav .active {
    background: var(--disney-blue);
    color: #fff;
    border-color: var(--disney-blue);
    box-shadow: 0 4px 16px rgba(0,117,194,0.35);
}

/* ============================================
   カード
   ============================================ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-top: 3px solid var(--disney-blue);
    /* はみ出し防止 */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* カード外へのはみ出しを防ぐ */
}
.card-title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--disney-blue-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--disney-blue-light);
}

/* ============================================
   混雑ハイライトカード（ホーム画面用）
   ============================================ */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.highlight-card {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 18px 14px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid var(--border);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.highlight-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--disney-blue), var(--tds-teal));
}
.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--disney-blue);
}
.highlight-card .date-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--disney-blue);
    letter-spacing: 0.3px;
    margin-bottom: 3px;
}
.highlight-card .date-value {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
}

/* ============================================
   ランクバッジ
   ============================================ */
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    animation: rankPop 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.rank-badge-lg {
    width: 80px;
    height: 80px;
    font-size: 2.2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    animation: rankPop 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.rank-badge-sm {
    width: 28px;
    height: 28px;
    font-size: 0.78rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
@keyframes rankPop {
    from { opacity: 0; transform: scale(0.5); }
    to   { opacity: 1; transform: scale(1); }
}
.rank-label { font-size: 0.95rem; font-weight: 800; }
.score-value { font-size: 0.75rem; color: var(--text-secondary); margin-top: 4px; }

/* ============================================
   カレンダーテーブル
   ============================================ */
.calendar-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 3px;
    table-layout: fixed;
}
.calendar-table th {
    background: var(--disney-blue);
    color: #fff;
    padding: 10px 4px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: var(--radius-sm);
}
.calendar-table th.sun { background: var(--tdl-red); }
.calendar-table th.sat { background: #2563eb; }

.calendar-table td {
    background: #fff;
    border-radius: 10px;
    padding: 6px 4px;
    text-align: center;
    vertical-align: top;
    height: 92px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.calendar-table td:hover:not(.empty) {
    transform: scale(1.04);
    box-shadow: var(--shadow-md);
    border-color: var(--disney-blue);
    z-index: 1;
    position: relative;
}
.calendar-table td.empty {
    background: transparent;
    box-shadow: none;
    border: none;
    cursor: default;
}
.calendar-table td.today {
    background: var(--disney-blue-light);
    border: 2px solid var(--disney-blue);
}
.calendar-table .cal-day { font-weight: 800; margin-bottom: 3px; color: var(--text-primary); }
.calendar-table .cal-day.sun { color: var(--tdl-red); }
.calendar-table .cal-day.sat { color: #2563eb; }
.calendar-table .cal-day.holiday { color: var(--tdl-red); }

/* 祝日・県民の日ラベル */
.cal-holiday-name {
    font-size: 0.55rem;
    line-height: 1.2;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0 2px;
    margin-bottom: 1px;
}
.cal-holiday-name.national    { color: var(--tdl-red); }
.cal-holiday-name.prefectural { color: #7c3aed; }
.cal-rank { margin-top: 2px; }
.cal-weather-wrap { margin: 2px 0; line-height: 1.3; text-align: center; }
.cal-weather { display: flex; align-items: center; justify-content: center; gap: 2px; font-size: 0.7rem; }
.cal-temp-max { font-size: 0.7rem; font-weight: 700; color: #dc2626; }
.cal-temp-min { font-size: 0.62rem; color: #6b7280; }
.cal-pop { font-size: 0.62rem; color: #6b7280; margin-top: 1px; }
.cal-pop-mid { color: #2563eb; font-weight: 600; }
.cal-pop-high { color: #1d4ed8; font-weight: 700; }
@media (max-width: 767px) {
    .cal-temp-max, .cal-temp-min, .cal-pop { display: none; }
}

/* ============================================
   天気サマリー（ホーム・day・カレンダー共通）
   ============================================ */
.weather-summary { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.weather-main-icon { font-size: 2.2rem; line-height: 1; flex-shrink: 0; }
.weather-detail-label { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); min-width: 60px; }
.weather-temps { display: flex; align-items: baseline; gap: 6px; }
.temp-high { font-size: 1.5rem; font-weight: 800; color: #ef4444; line-height: 1; }
.temp-low  { font-size: 1.1rem; font-weight: 600; color: #60a5fa; line-height: 1; }
.weather-sub-items { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.85rem; color: #6b7280; align-items: center; }
.weather-sub-items span { display: flex; align-items: center; gap: 4px; }
.weather-risks { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.weather-risk-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; }
.risk-rain { background: #eff6ff; color: #1d4ed8; }
.risk-wind { background: #f1f5f9; color: #475569; }
.risk-heat { background: #fef2f2; color: #dc2626; }
.risk-cold { background: #eff6ff; color: #2563eb; }

/* ハイライトカード天気 */
.highlight-weather { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 6px 0 2px; font-size: 0.82rem; color: #6b7280; flex-wrap: wrap; }
.hw-temp { font-size: 0.88rem; font-weight: 700; color: #ef4444; }
.hw-temp small { color: #60a5fa; font-size: 0.78rem; margin-left: 2px; font-weight: 600; }
.hw-precip { font-size: 0.78rem; color: #60a5fa; display: flex; align-items: center; gap: 2px; }

/* ============================================
   理由リスト
   ============================================ */
.reasons-list { list-style: none; padding: 0; }
.reasons-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--disney-blue-light);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.reasons-list li:last-child { border-bottom: none; }
.reason-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 800;
    flex-shrink: 0;
    color: #fff;
}
.reason-up   { background: var(--tdl-red); }
.reason-up::after { content: '▲'; }
.reason-down { background: var(--tds-teal); }
.reason-down::after { content: '▼'; }

/* ============================================
   待ち時間テーブル
   ============================================ */
/* カードpadding(20px)の外まで広げてスクロール領域を確保 */
.wait-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* カードの padding(20px) 分だけネガティブマージンでカード端まで広げる */
    margin-left: -20px;
    margin-right: -20px;
}
.wait-table {
    width: 100%;
    min-width: 380px; /* モバイルでスクロール発動させる最小幅 */
    border-collapse: collapse;
    font-size: 0.85rem;
}
.wait-table th { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--disney-blue-light); white-space: nowrap; font-size: 0.78rem; }
.wait-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--disney-blue-light); }
/* アトラクション名：折り返し可 */
.wait-table td:first-child  { white-space: normal; word-break: break-all; min-width: 120px; max-width: 180px; font-size: 0.82rem; line-height: 1.4; }
/* 待ち時間・状態：折り返し禁止 */
.wait-table td:nth-child(2),
.wait-table td:nth-child(3) { white-space: nowrap; width: 1%; }
.wait-table th {
    background: var(--disney-blue-light);
    font-weight: 800;
    color: var(--disney-blue-dark);
    font-size: 0.78rem;
    letter-spacing: 0.3px;
}
.wait-table .wait-time { font-weight: 800; font-size: 1rem; }
.wait-time-high { color: var(--tdl-red); }
.wait-time-mid  { color: #f97316; }
.wait-time-low  { color: var(--tds-teal); }

/* ============================================
   ステータスバッジ
   ============================================ */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
}
.status-operating { background: #d1fae5; color: #065f46; }
.status-down      { background: #fee2e2; color: #991b1b; }
.status-closed    { background: #f3f4f6; color: #6b7280; }

/* ============================================
   ボタン
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 26px;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--disney-blue); color: #fff; box-shadow: 0 4px 14px rgba(0,117,194,0.3); }
.btn-primary:hover { background: var(--disney-blue-dark); color: #fff; }

/* ============================================
   アラート
   ============================================ */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid;
}
.alert-success { background: #d1fae5; color: #065f46; border-color: #34d399; }
.alert-error   { background: #fee2e2; color: #991b1b; border-color: #f87171; }
.alert-info    { background: var(--disney-blue-light); color: var(--disney-blue-dark); border-color: var(--disney-blue); }

/* ============================================
   日別詳細
   ============================================ */
.day-header { text-align: center; margin-bottom: 24px; }
.day-date { font-size: 1.4rem; font-weight: 900; color: var(--text-primary); margin-bottom: 4px; }
.day-sub  { font-size: 0.9rem; color: var(--disney-blue); font-weight: 600; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.feature-item {
    background: var(--disney-blue-light);
    border-radius: var(--radius-sm);
    padding: 12px 10px;
    text-align: center;
    border: 1px solid var(--border);
}
.feature-item .feature-name  { font-size: 0.72rem; color: var(--disney-blue); margin-bottom: 4px; font-weight: 700; }
.feature-item .feature-score { font-size: 1.1rem; font-weight: 900; }
.feature-positive { color: var(--tdl-red); }
.feature-negative { color: var(--tds-teal); }
.feature-neutral  { color: #9ca3af; }

.day-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; gap: 12px; }
.day-nav a {
    padding: 9px 20px;
    background: #fff;
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border);
    color: var(--text-primary);
    transition: all 0.2s;
}
.day-nav a:hover { border-color: var(--disney-blue); color: var(--disney-blue); }

/* ============================================
   フッター
   ============================================ */
.site-footer {
    margin-top: 48px;
    padding: 28px 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: var(--disney-blue-dark);
    color: rgba(255,255,255,0.75);
}
.footer-nav { display: flex; justify-content: center; gap: 20px; margin-bottom: 12px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 700; }
.footer-nav a:hover { color: #fff; }

/* ============================================
   月ナビ
   ============================================ */
.month-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 16px; }
.month-nav a {
    padding: 8px 18px;
    background: #fff;
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border);
    color: var(--text-primary);
    transition: all 0.2s;
}
.month-nav a:hover { border-color: var(--disney-blue); color: var(--disney-blue); }
.month-nav .current-month { font-size: 1.2rem; font-weight: 900; color: var(--disney-blue-dark); }

/* ============================================
   信頼度バー
   ============================================ */
.confidence-bar { width: 100%; height: 6px; background: var(--border); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.confidence-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--disney-blue), var(--tds-teal));
    transition: width 0.6s ease-out;
}

/* ============================================
   セクション見出し
   ============================================ */
.section-title {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--disney-blue-dark);
    margin: 24px 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--disney-blue-light), transparent);
    border-radius: 1px;
}

/* ============================================
   ホテルカード
   ============================================ */
.hotel-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #f9fafb;
    border-radius: 8px;
    /* flex-wrap は768px以下で適用 */
}
.hotel-card-img { width: 72px; height: 54px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.hotel-card-body { flex: 1; min-width: 0; overflow: hidden; } /* overflow:hidden でテキストはみ出し防止 */
.hotel-card-name { font-size: 0.88rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 2px; max-width: 100%; }
.hotel-card-special { font-size: 0.72rem; color: #6b7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 4px; max-width: 100%; }
.hotel-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hotel-card-btn { flex-shrink: 0; background: #e84040; color: #fff; font-size: 0.75rem; font-weight: 700; padding: 6px 12px; border-radius: 6px; text-decoration: none; white-space: nowrap; }

/* ============================================
   コラム記事
   ============================================ */
.column-list { display: flex; flex-direction: column; gap: 16px; }
.column-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--disney-blue-light);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}
.column-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.column-card-body { flex: 1; min-width: 0; }
.column-card-title { font-size: 1rem; font-weight: 800; color: var(--disney-blue); margin-bottom: 6px; line-height: 1.4; }
.column-card-excerpt { font-size: 0.85rem; color: #6b7280; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.column-card-meta { font-size: 0.75rem; color: #9ca3af; margin-top: 8px; }
.column-tag { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 0.72rem; font-weight: 700; margin-right: 4px; }
.column-tag-tdl { background: #fef2f2; color: var(--tdl-red); }
.column-tag-tds { background: #ecfdf5; color: var(--tds-teal); }
.column-tag-all { background: var(--disney-blue-light); color: var(--disney-blue); }
.column-body { line-height: 1.9; font-size: 0.95rem; color: var(--text-primary); }
.column-body h2 { font-size: 1.15rem; font-weight: 800; color: var(--disney-blue-dark); margin: 28px 0 12px; padding-left: 10px; border-left: 4px solid var(--disney-blue); }
.column-body h3 { font-size: 1rem; font-weight: 700; margin: 20px 0 8px; }
.column-body p { margin-bottom: 14px; }
.column-body ul, .column-body ol { padding-left: 20px; margin-bottom: 14px; }
.column-body li { margin-bottom: 6px; }

/* お役立ち情報 (Tips) */
.tips-body { line-height: 1.8; font-size: 0.95rem; color: var(--text-primary); }
.tips-body h2 { font-size: 1.1rem; font-weight: 800; color: var(--disney-blue-dark); margin: 28px 0 12px; padding-left: 10px; border-left: 4px solid var(--disney-blue); }
.tips-body h3 { font-size: 1rem; font-weight: 700; margin: 20px 0 8px; }
.tips-body p { margin-bottom: 12px; }
.tips-body ul, .tips-body ol { padding-left: 20px; margin-bottom: 12px; }
.tips-body li { margin-bottom: 6px; }
.tips-body table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin-bottom: 20px; }
.tips-body table th { background: var(--disney-blue); color: #fff; padding: 8px 12px; text-align: center; font-weight: 700; font-size: 0.82rem; }
.tips-body table td { padding: 8px 12px; border: 1px solid #e5e7eb; text-align: center; vertical-align: middle; }
.tips-body table td { vertical-align: middle; }
.tips-body table tr:nth-child(even) td { background: #f8faff; }
.tips-body table tr:hover td { background: transparent; }
.tips-body .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -20px 20px; }
.tips-body .table-wrap table { margin-bottom: 0; min-width: 520px; }
.tips-body .note { font-size: 0.8rem; color: #6b7280; padding: 8px 12px; background: #f9fafb; border-left: 3px solid #d1d5db; border-radius: 0 4px 4px 0; margin-bottom: 12px; }
.tips-body .badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 0.75rem; font-weight: 700; }
.tips-body .badge-paid { background: #fef2f2; color: #dc2626; }
.tips-body .badge-free { background: #ecfdf5; color: #059669; }
.tips-body .badge-info { background: var(--disney-blue-light); color: var(--disney-blue); }
.tips-body .check { color: #059669; font-weight: 700; }
.tips-body .cross { color: #dc2626; font-weight: 700; }

/* ============================================
   レスポンシブ
   ============================================ */
@media (max-width: 768px) {
    .container { padding: 0 12px; }
    .nav-toggle { display: flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--disney-blue-dark);
        flex-direction: column;
        padding: 8px 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }
    .site-nav.open { display: flex; }
    .site-nav a { color: rgba(255,255,255,0.9); padding: 13px 20px; border-radius: 0; font-size: 0.95rem; }
    .site-nav a:hover, .site-nav a.active { background: rgba(255,255,255,0.15); color: #fff; }
    .site-nav a::after { display: none; }
    .site-header { position: relative; }

    .highlight-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .highlight-card { padding: 14px 10px; }
    .rank-badge    { width: 46px; height: 46px; font-size: 1.3rem; }
    .rank-badge-lg { width: 64px; height: 64px; font-size: 1.8rem; }

    .calendar-table td { height: 76px; padding: 4px 2px; font-size: 0.72rem; }
    .calendar-table th { font-size: 0.72rem; padding: 8px 2px; }
    .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }

    /* ホテルカード：768px以下でも折り返し */
    .hotel-card { flex-wrap: wrap; align-items: flex-start; }
    .hotel-card-body { min-width: 0; }
    .hotel-card-btn { width: 100%; text-align: center; margin-top: 8px; order: 3; padding: 8px 12px; }
}

@media (max-width: 480px) {
    .site-header h1 { font-size: 1rem; }
    .site-header .subtitle { font-size: 0.6rem; }

    .highlight-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .highlight-card { padding: 12px 8px; }
    .highlight-card .date-label { font-size: 0.7rem; }
    .highlight-card .date-value { font-size: 0.82rem; margin-bottom: 8px; }
    .rank-badge    { width: 40px; height: 40px; font-size: 1.1rem; }
    .rank-label    { font-size: 0.82rem; }
    .score-value   { font-size: 0.7rem; }

    .calendar-table td { height: 68px; font-size: 0.65rem; }
    .calendar-table th { font-size: 0.65rem; }
    .rank-badge-sm { width: 22px; height: 22px; font-size: 0.65rem; }

    .day-date { font-size: 1.15rem; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .park-nav { gap: 8px; }
    .park-nav a { padding: 12px 16px; font-size: 0.88rem; min-width: 0; flex: 1; }
    .card { padding: 14px; }
    /* カードpadding変更(20px→14px)に合わせてwait-table-wrapも調整 */
    .wait-table-wrap { margin-left: -14px; margin-right: -14px; }
    .month-nav { gap: 10px; }
    .btn { padding: 10px 20px; font-size: 0.85rem; width: 100%; }
    .hotel-card { flex-wrap: wrap; }
    .hotel-card-img { width: 56px; height: 42px; }
    .hotel-card-btn { width: 100%; text-align: center; margin-top: 6px; }
    .column-card { flex-direction: column; }
}

/* iPhoneノッチ対応 */
@supports (padding-top: env(safe-area-inset-top)) {
    .site-header { padding-top: env(safe-area-inset-top); }
    .site-footer  { padding-bottom: env(safe-area-inset-bottom); }
}
