.route-summary {
    margin-bottom: 20px;
}

.visit-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.visit-time {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.visit-address textarea {
    width: 100%;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    font-size: 14px;
}

.visit-info {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

/* PCガラスUI */
@media (min-width: 1024px) {
    .visit-card {
        backdrop-filter: blur(12px);
        background: rgba(255,255,255,0.6);
        border-radius: 16px;
        padding: 20px;
        margin-bottom: 16px;
        border: 1px solid rgba(255,255,255,0.3);
    }
}

/* ------------------------------
   共通レイアウト
------------------------------ */

.os-admin-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    font-family: "Noto Sans JP", sans-serif;
}

/* ------------------------------
   ガラスUI（PC用）
------------------------------ */

.os-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 20px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    transition: transform 0.2s ease;
}

.os-card:hover {
    transform: translateY(-3px);
}

/* ------------------------------
   カード内
------------------------------ */

.os-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.os-step {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.os-time {
    font-size: 16px;
    color: #666;
}

.os-card-body {
    margin-top: 10px;
}

.os-address {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 500;
}

/* Googleマップボタン */
.os-map-btn {
    display: inline-block;
    background: #0078ff;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}

.os-map-btn:hover {
    background: #005fcc;
}

/* ------------------------------
   管理者テーブル
------------------------------ */

.os-admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.os-admin-table th,
.os-admin-table td {
    border-bottom: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.os-admin-btn {
    background: #222;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
}

.os-admin-btn:hover {
    background: #000;
}

/* ------------------------------
   スマホ最適化
------------------------------ */

@media (max-width: 768px) {

    .os-admin-container {
        padding: 10px;
        margin: 10px;
    }

    .os-card {
        padding: 16px;
        margin-bottom: 16px;
    }

    .os-step {
        font-size: 16px;
    }

    .os-time {
        font-size: 14px;
    }

    .os-address {
        font-size: 15px;
    }

    .os-map-btn {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 15px;
    }

    .os-admin-table th,
    .os-admin-table td {
        padding: 10px;
        font-size: 14px;
    }
}

/* ------------------------------
   管理者ダッシュボード専用 UI
------------------------------ */

.os-dashboard-section {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 40px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}

.os-dashboard-section h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: bold;
}

.os-dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.os-dashboard-table th,
.os-dashboard-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.os-dashboard-table th {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.os-dashboard-btn {
    display: inline-block;
    background: #0078ff;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}

.os-dashboard-btn:hover {
    background: #005fcc;
}

/* スマホ最適化 */
@media (max-width: 768px) {

    .os-dashboard-section {
        padding: 14px;
        margin-bottom: 30px;
    }

    .os-dashboard-table th,
    .os-dashboard-table td {
        padding: 10px;
        font-size: 14px;
    }

    .os-dashboard-btn {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 15px;
    }
}

/* ------------------------------
   左メニュー（PC固定 / スマホハンバーガー）
------------------------------ */

.os-menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 240px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    padding: 20px;
    box-shadow: 4px 0 18px rgba(0,0,0,0.12);
    z-index: 9999;
}

.os-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.os-menu-title {
    font-size: 20px;
    font-weight: bold;
}

.os-menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

.os-menu-list {
    margin-top: 30px;
    list-style: none;
    padding: 0;
}

.os-menu-list li {
    margin-bottom: 18px;
}

.os-menu-list a {
    text-decoration: none;
    font-size: 16px;
    color: #333;
}

.os-menu-list a:hover {
    color: #0078ff;
}

/* スマホ用ハンバーガー */
@media (max-width: 768px) {

    .os-menu {
        left: -260px;
        transition: left 0.3s ease;
    }

    .os-menu.open {
        left: 0;
    }

    .os-menu-toggle {
        display: inline-block;
    }
}

/* ------------------------------
   OS 全ページのレイアウト調整
   （左メニューと共存）
------------------------------ */

.os-page {
    margin-left: 260px; /* PC用 左メニュー分の余白 */
    padding: 20px;
}

/* スマホは左メニューが隠れるので余白不要 */
@media (max-width: 768px) {
    .os-page {
        margin-left: 0;
        padding: 14px;
    }
}

.os-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.os-dashboard-card {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.os-dashboard-warning {
    background: rgba(255, 120, 120, 0.35);
}

.os-dashboard-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.os-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.os-dashboard-card {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.35);
}

.os-dashboard-warning {
    background: rgba(255, 120, 120, 0.35);
}

.os-dashboard-subtitle {
    font-size: 22px;
    margin-bottom: 15px;
}

.os-dashboard-section {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
}

.os-dashboard-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.os-dashboard-list-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    display: flex;
    justify-content: space-between;
    font-size: 15px;
}

.os-dashboard-list-item:last-child {
    border-bottom: none;
}

.os-res-date {
    width: 120px;
}

.os-res-name {
    flex: 1;
    padding-left: 10px;
}

.os-res-emp {
    width: 120px;
    text-align: right;
}

/* PC専用レイアウト（768px以上） */
@media (min-width: 768px) {

    /* 左メニューの幅（あなたのOSは約240px想定） */
    .os-page {
        margin-left: 240px;   /* ← ここが重要 */
    }

    .os-admin-container {
        margin-left: 240px;   /* ← これも重要 */
    }
}