* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", Arial, sans-serif;
}

.container {
  max-width: 900px;
  margin: 0 auto 35px;
  padding: 20px;
  background: #a8b9c1;
  color: #333;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ヘッダー */
.header {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin: 16px 0;
}

/* ヒーロー */
.hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}

.hero img {
  width: 100%;
  display: block;
}

.badge {
  display: inline-block;
  background: #ffcc00;
  color: #000;
  padding: 6px 10px;
  margin-bottom: 8px;
  font-weight: bold;
}

/* 説明 */
.description {
  background: #063d5b;
  color: white;
  padding: 20px;
  border-radius: 20px;
  margin-bottom: 40px;
  line-height: 1.8;
  font-weight: bold;
}

/* CTA */
.cta {
  text-align: center;
  margin-bottom: 20px;
}

.line-btn {
  width: 100%;
  background: #063d5b;
  color: white;
  padding: 16px 24px;
  font-size: 24px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  animation: swingPause 2.4s infinite;
  transform-origin: center;
  transition: all 0.3s ease;
}

.line-btn:active {
  transform: scale(0.95);
  opacity: 0.8;
}

.line-icon {
  border-radius: 20px;
}

.line-btn span {
  text-align: left;
}

.line-btn span br {
  display: none;
}

@keyframes swingPause {
  0% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(0deg);
  }
  30% {
    transform: rotate(-4deg);
  }
  40% {
    transform: rotate(3deg);
  }
  50% {
    transform: rotate(-3deg);
  }
  60% {
    transform: rotate(2deg);
  }
  70% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
/* 追加説明 */
.extra {
  color: #063d5b;
  /* text-align: center; */
  margin-bottom: 20px;
  line-height: 1.8;
}

/* 株情報 */
.stock-box {
  background: #fff;
  border-radius: 16px;
  padding: 10px 20px;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}

.stock-box p {
  margin: 10px 0;
}

/* スクロールアニメーション */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .header {
    font-size: 18px;
  }

  .description {
    font-size: 12px;
  }

  .line-btn {
    font-size: 18px;
    padding: 14px;
  }

  .line-btn span br {
    display: block;
  }

  .extra {
    font-size: 13px;
  }
}
