/* 背景と全体レイアウト */
body.driving-bg {
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #e0f7ff, #ffffff);
    color: #333;
    font-family: 'Helvetica Neue', 'Yu Gothic', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

.title-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

.container {
    max-width: 90%;
    padding: 2rem;
}

/* タイトル */
.title {
    font-size: 1.8rem;
    color: #004080;
    margin-bottom: 1rem;
}

/* リード文 */
.lead {
    font-size: 1rem;
    color: #444;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* プレゼントメッセージ */
.bonus-message {
    display: inline-block;
    color: #ff7f27;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.6;
}

/* ボタン：押したくなる仕様 */
.start-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff6600, #ff3300);
    padding: 1.2rem 2.5rem;
    font-size: 1.3rem;
    color: #fff;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: pop 1.2s ease-in-out infinite alternate;
    box-shadow: 0 0 12px rgba(255, 102, 0, 0.7), 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.start-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    transform: skewX(-30deg);
    animation: shineBand 2s infinite;
    z-index: 2;
}

.start-button:hover {
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(255, 102, 0, 1);
}

/* 光るアニメーション */
@keyframes glow {
    0% {
        box-shadow: 0 0 8px rgba(255, 102, 0, 0.6);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 102, 0, 1);
    }

    100% {
        box-shadow: 0 0 8px rgba(255, 102, 0, 0.6);
    }
}

/* 10万円：最強に目立たせる */
@keyframes shine {
    0% {
        text-shadow: 0 0 5px #fff;
    }

    50% {
        text-shadow: 0 0 20px #ffd700, 0 0 30px #ff0000;
    }

    100% {
        text-shadow: 0 0 5px #fff;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.highlight.big-highlight {
    display: inline-block;
    font-size: 2.4em;
    font-weight: bold;
    background: linear-gradient(45deg, #ff0000, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 1.5s infinite, pulse 1.5s infinite;
}

/* ポヨンポヨン拡大縮小 */
@keyframes pop {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

/* 走る光 */
@keyframes shineBand {
    0% {
        left: -75%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* ▼ ルーレット用スタイル追加 */
.wheel-container {
  position: relative;
  width: 400px;
  margin: 2rem auto;
}

.pointer {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: red;
  z-index: 3;
}

#wheel {
  width: 100%;
  border-radius: 50%;
  transition: transform 5s cubic-bezier(0.33, 1, 0.68, 1), filter 0.5s;
}

.result-text {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: #004080;
}

.wheel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 60%);
  opacity: 0;
  animation: shineMove 0.5s infinite linear;
  border-radius: 50%;
  z-index: 2;
}

@keyframes shineMove {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(720deg); }
}