/* 全体設定 */
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

header {
    background-color: #e60012; /* エポスレッド風 */
    color: white;
    text-align: center;
    padding: 20px 10px;
}

main {
    max-width: 600px;
    margin: 20px auto;
    padding: 0 15px;
}

/* 紹介コードボックス */
.promo-box {
    background: white;
    border: 2px solid #e60012;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sub-text {
    font-size: 0.9rem;
    color: #666;
}

.copy-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    background: #f1f1f1;
    padding: 10px;
    border-radius: 8px;
    border: 1px dashed #ccc;
}

.code-text {
    font-weight: bold;
    font-size: 1.4rem;
    letter-spacing: 2px;
    color: #e60012;
}

#copyBtn {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

#copyBtn.active {
    background-color: #28a745;
}

.copy-success {
    display: none;
    color: #28a745;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: -10px;
}

.official-link {
    display: inline-block;
    margin-top: 20px;
    background-color: #e60012;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 0 #b3000e;
}

.official-link:active {
    transform: translateY(2px);
    box-shadow: none;
}

/* 各セクション */
section {
    margin-top: 30px;
    background: white;
    padding: 20px;
    border-radius: 8px;
}

h3 {
    border-bottom: 2px solid #e60012;
    padding-bottom: 5px;
    color: #e60012;
}

.caution {
    color: #d9534f;
    font-weight: bold;
    font-size: 0.9rem;
}

footer {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    padding: 40px 0;
}