/**
 * Schedule Saikazo Styles
 * 診療日程ページ（Saikazoデザイン）専用スタイル
 */

/* ==========================================
   Page Layout
   ========================================== */
.sz-schedule-page {
    padding: 0;
}

/* ==========================================
   Hero Section
   ========================================== */
.sz-schedule-hero {
    background: linear-gradient(135deg, #114FA1 0%, #1a6bc7 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: #fff;
}

.sz-schedule-hero__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.sz-schedule-hero__subtitle {
    font-size: 16px;
    opacity: 0.9;
}

/* ==========================================
   Content Area
   ========================================== */
.sz-schedule-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

/* ==========================================
   Breadcrumb Overrides
   ========================================== */
.sz-schedule-page .sz-breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 32px;
}

.sz-schedule-page .sz-breadcrumb__list {
    max-width: none;
    padding: 0;
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    font-size: 13px;
}

.sz-schedule-page .sz-breadcrumb__item a {
    color: #114FA1;
}

.sz-schedule-page .sz-breadcrumb__item--separator {
    color: #9ca3af;
}

.sz-schedule-page .sz-breadcrumb__item--current {
    color: #666;
}

/* ==========================================
   Notices Section
   ========================================== */
.sz-schedule-notices {
    background: #fff5f5;
    border-left: 4px solid #ef4444;
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin-bottom: 32px;
}

.sz-schedule-notices__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #ef4444;
    margin-bottom: 12px;
}

.sz-schedule-notices__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sz-schedule-notices__item {
    padding: 12px 0;
    border-bottom: 1px solid #fee2e2;
}

.sz-schedule-notices__item:last-child {
    border-bottom: none;
}

.sz-schedule-notices__date {
    font-size: 13px;
    color: #666;
    margin-right: 8px;
}

.sz-schedule-notices__content {
    margin: 8px 0 0;
    font-size: 14px;
    color: #666;
}

/* ==========================================
   Filter Section
   ========================================== */
.sz-schedule-filter {
    background: #f8fafc;
    padding: 20px 24px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sz-schedule-filter__label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sz-schedule-filter__icon {
    font-size: 18px;
    vertical-align: middle;
}

.sz-schedule-filter__select {
    padding: 10px 36px 10px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E") right 12px center no-repeat;
    appearance: none;
    cursor: pointer;
    min-width: 200px;
}

/* ==========================================
   Table Wrapper
   ========================================== */
.sz-schedule-table-wrapper {
    overflow-x: auto;
    margin-bottom: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ==========================================
   Legend Section
   ========================================== */
.sz-schedule-legend {
    background: #f8fafc;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
}

.sz-schedule-legend__title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sz-schedule-legend__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.sz-schedule-legend__item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sz-schedule-legend__item dt {
    flex-shrink: 0;
}

.sz-schedule-legend__item dd {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* ==========================================
   CTA Section
   ========================================== */
.sz-schedule-cta {
    background: linear-gradient(135deg, #114FA1 0%, #1a6bc7 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: #fff;
}

.sz-schedule-cta__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.sz-schedule-cta__text {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.sz-schedule-cta__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.sz-schedule-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sz-schedule-cta__btn--primary {
    background: #fff;
    color: #114FA1;
}

.sz-schedule-cta__btn--primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.sz-schedule-cta__btn--secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.sz-schedule-cta__btn--secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================
   Exceptions Section (休診・休日情報)
   ========================================== */
.sz-schedule-exceptions {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin-bottom: 32px;
}

.sz-schedule-exceptions__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #b45309;
    margin-bottom: 12px;
}

.sz-schedule-exceptions__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sz-schedule-exceptions__item {
    padding: 12px 0;
    border-bottom: 1px solid #fde68a;
    display: flex;
    gap: 16px;
}

.sz-schedule-exceptions__item:last-child {
    border-bottom: none;
}

.sz-schedule-exceptions__date {
    font-size: 13px;
    color: #92400e;
    font-weight: 600;
    white-space: nowrap;
}

.sz-schedule-exceptions__dept {
    color: #92400e;
}

.sz-schedule-exceptions__desc {
    margin: 4px 0 0;
    font-size: 14px;
    color: #666;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 768px) {
    .sz-schedule-hero {
        padding: 60px 20px 40px;
    }

    .sz-schedule-hero__title {
        font-size: 28px;
    }

    .sz-schedule-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .sz-schedule-filter__select {
        min-width: 100%;
    }

    .sz-schedule-cta {
        padding: 32px 20px;
    }

    .sz-schedule-cta__buttons {
        flex-direction: column;
    }
}
