@charset "utf-8";
/**
 * ?ref= 付きPC閲覧時のLINE QRコードモーダル
 */

#bakutore-qr-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: bqm-fadein 0.15s ease-out;
}

@keyframes bqm-fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

#bakutore-qr-modal .bqm-content {
    background: #fff;
    border-radius: 16px;
    padding: 2.6em 2em 2em;
    max-width: 460px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    animation: bqm-scalein 0.2s ease-out;
}

@keyframes bqm-scalein {
    from { transform: scale(0.92); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

/* 閉じるボタン（右上・大きめの円形） */
#bakutore-qr-modal .bqm-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 44px;
    height: 44px;
    background: #fff;
    border: 2px solid #666;
    border-radius: 50%;
    color: #333;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.15s, color 0.15s;
}
#bakutore-qr-modal .bqm-close:hover {
    background: #f4f4f4;
    color: #000;
}

/* LINEアイコン（SWELLアイコンフォント .icon-line を流用） */
#bakutore-qr-modal .bqm-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 0.6em;
}
#bakutore-qr-modal .bqm-icon .icon-line {
    font-size: 3em;
    line-height: 1;
    color: #06C755;
}

/* タイトル */
#bakutore-qr-modal .bqm-title {
    margin: 0 0 1.3em;
    font-size: 1.35em;
    font-weight: bold;
    color: #333;
    line-height: 1.5;
}

/* QRコード表示エリア */
#bakutore-qr-modal .bqm-qr {
    display: inline-block;
    margin: 0 auto 1.3em;
    padding: 12px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    min-width: 240px;
    min-height: 240px;
}
#bakutore-qr-modal .bqm-qr img,
#bakutore-qr-modal .bqm-qr canvas {
    display: block;
}

/* 案内文 */
#bakutore-qr-modal .bqm-note {
    margin: 0;
    color: #555;
    font-size: 0.92em;
    line-height: 1.7;
}
