/* リセット・ベース設定 */
body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    background-color: #f6f6f6;
    margin: 0;
    color: #333;
    -webkit-text-size-adjust: 100%;
}

.container {
    max-width: 450px;
    margin: 0 auto;
    background: #ffffff;
    min-height: 100vh;
    padding: 24px;
    box-sizing: border-box;
}

header { text-align: center; padding-bottom: 20px; }
.date-badge { background: #333; color: #fff; font-size: 0.7rem; padding: 3px 10px; border-radius: 4px; font-weight: bold; margin-bottom: 15px; display: inline-block; }
.brand-logo { font-size: 2.2rem; font-weight: bold; color: #ff0033; letter-spacing: -0.05em; margin: 0; }
h1 { font-size: 1rem; color: #666; margin-top: 5px; }

/* 報酬デザイン */
.reward-hero {
    background: #fff0f3;
    border-radius: 16px;
    padding: 20px;
    margin-top: 15px;
    border: 1px solid #ffccd5;
}

.reward-main .label { display: block; font-size: 0.8rem; font-weight: bold; color: #ff0033; }
.reward-main .amount { font-size: 3rem; font-weight: 900; color: #ff0033; line-height: 1.1; }

.reward-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    margin: 10px 0;
}

.plus-icon { font-size: 1.5rem; font-weight: bold; color: #ff0033; }
.u18-label { display: block; font-size: 0.7rem; font-weight: bold; background: #ff0033; color: #fff; padding: 2px 6px; border-radius: 3px; }
.plus-amount { font-size: 1.8rem; font-weight: 800; color: #ff0033; }
.unit { font-size: 1rem; font-weight: bold; margin-left: 2px; }

.total-text { font-size: 0.9rem; font-weight: bold; margin: 5px 0 0; }
.total-text .highlight { font-size: 1.4rem; color: #ff0033; text-decoration: underline; }

/* カード共通 */
.card { border: 1px solid #eee; border-radius: 16px; padding: 20px; margin-bottom: 20px; }
.section-title { font-size: 1rem; font-weight: bold; margin: 0 0 10px; }
.small-info { font-size: 0.75rem; color: #888; margin-bottom: 12px; }

/* 崩れ修正済みのコピーボックス */
.code-card { border: 2px solid #ff0033; box-shadow: 0 4px 12px rgba(255, 0, 51, 0.1); }

.copy-box { 
    display: flex; 
    background: #fff; 
    border: 1px solid #ddd; 
    border-radius: 10px; 
    overflow: hidden; 
    width: 100%;
    box-sizing: border-box;
}

#referralCode { 
    flex: 1; 
    min-width: 0;
    border: none; 
    padding: 14px 10px; 
    font-size: 1.3rem; 
    font-weight: bold; 
    text-align: center; 
    outline: none; 
    color: #333;
    background: transparent;
}

#copyBtn { 
    flex: 0 0 90px;
    background: #333; 
    color: #fff; 
    border: none; 
    cursor: pointer; 
    font-weight: bold; 
    font-size: 0.9rem;
    transition: 0.2s;
}

#copyBtn.success { background: #28a745; }
.copy-message { display: none; color: #28a745; font-size: 0.8rem; font-weight: bold; margin-top: 8px; text-align: center; }

/* ストアボタン */
.store-buttons { display: flex; gap: 10px; }
.btn-store { 
    flex: 1; 
    background: #1a1a1a; 
    color: #fff; 
    text-decoration: none; 
    text-align: center; 
    padding: 12px 5px; 
    border-radius: 8px; 
    font-size: 0.85rem; 
    font-weight: bold; 
}

/* ステップ */
.step-list { display: flex; flex-direction: column; gap: 10px; }
.step-item { display: flex; gap: 12px; padding: 12px; background: #f9f9f9; border-radius: 10px; border: 1px solid transparent; }
.step-item.destaque { background: #fff2f4; border: 1px solid #ffccd5; }
.step-num { width: 24px; height: 24px; background: #999; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: bold; flex-shrink: 0; }
.step-num.highlight { background: #ff0033; }
.step-content strong { font-size: 0.85rem; display: block; margin-bottom: 2px; }
.step-content p { font-size: 0.75rem; color: #666; margin: 0; line-height: 1.4; }

footer { text-align: center; font-size: 0.7rem; color: #bbb; margin-top: 30px; padding-bottom: 20px; }