/* 共通スタイル */
:root {
  /* メインカラー */
  --primary-pink: #FF1B6D;
  --secondary-pink: #FF69B4;
  --light-pink: #FFB6C1;
  --bg-pink: #FFF0F5;

  /* アクセントカラー */
  --gold: #FFD700;
  --orange: #FF8C00;

  /* テキストカラー */
  --text-main: #333333;
  --text-white: #FFFFFF;
  --text-sub: #666666;

  /* その他 */
  --shadow: rgba(0, 0, 0, 0.1);
  --border-radius: 15px;
}

/* 基本スタイル */
body {
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN",
               "Yu Gothic", "游ゴシック", "メイリオ", Meiryo,
               sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background: #F5E6E8;
  min-height: 100vh;
}

/* コンテナ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* セクション */
.section {
  margin: 60px 0;
}

/* タイポグラフィ */
.tv-anime-title {
  font-size: 14px;
  font-weight: bold;
  background: var(--primary-pink);
  color: var(--text-white);
  padding: 4px 12px;
  border-radius: 15px;
  display: inline-block;
  margin-bottom: 10px;
}

.main-title {
  font-size: 42px;
  font-weight: bold;
  color: var(--primary-pink);
  text-shadow: 2px 2px 0 var(--text-white);
  line-height: 1.2;
  text-align: center;
  margin: 20px 0;
}

.sub-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-main);
  text-align: center;
  margin: 10px 0;
}

.campaign-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--text-white);
  text-align: center;
}

.period {
  font-size: 16px;
  color: var(--text-main);
  font-weight: normal;
  text-align: center;
  margin: 10px 0;
}

/* リボンバナー */
.ribbon-banner {
  position: relative;
  background: var(--primary-pink);
  color: var(--text-white);
  padding: 20px 40px;
  margin: 40px auto;
  transform: rotate(-2deg);
  box-shadow: 0 4px 8px var(--shadow);
  max-width: 600px;
}

.ribbon-banner::before,
.ribbon-banner::after {
  content: '';
  position: absolute;
  top: 0;
  width: 30px;
  height: 100%;
  background: var(--primary-pink);
}

.ribbon-banner::before {
  left: -15px;
  transform: skew(-10deg);
}

.ribbon-banner::after {
  right: -15px;
  transform: skew(10deg);
}

/* CTAボタン */
.cta-button {
  background: var(--secondary-pink);
  color: var(--text-white);
  font-size: 24px;
  font-weight: bold;
  padding: 20px 60px;
  border: none;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 27, 109, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: block;
  margin: 40px auto;
  max-width: 300px;
  width: 100%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 27, 109, 0.4);
}

.cta-button::after {
  content: '▶';
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

/* 回答選択ボタン */
.choice-button {
  background: var(--text-white);
  color: var(--primary-pink);
  font-size: 18px;
  font-weight: bold;
  padding: 20px 30px;
  border: 2px solid var(--primary-pink);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  margin: 20px auto;
  max-width: 500px;
  width: 100%;
  text-align: center;
}

.choice-button:hover {
  background: var(--primary-pink);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* カード */
.card {
  background: var(--text-white);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px var(--shadow);
  padding: 30px;
  margin: 20px 0;
}

/* フッター */
.footer {
  background: #FFE4E1;
  padding: 60px 0 0;
  margin-top: 100px;
  position: relative;
}

.footer::before {
  display: none; /* 波形デザインを削除 */
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
  text-align: center;
}

.footer-logo {
  margin-bottom: 30px;
}

.footer-logo img {
  max-width: 280px;
  height: auto;
}

.footer-cta {
  margin-bottom: 0;
}

.footer-cta a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer-cta a:hover {
  transform: translateY(-3px);
}

.footer-cta-image {
  max-width: 280px;
  width: 100%;
  height: auto;
}

/* フッター下部の著作権情報帯 */
.footer-copyright {
  background: #F5A623;
  padding: 20px;
  margin: 0;
  border: none;
  text-align: center;
  width: 100%;
}

.footer-copyright p {
  font-size: 11px;
  color: #FFFFFF;
  line-height: 1.6;
  margin: 3px 0;
  font-weight: 500;
}

/* 削除: 古いフッタースタイル */
.footer-links,
.footer-link {
  display: none;
}

/* アニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.bounce {
  animation: bounce 2s infinite;
}

/* 戻るリンク */
.back-link {
  display: inline-block;
  color: var(--primary-pink);
  font-size: 16px;
  margin: 20px 0;
  text-decoration: underline;
}

.back-link:hover {
  color: var(--secondary-pink);
}

/* レスポンシブ対応 */
@media (max-width: 1023px) {
  .main-title {
    font-size: 36px;
  }

  .campaign-title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 4vw;
  }

  .main-title {
    font-size: 28px;
  }

  .campaign-title {
    font-size: 24px;
  }

  .cta-button {
    font-size: 20px;
    padding: 16px 40px;
  }

  .choice-button {
    font-size: 16px;
    padding: 16px 20px;
  }

  .ribbon-banner {
    transform: rotate(0deg);
    margin: 20px auto;
    padding: 15px 30px;
  }

  .section {
    margin: 40px 0;
  }

  .card {
    padding: 20px;
  }

  .footer {
    padding: 40px 0 0;
    margin-top: 60px;
  }

  .footer-inner {
    padding: 0 20px 40px;
  }

  .footer-logo img {
    max-width: 200px;
  }

  .footer-cta-image {
    max-width: 220px;
  }

  .footer-copyright {
    padding: 15px;
  }

  .footer-copyright p {
    font-size: 10px;
  }
}
