.calendar-wrap {
    margin-inline: auto;
    max-width: 550px;
}

.calendar {
    background: #fff;
    border-radius: 8px;
    width: 100%;
    padding: 20px 12px;
    box-sizing: border-box;
    font-family: sans-serif;
}

.calendarTitle {
    font-family: var(--font-ja-serif);
}

/* 矢印ボタン共通 ==================== */
.calendar__arrow {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.calendar__arrow::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center;
}

/* 次月（>） */
.calendar__arrow--next::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

/* 前月（<） */
.calendar__arrow--prev::before {
    transform: translate(-50%, -50%) rotate(-135deg);
}

/* ヘッダー ==================== */
.calendar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.calendar__header h2 {
    margin: 0;
    font-family: var(--font-en-serif);
    font-size: 18px;
}

/* 曜日 */
.calendar__weekday {
    font-weight: bold;
}

/* 日付エリア ==================== */
.calendar__days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 4px;
}

.calendar__days li {
    font-family: var(--font-number);
    width: 40px;
    aspect-ratio: 1/1;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 0;
}

/* 定休日 ==================== */
.calendar__days li.is-holiday {
    color: #fff;
}

.calendar__days li.is-holiday::before {
    content: "";
    width: 27px;
    aspect-ratio: 1/1;
    background: var(--color-forest-green);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* 定休日の説明 ==================== */
.calendar__note {
    font-weight: bold;
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.2em;
}

.calendar__note::before {
    content: "";
    display: inline-block;
    background: var(--color-forest-green);
    width: 2rem;
    aspect-ratio: 1/1;
    border-radius: 50%;
}