@charset "utf-8";

/* 2026.01.09-2026.01.26 SR予約キャンペーン */
.srcp_20261205 {
    padding: 20px 4%;
    width: 90%;
    max-width: 1000px;
    margin: 100px auto 0;
    border: solid 1px #DADDD8;

    & > div {
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: center;
        gap: 2em;
    }

    img {
        aspect-ratio: 1/1;
        object-fit: cover;
        display: inline-block;
        max-width: 200px;
        width: 30%;
    }
    .text_and_btn {
        width: auto;
    }

    p {
        text-align: justify;
        margin: 0 auto;
        /* 13px-15px */
        font-size: clamp(0.813rem, 0.767rem + 0.23vw, 0.938rem);
        line-height: 1.7;
    }

    .text-title {
        /* 14px-16px */
        font-size: clamp(0.875rem, 0.83rem + 0.23vw, 1rem);
        margin-bottom: 10px;
        display: block;
    }

    .reserve-text {
        margin: 10px 0 0 0;
        padding: 10px 0;
        display: none;
        position: relative;

        &::before {
            content: "";
            position: absolute;
            width: 100%;
            height: 1px;
            background: #DADDD8;
            display: block;
            top: 50%;
            transform: translate(0, -50%);
            z-index: -2;
        }

        &::after {
            content: "";
            position: absolute;
            background: #ffffff;
            width: 160px;
            height: 100%;
            display: block;
            top: 0;
            left: 50%;
            transform: translate(-50%, 0);
            z-index: -1;
        }
    }


    ul {
        display: flex;
        justify-content: left;
        gap: 1%;
        width: 100%;
        margin: 20px auto 0;

        li {
            width: auto;
        }
    }
}

.base_btn {
    &.--srcp {
        padding: .58em;
        white-space: nowrap;
    }
}
@media screen and (max-width: 768px) {
    .base_btn {
        &.--srcp {
            width: 100%;
        }
    }
}
.wrapper .base_btn span {
    font-size: 13px !important;
    margin-left: 0;
}

@media screen and (max-width: 768px) {
    .srcp_20261205 {
        margin: 50px auto 0;

        & > div {
            flex-direction: column;
            gap: 10px;
        }
        img {
            width: 60%;
        }
        p {
            margin: 10px auto 0;
            max-width: 408px;
            width: 100%;
        }
        ul {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;

            li {
                width: 100%;
                max-width: 200px;
                display: flex;

                &:nth-child(2n) {
                    margin: 0 auto 0 0;
                }
                &:nth-child(1),
                &:nth-child(3) {
                    margin: 0 0 0 auto;
                }
                &:last-child {
                    grid-column: 1/-1;
                    justify-content: center;
                    margin: 0 auto !important;
                    width: 49%;
                }
            }
        }
    }
}
