@charset "utf-8";

/* ============================================
    Modal Overlay
============================================ */
  /* off … 非表示（Cookie抑制・閉じた後） / ready … 背面チラつき防止 */
html.lh-store-popup--off .modal-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

html:not(.lh-store-popup--off):not(.lh-store-popup--ready) body > *:not(.modal-overlay) {
    visibility: hidden;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: #F5F4F1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 99999;
    opacity: 1;
    transition: opacity 0.4s ease;
    font-family: "YakuHanMP","游明朝体", YuMincho, "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN W3", HiraMinProN-W3, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", 'Noto Serif Japanese';
}

.modal-overlay.is-closing {
    opacity: 0;
    pointer-events: none;
}

.modal-overlay.is-closing .modal {
    animation: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* ============================================
    Modal
============================================ */
.modal {
    background: #ffffff;
    width: 100%;
    max-width: 640px;
    padding: 72px 48px 64px;
    position: relative;
    box-shadow: 0 1px 0 rgba(38, 38, 38, 0.06),
                0 24px 60px rgba(38, 38, 38, 0.08);
    animation: slideUp 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----- Brand mark ----- */
.modal__brand {
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.4em;
    color: #262626;
    margin-bottom: 32px;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: 300;
}

.modal__brand::after {
    content: "";
    display: block;
    width: 24px;
    height: 1px;
    background: #262626;
    margin: 16px auto 0;
}

  /* ----- Heading ----- */
.modal__heading {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    color: #262626;
    line-height: 1.6;
    margin-bottom: 8px;
    letter-spacing: 0.08em;
}

.modal__subheading {
    text-align: center;
    font-size: 11px;
    color: #999999;
    letter-spacing: 0.3em;
    font-family: "Helvetica Neue", Arial, sans-serif;
    margin-bottom: 48px;
    text-transform: uppercase;
}

  /* ----- Buttons ----- */
.modal__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.store-btn {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 28px 32px;
    background: #ffffff;
    color: #262626;
    border: 1px solid #262626;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.store-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #5FA6A6;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
}

.store-btn > * {
    position: relative;
    z-index: 1;
    transition: color 0.35s ease;
}

.store-btn:hover,
.store-btn:focus-visible {
    border-color: #5FA6A6;
}

.store-btn:hover::before,
.store-btn:focus-visible::before {
    transform: translateY(0);
}

.store-btn:hover .store-btn__name,
.store-btn:hover .store-btn__en,
.store-btn:hover .store-btn__arrow,
.store-btn:focus-visible .store-btn__name,
.store-btn:focus-visible .store-btn__en,
.store-btn:focus-visible .store-btn__arrow {
    color: #ffffff;
}

.store-btn__name {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #262626;
    margin-bottom: 6px;
}

.store-btn__en {
    font-size: 10px;
    letter-spacing: 0.3em;
    color: #999999;
    font-family: "Helvetica Neue", Arial, sans-serif;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.store-btn__arrow {
    font-size: 14px;
    color: #262626;
    font-family: "Helvetica Neue", Arial, sans-serif;
    line-height: 1;
}

  /* ----- Close button ----- */
.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.modal__close:hover {
    opacity: 0.5;
}

.modal__close::before,
.modal__close::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 1px;
    background: #262626;
}

.modal__close::before { transform: rotate(45deg); }
.modal__close::after  { transform: rotate(-45deg); }

/* ============================================
    Responsive
============================================ */
@media (max-width: 600px) {
        .modal {
        padding: 56px 24px 48px;
    }

        .modal__heading {
        font-size: 16px;
    }

        .modal__subheading {
        font-size: 10px;
        margin-bottom: 36px;
    }

        .modal__buttons {
        flex-direction: column;
        gap: 12px;
    }

        .store-btn {
        width: 100%;
        min-width: 0;
        padding: 22px 24px;
    }

        .store-btn__name {
        font-size: 16px;
    }
}