body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    text-align: center;
    padding: 50px 20px;
    margin: 0;
    color: #333;
}

/* スマホ用ボタン */
.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background-color: #0033a0;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

.btn-download {
    background-color: #555;
}

/* アプリ内ブラウザ向けの注意書きエリア */
.browser-notice-box {
    margin-top: 25px;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    color: #555;
    text-align: left;
    line-height: 1.5;
}

.browser-notice-title {
    margin: 0 0 8px 0;
    font-weight: bold;
    color: #d9534f;
}

.browser-notice-text {
    margin: 0;
}

/* コピーボタン */
.btn-copy {
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
}

.btn-copy:active {
    background-color: #f0f0f0;
}

/* コピー完了メッセージ */
.copy-success-msg {
    color: #28a745;
    font-weight: bold;
    font-size: 13px;
    margin-left: 10px;
}

/* ポップアップ背景 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    /* JSでflexに切り替え */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* ポップアップ本体 */
.popup-content {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 580px;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    cursor: pointer;
}

.popup-header {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: bold;
}

/* iOS/Android 各行 */
.store-box {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* ストアボタンのリンクスタイル調整 */
.store-box a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.store-btn {
    width: 140px;
    height: auto;
    cursor: pointer;
    transition: opacity 0.2s;
    border: none;
    /* 枠線消去 */
}

.store-btn:hover {
    opacity: 0.8;
    /* ホバー時に少し薄くしてクリック感を出す */
}

.logo-icon {
    width: 60px;
}

.qr-code {
    width: 100px;
    height: 100px;
}

.store-btn {
    width: 140px;
    cursor: pointer;
}

/* 閉じるボタン */
.footer-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 80px;
    background: #0033a0;
    color: #fff;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
}