/* ネット予約 受付停止時の代替導線 */
/* /public_html/assets/reserve-gate.css */

.rg {
    display: block;
    width: 100%;
}

.rg__note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0 0 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(201, 168, 108, 0.4);
    border-radius: 0.8rem;
    background: rgba(201, 168, 108, 0.08);
    color: #c9a86c;
    font-size: 1.3rem;
    line-height: 1.6;
}

.rg__note i {
    flex: 0 0 auto;
    margin-top: 0.2rem;
    font-size: 1.5rem;
}

.rg__actions {
    display: grid;
    gap: 0.8rem;
}

.rg--block .rg__actions {
    grid-template-columns: 1fr;
}

.rg--inline .rg__actions {
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.rg--inline .rg__note {
    margin-bottom: 0.8rem;
    padding: 0.7rem 1rem;
    font-size: 1.2rem;
}

.rg__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    min-height: 4.8rem;
    padding: 0.8rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 0.8rem;
    background: #1c1c1c;
    color: #fff;
    font-family: inherit;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.rg__btn:hover {
    opacity: 0.85;
}

.rg__btn i {
    flex: 0 0 auto;
    font-size: 1.8rem;
}

.rg__btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rg__btn-label {
    display: block;
}

.rg__btn-sub {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.8;
}

.rg__btn--tel {
    background: #2f7d4f;
    border-color: #2f7d4f;
}

.rg__btn--sms {
    background: #3a6ea5;
    border-color: #3a6ea5;
}

.rg__empty {
    margin: 0;
    font-size: 1.2rem;
    color: #9a9a9a;
}

/* ① 押せないパターン共通クラス */
.rg-off {
    pointer-events: none;
    cursor: default;
    opacity: 0.55;
    filter: grayscale(1);
}

@media (max-width: 599px) {
    .rg--inline .rg__actions {
        grid-template-columns: 1fr;
    }

    .rg__btn {
        min-height: 4.4rem;
        font-size: 1.3rem;
    }
}

/* ── 電話ダイアログ ── */
.rgd {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
}

.rgd.is-open {
    display: block;
}

.rgd__ov {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.rgd__box {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 4rem);
    max-width: 36rem;
    padding: 2.4rem 2rem 2rem;
    border-radius: 1.2rem;
    background: #fff;
    color: #1c1c1c;
    text-align: center;
    transform: translate(-50%, -50%);
    box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.35);
}

.rgd__close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 3.2rem;
    height: 3.2rem;
    padding: 0;
    border: 0;
    background: none;
    color: #9a9a9a;
    font-size: 1.6rem;
    cursor: pointer;
}

.rgd__eyebrow {
    margin: 0 0 0.4rem;
    color: #6b6b6b;
    font-size: 1.2rem;
}

.rgd__num {
    margin: 0 0 1.6rem;
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.rgd__msg {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin: 0 0 1.8rem;
    padding: 1.2rem 1.4rem;
    border-radius: 0.8rem;
    background: rgba(201, 168, 108, 0.12);
    text-align: left;
}

.rgd__msg i {
    flex: 0 0 auto;
    margin-top: 0.2rem;
    color: #a8843c;
    font-size: 1.6rem;
}

.rgd__msg p {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.7;
}

.rgd__msg b {
    color: #a8843c;
}

.rgd__call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    min-height: 5.2rem;
    border-radius: 0.8rem;
    background: #2f7d4f;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
}

.rgd__call i {
    font-size: 1.8rem;
}

.rgd__cancel {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    border: 0;
    background: none;
    color: #6b6b6b;
    font-family: inherit;
    font-size: 1.3rem;
    cursor: pointer;
}