/* フロント表示のスタイル */

/* カレンダー形式 */
.bhc-frontend-calendar {
    margin: 30px 0;
}

.bhc-month-calendar {
    background: #fff;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bhc-month-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
}

.bhc-frontend-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.bhc-frontend-table th {
    background: #f5f5f5;
    padding: 12px 8px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #ddd;
    font-size: 16px;
}

.bhc-frontend-table th.bhc-sunday {
    color: #d63638;
}

.bhc-frontend-table th.bhc-saturday {
    color: #2271b1;
}

.bhc-frontend-table td {
    border: 1px solid #ddd;
    padding: 12px 8px;
    text-align: center;
    vertical-align: middle;
    height: 70px;
    min-width: 60px;
    background: #fff;
}

.bhc-frontend-table td.bhc-empty {
    background: #fafafa;
}

.bhc-frontend-table td.bhc-sunday {
    color: #d63638;
}

.bhc-frontend-table td.bhc-saturday {
    color: #2271b1;
}

.bhc-frontend-table .bhc-day-number {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.bhc-frontend-table .bhc-day-label {
    font-size: 14px;
    font-weight: bold;
}

.bhc-frontend-table td.bhc-holiday {
    color: #fff;
}

.bhc-frontend-table td.bhc-weekly-holiday {
    color: #333;
}

/* 凡例 */
.bhc-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.bhc-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.bhc-legend-color {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1px solid #999;
    border-radius: 3px;
}

/* お知らせボックス */
.bhc-notice {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
}

.bhc-notice p {
    margin: 10px 0;
    font-weight: bold;
    color: #333;
}

/* リスト形式 */
.bhc-frontend-list {
    background: #fff;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bhc-list-title {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
}

.bhc-holiday-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bhc-holiday-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    margin-bottom: 15px;
    background: #f9f9f9;
    border-left: 4px solid #333;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.bhc-holiday-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.bhc-holiday-icon {
    font-size: 24px;
    min-width: 30px;
    text-align: center;
}

.bhc-holiday-date {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    min-width: 200px;
}

.bhc-holiday-type {
    display: inline-block;
    padding: 4px 12px;
    background: #333;
    color: #fff;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
}

.bhc-holiday-memo {
    color: #666;
    font-size: 14px;
    margin-left: auto;
}

.bhc-no-holidays {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

/* 定休日表示 */
.bhc-weekly-holidays {
    margin-top: 30px;
    padding: 20px;
    background: #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.bhc-weekly-holidays p {
    margin: 0;
    font-size: 16px;
}

.bhc-weekly-label {
    font-weight: bold;
    color: #333;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .bhc-frontend-table th,
    .bhc-frontend-table td {
        padding: 8px 4px;
        font-size: 14px;
    }
    
    .bhc-frontend-table .bhc-day-number {
        font-size: 16px;
    }
    
    .bhc-frontend-table .bhc-day-label {
        font-size: 12px;
    }
    
    .bhc-month-calendar {
        padding: 15px;
    }
    
    .bhc-legend {
        flex-direction: column;
        gap: 10px;
    }
    
    .bhc-holiday-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .bhc-holiday-date {
        min-width: auto;
    }
}

@media screen and (max-width: 480px) {
    .bhc-month-title {
        font-size: 18px;
    }
    
    .bhc-list-title {
        font-size: 18px;
    }
    
    .bhc-frontend-table th,
    .bhc-frontend-table td {
        padding: 6px 2px;
        font-size: 12px;
    }
    
    .bhc-frontend-table .bhc-day-number {
        font-size: 14px;
    }
    
    .bhc-frontend-table .bhc-day-label {
        font-size: 10px;
    }
}
