/* 新規受付一時停止 — お知らせボックス */
.index-news__alert {
    padding: 1.5em 1.75em;
    background: #fff;
    border-radius: 8px;
    border-left: 5px solid #6cbb61;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: grid;
    gap: 0.85em;
}

.index-news__alert-badge {
    display: inline-block;
    width: fit-content;
    padding: 0.35em 0.9em;
    border-radius: 999px;
    background: #333;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.index-news__alert-title {
    margin: 0;
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 900;
    line-height: 1.5;
    color: #222;
}

.index-news__alert-body {
    display: grid;
    gap: 0.65em;
}

.index-news__alert-body p {
    margin: 0;
    font-size: 15px;
    line-height: 1.85;
    color: #444;
}

@media only screen and (max-width: 767px) {
    .index-news__alert {
        padding: 1.25em 1.1em;
    }

    .index-news__alert-body p {
        font-size: 14px;
    }
}

/* CTA 一時停止 — 無効化スタイル */
body.is-reception-suspended .okp-cta-is-suspended {
    cursor: not-allowed;
    pointer-events: auto;
}

body.is-reception-suspended .keyvisual__btn .okp-cta-is-suspended,
body.is-reception-suspended .l-footer__contact .okp-cta-is-suspended {
    position: relative;
    display: block;
    filter: grayscale(0.85);
    opacity: 0.72;
}

body.is-reception-suspended .keyvisual__btn .okp-cta-is-suspended:hover,
body.is-reception-suspended .l-footer__contact .okp-cta-is-suspended:hover {
    transform: none;
}

body.is-reception-suspended .keyvisual__btn .okp-cta-is-suspended::after,
body.is-reception-suspended .l-footer__contact .okp-cta-is-suspended::after {
    content: "受付一時停止中";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.45em 1em;
    border-radius: 999px;
    background: rgba(51, 51, 51, 0.92);
    color: #fff;
    font-size: clamp(11px, 2.8vw, 14px);
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    z-index: 2;
    pointer-events: none;
}

body.is-reception-suspended .btn-contact.okp-cta-is-suspended {
    background: #b0b0b0;
    box-shadow: 0 4px 0 #8f8f8f;
    opacity: 0.85;
    cursor: not-allowed;
}

body.is-reception-suspended .btn-contact.okp-cta-is-suspended:hover {
    transform: none;
}

body.is-reception-suspended .news-single__content .okp-btn.okp-cta-is-suspended {
    filter: grayscale(0.8);
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

body.is-reception-suspended .news-single__content .okp-btn.okp-cta-is-suspended:hover {
    transform: none;
    box-shadow: none;
}

body.is-reception-suspended .news-single__content .okp-btn.okp-cta-is-suspended::after {
    content: "受付一時停止中";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.4em 0.9em;
    border-radius: 999px;
    background: rgba(51, 51, 51, 0.92);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    z-index: 2;
    pointer-events: none;
}

/* フリーダイヤル — テキストリンクの装飾 */
body.is-reception-suspended a.okp-tel-suspended {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4em;
    color: #999 !important;
    text-decoration: line-through;
    text-decoration-color: #d64545;
    text-decoration-thickness: 2px;
    cursor: not-allowed;
}

body.is-reception-suspended a.okp-tel-suspended::after {
    content: "受付一時停止";
    display: inline-block;
    padding: 0.2em 0.55em;
    border-radius: 4px;
    background: #d64545;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    letter-spacing: 0.03em;
    vertical-align: middle;
}

/* モーダル */
.okp-suspend-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.okp-suspend-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.okp-suspend-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.okp-suspend-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 2.5rem);
    overflow-y: auto;
    padding: 2rem 1.75rem 1.75rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(16px) scale(0.97);
    transition: transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.okp-suspend-modal.is-open .okp-suspend-modal__dialog {
    transform: translateY(0) scale(1);
}

.okp-suspend-modal__close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #f0f0f0;
    color: #555;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.okp-suspend-modal__close:hover {
    background: #e0e0e0;
}

.okp-suspend-modal__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #fff3e6;
    color: #ff6f00;
    font-size: 26px;
    line-height: 1;
}

.okp-suspend-modal__title {
    margin: 0 0 1rem;
    font-size: clamp(17px, 3vw, 20px);
    font-weight: 900;
    line-height: 1.5;
    text-align: center;
    color: #222;
}

.okp-suspend-modal__body {
    display: grid;
    gap: 0.75em;
    margin-bottom: 1.5rem;
}

.okp-suspend-modal__body p {
    margin: 0;
    font-size: 15px;
    line-height: 1.85;
    color: #444;
}

.okp-suspend-modal__action {
    display: block;
    width: 100%;
    padding: 0.85em 1em;
    border: none;
    border-radius: 8px;
    background: #6cbb61;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 0 #59a44e;
    transition: transform 0.2s ease;
}

.okp-suspend-modal__action:hover {
    transform: scale(0.98);
}

@media only screen and (max-width: 767px) {
    .okp-suspend-modal__dialog {
        padding: 1.75rem 1.25rem 1.25rem;
    }
}
