/* ========================================
   レイアウト関連
   ======================================== */

/* メインコンテナ */
.container {
    max-width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    height: 80px;
    padding: 0.5rem 1rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1500;
}

.header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ========================================
   地図コンテナ
   ======================================== */
.map-container {
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
    z-index: 1;
    margin-top: 80px;
}

/* ========================================
   フッター
   ======================================== */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: white;
    height: 50px;
    padding: 0.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1000;
}

/* ========================================
   レスポンシブ対応（レイアウト）
   ======================================== */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.4rem;
    }

    .subtitle {
        font-size: 0.85rem;
    }

    .map-container {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem 0.5rem;
    }

    .header h1 {
        font-size: 1.2rem;
    }

    .map-container {
        min-height: 350px;
    }
}