/* デスクトップ表示用のオーバーレイスタイル */
.desktop-overlay {
    display: none; /* デフォルトでは非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* 半透明の黒い背景 */
    z-index: 1000;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.overlay-content {
    padding: 30px;
    border-radius: 10px;
    background-color: #333;
    max-width: 90%;
}

.overlay-content h2 {
    margin-top: 0;
    font-size: 1.8em;
}

.overlay-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.overlay-content a {
    color: #ffffff; /* URLリンクを白文字に */
    text-decoration: underline;
}

.overlay-content img {
    max-width: 250px; /* QRコードの最大幅 */
    width: 100%;
    height: auto;
    border: 5px solid white;
    border-radius: 5px;
}

.overlay-credit {
    margin-top: 30px;
    font-size: 0.9em;
}

.overlay-credit a {
    text-decoration: none;
}

.overlay-credit .lifewarelab-logo {
    height: 36px; /* ロゴの高さを調整 */
    vertical-align: middle;
    margin-left: 4px;
    border: none;
    width: fit-content;
}

/* PC（横幅が1024px以上）の場合にオーバーレイを表示 */
@media screen and (min-width: 1024px) {
    .desktop-overlay {
        display: flex; /* Flexboxを使って中央揃え */
    }
}
