.shc-calendar-wrapper {
    max-width: 320px;
    margin: 20px auto;
    /* 中央寄せ */
    padding: 20px;
    font-family: sans-serif;
    --shc-holiday-color: #ff0000;
}

/* ライトテーマ */
.shc-theme-light {
    color: #333;
}

.shc-theme-light .shc-calendar-header button {
    color: #333;
}

.shc-theme-light .shc-calendar-table th {
    color: #888;
}

/* ダークテーマ */
.shc-theme-dark {
    color: #fff;
}

.shc-theme-dark .shc-calendar-header button {
    color: #fff;
}

.shc-theme-dark .shc-calendar-table th {
    color: #aaa;
}

.shc-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.shc-calendar-header button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5em;
    padding: 0 10px;
    line-height: 1;
    transition: opacity 0.2s;
}

.shc-calendar-header button:hover {
    opacity: 0.7;
}

.shc-current-month {
    font-weight: bold;
    font-size: 1.1em;
}

.shc-calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.shc-calendar-table th,
.shc-calendar-table td {
    text-align: center;
    padding: 10px 0;
    width: 14.28%;
}

.shc-calendar-table th {
    font-size: 0.9em;
    font-weight: normal;
}

.shc-holiday span {
    display: inline-block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    background-color: var(--shc-holiday-color);
    color: #fff !important;
    /* 定休日は常に白文字 */
    border-radius: 50%;
}

.shc-spacer {
    display: inline-block;
    width: 34px;
}

/* 凡例 */
.shc-calendar-legend {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.legend-item {
    display: flex;
    align-items: center;
}

.legend-circle {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--shc-holiday-color);
    margin-right: 8px;
}