@charset "utf-8";

/* すべての要素に適用 */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== 全体 ===== */
body {
    margin: 0;
    background: #0b1d2a;
    overflow: hidden;
}


.aspect-16-9 {
    position: relative;
    width: 100%;
    max-width: 100vw;
    aspect-ratio: 16 / 9;
    margin: 150px auto 0;
    background: #0b1d2a;
    overflow: hidden;
}


.safe-area {
    position: absolute;
    inset: 10% 8%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 0px;
}

.title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



/* ===== 雪 ===== */
.bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(white 1px, transparent 1px),
        radial-gradient(white 2px, transparent 2px),
        radial-gradient(white 1.5px, transparent 1.5px);
    background-size:
        40px 40px,
        80px 80px,
        120px 120px;
    animation: snow 12s linear infinite;
    pointer-events: none;
}

@keyframes snow {
    0% {
        background-position:
            0 0,
            0 0,
            0 0;
    }

    100% {
        background-position:
            0 600px,
            0 900px,
            0 1200px;
    }
}

/* ===== テキスト ===== */
.text {
    font-size: 1.15rem;
    margin-top: 0rem;
    color: #fff;
    text-align: center;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {

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

    50% {
        text-shadow: 0 0 20px #ff3, 0 0 40px #f00;
    }
}



.star {
    font-size: 1.5rem;
    color: gold;
    animation: twinkle 2s infinite;
}


@keyframes twinkle {
    50% {
        opacity: 0.5;
    }
}

/* ===== ボタン ===== */
.btn {
    padding: .35rem .65rem;
    background: #c62828;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    margin: .75rem 0 .35rem;
    font-size: 1rem;
}

.btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #ffeb3b;
}




.sticky-1 {
    margin-top: 1rem;
    display: inline-block;
    padding: 12px 20px;
    background: #ddf317d1;
    font-weight: bold;
}


.sticky-2 {
        margin-top: 1rem;
    position: relative;
    display: inline-block;
    padding: 12px 20px;
    background: #32cde1;
    font-weight: bold;
}

.sticky-2::after {

    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    border-width: 12px;
    border-style: solid;
    border-color: #29c2a8a5 #f5c542 transparent transparent;
}


.sticky-3 {
        margin-top: 1rem;
    display: inline-block;
    padding: 12px 20px;
    background: #fff0b3;
    box-shadow: 4px 4px 0 #e0c86e;
    font-weight: bold;
}



.sticky-4 {
        margin-top: 1rem;
    position: relative;
    display: inline-block;
    padding: 14px 20px;
    background: #fe86f4;
    font-weight: bold;
}

.sticky-4::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    width: 60px;
    height: 20px;
    background: rgba(255, 255, 255, 0.6);
    transform: translateX(-50%);
}

#stickyTitle {
  transition: all 0.3s ease;
}
