@charset "utf-8";

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

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

.header-line {
    max-width: 100%;
    min-width: 100%;
    min-height: 4rem;
    display: flex;
    align-items: center;
    justify-content: start;
    position: fixed;
    top: 4rem;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);

}

.header-line-image {
    max-width: 3.125rem;
    max-height: 3.125rem;
    margin: 0.75vw 0 0 3vw;
}

.header-line-image img {
    width: 100%;
    border-radius: 50%;
}


.header-line-text {
    margin: 0.8rem 0 0 0.625rem;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
}





.aspect-16-9 {
    position: relative;
    width: 100%;
    max-width: 100vw;
    aspect-ratio: 16 / 9;
    margin: 8rem auto 0;
    background: #0b1d2a;
    overflow: hidden;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}



.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;
    }
}





/* ===== ボタン ===== */
.button {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-weight: bold;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(135deg, #6a5af9, #00c6ff);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}


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


.sticky-2 {
    margin-bottom: 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-bottom: 1rem;
    display: inline-block;
    padding: 12px 20px;
    background: #fff0b3;
    box-shadow: 4px 4px 0 #e0c86e;
    font-weight: bold;
}



.sticky-4 {
    margin-bottom: 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;
}





.aspect-16-9-1 {
    position: relative;
    width: 100%;
    max-width: 100vw;
    aspect-ratio: 16 / 9;
    margin: 0 auto 0;
    background: #0b1d2a;
    overflow: hidden;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}




.answer-1 {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    background: #ffffff;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: floatUp 0.6s ease-out forwards;
}

@keyframes floatUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.answer-2 {
  position: relative;
  padding: 12px 16px 12px 20px;
  font-weight: bold;
  color: #e1e1e1;
  background: none;
  border-left: 4px solid #ff4d4d;
  opacity: 1;
  transform: translateX(-20px);
  animation: slideIn 0.5s ease-out forwards;
}




@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


.answer-3 {
  position: relative;
  padding: 14px 18px;
  background: #f1f5ff;
  border-radius: 12px;
  color: #333;
  opacity: 0;
  transform: scale(0.9);
  animation: popIn 0.4s ease-out forwards;
}

.answer-1::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: -10px;
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #f1f5ff transparent transparent transparent;
}

@keyframes popIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}


.answer-4 {
  display: inline-block;
  padding: 10px 16px;
  font-weight: bold;
  color: #000000;
  border: 2px solid #4dabf7;
  border-radius: 6px;
  background: #fff;
  opacity: 0;
  transform: scale(0.95);
  animation: frameIn 0.4s ease-out forwards;
}


@keyframes frameIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}







.header-line2 {
    max-width: 100%;
    min-width: 100%;
    min-height: 4rem;
    display: flex;
    align-items: center;
    justify-content: start;
    position: fixed;
    top: 40rem;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #ddd;

}