body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    
    /* ▼ 背景画像（レスポンシブ対応） */
    background: url("./images/sendo01.png") no-repeat center center;
    background-size: contain;   /* 画面いっぱいにフィット */
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh; /* ← 上書き */
}

.button-area {
    position: absolute;
    bottom: 10%;          /* ← 下から1/3 */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 400px;
    z-index: 1;
    text-align: center;
    padding: 30px;
    border-radius: 15px;
}

h1 {
    font-size: clamp(24px, 5vw, 48px); /* レスポンシブ文字サイズ */
    margin-bottom: 30px;
}

.btn {
    display: block;
    width: min(250px, 80vw); /* スマホ対応 */
    margin: 15px auto;
    padding: 15px;
    font-size: clamp(16px, 3vw, 20px);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.start {
    background: #4CAF50;
}

.resume {
    background: #FF9800;
}

.btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.btn:active {
    transform: scale(0.98);
}

/* ▼ スマホ時の余白調整 */
@media (max-width: 600px) {
    .container {
        padding: 20px;
    }
}

/* ===== 色バリエーション ===== */
.green { background: #4CAF50; }
.orange { background: #FF9800; }
.blue { background: #2196F3; }

