/* =========================================
   横断検索 非会員向け 利用制限モーダル
   page-ec-search.php で使用
   ========================================= */
.recoya-ec-modal[hidden] { display: none !important; }
.recoya-ec-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.recoya-ec-modal__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.72);
    cursor: pointer;
}
.recoya-ec-modal__box {
    position: relative;
    background: #1f1b18;
    color: #fff;
    border-radius: 14px;
    padding: 36px 28px 28px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
    text-align: center;
    animation: recoya-ec-modal-in 0.25s ease-out;
}
@keyframes recoya-ec-modal-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.recoya-ec-modal__close {
    position: absolute;
    top: 10px; right: 14px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
}
.recoya-ec-modal__close:hover { color: #fff; }
.recoya-ec-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(216, 82, 13, 0.18);
    color: #f0a878;
}
.recoya-ec-modal__title {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    letter-spacing: 0.02em;
}
.recoya-ec-modal__lead {
    margin: 0 0 24px;
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.78);
}
.recoya-ec-modal__lead strong {
    color: #f0a878;
    font-weight: 700;
}
.recoya-ec-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.recoya-ec-modal__btn {
    display: block;
    padding: 13px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: opacity 0.15s, transform 0.1s;
    box-sizing: border-box;
}
.recoya-ec-modal__btn:hover { opacity: 0.88; }
.recoya-ec-modal__btn:active { transform: scale(0.98); }
.recoya-ec-modal__btn--primary {
    background: #d8520d;
    color: #fff !important;
}
.recoya-ec-modal__btn--secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
