@charset "UTF-8";

/* フォント */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Racing+Sans+One&display=swap');


/* base */
body {
    background: #252525;
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
}

/* UI--------------------- */

.swiper-button-next,
.swiper-button-prev {
    top: 0;
    margin-top: 0;
    height: 2em;
    width: 2em;
    font-size: clamp(0.875rem, -2.875rem + 20vw, 1.25rem);    

    &:after {
        content: "";
        height: 100%;
        width: 100%;
    }
}

.swiper-button-next:after {
    background: no-repeat center / contain url(../images/calendar_arrow-right.svg);
}

.swiper-button-prev:after {
    background: no-repeat center / contain url(../images/calendar_arrow-left.svg);
}

.swiper-button-prev{
    left: 0;
}
.swiper-button-next{
    right: 0;
}

/* layout--------------------- */
.l_calendar_wrap {
    display: flex;
    justify-content: center;
}


@media screen and (max-width:670px) {
    .l_calendar_wrap {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
    }

}

/* compote--------------------- */
.c_ttl {
    font-size: clamp(1rem, -4rem + 26.67vw, 1.5rem);
    font-weight: 800;
    margin-bottom: 0.63em;
    padding-left: 1.5em;
}

.c_calendar_ttl {
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: clamp(0.875rem, -2.875rem + 20vw, 1.25rem);
    padding-block: 0.5em;
}

.c_calendar {
    width: 100%;
    text-align: center;
    color: #B3B3B3;
    font-weight: bold;
    display: grid;
    grid-template-columns: repeat(7, 1fr);    
    font-size: clamp(0.875rem, -2.875rem + 20vw, 1.25rem);
    gap: 0.3em 0.5em;

}

.c_calendar div {
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;

}

.c_calendar a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;

    &:hover {
        background: #000;
        color: #fff;
    }


}

.c_holiday {
    color: #C9EFFF;
}

.c_future-day {
    opacity: 0.3;
    pointer-events: none;
}

.c_other-moon {
    opacity: 0.3;
    pointer-events: none;
    color: #616161;

    &.c_holiday {
        color: #C9EFFF;
    }
}



/* project--------------------- */

.p_calendar_reservation,
.p_calendar_new {
    max-width: 330px;
    width: 100%;
    box-sizing: content-box;
}

:root{
    --calender-padding: calc(calc(min(100vw,900px) - 661px)/2);
}

.p_calendar_reservation {
    padding-right: var(--calender-padding);
    position: relative;
    border-right: 1px solid #515151;
}

.p_calendar_new {
    padding-left: var(--calender-padding);
}

.p_calendar_reservation .c_ttl {
    background: no-repeat center left/1em url(../images/icon_calendar.svg);
}

.p_calendar_new .c_ttl {
    background: no-repeat center left/1em url(../images/icon_new.svg);
}


@media screen and (max-width:670px) {


    .p_calendar_reservation {
        padding-right: 0;
        padding-bottom: 24px;
        border-right: none;
        border-bottom: 1px solid #515151;
    }

    .p_calendar_new {
        padding-left: 0;
        padding-top: 24px;
    }



}