* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', sans-serif;
    background: #f5f5f5;
    padding: 20px;
}

.container {
    max-width: 400px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-height: 600px;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.back-btn {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header h1 {
    font-size: 22px;
    font-weight: 600;
}

.content {
    padding: 20px;
}

.map-container {
    width: 100%;
    height: 400px;
    background: #e0e0e0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;

    overflow: hidden;        /* ← ここが重要！ */
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.nav-buttons {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: rgba(255,255,255,0.95);
    padding: 10px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-btn {
    padding: 8px 16px;
    border: none;
    background: #e0e0e0;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    color: #666;
    transition: all 0.3s;
    text-decoration: none;
    white-space: nowrap;
}

.nav-btn.active {
    background: #667eea;
    color: white;
}