.entry-title, .post h1.entry-title {
    font-size: 25px;
    line-height: 1.6em;
    margin-top: 0px;
    margin-bottom: 2px;
}
.update_time {
    margin: -0px 6px -10px 0px;
    text-align: right;
    font-size: 14px;
    color: #666;
    font-weight: 600;
}
@media screen and (max-width: 599px) {
    .entry-title, .post h1.entry-title {
        font-size: 22px;
        line-height: 1.4em;
        margin-top: 0px;
        margin-bottom: 2px;
    }
    .blogbox {
        margin-bottom: 4px;
        padding: 0px;
    }
}

.schedule-app {
        --primary: #2ca6e0;
        --primary-dark: #1b7db0;
        --secondary: #f03e6d;
        --bg-color: #f4f7f9;
        --surface: #ffffff;
        --text-main: #333333;
        --text-muted: #666666;
        --border-color: #e2e8f0;
        --radius-md: 12px;
        --radius-lg: 20px;
        --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
        --shadow-md: 0 8px 16px rgba(0,0,0,0.08);
        --tdl-color: #d81b60;
        --tds-color: #0288d1;
        font-family: 'Inter', 'Noto Sans JP', sans-serif;
        color: var(--text-main);
        margin: 20px 0;
        line-height: 1.6;
    }
    .schedule-app .no-wrap { white-space: nowrap; }
    .schedule-app * { box-sizing: border-box; }

    /* Date Selector */
    .schedule-app .date-selector {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: white;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        padding: 8px 16px;
        margin-bottom: 30px;
        box-shadow: var(--shadow-sm);
    }
    .schedule-app .date-nav {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
        padding: 8px;
        transition: color 0.2s;
    }
    .schedule-app .date-nav:hover { color: var(--primary-dark); }
    .schedule-app .date-nav.disabled {
        color: #cbd5e1;
        pointer-events: none;
        cursor: default;
    }
    .schedule-app .date-current {
        font-weight: 700;
        font-size: 1.1rem;
        color: var(--text-main);
    }
    .schedule-app .today-badge {
        background: var(--secondary);
        color: white;
        font-size: 0.7rem;
        padding: 2px 6px;
        border-radius: 4px;
        vertical-align: middle;
        margin-right: 6px;
        font-weight: 600;
    }
    /* Timeline Schedule */
    .schedule-app .schedule-container {
        position: relative;
        margin-bottom: 40px;
    }
    .schedule-app .schedule-container::before {
        content: '';
        position: absolute;
        top: 20px;
        bottom: 20px;
        left: 60px;
        width: 2px;
        background: #e2e8f0;
    }
    .schedule-app #schedule-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .schedule-app .schedule-item {
        display: flex;
        margin-bottom: 10px;
        position: relative;
        z-index: 1;
    }
    .schedule-app .schedule-time {
        width: 55px;
        font-weight: 700;
        font-size: 0.95rem;
        color: var(--text-muted);
        padding-top: 10px;
        text-align: right;
        padding-right: 14px;
        line-height: 1.3;
    }
    .schedule-app .schedule-node {
        width: 12px;
        height: 12px;
        background: var(--surface);
        border: 3px solid #94a3b8;
        border-radius: 50%;
        margin-top: 14px;
        position: absolute;
        left: 55px;
        box-shadow: 0 0 0 4px var(--surface);
    }
    .schedule-app .type-hours .schedule-node { border-color: #3b82f6; }
    .schedule-app .type-show .schedule-node { border-color: #f03e6d; }
    .schedule-app .type-entry .schedule-node { border-color: #f59e0b; background: #fef3c7; }
    .schedule-app .type-greeting .schedule-node { border-color: #10b981; }
    .schedule-app .schedule-content {
        flex: 1;
        margin-left: 20px;
        background: white;
        border: 1px solid var(--border-color);
        border-left-width: 4px;
        padding: 8px 12px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        display: flex;
        align-items: center;
        min-height: 40px;
    }
    .schedule-app .type-hours .schedule-content { border-left-color: #3b82f6; }
    .schedule-app .type-show .schedule-content { border-left-color: #ffb0c5; }
    .schedule-app .type-entry .schedule-content { border-left-color: #f59e0b; background: #fffbeb; }
    .schedule-app .type-greeting .schedule-content { border-left-color: #10b981; }
    /* 終了済みアイテム */
    .schedule-app .schedule-item.is-past .schedule-content {
        background: #f4f4f5;
        border-left-color: #d1d5db !important;
        color: #9ca3af;
    }
    .schedule-app .schedule-item.is-past .schedule-time {
        color: #c0c5cc;
    }
    .schedule-app .schedule-item.is-past .schedule-node {
        border-color: #d1d5db;
        background: #f4f4f5;
    }
    /* 中止アイテム（未来） */
    .schedule-app .schedule-item.is-cancelled-future .schedule-content {
        background: #f2ebeb;
        border-left-color: #e57373 !important;
    }
    .schedule-app .tag-cancelled {
        background: #e53935;
        color: #ffffff;
    }
    .schedule-app .schedule-title {
        font-weight: 700;
        font-size: 0.95rem;
        display: block;
        margin: 0;
        width: 100%;
        line-height: 1.5;
    }
    .schedule-app .tag {
        font-size: 0.65rem;
        padding: 2px 6px;
        border-radius: 4px;
        font-weight: 600;
        display: inline-block;
        vertical-align: middle;
        margin-left: 4px;
    }
    .schedule-app .tag-info { background: #f1f5f9; color: #475569; }
    .schedule-app .tag-entry { background: #fef3c7; color: #d97706; }
    /* Actions */
    .schedule-app .action-row {
        display: flex;
        gap: 12px;
        margin-bottom: 30px;
    }
    .schedule-app .btn {
        flex: 1;
        padding: 14px;
        border: none;
        border-radius: var(--radius-md);
        font-weight: 700;
        font-size: 0.95rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.2s;
    }
    .schedule-app .btn-primary {
        background: var(--primary);
        color: white;
        box-shadow: 0 4px 12px rgba(44,166,224,0.25);
    }
    .schedule-app .btn-primary:active {
        transform: scale(0.98);
    }
    /* Entry Selection Area */
    .schedule-app .entry-section {
        background: white;
        border-radius: var(--radius-lg);
        padding: 20px;
        box-shadow: var(--shadow-md);
        border: 1px solid var(--border-color);
        margin-bottom: 40px;
    }
    .schedule-app .entry-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: var(--primary);
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        margin: -20px -20px 16px -20px;
        padding: 6px 12px;
    }
    .schedule-app .entry-header h3 {
        margin: 0px 0px 7px;
        font-size: 1.1rem;
        color: #ffffff;
        display: flex;
        align-items: center;
        border-bottom: none;
        padding: 2px 8px;
        gap: 8px;
    }
    .schedule-app .entry-header h3 i { color: #ffffff; }
    .schedule-app .btn-reset {
        margin-top: -4px;
        background: rgba(255,255,255,0.92);
        border: none;
        padding: 4px 8px;
        border-radius: 20px;
        color: var(--primary-dark);
        font-size: 0.8rem;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 4px;
        transition: background 0.2s;
    }
    .schedule-app .btn-reset:hover { background: #ffffff; }
    .schedule-app .entry-group {
        margin-bottom: 20px;
    }
    .schedule-app .entry-group:last-child { margin-bottom: 0; }
    .schedule-app .entry-group-name {
        font-weight: 700;
        font-size: 0.95rem;
        color: var(--text-main);
        margin-bottom: 8px;
    }
    .schedule-app .entry-children {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding-left: 0;
    }
    .schedule-app .entry-child-label {
        font-size: 0.85rem;
        font-weight: 600;
        background: var(--surface);
        padding: 6px 10px;
        border-radius: 8px;
        border: 1px solid var(--border-color);
        transition: all 0.2s;
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        margin: 0;
        user-select: none;
    }
    .schedule-app .entry-child-label.active-circle,
    .schedule-app .entry-child-label.active-triangle {
        background: #fff1f2;
        border-color: #fda4af;
        color: var(--tdl-color);
    }
    .schedule-app .entry-child-label.active-dpa {
        background: #eff6ff;
        border-color: #93c5fd;
        color: #1d4ed8;
    }
    /* Toast Notification */
    .schedule-toast {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%) translateY(100px);
        background: rgba(15, 23, 42, 0.9);
        color: white;
        padding: 14px 24px;
        border-radius: 30px;
        font-size: 0.95rem;
        font-weight: 600;
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 10000;
        display: flex;
        align-items: center;
        gap: 8px;
        pointer-events: none;
    }
    .schedule-toast.show {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    .schedule-app .calender-badge {
        color: #0245fe;
        font-size: 0.7rem;
        padding: 2px 6px;
        border-radius: 4px;
        vertical-align: middle;
        margin-right: 6px;
        font-weight: 600;
        cursor: pointer;
        background: none;
        border: none;
    }
    /* カレンダーオーバーレイ */
    .cal-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.45);
        z-index: 9000;
        align-items: center;
        justify-content: center;
    }
    .cal-overlay.open { display: flex; }
    .cal-box {
        background: #fff;
        border-radius: 12px;
        padding: 16px;
        min-width: 300px;
        max-width: 340px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    }
    .cal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
    }
    .cal-header span {
        font-weight: 700;
        font-size: 1rem;
    }
    .cal-nav {
        background: none;
        border: none;
        font-size: 1.2rem;
        cursor: pointer;
        color: #0245fe;
        padding: 4px 8px;
        border-radius: 6px;
    }
    .cal-nav:hover { background: #f0f4ff; }
    .cal-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 2px;
    }
    .cal-dow {
        text-align: center;
        font-size: 0.7rem;
        color: #94a3b8;
        padding: 4px 0;
        font-weight: 600;
    }
    .cal-day {
        text-align: center;
        padding: 6px 2px;
        border-radius: 6px;
        font-size: 0.85rem;
        cursor: pointer;
        color: #1e293b;
    }
    .cal-day:hover { background: #e0e7ff; }
    .cal-day.today { background: #0245fe; color: #fff; font-weight: 700; }
    .cal-day.selected { background: #0245fe; color: #fff; font-weight: 700; }
    .cal-day.out-of-range { color: #d1d5db; cursor: default; pointer-events: none; }
    .cal-day.empty { pointer-events: none; }
    .cal-close {
        display: block;
        margin: 12px auto 0;
        background: none;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        padding: 6px 20px;
        cursor: pointer;
        color: #475569;
        font-size: 0.85rem;
    }
    .cal-close:hover { background: #f8fafc; }
