body.cp-month-page {
    background: #e7f0f7;
}

.cp-month {
    background: #e7f0f7;
    font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    color: #3d4a5c;
}

.cp-month-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 36px 20px 96px;
    background: #49b4f4 url("/common/images/campaign/cp-list-mv.webp") center center / cover no-repeat;
    color: #4a93e2;
    text-align: center;
    overflow: hidden;
}

.cp-month-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cp-month-hero__en,
.cp-month-hero__brand,
.cp-month-hero__title {
    margin: 0;
    color: #4a93e2;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.85);
}

.cp-month-hero__en {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.42em;
    line-height: 1.4;
}

.cp-month-hero__brand {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
}

.cp-month-hero__title {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0.04em;
}

.cp-month-panel {
    position: relative;
    z-index: 2;
    width: min(1080px, calc(100% - 40px));
    margin: -64px auto 72px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(28, 74, 122, 0.12);
    overflow: hidden;
}

.cp-month-panel__title {
    margin: 0;
    padding: 18px 20px;
    background: #4a97d4;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.cp-month-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 36px 28px;
    padding: 32px 28px 40px;
}

.cp-month-card {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.cp-month-card:nth-child(3n + 1):nth-last-child(2) {
    grid-column: 2 / span 2;
}

.cp-month-card:nth-child(3n + 1):nth-last-child(1) {
    grid-column: 3 / span 2;
}

.cp-month-card__visual {
    display: block;
    border-radius: 6px;
    overflow: hidden;
}

.cp-month-card__visual img {
    display: block;
    width: 100%;
    height: auto;
}

.cp-month-card__title {
    margin: 0;
    color: #3d8ccc;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.cp-month-card__text {
    margin: 0;
    color: #4e5b6b;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
}

.cp-month-card__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.cp-month-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 2px solid #3f92d6;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}

.cp-month-btn--line {
    background: #fff;
    color: #3f92d6;
}

.cp-month-btn--line:hover,
.cp-month-btn--line:focus {
    background: #f3f9ff;
    color: #2f7fbf;
    text-decoration: none;
}

.cp-month-btn--fill {
    background: #3f92d6;
    color: #fff;
}

.cp-month-btn--fill:hover,
.cp-month-btn--fill:focus {
    background: #2f7fbf;
    border-color: #2f7fbf;
    color: #fff;
    text-decoration: none;
}

.cp-month-empty {
    margin: 0;
    padding: 48px 24px;
    text-align: center;
    font-size: 16px;
}

@media screen and (max-width: 900px) {
    .cp-month-hero {
        min-height: 210px;
        padding: 24px 16px 72px;
    }

    .cp-month-hero__en {
        font-size: 14px;
        letter-spacing: 0.32em;
    }

    .cp-month-hero__brand {
        font-size: 22px;
    }

    .cp-month-hero__title {
        font-size: 30px;
    }

    .cp-month-panel {
        width: min(1080px, calc(100% - 24px));
        margin-top: -40px;
        margin-bottom: 48px;
    }

    .cp-month-panel__title {
        font-size: 16px;
        padding: 14px 12px;
    }

    .cp-month-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 24px 16px 28px;
    }

    .cp-month-card,
    .cp-month-card:nth-child(3n + 1):nth-last-child(2),
    .cp-month-card:nth-child(3n + 1):nth-last-child(1) {
        grid-column: auto;
    }
}
